Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-13 23:59:03.070629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-13 23:59:11.956566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
  port_id : 29395479
  datou_current_id : 4217522
in upload_from_sqlite, uploading in 29395479
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13122025/23/53/image_13122025_23_53_34_9639.jpg', '/home/pi/Desktop/images/13122025/23/53/image_13122025_23_53_43_9640.jpg', '/home/pi/Desktop/images/13122025/23/53/image_13122025_23_53_54_10588.jpg', '/home/pi/Desktop/images/13122025/23/53/image_13122025_23_54_03_9555.jpg', '/home/pi/Desktop/images/13122025/23/54/image_13122025_23_54_34_10540.jpg', '/home/pi/Desktop/images/13122025/23/54/image_13122025_23_54_44_9524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4217522&datou=0
/home/pi/Desktop/images/13122025/23/53/image_13122025_23_53_34_9639.jpg
/home/pi/Desktop/images/13122025/23/53/image_13122025_23_53_43_9640.jpg
/home/pi/Desktop/images/13122025/23/53/image_13122025_23_53_54_10588.jpg
/home/pi/Desktop/images/13122025/23/53/image_13122025_23_54_03_9555.jpg
/home/pi/Desktop/images/13122025/23/54/image_13122025_23_54_34_10540.jpg
/home/pi/Desktop/images/13122025/23/54/image_13122025_23_54_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":["1399305806","1399305796","1399305805","1399305798","1399305802","1399305800"],"photo_ids_order":["1399305796","1399305798","1399305800","1399305802","1399305805","1399305806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c55a02bae82be6e5347819c2453062a8.jpg","text":"TemporaryFile(/tmp/multipartBody1178753533150528133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765666813432,"filename":"image_13122025_23_54_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/12/14/7a859840315944995ed9d0410c60bfb1.jpg","text":"TemporaryFile(/tmp/multipartBody1245738655527058405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765666813432,"filename":"image_13122025_23_53_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56cd5a7aee8d5bdb8d557c015419b46c.jpg","text":"TemporaryFile(/tmp/multipartBody6436791610675830863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765666813432,"filename":"image_13122025_23_54_34_10540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9b1dd0bdf0712daae97bc2f9720e380d.jpg","text":"TemporaryFile(/tmp/multipartBody1728333286590065761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765666813432,"filename":"image_13122025_23_53_43_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da06e4595cccbe950fdb9bcdaedb5962.jpg","text":"TemporaryFile(/tmp/multipartBody7361633905318334665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765666813432,"filename":"image_13122025_23_54_03_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ddf8d2b1c47ea469a0294333ba0ab18.jpg","text":"TemporaryFile(/tmp/multipartBody4605576647506066132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765666813432,"filename":"image_13122025_23_53_54_10588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399305800","file1":"1399305798","file0":"1399305796","file4":"1399305805","file5":"1399305806","file3":"1399305802"},"map_files_photo_id_array":[{"photo_id":"1399305806","filename":"file5"},{"photo_id":"1399305800","filename":"file2"},{"photo_id":"1399305805","filename":"file4"},{"photo_id":"1399305798","filename":"file1"},{"photo_id":"1399305796","filename":"file0"},{"photo_id":"1399305802","filename":"file3"}],"portfolio_id":29395479,"hashtag_by_photo_ids":[{"1399305806":["hashtag1","hashtag2"]},{"1399305796":["hashtag1","hashtag2"]},{"1399305805":["hashtag1","hashtag2"]},{"1399305798":["hashtag1","hashtag2"]},{"1399305802":["hashtag1","hashtag2"]},{"1399305800":["hashtag1","hashtag2"]}],"comms":"Portfolio 29395479 used, photo_id : ArrayBuffer(1399305806, 1399305796, 1399305805, 1399305798, 1399305802, 1399305800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11154913902283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:00:02.593004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
  port_id : 29395479
  datou_current_id : 4217522
in upload_from_sqlite, uploading in 29395479
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13122025/23/54/image_13122025_23_55_04_10729.jpg', '/home/pi/Desktop/images/13122025/23/55/image_13122025_23_55_14_9707.jpg', '/home/pi/Desktop/images/13122025/23/55/image_13122025_23_55_23_9634.jpg', '/home/pi/Desktop/images/13122025/23/55/image_13122025_23_55_44_9614.jpg', '/home/pi/Desktop/images/13122025/23/55/image_13122025_23_56_04_10799.jpg', '/home/pi/Desktop/images/13122025/23/56/image_13122025_23_56_14_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4217522&datou=0
/home/pi/Desktop/images/13122025/23/54/image_13122025_23_55_04_10729.jpg
/home/pi/Desktop/images/13122025/23/55/image_13122025_23_55_14_9707.jpg
/home/pi/Desktop/images/13122025/23/55/image_13122025_23_55_23_9634.jpg
/home/pi/Desktop/images/13122025/23/55/image_13122025_23_55_44_9614.jpg
/home/pi/Desktop/images/13122025/23/55/image_13122025_23_56_04_10799.jpg
/home/pi/Desktop/images/13122025/23/56/image_13122025_23_56_14_9798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399305820","1399305990","1399305948","1399305906","1399305807","1399305866"],"photo_ids_order":["1399305807","1399305820","1399305866","1399305906","1399305948","1399305990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a2884fa8e8bb984294c5d9a568dd2ca.jpg","text":"TemporaryFile(/tmp/multipartBody2414291864165690058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765666863990,"filename":"image_13122025_23_55_14_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c9a54aa34ce3844b538561fed308a7d5.jpg","text":"TemporaryFile(/tmp/multipartBody3745468714617557214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765666863990,"filename":"image_13122025_23_56_14_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/23eb8510e1ac68ca17e5286f1f62c775.jpg","text":"TemporaryFile(/tmp/multipartBody2370412127512557600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765666863990,"filename":"image_13122025_23_56_04_10799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/18ad22cc4f5359a8b0810f1c59d15099.jpg","text":"TemporaryFile(/tmp/multipartBody6884889163655020891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765666863990,"filename":"image_13122025_23_55_44_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/808fab5d7735c935595e842f0f2468fe.jpg","text":"TemporaryFile(/tmp/multipartBody297441958852174781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765666863990,"filename":"image_13122025_23_55_04_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae051a3848cbbef3b6158f01bcebcbaa.jpg","text":"TemporaryFile(/tmp/multipartBody8204687648752915596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765666863990,"filename":"image_13122025_23_55_23_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399305866","file1":"1399305820","file0":"1399305807","file4":"1399305948","file5":"1399305990","file3":"1399305906"},"map_files_photo_id_array":[{"photo_id":"1399305990","filename":"file5"},{"photo_id":"1399305866","filename":"file2"},{"photo_id":"1399305948","filename":"file4"},{"photo_id":"1399305820","filename":"file1"},{"photo_id":"1399305807","filename":"file0"},{"photo_id":"1399305906","filename":"file3"}],"portfolio_id":29395479,"hashtag_by_photo_ids":[{"1399305820":["hashtag1","hashtag2"]},{"1399305990":["hashtag1","hashtag2"]},{"1399305948":["hashtag1","hashtag2"]},{"1399305906":["hashtag1","hashtag2"]},{"1399305807":["hashtag1","hashtag2"]},{"1399305866":["hashtag1","hashtag2"]}],"comms":"Portfolio 29395479 used, photo_id : ArrayBuffer(1399305820, 1399305990, 1399305948, 1399305906, 1399305807, 1399305866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.85024857521057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:01:03.054261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 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_14122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 29410858, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1765666924000}
4219
4220795
4219
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/00/image_14122025_00_00_24_10747.jpg', '/home/pi/Desktop/images/14122025/00/00/image_14122025_00_00_34_9612.jpg', '/home/pi/Desktop/images/14122025/00/00/image_14122025_00_00_43_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/00/image_14122025_00_00_24_10747.jpg
/home/pi/Desktop/images/14122025/00/00/image_14122025_00_00_34_9612.jpg
/home/pi/Desktop/images/14122025/00/00/image_14122025_00_00_43_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":["1399306379","1399306291","1399306471"],"photo_ids_order":["1399306291","1399306379","1399306471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e15fd9c852ca181fc4c3e801bda423d.jpg","text":"TemporaryFile(/tmp/multipartBody5111771476571588671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765666927400,"filename":"image_14122025_00_00_34_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/303e3a531f2bef614e3574c6fe2907f1.jpg","text":"TemporaryFile(/tmp/multipartBody428779416359553673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765666927400,"filename":"image_14122025_00_00_24_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a5e1b469968ffd1180aaa2c20ae9f12.jpg","text":"TemporaryFile(/tmp/multipartBody8583292760962611084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765666927400,"filename":"image_14122025_00_00_43_9589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399306471","file1":"1399306379","file0":"1399306291"},"map_files_photo_id_array":[{"photo_id":"1399306471","filename":"file2"},{"photo_id":"1399306379","filename":"file1"},{"photo_id":"1399306291","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399306379":["hashtag1","hashtag2"]},{"1399306291":["hashtag1","hashtag2"]},{"1399306471":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399306379, 1399306291, 1399306471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.119654655456543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:01:42.442295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/47/image_04112025_10_47_38_3655.jpg', '/home/pi/Desktop/images/04112025/10/47/image_04112025_10_47_43_5554.jpg', '/home/pi/Desktop/images/04112025/10/47/image_04112025_10_47_45_1529.jpg', '/home/pi/Desktop/images/04112025/10/47/image_04112025_10_47_47_1614.jpg', '/home/pi/Desktop/images/04112025/10/47/image_04112025_10_47_49_2670.jpg', '/home/pi/Desktop/images/04112025/10/47/image_04112025_10_47_54_4924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/47/image_04112025_10_47_38_3655.jpg
/home/pi/Desktop/images/04112025/10/47/image_04112025_10_47_43_5554.jpg
/home/pi/Desktop/images/04112025/10/47/image_04112025_10_47_45_1529.jpg
/home/pi/Desktop/images/04112025/10/47/image_04112025_10_47_47_1614.jpg
/home/pi/Desktop/images/04112025/10/47/image_04112025_10_47_49_2670.jpg
/home/pi/Desktop/images/04112025/10/47/image_04112025_10_47_54_4924.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399306816","1399306791","1399306833","1399306743","1399306818","1399306781"],"photo_ids_order":["1399306743","1399306781","1399306791","1399306816","1399306818","1399306833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/73f0246123fb363208b58c2cc0759c84.jpg","text":"TemporaryFile(/tmp/multipartBody6796208329043367977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765666963371,"filename":"image_04112025_10_47_47_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b7678ad3782b6c037e2225914a886456.jpg","text":"TemporaryFile(/tmp/multipartBody4946243579498412467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765666963371,"filename":"image_04112025_10_47_45_1529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9929e100e93c5f2816f54b20275d65e.jpg","text":"TemporaryFile(/tmp/multipartBody3770174003212166801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765666963371,"filename":"image_04112025_10_47_54_4924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/110be44d077b6c5ab7adda9b036ba282.jpg","text":"TemporaryFile(/tmp/multipartBody9058253937076405623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765666963371,"filename":"image_04112025_10_47_38_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5acb00accc8b5049405ef8480424b202.jpg","text":"TemporaryFile(/tmp/multipartBody133290765263030854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765666963371,"filename":"image_04112025_10_47_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/12/14/bb08856cea98bfa37833d6b178ab7040.jpg","text":"TemporaryFile(/tmp/multipartBody4061540971167350557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765666963371,"filename":"image_04112025_10_47_43_5554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399306791","file1":"1399306781","file0":"1399306743","file4":"1399306818","file5":"1399306833","file3":"1399306816"},"map_files_photo_id_array":[{"photo_id":"1399306833","filename":"file5"},{"photo_id":"1399306791","filename":"file2"},{"photo_id":"1399306818","filename":"file4"},{"photo_id":"1399306781","filename":"file1"},{"photo_id":"1399306743","filename":"file0"},{"photo_id":"1399306816","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399306816":["hashtag1","hashtag2"]},{"1399306791":["hashtag1","hashtag2"]},{"1399306833":["hashtag1","hashtag2"]},{"1399306743":["hashtag1","hashtag2"]},{"1399306818":["hashtag1","hashtag2"]},{"1399306781":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399306816, 1399306791, 1399306833, 1399306743, 1399306818, 1399306781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.100494623184204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:02:32.743742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
  port_id : 29395479
  datou_current_id : 4217522
in upload_from_sqlite, uploading in 29395479
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13122025/23/56/image_13122025_23_56_24_9716.jpg', '/home/pi/Desktop/images/13122025/23/56/image_13122025_23_56_33_9519.jpg', '/home/pi/Desktop/images/13122025/23/56/image_13122025_23_56_54_9585.jpg', '/home/pi/Desktop/images/13122025/23/56/image_13122025_23_57_03_9828.jpg', '/home/pi/Desktop/images/13122025/23/57/image_13122025_23_57_14_10668.jpg', '/home/pi/Desktop/images/13122025/23/57/image_13122025_23_57_24_9867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4217522&datou=0
/home/pi/Desktop/images/13122025/23/56/image_13122025_23_56_24_9716.jpg
/home/pi/Desktop/images/13122025/23/56/image_13122025_23_56_33_9519.jpg
/home/pi/Desktop/images/13122025/23/56/image_13122025_23_56_54_9585.jpg
/home/pi/Desktop/images/13122025/23/56/image_13122025_23_57_03_9828.jpg
/home/pi/Desktop/images/13122025/23/57/image_13122025_23_57_14_10668.jpg
/home/pi/Desktop/images/13122025/23/57/image_13122025_23_57_24_9867.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399307358","1399307295","1399307121","1399307415","1399307492","1399307212"],"photo_ids_order":["1399307121","1399307212","1399307295","1399307358","1399307415","1399307492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/306e7cafbe6f8f199589ad0066bae48d.jpg","text":"TemporaryFile(/tmp/multipartBody242141867361438815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667014897,"filename":"image_13122025_23_57_03_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6fa90a8a423eb366b9b1eb89e60e210.jpg","text":"TemporaryFile(/tmp/multipartBody3719918075020652399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667014897,"filename":"image_13122025_23_56_54_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2351218389c4472ab79fa747a2922b95.jpg","text":"TemporaryFile(/tmp/multipartBody2799288482974042385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667014897,"filename":"image_13122025_23_56_24_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf49fa00ae88c3990f55ca8882edbf81.jpg","text":"TemporaryFile(/tmp/multipartBody8084181129839597148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667014897,"filename":"image_13122025_23_57_14_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19b222199ea2f15ee40f8fade45a00ba.jpg","text":"TemporaryFile(/tmp/multipartBody3572020673048628936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667014897,"filename":"image_13122025_23_57_24_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a45b797ed03ca5aafd2dad0ddcc5290d.jpg","text":"TemporaryFile(/tmp/multipartBody7676858309269254163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667014897,"filename":"image_13122025_23_56_33_9519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399307295","file1":"1399307212","file0":"1399307121","file4":"1399307415","file5":"1399307492","file3":"1399307358"},"map_files_photo_id_array":[{"photo_id":"1399307492","filename":"file5"},{"photo_id":"1399307295","filename":"file2"},{"photo_id":"1399307415","filename":"file4"},{"photo_id":"1399307212","filename":"file1"},{"photo_id":"1399307121","filename":"file0"},{"photo_id":"1399307358","filename":"file3"}],"portfolio_id":29395479,"hashtag_by_photo_ids":[{"1399307358":["hashtag1","hashtag2"]},{"1399307295":["hashtag1","hashtag2"]},{"1399307121":["hashtag1","hashtag2"]},{"1399307415":["hashtag1","hashtag2"]},{"1399307492":["hashtag1","hashtag2"]},{"1399307212":["hashtag1","hashtag2"]}],"comms":"Portfolio 29395479 used, photo_id : ArrayBuffer(1399307358, 1399307295, 1399307121, 1399307415, 1399307492, 1399307212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.582356452941895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:03:22.071126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/00/image_14122025_00_00_53_9815.jpg', '/home/pi/Desktop/images/14122025/00/00/image_14122025_00_01_04_10574.jpg', '/home/pi/Desktop/images/14122025/00/01/image_14122025_00_01_13_9644.jpg', '/home/pi/Desktop/images/14122025/00/01/image_14122025_00_01_24_10643.jpg', '/home/pi/Desktop/images/14122025/00/01/image_14122025_00_01_34_9816.jpg', '/home/pi/Desktop/images/14122025/00/01/image_14122025_00_01_44_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/00/image_14122025_00_00_53_9815.jpg
/home/pi/Desktop/images/14122025/00/00/image_14122025_00_01_04_10574.jpg
/home/pi/Desktop/images/14122025/00/01/image_14122025_00_01_13_9644.jpg
/home/pi/Desktop/images/14122025/00/01/image_14122025_00_01_24_10643.jpg
/home/pi/Desktop/images/14122025/00/01/image_14122025_00_01_34_9816.jpg
/home/pi/Desktop/images/14122025/00/01/image_14122025_00_01_44_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":["1399307735","1399307822","1399307903","1399307776","1399307686","1399307866"],"photo_ids_order":["1399307686","1399307735","1399307776","1399307822","1399307866","1399307903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f4df8ac4894a2b0d02a0fef58010072.jpg","text":"TemporaryFile(/tmp/multipartBody3862494690934413601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667062655,"filename":"image_14122025_00_01_04_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51b16f5cf3a1e8dcf2d39e161cadfffe.jpg","text":"TemporaryFile(/tmp/multipartBody8883234087824820620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667062655,"filename":"image_14122025_00_01_24_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24f89904d4919a8d7f2f2294e830d5f2.jpg","text":"TemporaryFile(/tmp/multipartBody8292409435100341912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667062655,"filename":"image_14122025_00_01_44_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/721d106e3989dde1bae0a5b9483ec456.jpg","text":"TemporaryFile(/tmp/multipartBody8409613244558019872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667062655,"filename":"image_14122025_00_01_13_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7e138befd5b2cef9aefd0215cb3b0cbf.jpg","text":"TemporaryFile(/tmp/multipartBody2926106821234517388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667062655,"filename":"image_14122025_00_00_53_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/97a23cbbba82b5a1cae67866f510daa1.jpg","text":"TemporaryFile(/tmp/multipartBody7365545577464600814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667062655,"filename":"image_14122025_00_01_34_9816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399307776","file1":"1399307735","file0":"1399307686","file4":"1399307866","file5":"1399307903","file3":"1399307822"},"map_files_photo_id_array":[{"photo_id":"1399307903","filename":"file5"},{"photo_id":"1399307776","filename":"file2"},{"photo_id":"1399307866","filename":"file4"},{"photo_id":"1399307735","filename":"file1"},{"photo_id":"1399307686","filename":"file0"},{"photo_id":"1399307822","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399307735":["hashtag1","hashtag2"]},{"1399307822":["hashtag1","hashtag2"]},{"1399307903":["hashtag1","hashtag2"]},{"1399307776":["hashtag1","hashtag2"]},{"1399307686":["hashtag1","hashtag2"]},{"1399307866":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399307735, 1399307822, 1399307903, 1399307776, 1399307686, 1399307866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.05057907104492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:04:12.149563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
  port_id : 29395479
  datou_current_id : 4217522
in upload_from_sqlite, uploading in 29395479
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13122025/23/57/image_13122025_23_57_34_9628.jpg', '/home/pi/Desktop/images/13122025/23/57/image_13122025_23_57_44_10619.jpg', '/home/pi/Desktop/images/13122025/23/57/image_13122025_23_57_54_9730.jpg', '/home/pi/Desktop/images/13122025/23/58/image_13122025_23_58_24_9736.jpg', '/home/pi/Desktop/images/13122025/23/58/image_13122025_23_58_34_9801.jpg', '/home/pi/Desktop/images/13122025/23/58/image_13122025_23_58_43_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4217522&datou=0
/home/pi/Desktop/images/13122025/23/57/image_13122025_23_57_34_9628.jpg
/home/pi/Desktop/images/13122025/23/57/image_13122025_23_57_44_10619.jpg
/home/pi/Desktop/images/13122025/23/57/image_13122025_23_57_54_9730.jpg
/home/pi/Desktop/images/13122025/23/58/image_13122025_23_58_24_9736.jpg
/home/pi/Desktop/images/13122025/23/58/image_13122025_23_58_34_9801.jpg
/home/pi/Desktop/images/13122025/23/58/image_13122025_23_58_43_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: 1.4005756378173828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:04:22.213256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/01/image_14122025_00_01_53_9761.jpg', '/home/pi/Desktop/images/14122025/00/01/image_14122025_00_02_04_10674.jpg', '/home/pi/Desktop/images/14122025/00/02/image_14122025_00_02_14_9592.jpg', '/home/pi/Desktop/images/14122025/00/02/image_14122025_00_02_24_10682.jpg', '/home/pi/Desktop/images/14122025/00/02/image_14122025_00_02_34_9575.jpg', '/home/pi/Desktop/images/14122025/00/02/image_14122025_00_02_43_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/01/image_14122025_00_01_53_9761.jpg
/home/pi/Desktop/images/14122025/00/01/image_14122025_00_02_04_10674.jpg
/home/pi/Desktop/images/14122025/00/02/image_14122025_00_02_14_9592.jpg
/home/pi/Desktop/images/14122025/00/02/image_14122025_00_02_24_10682.jpg
/home/pi/Desktop/images/14122025/00/02/image_14122025_00_02_34_9575.jpg
/home/pi/Desktop/images/14122025/00/02/image_14122025_00_02_43_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":["1399308092","1399308089","1399308098","1399308086","1399308096","1399308100"],"photo_ids_order":["1399308086","1399308089","1399308092","1399308096","1399308098","1399308100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7be2de45d7a25af65aa90438fdb26211.jpg","text":"TemporaryFile(/tmp/multipartBody3063500044947034640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667124393,"filename":"image_14122025_00_02_14_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/374911558ef5da1af98c031944b67c2b.jpg","text":"TemporaryFile(/tmp/multipartBody1378218378775321023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667124393,"filename":"image_14122025_00_02_04_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f28c180d11bc06b40bceca2271d95e15.jpg","text":"TemporaryFile(/tmp/multipartBody6913985117077965164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667124393,"filename":"image_14122025_00_02_34_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/799222c50ea7d7ad96515becd982619a.jpg","text":"TemporaryFile(/tmp/multipartBody260279367209150739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667124393,"filename":"image_14122025_00_01_53_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d8031b2628166de6f379ec3ad8b4c02a.jpg","text":"TemporaryFile(/tmp/multipartBody1866023323548846607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667124393,"filename":"image_14122025_00_02_24_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a8c75d6844cca2a22d286bd3243a7da0.jpg","text":"TemporaryFile(/tmp/multipartBody3585308347869293149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667124393,"filename":"image_14122025_00_02_43_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399308092","file1":"1399308089","file0":"1399308086","file4":"1399308098","file5":"1399308100","file3":"1399308096"},"map_files_photo_id_array":[{"photo_id":"1399308100","filename":"file5"},{"photo_id":"1399308092","filename":"file2"},{"photo_id":"1399308098","filename":"file4"},{"photo_id":"1399308089","filename":"file1"},{"photo_id":"1399308086","filename":"file0"},{"photo_id":"1399308096","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399308092":["hashtag1","hashtag2"]},{"1399308089":["hashtag1","hashtag2"]},{"1399308098":["hashtag1","hashtag2"]},{"1399308086":["hashtag1","hashtag2"]},{"1399308096":["hashtag1","hashtag2"]},{"1399308100":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399308092, 1399308089, 1399308098, 1399308086, 1399308096, 1399308100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.796276807785034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:05:12.596524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
  port_id : 29395479
  datou_current_id : 4217522
in upload_from_sqlite, uploading in 29395479
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13122025/23/57/image_13122025_23_57_34_9628.jpg', '/home/pi/Desktop/images/13122025/23/57/image_13122025_23_57_44_10619.jpg', '/home/pi/Desktop/images/13122025/23/57/image_13122025_23_57_54_9730.jpg', '/home/pi/Desktop/images/13122025/23/58/image_13122025_23_58_24_9736.jpg', '/home/pi/Desktop/images/13122025/23/58/image_13122025_23_58_34_9801.jpg', '/home/pi/Desktop/images/13122025/23/58/image_13122025_23_58_43_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4217522&datou=0
/home/pi/Desktop/images/13122025/23/57/image_13122025_23_57_34_9628.jpg
/home/pi/Desktop/images/13122025/23/57/image_13122025_23_57_44_10619.jpg
/home/pi/Desktop/images/13122025/23/57/image_13122025_23_57_54_9730.jpg
/home/pi/Desktop/images/13122025/23/58/image_13122025_23_58_24_9736.jpg
/home/pi/Desktop/images/13122025/23/58/image_13122025_23_58_34_9801.jpg
/home/pi/Desktop/images/13122025/23/58/image_13122025_23_58_43_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":["1399308248","1399308121","1399308325","1399308288","1399308208","1399308168"],"photo_ids_order":["1399308121","1399308168","1399308208","1399308248","1399308288","1399308325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3ee436510f1c45089af52b75e109f74e.jpg","text":"TemporaryFile(/tmp/multipartBody1775883524070156596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667174761,"filename":"image_13122025_23_58_24_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54e19cf3cbaaae69b1a7d013447a0201.jpg","text":"TemporaryFile(/tmp/multipartBody871219667132127308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667174761,"filename":"image_13122025_23_57_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/abd15d4aab5738fd62d8c7868ff09f6e.jpg","text":"TemporaryFile(/tmp/multipartBody6508996424734395267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667174761,"filename":"image_13122025_23_58_43_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a4eced9d6517a89e6f69615044f64dfd.jpg","text":"TemporaryFile(/tmp/multipartBody828277759719527955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667174761,"filename":"image_13122025_23_58_34_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/289e28ea57e6966f978293fee36ace57.jpg","text":"TemporaryFile(/tmp/multipartBody1144584394803598838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667174761,"filename":"image_13122025_23_57_54_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/57ae69fbe3fa8529688bb80139cce885.jpg","text":"TemporaryFile(/tmp/multipartBody7493484375849514694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667174761,"filename":"image_13122025_23_57_44_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399308208","file1":"1399308168","file0":"1399308121","file4":"1399308288","file5":"1399308325","file3":"1399308248"},"map_files_photo_id_array":[{"photo_id":"1399308325","filename":"file5"},{"photo_id":"1399308208","filename":"file2"},{"photo_id":"1399308288","filename":"file4"},{"photo_id":"1399308168","filename":"file1"},{"photo_id":"1399308121","filename":"file0"},{"photo_id":"1399308248","filename":"file3"}],"portfolio_id":29395479,"hashtag_by_photo_ids":[{"1399308248":["hashtag1","hashtag2"]},{"1399308121":["hashtag1","hashtag2"]},{"1399308325":["hashtag1","hashtag2"]},{"1399308288":["hashtag1","hashtag2"]},{"1399308208":["hashtag1","hashtag2"]},{"1399308168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29395479 used, photo_id : ArrayBuffer(1399308248, 1399308121, 1399308325, 1399308288, 1399308208, 1399308168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.013319969177246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:06:03.238951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/02/image_14122025_00_03_04_9649.jpg', '/home/pi/Desktop/images/14122025/00/03/image_14122025_00_03_14_10402.jpg', '/home/pi/Desktop/images/14122025/00/03/image_14122025_00_03_24_9595.jpg', '/home/pi/Desktop/images/14122025/00/03/image_14122025_00_03_34_10589.jpg', '/home/pi/Desktop/images/14122025/00/03/image_14122025_00_03_44_9553.jpg', '/home/pi/Desktop/images/14122025/00/03/image_14122025_00_03_54_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/02/image_14122025_00_03_04_9649.jpg
/home/pi/Desktop/images/14122025/00/03/image_14122025_00_03_14_10402.jpg
/home/pi/Desktop/images/14122025/00/03/image_14122025_00_03_24_9595.jpg
/home/pi/Desktop/images/14122025/00/03/image_14122025_00_03_34_10589.jpg
/home/pi/Desktop/images/14122025/00/03/image_14122025_00_03_44_9553.jpg
/home/pi/Desktop/images/14122025/00/03/image_14122025_00_03_54_9807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399308494","1399308496","1399308463","1399308436","1399308403","1399308462"],"photo_ids_order":["1399308403","1399308436","1399308462","1399308463","1399308494","1399308496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/86e2166296b67cb9f8d9e2bbeee92c3d.jpg","text":"TemporaryFile(/tmp/multipartBody1938869813469680650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667223810,"filename":"image_14122025_00_03_44_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/584576a1166735f08049d149da2d2ff6.jpg","text":"TemporaryFile(/tmp/multipartBody4024455119651277556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667223810,"filename":"image_14122025_00_03_54_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9737716d01db9c513f0b8493a8e012ce.jpg","text":"TemporaryFile(/tmp/multipartBody9100793144481025289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667223810,"filename":"image_14122025_00_03_34_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c8ee091a682e219b3aea2cca1cdaa1e9.jpg","text":"TemporaryFile(/tmp/multipartBody1590180910218877270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667223810,"filename":"image_14122025_00_03_14_10402.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/618e45712aa77a18e291d0e056c84594.jpg","text":"TemporaryFile(/tmp/multipartBody5770028044296793458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667223810,"filename":"image_14122025_00_03_04_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d07feb6d777aff2027fd64118833e32.jpg","text":"TemporaryFile(/tmp/multipartBody8072333069262544195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667223810,"filename":"image_14122025_00_03_24_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399308462","file1":"1399308436","file0":"1399308403","file4":"1399308494","file5":"1399308496","file3":"1399308463"},"map_files_photo_id_array":[{"photo_id":"1399308496","filename":"file5"},{"photo_id":"1399308462","filename":"file2"},{"photo_id":"1399308494","filename":"file4"},{"photo_id":"1399308436","filename":"file1"},{"photo_id":"1399308403","filename":"file0"},{"photo_id":"1399308463","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399308494":["hashtag1","hashtag2"]},{"1399308496":["hashtag1","hashtag2"]},{"1399308463":["hashtag1","hashtag2"]},{"1399308436":["hashtag1","hashtag2"]},{"1399308403":["hashtag1","hashtag2"]},{"1399308462":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399308494, 1399308496, 1399308463, 1399308436, 1399308403, 1399308462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7109808921814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:06:42.844016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/47/image_04112025_10_47_57_2880.jpg', '/home/pi/Desktop/images/04112025/10/47/image_04112025_10_47_59_1678.jpg', '/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_01_2539.jpg', '/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_04_2669.jpg', '/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_07_3555.jpg', '/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_10_2520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/47/image_04112025_10_47_57_2880.jpg
/home/pi/Desktop/images/04112025/10/47/image_04112025_10_47_59_1678.jpg
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_01_2539.jpg
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_04_2669.jpg
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_07_3555.jpg
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_10_2520.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5185339450836182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:07:02.739161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/03/image_14122025_00_04_04_10562.jpg', '/home/pi/Desktop/images/14122025/00/04/image_14122025_00_04_14_9686.jpg', '/home/pi/Desktop/images/14122025/00/04/image_14122025_00_04_34_10621.jpg', '/home/pi/Desktop/images/14122025/00/04/image_14122025_00_04_44_9697.jpg', '/home/pi/Desktop/images/14122025/00/05/image_14122025_00_05_34_10581.jpg', '/home/pi/Desktop/images/14122025/00/05/image_14122025_00_05_54_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/03/image_14122025_00_04_04_10562.jpg
/home/pi/Desktop/images/14122025/00/04/image_14122025_00_04_14_9686.jpg
/home/pi/Desktop/images/14122025/00/04/image_14122025_00_04_34_10621.jpg
/home/pi/Desktop/images/14122025/00/04/image_14122025_00_04_44_9697.jpg
/home/pi/Desktop/images/14122025/00/05/image_14122025_00_05_34_10581.jpg
/home/pi/Desktop/images/14122025/00/05/image_14122025_00_05_54_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399308531","1399308533","1399308530","1399308532","1399308535","1399308529"],"photo_ids_order":["1399308529","1399308530","1399308531","1399308532","1399308533","1399308535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69c8c73188066912d4b790e028ae4731.jpg","text":"TemporaryFile(/tmp/multipartBody4294318175845056239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667283362,"filename":"image_14122025_00_04_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/12/14/681eb43626acc72636907dde2fb56e21.jpg","text":"TemporaryFile(/tmp/multipartBody182048109530122712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667283362,"filename":"image_14122025_00_05_34_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/779e937fcbacc1a24076b52ec6315438.jpg","text":"TemporaryFile(/tmp/multipartBody1016739289111030406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667283362,"filename":"image_14122025_00_04_14_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f75c4f3379326eef26632f236b778759.jpg","text":"TemporaryFile(/tmp/multipartBody2551460920599413771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667283362,"filename":"image_14122025_00_04_44_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bc1378ff03d2f085e8648ef3227c78dd.jpg","text":"TemporaryFile(/tmp/multipartBody8080397114081010349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667283362,"filename":"image_14122025_00_05_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c236055d99f03d926976106d0629dc76.jpg","text":"TemporaryFile(/tmp/multipartBody303075665208021943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667283362,"filename":"image_14122025_00_04_04_10562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399308531","file1":"1399308530","file0":"1399308529","file4":"1399308533","file5":"1399308535","file3":"1399308532"},"map_files_photo_id_array":[{"photo_id":"1399308535","filename":"file5"},{"photo_id":"1399308531","filename":"file2"},{"photo_id":"1399308533","filename":"file4"},{"photo_id":"1399308530","filename":"file1"},{"photo_id":"1399308529","filename":"file0"},{"photo_id":"1399308532","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399308531":["hashtag1","hashtag2"]},{"1399308533":["hashtag1","hashtag2"]},{"1399308530":["hashtag1","hashtag2"]},{"1399308532":["hashtag1","hashtag2"]},{"1399308535":["hashtag1","hashtag2"]},{"1399308529":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399308531, 1399308533, 1399308530, 1399308532, 1399308535, 1399308529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19581317901611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:07:41.997773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/47/image_04112025_10_47_57_2880.jpg', '/home/pi/Desktop/images/04112025/10/47/image_04112025_10_47_59_1678.jpg', '/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_01_2539.jpg', '/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_04_2669.jpg', '/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_07_3555.jpg', '/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_10_2520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/47/image_04112025_10_47_57_2880.jpg
/home/pi/Desktop/images/04112025/10/47/image_04112025_10_47_59_1678.jpg
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_01_2539.jpg
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_04_2669.jpg
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_07_3555.jpg
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_10_2520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399308546","1399308545","1399308542","1399308544","1399308540","1399308543"],"photo_ids_order":["1399308540","1399308542","1399308543","1399308544","1399308545","1399308546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3114c61d9ae1ada2a04300b1c029aaae.jpg","text":"TemporaryFile(/tmp/multipartBody3086127826673217302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667322548,"filename":"image_04112025_10_48_10_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d4dc367aec35431f5acb8970cea7ed66.jpg","text":"TemporaryFile(/tmp/multipartBody729319640803500989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667322548,"filename":"image_04112025_10_48_07_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/87f99ea0534d80cbb1732db317a01c8a.jpg","text":"TemporaryFile(/tmp/multipartBody7653842964740348067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667322548,"filename":"image_04112025_10_47_59_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b30c9edb30d010fb7219a4780dc7874.jpg","text":"TemporaryFile(/tmp/multipartBody5717753887384232484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667322548,"filename":"image_04112025_10_48_04_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f253111787868da4565a094df547263.jpg","text":"TemporaryFile(/tmp/multipartBody8857665971407096003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667322548,"filename":"image_04112025_10_47_57_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/366e9d5afc83c8b9ddd255808480c252.jpg","text":"TemporaryFile(/tmp/multipartBody3758659677490081596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667322548,"filename":"image_04112025_10_48_01_2539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399308543","file1":"1399308542","file0":"1399308540","file4":"1399308545","file5":"1399308546","file3":"1399308544"},"map_files_photo_id_array":[{"photo_id":"1399308546","filename":"file5"},{"photo_id":"1399308543","filename":"file2"},{"photo_id":"1399308545","filename":"file4"},{"photo_id":"1399308542","filename":"file1"},{"photo_id":"1399308540","filename":"file0"},{"photo_id":"1399308544","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399308546":["hashtag1","hashtag2"]},{"1399308545":["hashtag1","hashtag2"]},{"1399308542":["hashtag1","hashtag2"]},{"1399308544":["hashtag1","hashtag2"]},{"1399308540":["hashtag1","hashtag2"]},{"1399308543":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399308546, 1399308545, 1399308542, 1399308544, 1399308540, 1399308543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43252944946289 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:08:22.362073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/05/image_14122025_00_06_04_9592.jpg', '/home/pi/Desktop/images/14122025/00/06/image_14122025_00_06_13_9541.jpg', '/home/pi/Desktop/images/14122025/00/06/image_14122025_00_06_34_9680.jpg', '/home/pi/Desktop/images/14122025/00/07/image_14122025_00_07_44_10720.jpg', '/home/pi/Desktop/images/14122025/00/07/image_14122025_00_07_54_9683.jpg', '/home/pi/Desktop/images/14122025/00/07/image_14122025_00_08_04_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/05/image_14122025_00_06_04_9592.jpg
/home/pi/Desktop/images/14122025/00/06/image_14122025_00_06_13_9541.jpg
/home/pi/Desktop/images/14122025/00/06/image_14122025_00_06_34_9680.jpg
/home/pi/Desktop/images/14122025/00/07/image_14122025_00_07_44_10720.jpg
/home/pi/Desktop/images/14122025/00/07/image_14122025_00_07_54_9683.jpg
/home/pi/Desktop/images/14122025/00/07/image_14122025_00_08_04_9642.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.43561410903930664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:08:32.259783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
  port_id : 29395479
  datou_current_id : 4217522
in upload_from_sqlite, uploading in 29395479
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13122025/23/58/image_13122025_23_58_54_10582.jpg', '/home/pi/Desktop/images/13122025/23/58/image_13122025_23_59_04_9651.jpg', '/home/pi/Desktop/images/13122025/23/59/image_13122025_23_59_34_9686.jpg', '/home/pi/Desktop/images/13122025/23/59/image_13122025_23_59_43_9702.jpg', '/home/pi/Desktop/images/13122025/23/59/image_13122025_23_59_54_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4217522&datou=0
/home/pi/Desktop/images/13122025/23/58/image_13122025_23_58_54_10582.jpg
/home/pi/Desktop/images/13122025/23/58/image_13122025_23_59_04_9651.jpg
/home/pi/Desktop/images/13122025/23/59/image_13122025_23_59_34_9686.jpg
/home/pi/Desktop/images/13122025/23/59/image_13122025_23_59_43_9702.jpg
/home/pi/Desktop/images/13122025/23/59/image_13122025_23_59_54_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":["1399308562","1399308556","1399308559","1399308553","1399308561"],"photo_ids_order":["1399308553","1399308556","1399308559","1399308561","1399308562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6a48a57a69540085d21ef5efc9a66e51.jpg","text":"TemporaryFile(/tmp/multipartBody7503688859522102195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667373814,"filename":"image_13122025_23_59_54_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a6ae4b34b32118d09cb1641b1bfa6d7d.jpg","text":"TemporaryFile(/tmp/multipartBody7992935839756302551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667373814,"filename":"image_13122025_23_59_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/42aa3e69736920a5e348bc9a37c1d626.jpg","text":"TemporaryFile(/tmp/multipartBody6590912871119404389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667373814,"filename":"image_13122025_23_59_34_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92d31eca2fbe16fd844a41096e6f8f98.jpg","text":"TemporaryFile(/tmp/multipartBody6254178004897889389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667373814,"filename":"image_13122025_23_58_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/12/14/870afdefbba86ffd272d9dfe8c7c4bc3.jpg","text":"TemporaryFile(/tmp/multipartBody8412236064711607992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667373814,"filename":"image_13122025_23_59_43_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399308559","file1":"1399308556","file0":"1399308553","file4":"1399308562","file3":"1399308561"},"map_files_photo_id_array":[{"photo_id":"1399308559","filename":"file2"},{"photo_id":"1399308562","filename":"file4"},{"photo_id":"1399308556","filename":"file1"},{"photo_id":"1399308553","filename":"file0"},{"photo_id":"1399308561","filename":"file3"}],"portfolio_id":29395479,"hashtag_by_photo_ids":[{"1399308562":["hashtag1","hashtag2"]},{"1399308556":["hashtag1","hashtag2"]},{"1399308559":["hashtag1","hashtag2"]},{"1399308553":["hashtag1","hashtag2"]},{"1399308561":["hashtag1","hashtag2"]}],"comms":"Portfolio 29395479 used, photo_id : ArrayBuffer(1399308562, 1399308556, 1399308559, 1399308553, 1399308561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.72711491584778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:09:12.505269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:09:22.436475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/05/image_14122025_00_06_04_9592.jpg', '/home/pi/Desktop/images/14122025/00/06/image_14122025_00_06_13_9541.jpg', '/home/pi/Desktop/images/14122025/00/06/image_14122025_00_06_34_9680.jpg', '/home/pi/Desktop/images/14122025/00/07/image_14122025_00_07_44_10720.jpg', '/home/pi/Desktop/images/14122025/00/07/image_14122025_00_07_54_9683.jpg', '/home/pi/Desktop/images/14122025/00/07/image_14122025_00_08_04_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/05/image_14122025_00_06_04_9592.jpg
/home/pi/Desktop/images/14122025/00/06/image_14122025_00_06_13_9541.jpg
/home/pi/Desktop/images/14122025/00/06/image_14122025_00_06_34_9680.jpg
/home/pi/Desktop/images/14122025/00/07/image_14122025_00_07_44_10720.jpg
/home/pi/Desktop/images/14122025/00/07/image_14122025_00_07_54_9683.jpg
/home/pi/Desktop/images/14122025/00/07/image_14122025_00_08_04_9642.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4101285934448242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:09:32.534785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:09:42.557809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_13_3053.jpg', '/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_17_3602.jpg', '/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_24_7109.jpg', '/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_25_1486.jpg', '/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_27_1569.jpg', '/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_28_1691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_13_3053.jpg
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_17_3602.jpg
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_24_7109.jpg
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_25_1486.jpg
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_27_1569.jpg
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_28_1691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399309181","1399308875","1399309399","1399309282","1399308976","1399309079"],"photo_ids_order":["1399308875","1399308976","1399309079","1399309181","1399309282","1399309399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/72ed66db694e6fa5769e64375b9acf15.jpg","text":"TemporaryFile(/tmp/multipartBody8058184894760786948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667443133,"filename":"image_04112025_10_48_25_1486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f0ff42ef744a11847eaa81a16ece9799.jpg","text":"TemporaryFile(/tmp/multipartBody2994427005436832595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667443133,"filename":"image_04112025_10_48_13_3053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe22808d07da210107c4040e46e03ce2.jpg","text":"TemporaryFile(/tmp/multipartBody4301494542626079844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667443133,"filename":"image_04112025_10_48_28_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e9bc3c315f643714f35b29c288341e35.jpg","text":"TemporaryFile(/tmp/multipartBody349313367127478908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667443133,"filename":"image_04112025_10_48_27_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/89de698ba02a2a595fe3fab2a2f701c7.jpg","text":"TemporaryFile(/tmp/multipartBody4593434315568852045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667443133,"filename":"image_04112025_10_48_17_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a13ab73821da3bea458ee358378baad5.jpg","text":"TemporaryFile(/tmp/multipartBody6170140311637942996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667443133,"filename":"image_04112025_10_48_24_7109.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399309079","file1":"1399308976","file0":"1399308875","file4":"1399309282","file5":"1399309399","file3":"1399309181"},"map_files_photo_id_array":[{"photo_id":"1399309399","filename":"file5"},{"photo_id":"1399309079","filename":"file2"},{"photo_id":"1399309282","filename":"file4"},{"photo_id":"1399308976","filename":"file1"},{"photo_id":"1399308875","filename":"file0"},{"photo_id":"1399309181","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399309181":["hashtag1","hashtag2"]},{"1399308875":["hashtag1","hashtag2"]},{"1399309399":["hashtag1","hashtag2"]},{"1399309282":["hashtag1","hashtag2"]},{"1399308976":["hashtag1","hashtag2"]},{"1399309079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399309181, 1399308875, 1399309399, 1399309282, 1399308976, 1399309079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05131125450134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:10:22.800534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/05/image_14122025_00_06_04_9592.jpg', '/home/pi/Desktop/images/14122025/00/06/image_14122025_00_06_13_9541.jpg', '/home/pi/Desktop/images/14122025/00/06/image_14122025_00_06_34_9680.jpg', '/home/pi/Desktop/images/14122025/00/07/image_14122025_00_07_44_10720.jpg', '/home/pi/Desktop/images/14122025/00/07/image_14122025_00_07_54_9683.jpg', '/home/pi/Desktop/images/14122025/00/07/image_14122025_00_08_04_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/05/image_14122025_00_06_04_9592.jpg
/home/pi/Desktop/images/14122025/00/06/image_14122025_00_06_13_9541.jpg
/home/pi/Desktop/images/14122025/00/06/image_14122025_00_06_34_9680.jpg
/home/pi/Desktop/images/14122025/00/07/image_14122025_00_07_44_10720.jpg
/home/pi/Desktop/images/14122025/00/07/image_14122025_00_07_54_9683.jpg
/home/pi/Desktop/images/14122025/00/07/image_14122025_00_08_04_9642.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4625077247619629 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:10:32.797486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:10:42.759136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_31_2704.jpg', '/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_35_3508.jpg', '/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_37_2678.jpg', '/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_40_2570.jpg', '/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_43_3504.jpg', '/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_46_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_31_2704.jpg
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_35_3508.jpg
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_37_2678.jpg
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_40_2570.jpg
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_43_3504.jpg
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_46_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":["1399309654","1399309648","1399309645","1399309842","1399309752","1399309647"],"photo_ids_order":["1399309645","1399309647","1399309648","1399309654","1399309752","1399309842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/87ca56551998c4c14191d7ab3843314f.jpg","text":"TemporaryFile(/tmp/multipartBody3783177725852276743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667503292,"filename":"image_04112025_10_48_40_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/62da498e771d5c6421140908a79639a2.jpg","text":"TemporaryFile(/tmp/multipartBody8539079132820121621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667503292,"filename":"image_04112025_10_48_37_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b118345c7b8957f462159971b8b27479.jpg","text":"TemporaryFile(/tmp/multipartBody4508664373006096251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667503292,"filename":"image_04112025_10_48_31_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f735ef4e15577ea63ead2c140f1c0c5.jpg","text":"TemporaryFile(/tmp/multipartBody7867004611902696384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667503292,"filename":"image_04112025_10_48_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/12/14/aafb56b0741c56f340f311bbd922ca8a.jpg","text":"TemporaryFile(/tmp/multipartBody8527339684437904229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667503292,"filename":"image_04112025_10_48_43_3504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/64e353fca2471d212653c12a0423a99e.jpg","text":"TemporaryFile(/tmp/multipartBody5370899273379865708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667503292,"filename":"image_04112025_10_48_35_3508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399309648","file1":"1399309647","file0":"1399309645","file4":"1399309752","file5":"1399309842","file3":"1399309654"},"map_files_photo_id_array":[{"photo_id":"1399309842","filename":"file5"},{"photo_id":"1399309648","filename":"file2"},{"photo_id":"1399309752","filename":"file4"},{"photo_id":"1399309647","filename":"file1"},{"photo_id":"1399309645","filename":"file0"},{"photo_id":"1399309654","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399309654":["hashtag1","hashtag2"]},{"1399309648":["hashtag1","hashtag2"]},{"1399309645":["hashtag1","hashtag2"]},{"1399309842":["hashtag1","hashtag2"]},{"1399309752":["hashtag1","hashtag2"]},{"1399309647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399309654, 1399309648, 1399309645, 1399309842, 1399309752, 1399309647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.487531661987305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:11:22.006486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/05/image_14122025_00_06_04_9592.jpg', '/home/pi/Desktop/images/14122025/00/06/image_14122025_00_06_13_9541.jpg', '/home/pi/Desktop/images/14122025/00/06/image_14122025_00_06_34_9680.jpg', '/home/pi/Desktop/images/14122025/00/07/image_14122025_00_07_44_10720.jpg', '/home/pi/Desktop/images/14122025/00/07/image_14122025_00_07_54_9683.jpg', '/home/pi/Desktop/images/14122025/00/07/image_14122025_00_08_04_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/05/image_14122025_00_06_04_9592.jpg
/home/pi/Desktop/images/14122025/00/06/image_14122025_00_06_13_9541.jpg
/home/pi/Desktop/images/14122025/00/06/image_14122025_00_06_34_9680.jpg
/home/pi/Desktop/images/14122025/00/07/image_14122025_00_07_44_10720.jpg
/home/pi/Desktop/images/14122025/00/07/image_14122025_00_07_54_9683.jpg
/home/pi/Desktop/images/14122025/00/07/image_14122025_00_08_04_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399309967","1399309981","1399309882","1399309888","1399309884","1399309886"],"photo_ids_order":["1399309882","1399309884","1399309886","1399309888","1399309967","1399309981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/116dca8cba0df58034cd5a6115cf7e81.jpg","text":"TemporaryFile(/tmp/multipartBody5695395829545115812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667542548,"filename":"image_14122025_00_07_54_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fd398a35d699d3bb0dbad5713cc35611.jpg","text":"TemporaryFile(/tmp/multipartBody1404017196143502209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667542548,"filename":"image_14122025_00_08_04_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dae123f00694c6404edf733505c57b9a.jpg","text":"TemporaryFile(/tmp/multipartBody4327059317605287401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667542548,"filename":"image_14122025_00_06_04_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d1baf339ada83e6fbbb2b2bf628bd07d.jpg","text":"TemporaryFile(/tmp/multipartBody7827856433810634136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667542548,"filename":"image_14122025_00_07_44_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/32e5184dafbbe04ba9ee2f78454e88be.jpg","text":"TemporaryFile(/tmp/multipartBody304904015576100851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667542548,"filename":"image_14122025_00_06_13_9541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c754ea72595fb9f0b8287c427ce65cfa.jpg","text":"TemporaryFile(/tmp/multipartBody6045017956106430222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667542548,"filename":"image_14122025_00_06_34_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399309886","file1":"1399309884","file0":"1399309882","file4":"1399309967","file5":"1399309981","file3":"1399309888"},"map_files_photo_id_array":[{"photo_id":"1399309981","filename":"file5"},{"photo_id":"1399309886","filename":"file2"},{"photo_id":"1399309967","filename":"file4"},{"photo_id":"1399309884","filename":"file1"},{"photo_id":"1399309882","filename":"file0"},{"photo_id":"1399309888","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399309967":["hashtag1","hashtag2"]},{"1399309981":["hashtag1","hashtag2"]},{"1399309882":["hashtag1","hashtag2"]},{"1399309888":["hashtag1","hashtag2"]},{"1399309884":["hashtag1","hashtag2"]},{"1399309886":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399309967, 1399309981, 1399309882, 1399309888, 1399309884, 1399309886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56014800071716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:12:02.711900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/08/image_14122025_00_08_33_9574.jpg', '/home/pi/Desktop/images/14122025/00/08/image_14122025_00_08_44_10816.jpg', '/home/pi/Desktop/images/14122025/00/09/image_14122025_00_09_14_10740.jpg', '/home/pi/Desktop/images/14122025/00/09/image_14122025_00_09_24_9571.jpg', '/home/pi/Desktop/images/14122025/00/09/image_14122025_00_09_33_9670.jpg', '/home/pi/Desktop/images/14122025/00/09/image_14122025_00_09_44_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/08/image_14122025_00_08_33_9574.jpg
/home/pi/Desktop/images/14122025/00/08/image_14122025_00_08_44_10816.jpg
/home/pi/Desktop/images/14122025/00/09/image_14122025_00_09_14_10740.jpg
/home/pi/Desktop/images/14122025/00/09/image_14122025_00_09_24_9571.jpg
/home/pi/Desktop/images/14122025/00/09/image_14122025_00_09_33_9670.jpg
/home/pi/Desktop/images/14122025/00/09/image_14122025_00_09_44_10572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399309988","1399309987","1399309984","1399309986","1399309983","1399309985"],"photo_ids_order":["1399309983","1399309984","1399309985","1399309986","1399309987","1399309988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ed0fd4efa3ae832b613e91fb6a613f38.jpg","text":"TemporaryFile(/tmp/multipartBody8814554872128900044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667583263,"filename":"image_14122025_00_09_44_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a410d64b7211043b8282fe6caa7eed55.jpg","text":"TemporaryFile(/tmp/multipartBody8237539834038354848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667583263,"filename":"image_14122025_00_09_33_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e60a945f7fa2b62bd5025e10b629cea.jpg","text":"TemporaryFile(/tmp/multipartBody9069425825426633356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667583263,"filename":"image_14122025_00_08_44_10816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/212001575f59b903a27b2c1dcba088bd.jpg","text":"TemporaryFile(/tmp/multipartBody8539658018526993564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667583263,"filename":"image_14122025_00_09_24_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a1ab2b2998263ba1c3136bb22df56b2.jpg","text":"TemporaryFile(/tmp/multipartBody312116770383817812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667583263,"filename":"image_14122025_00_08_33_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/95fe17bd39ca01f9aebddafca973be46.jpg","text":"TemporaryFile(/tmp/multipartBody6535144912926825741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667583263,"filename":"image_14122025_00_09_14_10740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399309985","file1":"1399309984","file0":"1399309983","file4":"1399309987","file5":"1399309988","file3":"1399309986"},"map_files_photo_id_array":[{"photo_id":"1399309988","filename":"file5"},{"photo_id":"1399309985","filename":"file2"},{"photo_id":"1399309987","filename":"file4"},{"photo_id":"1399309984","filename":"file1"},{"photo_id":"1399309983","filename":"file0"},{"photo_id":"1399309986","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399309988":["hashtag1","hashtag2"]},{"1399309987":["hashtag1","hashtag2"]},{"1399309984":["hashtag1","hashtag2"]},{"1399309986":["hashtag1","hashtag2"]},{"1399309983":["hashtag1","hashtag2"]},{"1399309985":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399309988, 1399309987, 1399309984, 1399309986, 1399309983, 1399309985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42461824417114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:12:42.209549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_49_2616.jpg', '/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_52_3614.jpg', '/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_55_2631.jpg', '/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_59_3677.jpg', '/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_01_2766.jpg', '/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_04_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_49_2616.jpg
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_52_3614.jpg
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_55_2631.jpg
/home/pi/Desktop/images/04112025/10/48/image_04112025_10_48_59_3677.jpg
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_01_2766.jpg
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_04_2567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399310001","1399309993","1399309996","1399309999","1399310003","1399310005"],"photo_ids_order":["1399309993","1399309996","1399309999","1399310001","1399310003","1399310005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e24408c83becc9381be1c2024ef03b1.jpg","text":"TemporaryFile(/tmp/multipartBody7512558740073519247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667622904,"filename":"image_04112025_10_48_59_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/225b02bc1115a881cc2d970c0f5ff795.jpg","text":"TemporaryFile(/tmp/multipartBody3048606239147297621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667622904,"filename":"image_04112025_10_48_49_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a187862bf155202c06c838d39fd95616.jpg","text":"TemporaryFile(/tmp/multipartBody357023293006648952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667622904,"filename":"image_04112025_10_48_52_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/408fea44326ec33826bad6299affbec5.jpg","text":"TemporaryFile(/tmp/multipartBody4565434423693151761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667622904,"filename":"image_04112025_10_48_55_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2c66646ad413e96890169271ffa47821.jpg","text":"TemporaryFile(/tmp/multipartBody8189800119330123410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667622904,"filename":"image_04112025_10_49_01_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ed9cec5c2840bd9698d5dfd8c3a3cf73.jpg","text":"TemporaryFile(/tmp/multipartBody8157958171699017596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667622904,"filename":"image_04112025_10_49_04_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399309999","file1":"1399309996","file0":"1399309993","file4":"1399310003","file5":"1399310005","file3":"1399310001"},"map_files_photo_id_array":[{"photo_id":"1399310005","filename":"file5"},{"photo_id":"1399309999","filename":"file2"},{"photo_id":"1399310003","filename":"file4"},{"photo_id":"1399309996","filename":"file1"},{"photo_id":"1399309993","filename":"file0"},{"photo_id":"1399310001","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399310001":["hashtag1","hashtag2"]},{"1399309993":["hashtag1","hashtag2"]},{"1399309996":["hashtag1","hashtag2"]},{"1399309999":["hashtag1","hashtag2"]},{"1399310003":["hashtag1","hashtag2"]},{"1399310005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399310001, 1399309993, 1399309996, 1399309999, 1399310003, 1399310005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.07040977478027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:13:32.603857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:13:42.570861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_08_3664.jpg', '/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_10_2753.jpg', '/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_13_2730.jpg', '/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_16_2702.jpg', '/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_20_3806.jpg', '/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_22_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_08_3664.jpg
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_10_2753.jpg
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_13_2730.jpg
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_16_2702.jpg
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_20_3806.jpg
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_22_2594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399310010","1399310013","1399310016","1399310015","1399310012","1399310014"],"photo_ids_order":["1399310010","1399310012","1399310013","1399310014","1399310015","1399310016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6bad4db08ff3f78b063b99412b621fb5.jpg","text":"TemporaryFile(/tmp/multipartBody7786125146139902135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667683259,"filename":"image_04112025_10_49_08_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/274a902623587c27a86a539b7cf00b0f.jpg","text":"TemporaryFile(/tmp/multipartBody8266356912496367955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667683259,"filename":"image_04112025_10_49_13_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/98cec1c18e05e7f3bd3f024bfd3ac4cf.jpg","text":"TemporaryFile(/tmp/multipartBody2359196712618629258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667683259,"filename":"image_04112025_10_49_22_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b2160fa9d89aac19af89f40dbcf4d3d.jpg","text":"TemporaryFile(/tmp/multipartBody2064362983472427546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667683259,"filename":"image_04112025_10_49_20_3806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6412acedecd8b21e4bf2837430498092.jpg","text":"TemporaryFile(/tmp/multipartBody8728311836615073610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667683259,"filename":"image_04112025_10_49_10_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/12451af34cef4807923aaadb00389a03.jpg","text":"TemporaryFile(/tmp/multipartBody1300998576924352065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667683259,"filename":"image_04112025_10_49_16_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399310013","file1":"1399310012","file0":"1399310010","file4":"1399310015","file5":"1399310016","file3":"1399310014"},"map_files_photo_id_array":[{"photo_id":"1399310016","filename":"file5"},{"photo_id":"1399310013","filename":"file2"},{"photo_id":"1399310015","filename":"file4"},{"photo_id":"1399310012","filename":"file1"},{"photo_id":"1399310010","filename":"file0"},{"photo_id":"1399310014","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399310010":["hashtag1","hashtag2"]},{"1399310013":["hashtag1","hashtag2"]},{"1399310016":["hashtag1","hashtag2"]},{"1399310015":["hashtag1","hashtag2"]},{"1399310012":["hashtag1","hashtag2"]},{"1399310014":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399310010, 1399310013, 1399310016, 1399310015, 1399310012, 1399310014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36047673225403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:14:22.909805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/09/image_14122025_00_10_04_10672.jpg', '/home/pi/Desktop/images/14122025/00/10/image_14122025_00_10_14_9533.jpg', '/home/pi/Desktop/images/14122025/00/10/image_14122025_00_10_23_9758.jpg', '/home/pi/Desktop/images/14122025/00/10/image_14122025_00_10_34_10620.jpg', '/home/pi/Desktop/images/14122025/00/10/image_14122025_00_10_44_9569.jpg', '/home/pi/Desktop/images/14122025/00/10/image_14122025_00_10_54_10598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/09/image_14122025_00_10_04_10672.jpg
/home/pi/Desktop/images/14122025/00/10/image_14122025_00_10_14_9533.jpg
/home/pi/Desktop/images/14122025/00/10/image_14122025_00_10_23_9758.jpg
/home/pi/Desktop/images/14122025/00/10/image_14122025_00_10_34_10620.jpg
/home/pi/Desktop/images/14122025/00/10/image_14122025_00_10_44_9569.jpg
/home/pi/Desktop/images/14122025/00/10/image_14122025_00_10_54_10598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399310031","1399310025","1399310028","1399310018","1399310020","1399310023"],"photo_ids_order":["1399310018","1399310020","1399310023","1399310025","1399310028","1399310031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29212777b0226ab323b0a5dab8f2b38a.jpg","text":"TemporaryFile(/tmp/multipartBody4793569041426601184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667723452,"filename":"image_14122025_00_10_54_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8f17c7309ed0a8237ea060f6a44ce199.jpg","text":"TemporaryFile(/tmp/multipartBody781874097495160479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667723452,"filename":"image_14122025_00_10_34_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b3660f9246e787dbbc1512f4e6d2068c.jpg","text":"TemporaryFile(/tmp/multipartBody8721512823955307824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667723452,"filename":"image_14122025_00_10_44_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/059ad6db3dfa7957d799939e3ac0cfd3.jpg","text":"TemporaryFile(/tmp/multipartBody2799994749852170338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667723452,"filename":"image_14122025_00_10_04_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb5f3a93420690cb5756b121ea360df9.jpg","text":"TemporaryFile(/tmp/multipartBody4451745224287670604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667723452,"filename":"image_14122025_00_10_14_9533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef306956476bc07b66c1f71d8c88b03d.jpg","text":"TemporaryFile(/tmp/multipartBody937120509268608946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667723452,"filename":"image_14122025_00_10_23_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399310023","file1":"1399310020","file0":"1399310018","file4":"1399310028","file5":"1399310031","file3":"1399310025"},"map_files_photo_id_array":[{"photo_id":"1399310031","filename":"file5"},{"photo_id":"1399310023","filename":"file2"},{"photo_id":"1399310028","filename":"file4"},{"photo_id":"1399310020","filename":"file1"},{"photo_id":"1399310018","filename":"file0"},{"photo_id":"1399310025","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399310031":["hashtag1","hashtag2"]},{"1399310025":["hashtag1","hashtag2"]},{"1399310028":["hashtag1","hashtag2"]},{"1399310018":["hashtag1","hashtag2"]},{"1399310020":["hashtag1","hashtag2"]},{"1399310023":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399310031, 1399310025, 1399310028, 1399310018, 1399310020, 1399310023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30158877372742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:15:02.642360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/11/image_14122025_00_11_13_9604.jpg', '/home/pi/Desktop/images/14122025/00/11/image_14122025_00_11_24_10607.jpg', '/home/pi/Desktop/images/14122025/00/11/image_14122025_00_11_34_9647.jpg', '/home/pi/Desktop/images/14122025/00/12/image_14122025_00_12_13_9620.jpg', '/home/pi/Desktop/images/14122025/00/12/image_14122025_00_12_24_10676.jpg', '/home/pi/Desktop/images/14122025/00/12/image_14122025_00_12_34_9553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/11/image_14122025_00_11_13_9604.jpg
/home/pi/Desktop/images/14122025/00/11/image_14122025_00_11_24_10607.jpg
/home/pi/Desktop/images/14122025/00/11/image_14122025_00_11_34_9647.jpg
/home/pi/Desktop/images/14122025/00/12/image_14122025_00_12_13_9620.jpg
/home/pi/Desktop/images/14122025/00/12/image_14122025_00_12_24_10676.jpg
/home/pi/Desktop/images/14122025/00/12/image_14122025_00_12_34_9553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399310042","1399310039","1399310035","1399310038","1399310040","1399310037"],"photo_ids_order":["1399310035","1399310037","1399310038","1399310039","1399310040","1399310042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/248f7cd4c041bf1cebdf0a0d2b2d9f18.jpg","text":"TemporaryFile(/tmp/multipartBody2404803103018690515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667763238,"filename":"image_14122025_00_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/12/14/3fbea03b6806ff8087082c2712917ca5.jpg","text":"TemporaryFile(/tmp/multipartBody3146701099176310067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667763238,"filename":"image_14122025_00_12_13_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ae7cc16a04ad6300ef71577832b51f1.jpg","text":"TemporaryFile(/tmp/multipartBody3362091742831476187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667763238,"filename":"image_14122025_00_11_13_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9d5e45957b325a1503ce65ac3e1f5d40.jpg","text":"TemporaryFile(/tmp/multipartBody2360393909131810430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667763238,"filename":"image_14122025_00_11_34_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/32f49eb0104432aed607b1a72c1075f2.jpg","text":"TemporaryFile(/tmp/multipartBody4768255257191303771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667763238,"filename":"image_14122025_00_12_24_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8f4c1f0f51ad7bd8f06a94b3f914c315.jpg","text":"TemporaryFile(/tmp/multipartBody5328962853351380013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667763238,"filename":"image_14122025_00_11_24_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399310038","file1":"1399310037","file0":"1399310035","file4":"1399310040","file5":"1399310042","file3":"1399310039"},"map_files_photo_id_array":[{"photo_id":"1399310042","filename":"file5"},{"photo_id":"1399310038","filename":"file2"},{"photo_id":"1399310040","filename":"file4"},{"photo_id":"1399310037","filename":"file1"},{"photo_id":"1399310035","filename":"file0"},{"photo_id":"1399310039","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399310042":["hashtag1","hashtag2"]},{"1399310039":["hashtag1","hashtag2"]},{"1399310035":["hashtag1","hashtag2"]},{"1399310038":["hashtag1","hashtag2"]},{"1399310040":["hashtag1","hashtag2"]},{"1399310037":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399310042, 1399310039, 1399310035, 1399310038, 1399310040, 1399310037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.458152532577515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:15:42.062262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_26_3962.jpg', '/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_28_1707.jpg', '/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_32_3723.jpg', '/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_34_2648.jpg', '/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_37_2546.jpg', '/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_40_3700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_26_3962.jpg
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_28_1707.jpg
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_32_3723.jpg
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_34_2648.jpg
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_37_2546.jpg
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_40_3700.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6102244853973389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:16:02.775787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/12/image_14122025_00_13_04_9747.jpg', '/home/pi/Desktop/images/14122025/00/13/image_14122025_00_13_13_9650.jpg', '/home/pi/Desktop/images/14122025/00/13/image_14122025_00_13_24_10634.jpg', '/home/pi/Desktop/images/14122025/00/13/image_14122025_00_13_34_9672.jpg', '/home/pi/Desktop/images/14122025/00/13/image_14122025_00_13_43_9712.jpg', '/home/pi/Desktop/images/14122025/00/13/image_14122025_00_13_54_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/12/image_14122025_00_13_04_9747.jpg
/home/pi/Desktop/images/14122025/00/13/image_14122025_00_13_13_9650.jpg
/home/pi/Desktop/images/14122025/00/13/image_14122025_00_13_24_10634.jpg
/home/pi/Desktop/images/14122025/00/13/image_14122025_00_13_34_9672.jpg
/home/pi/Desktop/images/14122025/00/13/image_14122025_00_13_43_9712.jpg
/home/pi/Desktop/images/14122025/00/13/image_14122025_00_13_54_10698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399310060","1399310054","1399310053","1399310056","1399310055","1399310058"],"photo_ids_order":["1399310053","1399310054","1399310055","1399310056","1399310058","1399310060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/23801f314fd2e107d215d6b5fdcb1d7b.jpg","text":"TemporaryFile(/tmp/multipartBody1629441550296060955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667823404,"filename":"image_14122025_00_13_54_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8f9534ef65394029e00a868a60f7d7ff.jpg","text":"TemporaryFile(/tmp/multipartBody3347536714844838186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667823404,"filename":"image_14122025_00_13_13_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f43bbf819c25d05aec8b4f4dc6d24c8d.jpg","text":"TemporaryFile(/tmp/multipartBody4672186771056913650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667823404,"filename":"image_14122025_00_13_04_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c84d1148f40027b10dd64abb2cd8a6a0.jpg","text":"TemporaryFile(/tmp/multipartBody6336972345979050682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667823404,"filename":"image_14122025_00_13_34_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dfe7e3092de53b759a4f8da4bec46953.jpg","text":"TemporaryFile(/tmp/multipartBody2902774530956600756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667823404,"filename":"image_14122025_00_13_24_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa8ac666e164c1977c373495a4bc9803.jpg","text":"TemporaryFile(/tmp/multipartBody7992215396378438502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667823404,"filename":"image_14122025_00_13_43_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399310055","file1":"1399310054","file0":"1399310053","file4":"1399310058","file5":"1399310060","file3":"1399310056"},"map_files_photo_id_array":[{"photo_id":"1399310060","filename":"file5"},{"photo_id":"1399310055","filename":"file2"},{"photo_id":"1399310058","filename":"file4"},{"photo_id":"1399310054","filename":"file1"},{"photo_id":"1399310053","filename":"file0"},{"photo_id":"1399310056","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399310060":["hashtag1","hashtag2"]},{"1399310054":["hashtag1","hashtag2"]},{"1399310053":["hashtag1","hashtag2"]},{"1399310056":["hashtag1","hashtag2"]},{"1399310055":["hashtag1","hashtag2"]},{"1399310058":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399310060, 1399310054, 1399310053, 1399310056, 1399310055, 1399310058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.81780481338501 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:17:03.058465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/13/image_14122025_00_14_04_9620.jpg', '/home/pi/Desktop/images/14122025/00/14/image_14122025_00_14_24_10590.jpg', '/home/pi/Desktop/images/14122025/00/14/image_14122025_00_14_34_9795.jpg', '/home/pi/Desktop/images/14122025/00/14/image_14122025_00_14_43_9592.jpg', '/home/pi/Desktop/images/14122025/00/14/image_14122025_00_15_04_9596.jpg', '/home/pi/Desktop/images/14122025/00/15/image_14122025_00_15_44_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/13/image_14122025_00_14_04_9620.jpg
/home/pi/Desktop/images/14122025/00/14/image_14122025_00_14_24_10590.jpg
/home/pi/Desktop/images/14122025/00/14/image_14122025_00_14_34_9795.jpg
/home/pi/Desktop/images/14122025/00/14/image_14122025_00_14_43_9592.jpg
/home/pi/Desktop/images/14122025/00/14/image_14122025_00_15_04_9596.jpg
/home/pi/Desktop/images/14122025/00/15/image_14122025_00_15_44_9771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399310066","1399310069","1399310071","1399310065","1399310067","1399310064"],"photo_ids_order":["1399310064","1399310065","1399310066","1399310067","1399310069","1399310071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc4e7232916fde6976d5ad065fd8d1ef.jpg","text":"TemporaryFile(/tmp/multipartBody8157354268085481918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667884173,"filename":"image_14122025_00_14_34_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c53877afb9e329fa39668bf603efa007.jpg","text":"TemporaryFile(/tmp/multipartBody4632449492921561934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667884173,"filename":"image_14122025_00_15_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/12/14/91f5000e553a5d597077c894dbb6b791.jpg","text":"TemporaryFile(/tmp/multipartBody2918252140939151666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667884173,"filename":"image_14122025_00_15_44_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a6f7395ccb7f60767e09888ac80cb119.jpg","text":"TemporaryFile(/tmp/multipartBody1340277142485096222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667884173,"filename":"image_14122025_00_14_24_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4cd736ecf3c9971eca53b639d57bca72.jpg","text":"TemporaryFile(/tmp/multipartBody7471712416758563616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667884173,"filename":"image_14122025_00_14_43_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/920f7b231fa49825dff873cdbe954bbb.jpg","text":"TemporaryFile(/tmp/multipartBody3118416579811303307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667884173,"filename":"image_14122025_00_14_04_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399310066","file1":"1399310065","file0":"1399310064","file4":"1399310069","file5":"1399310071","file3":"1399310067"},"map_files_photo_id_array":[{"photo_id":"1399310071","filename":"file5"},{"photo_id":"1399310066","filename":"file2"},{"photo_id":"1399310069","filename":"file4"},{"photo_id":"1399310065","filename":"file1"},{"photo_id":"1399310064","filename":"file0"},{"photo_id":"1399310067","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399310066":["hashtag1","hashtag2"]},{"1399310069":["hashtag1","hashtag2"]},{"1399310071":["hashtag1","hashtag2"]},{"1399310065":["hashtag1","hashtag2"]},{"1399310067":["hashtag1","hashtag2"]},{"1399310064":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399310066, 1399310069, 1399310071, 1399310065, 1399310067, 1399310064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82493448257446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:18:02.278167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/15/image_14122025_00_16_04_10624.jpg', '/home/pi/Desktop/images/14122025/00/16/image_14122025_00_16_23_9643.jpg', '/home/pi/Desktop/images/14122025/00/16/image_14122025_00_16_34_10541.jpg', '/home/pi/Desktop/images/14122025/00/16/image_14122025_00_16_43_9648.jpg', '/home/pi/Desktop/images/14122025/00/16/image_14122025_00_16_54_10563.jpg', '/home/pi/Desktop/images/14122025/00/16/image_14122025_00_17_04_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/15/image_14122025_00_16_04_10624.jpg
/home/pi/Desktop/images/14122025/00/16/image_14122025_00_16_23_9643.jpg
/home/pi/Desktop/images/14122025/00/16/image_14122025_00_16_34_10541.jpg
/home/pi/Desktop/images/14122025/00/16/image_14122025_00_16_43_9648.jpg
/home/pi/Desktop/images/14122025/00/16/image_14122025_00_16_54_10563.jpg
/home/pi/Desktop/images/14122025/00/16/image_14122025_00_17_04_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399310078","1399310081","1399310080","1399310083","1399310077","1399310079"],"photo_ids_order":["1399310077","1399310078","1399310079","1399310080","1399310081","1399310083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cbc22a35d6e55a341c0ead663c4158d7.jpg","text":"TemporaryFile(/tmp/multipartBody4391298261785079397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667943590,"filename":"image_14122025_00_16_23_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e60cb66480463b5116194465150ef25e.jpg","text":"TemporaryFile(/tmp/multipartBody2996110749889756693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667943590,"filename":"image_14122025_00_16_54_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c729d35a2067dc36035ae8130518f52b.jpg","text":"TemporaryFile(/tmp/multipartBody2467737944357014791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667943590,"filename":"image_14122025_00_16_43_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f05af96b2afcc0e82db7700d696b9ad.jpg","text":"TemporaryFile(/tmp/multipartBody3119473405523782021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667943590,"filename":"image_14122025_00_17_04_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd586afc61143de88348b619ed9e3431.jpg","text":"TemporaryFile(/tmp/multipartBody95179139798265685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667943590,"filename":"image_14122025_00_16_04_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d3477e7f54e4534e00fabc7f65664262.jpg","text":"TemporaryFile(/tmp/multipartBody7246810773837053659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765667943590,"filename":"image_14122025_00_16_34_10541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399310079","file1":"1399310078","file0":"1399310077","file4":"1399310081","file5":"1399310083","file3":"1399310080"},"map_files_photo_id_array":[{"photo_id":"1399310083","filename":"file5"},{"photo_id":"1399310079","filename":"file2"},{"photo_id":"1399310081","filename":"file4"},{"photo_id":"1399310078","filename":"file1"},{"photo_id":"1399310077","filename":"file0"},{"photo_id":"1399310080","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399310078":["hashtag1","hashtag2"]},{"1399310081":["hashtag1","hashtag2"]},{"1399310080":["hashtag1","hashtag2"]},{"1399310083":["hashtag1","hashtag2"]},{"1399310077":["hashtag1","hashtag2"]},{"1399310079":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399310078, 1399310081, 1399310080, 1399310083, 1399310077, 1399310079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.55717730522156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:19:03.155637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/17/image_14122025_00_17_14_10544.jpg', '/home/pi/Desktop/images/14122025/00/17/image_14122025_00_17_24_9697.jpg', '/home/pi/Desktop/images/14122025/00/17/image_14122025_00_17_34_9638.jpg', '/home/pi/Desktop/images/14122025/00/17/image_14122025_00_17_43_9769.jpg', '/home/pi/Desktop/images/14122025/00/17/image_14122025_00_17_54_10582.jpg', '/home/pi/Desktop/images/14122025/00/17/image_14122025_00_18_04_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/17/image_14122025_00_17_14_10544.jpg
/home/pi/Desktop/images/14122025/00/17/image_14122025_00_17_24_9697.jpg
/home/pi/Desktop/images/14122025/00/17/image_14122025_00_17_34_9638.jpg
/home/pi/Desktop/images/14122025/00/17/image_14122025_00_17_43_9769.jpg
/home/pi/Desktop/images/14122025/00/17/image_14122025_00_17_54_10582.jpg
/home/pi/Desktop/images/14122025/00/17/image_14122025_00_18_04_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":["1399310090","1399310093","1399310095","1399310092","1399310091","1399310097"],"photo_ids_order":["1399310090","1399310091","1399310092","1399310093","1399310095","1399310097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da55d767ad5496942daa6f88cae772ad.jpg","text":"TemporaryFile(/tmp/multipartBody3019463757672205747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668004111,"filename":"image_14122025_00_17_14_10544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/61fe590c3014af60565f30d866860bc6.jpg","text":"TemporaryFile(/tmp/multipartBody3240934784737205005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668004111,"filename":"image_14122025_00_17_43_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0cf32ec6b2ebb26ea159178ae5e37d5c.jpg","text":"TemporaryFile(/tmp/multipartBody9214146737877273295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668004111,"filename":"image_14122025_00_17_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/12/14/c38adda6be1af65fa363d55068f0a355.jpg","text":"TemporaryFile(/tmp/multipartBody4881787449155941441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668004111,"filename":"image_14122025_00_17_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f43f0ea8dac7394c68a544b5ad939ca6.jpg","text":"TemporaryFile(/tmp/multipartBody5985812438002422083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668004111,"filename":"image_14122025_00_17_24_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2172cf58f087c624bef59fa1cd4ee4f1.jpg","text":"TemporaryFile(/tmp/multipartBody2761846866222779966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668004111,"filename":"image_14122025_00_18_04_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399310092","file1":"1399310091","file0":"1399310090","file4":"1399310095","file5":"1399310097","file3":"1399310093"},"map_files_photo_id_array":[{"photo_id":"1399310097","filename":"file5"},{"photo_id":"1399310092","filename":"file2"},{"photo_id":"1399310095","filename":"file4"},{"photo_id":"1399310091","filename":"file1"},{"photo_id":"1399310090","filename":"file0"},{"photo_id":"1399310093","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399310090":["hashtag1","hashtag2"]},{"1399310093":["hashtag1","hashtag2"]},{"1399310095":["hashtag1","hashtag2"]},{"1399310092":["hashtag1","hashtag2"]},{"1399310091":["hashtag1","hashtag2"]},{"1399310097":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399310090, 1399310093, 1399310095, 1399310092, 1399310091, 1399310097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.86061668395996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:20:02.884852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/18/image_14122025_00_18_43_9694.jpg', '/home/pi/Desktop/images/14122025/00/18/image_14122025_00_18_54_10541.jpg', '/home/pi/Desktop/images/14122025/00/18/image_14122025_00_19_04_9813.jpg', '/home/pi/Desktop/images/14122025/00/19/image_14122025_00_19_13_9661.jpg', '/home/pi/Desktop/images/14122025/00/19/image_14122025_00_19_24_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/18/image_14122025_00_18_43_9694.jpg
/home/pi/Desktop/images/14122025/00/18/image_14122025_00_18_54_10541.jpg
/home/pi/Desktop/images/14122025/00/18/image_14122025_00_19_04_9813.jpg
/home/pi/Desktop/images/14122025/00/19/image_14122025_00_19_13_9661.jpg
/home/pi/Desktop/images/14122025/00/19/image_14122025_00_19_24_10672.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4561464786529541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:20:12.476929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:20:22.466470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/18/image_14122025_00_18_43_9694.jpg', '/home/pi/Desktop/images/14122025/00/18/image_14122025_00_18_54_10541.jpg', '/home/pi/Desktop/images/14122025/00/18/image_14122025_00_19_04_9813.jpg', '/home/pi/Desktop/images/14122025/00/19/image_14122025_00_19_13_9661.jpg', '/home/pi/Desktop/images/14122025/00/19/image_14122025_00_19_24_10672.jpg', '/home/pi/Desktop/images/14122025/00/19/image_14122025_00_19_34_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/18/image_14122025_00_18_43_9694.jpg
/home/pi/Desktop/images/14122025/00/18/image_14122025_00_18_54_10541.jpg
/home/pi/Desktop/images/14122025/00/18/image_14122025_00_19_04_9813.jpg
/home/pi/Desktop/images/14122025/00/19/image_14122025_00_19_13_9661.jpg
/home/pi/Desktop/images/14122025/00/19/image_14122025_00_19_24_10672.jpg
/home/pi/Desktop/images/14122025/00/19/image_14122025_00_19_34_9744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399310115","1399310109","1399310111","1399310105","1399310113","1399310107"],"photo_ids_order":["1399310105","1399310107","1399310109","1399310111","1399310113","1399310115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51ce2e3f8e500b42711c93d3e536c05f.jpg","text":"TemporaryFile(/tmp/multipartBody7963789092879558819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668083006,"filename":"image_14122025_00_19_34_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2cbc313a5c5de21458cfe41dd775e70e.jpg","text":"TemporaryFile(/tmp/multipartBody3031960201889431731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668083006,"filename":"image_14122025_00_19_04_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2b24c0999788000616c9b582840e80d.jpg","text":"TemporaryFile(/tmp/multipartBody5992572700317379435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668083006,"filename":"image_14122025_00_19_13_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a01c001fa97b7a31432580a77934f81c.jpg","text":"TemporaryFile(/tmp/multipartBody3818798240258045248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668083006,"filename":"image_14122025_00_18_43_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9b8c966e2cfd9fb943524e6b577997e8.jpg","text":"TemporaryFile(/tmp/multipartBody5772192809976087003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668083006,"filename":"image_14122025_00_19_24_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21db2f64b1e4ca0836b86b2159a8d523.jpg","text":"TemporaryFile(/tmp/multipartBody2661863990254469489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668083006,"filename":"image_14122025_00_18_54_10541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399310109","file1":"1399310107","file0":"1399310105","file4":"1399310113","file5":"1399310115","file3":"1399310111"},"map_files_photo_id_array":[{"photo_id":"1399310115","filename":"file5"},{"photo_id":"1399310109","filename":"file2"},{"photo_id":"1399310113","filename":"file4"},{"photo_id":"1399310107","filename":"file1"},{"photo_id":"1399310105","filename":"file0"},{"photo_id":"1399310111","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399310115":["hashtag1","hashtag2"]},{"1399310109":["hashtag1","hashtag2"]},{"1399310111":["hashtag1","hashtag2"]},{"1399310105":["hashtag1","hashtag2"]},{"1399310113":["hashtag1","hashtag2"]},{"1399310107":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399310115, 1399310109, 1399310111, 1399310105, 1399310113, 1399310107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67455530166626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:21:02.445693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/19/image_14122025_00_20_04_9769.jpg', '/home/pi/Desktop/images/14122025/00/20/image_14122025_00_20_13_9639.jpg', '/home/pi/Desktop/images/14122025/00/20/image_14122025_00_20_34_9565.jpg', '/home/pi/Desktop/images/14122025/00/20/image_14122025_00_20_43_9549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/19/image_14122025_00_20_04_9769.jpg
/home/pi/Desktop/images/14122025/00/20/image_14122025_00_20_13_9639.jpg
/home/pi/Desktop/images/14122025/00/20/image_14122025_00_20_34_9565.jpg
/home/pi/Desktop/images/14122025/00/20/image_14122025_00_20_43_9549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399310118","1399310117","1399310119","1399310116"],"photo_ids_order":["1399310116","1399310117","1399310118","1399310119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e20ea2dc397e8be7c8a3f8645a93b457.jpg","text":"TemporaryFile(/tmp/multipartBody2453778263461711514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668122977,"filename":"image_14122025_00_20_34_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a698444fda335d8c20acf984ed878cfc.jpg","text":"TemporaryFile(/tmp/multipartBody5158622990548683917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668122977,"filename":"image_14122025_00_20_13_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2dbd3c4b97271f5cce63f0ac1f361d07.jpg","text":"TemporaryFile(/tmp/multipartBody3471789574413142467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668122977,"filename":"image_14122025_00_20_43_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/464542bb1049dccdb0a9060610b36d7b.jpg","text":"TemporaryFile(/tmp/multipartBody5838683688652688595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668122977,"filename":"image_14122025_00_20_04_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399310118","file1":"1399310117","file0":"1399310116","file3":"1399310119"},"map_files_photo_id_array":[{"photo_id":"1399310118","filename":"file2"},{"photo_id":"1399310117","filename":"file1"},{"photo_id":"1399310116","filename":"file0"},{"photo_id":"1399310119","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399310118":["hashtag1","hashtag2"]},{"1399310117":["hashtag1","hashtag2"]},{"1399310119":["hashtag1","hashtag2"]},{"1399310116":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399310118, 1399310117, 1399310119, 1399310116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.822807550430298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:21:41.801895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_26_3962.jpg', '/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_28_1707.jpg', '/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_32_3723.jpg', '/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_34_2648.jpg', '/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_37_2546.jpg', '/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_40_3700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_26_3962.jpg
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_28_1707.jpg
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_32_3723.jpg
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_34_2648.jpg
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_37_2546.jpg
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_40_3700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399310130","1399310124","1399310129","1399310126","1399310131","1399310128"],"photo_ids_order":["1399310124","1399310126","1399310128","1399310129","1399310130","1399310131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c7ead3c4ba8f29cd31835398a7ff9544.jpg","text":"TemporaryFile(/tmp/multipartBody1285603040069005034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668162552,"filename":"image_04112025_10_49_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/12/14/a03948ceb895b58ab54390413273a4bf.jpg","text":"TemporaryFile(/tmp/multipartBody53811682281339293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668162552,"filename":"image_04112025_10_49_26_3962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cdbc944e525db343601648162d98d838.jpg","text":"TemporaryFile(/tmp/multipartBody3118634769794619880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668162552,"filename":"image_04112025_10_49_34_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1bbc94d74efd4ce9d24ae05586fb7b19.jpg","text":"TemporaryFile(/tmp/multipartBody7919156897131086630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668162552,"filename":"image_04112025_10_49_28_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d7cac8c58eb61e2f069271ae30d6a8be.jpg","text":"TemporaryFile(/tmp/multipartBody611312660700462163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668162552,"filename":"image_04112025_10_49_40_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b6dfd0ca7efd2fff27cd99ae532c490.jpg","text":"TemporaryFile(/tmp/multipartBody4325840146245619936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668162552,"filename":"image_04112025_10_49_32_3723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399310128","file1":"1399310126","file0":"1399310124","file4":"1399310130","file5":"1399310131","file3":"1399310129"},"map_files_photo_id_array":[{"photo_id":"1399310131","filename":"file5"},{"photo_id":"1399310128","filename":"file2"},{"photo_id":"1399310130","filename":"file4"},{"photo_id":"1399310126","filename":"file1"},{"photo_id":"1399310124","filename":"file0"},{"photo_id":"1399310129","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399310130":["hashtag1","hashtag2"]},{"1399310124":["hashtag1","hashtag2"]},{"1399310129":["hashtag1","hashtag2"]},{"1399310126":["hashtag1","hashtag2"]},{"1399310131":["hashtag1","hashtag2"]},{"1399310128":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399310130, 1399310124, 1399310129, 1399310126, 1399310131, 1399310128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.721818685531616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:22:32.104382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:22:42.080293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_43_2830.jpg', '/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_46_2688.jpg', '/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_52_6311.jpg', '/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_55_2986.jpg', '/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_57_1716.jpg', '/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_59_1753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_43_2830.jpg
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_46_2688.jpg
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_52_6311.jpg
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_55_2986.jpg
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_57_1716.jpg
/home/pi/Desktop/images/04112025/10/49/image_04112025_10_49_59_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":["1399310759","1399311076","1399310971","1399310653","1399310542","1399310871"],"photo_ids_order":["1399310542","1399310653","1399310759","1399310871","1399310971","1399311076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/de1c3018af76447779d16af16d546b9f.jpg","text":"TemporaryFile(/tmp/multipartBody6355388489098094729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668222840,"filename":"image_04112025_10_49_52_6311.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ac05728d2681858244ed7f7e808ddf1d.jpg","text":"TemporaryFile(/tmp/multipartBody32092933925224675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668222840,"filename":"image_04112025_10_49_59_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9ec164bee31a9758728c46c3021158c5.jpg","text":"TemporaryFile(/tmp/multipartBody6665669298036912067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668222840,"filename":"image_04112025_10_49_57_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fccb6cbab4fb190ef87fc34d83ce9653.jpg","text":"TemporaryFile(/tmp/multipartBody4037325249209363397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668222840,"filename":"image_04112025_10_49_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/12/14/bec3362a434c31f3970b98d45d4c8386.jpg","text":"TemporaryFile(/tmp/multipartBody2936245333810225759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668222840,"filename":"image_04112025_10_49_43_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/241adc8cd30ad869fd15190451f5d144.jpg","text":"TemporaryFile(/tmp/multipartBody1383683799638754194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668222840,"filename":"image_04112025_10_49_55_2986.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399310759","file1":"1399310653","file0":"1399310542","file4":"1399310971","file5":"1399311076","file3":"1399310871"},"map_files_photo_id_array":[{"photo_id":"1399311076","filename":"file5"},{"photo_id":"1399310759","filename":"file2"},{"photo_id":"1399310971","filename":"file4"},{"photo_id":"1399310653","filename":"file1"},{"photo_id":"1399310542","filename":"file0"},{"photo_id":"1399310871","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399310759":["hashtag1","hashtag2"]},{"1399311076":["hashtag1","hashtag2"]},{"1399310971":["hashtag1","hashtag2"]},{"1399310653":["hashtag1","hashtag2"]},{"1399310542":["hashtag1","hashtag2"]},{"1399310871":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399310759, 1399311076, 1399310971, 1399310653, 1399310542, 1399310871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91610550880432 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:23:22.306283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/20/image_14122025_00_20_54_10654.jpg', '/home/pi/Desktop/images/14122025/00/20/image_14122025_00_21_04_9637.jpg', '/home/pi/Desktop/images/14122025/00/21/image_14122025_00_21_24_9696.jpg', '/home/pi/Desktop/images/14122025/00/21/image_14122025_00_21_44_10604.jpg', '/home/pi/Desktop/images/14122025/00/21/image_14122025_00_21_54_9628.jpg', '/home/pi/Desktop/images/14122025/00/21/image_14122025_00_22_04_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/20/image_14122025_00_20_54_10654.jpg
/home/pi/Desktop/images/14122025/00/20/image_14122025_00_21_04_9637.jpg
/home/pi/Desktop/images/14122025/00/21/image_14122025_00_21_24_9696.jpg
/home/pi/Desktop/images/14122025/00/21/image_14122025_00_21_44_10604.jpg
/home/pi/Desktop/images/14122025/00/21/image_14122025_00_21_54_9628.jpg
/home/pi/Desktop/images/14122025/00/21/image_14122025_00_22_04_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":["1399311260","1399311266","1399311262","1399311256","1399311264","1399311258"],"photo_ids_order":["1399311256","1399311258","1399311260","1399311262","1399311264","1399311266"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6a74941bab4487ccaf87fbda12645221.jpg","text":"TemporaryFile(/tmp/multipartBody6751035659397555610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668262873,"filename":"image_14122025_00_21_24_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/252432b592fc3e63b0eb43f99767cf73.jpg","text":"TemporaryFile(/tmp/multipartBody3300344537306736960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668262873,"filename":"image_14122025_00_22_04_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef4cdadb7ac821d97757cd94198f1a47.jpg","text":"TemporaryFile(/tmp/multipartBody859057545396403122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668262873,"filename":"image_14122025_00_21_44_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1280e48b4a1a89d214b7797cc26584fc.jpg","text":"TemporaryFile(/tmp/multipartBody2945440747545994489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668262873,"filename":"image_14122025_00_20_54_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/50162f6d3fe661074c748e4af99bb502.jpg","text":"TemporaryFile(/tmp/multipartBody5875706433196044867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668262873,"filename":"image_14122025_00_21_54_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69e79e6b68a3fd90ae074609e5314efe.jpg","text":"TemporaryFile(/tmp/multipartBody3015569921431481993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668262873,"filename":"image_14122025_00_21_04_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311260","file1":"1399311258","file0":"1399311256","file4":"1399311264","file5":"1399311266","file3":"1399311262"},"map_files_photo_id_array":[{"photo_id":"1399311266","filename":"file5"},{"photo_id":"1399311260","filename":"file2"},{"photo_id":"1399311264","filename":"file4"},{"photo_id":"1399311258","filename":"file1"},{"photo_id":"1399311256","filename":"file0"},{"photo_id":"1399311262","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311260":["hashtag1","hashtag2"]},{"1399311266":["hashtag1","hashtag2"]},{"1399311262":["hashtag1","hashtag2"]},{"1399311256":["hashtag1","hashtag2"]},{"1399311264":["hashtag1","hashtag2"]},{"1399311258":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311260, 1399311266, 1399311262, 1399311256, 1399311264, 1399311258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52754878997803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:24:03.243504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/22/image_14122025_00_22_14_10620.jpg', '/home/pi/Desktop/images/14122025/00/22/image_14122025_00_22_24_9613.jpg', '/home/pi/Desktop/images/14122025/00/22/image_14122025_00_22_34_9769.jpg', '/home/pi/Desktop/images/14122025/00/22/image_14122025_00_22_43_9695.jpg', '/home/pi/Desktop/images/14122025/00/22/image_14122025_00_22_54_10782.jpg', '/home/pi/Desktop/images/14122025/00/22/image_14122025_00_23_04_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/22/image_14122025_00_22_14_10620.jpg
/home/pi/Desktop/images/14122025/00/22/image_14122025_00_22_24_9613.jpg
/home/pi/Desktop/images/14122025/00/22/image_14122025_00_22_34_9769.jpg
/home/pi/Desktop/images/14122025/00/22/image_14122025_00_22_43_9695.jpg
/home/pi/Desktop/images/14122025/00/22/image_14122025_00_22_54_10782.jpg
/home/pi/Desktop/images/14122025/00/22/image_14122025_00_23_04_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":["1399311482","1399311365","1399311484","1399311547","1399311483","1399311477"],"photo_ids_order":["1399311365","1399311477","1399311482","1399311483","1399311484","1399311547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1175c4d0b633ec48c6d4429446d8364c.jpg","text":"TemporaryFile(/tmp/multipartBody7846041175994045461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668303821,"filename":"image_14122025_00_22_34_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d36ed34b95ba01b4183682fd107112da.jpg","text":"TemporaryFile(/tmp/multipartBody7700287539223792828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668303821,"filename":"image_14122025_00_22_14_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90bcc7344f42be81206cd214b42a8bca.jpg","text":"TemporaryFile(/tmp/multipartBody1375262352319511254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668303821,"filename":"image_14122025_00_22_54_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8d78a177d78e87da3331ab7197a01c64.jpg","text":"TemporaryFile(/tmp/multipartBody1799029313677563157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668303821,"filename":"image_14122025_00_23_04_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c10c0b32b37666c5975b973fead590b5.jpg","text":"TemporaryFile(/tmp/multipartBody5229984618927211339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668303821,"filename":"image_14122025_00_22_43_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/786cdad2d6d509cbba0d851a4fa5ed5b.jpg","text":"TemporaryFile(/tmp/multipartBody4420835460343714364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668303821,"filename":"image_14122025_00_22_24_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311482","file1":"1399311477","file0":"1399311365","file4":"1399311484","file5":"1399311547","file3":"1399311483"},"map_files_photo_id_array":[{"photo_id":"1399311547","filename":"file5"},{"photo_id":"1399311482","filename":"file2"},{"photo_id":"1399311484","filename":"file4"},{"photo_id":"1399311477","filename":"file1"},{"photo_id":"1399311365","filename":"file0"},{"photo_id":"1399311483","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311482":["hashtag1","hashtag2"]},{"1399311365":["hashtag1","hashtag2"]},{"1399311484":["hashtag1","hashtag2"]},{"1399311547":["hashtag1","hashtag2"]},{"1399311483":["hashtag1","hashtag2"]},{"1399311477":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311482, 1399311365, 1399311484, 1399311547, 1399311483, 1399311477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.773815393447876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:24:42.715935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_07_3013.jpg', '/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_10_3700.jpg', '/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_20_9281.jpg', '/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_21_1787.jpg', '/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_23_1740.jpg', '/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_25_1670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_07_3013.jpg
/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_10_3700.jpg
/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_20_9281.jpg
/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_21_1787.jpg
/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_23_1740.jpg
/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_25_1670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399311659","1399311661","1399311597","1399311663","1399311657","1399311627"],"photo_ids_order":["1399311597","1399311627","1399311657","1399311659","1399311661","1399311663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f68d221ddb7e18462872377ba765f8bd.jpg","text":"TemporaryFile(/tmp/multipartBody294242724746416443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668343449,"filename":"image_04112025_10_51_21_1787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a2b935984f3ef323c8de3a9256a4827.jpg","text":"TemporaryFile(/tmp/multipartBody2125283368001581445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668343449,"filename":"image_04112025_10_51_23_1740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d75ae6787357421fd632effe48e2a223.jpg","text":"TemporaryFile(/tmp/multipartBody3388584027212478660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668343449,"filename":"image_04112025_10_51_07_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3e71999842c88105a12eee451a7a4ae9.jpg","text":"TemporaryFile(/tmp/multipartBody1614029408970257967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668343449,"filename":"image_04112025_10_51_25_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81280ee7e81feffea7bc8aab93efe5ac.jpg","text":"TemporaryFile(/tmp/multipartBody4682087544976674418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668343449,"filename":"image_04112025_10_51_20_9281.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/695a63aaba41950ab65fbcabe4aedaa6.jpg","text":"TemporaryFile(/tmp/multipartBody6000097465306257860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668343449,"filename":"image_04112025_10_51_10_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311657","file1":"1399311627","file0":"1399311597","file4":"1399311661","file5":"1399311663","file3":"1399311659"},"map_files_photo_id_array":[{"photo_id":"1399311663","filename":"file5"},{"photo_id":"1399311657","filename":"file2"},{"photo_id":"1399311661","filename":"file4"},{"photo_id":"1399311627","filename":"file1"},{"photo_id":"1399311597","filename":"file0"},{"photo_id":"1399311659","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399311659":["hashtag1","hashtag2"]},{"1399311661":["hashtag1","hashtag2"]},{"1399311597":["hashtag1","hashtag2"]},{"1399311663":["hashtag1","hashtag2"]},{"1399311657":["hashtag1","hashtag2"]},{"1399311627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399311659, 1399311661, 1399311597, 1399311663, 1399311657, 1399311627)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.67153835296631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:25:32.005361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:25:41.984111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_26_1613.jpg', '/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_28_1710.jpg', '/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_31_2671.jpg', '/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_34_2924.jpg', '/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_37_3663.jpg', '/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_44_6172.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_26_1613.jpg
/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_28_1710.jpg
/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_31_2671.jpg
/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_34_2924.jpg
/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_37_3663.jpg
/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_44_6172.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8624882698059082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:26:02.779766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/23/image_14122025_00_23_14_9685.jpg', '/home/pi/Desktop/images/14122025/00/23/image_14122025_00_23_24_10637.jpg', '/home/pi/Desktop/images/14122025/00/23/image_14122025_00_23_34_9570.jpg', '/home/pi/Desktop/images/14122025/00/23/image_14122025_00_23_43_9613.jpg', '/home/pi/Desktop/images/14122025/00/23/image_14122025_00_23_54_10704.jpg', '/home/pi/Desktop/images/14122025/00/24/image_14122025_00_24_13_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/23/image_14122025_00_23_14_9685.jpg
/home/pi/Desktop/images/14122025/00/23/image_14122025_00_23_24_10637.jpg
/home/pi/Desktop/images/14122025/00/23/image_14122025_00_23_34_9570.jpg
/home/pi/Desktop/images/14122025/00/23/image_14122025_00_23_43_9613.jpg
/home/pi/Desktop/images/14122025/00/23/image_14122025_00_23_54_10704.jpg
/home/pi/Desktop/images/14122025/00/24/image_14122025_00_24_13_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":["1399311674","1399311673","1399311676","1399311679","1399311675","1399311677"],"photo_ids_order":["1399311673","1399311674","1399311675","1399311676","1399311677","1399311679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/48bb58f611abd08325664b493be6ab8a.jpg","text":"TemporaryFile(/tmp/multipartBody1852069171506427533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668423342,"filename":"image_14122025_00_23_24_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/906f39f237f91ea5048258a885485334.jpg","text":"TemporaryFile(/tmp/multipartBody9020695850437465237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668423342,"filename":"image_14122025_00_23_14_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5716c41cfd2dc09f9f07323aa28174a8.jpg","text":"TemporaryFile(/tmp/multipartBody7478701701552018222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668423342,"filename":"image_14122025_00_23_43_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/020d7087532ebd654978b36863020cbf.jpg","text":"TemporaryFile(/tmp/multipartBody2611584326763832171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668423342,"filename":"image_14122025_00_24_13_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e517a5c792e92ebbe04b414ce9f470a6.jpg","text":"TemporaryFile(/tmp/multipartBody728385313890878819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668423342,"filename":"image_14122025_00_23_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/12/14/a09849c4dae655e0c4f94f80f5fe73dd.jpg","text":"TemporaryFile(/tmp/multipartBody1308162964790571976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668423342,"filename":"image_14122025_00_23_54_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311675","file1":"1399311674","file0":"1399311673","file4":"1399311677","file5":"1399311679","file3":"1399311676"},"map_files_photo_id_array":[{"photo_id":"1399311679","filename":"file5"},{"photo_id":"1399311675","filename":"file2"},{"photo_id":"1399311677","filename":"file4"},{"photo_id":"1399311674","filename":"file1"},{"photo_id":"1399311673","filename":"file0"},{"photo_id":"1399311676","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311674":["hashtag1","hashtag2"]},{"1399311673":["hashtag1","hashtag2"]},{"1399311676":["hashtag1","hashtag2"]},{"1399311679":["hashtag1","hashtag2"]},{"1399311675":["hashtag1","hashtag2"]},{"1399311677":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311674, 1399311673, 1399311676, 1399311679, 1399311675, 1399311677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.507309675216675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:26:42.281591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_26_1613.jpg', '/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_28_1710.jpg', '/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_31_2671.jpg', '/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_34_2924.jpg', '/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_37_3663.jpg', '/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_44_6172.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_26_1613.jpg
/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_28_1710.jpg
/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_31_2671.jpg
/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_34_2924.jpg
/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_37_3663.jpg
/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_44_6172.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399311686","1399311688","1399311685","1399311684","1399311687","1399311689"],"photo_ids_order":["1399311684","1399311685","1399311686","1399311687","1399311688","1399311689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/34276501380468e3c9d8592552b6401a.jpg","text":"TemporaryFile(/tmp/multipartBody3581649121960845715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668462875,"filename":"image_04112025_10_51_31_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/415555ec3571c2e83ac22ee455bff1c3.jpg","text":"TemporaryFile(/tmp/multipartBody82472247962063268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668462875,"filename":"image_04112025_10_51_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/12/14/366ae0e0758e3b0a51fdd5d82b3f8bcd.jpg","text":"TemporaryFile(/tmp/multipartBody1843025026271463281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668462875,"filename":"image_04112025_10_51_28_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5270fecb9185e63bae23689e7c392def.jpg","text":"TemporaryFile(/tmp/multipartBody6328023266032281069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668462875,"filename":"image_04112025_10_51_26_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b12c6eafc81c605b4ee7c12932f41e99.jpg","text":"TemporaryFile(/tmp/multipartBody3413393119627538318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668462875,"filename":"image_04112025_10_51_34_2924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3bcf72cf02a1853e42d13218dac7fffc.jpg","text":"TemporaryFile(/tmp/multipartBody8684608425572135164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668462875,"filename":"image_04112025_10_51_44_6172.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311686","file1":"1399311685","file0":"1399311684","file4":"1399311688","file5":"1399311689","file3":"1399311687"},"map_files_photo_id_array":[{"photo_id":"1399311689","filename":"file5"},{"photo_id":"1399311686","filename":"file2"},{"photo_id":"1399311688","filename":"file4"},{"photo_id":"1399311685","filename":"file1"},{"photo_id":"1399311684","filename":"file0"},{"photo_id":"1399311687","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399311686":["hashtag1","hashtag2"]},{"1399311688":["hashtag1","hashtag2"]},{"1399311685":["hashtag1","hashtag2"]},{"1399311684":["hashtag1","hashtag2"]},{"1399311687":["hashtag1","hashtag2"]},{"1399311689":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399311686, 1399311688, 1399311685, 1399311684, 1399311687, 1399311689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.611480951309204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:27:22.537755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/24/image_14122025_00_24_33_9574.jpg', '/home/pi/Desktop/images/14122025/00/24/image_14122025_00_24_54_10668.jpg', '/home/pi/Desktop/images/14122025/00/24/image_14122025_00_25_04_9680.jpg', '/home/pi/Desktop/images/14122025/00/25/image_14122025_00_25_14_9948.jpg', '/home/pi/Desktop/images/14122025/00/25/image_14122025_00_25_23_9708.jpg', '/home/pi/Desktop/images/14122025/00/25/image_14122025_00_25_34_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/24/image_14122025_00_24_33_9574.jpg
/home/pi/Desktop/images/14122025/00/24/image_14122025_00_24_54_10668.jpg
/home/pi/Desktop/images/14122025/00/24/image_14122025_00_25_04_9680.jpg
/home/pi/Desktop/images/14122025/00/25/image_14122025_00_25_14_9948.jpg
/home/pi/Desktop/images/14122025/00/25/image_14122025_00_25_23_9708.jpg
/home/pi/Desktop/images/14122025/00/25/image_14122025_00_25_34_10672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399311694","1399311696","1399311700","1399311690","1399311693","1399311698"],"photo_ids_order":["1399311690","1399311693","1399311694","1399311696","1399311698","1399311700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fccfea9203f6ebeb3eff54a82f024347.jpg","text":"TemporaryFile(/tmp/multipartBody2783802960486753994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668503100,"filename":"image_14122025_00_25_04_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d93b9b81234d737b1c0d4096fce2b5a4.jpg","text":"TemporaryFile(/tmp/multipartBody3055098896053371198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668503100,"filename":"image_14122025_00_25_14_9948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d7c7d2abd9ab7b9aac1ab67ea113a6ab.jpg","text":"TemporaryFile(/tmp/multipartBody996653775794858227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668503100,"filename":"image_14122025_00_25_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/12/14/5a1fb2e70ca410099f7ddd2a40a8bffa.jpg","text":"TemporaryFile(/tmp/multipartBody6126035636674157762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668503100,"filename":"image_14122025_00_24_33_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd21c711695bd00787e2f06c6227a20b.jpg","text":"TemporaryFile(/tmp/multipartBody2596337382862233139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668503100,"filename":"image_14122025_00_24_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/12/14/846a8c1e5b05ce6ed6fdd7b8a7712a09.jpg","text":"TemporaryFile(/tmp/multipartBody5749160551033496221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668503100,"filename":"image_14122025_00_25_23_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311694","file1":"1399311693","file0":"1399311690","file4":"1399311698","file5":"1399311700","file3":"1399311696"},"map_files_photo_id_array":[{"photo_id":"1399311700","filename":"file5"},{"photo_id":"1399311694","filename":"file2"},{"photo_id":"1399311698","filename":"file4"},{"photo_id":"1399311693","filename":"file1"},{"photo_id":"1399311690","filename":"file0"},{"photo_id":"1399311696","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311694":["hashtag1","hashtag2"]},{"1399311696":["hashtag1","hashtag2"]},{"1399311700":["hashtag1","hashtag2"]},{"1399311690":["hashtag1","hashtag2"]},{"1399311693":["hashtag1","hashtag2"]},{"1399311698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311694, 1399311696, 1399311700, 1399311690, 1399311693, 1399311698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.819472789764404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:28:03.232215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/25/image_14122025_00_25_53_9722.jpg', '/home/pi/Desktop/images/14122025/00/25/image_14122025_00_26_04_10682.jpg', '/home/pi/Desktop/images/14122025/00/26/image_14122025_00_26_14_9608.jpg', '/home/pi/Desktop/images/14122025/00/26/image_14122025_00_26_23_9687.jpg', '/home/pi/Desktop/images/14122025/00/26/image_14122025_00_26_54_9726.jpg', '/home/pi/Desktop/images/14122025/00/26/image_14122025_00_27_04_10552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/25/image_14122025_00_25_53_9722.jpg
/home/pi/Desktop/images/14122025/00/25/image_14122025_00_26_04_10682.jpg
/home/pi/Desktop/images/14122025/00/26/image_14122025_00_26_14_9608.jpg
/home/pi/Desktop/images/14122025/00/26/image_14122025_00_26_23_9687.jpg
/home/pi/Desktop/images/14122025/00/26/image_14122025_00_26_54_9726.jpg
/home/pi/Desktop/images/14122025/00/26/image_14122025_00_27_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":["1399311701","1399311704","1399311706","1399311703","1399311702","1399311705"],"photo_ids_order":["1399311701","1399311702","1399311703","1399311704","1399311705","1399311706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/33c88428350b7b54bdd9a28f5ffe02ce.jpg","text":"TemporaryFile(/tmp/multipartBody1030207376323491255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668543802,"filename":"image_14122025_00_25_53_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c96d3f677a71b5c9cd5d990dda4c2659.jpg","text":"TemporaryFile(/tmp/multipartBody978765285420913556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668543802,"filename":"image_14122025_00_26_23_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e37a6e6f3a8b71a057d19d471747573d.jpg","text":"TemporaryFile(/tmp/multipartBody4513787187850538640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668543802,"filename":"image_14122025_00_27_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/12/14/b91d0cb1ad42e3958fedba87dd2ea7af.jpg","text":"TemporaryFile(/tmp/multipartBody5268720902302053866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668543802,"filename":"image_14122025_00_26_14_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb37bb053e9f9dd739c2756c9225cbc9.jpg","text":"TemporaryFile(/tmp/multipartBody7736897823584452349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668543802,"filename":"image_14122025_00_26_04_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/47ca29b44a1d801a3fda6a1d92a2845b.jpg","text":"TemporaryFile(/tmp/multipartBody2894196200729303663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668543802,"filename":"image_14122025_00_26_54_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311703","file1":"1399311702","file0":"1399311701","file4":"1399311705","file5":"1399311706","file3":"1399311704"},"map_files_photo_id_array":[{"photo_id":"1399311706","filename":"file5"},{"photo_id":"1399311703","filename":"file2"},{"photo_id":"1399311705","filename":"file4"},{"photo_id":"1399311702","filename":"file1"},{"photo_id":"1399311701","filename":"file0"},{"photo_id":"1399311704","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311701":["hashtag1","hashtag2"]},{"1399311704":["hashtag1","hashtag2"]},{"1399311706":["hashtag1","hashtag2"]},{"1399311703":["hashtag1","hashtag2"]},{"1399311702":["hashtag1","hashtag2"]},{"1399311705":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311701, 1399311704, 1399311706, 1399311703, 1399311702, 1399311705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99406576156616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:28:42.800334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_45_1624.jpg', '/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_47_1647.jpg', '/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_03_16265.jpg', '/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_05_1711.jpg', '/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_07_1690.jpg', '/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_25_18084.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_45_1624.jpg
/home/pi/Desktop/images/04112025/10/51/image_04112025_10_51_47_1647.jpg
/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_03_16265.jpg
/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_05_1711.jpg
/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_07_1690.jpg
/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_25_18084.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399311716","1399311719","1399311718","1399311712","1399311711","1399311714"],"photo_ids_order":["1399311711","1399311712","1399311714","1399311716","1399311718","1399311719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e626c56f4ffcca032ff782dcc162dc0.jpg","text":"TemporaryFile(/tmp/multipartBody6537166837576376341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668583512,"filename":"image_04112025_10_52_05_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c3f0cf8b333943cf26f76c2bb447c277.jpg","text":"TemporaryFile(/tmp/multipartBody5770656139943282571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668583512,"filename":"image_04112025_10_52_25_18084.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9b2064f0700dc3771ef99f95f022df19.jpg","text":"TemporaryFile(/tmp/multipartBody3591607273784882558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668583512,"filename":"image_04112025_10_52_07_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/23b612fed350d339f2d7039d146452d1.jpg","text":"TemporaryFile(/tmp/multipartBody5356228580427681707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668583512,"filename":"image_04112025_10_51_47_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e72c3c0e0965d4bbd98d53e0abbcce25.jpg","text":"TemporaryFile(/tmp/multipartBody3921990261526482208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668583512,"filename":"image_04112025_10_51_45_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e5d128618377e174dd77cdd17f579743.jpg","text":"TemporaryFile(/tmp/multipartBody7729377864212520630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668583512,"filename":"image_04112025_10_52_03_16265.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311714","file1":"1399311712","file0":"1399311711","file4":"1399311718","file5":"1399311719","file3":"1399311716"},"map_files_photo_id_array":[{"photo_id":"1399311719","filename":"file5"},{"photo_id":"1399311714","filename":"file2"},{"photo_id":"1399311718","filename":"file4"},{"photo_id":"1399311712","filename":"file1"},{"photo_id":"1399311711","filename":"file0"},{"photo_id":"1399311716","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399311716":["hashtag1","hashtag2"]},{"1399311719":["hashtag1","hashtag2"]},{"1399311718":["hashtag1","hashtag2"]},{"1399311712":["hashtag1","hashtag2"]},{"1399311711":["hashtag1","hashtag2"]},{"1399311714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399311716, 1399311719, 1399311718, 1399311712, 1399311711, 1399311714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.874982595443726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:29:22.148583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/27/image_14122025_00_27_14_9630.jpg', '/home/pi/Desktop/images/14122025/00/27/image_14122025_00_27_34_10714.jpg', '/home/pi/Desktop/images/14122025/00/27/image_14122025_00_28_04_9753.jpg', '/home/pi/Desktop/images/14122025/00/28/image_14122025_00_28_24_10632.jpg', '/home/pi/Desktop/images/14122025/00/28/image_14122025_00_28_34_9712.jpg', '/home/pi/Desktop/images/14122025/00/28/image_14122025_00_28_54_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/27/image_14122025_00_27_14_9630.jpg
/home/pi/Desktop/images/14122025/00/27/image_14122025_00_27_34_10714.jpg
/home/pi/Desktop/images/14122025/00/27/image_14122025_00_28_04_9753.jpg
/home/pi/Desktop/images/14122025/00/28/image_14122025_00_28_24_10632.jpg
/home/pi/Desktop/images/14122025/00/28/image_14122025_00_28_34_9712.jpg
/home/pi/Desktop/images/14122025/00/28/image_14122025_00_28_54_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":["1399311725","1399311722","1399311733","1399311727","1399311735","1399311729"],"photo_ids_order":["1399311722","1399311725","1399311727","1399311729","1399311733","1399311735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a029ae33495fb729b4bc0a17669bb875.jpg","text":"TemporaryFile(/tmp/multipartBody3289956042074268992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668622692,"filename":"image_14122025_00_27_34_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/611fcc90fe018b6c3ec2f2114cdf15b4.jpg","text":"TemporaryFile(/tmp/multipartBody4765082006301139504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668622692,"filename":"image_14122025_00_27_14_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e6e4b1e38443795f86f793106201f428.jpg","text":"TemporaryFile(/tmp/multipartBody943772623104153306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668622692,"filename":"image_14122025_00_28_34_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e8b76b742c7e7632a79d7d190299038.jpg","text":"TemporaryFile(/tmp/multipartBody8420869368753055356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668622692,"filename":"image_14122025_00_28_04_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b1fe8692fd80792094fd3a34b37494aa.jpg","text":"TemporaryFile(/tmp/multipartBody4532808514223010025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668622692,"filename":"image_14122025_00_28_54_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc67f78239bedf40f8f58741be03ac44.jpg","text":"TemporaryFile(/tmp/multipartBody1012794214672524127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668622692,"filename":"image_14122025_00_28_24_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311727","file1":"1399311725","file0":"1399311722","file4":"1399311733","file5":"1399311735","file3":"1399311729"},"map_files_photo_id_array":[{"photo_id":"1399311735","filename":"file5"},{"photo_id":"1399311727","filename":"file2"},{"photo_id":"1399311733","filename":"file4"},{"photo_id":"1399311725","filename":"file1"},{"photo_id":"1399311722","filename":"file0"},{"photo_id":"1399311729","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311725":["hashtag1","hashtag2"]},{"1399311722":["hashtag1","hashtag2"]},{"1399311733":["hashtag1","hashtag2"]},{"1399311727":["hashtag1","hashtag2"]},{"1399311735":["hashtag1","hashtag2"]},{"1399311729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311725, 1399311722, 1399311733, 1399311727, 1399311735, 1399311729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0377094745636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:30:02.725264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/28/image_14122025_00_29_04_9691.jpg', '/home/pi/Desktop/images/14122025/00/29/image_14122025_00_29_13_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/28/image_14122025_00_29_04_9691.jpg
/home/pi/Desktop/images/14122025/00/29/image_14122025_00_29_13_9666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399311737","1399311738"],"photo_ids_order":["1399311737","1399311738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c33d4412d095317d417670b4fb99afe.jpg","text":"TemporaryFile(/tmp/multipartBody3505470122494945612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668663169,"filename":"image_14122025_00_29_04_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a70a9db83cd2628c522b272a053c5773.jpg","text":"TemporaryFile(/tmp/multipartBody7674228285349156451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668663169,"filename":"image_14122025_00_29_13_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399311738","file0":"1399311737"},"map_files_photo_id_array":[{"photo_id":"1399311738","filename":"file1"},{"photo_id":"1399311737","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311737":["hashtag1","hashtag2"]},{"1399311738":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311737, 1399311738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.510817289352417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:30:22.429879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/29/image_14122025_00_29_34_9791.jpg', '/home/pi/Desktop/images/14122025/00/30/image_14122025_00_30_14_9617.jpg', '/home/pi/Desktop/images/14122025/00/30/image_14122025_00_30_34_9576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/29/image_14122025_00_29_34_9791.jpg
/home/pi/Desktop/images/14122025/00/30/image_14122025_00_30_14_9617.jpg
/home/pi/Desktop/images/14122025/00/30/image_14122025_00_30_34_9576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399311743","1399311739","1399311741"],"photo_ids_order":["1399311739","1399311741","1399311743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e38e3dea452eff1b506aa9453aae7353.jpg","text":"TemporaryFile(/tmp/multipartBody497575312996046856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668682892,"filename":"image_14122025_00_30_34_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ad2a4f3e3d1a7c36fcdee1fefe6ad82.jpg","text":"TemporaryFile(/tmp/multipartBody4398892446563370944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668682892,"filename":"image_14122025_00_29_34_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/713efc4ff79375846d5e58cc7ac2524a.jpg","text":"TemporaryFile(/tmp/multipartBody5063690551927595129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668682892,"filename":"image_14122025_00_30_14_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311743","file1":"1399311741","file0":"1399311739"},"map_files_photo_id_array":[{"photo_id":"1399311743","filename":"file2"},{"photo_id":"1399311741","filename":"file1"},{"photo_id":"1399311739","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311743":["hashtag1","hashtag2"]},{"1399311739":["hashtag1","hashtag2"]},{"1399311741":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311743, 1399311739, 1399311741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.815194129943848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:31:03.137053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:31:12.469445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:31:22.506296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/30/image_14122025_00_30_43_9560.jpg', '/home/pi/Desktop/images/14122025/00/31/image_14122025_00_31_13_9647.jpg', '/home/pi/Desktop/images/14122025/00/31/image_14122025_00_31_24_10660.jpg', '/home/pi/Desktop/images/14122025/00/31/image_14122025_00_31_44_10537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/30/image_14122025_00_30_43_9560.jpg
/home/pi/Desktop/images/14122025/00/31/image_14122025_00_31_13_9647.jpg
/home/pi/Desktop/images/14122025/00/31/image_14122025_00_31_24_10660.jpg
/home/pi/Desktop/images/14122025/00/31/image_14122025_00_31_44_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":["1399311752","1399311755","1399311748","1399311750"],"photo_ids_order":["1399311748","1399311750","1399311752","1399311755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/310bc39354d889dcefe2b9edde769399.jpg","text":"TemporaryFile(/tmp/multipartBody1217057410034716309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668743003,"filename":"image_14122025_00_31_24_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b990e3b7d1545cf16b9359593de12b2.jpg","text":"TemporaryFile(/tmp/multipartBody2133185479852680129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668743003,"filename":"image_14122025_00_31_44_10537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/25b96351871e179fbe0f6ace9430454e.jpg","text":"TemporaryFile(/tmp/multipartBody3751917360123575846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668743003,"filename":"image_14122025_00_30_43_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d9a59e56aa205c0799333b6cf20202d.jpg","text":"TemporaryFile(/tmp/multipartBody6364812407943018952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668743003,"filename":"image_14122025_00_31_13_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311752","file1":"1399311750","file0":"1399311748","file3":"1399311755"},"map_files_photo_id_array":[{"photo_id":"1399311752","filename":"file2"},{"photo_id":"1399311750","filename":"file1"},{"photo_id":"1399311748","filename":"file0"},{"photo_id":"1399311755","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311752":["hashtag1","hashtag2"]},{"1399311755":["hashtag1","hashtag2"]},{"1399311748":["hashtag1","hashtag2"]},{"1399311750":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311752, 1399311755, 1399311748, 1399311750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.795042514801025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:32:03.253083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:32:12.897470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:32:22.775014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/31/image_14122025_00_31_54_9731.jpg', '/home/pi/Desktop/images/14122025/00/32/image_14122025_00_32_14_10550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/31/image_14122025_00_31_54_9731.jpg
/home/pi/Desktop/images/14122025/00/32/image_14122025_00_32_14_10550.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399311758","1399311760"],"photo_ids_order":["1399311758","1399311760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c83bb66441539f100dd7124e3c143697.jpg","text":"TemporaryFile(/tmp/multipartBody5789717602838676946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668803219,"filename":"image_14122025_00_31_54_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/03e710b57b5a0874de0aaec4a3b95f91.jpg","text":"TemporaryFile(/tmp/multipartBody4205335232392951360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668803219,"filename":"image_14122025_00_32_14_10550.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399311760","file0":"1399311758"},"map_files_photo_id_array":[{"photo_id":"1399311760","filename":"file1"},{"photo_id":"1399311758","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311758":["hashtag1","hashtag2"]},{"1399311760":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311758, 1399311760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.841986417770386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:32:42.847422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_26_1697.jpg', '/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_28_1685.jpg', '/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_35_7411.jpg', '/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_37_1833.jpg', '/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_39_1572.jpg', '/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_41_1859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_26_1697.jpg
/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_28_1685.jpg
/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_35_7411.jpg
/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_37_1833.jpg
/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_39_1572.jpg
/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_41_1859.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399311770","1399311773","1399311772","1399311769","1399311771","1399311765"],"photo_ids_order":["1399311765","1399311769","1399311770","1399311771","1399311772","1399311773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5af2c366386369f3045af8b8510e0025.jpg","text":"TemporaryFile(/tmp/multipartBody5075696133729387968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668823587,"filename":"image_04112025_10_52_35_7411.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/035e9a79ed12c5d2894a836956ba2c54.jpg","text":"TemporaryFile(/tmp/multipartBody958352435204852162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668823587,"filename":"image_04112025_10_52_41_1859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2544aa1e303565d6c570672ee563787e.jpg","text":"TemporaryFile(/tmp/multipartBody1752594620030036337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668823587,"filename":"image_04112025_10_52_39_1572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/546d08f61febeb1dbe2573f7adedae4c.jpg","text":"TemporaryFile(/tmp/multipartBody5126747512323018116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668823587,"filename":"image_04112025_10_52_28_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/004738ee0e0e91ac8c4c7b3671f90f24.jpg","text":"TemporaryFile(/tmp/multipartBody2522291648078844126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668823587,"filename":"image_04112025_10_52_37_1833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d9b6a61ff3d5a2cbf38aa36399eef02.jpg","text":"TemporaryFile(/tmp/multipartBody6503763135744896559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668823587,"filename":"image_04112025_10_52_26_1697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311770","file1":"1399311769","file0":"1399311765","file4":"1399311772","file5":"1399311773","file3":"1399311771"},"map_files_photo_id_array":[{"photo_id":"1399311773","filename":"file5"},{"photo_id":"1399311770","filename":"file2"},{"photo_id":"1399311772","filename":"file4"},{"photo_id":"1399311769","filename":"file1"},{"photo_id":"1399311765","filename":"file0"},{"photo_id":"1399311771","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399311770":["hashtag1","hashtag2"]},{"1399311773":["hashtag1","hashtag2"]},{"1399311772":["hashtag1","hashtag2"]},{"1399311769":["hashtag1","hashtag2"]},{"1399311771":["hashtag1","hashtag2"]},{"1399311765":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399311770, 1399311773, 1399311772, 1399311769, 1399311771, 1399311765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1850528717041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:33:22.117146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/32/image_14122025_00_32_24_9742.jpg', '/home/pi/Desktop/images/14122025/00/33/image_14122025_00_33_24_9690.jpg', '/home/pi/Desktop/images/14122025/00/33/image_14122025_00_33_33_9616.jpg', '/home/pi/Desktop/images/14122025/00/33/image_14122025_00_33_44_10774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/32/image_14122025_00_32_24_9742.jpg
/home/pi/Desktop/images/14122025/00/33/image_14122025_00_33_24_9690.jpg
/home/pi/Desktop/images/14122025/00/33/image_14122025_00_33_33_9616.jpg
/home/pi/Desktop/images/14122025/00/33/image_14122025_00_33_44_10774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399311779","1399311781","1399311775","1399311776"],"photo_ids_order":["1399311775","1399311776","1399311779","1399311781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d9b2b45145034a7f0af11ad16a7cc40.jpg","text":"TemporaryFile(/tmp/multipartBody6462971921387165151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668862634,"filename":"image_14122025_00_33_33_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2967939e2b73dbce85a44b4fb9d23d81.jpg","text":"TemporaryFile(/tmp/multipartBody7444341697156400428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668862634,"filename":"image_14122025_00_33_44_10774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b5ba6052c436ebe49a5ef8bc588594e.jpg","text":"TemporaryFile(/tmp/multipartBody3488017802508339109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668862634,"filename":"image_14122025_00_32_24_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1698fd32938d7252932173594f6fcafb.jpg","text":"TemporaryFile(/tmp/multipartBody2066285951696399636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668862634,"filename":"image_14122025_00_33_24_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311779","file1":"1399311776","file0":"1399311775","file3":"1399311781"},"map_files_photo_id_array":[{"photo_id":"1399311779","filename":"file2"},{"photo_id":"1399311776","filename":"file1"},{"photo_id":"1399311775","filename":"file0"},{"photo_id":"1399311781","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311779":["hashtag1","hashtag2"]},{"1399311781":["hashtag1","hashtag2"]},{"1399311775":["hashtag1","hashtag2"]},{"1399311776":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311779, 1399311781, 1399311775, 1399311776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.88667368888855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:34:03.002418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:34:12.415070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:34:22.462786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/33/image_14122025_00_33_54_9648.jpg', '/home/pi/Desktop/images/14122025/00/33/image_14122025_00_34_03_9588.jpg', '/home/pi/Desktop/images/14122025/00/34/image_14122025_00_34_14_10647.jpg', '/home/pi/Desktop/images/14122025/00/34/image_14122025_00_34_24_9687.jpg', '/home/pi/Desktop/images/14122025/00/34/image_14122025_00_34_33_9737.jpg', '/home/pi/Desktop/images/14122025/00/34/image_14122025_00_34_44_10566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/33/image_14122025_00_33_54_9648.jpg
/home/pi/Desktop/images/14122025/00/33/image_14122025_00_34_03_9588.jpg
/home/pi/Desktop/images/14122025/00/34/image_14122025_00_34_14_10647.jpg
/home/pi/Desktop/images/14122025/00/34/image_14122025_00_34_24_9687.jpg
/home/pi/Desktop/images/14122025/00/34/image_14122025_00_34_33_9737.jpg
/home/pi/Desktop/images/14122025/00/34/image_14122025_00_34_44_10566.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4353156089782715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:34:32.440825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:34:42.388822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_42_1666.jpg', '/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_44_1598.jpg', '/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_46_1719.jpg', '/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_47_1626.jpg', '/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_49_1675.jpg', '/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_50_1504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_42_1666.jpg
/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_44_1598.jpg
/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_46_1719.jpg
/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_47_1626.jpg
/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_49_1675.jpg
/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_50_1504.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399311799","1399311793","1399311796","1399311795","1399311798","1399311797"],"photo_ids_order":["1399311793","1399311795","1399311796","1399311797","1399311798","1399311799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d5a38ae3640dbfc7fd615d491a4dc2b1.jpg","text":"TemporaryFile(/tmp/multipartBody69050107283447963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668943092,"filename":"image_04112025_10_52_50_1504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a63ac2b400cd4f054b4403e16f3465b0.jpg","text":"TemporaryFile(/tmp/multipartBody5971655884548599784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668943092,"filename":"image_04112025_10_52_42_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae24ab3fb5c748a1bd5b09d9435b456c.jpg","text":"TemporaryFile(/tmp/multipartBody221607326281621377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668943092,"filename":"image_04112025_10_52_46_1719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9523a7ca18518ae8ddc508b645321794.jpg","text":"TemporaryFile(/tmp/multipartBody3054519866648958442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668943092,"filename":"image_04112025_10_52_44_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4bf4a759ac0d743d339758aa29e06232.jpg","text":"TemporaryFile(/tmp/multipartBody8572566922447088896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668943092,"filename":"image_04112025_10_52_49_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/26dda1301664371f153b173fd6914f20.jpg","text":"TemporaryFile(/tmp/multipartBody7493206949372459910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668943092,"filename":"image_04112025_10_52_47_1626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311796","file1":"1399311795","file0":"1399311793","file4":"1399311798","file5":"1399311799","file3":"1399311797"},"map_files_photo_id_array":[{"photo_id":"1399311799","filename":"file5"},{"photo_id":"1399311796","filename":"file2"},{"photo_id":"1399311798","filename":"file4"},{"photo_id":"1399311795","filename":"file1"},{"photo_id":"1399311793","filename":"file0"},{"photo_id":"1399311797","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399311799":["hashtag1","hashtag2"]},{"1399311793":["hashtag1","hashtag2"]},{"1399311796":["hashtag1","hashtag2"]},{"1399311795":["hashtag1","hashtag2"]},{"1399311798":["hashtag1","hashtag2"]},{"1399311797":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399311799, 1399311793, 1399311796, 1399311795, 1399311798, 1399311797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74400281906128 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:35:22.646075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/33/image_14122025_00_33_54_9648.jpg', '/home/pi/Desktop/images/14122025/00/33/image_14122025_00_34_03_9588.jpg', '/home/pi/Desktop/images/14122025/00/34/image_14122025_00_34_14_10647.jpg', '/home/pi/Desktop/images/14122025/00/34/image_14122025_00_34_24_9687.jpg', '/home/pi/Desktop/images/14122025/00/34/image_14122025_00_34_33_9737.jpg', '/home/pi/Desktop/images/14122025/00/34/image_14122025_00_34_44_10566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/33/image_14122025_00_33_54_9648.jpg
/home/pi/Desktop/images/14122025/00/33/image_14122025_00_34_03_9588.jpg
/home/pi/Desktop/images/14122025/00/34/image_14122025_00_34_14_10647.jpg
/home/pi/Desktop/images/14122025/00/34/image_14122025_00_34_24_9687.jpg
/home/pi/Desktop/images/14122025/00/34/image_14122025_00_34_33_9737.jpg
/home/pi/Desktop/images/14122025/00/34/image_14122025_00_34_44_10566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399311809","1399311803","1399311811","1399311805","1399311801","1399311807"],"photo_ids_order":["1399311801","1399311803","1399311805","1399311807","1399311809","1399311811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e75eaa02059e780f301a37617800bb7.jpg","text":"TemporaryFile(/tmp/multipartBody6897044551524732800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668983189,"filename":"image_14122025_00_34_33_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f4dfae993c5f642c1c53f1594f89f15.jpg","text":"TemporaryFile(/tmp/multipartBody9173370944036713061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668983189,"filename":"image_14122025_00_34_03_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c46983a2de0fb351dee4f176240a88c.jpg","text":"TemporaryFile(/tmp/multipartBody6964324938869524249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668983189,"filename":"image_14122025_00_34_44_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/340572fe9735d45cbc64ccd76890a12a.jpg","text":"TemporaryFile(/tmp/multipartBody381279368915253961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668983189,"filename":"image_14122025_00_34_14_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/72093f80c145c8a5647beed54bce5ad9.jpg","text":"TemporaryFile(/tmp/multipartBody4827486246204986654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668983189,"filename":"image_14122025_00_33_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3563568e127aa4b49412d37deb5fb810.jpg","text":"TemporaryFile(/tmp/multipartBody6269853618639494014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765668983189,"filename":"image_14122025_00_34_24_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311805","file1":"1399311803","file0":"1399311801","file4":"1399311809","file5":"1399311811","file3":"1399311807"},"map_files_photo_id_array":[{"photo_id":"1399311811","filename":"file5"},{"photo_id":"1399311805","filename":"file2"},{"photo_id":"1399311809","filename":"file4"},{"photo_id":"1399311803","filename":"file1"},{"photo_id":"1399311801","filename":"file0"},{"photo_id":"1399311807","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311809":["hashtag1","hashtag2"]},{"1399311803":["hashtag1","hashtag2"]},{"1399311811":["hashtag1","hashtag2"]},{"1399311805":["hashtag1","hashtag2"]},{"1399311801":["hashtag1","hashtag2"]},{"1399311807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311809, 1399311803, 1399311811, 1399311805, 1399311801, 1399311807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.781538248062134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:36:02.220484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/34/image_14122025_00_34_54_9712.jpg', '/home/pi/Desktop/images/14122025/00/34/image_14122025_00_35_03_9689.jpg', '/home/pi/Desktop/images/14122025/00/35/image_14122025_00_35_24_9622.jpg', '/home/pi/Desktop/images/14122025/00/35/image_14122025_00_35_34_9808.jpg', '/home/pi/Desktop/images/14122025/00/35/image_14122025_00_35_43_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/34/image_14122025_00_34_54_9712.jpg
/home/pi/Desktop/images/14122025/00/34/image_14122025_00_35_03_9689.jpg
/home/pi/Desktop/images/14122025/00/35/image_14122025_00_35_24_9622.jpg
/home/pi/Desktop/images/14122025/00/35/image_14122025_00_35_34_9808.jpg
/home/pi/Desktop/images/14122025/00/35/image_14122025_00_35_43_9741.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.41975855827331543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:36:11.808884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:36:21.802101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/34/image_14122025_00_34_54_9712.jpg', '/home/pi/Desktop/images/14122025/00/34/image_14122025_00_35_03_9689.jpg', '/home/pi/Desktop/images/14122025/00/35/image_14122025_00_35_24_9622.jpg', '/home/pi/Desktop/images/14122025/00/35/image_14122025_00_35_34_9808.jpg', '/home/pi/Desktop/images/14122025/00/35/image_14122025_00_35_43_9741.jpg', '/home/pi/Desktop/images/14122025/00/35/image_14122025_00_35_54_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/34/image_14122025_00_34_54_9712.jpg
/home/pi/Desktop/images/14122025/00/34/image_14122025_00_35_03_9689.jpg
/home/pi/Desktop/images/14122025/00/35/image_14122025_00_35_24_9622.jpg
/home/pi/Desktop/images/14122025/00/35/image_14122025_00_35_34_9808.jpg
/home/pi/Desktop/images/14122025/00/35/image_14122025_00_35_43_9741.jpg
/home/pi/Desktop/images/14122025/00/35/image_14122025_00_35_54_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399311821","1399311823","1399311826","1399311816","1399311825","1399311819"],"photo_ids_order":["1399311816","1399311819","1399311821","1399311823","1399311825","1399311826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a2c1f86e051d114222c365381c309795.jpg","text":"TemporaryFile(/tmp/multipartBody6955105491898453287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669042340,"filename":"image_14122025_00_35_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/436d2cc5489d6bb55322679fd99633b2.jpg","text":"TemporaryFile(/tmp/multipartBody1629972139844620676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669042340,"filename":"image_14122025_00_35_34_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c86f60cab0dfe00c26b858754c83afbf.jpg","text":"TemporaryFile(/tmp/multipartBody6618594573943310988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669042340,"filename":"image_14122025_00_35_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/12/14/c548986ab3599a6966dc6a5d5c11e44c.jpg","text":"TemporaryFile(/tmp/multipartBody6717155161049624084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669042340,"filename":"image_14122025_00_34_54_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1ab42daba5fa7a14b7a7f7b55ebf360.jpg","text":"TemporaryFile(/tmp/multipartBody4141673206776283512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669042340,"filename":"image_14122025_00_35_43_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1b5dec6e08e82f5203116ad45453c70.jpg","text":"TemporaryFile(/tmp/multipartBody8754523932059667013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669042340,"filename":"image_14122025_00_35_03_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311821","file1":"1399311819","file0":"1399311816","file4":"1399311825","file5":"1399311826","file3":"1399311823"},"map_files_photo_id_array":[{"photo_id":"1399311826","filename":"file5"},{"photo_id":"1399311821","filename":"file2"},{"photo_id":"1399311825","filename":"file4"},{"photo_id":"1399311819","filename":"file1"},{"photo_id":"1399311816","filename":"file0"},{"photo_id":"1399311823","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311821":["hashtag1","hashtag2"]},{"1399311823":["hashtag1","hashtag2"]},{"1399311826":["hashtag1","hashtag2"]},{"1399311816":["hashtag1","hashtag2"]},{"1399311825":["hashtag1","hashtag2"]},{"1399311819":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311821, 1399311823, 1399311826, 1399311816, 1399311825, 1399311819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.881030321121216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:37:02.715107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/35/image_14122025_00_36_04_9588.jpg', '/home/pi/Desktop/images/14122025/00/36/image_14122025_00_36_13_9860.jpg', '/home/pi/Desktop/images/14122025/00/36/image_14122025_00_36_43_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/35/image_14122025_00_36_04_9588.jpg
/home/pi/Desktop/images/14122025/00/36/image_14122025_00_36_13_9860.jpg
/home/pi/Desktop/images/14122025/00/36/image_14122025_00_36_43_9558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399311827","1399311829","1399311828"],"photo_ids_order":["1399311827","1399311828","1399311829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d8f1b61f531421f31513fc6ba0b2e397.jpg","text":"TemporaryFile(/tmp/multipartBody8844016452925190575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669083210,"filename":"image_14122025_00_36_04_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/03516c53d7ea406d246cfef3a401a56b.jpg","text":"TemporaryFile(/tmp/multipartBody1347574035086780396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669083210,"filename":"image_14122025_00_36_43_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14fdc6ba7689bf99076287911fb564a8.jpg","text":"TemporaryFile(/tmp/multipartBody2576338584765118086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669083210,"filename":"image_14122025_00_36_13_9860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311829","file1":"1399311828","file0":"1399311827"},"map_files_photo_id_array":[{"photo_id":"1399311829","filename":"file2"},{"photo_id":"1399311828","filename":"file1"},{"photo_id":"1399311827","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311827":["hashtag1","hashtag2"]},{"1399311829":["hashtag1","hashtag2"]},{"1399311828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311827, 1399311829, 1399311828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.127729177474976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:37:32.090010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:37:42.100994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_52_1726.jpg', '/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_54_1743.jpg', '/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_55_1555.jpg', '/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_57_1715.jpg', '/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_59_1814.jpg', '/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_01_1618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_52_1726.jpg
/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_54_1743.jpg
/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_55_1555.jpg
/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_57_1715.jpg
/home/pi/Desktop/images/04112025/10/52/image_04112025_10_52_59_1814.jpg
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_01_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":["1399311839","1399311841","1399311835","1399311838","1399311840","1399311837"],"photo_ids_order":["1399311835","1399311837","1399311838","1399311839","1399311840","1399311841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/212d99fb0d4a270b7dcdecbddbc4d3de.jpg","text":"TemporaryFile(/tmp/multipartBody2384603338496666489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669122824,"filename":"image_04112025_10_52_57_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb7b515aef05fe22b372615c08dc221a.jpg","text":"TemporaryFile(/tmp/multipartBody2654073037998997523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669122824,"filename":"image_04112025_10_53_01_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd6a3474981367569504c4bac3c5a5d6.jpg","text":"TemporaryFile(/tmp/multipartBody5759011521901808773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669122824,"filename":"image_04112025_10_52_52_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c6f6aa7d95964efb725326939f4310c.jpg","text":"TemporaryFile(/tmp/multipartBody4617021297790250133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669122824,"filename":"image_04112025_10_52_55_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8e6b6908f0121c880535a6b36c691290.jpg","text":"TemporaryFile(/tmp/multipartBody2380684888748867197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669122824,"filename":"image_04112025_10_52_59_1814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf77f542b1bbd73a34ac7d9de2b6be9d.jpg","text":"TemporaryFile(/tmp/multipartBody1184778042094896044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669122824,"filename":"image_04112025_10_52_54_1743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311838","file1":"1399311837","file0":"1399311835","file4":"1399311840","file5":"1399311841","file3":"1399311839"},"map_files_photo_id_array":[{"photo_id":"1399311841","filename":"file5"},{"photo_id":"1399311838","filename":"file2"},{"photo_id":"1399311840","filename":"file4"},{"photo_id":"1399311837","filename":"file1"},{"photo_id":"1399311835","filename":"file0"},{"photo_id":"1399311839","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399311839":["hashtag1","hashtag2"]},{"1399311841":["hashtag1","hashtag2"]},{"1399311835":["hashtag1","hashtag2"]},{"1399311838":["hashtag1","hashtag2"]},{"1399311840":["hashtag1","hashtag2"]},{"1399311837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399311839, 1399311841, 1399311835, 1399311838, 1399311840, 1399311837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.294368505477905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:38:22.339305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/36/image_14122025_00_36_54_10669.jpg', '/home/pi/Desktop/images/14122025/00/36/image_14122025_00_37_04_9610.jpg', '/home/pi/Desktop/images/14122025/00/37/image_14122025_00_37_24_10796.jpg', '/home/pi/Desktop/images/14122025/00/37/image_14122025_00_37_34_9715.jpg', '/home/pi/Desktop/images/14122025/00/37/image_14122025_00_37_43_9539.jpg', '/home/pi/Desktop/images/14122025/00/37/image_14122025_00_37_54_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/36/image_14122025_00_36_54_10669.jpg
/home/pi/Desktop/images/14122025/00/36/image_14122025_00_37_04_9610.jpg
/home/pi/Desktop/images/14122025/00/37/image_14122025_00_37_24_10796.jpg
/home/pi/Desktop/images/14122025/00/37/image_14122025_00_37_34_9715.jpg
/home/pi/Desktop/images/14122025/00/37/image_14122025_00_37_43_9539.jpg
/home/pi/Desktop/images/14122025/00/37/image_14122025_00_37_54_10638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399311842","1399311845","1399311847","1399311852","1399311849","1399311843"],"photo_ids_order":["1399311842","1399311843","1399311845","1399311847","1399311849","1399311852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3022c048ff09fa2326397c6ed4bc0f42.jpg","text":"TemporaryFile(/tmp/multipartBody5013534122263715939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669162901,"filename":"image_14122025_00_36_54_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/448c952d304b8882200c5e728bfab604.jpg","text":"TemporaryFile(/tmp/multipartBody2963971771462178015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669162901,"filename":"image_14122025_00_37_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/12/14/c0c8524ea095f3696a94f7cb4733fb56.jpg","text":"TemporaryFile(/tmp/multipartBody6871151817925775925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669162901,"filename":"image_14122025_00_37_34_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9030244bda29ebed6e3fd73fe5b9253f.jpg","text":"TemporaryFile(/tmp/multipartBody2820115927113376054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669162901,"filename":"image_14122025_00_37_54_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/66fb78c55ce5df1eec34788f3ae969ef.jpg","text":"TemporaryFile(/tmp/multipartBody7706980283425949206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669162901,"filename":"image_14122025_00_37_43_9539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/33d7a8d5ec208fca46aae6c6040e7c93.jpg","text":"TemporaryFile(/tmp/multipartBody7492311690733208953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669162901,"filename":"image_14122025_00_37_04_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311845","file1":"1399311843","file0":"1399311842","file4":"1399311849","file5":"1399311852","file3":"1399311847"},"map_files_photo_id_array":[{"photo_id":"1399311852","filename":"file5"},{"photo_id":"1399311845","filename":"file2"},{"photo_id":"1399311849","filename":"file4"},{"photo_id":"1399311843","filename":"file1"},{"photo_id":"1399311842","filename":"file0"},{"photo_id":"1399311847","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311842":["hashtag1","hashtag2"]},{"1399311845":["hashtag1","hashtag2"]},{"1399311847":["hashtag1","hashtag2"]},{"1399311852":["hashtag1","hashtag2"]},{"1399311849":["hashtag1","hashtag2"]},{"1399311843":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311842, 1399311845, 1399311847, 1399311852, 1399311849, 1399311843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02142357826233 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:39:03.521232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/37/image_14122025_00_38_04_9648.jpg', '/home/pi/Desktop/images/14122025/00/38/image_14122025_00_38_14_10577.jpg', '/home/pi/Desktop/images/14122025/00/38/image_14122025_00_38_24_9741.jpg', '/home/pi/Desktop/images/14122025/00/38/image_14122025_00_38_33_9296.jpg', '/home/pi/Desktop/images/14122025/00/38/image_14122025_00_38_44_10541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/37/image_14122025_00_38_04_9648.jpg
/home/pi/Desktop/images/14122025/00/38/image_14122025_00_38_14_10577.jpg
/home/pi/Desktop/images/14122025/00/38/image_14122025_00_38_24_9741.jpg
/home/pi/Desktop/images/14122025/00/38/image_14122025_00_38_33_9296.jpg
/home/pi/Desktop/images/14122025/00/38/image_14122025_00_38_44_10541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399311863","1399311862","1399311858","1399311861","1399311860"],"photo_ids_order":["1399311858","1399311860","1399311861","1399311862","1399311863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8112a5eff0b9591a0dda42dce5673f5e.jpg","text":"TemporaryFile(/tmp/multipartBody3646252699734052145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669204174,"filename":"image_14122025_00_38_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/12/14/0e5d7cdca698ed11cde9e819492b6c51.jpg","text":"TemporaryFile(/tmp/multipartBody1093733928209619618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669204174,"filename":"image_14122025_00_38_33_9296.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ed4b9a2e1d440e5b36e57dc6afcc9b1.jpg","text":"TemporaryFile(/tmp/multipartBody4531940574949749757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669204174,"filename":"image_14122025_00_38_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0179ef2bcc0247757b2bb9fab06ee23a.jpg","text":"TemporaryFile(/tmp/multipartBody4744093751650962368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669204174,"filename":"image_14122025_00_38_24_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9756152ece6751febf283a11a5a5ddb3.jpg","text":"TemporaryFile(/tmp/multipartBody3391252444053209455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669204174,"filename":"image_14122025_00_38_14_10577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311861","file1":"1399311860","file0":"1399311858","file4":"1399311863","file3":"1399311862"},"map_files_photo_id_array":[{"photo_id":"1399311861","filename":"file2"},{"photo_id":"1399311863","filename":"file4"},{"photo_id":"1399311860","filename":"file1"},{"photo_id":"1399311858","filename":"file0"},{"photo_id":"1399311862","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311863":["hashtag1","hashtag2"]},{"1399311862":["hashtag1","hashtag2"]},{"1399311858":["hashtag1","hashtag2"]},{"1399311861":["hashtag1","hashtag2"]},{"1399311860":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311863, 1399311862, 1399311858, 1399311861, 1399311860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.01020312309265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:39:42.545798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_02_1635.jpg', '/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_04_1716.jpg', '/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_06_1864.jpg', '/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_08_1753.jpg', '/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_09_1573.jpg', '/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_11_1776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_02_1635.jpg
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_04_1716.jpg
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_06_1864.jpg
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_08_1753.jpg
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_09_1573.jpg
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_11_1776.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6058013439178467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:40:03.199452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/38/image_14122025_00_38_54_9806.jpg', '/home/pi/Desktop/images/14122025/00/38/image_14122025_00_39_03_9724.jpg', '/home/pi/Desktop/images/14122025/00/39/image_14122025_00_39_14_10621.jpg', '/home/pi/Desktop/images/14122025/00/39/image_14122025_00_39_24_9648.jpg', '/home/pi/Desktop/images/14122025/00/39/image_14122025_00_39_34_10563.jpg', '/home/pi/Desktop/images/14122025/00/39/image_14122025_00_39_44_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/38/image_14122025_00_38_54_9806.jpg
/home/pi/Desktop/images/14122025/00/38/image_14122025_00_39_03_9724.jpg
/home/pi/Desktop/images/14122025/00/39/image_14122025_00_39_14_10621.jpg
/home/pi/Desktop/images/14122025/00/39/image_14122025_00_39_24_9648.jpg
/home/pi/Desktop/images/14122025/00/39/image_14122025_00_39_34_10563.jpg
/home/pi/Desktop/images/14122025/00/39/image_14122025_00_39_44_9607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399311878","1399311874","1399311877","1399311876","1399311879","1399311881"],"photo_ids_order":["1399311874","1399311876","1399311877","1399311878","1399311879","1399311881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae34250430335f918fe578e9d3823107.jpg","text":"TemporaryFile(/tmp/multipartBody3748966558764739151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669263746,"filename":"image_14122025_00_39_24_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c54d9025f9d4002712d79634019afe1.jpg","text":"TemporaryFile(/tmp/multipartBody99470357844239241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669263746,"filename":"image_14122025_00_38_54_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/535c6a57848079c61771aa50a572ddd8.jpg","text":"TemporaryFile(/tmp/multipartBody4826502538162703399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669263746,"filename":"image_14122025_00_39_14_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ff452c8e9522c9889aae1955da902b48.jpg","text":"TemporaryFile(/tmp/multipartBody1491284149969268609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669263746,"filename":"image_14122025_00_39_03_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/32c89178dd8a65bf2e18a87bcb9c1915.jpg","text":"TemporaryFile(/tmp/multipartBody1348767597096006395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669263746,"filename":"image_14122025_00_39_34_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4158fffc2539c4ac668286fb77cb8ac2.jpg","text":"TemporaryFile(/tmp/multipartBody1986115813514905140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669263746,"filename":"image_14122025_00_39_44_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311877","file1":"1399311876","file0":"1399311874","file4":"1399311879","file5":"1399311881","file3":"1399311878"},"map_files_photo_id_array":[{"photo_id":"1399311881","filename":"file5"},{"photo_id":"1399311877","filename":"file2"},{"photo_id":"1399311879","filename":"file4"},{"photo_id":"1399311876","filename":"file1"},{"photo_id":"1399311874","filename":"file0"},{"photo_id":"1399311878","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311878":["hashtag1","hashtag2"]},{"1399311874":["hashtag1","hashtag2"]},{"1399311877":["hashtag1","hashtag2"]},{"1399311876":["hashtag1","hashtag2"]},{"1399311879":["hashtag1","hashtag2"]},{"1399311881":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311878, 1399311874, 1399311877, 1399311876, 1399311879, 1399311881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.520344257354736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:40:42.848353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_02_1635.jpg', '/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_04_1716.jpg', '/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_06_1864.jpg', '/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_08_1753.jpg', '/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_09_1573.jpg', '/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_11_1776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_02_1635.jpg
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_04_1716.jpg
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_06_1864.jpg
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_08_1753.jpg
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_09_1573.jpg
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_11_1776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399311890","1399311886","1399311889","1399311891","1399311888","1399311887"],"photo_ids_order":["1399311886","1399311887","1399311888","1399311889","1399311890","1399311891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/98368b4e6ec40399067006c5540fc378.jpg","text":"TemporaryFile(/tmp/multipartBody5940932999388917249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669303436,"filename":"image_04112025_10_53_09_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3ae32b74cde3a1853305d46806be241.jpg","text":"TemporaryFile(/tmp/multipartBody6735570207038781028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669303436,"filename":"image_04112025_10_53_02_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ea87e2026f139282cbb37fa304dab34e.jpg","text":"TemporaryFile(/tmp/multipartBody3406908754280895943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669303436,"filename":"image_04112025_10_53_08_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e762486d377b024d8b5a0fe887b9c8aa.jpg","text":"TemporaryFile(/tmp/multipartBody2431711138037464034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669303436,"filename":"image_04112025_10_53_11_1776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f6f01ba3c502c0ed6796224b02444ce7.jpg","text":"TemporaryFile(/tmp/multipartBody7519026173038084239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669303436,"filename":"image_04112025_10_53_06_1864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f30aad73a6d82e4cfcedc57a0feb8708.jpg","text":"TemporaryFile(/tmp/multipartBody2425463462296159721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669303436,"filename":"image_04112025_10_53_04_1716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311888","file1":"1399311887","file0":"1399311886","file4":"1399311890","file5":"1399311891","file3":"1399311889"},"map_files_photo_id_array":[{"photo_id":"1399311891","filename":"file5"},{"photo_id":"1399311888","filename":"file2"},{"photo_id":"1399311890","filename":"file4"},{"photo_id":"1399311887","filename":"file1"},{"photo_id":"1399311886","filename":"file0"},{"photo_id":"1399311889","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399311890":["hashtag1","hashtag2"]},{"1399311886":["hashtag1","hashtag2"]},{"1399311889":["hashtag1","hashtag2"]},{"1399311891":["hashtag1","hashtag2"]},{"1399311888":["hashtag1","hashtag2"]},{"1399311887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399311890, 1399311886, 1399311889, 1399311891, 1399311888, 1399311887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6927375793457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:41:22.127079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/39/image_14122025_00_39_54_9767.jpg', '/home/pi/Desktop/images/14122025/00/40/image_14122025_00_40_33_9736.jpg', '/home/pi/Desktop/images/14122025/00/40/image_14122025_00_40_44_10864.jpg', '/home/pi/Desktop/images/14122025/00/40/image_14122025_00_41_03_9591.jpg', '/home/pi/Desktop/images/14122025/00/41/image_14122025_00_41_14_10610.jpg', '/home/pi/Desktop/images/14122025/00/41/image_14122025_00_41_44_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/39/image_14122025_00_39_54_9767.jpg
/home/pi/Desktop/images/14122025/00/40/image_14122025_00_40_33_9736.jpg
/home/pi/Desktop/images/14122025/00/40/image_14122025_00_40_44_10864.jpg
/home/pi/Desktop/images/14122025/00/40/image_14122025_00_41_03_9591.jpg
/home/pi/Desktop/images/14122025/00/41/image_14122025_00_41_14_10610.jpg
/home/pi/Desktop/images/14122025/00/41/image_14122025_00_41_44_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399311899","1399311902","1399311895","1399311900","1399311893","1399311896"],"photo_ids_order":["1399311893","1399311895","1399311896","1399311899","1399311900","1399311902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e5be64b20f021112cc13648de718bbc2.jpg","text":"TemporaryFile(/tmp/multipartBody9093607596234071001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669342685,"filename":"image_14122025_00_41_03_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c92a764de14eae04b9a06d659bfd3bd0.jpg","text":"TemporaryFile(/tmp/multipartBody4438278481565222356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669342685,"filename":"image_14122025_00_41_44_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/885c6575c8769ea21685cc95518930f6.jpg","text":"TemporaryFile(/tmp/multipartBody1030765234941198610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669342685,"filename":"image_14122025_00_40_33_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bbb0f52a8619e95320e0078e634231d9.jpg","text":"TemporaryFile(/tmp/multipartBody8454689476963983511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669342685,"filename":"image_14122025_00_41_14_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/043d23b39bcedf4bf508f73b76e7effa.jpg","text":"TemporaryFile(/tmp/multipartBody8022786934007074631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669342685,"filename":"image_14122025_00_39_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/12/14/a975e3ae2ec624bde1243969c7e48122.jpg","text":"TemporaryFile(/tmp/multipartBody7022745289942855979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669342685,"filename":"image_14122025_00_40_44_10864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311896","file1":"1399311895","file0":"1399311893","file4":"1399311900","file5":"1399311902","file3":"1399311899"},"map_files_photo_id_array":[{"photo_id":"1399311902","filename":"file5"},{"photo_id":"1399311896","filename":"file2"},{"photo_id":"1399311900","filename":"file4"},{"photo_id":"1399311895","filename":"file1"},{"photo_id":"1399311893","filename":"file0"},{"photo_id":"1399311899","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311899":["hashtag1","hashtag2"]},{"1399311902":["hashtag1","hashtag2"]},{"1399311895":["hashtag1","hashtag2"]},{"1399311900":["hashtag1","hashtag2"]},{"1399311893":["hashtag1","hashtag2"]},{"1399311896":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311899, 1399311902, 1399311895, 1399311900, 1399311893, 1399311896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37162494659424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:42:02.752919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:42:12.348419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:42:22.490518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/41/image_14122025_00_41_53_9613.jpg', '/home/pi/Desktop/images/14122025/00/41/image_14122025_00_42_04_10563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/41/image_14122025_00_41_53_9613.jpg
/home/pi/Desktop/images/14122025/00/41/image_14122025_00_42_04_10563.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.32866859436035156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:42:32.421507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:42:42.432044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_13_1689.jpg', '/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_16_3712.jpg', '/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_19_2629.jpg', '/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_22_2708.jpg', '/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_25_3700.jpg', '/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_28_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_13_1689.jpg
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_16_3712.jpg
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_19_2629.jpg
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_22_2708.jpg
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_25_3700.jpg
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_28_2662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399311911","1399311914","1399311910","1399311913","1399311912","1399311915"],"photo_ids_order":["1399311910","1399311911","1399311912","1399311913","1399311914","1399311915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2427d6e03e09aa13de38d3a4cc38f2ea.jpg","text":"TemporaryFile(/tmp/multipartBody6546487949126459348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669423178,"filename":"image_04112025_10_53_16_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3de1406c7de18ef34420d8a8bc96e60a.jpg","text":"TemporaryFile(/tmp/multipartBody3085551133770460278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669423178,"filename":"image_04112025_10_53_25_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b3dd61517aa77e8991c912d1e19109a7.jpg","text":"TemporaryFile(/tmp/multipartBody90854585687440482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669423178,"filename":"image_04112025_10_53_13_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb764eb5cf35e4e89642f805261d1eb2.jpg","text":"TemporaryFile(/tmp/multipartBody8220035873701303131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669423178,"filename":"image_04112025_10_53_22_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94f6ace25f22cec57f3b91f97b2f8bb8.jpg","text":"TemporaryFile(/tmp/multipartBody1402677369083506049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669423178,"filename":"image_04112025_10_53_19_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/111431d69c2e1e11d5d367f719d92aa4.jpg","text":"TemporaryFile(/tmp/multipartBody413363550064111119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669423178,"filename":"image_04112025_10_53_28_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311912","file1":"1399311911","file0":"1399311910","file4":"1399311914","file5":"1399311915","file3":"1399311913"},"map_files_photo_id_array":[{"photo_id":"1399311915","filename":"file5"},{"photo_id":"1399311912","filename":"file2"},{"photo_id":"1399311914","filename":"file4"},{"photo_id":"1399311911","filename":"file1"},{"photo_id":"1399311910","filename":"file0"},{"photo_id":"1399311913","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399311911":["hashtag1","hashtag2"]},{"1399311914":["hashtag1","hashtag2"]},{"1399311910":["hashtag1","hashtag2"]},{"1399311913":["hashtag1","hashtag2"]},{"1399311912":["hashtag1","hashtag2"]},{"1399311915":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399311911, 1399311914, 1399311910, 1399311913, 1399311912, 1399311915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.202871322631836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:43:22.695307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/41/image_14122025_00_41_53_9613.jpg', '/home/pi/Desktop/images/14122025/00/41/image_14122025_00_42_04_10563.jpg', '/home/pi/Desktop/images/14122025/00/42/image_14122025_00_42_23_9745.jpg', '/home/pi/Desktop/images/14122025/00/42/image_14122025_00_43_04_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/41/image_14122025_00_41_53_9613.jpg
/home/pi/Desktop/images/14122025/00/41/image_14122025_00_42_04_10563.jpg
/home/pi/Desktop/images/14122025/00/42/image_14122025_00_42_23_9745.jpg
/home/pi/Desktop/images/14122025/00/42/image_14122025_00_43_04_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":["1399311923","1399311920","1399311917","1399311919"],"photo_ids_order":["1399311917","1399311919","1399311920","1399311923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/488241a4dc0cdd788916213c906c2cc3.jpg","text":"TemporaryFile(/tmp/multipartBody5771700134687531617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669463184,"filename":"image_14122025_00_43_04_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c59cd6cdcef980895b9a01a474bcb31b.jpg","text":"TemporaryFile(/tmp/multipartBody8769702164493472420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669463184,"filename":"image_14122025_00_42_23_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/991e7dffe3da0da1c86d330d7ea487cb.jpg","text":"TemporaryFile(/tmp/multipartBody3396152544011296136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669463184,"filename":"image_14122025_00_41_53_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9b147204ada1bcb4cc286bf6a59f4df7.jpg","text":"TemporaryFile(/tmp/multipartBody2644047336195003719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669463184,"filename":"image_14122025_00_42_04_10563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311920","file1":"1399311919","file0":"1399311917","file3":"1399311923"},"map_files_photo_id_array":[{"photo_id":"1399311920","filename":"file2"},{"photo_id":"1399311919","filename":"file1"},{"photo_id":"1399311917","filename":"file0"},{"photo_id":"1399311923","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311923":["hashtag1","hashtag2"]},{"1399311920":["hashtag1","hashtag2"]},{"1399311917":["hashtag1","hashtag2"]},{"1399311919":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311923, 1399311920, 1399311917, 1399311919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.449443340301514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:44:02.663764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:44:11.825618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:44:21.863211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/43/image_14122025_00_43_44_9727.jpg', '/home/pi/Desktop/images/14122025/00/43/image_14122025_00_44_04_10694.jpg', '/home/pi/Desktop/images/14122025/00/44/image_14122025_00_44_14_9571.jpg', '/home/pi/Desktop/images/14122025/00/44/image_14122025_00_44_24_10658.jpg', '/home/pi/Desktop/images/14122025/00/44/image_14122025_00_44_44_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/43/image_14122025_00_43_44_9727.jpg
/home/pi/Desktop/images/14122025/00/43/image_14122025_00_44_04_10694.jpg
/home/pi/Desktop/images/14122025/00/44/image_14122025_00_44_14_9571.jpg
/home/pi/Desktop/images/14122025/00/44/image_14122025_00_44_24_10658.jpg
/home/pi/Desktop/images/14122025/00/44/image_14122025_00_44_44_9699.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.41349315643310547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:44:31.853361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:44:41.797936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_34_5908.jpg', '/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_52_17594.jpg', '/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_53_1644.jpg', '/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_57_4122.jpg', '/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_59_1722.jpg', '/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_01_1489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_34_5908.jpg
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_52_17594.jpg
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_53_1644.jpg
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_57_4122.jpg
/home/pi/Desktop/images/04112025/10/53/image_04112025_10_53_59_1722.jpg
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_01_1489.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399311941","1399311938","1399311940","1399311937","1399311939","1399311936"],"photo_ids_order":["1399311936","1399311937","1399311938","1399311939","1399311940","1399311941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54de621e9fc473389c0767af3c784e36.jpg","text":"TemporaryFile(/tmp/multipartBody2892163835136941569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669542500,"filename":"image_04112025_10_54_01_1489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3a276ff99848adee645db89668dc637c.jpg","text":"TemporaryFile(/tmp/multipartBody4514498142558332433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669542500,"filename":"image_04112025_10_53_53_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b2325245db501b011a6b2862ab7b13a.jpg","text":"TemporaryFile(/tmp/multipartBody6270414138391486556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669542500,"filename":"image_04112025_10_53_59_1722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4259f7113a6246e4c421abfd20094a6e.jpg","text":"TemporaryFile(/tmp/multipartBody5408174869445353059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669542500,"filename":"image_04112025_10_53_52_17594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9926e45e1aee4990b2957f278061640a.jpg","text":"TemporaryFile(/tmp/multipartBody1510313351402754140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669542500,"filename":"image_04112025_10_53_57_4122.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/53757f68bda6fe1a6581dcb4eceaadde.jpg","text":"TemporaryFile(/tmp/multipartBody1255857057347943333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669542500,"filename":"image_04112025_10_53_34_5908.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311938","file1":"1399311937","file0":"1399311936","file4":"1399311940","file5":"1399311941","file3":"1399311939"},"map_files_photo_id_array":[{"photo_id":"1399311941","filename":"file5"},{"photo_id":"1399311938","filename":"file2"},{"photo_id":"1399311940","filename":"file4"},{"photo_id":"1399311937","filename":"file1"},{"photo_id":"1399311936","filename":"file0"},{"photo_id":"1399311939","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399311941":["hashtag1","hashtag2"]},{"1399311938":["hashtag1","hashtag2"]},{"1399311940":["hashtag1","hashtag2"]},{"1399311937":["hashtag1","hashtag2"]},{"1399311939":["hashtag1","hashtag2"]},{"1399311936":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399311941, 1399311938, 1399311940, 1399311937, 1399311939, 1399311936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61332845687866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:45:22.179114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/43/image_14122025_00_43_44_9727.jpg', '/home/pi/Desktop/images/14122025/00/43/image_14122025_00_44_04_10694.jpg', '/home/pi/Desktop/images/14122025/00/44/image_14122025_00_44_14_9571.jpg', '/home/pi/Desktop/images/14122025/00/44/image_14122025_00_44_24_10658.jpg', '/home/pi/Desktop/images/14122025/00/44/image_14122025_00_44_44_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/43/image_14122025_00_43_44_9727.jpg
/home/pi/Desktop/images/14122025/00/43/image_14122025_00_44_04_10694.jpg
/home/pi/Desktop/images/14122025/00/44/image_14122025_00_44_14_9571.jpg
/home/pi/Desktop/images/14122025/00/44/image_14122025_00_44_24_10658.jpg
/home/pi/Desktop/images/14122025/00/44/image_14122025_00_44_44_9699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399311947","1399311949","1399311943","1399311945","1399311942"],"photo_ids_order":["1399311942","1399311943","1399311945","1399311947","1399311949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3df1d28593b4c506cae09f22ce0fec3.jpg","text":"TemporaryFile(/tmp/multipartBody2428726180917567376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669582714,"filename":"image_14122025_00_44_24_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f81ea22c77e8f53d92d2166c1d0009b.jpg","text":"TemporaryFile(/tmp/multipartBody8561850225663047850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669582714,"filename":"image_14122025_00_44_44_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd19ab2afb43f39c6f37c78474ed7081.jpg","text":"TemporaryFile(/tmp/multipartBody6406091652167329887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669582714,"filename":"image_14122025_00_44_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/12/14/333f93b39b39b961a1ddea216608cd77.jpg","text":"TemporaryFile(/tmp/multipartBody7797536580045806376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669582714,"filename":"image_14122025_00_44_14_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc5a6447246ac44324d6477273e23742.jpg","text":"TemporaryFile(/tmp/multipartBody2089770297500754665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669582714,"filename":"image_14122025_00_43_44_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311945","file1":"1399311943","file0":"1399311942","file4":"1399311949","file3":"1399311947"},"map_files_photo_id_array":[{"photo_id":"1399311945","filename":"file2"},{"photo_id":"1399311949","filename":"file4"},{"photo_id":"1399311943","filename":"file1"},{"photo_id":"1399311942","filename":"file0"},{"photo_id":"1399311947","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311947":["hashtag1","hashtag2"]},{"1399311949":["hashtag1","hashtag2"]},{"1399311943":["hashtag1","hashtag2"]},{"1399311945":["hashtag1","hashtag2"]},{"1399311942":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311947, 1399311949, 1399311943, 1399311945, 1399311942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.341487169265747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:46:02.847497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:46:12.341861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:46:22.375674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/44/image_14122025_00_44_53_9719.jpg', '/home/pi/Desktop/images/14122025/00/45/image_14122025_00_46_03_9593.jpg', '/home/pi/Desktop/images/14122025/00/46/image_14122025_00_46_14_10591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/44/image_14122025_00_44_53_9719.jpg
/home/pi/Desktop/images/14122025/00/45/image_14122025_00_46_03_9593.jpg
/home/pi/Desktop/images/14122025/00/46/image_14122025_00_46_14_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":["1399311962","1399311958","1399311960"],"photo_ids_order":["1399311958","1399311960","1399311962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/53f25d8aa85c6a4fe83c063470004cb2.jpg","text":"TemporaryFile(/tmp/multipartBody3279801247515746240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669642838,"filename":"image_14122025_00_46_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/12/14/dfdd69f28c53a5805898bdd4b2f7b6d0.jpg","text":"TemporaryFile(/tmp/multipartBody7724747894463604412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669642838,"filename":"image_14122025_00_44_53_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c5dfc21bc27d2b1ab148a931ff971d8.jpg","text":"TemporaryFile(/tmp/multipartBody6099221870566160360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669642838,"filename":"image_14122025_00_46_03_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311962","file1":"1399311960","file0":"1399311958"},"map_files_photo_id_array":[{"photo_id":"1399311962","filename":"file2"},{"photo_id":"1399311960","filename":"file1"},{"photo_id":"1399311958","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311962":["hashtag1","hashtag2"]},{"1399311958":["hashtag1","hashtag2"]},{"1399311960":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311962, 1399311958, 1399311960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.723066568374634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:47:03.317625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:47:12.667242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:47:22.710518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/46/image_14122025_00_46_34_10681.jpg', '/home/pi/Desktop/images/14122025/00/47/image_14122025_00_47_14_9600.jpg', '/home/pi/Desktop/images/14122025/00/47/image_14122025_00_47_23_9668.jpg', '/home/pi/Desktop/images/14122025/00/47/image_14122025_00_47_34_10650.jpg', '/home/pi/Desktop/images/14122025/00/47/image_14122025_00_47_44_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/46/image_14122025_00_46_34_10681.jpg
/home/pi/Desktop/images/14122025/00/47/image_14122025_00_47_14_9600.jpg
/home/pi/Desktop/images/14122025/00/47/image_14122025_00_47_23_9668.jpg
/home/pi/Desktop/images/14122025/00/47/image_14122025_00_47_34_10650.jpg
/home/pi/Desktop/images/14122025/00/47/image_14122025_00_47_44_9594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399311972","1399311966","1399311969","1399311974","1399311968"],"photo_ids_order":["1399311966","1399311968","1399311969","1399311972","1399311974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ec04eb7b6d3802d8ac102f98971a729d.jpg","text":"TemporaryFile(/tmp/multipartBody7285334349242628204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669703222,"filename":"image_14122025_00_47_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db79f4fec9e383ef43611d75b11718b7.jpg","text":"TemporaryFile(/tmp/multipartBody6628246302381772361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669703222,"filename":"image_14122025_00_46_34_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19c952ff8d8fd99e23f7140732af901e.jpg","text":"TemporaryFile(/tmp/multipartBody337042603920165955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669703222,"filename":"image_14122025_00_47_23_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef594a21fee40e741a042af79a0c7676.jpg","text":"TemporaryFile(/tmp/multipartBody4883410240041861348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669703222,"filename":"image_14122025_00_47_44_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/45c7a404c33a70cd6749ad98f8ea6509.jpg","text":"TemporaryFile(/tmp/multipartBody5191780228221890298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669703222,"filename":"image_14122025_00_47_14_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311969","file1":"1399311968","file0":"1399311966","file4":"1399311974","file3":"1399311972"},"map_files_photo_id_array":[{"photo_id":"1399311969","filename":"file2"},{"photo_id":"1399311974","filename":"file4"},{"photo_id":"1399311968","filename":"file1"},{"photo_id":"1399311966","filename":"file0"},{"photo_id":"1399311972","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311972":["hashtag1","hashtag2"]},{"1399311966":["hashtag1","hashtag2"]},{"1399311969":["hashtag1","hashtag2"]},{"1399311974":["hashtag1","hashtag2"]},{"1399311968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311972, 1399311966, 1399311969, 1399311974, 1399311968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.936479091644287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:48:02.299580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:48:11.990297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:48:21.992871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/47/image_14122025_00_47_54_10554.jpg', '/home/pi/Desktop/images/14122025/00/47/image_14122025_00_48_04_9672.jpg', '/home/pi/Desktop/images/14122025/00/48/image_14122025_00_48_34_9572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/47/image_14122025_00_47_54_10554.jpg
/home/pi/Desktop/images/14122025/00/47/image_14122025_00_48_04_9672.jpg
/home/pi/Desktop/images/14122025/00/48/image_14122025_00_48_34_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":["1399311977","1399311979","1399311976"],"photo_ids_order":["1399311976","1399311977","1399311979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8aa0ecd31bee6533f18c9827c4ec1cc2.jpg","text":"TemporaryFile(/tmp/multipartBody6310097825974835365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669762455,"filename":"image_14122025_00_48_04_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e25203e5284cbaeaadf3beb6ea031569.jpg","text":"TemporaryFile(/tmp/multipartBody8733069990035397666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669762455,"filename":"image_14122025_00_48_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/12/14/565c9815302e11a9c012e0c27460c915.jpg","text":"TemporaryFile(/tmp/multipartBody4305363243573519243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669762455,"filename":"image_14122025_00_47_54_10554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311979","file1":"1399311977","file0":"1399311976"},"map_files_photo_id_array":[{"photo_id":"1399311979","filename":"file2"},{"photo_id":"1399311977","filename":"file1"},{"photo_id":"1399311976","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311977":["hashtag1","hashtag2"]},{"1399311979":["hashtag1","hashtag2"]},{"1399311976":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311977, 1399311979, 1399311976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.658543586730957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:49:03.306644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:49:12.234386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:49:22.266996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/48/image_14122025_00_48_44_9777.jpg', '/home/pi/Desktop/images/14122025/00/48/image_14122025_00_49_04_10719.jpg', '/home/pi/Desktop/images/14122025/00/49/image_14122025_00_49_14_9667.jpg', '/home/pi/Desktop/images/14122025/00/49/image_14122025_00_49_23_9651.jpg', '/home/pi/Desktop/images/14122025/00/49/image_14122025_00_49_34_10539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/48/image_14122025_00_48_44_9777.jpg
/home/pi/Desktop/images/14122025/00/48/image_14122025_00_49_04_10719.jpg
/home/pi/Desktop/images/14122025/00/49/image_14122025_00_49_14_9667.jpg
/home/pi/Desktop/images/14122025/00/49/image_14122025_00_49_23_9651.jpg
/home/pi/Desktop/images/14122025/00/49/image_14122025_00_49_34_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":["1399311994","1399311996","1399311990","1399311998","1399311992"],"photo_ids_order":["1399311990","1399311992","1399311994","1399311996","1399311998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a9c607344d7b984df36bd0f9c8469799.jpg","text":"TemporaryFile(/tmp/multipartBody2985279497933104655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669822780,"filename":"image_14122025_00_49_14_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/294ec610829c76f515519dc5d01ccf6e.jpg","text":"TemporaryFile(/tmp/multipartBody2975397417408115253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669822780,"filename":"image_14122025_00_49_23_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a06d1689f99060ae08ea797b70e6bab.jpg","text":"TemporaryFile(/tmp/multipartBody6965657433176147627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669822780,"filename":"image_14122025_00_48_44_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6fcd9def6ad0ce481e85c3ec378b3580.jpg","text":"TemporaryFile(/tmp/multipartBody1895212530257954379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669822780,"filename":"image_14122025_00_49_34_10539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0977fdc5fe37321d4f982613023d8208.jpg","text":"TemporaryFile(/tmp/multipartBody1246069142707520839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669822780,"filename":"image_14122025_00_49_04_10719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399311994","file1":"1399311992","file0":"1399311990","file4":"1399311998","file3":"1399311996"},"map_files_photo_id_array":[{"photo_id":"1399311994","filename":"file2"},{"photo_id":"1399311998","filename":"file4"},{"photo_id":"1399311992","filename":"file1"},{"photo_id":"1399311990","filename":"file0"},{"photo_id":"1399311996","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399311994":["hashtag1","hashtag2"]},{"1399311996":["hashtag1","hashtag2"]},{"1399311990":["hashtag1","hashtag2"]},{"1399311998":["hashtag1","hashtag2"]},{"1399311992":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399311994, 1399311996, 1399311990, 1399311998, 1399311992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.661760330200195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:50:02.911102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:50:12.502979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:50:22.526984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/49/image_14122025_00_49_44_9725.jpg', '/home/pi/Desktop/images/14122025/00/49/image_14122025_00_50_04_10706.jpg', '/home/pi/Desktop/images/14122025/00/50/image_14122025_00_50_14_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/49/image_14122025_00_49_44_9725.jpg
/home/pi/Desktop/images/14122025/00/49/image_14122025_00_50_04_10706.jpg
/home/pi/Desktop/images/14122025/00/50/image_14122025_00_50_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":["1399312004","1399312001","1399312002"],"photo_ids_order":["1399312001","1399312002","1399312004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f660fc68f38d27b7ba8b54137fd97b5.jpg","text":"TemporaryFile(/tmp/multipartBody1626717799052573841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669882983,"filename":"image_14122025_00_50_14_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29589758fe404c40973396f500bf3001.jpg","text":"TemporaryFile(/tmp/multipartBody4616836175717754231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669882983,"filename":"image_14122025_00_49_44_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c7b2892315343772d06f19e5ce6c329c.jpg","text":"TemporaryFile(/tmp/multipartBody1200092653003021663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669882983,"filename":"image_14122025_00_50_04_10706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399312004","file1":"1399312002","file0":"1399312001"},"map_files_photo_id_array":[{"photo_id":"1399312004","filename":"file2"},{"photo_id":"1399312002","filename":"file1"},{"photo_id":"1399312001","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399312004":["hashtag1","hashtag2"]},{"1399312001":["hashtag1","hashtag2"]},{"1399312002":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399312004, 1399312001, 1399312002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.828538417816162 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:51:03.464382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:51:12.643182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:51:22.726790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/50/image_14122025_00_50_43_9490.jpg', '/home/pi/Desktop/images/14122025/00/50/image_14122025_00_51_04_9663.jpg', '/home/pi/Desktop/images/14122025/00/51/image_14122025_00_51_13_9580.jpg', '/home/pi/Desktop/images/14122025/00/51/image_14122025_00_51_34_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/50/image_14122025_00_50_43_9490.jpg
/home/pi/Desktop/images/14122025/00/50/image_14122025_00_51_04_9663.jpg
/home/pi/Desktop/images/14122025/00/51/image_14122025_00_51_13_9580.jpg
/home/pi/Desktop/images/14122025/00/51/image_14122025_00_51_34_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":["1399312016","1399312021","1399312018","1399312020"],"photo_ids_order":["1399312016","1399312018","1399312020","1399312021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f9bdefff6eedc7c5059dfe048d42191.jpg","text":"TemporaryFile(/tmp/multipartBody8712766085922160605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669943213,"filename":"image_14122025_00_50_43_9490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ecc30d3da3566504c4cc8224378078e4.jpg","text":"TemporaryFile(/tmp/multipartBody1846486724418601888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669943213,"filename":"image_14122025_00_51_34_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f5bc91407f8c4c2bd1cfc9d9d99cc73c.jpg","text":"TemporaryFile(/tmp/multipartBody4853677291668505889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669943213,"filename":"image_14122025_00_51_04_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/61f7682b30dc204f8a1535650469f379.jpg","text":"TemporaryFile(/tmp/multipartBody940139497392140913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765669943213,"filename":"image_14122025_00_51_13_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399312020","file1":"1399312018","file0":"1399312016","file3":"1399312021"},"map_files_photo_id_array":[{"photo_id":"1399312020","filename":"file2"},{"photo_id":"1399312018","filename":"file1"},{"photo_id":"1399312016","filename":"file0"},{"photo_id":"1399312021","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399312016":["hashtag1","hashtag2"]},{"1399312021":["hashtag1","hashtag2"]},{"1399312018":["hashtag1","hashtag2"]},{"1399312020":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399312016, 1399312021, 1399312018, 1399312020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.64258599281311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:52:02.411528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:52:11.853140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:52:21.890237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/51/image_14122025_00_51_54_10533.jpg', '/home/pi/Desktop/images/14122025/00/52/image_14122025_00_52_24_10685.jpg', '/home/pi/Desktop/images/14122025/00/52/image_14122025_00_52_34_9614.jpg', '/home/pi/Desktop/images/14122025/00/52/image_14122025_00_52_43_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/51/image_14122025_00_51_54_10533.jpg
/home/pi/Desktop/images/14122025/00/52/image_14122025_00_52_24_10685.jpg
/home/pi/Desktop/images/14122025/00/52/image_14122025_00_52_34_9614.jpg
/home/pi/Desktop/images/14122025/00/52/image_14122025_00_52_43_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":["1399312025","1399312028","1399312030","1399312026"],"photo_ids_order":["1399312025","1399312026","1399312028","1399312030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/178bb4f71313b8908593b3ddb4c07af8.jpg","text":"TemporaryFile(/tmp/multipartBody6025290664711218084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670002379,"filename":"image_14122025_00_51_54_10533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0a4369ff7cad008a8572eea6ca07090a.jpg","text":"TemporaryFile(/tmp/multipartBody8862218173603326475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670002379,"filename":"image_14122025_00_52_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/560015c4706f1ae1ca1a066cfd1f9f74.jpg","text":"TemporaryFile(/tmp/multipartBody5605824539183470636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670002379,"filename":"image_14122025_00_52_43_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0317e1d7d74c2faa37e1a8bb352efe2e.jpg","text":"TemporaryFile(/tmp/multipartBody1767905366388326733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670002379,"filename":"image_14122025_00_52_24_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399312028","file1":"1399312026","file0":"1399312025","file3":"1399312030"},"map_files_photo_id_array":[{"photo_id":"1399312028","filename":"file2"},{"photo_id":"1399312026","filename":"file1"},{"photo_id":"1399312025","filename":"file0"},{"photo_id":"1399312030","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399312025":["hashtag1","hashtag2"]},{"1399312028":["hashtag1","hashtag2"]},{"1399312030":["hashtag1","hashtag2"]},{"1399312026":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399312025, 1399312028, 1399312030, 1399312026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.757586002349854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:53:02.879487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:53:12.090164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:53:22.157862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/52/image_14122025_00_52_54_10562.jpg', '/home/pi/Desktop/images/14122025/00/52/image_14122025_00_53_04_9727.jpg', '/home/pi/Desktop/images/14122025/00/53/image_14122025_00_53_14_9767.jpg', '/home/pi/Desktop/images/14122025/00/53/image_14122025_00_53_24_10545.jpg', '/home/pi/Desktop/images/14122025/00/53/image_14122025_00_53_44_10529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/52/image_14122025_00_52_54_10562.jpg
/home/pi/Desktop/images/14122025/00/52/image_14122025_00_53_04_9727.jpg
/home/pi/Desktop/images/14122025/00/53/image_14122025_00_53_14_9767.jpg
/home/pi/Desktop/images/14122025/00/53/image_14122025_00_53_24_10545.jpg
/home/pi/Desktop/images/14122025/00/53/image_14122025_00_53_44_10529.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4359281063079834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:53:32.167768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:53:42.124207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_02_1519.jpg', '/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_05_2870.jpg', '/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_06_1575.jpg', '/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_08_1652.jpg', '/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_10_1651.jpg', '/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_11_1517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_02_1519.jpg
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_05_2870.jpg
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_06_1575.jpg
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_08_1652.jpg
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_10_1651.jpg
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_11_1517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399312052","1399312051","1399312045","1399312048","1399312050","1399312049"],"photo_ids_order":["1399312045","1399312048","1399312049","1399312050","1399312051","1399312052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3203a2d7a2d6dd4e66a1b906179d472d.jpg","text":"TemporaryFile(/tmp/multipartBody5469062645612803301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670082823,"filename":"image_04112025_10_54_11_1517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c0e2b22bef6935a73340fc7b54c9950f.jpg","text":"TemporaryFile(/tmp/multipartBody3768348700839925717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670082823,"filename":"image_04112025_10_54_10_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e6d0ed26c4bf11c5adef4e6481f177c6.jpg","text":"TemporaryFile(/tmp/multipartBody916301639644095655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670082823,"filename":"image_04112025_10_54_02_1519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5dcfb710a3aa9c368d04f9a5944c6ce3.jpg","text":"TemporaryFile(/tmp/multipartBody6629888442860128829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670082823,"filename":"image_04112025_10_54_05_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/654c768b2761483aa994d562407b86ff.jpg","text":"TemporaryFile(/tmp/multipartBody315912589347246400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670082823,"filename":"image_04112025_10_54_08_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e655e83e9053b93c0550b75e7d572882.jpg","text":"TemporaryFile(/tmp/multipartBody6429688229115015651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670082823,"filename":"image_04112025_10_54_06_1575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399312049","file1":"1399312048","file0":"1399312045","file4":"1399312051","file5":"1399312052","file3":"1399312050"},"map_files_photo_id_array":[{"photo_id":"1399312052","filename":"file5"},{"photo_id":"1399312049","filename":"file2"},{"photo_id":"1399312051","filename":"file4"},{"photo_id":"1399312048","filename":"file1"},{"photo_id":"1399312045","filename":"file0"},{"photo_id":"1399312050","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399312052":["hashtag1","hashtag2"]},{"1399312051":["hashtag1","hashtag2"]},{"1399312045":["hashtag1","hashtag2"]},{"1399312048":["hashtag1","hashtag2"]},{"1399312050":["hashtag1","hashtag2"]},{"1399312049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399312052, 1399312051, 1399312045, 1399312048, 1399312050, 1399312049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50241446495056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:54:22.391221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/52/image_14122025_00_52_54_10562.jpg', '/home/pi/Desktop/images/14122025/00/52/image_14122025_00_53_04_9727.jpg', '/home/pi/Desktop/images/14122025/00/53/image_14122025_00_53_14_9767.jpg', '/home/pi/Desktop/images/14122025/00/53/image_14122025_00_53_24_10545.jpg', '/home/pi/Desktop/images/14122025/00/53/image_14122025_00_53_44_10529.jpg', '/home/pi/Desktop/images/14122025/00/53/image_14122025_00_53_54_9549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/52/image_14122025_00_52_54_10562.jpg
/home/pi/Desktop/images/14122025/00/52/image_14122025_00_53_04_9727.jpg
/home/pi/Desktop/images/14122025/00/53/image_14122025_00_53_14_9767.jpg
/home/pi/Desktop/images/14122025/00/53/image_14122025_00_53_24_10545.jpg
/home/pi/Desktop/images/14122025/00/53/image_14122025_00_53_44_10529.jpg
/home/pi/Desktop/images/14122025/00/53/image_14122025_00_53_54_9549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399312060","1399312062","1399312056","1399312053","1399312064","1399312058"],"photo_ids_order":["1399312053","1399312056","1399312058","1399312060","1399312062","1399312064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9d5313a99268af73f6e0c2048dc86c6b.jpg","text":"TemporaryFile(/tmp/multipartBody1691707314542973503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670122931,"filename":"image_14122025_00_53_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/12/14/21b66cbf55dfced4a93d325a1ca1b357.jpg","text":"TemporaryFile(/tmp/multipartBody3727688116101708858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670122931,"filename":"image_14122025_00_53_44_10529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e5c5d432b6e87c8d6defe84c52fe83b.jpg","text":"TemporaryFile(/tmp/multipartBody8125634388167946133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670122931,"filename":"image_14122025_00_53_04_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f8c1f73e51372f08664e6982a2023d0b.jpg","text":"TemporaryFile(/tmp/multipartBody1591553718877454029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670122931,"filename":"image_14122025_00_52_54_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/80c5090e5ffb6aa296626761b324ad62.jpg","text":"TemporaryFile(/tmp/multipartBody4160975131630928829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670122931,"filename":"image_14122025_00_53_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/12/14/2f2dc3cd9e646db1092caad7cbb00eb8.jpg","text":"TemporaryFile(/tmp/multipartBody4820186053329681940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670122931,"filename":"image_14122025_00_53_14_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399312058","file1":"1399312056","file0":"1399312053","file4":"1399312062","file5":"1399312064","file3":"1399312060"},"map_files_photo_id_array":[{"photo_id":"1399312064","filename":"file5"},{"photo_id":"1399312058","filename":"file2"},{"photo_id":"1399312062","filename":"file4"},{"photo_id":"1399312056","filename":"file1"},{"photo_id":"1399312053","filename":"file0"},{"photo_id":"1399312060","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399312060":["hashtag1","hashtag2"]},{"1399312062":["hashtag1","hashtag2"]},{"1399312056":["hashtag1","hashtag2"]},{"1399312053":["hashtag1","hashtag2"]},{"1399312064":["hashtag1","hashtag2"]},{"1399312058":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399312060, 1399312062, 1399312056, 1399312053, 1399312064, 1399312058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52487063407898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:55:03.233708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/53/image_14122025_00_54_03_9621.jpg', '/home/pi/Desktop/images/14122025/00/54/image_14122025_00_54_14_10686.jpg', '/home/pi/Desktop/images/14122025/00/54/image_14122025_00_54_44_10757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/53/image_14122025_00_54_03_9621.jpg
/home/pi/Desktop/images/14122025/00/54/image_14122025_00_54_14_10686.jpg
/home/pi/Desktop/images/14122025/00/54/image_14122025_00_54_44_10757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399312066","1399312065","1399312067"],"photo_ids_order":["1399312065","1399312066","1399312067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1cce8c86134c865da0b8f73547887aa2.jpg","text":"TemporaryFile(/tmp/multipartBody5717314016781858682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670163741,"filename":"image_14122025_00_54_14_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9377709791ac7da02860fa7afe31837b.jpg","text":"TemporaryFile(/tmp/multipartBody8821995951589083342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670163741,"filename":"image_14122025_00_54_03_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69b40f593ddc259bca124190adb395bc.jpg","text":"TemporaryFile(/tmp/multipartBody127448615012719150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670163741,"filename":"image_14122025_00_54_44_10757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399312067","file1":"1399312066","file0":"1399312065"},"map_files_photo_id_array":[{"photo_id":"1399312067","filename":"file2"},{"photo_id":"1399312066","filename":"file1"},{"photo_id":"1399312065","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399312066":["hashtag1","hashtag2"]},{"1399312065":["hashtag1","hashtag2"]},{"1399312067":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399312066, 1399312065, 1399312067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.569931268692017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:55:32.579281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:55:42.686999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_13_1633.jpg', '/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_15_1614.jpg', '/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_16_1573.jpg', '/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_18_1785.jpg', '/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_19_1580.jpg', '/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_22_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_13_1633.jpg
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_15_1614.jpg
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_16_1573.jpg
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_18_1785.jpg
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_19_1580.jpg
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_22_2644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399312078","1399312075","1399312077","1399312073","1399312076","1399312079"],"photo_ids_order":["1399312073","1399312075","1399312076","1399312077","1399312078","1399312079"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a101183bd0d6c038e0eb516db81e1a24.jpg","text":"TemporaryFile(/tmp/multipartBody5274099361036508119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670203404,"filename":"image_04112025_10_54_19_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/09863b8778f07341b94b161cd398cd95.jpg","text":"TemporaryFile(/tmp/multipartBody1444234691813900375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670203404,"filename":"image_04112025_10_54_15_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c4220bfc30fa585f2e5c749cb5d266a.jpg","text":"TemporaryFile(/tmp/multipartBody1524054826848642114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670203404,"filename":"image_04112025_10_54_18_1785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d2bf6dc30bf3b7dfe9a6ff42589cb80.jpg","text":"TemporaryFile(/tmp/multipartBody4498555723577709481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670203404,"filename":"image_04112025_10_54_13_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b28c35d0c44eb27d8a4e5ada8c882126.jpg","text":"TemporaryFile(/tmp/multipartBody6400542562136420138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670203404,"filename":"image_04112025_10_54_16_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb337041fce4884455ffc27644c23eb6.jpg","text":"TemporaryFile(/tmp/multipartBody6035298649810268861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670203404,"filename":"image_04112025_10_54_22_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399312076","file1":"1399312075","file0":"1399312073","file4":"1399312078","file5":"1399312079","file3":"1399312077"},"map_files_photo_id_array":[{"photo_id":"1399312079","filename":"file5"},{"photo_id":"1399312076","filename":"file2"},{"photo_id":"1399312078","filename":"file4"},{"photo_id":"1399312075","filename":"file1"},{"photo_id":"1399312073","filename":"file0"},{"photo_id":"1399312077","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399312078":["hashtag1","hashtag2"]},{"1399312075":["hashtag1","hashtag2"]},{"1399312077":["hashtag1","hashtag2"]},{"1399312073":["hashtag1","hashtag2"]},{"1399312076":["hashtag1","hashtag2"]},{"1399312079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399312078, 1399312075, 1399312077, 1399312073, 1399312076, 1399312079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33895921707153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:56:21.939277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/54/image_14122025_00_54_54_9818.jpg', '/home/pi/Desktop/images/14122025/00/54/image_14122025_00_55_04_9724.jpg', '/home/pi/Desktop/images/14122025/00/55/image_14122025_00_55_54_9718.jpg', '/home/pi/Desktop/images/14122025/00/55/image_14122025_00_56_04_9735.jpg', '/home/pi/Desktop/images/14122025/00/56/image_14122025_00_56_14_10593.jpg', '/home/pi/Desktop/images/14122025/00/56/image_14122025_00_56_34_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/54/image_14122025_00_54_54_9818.jpg
/home/pi/Desktop/images/14122025/00/54/image_14122025_00_55_04_9724.jpg
/home/pi/Desktop/images/14122025/00/55/image_14122025_00_55_54_9718.jpg
/home/pi/Desktop/images/14122025/00/55/image_14122025_00_56_04_9735.jpg
/home/pi/Desktop/images/14122025/00/56/image_14122025_00_56_14_10593.jpg
/home/pi/Desktop/images/14122025/00/56/image_14122025_00_56_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":["1399312081","1399312090","1399312087","1399312080","1399312083","1399312085"],"photo_ids_order":["1399312080","1399312081","1399312083","1399312085","1399312087","1399312090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/68b2b64d66a2a9d1853cfae5b0e5c726.jpg","text":"TemporaryFile(/tmp/multipartBody1272938647645171281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670242478,"filename":"image_14122025_00_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/12/14/96c4229e17bc37e4d49b3650421687b4.jpg","text":"TemporaryFile(/tmp/multipartBody3672808768044816116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670242478,"filename":"image_14122025_00_56_34_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/15cda8a1de91fc3d8afa6720b72574b4.jpg","text":"TemporaryFile(/tmp/multipartBody6099704374432646356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670242478,"filename":"image_14122025_00_56_14_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fa6705be650c6ab7dd1780c0e70fb9ae.jpg","text":"TemporaryFile(/tmp/multipartBody6478636885201239342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670242478,"filename":"image_14122025_00_54_54_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8073a929c485cc2644b1922daa791f6c.jpg","text":"TemporaryFile(/tmp/multipartBody4897846408170289494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670242478,"filename":"image_14122025_00_55_54_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/99bb10cf706f4a8c60312270e2255063.jpg","text":"TemporaryFile(/tmp/multipartBody8283916942163171050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670242478,"filename":"image_14122025_00_56_04_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399312083","file1":"1399312081","file0":"1399312080","file4":"1399312087","file5":"1399312090","file3":"1399312085"},"map_files_photo_id_array":[{"photo_id":"1399312090","filename":"file5"},{"photo_id":"1399312083","filename":"file2"},{"photo_id":"1399312087","filename":"file4"},{"photo_id":"1399312081","filename":"file1"},{"photo_id":"1399312080","filename":"file0"},{"photo_id":"1399312085","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399312081":["hashtag1","hashtag2"]},{"1399312090":["hashtag1","hashtag2"]},{"1399312087":["hashtag1","hashtag2"]},{"1399312080":["hashtag1","hashtag2"]},{"1399312083":["hashtag1","hashtag2"]},{"1399312085":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399312081, 1399312090, 1399312087, 1399312080, 1399312083, 1399312085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.767902135849 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:57:02.933265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 00:57:12.133074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 00:57:22.152074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/56/image_14122025_00_56_54_9628.jpg', '/home/pi/Desktop/images/14122025/00/57/image_14122025_00_57_14_10602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/56/image_14122025_00_56_54_9628.jpg
/home/pi/Desktop/images/14122025/00/57/image_14122025_00_57_14_10602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399312102","1399312104"],"photo_ids_order":["1399312102","1399312104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ac0fef3cb3915d28e213cd4013c7e74.jpg","text":"TemporaryFile(/tmp/multipartBody1871413034295844680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670302590,"filename":"image_14122025_00_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/12/14/dddf73b91807a6e493abeaaccbd87078.jpg","text":"TemporaryFile(/tmp/multipartBody6389298376915988001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670302590,"filename":"image_14122025_00_57_14_10602.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399312104","file0":"1399312102"},"map_files_photo_id_array":[{"photo_id":"1399312104","filename":"file1"},{"photo_id":"1399312102","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399312102":["hashtag1","hashtag2"]},{"1399312104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399312102, 1399312104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.500064849853516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:57:42.170312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_28_5387.jpg', '/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_29_1855.jpg', '/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_31_1745.jpg', '/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_34_2620.jpg', '/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_46_12276.jpg', '/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_48_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_28_5387.jpg
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_29_1855.jpg
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_31_1745.jpg
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_34_2620.jpg
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_46_12276.jpg
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_48_1637.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399312112","1399312106","1399312114","1399312108","1399312105","1399312110"],"photo_ids_order":["1399312105","1399312106","1399312108","1399312110","1399312112","1399312114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3dab27e57bb54c52af174a06838a6f99.jpg","text":"TemporaryFile(/tmp/multipartBody1740345626841215692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670322893,"filename":"image_04112025_10_54_46_12276.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/65c61b1615d2523344023ef2f191a4b6.jpg","text":"TemporaryFile(/tmp/multipartBody7624031996274993568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670322893,"filename":"image_04112025_10_54_29_1855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/485f850d8171b2b2f3588f0be90f7998.jpg","text":"TemporaryFile(/tmp/multipartBody4940514008226557090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670322893,"filename":"image_04112025_10_54_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/12/14/6fd295c5b5daae2766e517d0b11fe51c.jpg","text":"TemporaryFile(/tmp/multipartBody5116069150606279869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670322893,"filename":"image_04112025_10_54_31_1745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b1ef8043eac5f47c57ebcbbcd6761af.jpg","text":"TemporaryFile(/tmp/multipartBody313903350218806949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670322893,"filename":"image_04112025_10_54_28_5387.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1011e4f1e833a417c9302882f9bcf3f8.jpg","text":"TemporaryFile(/tmp/multipartBody6741427153050946569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670322893,"filename":"image_04112025_10_54_34_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399312108","file1":"1399312106","file0":"1399312105","file4":"1399312112","file5":"1399312114","file3":"1399312110"},"map_files_photo_id_array":[{"photo_id":"1399312114","filename":"file5"},{"photo_id":"1399312108","filename":"file2"},{"photo_id":"1399312112","filename":"file4"},{"photo_id":"1399312106","filename":"file1"},{"photo_id":"1399312105","filename":"file0"},{"photo_id":"1399312110","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399312112":["hashtag1","hashtag2"]},{"1399312106":["hashtag1","hashtag2"]},{"1399312114":["hashtag1","hashtag2"]},{"1399312108":["hashtag1","hashtag2"]},{"1399312105":["hashtag1","hashtag2"]},{"1399312110":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399312112, 1399312106, 1399312114, 1399312108, 1399312105, 1399312110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63277053833008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 00:59:03.478165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/57/image_14122025_00_57_24_9648.jpg', '/home/pi/Desktop/images/14122025/00/57/image_14122025_00_58_04_10609.jpg', '/home/pi/Desktop/images/14122025/00/58/image_14122025_00_58_14_9669.jpg', '/home/pi/Desktop/images/14122025/00/58/image_14122025_00_58_23_9610.jpg', '/home/pi/Desktop/images/14122025/00/58/image_14122025_00_58_34_10501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/57/image_14122025_00_57_24_9648.jpg
/home/pi/Desktop/images/14122025/00/57/image_14122025_00_58_04_10609.jpg
/home/pi/Desktop/images/14122025/00/58/image_14122025_00_58_14_9669.jpg
/home/pi/Desktop/images/14122025/00/58/image_14122025_00_58_23_9610.jpg
/home/pi/Desktop/images/14122025/00/58/image_14122025_00_58_34_10501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399312118","1399312123","1399312125","1399312116","1399312121"],"photo_ids_order":["1399312116","1399312118","1399312121","1399312123","1399312125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/83bb6598eeaa803b10409cd15afcce56.jpg","text":"TemporaryFile(/tmp/multipartBody5305331784783828622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670404163,"filename":"image_14122025_00_58_04_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ad727ca0d2ee525b2421eb9a733e20e.jpg","text":"TemporaryFile(/tmp/multipartBody1882271427322576778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670404163,"filename":"image_14122025_00_58_23_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d11dd4cd4e1cbdad136edda0a418f807.jpg","text":"TemporaryFile(/tmp/multipartBody599260488143175889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670404163,"filename":"image_14122025_00_58_34_10501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c6f10c258998b058ce422e9f942251a0.jpg","text":"TemporaryFile(/tmp/multipartBody2066860261483697695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670404163,"filename":"image_14122025_00_57_24_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/52e040eda2881a7dc39bfa0e0f929e1a.jpg","text":"TemporaryFile(/tmp/multipartBody1692987336432106191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670404163,"filename":"image_14122025_00_58_14_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399312121","file1":"1399312118","file0":"1399312116","file4":"1399312125","file3":"1399312123"},"map_files_photo_id_array":[{"photo_id":"1399312121","filename":"file2"},{"photo_id":"1399312125","filename":"file4"},{"photo_id":"1399312118","filename":"file1"},{"photo_id":"1399312116","filename":"file0"},{"photo_id":"1399312123","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399312118":["hashtag1","hashtag2"]},{"1399312123":["hashtag1","hashtag2"]},{"1399312125":["hashtag1","hashtag2"]},{"1399312116":["hashtag1","hashtag2"]},{"1399312121":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399312118, 1399312123, 1399312125, 1399312116, 1399312121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.37075448036194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 00:59:42.690541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_49_1723.jpg', '/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_51_1669.jpg', '/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_54_3003.jpg', '/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_56_1906.jpg', '/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_58_1638.jpg', '/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_59_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_49_1723.jpg
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_51_1669.jpg
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_54_3003.jpg
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_56_1906.jpg
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_58_1638.jpg
/home/pi/Desktop/images/04112025/10/54/image_04112025_10_54_59_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":["1399312139","1399312132","1399312135","1399312129","1399312137","1399312140"],"photo_ids_order":["1399312129","1399312132","1399312135","1399312137","1399312139","1399312140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/58f10b17d8deaef8a1cf21f08d520235.jpg","text":"TemporaryFile(/tmp/multipartBody8745176569752452935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670443412,"filename":"image_04112025_10_54_58_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5741c402f7d8cef68516e5626be0e52f.jpg","text":"TemporaryFile(/tmp/multipartBody8521742315710850586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670443412,"filename":"image_04112025_10_54_51_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/220a65b30488679e6a3f3a0987288c94.jpg","text":"TemporaryFile(/tmp/multipartBody6179080445686977571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670443412,"filename":"image_04112025_10_54_54_3003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1428ea6ecee446e78372f7452e0ad16a.jpg","text":"TemporaryFile(/tmp/multipartBody8706674984582088032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670443412,"filename":"image_04112025_10_54_49_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c2a97f4e6cef11b4fb946d1a6567169c.jpg","text":"TemporaryFile(/tmp/multipartBody7869279706466601328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670443412,"filename":"image_04112025_10_54_56_1906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/710e916ebdf330aab1bf31ba4236d232.jpg","text":"TemporaryFile(/tmp/multipartBody2809947645304210353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670443412,"filename":"image_04112025_10_54_59_1672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399312135","file1":"1399312132","file0":"1399312129","file4":"1399312139","file5":"1399312140","file3":"1399312137"},"map_files_photo_id_array":[{"photo_id":"1399312140","filename":"file5"},{"photo_id":"1399312135","filename":"file2"},{"photo_id":"1399312139","filename":"file4"},{"photo_id":"1399312132","filename":"file1"},{"photo_id":"1399312129","filename":"file0"},{"photo_id":"1399312137","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399312139":["hashtag1","hashtag2"]},{"1399312132":["hashtag1","hashtag2"]},{"1399312135":["hashtag1","hashtag2"]},{"1399312129":["hashtag1","hashtag2"]},{"1399312137":["hashtag1","hashtag2"]},{"1399312140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399312139, 1399312132, 1399312135, 1399312129, 1399312137, 1399312140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35040736198425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:00:21.955033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/58/image_14122025_00_58_44_9852.jpg', '/home/pi/Desktop/images/14122025/00/58/image_14122025_00_59_04_10675.jpg', '/home/pi/Desktop/images/14122025/00/59/image_14122025_00_59_14_9741.jpg', '/home/pi/Desktop/images/14122025/00/59/image_14122025_00_59_24_9740.jpg', '/home/pi/Desktop/images/14122025/00/59/image_14122025_00_59_33_9618.jpg', '/home/pi/Desktop/images/14122025/00/59/image_14122025_00_59_53_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/58/image_14122025_00_58_44_9852.jpg
/home/pi/Desktop/images/14122025/00/58/image_14122025_00_59_04_10675.jpg
/home/pi/Desktop/images/14122025/00/59/image_14122025_00_59_14_9741.jpg
/home/pi/Desktop/images/14122025/00/59/image_14122025_00_59_24_9740.jpg
/home/pi/Desktop/images/14122025/00/59/image_14122025_00_59_33_9618.jpg
/home/pi/Desktop/images/14122025/00/59/image_14122025_00_59_53_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399312145","1399312147","1399312143","1399312152","1399312149","1399312142"],"photo_ids_order":["1399312142","1399312143","1399312145","1399312147","1399312149","1399312152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/59485aa3891c491b885185fd6e7061ca.jpg","text":"TemporaryFile(/tmp/multipartBody1084145080599382972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670482496,"filename":"image_14122025_00_59_14_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7dc05f51cd2650bb50f11926edb0a7f3.jpg","text":"TemporaryFile(/tmp/multipartBody7995528639800227737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670482496,"filename":"image_14122025_00_59_24_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a11104d3395a09f1e81408872fb4fb0.jpg","text":"TemporaryFile(/tmp/multipartBody1226083591221687868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670482496,"filename":"image_14122025_00_59_04_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9d76fbcbd8665dace2f88d022ab7c4a9.jpg","text":"TemporaryFile(/tmp/multipartBody7031190087461392901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670482496,"filename":"image_14122025_00_59_53_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/47d3becb332790f9dce13bf5725d695f.jpg","text":"TemporaryFile(/tmp/multipartBody1464588030935547482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670482496,"filename":"image_14122025_00_59_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/12/14/d54926af393ce2eda70d0b9c93ba3b3c.jpg","text":"TemporaryFile(/tmp/multipartBody4444403321878538836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670482496,"filename":"image_14122025_00_58_44_9852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399312145","file1":"1399312143","file0":"1399312142","file4":"1399312149","file5":"1399312152","file3":"1399312147"},"map_files_photo_id_array":[{"photo_id":"1399312152","filename":"file5"},{"photo_id":"1399312145","filename":"file2"},{"photo_id":"1399312149","filename":"file4"},{"photo_id":"1399312143","filename":"file1"},{"photo_id":"1399312142","filename":"file0"},{"photo_id":"1399312147","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399312145":["hashtag1","hashtag2"]},{"1399312147":["hashtag1","hashtag2"]},{"1399312143":["hashtag1","hashtag2"]},{"1399312152":["hashtag1","hashtag2"]},{"1399312149":["hashtag1","hashtag2"]},{"1399312142":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399312145, 1399312147, 1399312143, 1399312152, 1399312149, 1399312142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93448257446289 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:01:02.845749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/00/59/image_14122025_01_00_04_10780.jpg', '/home/pi/Desktop/images/14122025/01/00/image_14122025_01_00_14_9744.jpg', '/home/pi/Desktop/images/14122025/01/00/image_14122025_01_00_34_10565.jpg', '/home/pi/Desktop/images/14122025/01/00/image_14122025_01_00_44_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/00/59/image_14122025_01_00_04_10780.jpg
/home/pi/Desktop/images/14122025/01/00/image_14122025_01_00_14_9744.jpg
/home/pi/Desktop/images/14122025/01/00/image_14122025_01_00_34_10565.jpg
/home/pi/Desktop/images/14122025/01/00/image_14122025_01_00_44_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":["1399312162","1399312161","1399312158","1399312160"],"photo_ids_order":["1399312158","1399312160","1399312161","1399312162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f0f9fc92cbc0c81cc08ad76f2008aa6e.jpg","text":"TemporaryFile(/tmp/multipartBody3392453172216779984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670523419,"filename":"image_14122025_01_00_44_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2ce29a27a7bf0ef48f33fa9af01443e.jpg","text":"TemporaryFile(/tmp/multipartBody7561580959156754865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670523419,"filename":"image_14122025_01_00_34_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d0101836e68e7f5801e617c0d40940ba.jpg","text":"TemporaryFile(/tmp/multipartBody4574571552506867364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670523419,"filename":"image_14122025_01_00_04_10780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ff57b49e417294c9e0b5f2cf45aab96.jpg","text":"TemporaryFile(/tmp/multipartBody1027951098948994396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670523419,"filename":"image_14122025_01_00_14_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399312161","file1":"1399312160","file0":"1399312158","file3":"1399312162"},"map_files_photo_id_array":[{"photo_id":"1399312161","filename":"file2"},{"photo_id":"1399312160","filename":"file1"},{"photo_id":"1399312158","filename":"file0"},{"photo_id":"1399312162","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399312162":["hashtag1","hashtag2"]},{"1399312161":["hashtag1","hashtag2"]},{"1399312158":["hashtag1","hashtag2"]},{"1399312160":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399312162, 1399312161, 1399312158, 1399312160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.71271777153015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:01:32.223211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:01:42.269617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/55/image_04112025_10_55_01_1593.jpg', '/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_07_3019.jpg', '/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_10_3706.jpg', '/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_13_2779.jpg', '/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_16_2637.jpg', '/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_19_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/55/image_04112025_10_55_01_1593.jpg
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_07_3019.jpg
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_10_3706.jpg
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_13_2779.jpg
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_16_2637.jpg
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_19_3598.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5833489894866943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:02:02.960212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/00/image_14122025_01_00_53_9702.jpg', '/home/pi/Desktop/images/14122025/01/00/image_14122025_01_01_04_10580.jpg', '/home/pi/Desktop/images/14122025/01/01/image_14122025_01_01_34_10550.jpg', '/home/pi/Desktop/images/14122025/01/01/image_14122025_01_01_44_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/00/image_14122025_01_00_53_9702.jpg
/home/pi/Desktop/images/14122025/01/00/image_14122025_01_01_04_10580.jpg
/home/pi/Desktop/images/14122025/01/01/image_14122025_01_01_34_10550.jpg
/home/pi/Desktop/images/14122025/01/01/image_14122025_01_01_44_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399312176","1399312206","1399312178","1399312175"],"photo_ids_order":["1399312175","1399312176","1399312178","1399312206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a828b6649f0f213ddf03e719020113c.jpg","text":"TemporaryFile(/tmp/multipartBody52091902148226226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670583521,"filename":"image_14122025_01_01_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/12/14/9a04411b6ba2aceb95b36102b3ef31eb.jpg","text":"TemporaryFile(/tmp/multipartBody8156737768149653819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670583521,"filename":"image_14122025_01_01_44_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f4bc2faaccb8d6d451ec5f98859503f3.jpg","text":"TemporaryFile(/tmp/multipartBody1375869664958576124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670583521,"filename":"image_14122025_01_01_34_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d877765501a7a1c3e7b8d511b1f66142.jpg","text":"TemporaryFile(/tmp/multipartBody100498872755879236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670583521,"filename":"image_14122025_01_00_53_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399312178","file1":"1399312176","file0":"1399312175","file3":"1399312206"},"map_files_photo_id_array":[{"photo_id":"1399312178","filename":"file2"},{"photo_id":"1399312176","filename":"file1"},{"photo_id":"1399312175","filename":"file0"},{"photo_id":"1399312206","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399312176":["hashtag1","hashtag2"]},{"1399312206":["hashtag1","hashtag2"]},{"1399312178":["hashtag1","hashtag2"]},{"1399312175":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399312176, 1399312206, 1399312178, 1399312175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.755019187927246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:02:32.530184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:02:42.530385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/55/image_04112025_10_55_01_1593.jpg', '/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_07_3019.jpg', '/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_10_3706.jpg', '/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_13_2779.jpg', '/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_16_2637.jpg', '/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_19_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/55/image_04112025_10_55_01_1593.jpg
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_07_3019.jpg
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_10_3706.jpg
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_13_2779.jpg
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_16_2637.jpg
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_19_3598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399312607","1399312535","1399312497","1399312414","1399312571","1399312454"],"photo_ids_order":["1399312414","1399312454","1399312497","1399312535","1399312571","1399312607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/75345a0c2a4771d4c830aa81bc046f6c.jpg","text":"TemporaryFile(/tmp/multipartBody6980957852065237356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670623114,"filename":"image_04112025_10_56_19_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e3b4f79d11ecd1e2dbd135178604c6e0.jpg","text":"TemporaryFile(/tmp/multipartBody5593454422520764520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670623114,"filename":"image_04112025_10_56_13_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d9dcec69201bbca2352f29d1b56495d.jpg","text":"TemporaryFile(/tmp/multipartBody5822406528239599826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670623114,"filename":"image_04112025_10_56_10_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a00a2d6f6d408a644f06f97d9521d4c4.jpg","text":"TemporaryFile(/tmp/multipartBody8226973866408012093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670623114,"filename":"image_04112025_10_55_01_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/564154d0c0231a55b24e0f359105a403.jpg","text":"TemporaryFile(/tmp/multipartBody4279236871462424227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670623114,"filename":"image_04112025_10_56_16_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a49c1d6101a88702752c1d170d501fe5.jpg","text":"TemporaryFile(/tmp/multipartBody5110327438533314695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670623114,"filename":"image_04112025_10_56_07_3019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399312497","file1":"1399312454","file0":"1399312414","file4":"1399312571","file5":"1399312607","file3":"1399312535"},"map_files_photo_id_array":[{"photo_id":"1399312607","filename":"file5"},{"photo_id":"1399312497","filename":"file2"},{"photo_id":"1399312571","filename":"file4"},{"photo_id":"1399312454","filename":"file1"},{"photo_id":"1399312414","filename":"file0"},{"photo_id":"1399312535","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399312607":["hashtag1","hashtag2"]},{"1399312535":["hashtag1","hashtag2"]},{"1399312497":["hashtag1","hashtag2"]},{"1399312414":["hashtag1","hashtag2"]},{"1399312571":["hashtag1","hashtag2"]},{"1399312454":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399312607, 1399312535, 1399312497, 1399312414, 1399312571, 1399312454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.079362869262695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:03:22.759760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/01/image_14122025_01_01_53_9645.jpg', '/home/pi/Desktop/images/14122025/01/02/image_14122025_01_02_34_9732.jpg', '/home/pi/Desktop/images/14122025/01/02/image_14122025_01_02_43_9529.jpg', '/home/pi/Desktop/images/14122025/01/03/image_14122025_01_03_24_10604.jpg', '/home/pi/Desktop/images/14122025/01/03/image_14122025_01_03_34_9648.jpg', '/home/pi/Desktop/images/14122025/01/03/image_14122025_01_03_43_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/01/image_14122025_01_01_53_9645.jpg
/home/pi/Desktop/images/14122025/01/02/image_14122025_01_02_34_9732.jpg
/home/pi/Desktop/images/14122025/01/02/image_14122025_01_02_43_9529.jpg
/home/pi/Desktop/images/14122025/01/03/image_14122025_01_03_24_10604.jpg
/home/pi/Desktop/images/14122025/01/03/image_14122025_01_03_34_9648.jpg
/home/pi/Desktop/images/14122025/01/03/image_14122025_01_03_43_9558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399312696","1399312700","1399312703","1399312698","1399312701","1399312694"],"photo_ids_order":["1399312694","1399312696","1399312698","1399312700","1399312701","1399312703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/888d81983592b5e856bf06b36367305b.jpg","text":"TemporaryFile(/tmp/multipartBody2354631903646709734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670663332,"filename":"image_14122025_01_02_34_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c337466f852b3923722bd5c9f502887.jpg","text":"TemporaryFile(/tmp/multipartBody3065603502948924116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670663332,"filename":"image_14122025_01_03_24_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/99fdc99e48fea7b76710677e036a0685.jpg","text":"TemporaryFile(/tmp/multipartBody686874309589040165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670663332,"filename":"image_14122025_01_03_43_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/944d7a6b06bbb518f47d5c37a923e4d4.jpg","text":"TemporaryFile(/tmp/multipartBody6514035245652442793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670663332,"filename":"image_14122025_01_02_43_9529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c2a559f93355edf028febdfde0732d5e.jpg","text":"TemporaryFile(/tmp/multipartBody1281372533120775974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670663332,"filename":"image_14122025_01_03_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ab2429ba7d088174edf46dc7af3420ec.jpg","text":"TemporaryFile(/tmp/multipartBody6412072906717831206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670663332,"filename":"image_14122025_01_01_53_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399312698","file1":"1399312696","file0":"1399312694","file4":"1399312701","file5":"1399312703","file3":"1399312700"},"map_files_photo_id_array":[{"photo_id":"1399312703","filename":"file5"},{"photo_id":"1399312698","filename":"file2"},{"photo_id":"1399312701","filename":"file4"},{"photo_id":"1399312696","filename":"file1"},{"photo_id":"1399312694","filename":"file0"},{"photo_id":"1399312700","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399312696":["hashtag1","hashtag2"]},{"1399312700":["hashtag1","hashtag2"]},{"1399312703":["hashtag1","hashtag2"]},{"1399312698":["hashtag1","hashtag2"]},{"1399312701":["hashtag1","hashtag2"]},{"1399312694":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399312696, 1399312700, 1399312703, 1399312698, 1399312701, 1399312694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08478331565857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:04:02.653859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:04:12.051914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:04:22.003861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/03/image_14122025_01_03_54_10788.jpg', '/home/pi/Desktop/images/14122025/01/03/image_14122025_01_04_04_9675.jpg', '/home/pi/Desktop/images/14122025/01/04/image_14122025_01_04_13_9612.jpg', '/home/pi/Desktop/images/14122025/01/04/image_14122025_01_04_24_10677.jpg', '/home/pi/Desktop/images/14122025/01/04/image_14122025_01_04_34_9779.jpg', '/home/pi/Desktop/images/14122025/01/04/image_14122025_01_04_43_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/03/image_14122025_01_03_54_10788.jpg
/home/pi/Desktop/images/14122025/01/03/image_14122025_01_04_04_9675.jpg
/home/pi/Desktop/images/14122025/01/04/image_14122025_01_04_13_9612.jpg
/home/pi/Desktop/images/14122025/01/04/image_14122025_01_04_24_10677.jpg
/home/pi/Desktop/images/14122025/01/04/image_14122025_01_04_34_9779.jpg
/home/pi/Desktop/images/14122025/01/04/image_14122025_01_04_43_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399312931","1399312867","1399312890","1399312866","1399312929","1399312958"],"photo_ids_order":["1399312866","1399312867","1399312890","1399312929","1399312931","1399312958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/52f7e94838dfe0b7f3c17ed738a3ece4.jpg","text":"TemporaryFile(/tmp/multipartBody287537564060612233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670722549,"filename":"image_14122025_01_04_34_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1d954d26b45d10291ffd0332398a7e67.jpg","text":"TemporaryFile(/tmp/multipartBody7352160792271655190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670722549,"filename":"image_14122025_01_04_04_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/86cfb5a0b2b0fd2b7a8f5de5ae8990f3.jpg","text":"TemporaryFile(/tmp/multipartBody8863424642717886035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670722549,"filename":"image_14122025_01_04_13_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e5c3224f01c098021fb973baf262b385.jpg","text":"TemporaryFile(/tmp/multipartBody7637834371808258802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670722549,"filename":"image_14122025_01_03_54_10788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0262fbecad49b1a6f1c8f1f4a8fec1d3.jpg","text":"TemporaryFile(/tmp/multipartBody6866483307729035356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670722549,"filename":"image_14122025_01_04_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/12/14/98c53bac781adbfd9f70b8f9b0aea4aa.jpg","text":"TemporaryFile(/tmp/multipartBody6242474130795732978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670722549,"filename":"image_14122025_01_04_43_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399312890","file1":"1399312867","file0":"1399312866","file4":"1399312931","file5":"1399312958","file3":"1399312929"},"map_files_photo_id_array":[{"photo_id":"1399312958","filename":"file5"},{"photo_id":"1399312890","filename":"file2"},{"photo_id":"1399312931","filename":"file4"},{"photo_id":"1399312867","filename":"file1"},{"photo_id":"1399312866","filename":"file0"},{"photo_id":"1399312929","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399312931":["hashtag1","hashtag2"]},{"1399312867":["hashtag1","hashtag2"]},{"1399312890":["hashtag1","hashtag2"]},{"1399312866":["hashtag1","hashtag2"]},{"1399312929":["hashtag1","hashtag2"]},{"1399312958":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399312931, 1399312867, 1399312890, 1399312866, 1399312929, 1399312958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9924099445343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:05:03.071912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:05:12.282525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:05:22.265162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/04/image_14122025_01_04_54_10672.jpg', '/home/pi/Desktop/images/14122025/01/04/image_14122025_01_05_04_9773.jpg', '/home/pi/Desktop/images/14122025/01/05/image_14122025_01_05_14_9790.jpg', '/home/pi/Desktop/images/14122025/01/05/image_14122025_01_05_23_9550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/04/image_14122025_01_04_54_10672.jpg
/home/pi/Desktop/images/14122025/01/04/image_14122025_01_05_04_9773.jpg
/home/pi/Desktop/images/14122025/01/05/image_14122025_01_05_14_9790.jpg
/home/pi/Desktop/images/14122025/01/05/image_14122025_01_05_23_9550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399313589","1399313367","1399313438","1399313519"],"photo_ids_order":["1399313367","1399313438","1399313519","1399313589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eb65e1675c7d4f059c83648e0cc9fa18.jpg","text":"TemporaryFile(/tmp/multipartBody2305408264514353702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670782748,"filename":"image_14122025_01_05_23_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7268eebe22d10026050f599370e663e.jpg","text":"TemporaryFile(/tmp/multipartBody1907091583278775502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670782748,"filename":"image_14122025_01_04_54_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/16c55727e97f014544eb27eb38a997d4.jpg","text":"TemporaryFile(/tmp/multipartBody8938073531624522488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670782748,"filename":"image_14122025_01_05_04_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/491747516e686492d556d97d5e9134b1.jpg","text":"TemporaryFile(/tmp/multipartBody1426429744991903798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670782748,"filename":"image_14122025_01_05_14_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399313519","file1":"1399313438","file0":"1399313367","file3":"1399313589"},"map_files_photo_id_array":[{"photo_id":"1399313519","filename":"file2"},{"photo_id":"1399313438","filename":"file1"},{"photo_id":"1399313367","filename":"file0"},{"photo_id":"1399313589","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399313589":["hashtag1","hashtag2"]},{"1399313367":["hashtag1","hashtag2"]},{"1399313438":["hashtag1","hashtag2"]},{"1399313519":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399313589, 1399313367, 1399313438, 1399313519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.67101550102234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:06:03.032523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:06:12.562506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:06:22.628483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/05/image_14122025_01_05_34_10616.jpg', '/home/pi/Desktop/images/14122025/01/06/image_14122025_01_06_24_10648.jpg', '/home/pi/Desktop/images/14122025/01/06/image_14122025_01_06_44_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/05/image_14122025_01_05_34_10616.jpg
/home/pi/Desktop/images/14122025/01/06/image_14122025_01_06_24_10648.jpg
/home/pi/Desktop/images/14122025/01/06/image_14122025_01_06_44_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":["1399314167","1399314280","1399314232"],"photo_ids_order":["1399314167","1399314232","1399314280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cb2f9d582f0f575a0dc915ea141c8dc0.jpg","text":"TemporaryFile(/tmp/multipartBody4775731645180014717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670843100,"filename":"image_14122025_01_05_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/12/14/74c2418e1a3f3b7e4cbec588c4f7b1dc.jpg","text":"TemporaryFile(/tmp/multipartBody1467363736796058246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670843100,"filename":"image_14122025_01_06_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/12/14/2ba7d9c3dcefc7bac6853aa7818ddccc.jpg","text":"TemporaryFile(/tmp/multipartBody8565159064729911663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670843100,"filename":"image_14122025_01_06_24_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399314280","file1":"1399314232","file0":"1399314167"},"map_files_photo_id_array":[{"photo_id":"1399314280","filename":"file2"},{"photo_id":"1399314232","filename":"file1"},{"photo_id":"1399314167","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399314167":["hashtag1","hashtag2"]},{"1399314280":["hashtag1","hashtag2"]},{"1399314232":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399314167, 1399314280, 1399314232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.516213417053223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:07:03.382224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:07:12.759483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:07:22.780989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/06/image_14122025_01_06_54_9613.jpg', '/home/pi/Desktop/images/14122025/01/06/image_14122025_01_07_03_9586.jpg', '/home/pi/Desktop/images/14122025/01/07/image_14122025_01_07_14_10608.jpg', '/home/pi/Desktop/images/14122025/01/07/image_14122025_01_07_24_9577.jpg', '/home/pi/Desktop/images/14122025/01/07/image_14122025_01_07_44_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/06/image_14122025_01_06_54_9613.jpg
/home/pi/Desktop/images/14122025/01/06/image_14122025_01_07_03_9586.jpg
/home/pi/Desktop/images/14122025/01/07/image_14122025_01_07_14_10608.jpg
/home/pi/Desktop/images/14122025/01/07/image_14122025_01_07_24_9577.jpg
/home/pi/Desktop/images/14122025/01/07/image_14122025_01_07_44_9662.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.40999865531921387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:07:32.830625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:07:42.744564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_22_2619.jpg', '/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_25_2843.jpg', '/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_37_11749.jpg', '/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_38_1774.jpg', '/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_40_1577.jpg', '/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_42_1641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_22_2619.jpg
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_25_2843.jpg
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_37_11749.jpg
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_38_1774.jpg
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_40_1577.jpg
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_42_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":["1399314561","1399314549","1399314546","1399314548","1399314638","1399314598"],"photo_ids_order":["1399314546","1399314548","1399314549","1399314561","1399314598","1399314638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/efaf31ec5f899898cc3868e5cea89c97.jpg","text":"TemporaryFile(/tmp/multipartBody5844026565858997463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670923435,"filename":"image_04112025_10_56_38_1774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/faa89ef5176e3f06d9b05ba5739dcf51.jpg","text":"TemporaryFile(/tmp/multipartBody3067342579413929463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670923435,"filename":"image_04112025_10_56_37_11749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e272124e5b8f4dce02f8546a126f3c7b.jpg","text":"TemporaryFile(/tmp/multipartBody7514601241840948392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670923435,"filename":"image_04112025_10_56_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/12/14/15fed8ada6bba33f8de6376d37898a9c.jpg","text":"TemporaryFile(/tmp/multipartBody3996838857735117207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670923435,"filename":"image_04112025_10_56_25_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b92cc5ac518cb8bb77db52611d88d22b.jpg","text":"TemporaryFile(/tmp/multipartBody100377900776929634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670923435,"filename":"image_04112025_10_56_42_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ab45349aaf13d26d878f2e498a7b883.jpg","text":"TemporaryFile(/tmp/multipartBody5977389260000303233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670923435,"filename":"image_04112025_10_56_40_1577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399314549","file1":"1399314548","file0":"1399314546","file4":"1399314598","file5":"1399314638","file3":"1399314561"},"map_files_photo_id_array":[{"photo_id":"1399314638","filename":"file5"},{"photo_id":"1399314549","filename":"file2"},{"photo_id":"1399314598","filename":"file4"},{"photo_id":"1399314548","filename":"file1"},{"photo_id":"1399314546","filename":"file0"},{"photo_id":"1399314561","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399314561":["hashtag1","hashtag2"]},{"1399314549":["hashtag1","hashtag2"]},{"1399314546":["hashtag1","hashtag2"]},{"1399314548":["hashtag1","hashtag2"]},{"1399314638":["hashtag1","hashtag2"]},{"1399314598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399314561, 1399314549, 1399314546, 1399314548, 1399314638, 1399314598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75860285758972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:08:22.145521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/06/image_14122025_01_06_54_9613.jpg', '/home/pi/Desktop/images/14122025/01/06/image_14122025_01_07_03_9586.jpg', '/home/pi/Desktop/images/14122025/01/07/image_14122025_01_07_14_10608.jpg', '/home/pi/Desktop/images/14122025/01/07/image_14122025_01_07_24_9577.jpg', '/home/pi/Desktop/images/14122025/01/07/image_14122025_01_07_44_9662.jpg', '/home/pi/Desktop/images/14122025/01/07/image_14122025_01_07_53_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/06/image_14122025_01_06_54_9613.jpg
/home/pi/Desktop/images/14122025/01/06/image_14122025_01_07_03_9586.jpg
/home/pi/Desktop/images/14122025/01/07/image_14122025_01_07_14_10608.jpg
/home/pi/Desktop/images/14122025/01/07/image_14122025_01_07_24_9577.jpg
/home/pi/Desktop/images/14122025/01/07/image_14122025_01_07_44_9662.jpg
/home/pi/Desktop/images/14122025/01/07/image_14122025_01_07_53_9585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399314837","1399314810","1399314845","1399314839","1399314772","1399314835"],"photo_ids_order":["1399314772","1399314810","1399314835","1399314837","1399314839","1399314845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8e6880b80f1a939bcd852a08834e5d16.jpg","text":"TemporaryFile(/tmp/multipartBody6641871586618592342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670962717,"filename":"image_14122025_01_07_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/12/14/6cf8b653bc45b4d167c522394c7d7f71.jpg","text":"TemporaryFile(/tmp/multipartBody8056419829418800267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670962717,"filename":"image_14122025_01_07_03_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/72ed56ea9c4b6c793fb9546066b4213a.jpg","text":"TemporaryFile(/tmp/multipartBody3351407696580915200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670962717,"filename":"image_14122025_01_07_53_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c608c3817b31268c9f84ee58d797f86e.jpg","text":"TemporaryFile(/tmp/multipartBody7021582857333642969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670962717,"filename":"image_14122025_01_07_44_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7e32e45e951ec139a1e15ce091ab16d3.jpg","text":"TemporaryFile(/tmp/multipartBody7719684311613430194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670962717,"filename":"image_14122025_01_06_54_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8720cb5ed6ea407c4c0d4cd2a6df0d07.jpg","text":"TemporaryFile(/tmp/multipartBody3805071287780869450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765670962717,"filename":"image_14122025_01_07_14_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399314835","file1":"1399314810","file0":"1399314772","file4":"1399314839","file5":"1399314845","file3":"1399314837"},"map_files_photo_id_array":[{"photo_id":"1399314845","filename":"file5"},{"photo_id":"1399314835","filename":"file2"},{"photo_id":"1399314839","filename":"file4"},{"photo_id":"1399314810","filename":"file1"},{"photo_id":"1399314772","filename":"file0"},{"photo_id":"1399314837","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399314837":["hashtag1","hashtag2"]},{"1399314810":["hashtag1","hashtag2"]},{"1399314845":["hashtag1","hashtag2"]},{"1399314839":["hashtag1","hashtag2"]},{"1399314772":["hashtag1","hashtag2"]},{"1399314835":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399314837, 1399314810, 1399314845, 1399314839, 1399314772, 1399314835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44745993614197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:09:03.215213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/08/image_14122025_01_08_14_9692.jpg', '/home/pi/Desktop/images/14122025/01/08/image_14122025_01_08_33_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/08/image_14122025_01_08_14_9692.jpg
/home/pi/Desktop/images/14122025/01/08/image_14122025_01_08_33_9755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399314917","1399314943"],"photo_ids_order":["1399314917","1399314943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/97e306f9875974acef80c618c318d3d4.jpg","text":"TemporaryFile(/tmp/multipartBody4378066997345713917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671003740,"filename":"image_14122025_01_08_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/12/14/e4cc535179b359693efa6c85e62fed8f.jpg","text":"TemporaryFile(/tmp/multipartBody8690961879265798098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671003740,"filename":"image_14122025_01_08_33_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399314943","file0":"1399314917"},"map_files_photo_id_array":[{"photo_id":"1399314943","filename":"file1"},{"photo_id":"1399314917","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399314917":["hashtag1","hashtag2"]},{"1399314943":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399314917, 1399314943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.803342580795288 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:09:22.353216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/08/image_14122025_01_08_54_9678.jpg', '/home/pi/Desktop/images/14122025/01/08/image_14122025_01_09_04_10643.jpg', '/home/pi/Desktop/images/14122025/01/09/image_14122025_01_09_14_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/08/image_14122025_01_08_54_9678.jpg
/home/pi/Desktop/images/14122025/01/08/image_14122025_01_09_04_10643.jpg
/home/pi/Desktop/images/14122025/01/09/image_14122025_01_09_14_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":["1399314969","1399314971","1399314968"],"photo_ids_order":["1399314968","1399314969","1399314971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fd4e968ec614f44f89086f20d5761979.jpg","text":"TemporaryFile(/tmp/multipartBody8327291603793378842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671022817,"filename":"image_14122025_01_09_04_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/306ffc7a09532b4735189115d13693eb.jpg","text":"TemporaryFile(/tmp/multipartBody4670582832050929815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671022817,"filename":"image_14122025_01_09_14_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92962cea8f1de8529f9ccce2185644b8.jpg","text":"TemporaryFile(/tmp/multipartBody2104862516020002730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671022817,"filename":"image_14122025_01_08_54_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399314971","file1":"1399314969","file0":"1399314968"},"map_files_photo_id_array":[{"photo_id":"1399314971","filename":"file2"},{"photo_id":"1399314969","filename":"file1"},{"photo_id":"1399314968","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399314969":["hashtag1","hashtag2"]},{"1399314971":["hashtag1","hashtag2"]},{"1399314968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399314969, 1399314971, 1399314968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.162018060684204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:10:02.918287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:10:12.420660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:10:22.546981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/09/image_14122025_01_09_44_9644.jpg', '/home/pi/Desktop/images/14122025/01/09/image_14122025_01_10_04_10567.jpg', '/home/pi/Desktop/images/14122025/01/10/image_14122025_01_10_24_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/09/image_14122025_01_09_44_9644.jpg
/home/pi/Desktop/images/14122025/01/09/image_14122025_01_10_04_10567.jpg
/home/pi/Desktop/images/14122025/01/10/image_14122025_01_10_24_9723.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3607792854309082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:10:32.553175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:10:42.492208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_43_1594.jpg', '/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_45_1630.jpg', '/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_47_1687.jpg', '/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_49_2701.jpg', '/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_52_2595.jpg', '/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_56_3711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_43_1594.jpg
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_45_1630.jpg
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_47_1687.jpg
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_49_2701.jpg
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_52_2595.jpg
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_56_3711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399314987","1399314984","1399314986","1399314982","1399314985","1399314988"],"photo_ids_order":["1399314982","1399314984","1399314985","1399314986","1399314987","1399314988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/980d6aadb14b3fa97c1618425c999877.jpg","text":"TemporaryFile(/tmp/multipartBody1450629028265801356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671103194,"filename":"image_04112025_10_56_52_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/233bbf0193e6fd1a6a6a8fe832ff04cc.jpg","text":"TemporaryFile(/tmp/multipartBody1009703250304388333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671103194,"filename":"image_04112025_10_56_45_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ec323685c019cf4dd889ca92001bc680.jpg","text":"TemporaryFile(/tmp/multipartBody7686411598808963520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671103194,"filename":"image_04112025_10_56_49_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf1ee95d3743c57948bfd96fc1ab3310.jpg","text":"TemporaryFile(/tmp/multipartBody4829062889705591760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671103194,"filename":"image_04112025_10_56_43_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b32588968b348cc5de1d6fda7705006c.jpg","text":"TemporaryFile(/tmp/multipartBody3172402972654787665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671103194,"filename":"image_04112025_10_56_47_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/306dfa016f6179bc30c4aa35ed997fc7.jpg","text":"TemporaryFile(/tmp/multipartBody1454419441479822923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671103194,"filename":"image_04112025_10_56_56_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399314985","file1":"1399314984","file0":"1399314982","file4":"1399314987","file5":"1399314988","file3":"1399314986"},"map_files_photo_id_array":[{"photo_id":"1399314988","filename":"file5"},{"photo_id":"1399314985","filename":"file2"},{"photo_id":"1399314987","filename":"file4"},{"photo_id":"1399314984","filename":"file1"},{"photo_id":"1399314982","filename":"file0"},{"photo_id":"1399314986","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399314987":["hashtag1","hashtag2"]},{"1399314984":["hashtag1","hashtag2"]},{"1399314986":["hashtag1","hashtag2"]},{"1399314982":["hashtag1","hashtag2"]},{"1399314985":["hashtag1","hashtag2"]},{"1399314988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399314987, 1399314984, 1399314986, 1399314982, 1399314985, 1399314988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97235298156738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:11:22.747698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/09/image_14122025_01_09_44_9644.jpg', '/home/pi/Desktop/images/14122025/01/09/image_14122025_01_10_04_10567.jpg', '/home/pi/Desktop/images/14122025/01/10/image_14122025_01_10_24_9723.jpg', '/home/pi/Desktop/images/14122025/01/10/image_14122025_01_10_54_9594.jpg', '/home/pi/Desktop/images/14122025/01/10/image_14122025_01_11_03_9776.jpg', '/home/pi/Desktop/images/14122025/01/11/image_14122025_01_11_24_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/09/image_14122025_01_09_44_9644.jpg
/home/pi/Desktop/images/14122025/01/09/image_14122025_01_10_04_10567.jpg
/home/pi/Desktop/images/14122025/01/10/image_14122025_01_10_24_9723.jpg
/home/pi/Desktop/images/14122025/01/10/image_14122025_01_10_54_9594.jpg
/home/pi/Desktop/images/14122025/01/10/image_14122025_01_11_03_9776.jpg
/home/pi/Desktop/images/14122025/01/11/image_14122025_01_11_24_9765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399314996","1399314990","1399314998","1399314992","1399315000","1399314994"],"photo_ids_order":["1399314990","1399314992","1399314994","1399314996","1399314998","1399315000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c42efc2eb6d133d2bdf33aaa63eab6dd.jpg","text":"TemporaryFile(/tmp/multipartBody7719380166621049060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671143316,"filename":"image_14122025_01_10_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/12/14/14dfb3b98976bc9f31f38e00a7184ab7.jpg","text":"TemporaryFile(/tmp/multipartBody7786536512802806471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671143316,"filename":"image_14122025_01_09_44_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c09e8bec421374139821b429054d096f.jpg","text":"TemporaryFile(/tmp/multipartBody1914611571346304521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671143316,"filename":"image_14122025_01_11_03_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/296b05ad9b7ae47b98a478468b80136f.jpg","text":"TemporaryFile(/tmp/multipartBody5702857884871826519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671143316,"filename":"image_14122025_01_10_04_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/326015653fa2ae8878f1cf74beab1cc6.jpg","text":"TemporaryFile(/tmp/multipartBody4545529143035162176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671143316,"filename":"image_14122025_01_11_24_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3ee6a3925ef1e22ba3766e90a86cc64c.jpg","text":"TemporaryFile(/tmp/multipartBody2799657280548638128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671143316,"filename":"image_14122025_01_10_24_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399314994","file1":"1399314992","file0":"1399314990","file4":"1399314998","file5":"1399315000","file3":"1399314996"},"map_files_photo_id_array":[{"photo_id":"1399315000","filename":"file5"},{"photo_id":"1399314994","filename":"file2"},{"photo_id":"1399314998","filename":"file4"},{"photo_id":"1399314992","filename":"file1"},{"photo_id":"1399314990","filename":"file0"},{"photo_id":"1399314996","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399314996":["hashtag1","hashtag2"]},{"1399314990":["hashtag1","hashtag2"]},{"1399314998":["hashtag1","hashtag2"]},{"1399314992":["hashtag1","hashtag2"]},{"1399315000":["hashtag1","hashtag2"]},{"1399314994":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399314996, 1399314990, 1399314998, 1399314992, 1399315000, 1399314994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29383063316345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:12:02.444072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/11/image_14122025_01_11_33_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/11/image_14122025_01_11_33_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.319075345993042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:12:11.893417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:12:22.018598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/11/image_14122025_01_11_33_9732.jpg', '/home/pi/Desktop/images/14122025/01/11/image_14122025_01_11_44_10562.jpg', '/home/pi/Desktop/images/14122025/01/12/image_14122025_01_12_14_9626.jpg', '/home/pi/Desktop/images/14122025/01/12/image_14122025_01_12_23_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/11/image_14122025_01_11_33_9732.jpg
/home/pi/Desktop/images/14122025/01/11/image_14122025_01_11_44_10562.jpg
/home/pi/Desktop/images/14122025/01/12/image_14122025_01_12_14_9626.jpg
/home/pi/Desktop/images/14122025/01/12/image_14122025_01_12_23_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315008","1399315005","1399315001","1399315003"],"photo_ids_order":["1399315001","1399315003","1399315005","1399315008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c9fc6e845ff05ef9ff41f3a6b5728795.jpg","text":"TemporaryFile(/tmp/multipartBody1861353243413629159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671202526,"filename":"image_14122025_01_12_23_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/086cb15ac099225c2120be60a733ad04.jpg","text":"TemporaryFile(/tmp/multipartBody3283594490923218123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671202526,"filename":"image_14122025_01_12_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c2c9a3f3b59c1c330ce9fc4cc485f56.jpg","text":"TemporaryFile(/tmp/multipartBody1718802089480103210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671202526,"filename":"image_14122025_01_11_33_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29eb84df3607f0d07d75f9ba06d7eba0.jpg","text":"TemporaryFile(/tmp/multipartBody8661725127056489528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671202526,"filename":"image_14122025_01_11_44_10562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315005","file1":"1399315003","file0":"1399315001","file3":"1399315008"},"map_files_photo_id_array":[{"photo_id":"1399315005","filename":"file2"},{"photo_id":"1399315003","filename":"file1"},{"photo_id":"1399315001","filename":"file0"},{"photo_id":"1399315008","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315008":["hashtag1","hashtag2"]},{"1399315005":["hashtag1","hashtag2"]},{"1399315001":["hashtag1","hashtag2"]},{"1399315003":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315008, 1399315005, 1399315001, 1399315003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.788829803466797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:13:02.894304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:13:12.201540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:13:22.254134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/12/image_14122025_01_12_53_9656.jpg', '/home/pi/Desktop/images/14122025/01/12/image_14122025_01_13_04_10760.jpg', '/home/pi/Desktop/images/14122025/01/13/image_14122025_01_13_14_9681.jpg', '/home/pi/Desktop/images/14122025/01/13/image_14122025_01_13_23_9533.jpg', '/home/pi/Desktop/images/14122025/01/13/image_14122025_01_13_34_10652.jpg', '/home/pi/Desktop/images/14122025/01/13/image_14122025_01_13_44_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/12/image_14122025_01_12_53_9656.jpg
/home/pi/Desktop/images/14122025/01/12/image_14122025_01_13_04_10760.jpg
/home/pi/Desktop/images/14122025/01/13/image_14122025_01_13_14_9681.jpg
/home/pi/Desktop/images/14122025/01/13/image_14122025_01_13_23_9533.jpg
/home/pi/Desktop/images/14122025/01/13/image_14122025_01_13_34_10652.jpg
/home/pi/Desktop/images/14122025/01/13/image_14122025_01_13_44_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315011","1399315017","1399315019","1399315013","1399315021","1399315015"],"photo_ids_order":["1399315011","1399315013","1399315015","1399315017","1399315019","1399315021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b95f32b9b81f3c9e715908a886ab87f5.jpg","text":"TemporaryFile(/tmp/multipartBody1649001907680995640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671262821,"filename":"image_14122025_01_12_53_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f90101c8fa3db30fc64c152329c527c9.jpg","text":"TemporaryFile(/tmp/multipartBody5820942670543600304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671262821,"filename":"image_14122025_01_13_23_9533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/85944dd32c4f5347ccedc131c7eae21a.jpg","text":"TemporaryFile(/tmp/multipartBody451552349057114262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671262821,"filename":"image_14122025_01_13_34_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9b37c6e9fa0058b4430aa21258154bc9.jpg","text":"TemporaryFile(/tmp/multipartBody6488426747939303042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671262821,"filename":"image_14122025_01_13_04_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/15736ecc4aedf35e97e8f828713963e4.jpg","text":"TemporaryFile(/tmp/multipartBody5770686142224639265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671262821,"filename":"image_14122025_01_13_44_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/980c6d76f96d1d2be07d34a602028420.jpg","text":"TemporaryFile(/tmp/multipartBody5646725836484165709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671262821,"filename":"image_14122025_01_13_14_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315015","file1":"1399315013","file0":"1399315011","file4":"1399315019","file5":"1399315021","file3":"1399315017"},"map_files_photo_id_array":[{"photo_id":"1399315021","filename":"file5"},{"photo_id":"1399315015","filename":"file2"},{"photo_id":"1399315019","filename":"file4"},{"photo_id":"1399315013","filename":"file1"},{"photo_id":"1399315011","filename":"file0"},{"photo_id":"1399315017","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315011":["hashtag1","hashtag2"]},{"1399315017":["hashtag1","hashtag2"]},{"1399315019":["hashtag1","hashtag2"]},{"1399315013":["hashtag1","hashtag2"]},{"1399315021":["hashtag1","hashtag2"]},{"1399315015":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315011, 1399315017, 1399315019, 1399315013, 1399315021, 1399315015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4381468296051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:14:03.095150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:14:12.457829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:14:22.452823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/13/image_14122025_01_13_53_9839.jpg', '/home/pi/Desktop/images/14122025/01/14/image_14122025_01_14_23_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/13/image_14122025_01_13_53_9839.jpg
/home/pi/Desktop/images/14122025/01/14/image_14122025_01_14_23_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.3335385322570801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:14:32.461856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:14:42.442209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_58_2877.jpg', '/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_02_4009.jpg', '/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_04_1668.jpg', '/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_07_2717.jpg', '/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_10_3549.jpg', '/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_14_3190.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/56/image_04112025_10_56_58_2877.jpg
/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_02_4009.jpg
/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_04_1668.jpg
/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_07_2717.jpg
/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_10_3549.jpg
/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_14_3190.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315032","1399315035","1399315034","1399315033","1399315036","1399315030"],"photo_ids_order":["1399315030","1399315032","1399315033","1399315034","1399315035","1399315036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/139cf8d2eb280353f8369854d10cbf07.jpg","text":"TemporaryFile(/tmp/multipartBody800001402537617710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671343140,"filename":"image_04112025_10_57_02_4009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/890ac1e86a2b292aae23f149e3b5721f.jpg","text":"TemporaryFile(/tmp/multipartBody6324817863702755596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671343140,"filename":"image_04112025_10_57_10_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/387cba6a7edbda1105a23ca386074848.jpg","text":"TemporaryFile(/tmp/multipartBody7815861092319630157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671343140,"filename":"image_04112025_10_57_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/12/14/e1e64f9690bf93bab869020a1ce748d8.jpg","text":"TemporaryFile(/tmp/multipartBody9027419093155220050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671343140,"filename":"image_04112025_10_57_04_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ccd5a9c91ac0112ba5ef1843aae3f542.jpg","text":"TemporaryFile(/tmp/multipartBody4836538431443085805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671343140,"filename":"image_04112025_10_57_14_3190.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/046edc2658f7e970ea9703d7f92244f9.jpg","text":"TemporaryFile(/tmp/multipartBody7115966580346697925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671343140,"filename":"image_04112025_10_56_58_2877.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315033","file1":"1399315032","file0":"1399315030","file4":"1399315035","file5":"1399315036","file3":"1399315034"},"map_files_photo_id_array":[{"photo_id":"1399315036","filename":"file5"},{"photo_id":"1399315033","filename":"file2"},{"photo_id":"1399315035","filename":"file4"},{"photo_id":"1399315032","filename":"file1"},{"photo_id":"1399315030","filename":"file0"},{"photo_id":"1399315034","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315032":["hashtag1","hashtag2"]},{"1399315035":["hashtag1","hashtag2"]},{"1399315034":["hashtag1","hashtag2"]},{"1399315033":["hashtag1","hashtag2"]},{"1399315036":["hashtag1","hashtag2"]},{"1399315030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315032, 1399315035, 1399315034, 1399315033, 1399315036, 1399315030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11810564994812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:15:22.689185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/13/image_14122025_01_13_53_9839.jpg', '/home/pi/Desktop/images/14122025/01/14/image_14122025_01_14_23_9644.jpg', '/home/pi/Desktop/images/14122025/01/14/image_14122025_01_14_53_9663.jpg', '/home/pi/Desktop/images/14122025/01/15/image_14122025_01_15_23_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/13/image_14122025_01_13_53_9839.jpg
/home/pi/Desktop/images/14122025/01/14/image_14122025_01_14_23_9644.jpg
/home/pi/Desktop/images/14122025/01/14/image_14122025_01_14_53_9663.jpg
/home/pi/Desktop/images/14122025/01/15/image_14122025_01_15_23_9798.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38585472106933594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:15:32.607466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:15:42.560788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_16_2609.jpg', '/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_19_2640.jpg', '/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_23_3698.jpg', '/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_25_2833.jpg', '/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_34_8330.jpg', '/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_40_5906.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_16_2609.jpg
/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_19_2640.jpg
/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_23_3698.jpg
/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_25_2833.jpg
/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_34_8330.jpg
/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_40_5906.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315050","1399315047","1399315049","1399315051","1399315045","1399315048"],"photo_ids_order":["1399315045","1399315047","1399315048","1399315049","1399315050","1399315051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a783a6b20d7ce77264dabc7cb8a81293.jpg","text":"TemporaryFile(/tmp/multipartBody8300335744477658602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671403223,"filename":"image_04112025_10_57_34_8330.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1d8ed0fde078ad4f03087c3fcbed5635.jpg","text":"TemporaryFile(/tmp/multipartBody169559988023997568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671403223,"filename":"image_04112025_10_57_19_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d8e5188222d4f570146d420e6650af74.jpg","text":"TemporaryFile(/tmp/multipartBody2975780933898118612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671403223,"filename":"image_04112025_10_57_25_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/585a571fbcb78b0115fe2836a1e1196c.jpg","text":"TemporaryFile(/tmp/multipartBody2154970480561174319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671403223,"filename":"image_04112025_10_57_40_5906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd999cb33a4093ce9ff8335c9544aaed.jpg","text":"TemporaryFile(/tmp/multipartBody88745644141270101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671403223,"filename":"image_04112025_10_57_16_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/00361a8ed38a5806a973fc4470739fa5.jpg","text":"TemporaryFile(/tmp/multipartBody3652615682073271425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671403223,"filename":"image_04112025_10_57_23_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315048","file1":"1399315047","file0":"1399315045","file4":"1399315050","file5":"1399315051","file3":"1399315049"},"map_files_photo_id_array":[{"photo_id":"1399315051","filename":"file5"},{"photo_id":"1399315048","filename":"file2"},{"photo_id":"1399315050","filename":"file4"},{"photo_id":"1399315047","filename":"file1"},{"photo_id":"1399315045","filename":"file0"},{"photo_id":"1399315049","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315050":["hashtag1","hashtag2"]},{"1399315047":["hashtag1","hashtag2"]},{"1399315049":["hashtag1","hashtag2"]},{"1399315051":["hashtag1","hashtag2"]},{"1399315045":["hashtag1","hashtag2"]},{"1399315048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315050, 1399315047, 1399315049, 1399315051, 1399315045, 1399315048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36509466171265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:16:22.823083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/13/image_14122025_01_13_53_9839.jpg', '/home/pi/Desktop/images/14122025/01/14/image_14122025_01_14_23_9644.jpg', '/home/pi/Desktop/images/14122025/01/14/image_14122025_01_14_53_9663.jpg', '/home/pi/Desktop/images/14122025/01/15/image_14122025_01_15_23_9798.jpg', '/home/pi/Desktop/images/14122025/01/15/image_14122025_01_15_54_9764.jpg', '/home/pi/Desktop/images/14122025/01/15/image_14122025_01_16_04_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/13/image_14122025_01_13_53_9839.jpg
/home/pi/Desktop/images/14122025/01/14/image_14122025_01_14_23_9644.jpg
/home/pi/Desktop/images/14122025/01/14/image_14122025_01_14_53_9663.jpg
/home/pi/Desktop/images/14122025/01/15/image_14122025_01_15_23_9798.jpg
/home/pi/Desktop/images/14122025/01/15/image_14122025_01_15_54_9764.jpg
/home/pi/Desktop/images/14122025/01/15/image_14122025_01_16_04_10623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315062","1399315056","1399315052","1399315058","1399315060","1399315054"],"photo_ids_order":["1399315052","1399315054","1399315056","1399315058","1399315060","1399315062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1bb7aeef078a12222d645efca9fc2972.jpg","text":"TemporaryFile(/tmp/multipartBody7356443799242942336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671443368,"filename":"image_14122025_01_16_04_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/302b9ba6d1664897d0152aaff86f7f63.jpg","text":"TemporaryFile(/tmp/multipartBody5189533077935552075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671443368,"filename":"image_14122025_01_14_53_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0962a39032cc27262156850e04877759.jpg","text":"TemporaryFile(/tmp/multipartBody7950539012876851307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671443368,"filename":"image_14122025_01_13_53_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1739d2a8861f14de631fdb28e711d4d.jpg","text":"TemporaryFile(/tmp/multipartBody6832721436464880595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671443368,"filename":"image_14122025_01_15_23_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/531527358a984c07ac4e23f2e4601f25.jpg","text":"TemporaryFile(/tmp/multipartBody1575970400890885931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671443368,"filename":"image_14122025_01_15_54_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0e80760c65285163be2e1a85a8b1c9bb.jpg","text":"TemporaryFile(/tmp/multipartBody5758121104091369267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671443368,"filename":"image_14122025_01_14_23_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315056","file1":"1399315054","file0":"1399315052","file4":"1399315060","file5":"1399315062","file3":"1399315058"},"map_files_photo_id_array":[{"photo_id":"1399315062","filename":"file5"},{"photo_id":"1399315056","filename":"file2"},{"photo_id":"1399315060","filename":"file4"},{"photo_id":"1399315054","filename":"file1"},{"photo_id":"1399315052","filename":"file0"},{"photo_id":"1399315058","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315062":["hashtag1","hashtag2"]},{"1399315056":["hashtag1","hashtag2"]},{"1399315052":["hashtag1","hashtag2"]},{"1399315058":["hashtag1","hashtag2"]},{"1399315060":["hashtag1","hashtag2"]},{"1399315054":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315062, 1399315056, 1399315052, 1399315058, 1399315060, 1399315054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.819164991378784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:17:02.987951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/16/image_14122025_01_16_14_9565.jpg', '/home/pi/Desktop/images/14122025/01/16/image_14122025_01_16_23_9647.jpg', '/home/pi/Desktop/images/14122025/01/16/image_14122025_01_16_44_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/16/image_14122025_01_16_14_9565.jpg
/home/pi/Desktop/images/14122025/01/16/image_14122025_01_16_23_9647.jpg
/home/pi/Desktop/images/14122025/01/16/image_14122025_01_16_44_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315065","1399315064","1399315063"],"photo_ids_order":["1399315063","1399315064","1399315065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb5a95cfebbc5a36213b974a4e27e7df.jpg","text":"TemporaryFile(/tmp/multipartBody1437003130032775897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671483481,"filename":"image_14122025_01_16_44_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14abfeb6e7a7f32cd053a1bba3e70346.jpg","text":"TemporaryFile(/tmp/multipartBody3440726584695967708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671483481,"filename":"image_14122025_01_16_23_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/91a5b1156697e3c494b0712f5b9578f7.jpg","text":"TemporaryFile(/tmp/multipartBody5162872689249690602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671483481,"filename":"image_14122025_01_16_14_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315065","file1":"1399315064","file0":"1399315063"},"map_files_photo_id_array":[{"photo_id":"1399315065","filename":"file2"},{"photo_id":"1399315064","filename":"file1"},{"photo_id":"1399315063","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315065":["hashtag1","hashtag2"]},{"1399315064":["hashtag1","hashtag2"]},{"1399315063":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315065, 1399315064, 1399315063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.682806730270386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:17:32.093581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:17:42.077763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_41_1574.jpg', '/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_54_12872.jpg', '/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_56_1737.jpg', '/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_57_1574.jpg', '/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_59_1858.jpg', '/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_01_1873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_41_1574.jpg
/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_54_12872.jpg
/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_56_1737.jpg
/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_57_1574.jpg
/home/pi/Desktop/images/04112025/10/57/image_04112025_10_57_59_1858.jpg
/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_01_1873.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315070","1399315073","1399315076","1399315072","1399315075","1399315074"],"photo_ids_order":["1399315070","1399315072","1399315073","1399315074","1399315075","1399315076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ef66a1254efd868d6d49ab25320af4c.jpg","text":"TemporaryFile(/tmp/multipartBody6413217307476317647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671522740,"filename":"image_04112025_10_57_41_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f6d8a0427064099b1ac6774d59377a8e.jpg","text":"TemporaryFile(/tmp/multipartBody5108148930489632536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671522740,"filename":"image_04112025_10_57_56_1737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8dc381889df323130501dd1f8b34ac12.jpg","text":"TemporaryFile(/tmp/multipartBody2291071954312257491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671522740,"filename":"image_04112025_10_58_01_1873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6626619ebe5fe3c8c7c72e6c97f2584c.jpg","text":"TemporaryFile(/tmp/multipartBody8076985322087143959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671522740,"filename":"image_04112025_10_57_54_12872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/32dc4a5cf97cdabf51601f5a5f5d140d.jpg","text":"TemporaryFile(/tmp/multipartBody6807301923007098099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671522740,"filename":"image_04112025_10_57_59_1858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce92632ac1f28db15e5e467230f4eaf8.jpg","text":"TemporaryFile(/tmp/multipartBody157941684269786900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671522740,"filename":"image_04112025_10_57_57_1574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315073","file1":"1399315072","file0":"1399315070","file4":"1399315075","file5":"1399315076","file3":"1399315074"},"map_files_photo_id_array":[{"photo_id":"1399315076","filename":"file5"},{"photo_id":"1399315073","filename":"file2"},{"photo_id":"1399315075","filename":"file4"},{"photo_id":"1399315072","filename":"file1"},{"photo_id":"1399315070","filename":"file0"},{"photo_id":"1399315074","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315070":["hashtag1","hashtag2"]},{"1399315073":["hashtag1","hashtag2"]},{"1399315076":["hashtag1","hashtag2"]},{"1399315072":["hashtag1","hashtag2"]},{"1399315075":["hashtag1","hashtag2"]},{"1399315074":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315070, 1399315073, 1399315076, 1399315072, 1399315075, 1399315074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.898444414138794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:18:22.350811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/16/image_14122025_01_16_54_10651.jpg', '/home/pi/Desktop/images/14122025/01/16/image_14122025_01_17_04_9694.jpg', '/home/pi/Desktop/images/14122025/01/17/image_14122025_01_17_14_9625.jpg', '/home/pi/Desktop/images/14122025/01/17/image_14122025_01_17_24_10590.jpg', '/home/pi/Desktop/images/14122025/01/17/image_14122025_01_17_43_9518.jpg', '/home/pi/Desktop/images/14122025/01/17/image_14122025_01_17_54_10526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/16/image_14122025_01_16_54_10651.jpg
/home/pi/Desktop/images/14122025/01/16/image_14122025_01_17_04_9694.jpg
/home/pi/Desktop/images/14122025/01/17/image_14122025_01_17_14_9625.jpg
/home/pi/Desktop/images/14122025/01/17/image_14122025_01_17_24_10590.jpg
/home/pi/Desktop/images/14122025/01/17/image_14122025_01_17_43_9518.jpg
/home/pi/Desktop/images/14122025/01/17/image_14122025_01_17_54_10526.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.43756866455078125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:18:32.372817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:18:42.353380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_03_1620.jpg', '/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_04_1556.jpg', '/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_06_1769.jpg', '/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_08_1600.jpg', '/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_09_1679.jpg', '/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_11_1572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_03_1620.jpg
/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_04_1556.jpg
/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_06_1769.jpg
/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_08_1600.jpg
/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_09_1679.jpg
/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_11_1572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315091","1399315088","1399315090","1399315087","1399315092","1399315089"],"photo_ids_order":["1399315087","1399315088","1399315089","1399315090","1399315091","1399315092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/79bc2ed357b53b4fc5aed013b3427bfb.jpg","text":"TemporaryFile(/tmp/multipartBody1716854668587366304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671583049,"filename":"image_04112025_10_58_09_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/60ee7a5ac9e155a78f3544c737c8cdcf.jpg","text":"TemporaryFile(/tmp/multipartBody3191693333431339064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671583049,"filename":"image_04112025_10_58_04_1556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3390e4dd3c76802898cb2886f094af3.jpg","text":"TemporaryFile(/tmp/multipartBody2221754118457337531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671583049,"filename":"image_04112025_10_58_08_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8cd1a932e4baaa4feaf4c6c7ca4871f4.jpg","text":"TemporaryFile(/tmp/multipartBody2793188024177108716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671583049,"filename":"image_04112025_10_58_03_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1d031849d3e09e6cd8cd1a5909557473.jpg","text":"TemporaryFile(/tmp/multipartBody3311511414521289465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671583049,"filename":"image_04112025_10_58_11_1572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f7bebf06e52636630cbf7afec9ee2b0e.jpg","text":"TemporaryFile(/tmp/multipartBody9019378091624087128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671583049,"filename":"image_04112025_10_58_06_1769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315089","file1":"1399315088","file0":"1399315087","file4":"1399315091","file5":"1399315092","file3":"1399315090"},"map_files_photo_id_array":[{"photo_id":"1399315092","filename":"file5"},{"photo_id":"1399315089","filename":"file2"},{"photo_id":"1399315091","filename":"file4"},{"photo_id":"1399315088","filename":"file1"},{"photo_id":"1399315087","filename":"file0"},{"photo_id":"1399315090","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315091":["hashtag1","hashtag2"]},{"1399315088":["hashtag1","hashtag2"]},{"1399315090":["hashtag1","hashtag2"]},{"1399315087":["hashtag1","hashtag2"]},{"1399315092":["hashtag1","hashtag2"]},{"1399315089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315091, 1399315088, 1399315090, 1399315087, 1399315092, 1399315089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.198463678359985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:19:22.628336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/16/image_14122025_01_16_54_10651.jpg', '/home/pi/Desktop/images/14122025/01/16/image_14122025_01_17_04_9694.jpg', '/home/pi/Desktop/images/14122025/01/17/image_14122025_01_17_14_9625.jpg', '/home/pi/Desktop/images/14122025/01/17/image_14122025_01_17_24_10590.jpg', '/home/pi/Desktop/images/14122025/01/17/image_14122025_01_17_43_9518.jpg', '/home/pi/Desktop/images/14122025/01/17/image_14122025_01_17_54_10526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/16/image_14122025_01_16_54_10651.jpg
/home/pi/Desktop/images/14122025/01/16/image_14122025_01_17_04_9694.jpg
/home/pi/Desktop/images/14122025/01/17/image_14122025_01_17_14_9625.jpg
/home/pi/Desktop/images/14122025/01/17/image_14122025_01_17_24_10590.jpg
/home/pi/Desktop/images/14122025/01/17/image_14122025_01_17_43_9518.jpg
/home/pi/Desktop/images/14122025/01/17/image_14122025_01_17_54_10526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315097","1399315094","1399315103","1399315096","1399315100","1399315102"],"photo_ids_order":["1399315094","1399315096","1399315097","1399315100","1399315102","1399315103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c66940cbad0cb7abbd5ed93e08b187ca.jpg","text":"TemporaryFile(/tmp/multipartBody1669607195848035522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671623177,"filename":"image_14122025_01_17_14_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b56e0c66c094d480cf5bc93c2a75845.jpg","text":"TemporaryFile(/tmp/multipartBody1626872522407226031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671623177,"filename":"image_14122025_01_16_54_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d64c6223f31ec9493f81b3fb72c70077.jpg","text":"TemporaryFile(/tmp/multipartBody4190039159103814836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671623177,"filename":"image_14122025_01_17_54_10526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/217b908ed82a8a5e06738af2d7e9805e.jpg","text":"TemporaryFile(/tmp/multipartBody7584384312872136408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671623177,"filename":"image_14122025_01_17_04_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88ec072d1751401f6bbaf4131ab849af.jpg","text":"TemporaryFile(/tmp/multipartBody5296660715234988675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671623177,"filename":"image_14122025_01_17_24_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/967adf1a7a7b023161e3ed6a43b5a2fa.jpg","text":"TemporaryFile(/tmp/multipartBody1674080365256985733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671623177,"filename":"image_14122025_01_17_43_9518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315097","file1":"1399315096","file0":"1399315094","file4":"1399315102","file5":"1399315103","file3":"1399315100"},"map_files_photo_id_array":[{"photo_id":"1399315103","filename":"file5"},{"photo_id":"1399315097","filename":"file2"},{"photo_id":"1399315102","filename":"file4"},{"photo_id":"1399315096","filename":"file1"},{"photo_id":"1399315094","filename":"file0"},{"photo_id":"1399315100","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315097":["hashtag1","hashtag2"]},{"1399315094":["hashtag1","hashtag2"]},{"1399315103":["hashtag1","hashtag2"]},{"1399315096":["hashtag1","hashtag2"]},{"1399315100":["hashtag1","hashtag2"]},{"1399315102":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315097, 1399315094, 1399315103, 1399315096, 1399315100, 1399315102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.507407426834106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:20:02.323221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/17/image_14122025_01_18_04_9705.jpg', '/home/pi/Desktop/images/14122025/01/18/image_14122025_01_18_14_10589.jpg', '/home/pi/Desktop/images/14122025/01/18/image_14122025_01_18_24_9680.jpg', '/home/pi/Desktop/images/14122025/01/18/image_14122025_01_18_33_9628.jpg', '/home/pi/Desktop/images/14122025/01/18/image_14122025_01_18_44_10690.jpg', '/home/pi/Desktop/images/14122025/01/18/image_14122025_01_18_54_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/17/image_14122025_01_18_04_9705.jpg
/home/pi/Desktop/images/14122025/01/18/image_14122025_01_18_14_10589.jpg
/home/pi/Desktop/images/14122025/01/18/image_14122025_01_18_24_9680.jpg
/home/pi/Desktop/images/14122025/01/18/image_14122025_01_18_33_9628.jpg
/home/pi/Desktop/images/14122025/01/18/image_14122025_01_18_44_10690.jpg
/home/pi/Desktop/images/14122025/01/18/image_14122025_01_18_54_9663.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4754469394683838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:20:11.808906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:20:21.836698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/17/image_14122025_01_18_04_9705.jpg', '/home/pi/Desktop/images/14122025/01/18/image_14122025_01_18_14_10589.jpg', '/home/pi/Desktop/images/14122025/01/18/image_14122025_01_18_24_9680.jpg', '/home/pi/Desktop/images/14122025/01/18/image_14122025_01_18_33_9628.jpg', '/home/pi/Desktop/images/14122025/01/18/image_14122025_01_18_44_10690.jpg', '/home/pi/Desktop/images/14122025/01/18/image_14122025_01_18_54_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/17/image_14122025_01_18_04_9705.jpg
/home/pi/Desktop/images/14122025/01/18/image_14122025_01_18_14_10589.jpg
/home/pi/Desktop/images/14122025/01/18/image_14122025_01_18_24_9680.jpg
/home/pi/Desktop/images/14122025/01/18/image_14122025_01_18_33_9628.jpg
/home/pi/Desktop/images/14122025/01/18/image_14122025_01_18_44_10690.jpg
/home/pi/Desktop/images/14122025/01/18/image_14122025_01_18_54_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315110","1399315116","1399315118","1399315112","1399315120","1399315114"],"photo_ids_order":["1399315110","1399315112","1399315114","1399315116","1399315118","1399315120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5992c7be19c2abc346ce829b188e8e74.jpg","text":"TemporaryFile(/tmp/multipartBody3688619725184771342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671682406,"filename":"image_14122025_01_18_04_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a00791e39dbc4200ca0d5f1da1745612.jpg","text":"TemporaryFile(/tmp/multipartBody6898149411955705703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671682406,"filename":"image_14122025_01_18_33_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/406455190a9df59d9fc9746ef9ceed9d.jpg","text":"TemporaryFile(/tmp/multipartBody606638764155309183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671682406,"filename":"image_14122025_01_18_44_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f90c14e0514c858ee267159c5c1fc3d.jpg","text":"TemporaryFile(/tmp/multipartBody7796955376293813384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671682406,"filename":"image_14122025_01_18_14_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21c6572726ffdfad9e1e85381b9527dd.jpg","text":"TemporaryFile(/tmp/multipartBody407776606948457418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671682406,"filename":"image_14122025_01_18_54_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7b7c0cfd92b3730578244e4898e278c7.jpg","text":"TemporaryFile(/tmp/multipartBody2346216907748332481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671682406,"filename":"image_14122025_01_18_24_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315114","file1":"1399315112","file0":"1399315110","file4":"1399315118","file5":"1399315120","file3":"1399315116"},"map_files_photo_id_array":[{"photo_id":"1399315120","filename":"file5"},{"photo_id":"1399315114","filename":"file2"},{"photo_id":"1399315118","filename":"file4"},{"photo_id":"1399315112","filename":"file1"},{"photo_id":"1399315110","filename":"file0"},{"photo_id":"1399315116","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315110":["hashtag1","hashtag2"]},{"1399315116":["hashtag1","hashtag2"]},{"1399315118":["hashtag1","hashtag2"]},{"1399315112":["hashtag1","hashtag2"]},{"1399315120":["hashtag1","hashtag2"]},{"1399315114":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315110, 1399315116, 1399315118, 1399315112, 1399315120, 1399315114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34229326248169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:21:02.787573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/18/image_14122025_01_19_03_9614.jpg', '/home/pi/Desktop/images/14122025/01/19/image_14122025_01_19_14_10652.jpg', '/home/pi/Desktop/images/14122025/01/19/image_14122025_01_19_24_9643.jpg', '/home/pi/Desktop/images/14122025/01/19/image_14122025_01_19_54_9568.jpg', '/home/pi/Desktop/images/14122025/01/19/image_14122025_01_20_04_10668.jpg', '/home/pi/Desktop/images/14122025/01/20/image_14122025_01_20_14_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/18/image_14122025_01_19_03_9614.jpg
/home/pi/Desktop/images/14122025/01/19/image_14122025_01_19_14_10652.jpg
/home/pi/Desktop/images/14122025/01/19/image_14122025_01_19_24_9643.jpg
/home/pi/Desktop/images/14122025/01/19/image_14122025_01_19_54_9568.jpg
/home/pi/Desktop/images/14122025/01/19/image_14122025_01_20_04_10668.jpg
/home/pi/Desktop/images/14122025/01/20/image_14122025_01_20_14_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":["1399315122","1399315125","1399315121","1399315124","1399315127","1399315123"],"photo_ids_order":["1399315121","1399315122","1399315123","1399315124","1399315125","1399315127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1a9a1868b88bbff325b9d228c56f4016.jpg","text":"TemporaryFile(/tmp/multipartBody6557291176634192077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671723400,"filename":"image_14122025_01_19_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/12/14/9191e327834e6e87a06d76c438bf00a9.jpg","text":"TemporaryFile(/tmp/multipartBody3395466514297132504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671723400,"filename":"image_14122025_01_20_04_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7b6eb5e8aa79d6192b183a6466b5d3de.jpg","text":"TemporaryFile(/tmp/multipartBody3834747625471224448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671723400,"filename":"image_14122025_01_19_03_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cceeacb929b4e00322d7449041a7fa04.jpg","text":"TemporaryFile(/tmp/multipartBody6307497239425328514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671723400,"filename":"image_14122025_01_19_54_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8344b1f68728012cfc8767ddf8230db3.jpg","text":"TemporaryFile(/tmp/multipartBody8783194156865638292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671723400,"filename":"image_14122025_01_20_14_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51b4d70c6484e7e62e0f1acc9363660c.jpg","text":"TemporaryFile(/tmp/multipartBody1336343247415588795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671723400,"filename":"image_14122025_01_19_24_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315123","file1":"1399315122","file0":"1399315121","file4":"1399315125","file5":"1399315127","file3":"1399315124"},"map_files_photo_id_array":[{"photo_id":"1399315127","filename":"file5"},{"photo_id":"1399315123","filename":"file2"},{"photo_id":"1399315125","filename":"file4"},{"photo_id":"1399315122","filename":"file1"},{"photo_id":"1399315121","filename":"file0"},{"photo_id":"1399315124","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315122":["hashtag1","hashtag2"]},{"1399315125":["hashtag1","hashtag2"]},{"1399315121":["hashtag1","hashtag2"]},{"1399315124":["hashtag1","hashtag2"]},{"1399315127":["hashtag1","hashtag2"]},{"1399315123":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315122, 1399315125, 1399315121, 1399315124, 1399315127, 1399315123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97384548187256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:21:42.023328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_12_1590.jpg', '/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_14_1535.jpg', '/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_16_1609.jpg', '/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_19_3683.jpg', '/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_22_2621.jpg', '/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_25_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_12_1590.jpg
/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_14_1535.jpg
/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_16_1609.jpg
/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_19_3683.jpg
/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_22_2621.jpg
/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_25_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":["1399315137","1399315134","1399315136","1399315138","1399315132","1399315135"],"photo_ids_order":["1399315132","1399315134","1399315135","1399315136","1399315137","1399315138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a1d38f274bc44ff9610a562358b56ed.jpg","text":"TemporaryFile(/tmp/multipartBody4183684893529724777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671762714,"filename":"image_04112025_10_58_22_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/685ec35c8945e75ca722c1916c2e9e96.jpg","text":"TemporaryFile(/tmp/multipartBody6545566230702223507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671762714,"filename":"image_04112025_10_58_14_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/52abd505781ea490aa2638bb6d57d3a2.jpg","text":"TemporaryFile(/tmp/multipartBody4473047490343742578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671762714,"filename":"image_04112025_10_58_19_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3be90490725332758fc3b6f9b04e1669.jpg","text":"TemporaryFile(/tmp/multipartBody7573626707127723880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671762714,"filename":"image_04112025_10_58_25_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/79d3a5a52708bd844c013b6942aa7ad2.jpg","text":"TemporaryFile(/tmp/multipartBody5555808132045025620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671762714,"filename":"image_04112025_10_58_12_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/408d5aedca3f8609b9d24cddde34a307.jpg","text":"TemporaryFile(/tmp/multipartBody5012659798717054699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671762714,"filename":"image_04112025_10_58_16_1609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315135","file1":"1399315134","file0":"1399315132","file4":"1399315137","file5":"1399315138","file3":"1399315136"},"map_files_photo_id_array":[{"photo_id":"1399315138","filename":"file5"},{"photo_id":"1399315135","filename":"file2"},{"photo_id":"1399315137","filename":"file4"},{"photo_id":"1399315134","filename":"file1"},{"photo_id":"1399315132","filename":"file0"},{"photo_id":"1399315136","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315137":["hashtag1","hashtag2"]},{"1399315134":["hashtag1","hashtag2"]},{"1399315136":["hashtag1","hashtag2"]},{"1399315138":["hashtag1","hashtag2"]},{"1399315132":["hashtag1","hashtag2"]},{"1399315135":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315137, 1399315134, 1399315136, 1399315138, 1399315132, 1399315135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56797003746033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:22:22.311361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/20/image_14122025_01_20_24_9703.jpg', '/home/pi/Desktop/images/14122025/01/20/image_14122025_01_20_33_9631.jpg', '/home/pi/Desktop/images/14122025/01/20/image_14122025_01_20_44_10642.jpg', '/home/pi/Desktop/images/14122025/01/20/image_14122025_01_21_04_10624.jpg', '/home/pi/Desktop/images/14122025/01/21/image_14122025_01_21_14_9707.jpg', '/home/pi/Desktop/images/14122025/01/21/image_14122025_01_21_23_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/20/image_14122025_01_20_24_9703.jpg
/home/pi/Desktop/images/14122025/01/20/image_14122025_01_20_33_9631.jpg
/home/pi/Desktop/images/14122025/01/20/image_14122025_01_20_44_10642.jpg
/home/pi/Desktop/images/14122025/01/20/image_14122025_01_21_04_10624.jpg
/home/pi/Desktop/images/14122025/01/21/image_14122025_01_21_14_9707.jpg
/home/pi/Desktop/images/14122025/01/21/image_14122025_01_21_23_9669.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4437224864959717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:22:32.294462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:22:42.234534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_28_3251.jpg', '/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_31_3534.jpg', '/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_42_10212.jpg', '/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_43_1811.jpg', '/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_56_12924.jpg', '/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_58_1796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_28_3251.jpg
/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_31_3534.jpg
/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_42_10212.jpg
/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_43_1811.jpg
/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_56_12924.jpg
/home/pi/Desktop/images/04112025/10/58/image_04112025_10_58_58_1796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315149","1399315152","1399315146","1399315151","1399315148","1399315150"],"photo_ids_order":["1399315146","1399315148","1399315149","1399315150","1399315151","1399315152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/37c561622f60bb18ebd14c784efa4433.jpg","text":"TemporaryFile(/tmp/multipartBody8663237717750881244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671822930,"filename":"image_04112025_10_58_42_10212.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0cdf1bb18fe82e931277f531e5a0e406.jpg","text":"TemporaryFile(/tmp/multipartBody7727303820046962594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671822930,"filename":"image_04112025_10_58_58_1796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5849560664f68daa14b917efc2ee5680.jpg","text":"TemporaryFile(/tmp/multipartBody7854128222321982171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671822930,"filename":"image_04112025_10_58_28_3251.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eb9ff0623ef7f3a056c199fb155c5ff2.jpg","text":"TemporaryFile(/tmp/multipartBody6929744227490730285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671822930,"filename":"image_04112025_10_58_56_12924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c4b58d1dd572e9f6cedb628f6223e06.jpg","text":"TemporaryFile(/tmp/multipartBody2265781728122389503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671822930,"filename":"image_04112025_10_58_31_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/40e02e12b363a276b76119d121ca9ae8.jpg","text":"TemporaryFile(/tmp/multipartBody5582716608173023647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671822930,"filename":"image_04112025_10_58_43_1811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315149","file1":"1399315148","file0":"1399315146","file4":"1399315151","file5":"1399315152","file3":"1399315150"},"map_files_photo_id_array":[{"photo_id":"1399315152","filename":"file5"},{"photo_id":"1399315149","filename":"file2"},{"photo_id":"1399315151","filename":"file4"},{"photo_id":"1399315148","filename":"file1"},{"photo_id":"1399315146","filename":"file0"},{"photo_id":"1399315150","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315149":["hashtag1","hashtag2"]},{"1399315152":["hashtag1","hashtag2"]},{"1399315146":["hashtag1","hashtag2"]},{"1399315151":["hashtag1","hashtag2"]},{"1399315148":["hashtag1","hashtag2"]},{"1399315150":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315149, 1399315152, 1399315146, 1399315151, 1399315148, 1399315150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69161248207092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:23:22.621353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/20/image_14122025_01_20_24_9703.jpg', '/home/pi/Desktop/images/14122025/01/20/image_14122025_01_20_33_9631.jpg', '/home/pi/Desktop/images/14122025/01/20/image_14122025_01_20_44_10642.jpg', '/home/pi/Desktop/images/14122025/01/20/image_14122025_01_21_04_10624.jpg', '/home/pi/Desktop/images/14122025/01/21/image_14122025_01_21_14_9707.jpg', '/home/pi/Desktop/images/14122025/01/21/image_14122025_01_21_23_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/20/image_14122025_01_20_24_9703.jpg
/home/pi/Desktop/images/14122025/01/20/image_14122025_01_20_33_9631.jpg
/home/pi/Desktop/images/14122025/01/20/image_14122025_01_20_44_10642.jpg
/home/pi/Desktop/images/14122025/01/20/image_14122025_01_21_04_10624.jpg
/home/pi/Desktop/images/14122025/01/21/image_14122025_01_21_14_9707.jpg
/home/pi/Desktop/images/14122025/01/21/image_14122025_01_21_23_9669.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.43415260314941406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:23:32.495213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:23:42.498855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_14_15686.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_17_3362.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_19_1601.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_20_1575.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_22_1740.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_24_1614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_14_15686.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_17_3362.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_19_1601.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_20_1575.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_22_1740.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_24_1614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315166","1399315169","1399315163","1399315165","1399315168","1399315167"],"photo_ids_order":["1399315163","1399315165","1399315166","1399315167","1399315168","1399315169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e9a60adcf18c4f9ac5897a04b764f1c.jpg","text":"TemporaryFile(/tmp/multipartBody6048626990787609869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671883212,"filename":"image_04112025_10_59_19_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2731d0eda3d928ab6d99ee84179ba03c.jpg","text":"TemporaryFile(/tmp/multipartBody4590389184140672633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671883212,"filename":"image_04112025_10_59_24_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6aa3b72d1859e6e26213cc56f74273a5.jpg","text":"TemporaryFile(/tmp/multipartBody450924758241926792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671883212,"filename":"image_04112025_10_59_14_15686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7fc91aba21c1eb7210bf6c21e795b781.jpg","text":"TemporaryFile(/tmp/multipartBody6333113540306048499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671883212,"filename":"image_04112025_10_59_17_3362.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0a4c2f9654a4a2eab13348a24b99cbcd.jpg","text":"TemporaryFile(/tmp/multipartBody8437314000321233872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671883212,"filename":"image_04112025_10_59_22_1740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a0f9c5832ee1504adf3ffc7157ad341.jpg","text":"TemporaryFile(/tmp/multipartBody5394382611425773445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671883212,"filename":"image_04112025_10_59_20_1575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315166","file1":"1399315165","file0":"1399315163","file4":"1399315168","file5":"1399315169","file3":"1399315167"},"map_files_photo_id_array":[{"photo_id":"1399315169","filename":"file5"},{"photo_id":"1399315166","filename":"file2"},{"photo_id":"1399315168","filename":"file4"},{"photo_id":"1399315165","filename":"file1"},{"photo_id":"1399315163","filename":"file0"},{"photo_id":"1399315167","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315166":["hashtag1","hashtag2"]},{"1399315169":["hashtag1","hashtag2"]},{"1399315163":["hashtag1","hashtag2"]},{"1399315165":["hashtag1","hashtag2"]},{"1399315168":["hashtag1","hashtag2"]},{"1399315167":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315166, 1399315169, 1399315163, 1399315165, 1399315168, 1399315167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.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 --last_days 40
2025-12-14 01:24:22.764692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/20/image_14122025_01_20_24_9703.jpg', '/home/pi/Desktop/images/14122025/01/20/image_14122025_01_20_33_9631.jpg', '/home/pi/Desktop/images/14122025/01/20/image_14122025_01_20_44_10642.jpg', '/home/pi/Desktop/images/14122025/01/20/image_14122025_01_21_04_10624.jpg', '/home/pi/Desktop/images/14122025/01/21/image_14122025_01_21_14_9707.jpg', '/home/pi/Desktop/images/14122025/01/21/image_14122025_01_21_23_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/20/image_14122025_01_20_24_9703.jpg
/home/pi/Desktop/images/14122025/01/20/image_14122025_01_20_33_9631.jpg
/home/pi/Desktop/images/14122025/01/20/image_14122025_01_20_44_10642.jpg
/home/pi/Desktop/images/14122025/01/20/image_14122025_01_21_04_10624.jpg
/home/pi/Desktop/images/14122025/01/21/image_14122025_01_21_14_9707.jpg
/home/pi/Desktop/images/14122025/01/21/image_14122025_01_21_23_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":["1399315176","1399315178","1399315175","1399315180","1399315171","1399315173"],"photo_ids_order":["1399315171","1399315173","1399315175","1399315176","1399315178","1399315180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b794964526eed58d6244feccb271444.jpg","text":"TemporaryFile(/tmp/multipartBody3606853288055835878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671923305,"filename":"image_14122025_01_21_04_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ea89031e282ed7a77212d39aabfd0d1.jpg","text":"TemporaryFile(/tmp/multipartBody2240941498240448763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671923305,"filename":"image_14122025_01_21_14_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0491f96f967ae1f8c4d410ef1c5f2aae.jpg","text":"TemporaryFile(/tmp/multipartBody2540152978819858966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671923305,"filename":"image_14122025_01_20_44_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ed6a38da07e37aa412c1b732fac8429b.jpg","text":"TemporaryFile(/tmp/multipartBody1997673119013783567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671923305,"filename":"image_14122025_01_21_23_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/55a5f21f290576d44214a16aebe1d027.jpg","text":"TemporaryFile(/tmp/multipartBody8181564043528884880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671923305,"filename":"image_14122025_01_20_24_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/83b481c69035678c917223ca5aac09fa.jpg","text":"TemporaryFile(/tmp/multipartBody7209750942211525973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671923305,"filename":"image_14122025_01_20_33_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315175","file1":"1399315173","file0":"1399315171","file4":"1399315178","file5":"1399315180","file3":"1399315176"},"map_files_photo_id_array":[{"photo_id":"1399315180","filename":"file5"},{"photo_id":"1399315175","filename":"file2"},{"photo_id":"1399315178","filename":"file4"},{"photo_id":"1399315173","filename":"file1"},{"photo_id":"1399315171","filename":"file0"},{"photo_id":"1399315176","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315176":["hashtag1","hashtag2"]},{"1399315178":["hashtag1","hashtag2"]},{"1399315175":["hashtag1","hashtag2"]},{"1399315180":["hashtag1","hashtag2"]},{"1399315171":["hashtag1","hashtag2"]},{"1399315173":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315176, 1399315178, 1399315175, 1399315180, 1399315171, 1399315173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.974374771118164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:25:02.658892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/21/image_14122025_01_21_34_10646.jpg', '/home/pi/Desktop/images/14122025/01/22/image_14122025_01_22_34_10692.jpg', '/home/pi/Desktop/images/14122025/01/22/image_14122025_01_22_44_9535.jpg', '/home/pi/Desktop/images/14122025/01/23/image_14122025_01_23_24_9877.jpg', '/home/pi/Desktop/images/14122025/01/23/image_14122025_01_23_33_9672.jpg', '/home/pi/Desktop/images/14122025/01/23/image_14122025_01_23_44_10742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/21/image_14122025_01_21_34_10646.jpg
/home/pi/Desktop/images/14122025/01/22/image_14122025_01_22_34_10692.jpg
/home/pi/Desktop/images/14122025/01/22/image_14122025_01_22_44_9535.jpg
/home/pi/Desktop/images/14122025/01/23/image_14122025_01_23_24_9877.jpg
/home/pi/Desktop/images/14122025/01/23/image_14122025_01_23_33_9672.jpg
/home/pi/Desktop/images/14122025/01/23/image_14122025_01_23_44_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":["1399315182","1399315184","1399315187","1399315181","1399315183","1399315185"],"photo_ids_order":["1399315181","1399315182","1399315183","1399315184","1399315185","1399315187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b052d7c4dcadf1c02df019be930a82a.jpg","text":"TemporaryFile(/tmp/multipartBody2565173019776573312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671963248,"filename":"image_14122025_01_22_34_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/33cfcaa5cb3e1ac0c9d265b341e526d0.jpg","text":"TemporaryFile(/tmp/multipartBody4847684145839100696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671963248,"filename":"image_14122025_01_23_24_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/01ae72738ba5ccaf06a9ab1e64e1f89e.jpg","text":"TemporaryFile(/tmp/multipartBody3574881148362763656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671963248,"filename":"image_14122025_01_23_44_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a13757c4d3399c7fe1619dbc68a626f.jpg","text":"TemporaryFile(/tmp/multipartBody1582413727289842964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671963248,"filename":"image_14122025_01_21_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/12/14/5879435d9738a16ab978d10eec3c6052.jpg","text":"TemporaryFile(/tmp/multipartBody855715126358185507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671963248,"filename":"image_14122025_01_22_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/12/14/995fffd79d468545b776b327d274df7d.jpg","text":"TemporaryFile(/tmp/multipartBody7227431062988120820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765671963248,"filename":"image_14122025_01_23_33_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315183","file1":"1399315182","file0":"1399315181","file4":"1399315185","file5":"1399315187","file3":"1399315184"},"map_files_photo_id_array":[{"photo_id":"1399315187","filename":"file5"},{"photo_id":"1399315183","filename":"file2"},{"photo_id":"1399315185","filename":"file4"},{"photo_id":"1399315182","filename":"file1"},{"photo_id":"1399315181","filename":"file0"},{"photo_id":"1399315184","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315182":["hashtag1","hashtag2"]},{"1399315184":["hashtag1","hashtag2"]},{"1399315187":["hashtag1","hashtag2"]},{"1399315181":["hashtag1","hashtag2"]},{"1399315183":["hashtag1","hashtag2"]},{"1399315185":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315182, 1399315184, 1399315187, 1399315181, 1399315183, 1399315185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.463438272476196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:25:41.921906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_26_1847.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_33_7147.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_35_1835.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_36_1548.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_38_1547.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_39_1520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_26_1847.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_33_7147.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_35_1835.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_36_1548.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_38_1547.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_39_1520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315197","1399315196","1399315192","1399315195","1399315198","1399315194"],"photo_ids_order":["1399315192","1399315194","1399315195","1399315196","1399315197","1399315198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa9e2f7b5dc39f06d2357497f0250629.jpg","text":"TemporaryFile(/tmp/multipartBody3221180002890276904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672002640,"filename":"image_04112025_10_59_38_1547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5918528d39f8102fdf95d0c1175c459e.jpg","text":"TemporaryFile(/tmp/multipartBody8247551109041482316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672002640,"filename":"image_04112025_10_59_36_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ccd4daf4ba0cefefeddfb0e43c72953.jpg","text":"TemporaryFile(/tmp/multipartBody2716437276296888709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672002640,"filename":"image_04112025_10_59_26_1847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56596df1cc52d69e84e069f244bd3d6b.jpg","text":"TemporaryFile(/tmp/multipartBody3921543713478567560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672002640,"filename":"image_04112025_10_59_35_1835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c9b28f3c36e21930ed5430882c8fc2a8.jpg","text":"TemporaryFile(/tmp/multipartBody122607050418446968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672002640,"filename":"image_04112025_10_59_39_1520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/637934ae1eab93cd7b82dfff3acc8cd7.jpg","text":"TemporaryFile(/tmp/multipartBody4674321250228448740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672002640,"filename":"image_04112025_10_59_33_7147.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315195","file1":"1399315194","file0":"1399315192","file4":"1399315197","file5":"1399315198","file3":"1399315196"},"map_files_photo_id_array":[{"photo_id":"1399315198","filename":"file5"},{"photo_id":"1399315195","filename":"file2"},{"photo_id":"1399315197","filename":"file4"},{"photo_id":"1399315194","filename":"file1"},{"photo_id":"1399315192","filename":"file0"},{"photo_id":"1399315196","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315197":["hashtag1","hashtag2"]},{"1399315196":["hashtag1","hashtag2"]},{"1399315192":["hashtag1","hashtag2"]},{"1399315195":["hashtag1","hashtag2"]},{"1399315198":["hashtag1","hashtag2"]},{"1399315194":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315197, 1399315196, 1399315192, 1399315195, 1399315198, 1399315194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37924599647522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:26:22.186203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/23/image_14122025_01_23_54_9680.jpg', '/home/pi/Desktop/images/14122025/01/23/image_14122025_01_24_03_9663.jpg', '/home/pi/Desktop/images/14122025/01/24/image_14122025_01_24_14_10719.jpg', '/home/pi/Desktop/images/14122025/01/24/image_14122025_01_24_44_10567.jpg', '/home/pi/Desktop/images/14122025/01/24/image_14122025_01_24_54_9636.jpg', '/home/pi/Desktop/images/14122025/01/25/image_14122025_01_25_14_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/23/image_14122025_01_23_54_9680.jpg
/home/pi/Desktop/images/14122025/01/23/image_14122025_01_24_03_9663.jpg
/home/pi/Desktop/images/14122025/01/24/image_14122025_01_24_14_10719.jpg
/home/pi/Desktop/images/14122025/01/24/image_14122025_01_24_44_10567.jpg
/home/pi/Desktop/images/14122025/01/24/image_14122025_01_24_54_9636.jpg
/home/pi/Desktop/images/14122025/01/25/image_14122025_01_25_14_10589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315212","1399315200","1399315199","1399315202","1399315205","1399315207"],"photo_ids_order":["1399315199","1399315200","1399315202","1399315205","1399315207","1399315212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/110a1ac9caafc3b5d97ebd85545fd463.jpg","text":"TemporaryFile(/tmp/multipartBody6292324888812824870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672042733,"filename":"image_14122025_01_25_14_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e36831025833478bd5faaf9823057f37.jpg","text":"TemporaryFile(/tmp/multipartBody5997804737572303576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672042733,"filename":"image_14122025_01_24_03_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/175b3c2a7da79f9c611ffba5cb0087ff.jpg","text":"TemporaryFile(/tmp/multipartBody16129875505400949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672042733,"filename":"image_14122025_01_23_54_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a57005585b386667a68d498df2b85573.jpg","text":"TemporaryFile(/tmp/multipartBody569570068849930277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672042733,"filename":"image_14122025_01_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/12/14/ae4c06833d1ef705c2c398ed177f0cb1.jpg","text":"TemporaryFile(/tmp/multipartBody8174205299840886422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672042733,"filename":"image_14122025_01_24_44_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/705c75084ba987335bbbe3906966ccae.jpg","text":"TemporaryFile(/tmp/multipartBody7756131965868001280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672042733,"filename":"image_14122025_01_24_54_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315202","file1":"1399315200","file0":"1399315199","file4":"1399315207","file5":"1399315212","file3":"1399315205"},"map_files_photo_id_array":[{"photo_id":"1399315212","filename":"file5"},{"photo_id":"1399315202","filename":"file2"},{"photo_id":"1399315207","filename":"file4"},{"photo_id":"1399315200","filename":"file1"},{"photo_id":"1399315199","filename":"file0"},{"photo_id":"1399315205","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315212":["hashtag1","hashtag2"]},{"1399315200":["hashtag1","hashtag2"]},{"1399315199":["hashtag1","hashtag2"]},{"1399315202":["hashtag1","hashtag2"]},{"1399315205":["hashtag1","hashtag2"]},{"1399315207":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315212, 1399315200, 1399315199, 1399315202, 1399315205, 1399315207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11590337753296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:27:03.112142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/25/image_14122025_01_25_33_9699.jpg', '/home/pi/Desktop/images/14122025/01/25/image_14122025_01_25_54_9880.jpg', '/home/pi/Desktop/images/14122025/01/25/image_14122025_01_26_04_9588.jpg', '/home/pi/Desktop/images/14122025/01/26/image_14122025_01_26_14_10630.jpg', '/home/pi/Desktop/images/14122025/01/26/image_14122025_01_26_24_9602.jpg', '/home/pi/Desktop/images/14122025/01/26/image_14122025_01_26_34_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/25/image_14122025_01_25_33_9699.jpg
/home/pi/Desktop/images/14122025/01/25/image_14122025_01_25_54_9880.jpg
/home/pi/Desktop/images/14122025/01/25/image_14122025_01_26_04_9588.jpg
/home/pi/Desktop/images/14122025/01/26/image_14122025_01_26_14_10630.jpg
/home/pi/Desktop/images/14122025/01/26/image_14122025_01_26_24_9602.jpg
/home/pi/Desktop/images/14122025/01/26/image_14122025_01_26_34_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":["1399315221","1399315224","1399315220","1399315217","1399315219","1399315222"],"photo_ids_order":["1399315217","1399315219","1399315220","1399315221","1399315222","1399315224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/16d77f766517556fb124715b23b73d76.jpg","text":"TemporaryFile(/tmp/multipartBody8843806968142131395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672083732,"filename":"image_14122025_01_26_14_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2daecfd064bc296df0cb03ce247751d9.jpg","text":"TemporaryFile(/tmp/multipartBody8688202234299676359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672083732,"filename":"image_14122025_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/12/14/2eddf887acb676d3baa2257b919bffdb.jpg","text":"TemporaryFile(/tmp/multipartBody6592798067421255842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672083732,"filename":"image_14122025_01_26_04_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/16197cf8424aeee32d59cbc82175a200.jpg","text":"TemporaryFile(/tmp/multipartBody1062281056130024337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672083732,"filename":"image_14122025_01_25_33_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a38d62a5ff39bbef5e5eebf59ebd989.jpg","text":"TemporaryFile(/tmp/multipartBody7541188114194378105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672083732,"filename":"image_14122025_01_25_54_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/974ff4066f803256a8873120de076778.jpg","text":"TemporaryFile(/tmp/multipartBody1621982709517151508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672083732,"filename":"image_14122025_01_26_24_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315220","file1":"1399315219","file0":"1399315217","file4":"1399315222","file5":"1399315224","file3":"1399315221"},"map_files_photo_id_array":[{"photo_id":"1399315224","filename":"file5"},{"photo_id":"1399315220","filename":"file2"},{"photo_id":"1399315222","filename":"file4"},{"photo_id":"1399315219","filename":"file1"},{"photo_id":"1399315217","filename":"file0"},{"photo_id":"1399315221","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315221":["hashtag1","hashtag2"]},{"1399315224":["hashtag1","hashtag2"]},{"1399315220":["hashtag1","hashtag2"]},{"1399315217":["hashtag1","hashtag2"]},{"1399315219":["hashtag1","hashtag2"]},{"1399315222":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315221, 1399315224, 1399315220, 1399315217, 1399315219, 1399315222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11500835418701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:27:42.461677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_41_1621.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_43_1855.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_44_1855.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_46_1578.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_48_1502.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_49_1775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_41_1621.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_43_1855.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_44_1855.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_46_1578.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_48_1502.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_49_1775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315233","1399315232","1399315235","1399315229","1399315231","1399315234"],"photo_ids_order":["1399315229","1399315231","1399315232","1399315233","1399315234","1399315235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be6cbfbb9041ce6283c16c17645e809f.jpg","text":"TemporaryFile(/tmp/multipartBody6829175499501830513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672123150,"filename":"image_04112025_10_59_46_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e07922e19eb6643206dd23245ceec3f9.jpg","text":"TemporaryFile(/tmp/multipartBody8580025592238265187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672123150,"filename":"image_04112025_10_59_44_1855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/55ac816758bee4ec95d698f8b6c292a4.jpg","text":"TemporaryFile(/tmp/multipartBody7649310943501893002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672123150,"filename":"image_04112025_10_59_49_1775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8bff3d0328f6abe9cd06c27947a2fbe8.jpg","text":"TemporaryFile(/tmp/multipartBody123426656880213454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672123150,"filename":"image_04112025_10_59_41_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/abd871fac1f41145b56b389ff5d51aae.jpg","text":"TemporaryFile(/tmp/multipartBody4194233228028418703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672123150,"filename":"image_04112025_10_59_43_1855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bef45aede554b0e41e4577ba86649b23.jpg","text":"TemporaryFile(/tmp/multipartBody9054131664637057832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672123150,"filename":"image_04112025_10_59_48_1502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315232","file1":"1399315231","file0":"1399315229","file4":"1399315234","file5":"1399315235","file3":"1399315233"},"map_files_photo_id_array":[{"photo_id":"1399315235","filename":"file5"},{"photo_id":"1399315232","filename":"file2"},{"photo_id":"1399315234","filename":"file4"},{"photo_id":"1399315231","filename":"file1"},{"photo_id":"1399315229","filename":"file0"},{"photo_id":"1399315233","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315233":["hashtag1","hashtag2"]},{"1399315232":["hashtag1","hashtag2"]},{"1399315235":["hashtag1","hashtag2"]},{"1399315229":["hashtag1","hashtag2"]},{"1399315231":["hashtag1","hashtag2"]},{"1399315234":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315233, 1399315232, 1399315235, 1399315229, 1399315231, 1399315234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99817156791687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:28:22.724040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/26/image_14122025_01_26_44_10606.jpg', '/home/pi/Desktop/images/14122025/01/26/image_14122025_01_26_54_9582.jpg', '/home/pi/Desktop/images/14122025/01/26/image_14122025_01_27_04_9805.jpg', '/home/pi/Desktop/images/14122025/01/27/image_14122025_01_27_13_9665.jpg', '/home/pi/Desktop/images/14122025/01/27/image_14122025_01_27_24_10642.jpg', '/home/pi/Desktop/images/14122025/01/27/image_14122025_01_27_34_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/26/image_14122025_01_26_44_10606.jpg
/home/pi/Desktop/images/14122025/01/26/image_14122025_01_26_54_9582.jpg
/home/pi/Desktop/images/14122025/01/26/image_14122025_01_27_04_9805.jpg
/home/pi/Desktop/images/14122025/01/27/image_14122025_01_27_13_9665.jpg
/home/pi/Desktop/images/14122025/01/27/image_14122025_01_27_24_10642.jpg
/home/pi/Desktop/images/14122025/01/27/image_14122025_01_27_34_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315242","1399315236","1399315247","1399315244","1399315238","1399315240"],"photo_ids_order":["1399315236","1399315238","1399315240","1399315242","1399315244","1399315247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1005837c5f1e856d91d62f081a57e41f.jpg","text":"TemporaryFile(/tmp/multipartBody3218012648474316320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672163266,"filename":"image_14122025_01_27_13_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ee026b6b1356c5e5c4ffaa8026ac7428.jpg","text":"TemporaryFile(/tmp/multipartBody2207709824665389834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672163266,"filename":"image_14122025_01_26_44_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/02612b3a00a80c4bac69aa358c48e00c.jpg","text":"TemporaryFile(/tmp/multipartBody3996556754311733403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672163266,"filename":"image_14122025_01_27_34_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e0a9ae4bce79958ce3374e2de3fad4f4.jpg","text":"TemporaryFile(/tmp/multipartBody5543448251521866192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672163266,"filename":"image_14122025_01_27_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/12/14/8e69f4934e037900ca2819897fa39753.jpg","text":"TemporaryFile(/tmp/multipartBody2803190855226393123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672163266,"filename":"image_14122025_01_26_54_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6af0cda32cf863dccd735ad4adc78c71.jpg","text":"TemporaryFile(/tmp/multipartBody7150254786621810361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672163266,"filename":"image_14122025_01_27_04_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315240","file1":"1399315238","file0":"1399315236","file4":"1399315244","file5":"1399315247","file3":"1399315242"},"map_files_photo_id_array":[{"photo_id":"1399315247","filename":"file5"},{"photo_id":"1399315240","filename":"file2"},{"photo_id":"1399315244","filename":"file4"},{"photo_id":"1399315238","filename":"file1"},{"photo_id":"1399315236","filename":"file0"},{"photo_id":"1399315242","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315242":["hashtag1","hashtag2"]},{"1399315236":["hashtag1","hashtag2"]},{"1399315247":["hashtag1","hashtag2"]},{"1399315244":["hashtag1","hashtag2"]},{"1399315238":["hashtag1","hashtag2"]},{"1399315240":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315242, 1399315236, 1399315247, 1399315244, 1399315238, 1399315240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09833002090454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:29:02.827779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/27/image_14122025_01_28_04_9652.jpg', '/home/pi/Desktop/images/14122025/01/28/image_14122025_01_28_14_10688.jpg', '/home/pi/Desktop/images/14122025/01/28/image_14122025_01_28_24_9651.jpg', '/home/pi/Desktop/images/14122025/01/28/image_14122025_01_28_33_9579.jpg', '/home/pi/Desktop/images/14122025/01/28/image_14122025_01_28_44_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/27/image_14122025_01_28_04_9652.jpg
/home/pi/Desktop/images/14122025/01/28/image_14122025_01_28_14_10688.jpg
/home/pi/Desktop/images/14122025/01/28/image_14122025_01_28_24_9651.jpg
/home/pi/Desktop/images/14122025/01/28/image_14122025_01_28_33_9579.jpg
/home/pi/Desktop/images/14122025/01/28/image_14122025_01_28_44_10601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315254","1399315257","1399315256","1399315258","1399315252"],"photo_ids_order":["1399315252","1399315254","1399315256","1399315257","1399315258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4071abe5309163b2aa679f7a9e4ae4c9.jpg","text":"TemporaryFile(/tmp/multipartBody4400245837963719775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672203573,"filename":"image_14122025_01_28_14_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f84ef39f75c35b2e75a8ee8f1a32fb0.jpg","text":"TemporaryFile(/tmp/multipartBody5675484814083746129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672203573,"filename":"image_14122025_01_28_33_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b7e5d6588c603c8e22cea23acb81a0b1.jpg","text":"TemporaryFile(/tmp/multipartBody1170313287590312024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672203573,"filename":"image_14122025_01_28_24_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e6bf2aa2a4301701e8a6d73fcea9e3d8.jpg","text":"TemporaryFile(/tmp/multipartBody7395862751386938912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672203573,"filename":"image_14122025_01_28_44_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1a3fc0d1c8046e8dd02015219e8e2127.jpg","text":"TemporaryFile(/tmp/multipartBody8205996745844404960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672203573,"filename":"image_14122025_01_28_04_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315256","file1":"1399315254","file0":"1399315252","file4":"1399315258","file3":"1399315257"},"map_files_photo_id_array":[{"photo_id":"1399315256","filename":"file2"},{"photo_id":"1399315258","filename":"file4"},{"photo_id":"1399315254","filename":"file1"},{"photo_id":"1399315252","filename":"file0"},{"photo_id":"1399315257","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315254":["hashtag1","hashtag2"]},{"1399315257":["hashtag1","hashtag2"]},{"1399315256":["hashtag1","hashtag2"]},{"1399315258":["hashtag1","hashtag2"]},{"1399315252":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315254, 1399315257, 1399315256, 1399315258, 1399315252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.17778420448303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:29:41.844603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_53_4043.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_55_1620.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_57_1639.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_58_1617.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_11_00_00_1739.jpg', '/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_08_3755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_53_4043.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_55_1620.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_57_1639.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_58_1617.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_11_00_00_1739.jpg
/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_08_3755.jpg
 val : 1 : upload photos already in processing! 
 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>8bliab498</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>8bliab498</strong>.
uploaded 0 photos
time to upload: 48.8389196395874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:30:32.096598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:30:42.043939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_53_4043.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_55_1620.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_57_1639.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_58_1617.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_11_00_00_1739.jpg', '/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_08_3755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_53_4043.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_55_1620.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_57_1639.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_58_1617.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_11_00_00_1739.jpg
/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_08_3755.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.559215784072876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:31:02.936735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/28/image_14122025_01_28_54_9532.jpg', '/home/pi/Desktop/images/14122025/01/29/image_14122025_01_29_14_10715.jpg', '/home/pi/Desktop/images/14122025/01/29/image_14122025_01_29_24_9727.jpg', '/home/pi/Desktop/images/14122025/01/29/image_14122025_01_29_33_9785.jpg', '/home/pi/Desktop/images/14122025/01/29/image_14122025_01_29_54_9592.jpg', '/home/pi/Desktop/images/14122025/01/29/image_14122025_01_30_04_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/28/image_14122025_01_28_54_9532.jpg
/home/pi/Desktop/images/14122025/01/29/image_14122025_01_29_14_10715.jpg
/home/pi/Desktop/images/14122025/01/29/image_14122025_01_29_24_9727.jpg
/home/pi/Desktop/images/14122025/01/29/image_14122025_01_29_33_9785.jpg
/home/pi/Desktop/images/14122025/01/29/image_14122025_01_29_54_9592.jpg
/home/pi/Desktop/images/14122025/01/29/image_14122025_01_30_04_9731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315281","1399315278","1399315283","1399315280","1399315285","1399315279"],"photo_ids_order":["1399315278","1399315279","1399315280","1399315281","1399315283","1399315285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a523e2a0a3e4f6de24fd98b676dd41cd.jpg","text":"TemporaryFile(/tmp/multipartBody596653544296382762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672323770,"filename":"image_14122025_01_29_33_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ce773a59355f7f3b02d9f91c461295a.jpg","text":"TemporaryFile(/tmp/multipartBody5967021281534236903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672323770,"filename":"image_14122025_01_28_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/12/14/56103229bc134d990c98f5f07e24eb1c.jpg","text":"TemporaryFile(/tmp/multipartBody926471707920001928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672323770,"filename":"image_14122025_01_29_54_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dfbd9492b0c0235b8b348494280b3f86.jpg","text":"TemporaryFile(/tmp/multipartBody5223264595724827753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672323770,"filename":"image_14122025_01_29_24_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4144f2cbd85e6e3a0092347c1cf2927c.jpg","text":"TemporaryFile(/tmp/multipartBody557220328206931622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672323770,"filename":"image_14122025_01_30_04_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/388ac50a60582a80d4621d77e3b18f56.jpg","text":"TemporaryFile(/tmp/multipartBody3882651260718568750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672323770,"filename":"image_14122025_01_29_14_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315280","file1":"1399315279","file0":"1399315278","file4":"1399315283","file5":"1399315285","file3":"1399315281"},"map_files_photo_id_array":[{"photo_id":"1399315285","filename":"file5"},{"photo_id":"1399315280","filename":"file2"},{"photo_id":"1399315283","filename":"file4"},{"photo_id":"1399315279","filename":"file1"},{"photo_id":"1399315278","filename":"file0"},{"photo_id":"1399315281","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315281":["hashtag1","hashtag2"]},{"1399315278":["hashtag1","hashtag2"]},{"1399315283":["hashtag1","hashtag2"]},{"1399315280":["hashtag1","hashtag2"]},{"1399315285":["hashtag1","hashtag2"]},{"1399315279":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315281, 1399315278, 1399315283, 1399315280, 1399315285, 1399315279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.80055618286133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:32:03.126495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/30/image_14122025_01_30_14_10667.jpg', '/home/pi/Desktop/images/14122025/01/30/image_14122025_01_30_24_9768.jpg', '/home/pi/Desktop/images/14122025/01/30/image_14122025_01_30_34_9729.jpg', '/home/pi/Desktop/images/14122025/01/30/image_14122025_01_30_54_10634.jpg', '/home/pi/Desktop/images/14122025/01/30/image_14122025_01_31_04_9570.jpg', '/home/pi/Desktop/images/14122025/01/31/image_14122025_01_31_13_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/30/image_14122025_01_30_14_10667.jpg
/home/pi/Desktop/images/14122025/01/30/image_14122025_01_30_24_9768.jpg
/home/pi/Desktop/images/14122025/01/30/image_14122025_01_30_34_9729.jpg
/home/pi/Desktop/images/14122025/01/30/image_14122025_01_30_54_10634.jpg
/home/pi/Desktop/images/14122025/01/30/image_14122025_01_31_04_9570.jpg
/home/pi/Desktop/images/14122025/01/31/image_14122025_01_31_13_9592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315296","1399315292","1399315291","1399315294","1399315290","1399315293"],"photo_ids_order":["1399315290","1399315291","1399315292","1399315293","1399315294","1399315296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6dca70430553bd19493947d751b04f46.jpg","text":"TemporaryFile(/tmp/multipartBody1915447602254704563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672383689,"filename":"image_14122025_01_31_13_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/239ffa0744d5b19424eac4853a31f3f8.jpg","text":"TemporaryFile(/tmp/multipartBody8862194506818374204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672383689,"filename":"image_14122025_01_30_34_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0a66e69987fe9a99a8650d97311b244b.jpg","text":"TemporaryFile(/tmp/multipartBody4831238568568640867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672383689,"filename":"image_14122025_01_30_24_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f6ee69cca5bbe9551cdf4a3e32bff2a.jpg","text":"TemporaryFile(/tmp/multipartBody5325928867297952861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672383689,"filename":"image_14122025_01_31_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/12/14/6aded79550cdf2bd74a6b55bd98b1f74.jpg","text":"TemporaryFile(/tmp/multipartBody3313278975037170790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672383689,"filename":"image_14122025_01_30_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe43ca3e02a51a022c02c7dff7ab1353.jpg","text":"TemporaryFile(/tmp/multipartBody6861240167778964667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672383689,"filename":"image_14122025_01_30_54_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315292","file1":"1399315291","file0":"1399315290","file4":"1399315294","file5":"1399315296","file3":"1399315293"},"map_files_photo_id_array":[{"photo_id":"1399315296","filename":"file5"},{"photo_id":"1399315292","filename":"file2"},{"photo_id":"1399315294","filename":"file4"},{"photo_id":"1399315291","filename":"file1"},{"photo_id":"1399315290","filename":"file0"},{"photo_id":"1399315293","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315296":["hashtag1","hashtag2"]},{"1399315292":["hashtag1","hashtag2"]},{"1399315291":["hashtag1","hashtag2"]},{"1399315294":["hashtag1","hashtag2"]},{"1399315290":["hashtag1","hashtag2"]},{"1399315293":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315296, 1399315292, 1399315291, 1399315294, 1399315290, 1399315293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47738742828369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:32:42.591831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_53_4043.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_55_1620.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_57_1639.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_58_1617.jpg', '/home/pi/Desktop/images/04112025/10/59/image_04112025_11_00_00_1739.jpg', '/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_08_3755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_53_4043.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_55_1620.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_57_1639.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_10_59_58_1617.jpg
/home/pi/Desktop/images/04112025/10/59/image_04112025_11_00_00_1739.jpg
/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_08_3755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315302","1399315305","1399315301","1399315304","1399315306","1399315303"],"photo_ids_order":["1399315301","1399315302","1399315303","1399315304","1399315305","1399315306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/caae19480dc76ac1a9d443f2ddfdf58b.jpg","text":"TemporaryFile(/tmp/multipartBody4255051882578951102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672423199,"filename":"image_04112025_10_59_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/12/14/a1c66f8d1f5fa5a4009b4d5f0dfe3d3b.jpg","text":"TemporaryFile(/tmp/multipartBody4815369982998202283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672423199,"filename":"image_04112025_11_00_00_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9305f790ee7ed2802d0e6d15bc849e6.jpg","text":"TemporaryFile(/tmp/multipartBody8110463201166280480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672423199,"filename":"image_04112025_10_59_53_4043.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4cb939f2a6e3578a85983dc86dd065b0.jpg","text":"TemporaryFile(/tmp/multipartBody1410780212906553263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672423199,"filename":"image_04112025_10_59_58_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd3c264525e779620ba1b459a933a31e.jpg","text":"TemporaryFile(/tmp/multipartBody4983190215352057356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672423199,"filename":"image_04112025_11_00_08_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3209167c27e265f96518eef8dda7546.jpg","text":"TemporaryFile(/tmp/multipartBody7831162997067305205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672423199,"filename":"image_04112025_10_59_57_1639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315303","file1":"1399315302","file0":"1399315301","file4":"1399315305","file5":"1399315306","file3":"1399315304"},"map_files_photo_id_array":[{"photo_id":"1399315306","filename":"file5"},{"photo_id":"1399315303","filename":"file2"},{"photo_id":"1399315305","filename":"file4"},{"photo_id":"1399315302","filename":"file1"},{"photo_id":"1399315301","filename":"file0"},{"photo_id":"1399315304","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315302":["hashtag1","hashtag2"]},{"1399315305":["hashtag1","hashtag2"]},{"1399315301":["hashtag1","hashtag2"]},{"1399315304":["hashtag1","hashtag2"]},{"1399315306":["hashtag1","hashtag2"]},{"1399315303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315302, 1399315305, 1399315301, 1399315304, 1399315306, 1399315303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17833375930786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:33:21.853967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/31/image_14122025_01_31_24_10701.jpg', '/home/pi/Desktop/images/14122025/01/31/image_14122025_01_31_34_9661.jpg', '/home/pi/Desktop/images/14122025/01/31/image_14122025_01_31_43_9660.jpg', '/home/pi/Desktop/images/14122025/01/31/image_14122025_01_31_54_10657.jpg', '/home/pi/Desktop/images/14122025/01/31/image_14122025_01_32_04_9735.jpg', '/home/pi/Desktop/images/14122025/01/32/image_14122025_01_32_13_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/31/image_14122025_01_31_24_10701.jpg
/home/pi/Desktop/images/14122025/01/31/image_14122025_01_31_34_9661.jpg
/home/pi/Desktop/images/14122025/01/31/image_14122025_01_31_43_9660.jpg
/home/pi/Desktop/images/14122025/01/31/image_14122025_01_31_54_10657.jpg
/home/pi/Desktop/images/14122025/01/31/image_14122025_01_32_04_9735.jpg
/home/pi/Desktop/images/14122025/01/32/image_14122025_01_32_13_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":["1399315317","1399315314","1399315308","1399315310","1399315307","1399315312"],"photo_ids_order":["1399315307","1399315308","1399315310","1399315312","1399315314","1399315317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d0fda82a87216c8d18ea4536cb97dd84.jpg","text":"TemporaryFile(/tmp/multipartBody8092251431017068395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672462398,"filename":"image_14122025_01_32_13_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1abfcca108e47b6c9d8c3fb4df1fea4.jpg","text":"TemporaryFile(/tmp/multipartBody5819868334096754377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672462398,"filename":"image_14122025_01_32_04_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d7c8e4b556d99637b31b636762f45880.jpg","text":"TemporaryFile(/tmp/multipartBody1773029129834411254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672462398,"filename":"image_14122025_01_31_34_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b8e95a4d91507707aa7674bdf3cc3e73.jpg","text":"TemporaryFile(/tmp/multipartBody409658049383930328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672462398,"filename":"image_14122025_01_31_43_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c79b0ac69491e86124579a1df8abbde.jpg","text":"TemporaryFile(/tmp/multipartBody3263328032410544925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672462398,"filename":"image_14122025_01_31_24_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d49da8dd26367ddd0fb3eca8b3db227.jpg","text":"TemporaryFile(/tmp/multipartBody8980064202541442087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672462398,"filename":"image_14122025_01_31_54_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315310","file1":"1399315308","file0":"1399315307","file4":"1399315314","file5":"1399315317","file3":"1399315312"},"map_files_photo_id_array":[{"photo_id":"1399315317","filename":"file5"},{"photo_id":"1399315310","filename":"file2"},{"photo_id":"1399315314","filename":"file4"},{"photo_id":"1399315308","filename":"file1"},{"photo_id":"1399315307","filename":"file0"},{"photo_id":"1399315312","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315317":["hashtag1","hashtag2"]},{"1399315314":["hashtag1","hashtag2"]},{"1399315308":["hashtag1","hashtag2"]},{"1399315310":["hashtag1","hashtag2"]},{"1399315307":["hashtag1","hashtag2"]},{"1399315312":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315317, 1399315314, 1399315308, 1399315310, 1399315307, 1399315312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38283896446228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:34:02.776997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/32/image_14122025_01_32_24_10738.jpg', '/home/pi/Desktop/images/14122025/01/32/image_14122025_01_32_34_9777.jpg', '/home/pi/Desktop/images/14122025/01/32/image_14122025_01_32_44_9733.jpg', '/home/pi/Desktop/images/14122025/01/32/image_14122025_01_32_53_9799.jpg', '/home/pi/Desktop/images/14122025/01/32/image_14122025_01_33_04_10691.jpg', '/home/pi/Desktop/images/14122025/01/33/image_14122025_01_33_14_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/32/image_14122025_01_32_24_10738.jpg
/home/pi/Desktop/images/14122025/01/32/image_14122025_01_32_34_9777.jpg
/home/pi/Desktop/images/14122025/01/32/image_14122025_01_32_44_9733.jpg
/home/pi/Desktop/images/14122025/01/32/image_14122025_01_32_53_9799.jpg
/home/pi/Desktop/images/14122025/01/32/image_14122025_01_33_04_10691.jpg
/home/pi/Desktop/images/14122025/01/33/image_14122025_01_33_14_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":["1399315323","1399315326","1399315328","1399315322","1399315325","1399315324"],"photo_ids_order":["1399315322","1399315323","1399315324","1399315325","1399315326","1399315328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/80da6b92d47ecc0741061b0c9c79d1e6.jpg","text":"TemporaryFile(/tmp/multipartBody3659377393874491649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672503395,"filename":"image_14122025_01_32_34_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bcacbb2d538fbaed43c8a06be05721d9.jpg","text":"TemporaryFile(/tmp/multipartBody6717054611211109399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672503395,"filename":"image_14122025_01_33_04_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5fc6857378fc17f204889e7df29bd12c.jpg","text":"TemporaryFile(/tmp/multipartBody7775000557391716042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672503395,"filename":"image_14122025_01_33_14_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b778287c66a0ea5235011072b4249561.jpg","text":"TemporaryFile(/tmp/multipartBody534834906433853754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672503395,"filename":"image_14122025_01_32_24_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/071659f4b5c379a45e78bb9420d2eb69.jpg","text":"TemporaryFile(/tmp/multipartBody5136887841365053158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672503395,"filename":"image_14122025_01_32_53_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/338a30d13f18fb95d12ded9efb25194f.jpg","text":"TemporaryFile(/tmp/multipartBody4728853665615842937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672503395,"filename":"image_14122025_01_32_44_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315324","file1":"1399315323","file0":"1399315322","file4":"1399315326","file5":"1399315328","file3":"1399315325"},"map_files_photo_id_array":[{"photo_id":"1399315328","filename":"file5"},{"photo_id":"1399315324","filename":"file2"},{"photo_id":"1399315326","filename":"file4"},{"photo_id":"1399315323","filename":"file1"},{"photo_id":"1399315322","filename":"file0"},{"photo_id":"1399315325","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315323":["hashtag1","hashtag2"]},{"1399315326":["hashtag1","hashtag2"]},{"1399315328":["hashtag1","hashtag2"]},{"1399315322":["hashtag1","hashtag2"]},{"1399315325":["hashtag1","hashtag2"]},{"1399315324":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315323, 1399315326, 1399315328, 1399315322, 1399315325, 1399315324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.536641120910645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:34:42.006464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_11_2683.jpg', '/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_14_2681.jpg', '/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_17_3562.jpg', '/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_20_2639.jpg', '/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_23_2740.jpg', '/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_28_5137.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_11_2683.jpg
/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_14_2681.jpg
/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_17_3562.jpg
/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_20_2639.jpg
/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_23_2740.jpg
/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_28_5137.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6138639450073242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:35:02.874623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/33/image_14122025_01_33_23_9639.jpg', '/home/pi/Desktop/images/14122025/01/33/image_14122025_01_33_34_10606.jpg', '/home/pi/Desktop/images/14122025/01/33/image_14122025_01_33_44_9701.jpg', '/home/pi/Desktop/images/14122025/01/34/image_14122025_01_34_23_9774.jpg', '/home/pi/Desktop/images/14122025/01/34/image_14122025_01_34_34_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/33/image_14122025_01_33_23_9639.jpg
/home/pi/Desktop/images/14122025/01/33/image_14122025_01_33_34_10606.jpg
/home/pi/Desktop/images/14122025/01/33/image_14122025_01_33_44_9701.jpg
/home/pi/Desktop/images/14122025/01/34/image_14122025_01_34_23_9774.jpg
/home/pi/Desktop/images/14122025/01/34/image_14122025_01_34_34_10712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315341","1399315340","1399315343","1399315342","1399315339"],"photo_ids_order":["1399315339","1399315340","1399315341","1399315342","1399315343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/671bb8ad47f6ae8ec991c0041cc251ad.jpg","text":"TemporaryFile(/tmp/multipartBody5559778924503775472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672563445,"filename":"image_14122025_01_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/12/14/c31dde5e2b96b96ce697774158204a05.jpg","text":"TemporaryFile(/tmp/multipartBody7301832257565649865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672563445,"filename":"image_14122025_01_33_34_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba947b0a1737ec577019dd18ba8499d3.jpg","text":"TemporaryFile(/tmp/multipartBody2255453711520296333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672563445,"filename":"image_14122025_01_34_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/12/14/4d09f5eec466bd23b3042c695dc04e2d.jpg","text":"TemporaryFile(/tmp/multipartBody3048142460042961871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672563445,"filename":"image_14122025_01_34_23_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3fa174a36d9cb2b4c743c3dfd6f4ef4.jpg","text":"TemporaryFile(/tmp/multipartBody4663016173714437122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672563445,"filename":"image_14122025_01_33_23_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315341","file1":"1399315340","file0":"1399315339","file4":"1399315343","file3":"1399315342"},"map_files_photo_id_array":[{"photo_id":"1399315341","filename":"file2"},{"photo_id":"1399315343","filename":"file4"},{"photo_id":"1399315340","filename":"file1"},{"photo_id":"1399315339","filename":"file0"},{"photo_id":"1399315342","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315341":["hashtag1","hashtag2"]},{"1399315340":["hashtag1","hashtag2"]},{"1399315343":["hashtag1","hashtag2"]},{"1399315342":["hashtag1","hashtag2"]},{"1399315339":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315341, 1399315340, 1399315343, 1399315342, 1399315339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.211952686309814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:35:42.241434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_11_2683.jpg', '/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_14_2681.jpg', '/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_17_3562.jpg', '/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_20_2639.jpg', '/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_23_2740.jpg', '/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_28_5137.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_11_2683.jpg
/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_14_2681.jpg
/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_17_3562.jpg
/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_20_2639.jpg
/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_23_2740.jpg
/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_28_5137.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315353","1399315352","1399315355","1399315349","1399315354","1399315351"],"photo_ids_order":["1399315349","1399315351","1399315352","1399315353","1399315354","1399315355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/237a6d3b5cf030a2c56fa4a3d4c1cf81.jpg","text":"TemporaryFile(/tmp/multipartBody6339091394525775005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672602819,"filename":"image_04112025_11_00_20_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28ae3885e46cef1818e6e1ce278d232f.jpg","text":"TemporaryFile(/tmp/multipartBody5697210118945294884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672602819,"filename":"image_04112025_11_00_17_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb437241e978e3832ff8c4c16262c2af.jpg","text":"TemporaryFile(/tmp/multipartBody4994519867102806547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672602819,"filename":"image_04112025_11_00_28_5137.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e47e3c72018173286afacea1cf5d9ebc.jpg","text":"TemporaryFile(/tmp/multipartBody623995779319383343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672602819,"filename":"image_04112025_11_00_11_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba51bc6df96561c6b5bca4d5b3250047.jpg","text":"TemporaryFile(/tmp/multipartBody7210757899626800599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672602819,"filename":"image_04112025_11_00_23_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b42e19af7c8930b09a2128bcdd98073d.jpg","text":"TemporaryFile(/tmp/multipartBody6047357383906239541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672602819,"filename":"image_04112025_11_00_14_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315352","file1":"1399315351","file0":"1399315349","file4":"1399315354","file5":"1399315355","file3":"1399315353"},"map_files_photo_id_array":[{"photo_id":"1399315355","filename":"file5"},{"photo_id":"1399315352","filename":"file2"},{"photo_id":"1399315354","filename":"file4"},{"photo_id":"1399315351","filename":"file1"},{"photo_id":"1399315349","filename":"file0"},{"photo_id":"1399315353","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315353":["hashtag1","hashtag2"]},{"1399315352":["hashtag1","hashtag2"]},{"1399315355":["hashtag1","hashtag2"]},{"1399315349":["hashtag1","hashtag2"]},{"1399315354":["hashtag1","hashtag2"]},{"1399315351":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315353, 1399315352, 1399315355, 1399315349, 1399315354, 1399315351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.940011978149414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:36:22.506096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/34/image_14122025_01_34_44_9561.jpg', '/home/pi/Desktop/images/14122025/01/35/image_14122025_01_35_54_9601.jpg', '/home/pi/Desktop/images/14122025/01/36/image_14122025_01_36_14_10726.jpg', '/home/pi/Desktop/images/14122025/01/36/image_14122025_01_36_24_9782.jpg', '/home/pi/Desktop/images/14122025/01/36/image_14122025_01_36_33_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/34/image_14122025_01_34_44_9561.jpg
/home/pi/Desktop/images/14122025/01/35/image_14122025_01_35_54_9601.jpg
/home/pi/Desktop/images/14122025/01/36/image_14122025_01_36_14_10726.jpg
/home/pi/Desktop/images/14122025/01/36/image_14122025_01_36_24_9782.jpg
/home/pi/Desktop/images/14122025/01/36/image_14122025_01_36_33_9563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315362","1399315356","1399315364","1399315358","1399315360"],"photo_ids_order":["1399315356","1399315358","1399315360","1399315362","1399315364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/74c73244963cfc9ba84d5cf7c98cdd6e.jpg","text":"TemporaryFile(/tmp/multipartBody5773493628508669696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672643041,"filename":"image_14122025_01_36_24_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c4a2364d0699484e6f2e4e39bd337970.jpg","text":"TemporaryFile(/tmp/multipartBody4131258355619803398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672643041,"filename":"image_14122025_01_34_44_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f426b4adbbc93aab166e8fb4b3e3160.jpg","text":"TemporaryFile(/tmp/multipartBody3872107464566104069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672643041,"filename":"image_14122025_01_36_33_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/98f87655ec347b983706273b3f84074c.jpg","text":"TemporaryFile(/tmp/multipartBody2828892326620212513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672643041,"filename":"image_14122025_01_35_54_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6da379ffe0a7738d2ab2844043535fe8.jpg","text":"TemporaryFile(/tmp/multipartBody196789480661244808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672643041,"filename":"image_14122025_01_36_14_10726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315360","file1":"1399315358","file0":"1399315356","file4":"1399315364","file3":"1399315362"},"map_files_photo_id_array":[{"photo_id":"1399315360","filename":"file2"},{"photo_id":"1399315364","filename":"file4"},{"photo_id":"1399315358","filename":"file1"},{"photo_id":"1399315356","filename":"file0"},{"photo_id":"1399315362","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315362":["hashtag1","hashtag2"]},{"1399315356":["hashtag1","hashtag2"]},{"1399315364":["hashtag1","hashtag2"]},{"1399315358":["hashtag1","hashtag2"]},{"1399315360":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315362, 1399315356, 1399315364, 1399315358, 1399315360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.71945071220398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:37:03.405445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:37:12.872849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:37:22.789187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/36/image_14122025_01_36_54_9649.jpg', '/home/pi/Desktop/images/14122025/01/36/image_14122025_01_37_03_9594.jpg', '/home/pi/Desktop/images/14122025/01/37/image_14122025_01_37_24_9537.jpg', '/home/pi/Desktop/images/14122025/01/37/image_14122025_01_37_33_9688.jpg', '/home/pi/Desktop/images/14122025/01/37/image_14122025_01_37_44_10521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/36/image_14122025_01_36_54_9649.jpg
/home/pi/Desktop/images/14122025/01/36/image_14122025_01_37_03_9594.jpg
/home/pi/Desktop/images/14122025/01/37/image_14122025_01_37_24_9537.jpg
/home/pi/Desktop/images/14122025/01/37/image_14122025_01_37_33_9688.jpg
/home/pi/Desktop/images/14122025/01/37/image_14122025_01_37_44_10521.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.41583681106567383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:37:32.794046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:37:42.737870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_29_1578.jpg', '/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_32_2723.jpg', '/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_59_27187.jpg', '/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_19_20138.jpg', '/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_22_2985.jpg', '/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_24_1625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_29_1578.jpg
/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_32_2723.jpg
/home/pi/Desktop/images/04112025/11/00/image_04112025_11_00_59_27187.jpg
/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_19_20138.jpg
/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_22_2985.jpg
/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_24_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":["1399315380","1399315382","1399315379","1399315381","1399315384","1399315383"],"photo_ids_order":["1399315379","1399315380","1399315381","1399315382","1399315383","1399315384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d6a943706da42cfc6026945ed3a52286.jpg","text":"TemporaryFile(/tmp/multipartBody6334492974195581763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672723424,"filename":"image_04112025_11_00_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/12/14/3e6a10d361cdab3c3c1656bc68f6903f.jpg","text":"TemporaryFile(/tmp/multipartBody3373593444526590382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672723424,"filename":"image_04112025_11_01_19_20138.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/07b044342076907a193a89f52bc0145e.jpg","text":"TemporaryFile(/tmp/multipartBody7122858776074576103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672723424,"filename":"image_04112025_11_00_29_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d7f3d47d63453b2463ee9fe2ef6e50d.jpg","text":"TemporaryFile(/tmp/multipartBody7445019424364608286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672723424,"filename":"image_04112025_11_00_59_27187.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c424e6e3d8dcd5b98ee2e4c0ba4c0516.jpg","text":"TemporaryFile(/tmp/multipartBody6459169666693587964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672723424,"filename":"image_04112025_11_01_24_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/20d0ce2e25a30a25d759f129dee2a68d.jpg","text":"TemporaryFile(/tmp/multipartBody2459384440378431972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672723424,"filename":"image_04112025_11_01_22_2985.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315381","file1":"1399315380","file0":"1399315379","file4":"1399315383","file5":"1399315384","file3":"1399315382"},"map_files_photo_id_array":[{"photo_id":"1399315384","filename":"file5"},{"photo_id":"1399315381","filename":"file2"},{"photo_id":"1399315383","filename":"file4"},{"photo_id":"1399315380","filename":"file1"},{"photo_id":"1399315379","filename":"file0"},{"photo_id":"1399315382","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315380":["hashtag1","hashtag2"]},{"1399315382":["hashtag1","hashtag2"]},{"1399315379":["hashtag1","hashtag2"]},{"1399315381":["hashtag1","hashtag2"]},{"1399315384":["hashtag1","hashtag2"]},{"1399315383":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315380, 1399315382, 1399315379, 1399315381, 1399315384, 1399315383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69523906707764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:38:22.022745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/36/image_14122025_01_36_54_9649.jpg', '/home/pi/Desktop/images/14122025/01/36/image_14122025_01_37_03_9594.jpg', '/home/pi/Desktop/images/14122025/01/37/image_14122025_01_37_24_9537.jpg', '/home/pi/Desktop/images/14122025/01/37/image_14122025_01_37_33_9688.jpg', '/home/pi/Desktop/images/14122025/01/37/image_14122025_01_37_44_10521.jpg', '/home/pi/Desktop/images/14122025/01/37/image_14122025_01_37_53_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/36/image_14122025_01_36_54_9649.jpg
/home/pi/Desktop/images/14122025/01/36/image_14122025_01_37_03_9594.jpg
/home/pi/Desktop/images/14122025/01/37/image_14122025_01_37_24_9537.jpg
/home/pi/Desktop/images/14122025/01/37/image_14122025_01_37_33_9688.jpg
/home/pi/Desktop/images/14122025/01/37/image_14122025_01_37_44_10521.jpg
/home/pi/Desktop/images/14122025/01/37/image_14122025_01_37_53_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":["1399315395","1399315389","1399315391","1399315385","1399315393","1399315387"],"photo_ids_order":["1399315385","1399315387","1399315389","1399315391","1399315393","1399315395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7fde5f135f542227dde2c4fd3cb3b109.jpg","text":"TemporaryFile(/tmp/multipartBody6528282965441283302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672762566,"filename":"image_14122025_01_37_53_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/056495ce6696928eb7f70b7eb04ca715.jpg","text":"TemporaryFile(/tmp/multipartBody6245075922134128896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672762566,"filename":"image_14122025_01_37_24_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9b614fe7e1a7f8195011578256875221.jpg","text":"TemporaryFile(/tmp/multipartBody280359636700719872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672762566,"filename":"image_14122025_01_37_33_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/37545605d68566199e2e63f2087495e3.jpg","text":"TemporaryFile(/tmp/multipartBody6811400992397873615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672762566,"filename":"image_14122025_01_36_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7641436c51cca75d46e4a637362354b8.jpg","text":"TemporaryFile(/tmp/multipartBody361617730741171936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672762566,"filename":"image_14122025_01_37_44_10521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf5134d8aa743c7d2461aa63e915d5aa.jpg","text":"TemporaryFile(/tmp/multipartBody7219698354575441300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672762566,"filename":"image_14122025_01_37_03_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315389","file1":"1399315387","file0":"1399315385","file4":"1399315393","file5":"1399315395","file3":"1399315391"},"map_files_photo_id_array":[{"photo_id":"1399315395","filename":"file5"},{"photo_id":"1399315389","filename":"file2"},{"photo_id":"1399315393","filename":"file4"},{"photo_id":"1399315387","filename":"file1"},{"photo_id":"1399315385","filename":"file0"},{"photo_id":"1399315391","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315395":["hashtag1","hashtag2"]},{"1399315389":["hashtag1","hashtag2"]},{"1399315391":["hashtag1","hashtag2"]},{"1399315385":["hashtag1","hashtag2"]},{"1399315393":["hashtag1","hashtag2"]},{"1399315387":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315395, 1399315389, 1399315391, 1399315385, 1399315393, 1399315387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54953050613403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:39:03.129289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/37/image_14122025_01_38_04_10608.jpg', '/home/pi/Desktop/images/14122025/01/38/image_14122025_01_38_24_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/37/image_14122025_01_38_04_10608.jpg
/home/pi/Desktop/images/14122025/01/38/image_14122025_01_38_24_9735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315397","1399315396"],"photo_ids_order":["1399315396","1399315397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f436da73139dfc9b839752e1a92e07a.jpg","text":"TemporaryFile(/tmp/multipartBody210025135804258367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672803635,"filename":"image_14122025_01_38_24_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ab36bc4725bc34dcba4c00db0d350c2.jpg","text":"TemporaryFile(/tmp/multipartBody3655881203957163139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672803635,"filename":"image_14122025_01_38_04_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399315397","file0":"1399315396"},"map_files_photo_id_array":[{"photo_id":"1399315397","filename":"file1"},{"photo_id":"1399315396","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315397":["hashtag1","hashtag2"]},{"1399315396":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315397, 1399315396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.190809965133667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:39:22.331473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/38/image_14122025_01_38_34_10722.jpg', '/home/pi/Desktop/images/14122025/01/38/image_14122025_01_39_04_10720.jpg', '/home/pi/Desktop/images/14122025/01/39/image_14122025_01_39_14_9629.jpg', '/home/pi/Desktop/images/14122025/01/39/image_14122025_01_39_24_9800.jpg', '/home/pi/Desktop/images/14122025/01/39/image_14122025_01_39_34_10530.jpg', '/home/pi/Desktop/images/14122025/01/39/image_14122025_01_39_44_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/38/image_14122025_01_38_34_10722.jpg
/home/pi/Desktop/images/14122025/01/38/image_14122025_01_39_04_10720.jpg
/home/pi/Desktop/images/14122025/01/39/image_14122025_01_39_14_9629.jpg
/home/pi/Desktop/images/14122025/01/39/image_14122025_01_39_24_9800.jpg
/home/pi/Desktop/images/14122025/01/39/image_14122025_01_39_34_10530.jpg
/home/pi/Desktop/images/14122025/01/39/image_14122025_01_39_44_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315401","1399315406","1399315403","1399315405","1399315408","1399315398"],"photo_ids_order":["1399315398","1399315401","1399315403","1399315405","1399315406","1399315408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c23c93a96ea271b276f7f1392b01101e.jpg","text":"TemporaryFile(/tmp/multipartBody7734618449009448266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672822879,"filename":"image_14122025_01_39_04_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d0fb7f4f0cd629ca44b2002b459f218.jpg","text":"TemporaryFile(/tmp/multipartBody7064295172616457546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672822879,"filename":"image_14122025_01_39_34_10530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/09a160aa1cfa65320322774e538fb3a2.jpg","text":"TemporaryFile(/tmp/multipartBody4786186798462040569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672822879,"filename":"image_14122025_01_39_14_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b2eb2b1410a32fdcd0add5c938cff564.jpg","text":"TemporaryFile(/tmp/multipartBody7263272751726633068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672822879,"filename":"image_14122025_01_39_24_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d1eb837836cb895788f771a29d7fde2d.jpg","text":"TemporaryFile(/tmp/multipartBody647872934265336943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672822879,"filename":"image_14122025_01_39_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/12/14/b590ee904867f9f88ff7f4229ce0b920.jpg","text":"TemporaryFile(/tmp/multipartBody473757884031392893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672822879,"filename":"image_14122025_01_38_34_10722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315403","file1":"1399315401","file0":"1399315398","file4":"1399315406","file5":"1399315408","file3":"1399315405"},"map_files_photo_id_array":[{"photo_id":"1399315408","filename":"file5"},{"photo_id":"1399315403","filename":"file2"},{"photo_id":"1399315406","filename":"file4"},{"photo_id":"1399315401","filename":"file1"},{"photo_id":"1399315398","filename":"file0"},{"photo_id":"1399315405","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315401":["hashtag1","hashtag2"]},{"1399315406":["hashtag1","hashtag2"]},{"1399315403":["hashtag1","hashtag2"]},{"1399315405":["hashtag1","hashtag2"]},{"1399315408":["hashtag1","hashtag2"]},{"1399315398":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315401, 1399315406, 1399315403, 1399315405, 1399315408, 1399315398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59662342071533 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:40:12.589185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:40:22.583210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/39/image_14122025_01_39_53_9652.jpg', '/home/pi/Desktop/images/14122025/01/39/image_14122025_01_40_04_10561.jpg', '/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_14_9695.jpg', '/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_23_9685.jpg', '/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_34_10771.jpg', '/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_44_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/39/image_14122025_01_39_53_9652.jpg
/home/pi/Desktop/images/14122025/01/39/image_14122025_01_40_04_10561.jpg
/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_14_9695.jpg
/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_23_9685.jpg
/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_34_10771.jpg
/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_44_9689.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4382941722869873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:40:32.633763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:40:42.594934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_26_1615.jpg', '/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_27_1642.jpg', '/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_29_1648.jpg', '/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_31_1640.jpg', '/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_32_1693.jpg', '/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_34_1578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_26_1615.jpg
/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_27_1642.jpg
/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_29_1648.jpg
/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_31_1640.jpg
/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_32_1693.jpg
/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_34_1578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315422","1399315425","1399315424","1399315423","1399315426","1399315420"],"photo_ids_order":["1399315420","1399315422","1399315423","1399315424","1399315425","1399315426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/79e5b5b23dedaa61c28c5587848dca71.jpg","text":"TemporaryFile(/tmp/multipartBody4932251452013080425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672904723,"filename":"image_04112025_11_01_27_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a2eb154d5f5469f5b4c8ebf50e853e2.jpg","text":"TemporaryFile(/tmp/multipartBody7819475033078010623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672904723,"filename":"image_04112025_11_01_32_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9719587a7acde5691f076095a3402c6f.jpg","text":"TemporaryFile(/tmp/multipartBody1692641130351936694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672904723,"filename":"image_04112025_11_01_31_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ac8557b99c54308fbc746dac280a43a.jpg","text":"TemporaryFile(/tmp/multipartBody3404875739082240929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672904723,"filename":"image_04112025_11_01_29_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3d6692068fd26c4753254c15f29a1d1.jpg","text":"TemporaryFile(/tmp/multipartBody3459379069758631281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672904723,"filename":"image_04112025_11_01_34_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5276e72a7d5643db1d62c907441eb7a0.jpg","text":"TemporaryFile(/tmp/multipartBody6251230124191900688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672904723,"filename":"image_04112025_11_01_26_1615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315423","file1":"1399315422","file0":"1399315420","file4":"1399315425","file5":"1399315426","file3":"1399315424"},"map_files_photo_id_array":[{"photo_id":"1399315426","filename":"file5"},{"photo_id":"1399315423","filename":"file2"},{"photo_id":"1399315425","filename":"file4"},{"photo_id":"1399315422","filename":"file1"},{"photo_id":"1399315420","filename":"file0"},{"photo_id":"1399315424","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315422":["hashtag1","hashtag2"]},{"1399315425":["hashtag1","hashtag2"]},{"1399315424":["hashtag1","hashtag2"]},{"1399315423":["hashtag1","hashtag2"]},{"1399315426":["hashtag1","hashtag2"]},{"1399315420":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315422, 1399315425, 1399315424, 1399315423, 1399315426, 1399315420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.354653120040894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:41:31.873297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:41:41.817438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_36_1713.jpg', '/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_37_1653.jpg', '/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_39_1550.jpg', '/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_41_1747.jpg', '/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_42_1737.jpg', '/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_44_1843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_36_1713.jpg
/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_37_1653.jpg
/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_39_1550.jpg
/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_41_1747.jpg
/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_42_1737.jpg
/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_44_1843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315434","1399315437","1399315436","1399315435","1399315438","1399315432"],"photo_ids_order":["1399315432","1399315434","1399315435","1399315436","1399315437","1399315438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ec2b5381ff85fb7244da50426b5985a4.jpg","text":"TemporaryFile(/tmp/multipartBody6108883042779671403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672962502,"filename":"image_04112025_11_01_37_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/737f4ba21a919bfa2dc1876a0f1a742c.jpg","text":"TemporaryFile(/tmp/multipartBody1880556565044307319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672962502,"filename":"image_04112025_11_01_42_1737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/15408fa098ffe14ec43075ff0f69da2a.jpg","text":"TemporaryFile(/tmp/multipartBody8498189271017802622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672962502,"filename":"image_04112025_11_01_41_1747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/feb4fee49e9ff86626158ac6aa15fc09.jpg","text":"TemporaryFile(/tmp/multipartBody5608370374493116633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672962502,"filename":"image_04112025_11_01_39_1550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db18c7347f1275a74ec6847c77fa5685.jpg","text":"TemporaryFile(/tmp/multipartBody6575588371364870886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672962502,"filename":"image_04112025_11_01_44_1843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5bfa4a35a06394e73084f336bf0af68c.jpg","text":"TemporaryFile(/tmp/multipartBody6348778617812682966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765672962502,"filename":"image_04112025_11_01_36_1713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315435","file1":"1399315434","file0":"1399315432","file4":"1399315437","file5":"1399315438","file3":"1399315436"},"map_files_photo_id_array":[{"photo_id":"1399315438","filename":"file5"},{"photo_id":"1399315435","filename":"file2"},{"photo_id":"1399315437","filename":"file4"},{"photo_id":"1399315434","filename":"file1"},{"photo_id":"1399315432","filename":"file0"},{"photo_id":"1399315436","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315434":["hashtag1","hashtag2"]},{"1399315437":["hashtag1","hashtag2"]},{"1399315436":["hashtag1","hashtag2"]},{"1399315435":["hashtag1","hashtag2"]},{"1399315438":["hashtag1","hashtag2"]},{"1399315432":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315434, 1399315437, 1399315436, 1399315435, 1399315438, 1399315432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09229063987732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:42:22.163614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/39/image_14122025_01_39_53_9652.jpg', '/home/pi/Desktop/images/14122025/01/39/image_14122025_01_40_04_10561.jpg', '/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_14_9695.jpg', '/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_23_9685.jpg', '/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_34_10771.jpg', '/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_44_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/39/image_14122025_01_39_53_9652.jpg
/home/pi/Desktop/images/14122025/01/39/image_14122025_01_40_04_10561.jpg
/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_14_9695.jpg
/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_23_9685.jpg
/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_34_10771.jpg
/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_44_9689.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4348020553588867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:42:32.183101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:42:42.068555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_46_1855.jpg', '/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_48_1653.jpg', '/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_49_1644.jpg', '/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_07_3011.jpg', '/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_12_5676.jpg', '/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_14_1784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_46_1855.jpg
/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_48_1653.jpg
/home/pi/Desktop/images/04112025/11/01/image_04112025_11_01_49_1644.jpg
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_07_3011.jpg
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_12_5676.jpg
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_14_1784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315452","1399315449","1399315451","1399315454","1399315453","1399315450"],"photo_ids_order":["1399315449","1399315450","1399315451","1399315452","1399315453","1399315454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/277ae9daccb1cf5e992c73593be18c89.jpg","text":"TemporaryFile(/tmp/multipartBody8718384410230732083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673022760,"filename":"image_04112025_11_04_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/903c89c9948813725f04865d8d819ece.jpg","text":"TemporaryFile(/tmp/multipartBody5780106386342107777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673022760,"filename":"image_04112025_11_01_46_1855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a3cfc429c8223c11eec198259884152.jpg","text":"TemporaryFile(/tmp/multipartBody1481662362635740254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673022760,"filename":"image_04112025_11_01_49_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5401f758b79d2d1e97433bb77b6db0d6.jpg","text":"TemporaryFile(/tmp/multipartBody365169701219527681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673022760,"filename":"image_04112025_11_04_14_1784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b52de20cf5585890d1483304fbd291d.jpg","text":"TemporaryFile(/tmp/multipartBody2330145558018988288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673022760,"filename":"image_04112025_11_04_12_5676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/536f0eefbb2d5e0682752460341872dd.jpg","text":"TemporaryFile(/tmp/multipartBody8339679670578155165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673022760,"filename":"image_04112025_11_01_48_1653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315451","file1":"1399315450","file0":"1399315449","file4":"1399315453","file5":"1399315454","file3":"1399315452"},"map_files_photo_id_array":[{"photo_id":"1399315454","filename":"file5"},{"photo_id":"1399315451","filename":"file2"},{"photo_id":"1399315453","filename":"file4"},{"photo_id":"1399315450","filename":"file1"},{"photo_id":"1399315449","filename":"file0"},{"photo_id":"1399315452","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315452":["hashtag1","hashtag2"]},{"1399315449":["hashtag1","hashtag2"]},{"1399315451":["hashtag1","hashtag2"]},{"1399315454":["hashtag1","hashtag2"]},{"1399315453":["hashtag1","hashtag2"]},{"1399315450":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315452, 1399315449, 1399315451, 1399315454, 1399315453, 1399315450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.274638652801514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:43:22.369171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/39/image_14122025_01_39_53_9652.jpg', '/home/pi/Desktop/images/14122025/01/39/image_14122025_01_40_04_10561.jpg', '/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_14_9695.jpg', '/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_23_9685.jpg', '/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_34_10771.jpg', '/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_44_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/39/image_14122025_01_39_53_9652.jpg
/home/pi/Desktop/images/14122025/01/39/image_14122025_01_40_04_10561.jpg
/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_14_9695.jpg
/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_23_9685.jpg
/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_34_10771.jpg
/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_44_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315455","1399315458","1399315460","1399315462","1399315456","1399315465"],"photo_ids_order":["1399315455","1399315456","1399315458","1399315460","1399315462","1399315465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f1b283b23f5bf1f6ff0c206d69de990.jpg","text":"TemporaryFile(/tmp/multipartBody544100680948866151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673062909,"filename":"image_14122025_01_39_53_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9d301bfdd80cfded327341fed1b275d5.jpg","text":"TemporaryFile(/tmp/multipartBody5356029521522790678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673062909,"filename":"image_14122025_01_40_14_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94155b1d681428194adc206d45902b00.jpg","text":"TemporaryFile(/tmp/multipartBody1136857704457386891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673062909,"filename":"image_14122025_01_40_23_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8f3e0e87b986feeb51d0b9b001e3fa95.jpg","text":"TemporaryFile(/tmp/multipartBody2187099271237253799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673062909,"filename":"image_14122025_01_40_34_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/57b96d6861ef8e814c96fa3760614dfb.jpg","text":"TemporaryFile(/tmp/multipartBody5493707541342642035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673062909,"filename":"image_14122025_01_40_04_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d8126384c252706aaab419b19165a07.jpg","text":"TemporaryFile(/tmp/multipartBody8420036893061168895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673062909,"filename":"image_14122025_01_40_44_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315458","file1":"1399315456","file0":"1399315455","file4":"1399315462","file5":"1399315465","file3":"1399315460"},"map_files_photo_id_array":[{"photo_id":"1399315465","filename":"file5"},{"photo_id":"1399315458","filename":"file2"},{"photo_id":"1399315462","filename":"file4"},{"photo_id":"1399315456","filename":"file1"},{"photo_id":"1399315455","filename":"file0"},{"photo_id":"1399315460","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315455":["hashtag1","hashtag2"]},{"1399315458":["hashtag1","hashtag2"]},{"1399315460":["hashtag1","hashtag2"]},{"1399315462":["hashtag1","hashtag2"]},{"1399315456":["hashtag1","hashtag2"]},{"1399315465":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315455, 1399315458, 1399315460, 1399315462, 1399315456, 1399315465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.873790979385376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:44:03.421499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_54_9639.jpg', '/home/pi/Desktop/images/14122025/01/41/image_14122025_01_41_14_10534.jpg', '/home/pi/Desktop/images/14122025/01/41/image_14122025_01_41_44_10588.jpg', '/home/pi/Desktop/images/14122025/01/42/image_14122025_01_42_14_9696.jpg', '/home/pi/Desktop/images/14122025/01/42/image_14122025_01_42_34_10612.jpg', '/home/pi/Desktop/images/14122025/01/42/image_14122025_01_42_44_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/40/image_14122025_01_40_54_9639.jpg
/home/pi/Desktop/images/14122025/01/41/image_14122025_01_41_14_10534.jpg
/home/pi/Desktop/images/14122025/01/41/image_14122025_01_41_44_10588.jpg
/home/pi/Desktop/images/14122025/01/42/image_14122025_01_42_14_9696.jpg
/home/pi/Desktop/images/14122025/01/42/image_14122025_01_42_34_10612.jpg
/home/pi/Desktop/images/14122025/01/42/image_14122025_01_42_44_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315473","1399315476","1399315471","1399315474","1399315477","1399315479"],"photo_ids_order":["1399315471","1399315473","1399315474","1399315476","1399315477","1399315479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9e7045037dc42f09463b2e26034eefd7.jpg","text":"TemporaryFile(/tmp/multipartBody4398129936218340344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673104021,"filename":"image_14122025_01_41_14_10534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c5499d8eccc52c201c6ba0b8cb7bf549.jpg","text":"TemporaryFile(/tmp/multipartBody4769949299941645532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673104021,"filename":"image_14122025_01_42_14_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b17270ef022deef6876ab3e7b9d46cfa.jpg","text":"TemporaryFile(/tmp/multipartBody1381881804214718099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673104021,"filename":"image_14122025_01_40_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/348cb7459965cb8293eea8ab61426038.jpg","text":"TemporaryFile(/tmp/multipartBody4821646202157972556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673104021,"filename":"image_14122025_01_41_44_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b69b6548707b7d4576beca577e0b9b14.jpg","text":"TemporaryFile(/tmp/multipartBody4039712759199124551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673104021,"filename":"image_14122025_01_42_34_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eb5c451f958baac701125a29f5f78c8e.jpg","text":"TemporaryFile(/tmp/multipartBody7622489469827922748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673104021,"filename":"image_14122025_01_42_44_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315474","file1":"1399315473","file0":"1399315471","file4":"1399315477","file5":"1399315479","file3":"1399315476"},"map_files_photo_id_array":[{"photo_id":"1399315479","filename":"file5"},{"photo_id":"1399315474","filename":"file2"},{"photo_id":"1399315477","filename":"file4"},{"photo_id":"1399315473","filename":"file1"},{"photo_id":"1399315471","filename":"file0"},{"photo_id":"1399315476","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315473":["hashtag1","hashtag2"]},{"1399315476":["hashtag1","hashtag2"]},{"1399315471":["hashtag1","hashtag2"]},{"1399315474":["hashtag1","hashtag2"]},{"1399315477":["hashtag1","hashtag2"]},{"1399315479":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315473, 1399315476, 1399315471, 1399315474, 1399315477, 1399315479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.952473402023315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:44:42.657602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_16_1558.jpg', '/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_19_3624.jpg', '/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_22_2711.jpg', '/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_38_15971.jpg', '/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_40_1676.jpg', '/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_42_1765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_16_1558.jpg
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_19_3624.jpg
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_22_2711.jpg
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_38_15971.jpg
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_40_1676.jpg
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_42_1765.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6219911575317383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:45:02.786812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/42/image_14122025_01_42_53_9780.jpg', '/home/pi/Desktop/images/14122025/01/42/image_14122025_01_43_04_10614.jpg', '/home/pi/Desktop/images/14122025/01/43/image_14122025_01_43_14_9745.jpg', '/home/pi/Desktop/images/14122025/01/43/image_14122025_01_43_44_9657.jpg', '/home/pi/Desktop/images/14122025/01/43/image_14122025_01_43_53_9557.jpg', '/home/pi/Desktop/images/14122025/01/43/image_14122025_01_44_04_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/42/image_14122025_01_42_53_9780.jpg
/home/pi/Desktop/images/14122025/01/42/image_14122025_01_43_04_10614.jpg
/home/pi/Desktop/images/14122025/01/43/image_14122025_01_43_14_9745.jpg
/home/pi/Desktop/images/14122025/01/43/image_14122025_01_43_44_9657.jpg
/home/pi/Desktop/images/14122025/01/43/image_14122025_01_43_53_9557.jpg
/home/pi/Desktop/images/14122025/01/43/image_14122025_01_44_04_10686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315494","1399315493","1399315490","1399315492","1399315495","1399315497"],"photo_ids_order":["1399315490","1399315492","1399315493","1399315494","1399315495","1399315497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/563e139f36db9efec2424dbbf7eb3348.jpg","text":"TemporaryFile(/tmp/multipartBody5115707045286133237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673163391,"filename":"image_14122025_01_43_44_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d1a44ec1209ff93521531a7cf54fc0fe.jpg","text":"TemporaryFile(/tmp/multipartBody2188113649561294197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673163391,"filename":"image_14122025_01_43_14_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba8ec9ec37e2cce265c0af249109c498.jpg","text":"TemporaryFile(/tmp/multipartBody5752100926311419364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673163391,"filename":"image_14122025_01_42_53_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f0839365db2ce13d48ac45fedf96a4e9.jpg","text":"TemporaryFile(/tmp/multipartBody5187497818941028783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673163391,"filename":"image_14122025_01_43_04_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b24cc6e88b6a404336ae7df124628c1a.jpg","text":"TemporaryFile(/tmp/multipartBody4130365675873382944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673163391,"filename":"image_14122025_01_43_53_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe30130e4fa3589f2c80a662a2a1908e.jpg","text":"TemporaryFile(/tmp/multipartBody1782986774253278281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673163391,"filename":"image_14122025_01_44_04_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315493","file1":"1399315492","file0":"1399315490","file4":"1399315495","file5":"1399315497","file3":"1399315494"},"map_files_photo_id_array":[{"photo_id":"1399315497","filename":"file5"},{"photo_id":"1399315493","filename":"file2"},{"photo_id":"1399315495","filename":"file4"},{"photo_id":"1399315492","filename":"file1"},{"photo_id":"1399315490","filename":"file0"},{"photo_id":"1399315494","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315494":["hashtag1","hashtag2"]},{"1399315493":["hashtag1","hashtag2"]},{"1399315490":["hashtag1","hashtag2"]},{"1399315492":["hashtag1","hashtag2"]},{"1399315495":["hashtag1","hashtag2"]},{"1399315497":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315494, 1399315493, 1399315490, 1399315492, 1399315495, 1399315497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98082995414734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:46:02.576889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/44/image_14122025_01_44_24_10590.jpg', '/home/pi/Desktop/images/14122025/01/44/image_14122025_01_44_34_9700.jpg', '/home/pi/Desktop/images/14122025/01/44/image_14122025_01_44_43_9534.jpg', '/home/pi/Desktop/images/14122025/01/44/image_14122025_01_44_54_10686.jpg', '/home/pi/Desktop/images/14122025/01/44/image_14122025_01_45_04_9616.jpg', '/home/pi/Desktop/images/14122025/01/45/image_14122025_01_45_14_9884.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/44/image_14122025_01_44_24_10590.jpg
/home/pi/Desktop/images/14122025/01/44/image_14122025_01_44_34_9700.jpg
/home/pi/Desktop/images/14122025/01/44/image_14122025_01_44_43_9534.jpg
/home/pi/Desktop/images/14122025/01/44/image_14122025_01_44_54_10686.jpg
/home/pi/Desktop/images/14122025/01/44/image_14122025_01_45_04_9616.jpg
/home/pi/Desktop/images/14122025/01/45/image_14122025_01_45_14_9884.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315503","1399315506","1399315505","1399315508","1399315504","1399315507"],"photo_ids_order":["1399315503","1399315504","1399315505","1399315506","1399315507","1399315508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/08ea1fd541ec3dd0e6e7ed65dae83b6a.jpg","text":"TemporaryFile(/tmp/multipartBody4605209896276565234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673223174,"filename":"image_14122025_01_44_24_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d01d54c088cbda7118dc2d047fe874f.jpg","text":"TemporaryFile(/tmp/multipartBody8505740432474763193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673223174,"filename":"image_14122025_01_44_54_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9e2d9f301dcbfefcdd6b203547d4901e.jpg","text":"TemporaryFile(/tmp/multipartBody2955412496088199295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673223174,"filename":"image_14122025_01_44_43_9534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/171aee8fc8d3c6413d04d6cf8cc8d158.jpg","text":"TemporaryFile(/tmp/multipartBody5983169217447166519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673223174,"filename":"image_14122025_01_45_14_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d8f318777e43fd21706f1d69a27e8ad.jpg","text":"TemporaryFile(/tmp/multipartBody2673907040649904592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673223174,"filename":"image_14122025_01_44_34_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/554ba5a8f0a1b6c41c78146fad9771ef.jpg","text":"TemporaryFile(/tmp/multipartBody3836582975809719048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673223174,"filename":"image_14122025_01_45_04_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315505","file1":"1399315504","file0":"1399315503","file4":"1399315507","file5":"1399315508","file3":"1399315506"},"map_files_photo_id_array":[{"photo_id":"1399315508","filename":"file5"},{"photo_id":"1399315505","filename":"file2"},{"photo_id":"1399315507","filename":"file4"},{"photo_id":"1399315504","filename":"file1"},{"photo_id":"1399315503","filename":"file0"},{"photo_id":"1399315506","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315503":["hashtag1","hashtag2"]},{"1399315506":["hashtag1","hashtag2"]},{"1399315505":["hashtag1","hashtag2"]},{"1399315508":["hashtag1","hashtag2"]},{"1399315504":["hashtag1","hashtag2"]},{"1399315507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315503, 1399315506, 1399315505, 1399315508, 1399315504, 1399315507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10989713668823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:46:42.156228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_16_1558.jpg', '/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_19_3624.jpg', '/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_22_2711.jpg', '/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_38_15971.jpg', '/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_40_1676.jpg', '/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_42_1765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_16_1558.jpg
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_19_3624.jpg
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_22_2711.jpg
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_38_15971.jpg
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_40_1676.jpg
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_42_1765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315521","1399315523","1399315514","1399315517","1399315525","1399315519"],"photo_ids_order":["1399315514","1399315517","1399315519","1399315521","1399315523","1399315525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f05c07391b4470ce97b526b6d1e811af.jpg","text":"TemporaryFile(/tmp/multipartBody7906755597793600826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673262724,"filename":"image_04112025_11_04_38_15971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c4ea0ece5c94ac534814a8b08f77c30.jpg","text":"TemporaryFile(/tmp/multipartBody5706116869990598424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673262724,"filename":"image_04112025_11_04_40_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4510ea7c9c38ca3586868d9c1960e6fa.jpg","text":"TemporaryFile(/tmp/multipartBody8223261868381228681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673262724,"filename":"image_04112025_11_04_16_1558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/562198790ead5dcbd892238ee68707db.jpg","text":"TemporaryFile(/tmp/multipartBody2492662551944345985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673262724,"filename":"image_04112025_11_04_19_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6128437c29a3d60ee10c2c70cf40bc9.jpg","text":"TemporaryFile(/tmp/multipartBody2315068678272294562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673262724,"filename":"image_04112025_11_04_42_1765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c152ffc7fe020dbfe3eb632da22df15a.jpg","text":"TemporaryFile(/tmp/multipartBody753151595228933523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673262724,"filename":"image_04112025_11_04_22_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315519","file1":"1399315517","file0":"1399315514","file4":"1399315523","file5":"1399315525","file3":"1399315521"},"map_files_photo_id_array":[{"photo_id":"1399315525","filename":"file5"},{"photo_id":"1399315519","filename":"file2"},{"photo_id":"1399315523","filename":"file4"},{"photo_id":"1399315517","filename":"file1"},{"photo_id":"1399315514","filename":"file0"},{"photo_id":"1399315521","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315521":["hashtag1","hashtag2"]},{"1399315523":["hashtag1","hashtag2"]},{"1399315514":["hashtag1","hashtag2"]},{"1399315517":["hashtag1","hashtag2"]},{"1399315525":["hashtag1","hashtag2"]},{"1399315519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315521, 1399315523, 1399315514, 1399315517, 1399315525, 1399315519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48148798942566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:47:22.509005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/45/image_14122025_01_45_23_9665.jpg', '/home/pi/Desktop/images/14122025/01/45/image_14122025_01_45_34_10622.jpg', '/home/pi/Desktop/images/14122025/01/45/image_14122025_01_45_44_9628.jpg', '/home/pi/Desktop/images/14122025/01/46/image_14122025_01_46_23_9682.jpg', '/home/pi/Desktop/images/14122025/01/46/image_14122025_01_46_34_10576.jpg', '/home/pi/Desktop/images/14122025/01/46/image_14122025_01_46_43_9548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/45/image_14122025_01_45_23_9665.jpg
/home/pi/Desktop/images/14122025/01/45/image_14122025_01_45_34_10622.jpg
/home/pi/Desktop/images/14122025/01/45/image_14122025_01_45_44_9628.jpg
/home/pi/Desktop/images/14122025/01/46/image_14122025_01_46_23_9682.jpg
/home/pi/Desktop/images/14122025/01/46/image_14122025_01_46_34_10576.jpg
/home/pi/Desktop/images/14122025/01/46/image_14122025_01_46_43_9548.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.45781636238098145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:47:32.440669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:47:42.392730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_43_1601.jpg', '/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_45_1673.jpg', '/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_46_1525.jpg', '/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_48_1644.jpg', '/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_50_1747.jpg', '/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_54_3968.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_43_1601.jpg
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_45_1673.jpg
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_46_1525.jpg
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_48_1644.jpg
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_50_1747.jpg
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_54_3968.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315539","1399315542","1399315536","1399315541","1399315538","1399315540"],"photo_ids_order":["1399315536","1399315538","1399315539","1399315540","1399315541","1399315542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ec5e86974819059885857308cd3dc4a3.jpg","text":"TemporaryFile(/tmp/multipartBody6708290810004926148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673323068,"filename":"image_04112025_11_04_46_1525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8dd57433e314b039487a7a35282297f5.jpg","text":"TemporaryFile(/tmp/multipartBody4564740153377513988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673323068,"filename":"image_04112025_11_04_54_3968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/875064a152da4dc4276342777d51d023.jpg","text":"TemporaryFile(/tmp/multipartBody2434844790919659730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673323068,"filename":"image_04112025_11_04_43_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/62dc94ef909f7c0f7eb1dbcfd4d2e653.jpg","text":"TemporaryFile(/tmp/multipartBody6173418047025590248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673323068,"filename":"image_04112025_11_04_50_1747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b73466f122b4ef457adffa528ac25995.jpg","text":"TemporaryFile(/tmp/multipartBody2191832813028200743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673323068,"filename":"image_04112025_11_04_45_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3493da3a676f20bb1d5c44fa3e653538.jpg","text":"TemporaryFile(/tmp/multipartBody5501667101050511677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673323068,"filename":"image_04112025_11_04_48_1644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315539","file1":"1399315538","file0":"1399315536","file4":"1399315541","file5":"1399315542","file3":"1399315540"},"map_files_photo_id_array":[{"photo_id":"1399315542","filename":"file5"},{"photo_id":"1399315539","filename":"file2"},{"photo_id":"1399315541","filename":"file4"},{"photo_id":"1399315538","filename":"file1"},{"photo_id":"1399315536","filename":"file0"},{"photo_id":"1399315540","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315539":["hashtag1","hashtag2"]},{"1399315542":["hashtag1","hashtag2"]},{"1399315536":["hashtag1","hashtag2"]},{"1399315541":["hashtag1","hashtag2"]},{"1399315538":["hashtag1","hashtag2"]},{"1399315540":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315539, 1399315542, 1399315536, 1399315541, 1399315538, 1399315540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.433345079422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:48:22.693185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/45/image_14122025_01_45_23_9665.jpg', '/home/pi/Desktop/images/14122025/01/45/image_14122025_01_45_34_10622.jpg', '/home/pi/Desktop/images/14122025/01/45/image_14122025_01_45_44_9628.jpg', '/home/pi/Desktop/images/14122025/01/46/image_14122025_01_46_23_9682.jpg', '/home/pi/Desktop/images/14122025/01/46/image_14122025_01_46_34_10576.jpg', '/home/pi/Desktop/images/14122025/01/46/image_14122025_01_46_43_9548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/45/image_14122025_01_45_23_9665.jpg
/home/pi/Desktop/images/14122025/01/45/image_14122025_01_45_34_10622.jpg
/home/pi/Desktop/images/14122025/01/45/image_14122025_01_45_44_9628.jpg
/home/pi/Desktop/images/14122025/01/46/image_14122025_01_46_23_9682.jpg
/home/pi/Desktop/images/14122025/01/46/image_14122025_01_46_34_10576.jpg
/home/pi/Desktop/images/14122025/01/46/image_14122025_01_46_43_9548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315544","1399315553","1399315547","1399315552","1399315549","1399315546"],"photo_ids_order":["1399315544","1399315546","1399315547","1399315549","1399315552","1399315553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f913f667f161ad99e0ef028f19a5a545.jpg","text":"TemporaryFile(/tmp/multipartBody2121067113439874143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673363233,"filename":"image_14122025_01_45_23_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1bbfeb31db51432fdc045bd87223df3d.jpg","text":"TemporaryFile(/tmp/multipartBody507127448573877728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673363233,"filename":"image_14122025_01_46_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/12/14/c0f376852a42f7163f54ef77d683ae50.jpg","text":"TemporaryFile(/tmp/multipartBody460196015365689828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673363233,"filename":"image_14122025_01_45_44_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1cc6e471be240766d046c1a81547a5ec.jpg","text":"TemporaryFile(/tmp/multipartBody3292481184590886639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673363233,"filename":"image_14122025_01_46_34_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/728870e8457a7d4740cf00e39eefda25.jpg","text":"TemporaryFile(/tmp/multipartBody8684783826029440361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673363233,"filename":"image_14122025_01_46_23_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ca3de79d6b5d481666059ee29852439.jpg","text":"TemporaryFile(/tmp/multipartBody7003432283742184138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673363233,"filename":"image_14122025_01_45_34_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315547","file1":"1399315546","file0":"1399315544","file4":"1399315552","file5":"1399315553","file3":"1399315549"},"map_files_photo_id_array":[{"photo_id":"1399315553","filename":"file5"},{"photo_id":"1399315547","filename":"file2"},{"photo_id":"1399315552","filename":"file4"},{"photo_id":"1399315546","filename":"file1"},{"photo_id":"1399315544","filename":"file0"},{"photo_id":"1399315549","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315544":["hashtag1","hashtag2"]},{"1399315553":["hashtag1","hashtag2"]},{"1399315547":["hashtag1","hashtag2"]},{"1399315552":["hashtag1","hashtag2"]},{"1399315549":["hashtag1","hashtag2"]},{"1399315546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315544, 1399315553, 1399315547, 1399315552, 1399315549, 1399315546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.075103998184204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:49:02.864127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/46/image_14122025_01_46_54_10776.jpg', '/home/pi/Desktop/images/14122025/01/46/image_14122025_01_47_04_9772.jpg', '/home/pi/Desktop/images/14122025/01/47/image_14122025_01_47_14_9639.jpg', '/home/pi/Desktop/images/14122025/01/47/image_14122025_01_47_23_9680.jpg', '/home/pi/Desktop/images/14122025/01/47/image_14122025_01_47_34_10793.jpg', '/home/pi/Desktop/images/14122025/01/47/image_14122025_01_47_54_10592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/46/image_14122025_01_46_54_10776.jpg
/home/pi/Desktop/images/14122025/01/46/image_14122025_01_47_04_9772.jpg
/home/pi/Desktop/images/14122025/01/47/image_14122025_01_47_14_9639.jpg
/home/pi/Desktop/images/14122025/01/47/image_14122025_01_47_23_9680.jpg
/home/pi/Desktop/images/14122025/01/47/image_14122025_01_47_34_10793.jpg
/home/pi/Desktop/images/14122025/01/47/image_14122025_01_47_54_10592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315562","1399315556","1399315559","1399315555","1399315558","1399315557"],"photo_ids_order":["1399315555","1399315556","1399315557","1399315558","1399315559","1399315562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cbec83fec1c548c948bea1014f4d86a5.jpg","text":"TemporaryFile(/tmp/multipartBody1190378452145954535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673404298,"filename":"image_14122025_01_47_54_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9184cd3a68c5f0035c74b6a8b460acbf.jpg","text":"TemporaryFile(/tmp/multipartBody612013182305191923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673404298,"filename":"image_14122025_01_47_04_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/330717430fc9e1814f26f56994af0d48.jpg","text":"TemporaryFile(/tmp/multipartBody3772834857773675778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673404298,"filename":"image_14122025_01_47_34_10793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/abdf7b1531a78666f0cc9a4449cbe69c.jpg","text":"TemporaryFile(/tmp/multipartBody3249715668792418767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673404298,"filename":"image_14122025_01_46_54_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/79761256b1f7c6f70a735f5d3eb2a5d5.jpg","text":"TemporaryFile(/tmp/multipartBody8826744789226413569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673404298,"filename":"image_14122025_01_47_23_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fd71e1c8af351000313c0d0907718fa2.jpg","text":"TemporaryFile(/tmp/multipartBody3978097345387616732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673404298,"filename":"image_14122025_01_47_14_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315557","file1":"1399315556","file0":"1399315555","file4":"1399315559","file5":"1399315562","file3":"1399315558"},"map_files_photo_id_array":[{"photo_id":"1399315562","filename":"file5"},{"photo_id":"1399315557","filename":"file2"},{"photo_id":"1399315559","filename":"file4"},{"photo_id":"1399315556","filename":"file1"},{"photo_id":"1399315555","filename":"file0"},{"photo_id":"1399315558","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315562":["hashtag1","hashtag2"]},{"1399315556":["hashtag1","hashtag2"]},{"1399315559":["hashtag1","hashtag2"]},{"1399315555":["hashtag1","hashtag2"]},{"1399315558":["hashtag1","hashtag2"]},{"1399315557":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315562, 1399315556, 1399315559, 1399315555, 1399315558, 1399315557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56534194946289 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:50:02.526992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/47/image_14122025_01_48_04_9895.jpg', '/home/pi/Desktop/images/14122025/01/48/image_14122025_01_48_14_9717.jpg', '/home/pi/Desktop/images/14122025/01/48/image_14122025_01_48_24_9694.jpg', '/home/pi/Desktop/images/14122025/01/48/image_14122025_01_48_34_10659.jpg', '/home/pi/Desktop/images/14122025/01/48/image_14122025_01_48_44_9557.jpg', '/home/pi/Desktop/images/14122025/01/48/image_14122025_01_49_04_10594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/47/image_14122025_01_48_04_9895.jpg
/home/pi/Desktop/images/14122025/01/48/image_14122025_01_48_14_9717.jpg
/home/pi/Desktop/images/14122025/01/48/image_14122025_01_48_24_9694.jpg
/home/pi/Desktop/images/14122025/01/48/image_14122025_01_48_34_10659.jpg
/home/pi/Desktop/images/14122025/01/48/image_14122025_01_48_44_9557.jpg
/home/pi/Desktop/images/14122025/01/48/image_14122025_01_49_04_10594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315566","1399315569","1399315568","1399315565","1399315570","1399315567"],"photo_ids_order":["1399315565","1399315566","1399315567","1399315568","1399315569","1399315570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f8b0ab5082128f84d7dc5e549df6fc2e.jpg","text":"TemporaryFile(/tmp/multipartBody930296230246548282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673463092,"filename":"image_14122025_01_48_14_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/53389c6cf0704e1da16339b153a9ab3c.jpg","text":"TemporaryFile(/tmp/multipartBody3356831732102268148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673463092,"filename":"image_14122025_01_48_44_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0aaead3f8d761c1a1de8a154e1f4906b.jpg","text":"TemporaryFile(/tmp/multipartBody3111586519329290974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673463092,"filename":"image_14122025_01_48_34_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ee7d76c4b6d5114738366e780c7f5266.jpg","text":"TemporaryFile(/tmp/multipartBody792880942342946251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673463092,"filename":"image_14122025_01_48_04_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f81dfa51a50df332b1cb1e23749893c9.jpg","text":"TemporaryFile(/tmp/multipartBody7363124833868732467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673463092,"filename":"image_14122025_01_49_04_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b2805afba099fd2038a0eabe92918ced.jpg","text":"TemporaryFile(/tmp/multipartBody9045863324790178095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673463092,"filename":"image_14122025_01_48_24_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315567","file1":"1399315566","file0":"1399315565","file4":"1399315569","file5":"1399315570","file3":"1399315568"},"map_files_photo_id_array":[{"photo_id":"1399315570","filename":"file5"},{"photo_id":"1399315567","filename":"file2"},{"photo_id":"1399315569","filename":"file4"},{"photo_id":"1399315566","filename":"file1"},{"photo_id":"1399315565","filename":"file0"},{"photo_id":"1399315568","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315566":["hashtag1","hashtag2"]},{"1399315569":["hashtag1","hashtag2"]},{"1399315568":["hashtag1","hashtag2"]},{"1399315565":["hashtag1","hashtag2"]},{"1399315570":["hashtag1","hashtag2"]},{"1399315567":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315566, 1399315569, 1399315568, 1399315565, 1399315570, 1399315567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55237793922424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:50:41.996685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_55_1782.jpg', '/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_57_1661.jpg', '/home/pi/Desktop/images/04112025/11/04/image_04112025_11_05_00_2550.jpg', '/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_07_3011.jpg', '/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_11_3802.jpg', '/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_14_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_55_1782.jpg
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_04_57_1661.jpg
/home/pi/Desktop/images/04112025/11/04/image_04112025_11_05_00_2550.jpg
/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_07_3011.jpg
/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_11_3802.jpg
/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_14_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":["1399315587","1399315583","1399315585","1399315581","1399315575","1399315578"],"photo_ids_order":["1399315575","1399315578","1399315581","1399315583","1399315585","1399315587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c8b18d46e0a9c562af439a15cb843408.jpg","text":"TemporaryFile(/tmp/multipartBody831378356134797421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673502687,"filename":"image_04112025_11_05_14_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a00e80d80364ede66fa2a738607f5d9e.jpg","text":"TemporaryFile(/tmp/multipartBody601194884176152204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673502687,"filename":"image_04112025_11_05_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2feac9d39fd9e5a2429bf8ffd49885b2.jpg","text":"TemporaryFile(/tmp/multipartBody2904298882987104950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673502687,"filename":"image_04112025_11_05_11_3802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1003418d51d5f5ef7cbc7caba8400dc8.jpg","text":"TemporaryFile(/tmp/multipartBody7582442992272754944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673502687,"filename":"image_04112025_11_05_00_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/72130375bcd35e9d98d299e61c6aa58f.jpg","text":"TemporaryFile(/tmp/multipartBody4119417987975440603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673502687,"filename":"image_04112025_11_04_55_1782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1cda35387fde23f509df2afafcd589d5.jpg","text":"TemporaryFile(/tmp/multipartBody7595465598664184071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673502687,"filename":"image_04112025_11_04_57_1661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315581","file1":"1399315578","file0":"1399315575","file4":"1399315585","file5":"1399315587","file3":"1399315583"},"map_files_photo_id_array":[{"photo_id":"1399315587","filename":"file5"},{"photo_id":"1399315581","filename":"file2"},{"photo_id":"1399315585","filename":"file4"},{"photo_id":"1399315578","filename":"file1"},{"photo_id":"1399315575","filename":"file0"},{"photo_id":"1399315583","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315587":["hashtag1","hashtag2"]},{"1399315583":["hashtag1","hashtag2"]},{"1399315585":["hashtag1","hashtag2"]},{"1399315581":["hashtag1","hashtag2"]},{"1399315575":["hashtag1","hashtag2"]},{"1399315578":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315587, 1399315583, 1399315585, 1399315581, 1399315575, 1399315578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.218822956085205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:51:22.284947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/49/image_14122025_01_49_14_9767.jpg', '/home/pi/Desktop/images/14122025/01/49/image_14122025_01_49_24_9683.jpg', '/home/pi/Desktop/images/14122025/01/49/image_14122025_01_49_34_10532.jpg', '/home/pi/Desktop/images/14122025/01/49/image_14122025_01_49_44_9649.jpg', '/home/pi/Desktop/images/14122025/01/49/image_14122025_01_50_04_10650.jpg', '/home/pi/Desktop/images/14122025/01/50/image_14122025_01_50_14_9880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/49/image_14122025_01_49_14_9767.jpg
/home/pi/Desktop/images/14122025/01/49/image_14122025_01_49_24_9683.jpg
/home/pi/Desktop/images/14122025/01/49/image_14122025_01_49_34_10532.jpg
/home/pi/Desktop/images/14122025/01/49/image_14122025_01_49_44_9649.jpg
/home/pi/Desktop/images/14122025/01/49/image_14122025_01_50_04_10650.jpg
/home/pi/Desktop/images/14122025/01/50/image_14122025_01_50_14_9880.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315592","1399315597","1399315594","1399315588","1399315599","1399315590"],"photo_ids_order":["1399315588","1399315590","1399315592","1399315594","1399315597","1399315599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c96e7990bdcb0e2df6f339f1f44308a0.jpg","text":"TemporaryFile(/tmp/multipartBody3630498821068877794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673542848,"filename":"image_14122025_01_49_34_10532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5360f99a2581e2d6b7661ca150bc408e.jpg","text":"TemporaryFile(/tmp/multipartBody1260353699893877377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673542848,"filename":"image_14122025_01_50_04_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/06f7b4acd64b6cf665f723f9dcc7a241.jpg","text":"TemporaryFile(/tmp/multipartBody6592227531942377078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673542848,"filename":"image_14122025_01_49_44_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b58cfddf520e4b8310ba8a7c955ff74e.jpg","text":"TemporaryFile(/tmp/multipartBody6854312908158092601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673542848,"filename":"image_14122025_01_49_14_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f7d8576dab29dd799eb5ae39849ee7ee.jpg","text":"TemporaryFile(/tmp/multipartBody1729621849485494368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673542848,"filename":"image_14122025_01_50_14_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ffe69a6647b4c80159ecc3a868a2bf61.jpg","text":"TemporaryFile(/tmp/multipartBody2774207260763486036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673542848,"filename":"image_14122025_01_49_24_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315592","file1":"1399315590","file0":"1399315588","file4":"1399315597","file5":"1399315599","file3":"1399315594"},"map_files_photo_id_array":[{"photo_id":"1399315599","filename":"file5"},{"photo_id":"1399315592","filename":"file2"},{"photo_id":"1399315597","filename":"file4"},{"photo_id":"1399315590","filename":"file1"},{"photo_id":"1399315588","filename":"file0"},{"photo_id":"1399315594","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315592":["hashtag1","hashtag2"]},{"1399315597":["hashtag1","hashtag2"]},{"1399315594":["hashtag1","hashtag2"]},{"1399315588":["hashtag1","hashtag2"]},{"1399315599":["hashtag1","hashtag2"]},{"1399315590":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315592, 1399315597, 1399315594, 1399315588, 1399315599, 1399315590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71726608276367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:52:02.898811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/50/image_14122025_01_50_24_9619.jpg', '/home/pi/Desktop/images/14122025/01/50/image_14122025_01_50_34_10667.jpg', '/home/pi/Desktop/images/14122025/01/50/image_14122025_01_50_44_9519.jpg', '/home/pi/Desktop/images/14122025/01/50/image_14122025_01_51_04_10603.jpg', '/home/pi/Desktop/images/14122025/01/51/image_14122025_01_51_14_9707.jpg', '/home/pi/Desktop/images/14122025/01/51/image_14122025_01_51_23_9578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/50/image_14122025_01_50_24_9619.jpg
/home/pi/Desktop/images/14122025/01/50/image_14122025_01_50_34_10667.jpg
/home/pi/Desktop/images/14122025/01/50/image_14122025_01_50_44_9519.jpg
/home/pi/Desktop/images/14122025/01/50/image_14122025_01_51_04_10603.jpg
/home/pi/Desktop/images/14122025/01/51/image_14122025_01_51_14_9707.jpg
/home/pi/Desktop/images/14122025/01/51/image_14122025_01_51_23_9578.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.44980740547180176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:52:12.438184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:52:22.469848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/50/image_14122025_01_50_24_9619.jpg', '/home/pi/Desktop/images/14122025/01/50/image_14122025_01_50_34_10667.jpg', '/home/pi/Desktop/images/14122025/01/50/image_14122025_01_50_44_9519.jpg', '/home/pi/Desktop/images/14122025/01/50/image_14122025_01_51_04_10603.jpg', '/home/pi/Desktop/images/14122025/01/51/image_14122025_01_51_14_9707.jpg', '/home/pi/Desktop/images/14122025/01/51/image_14122025_01_51_23_9578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/50/image_14122025_01_50_24_9619.jpg
/home/pi/Desktop/images/14122025/01/50/image_14122025_01_50_34_10667.jpg
/home/pi/Desktop/images/14122025/01/50/image_14122025_01_50_44_9519.jpg
/home/pi/Desktop/images/14122025/01/50/image_14122025_01_51_04_10603.jpg
/home/pi/Desktop/images/14122025/01/51/image_14122025_01_51_14_9707.jpg
/home/pi/Desktop/images/14122025/01/51/image_14122025_01_51_23_9578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315611","1399315604","1399315613","1399315607","1399315615","1399315609"],"photo_ids_order":["1399315604","1399315607","1399315609","1399315611","1399315613","1399315615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/70856b6f4bd22c2dedef519c446f24c3.jpg","text":"TemporaryFile(/tmp/multipartBody1258660987793073816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673603029,"filename":"image_14122025_01_51_04_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/71245f296cd30e06882f48c113d8db0f.jpg","text":"TemporaryFile(/tmp/multipartBody6030112710001313835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673603029,"filename":"image_14122025_01_50_24_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/964d10a8ab64c564c66f38d64515e6c4.jpg","text":"TemporaryFile(/tmp/multipartBody8275296069961164631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673603029,"filename":"image_14122025_01_51_14_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e8552fdc1942fc5716431b0d8c11a6a0.jpg","text":"TemporaryFile(/tmp/multipartBody9184482427193008369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673603029,"filename":"image_14122025_01_50_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/12/14/72444749cca9dd19845b23292d0fa3e3.jpg","text":"TemporaryFile(/tmp/multipartBody2834977970523862074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673603029,"filename":"image_14122025_01_51_23_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2fa8e873d1992e84ad3f9d7b82bf49ea.jpg","text":"TemporaryFile(/tmp/multipartBody2737398439570391364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673603029,"filename":"image_14122025_01_50_44_9519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315609","file1":"1399315607","file0":"1399315604","file4":"1399315613","file5":"1399315615","file3":"1399315611"},"map_files_photo_id_array":[{"photo_id":"1399315615","filename":"file5"},{"photo_id":"1399315609","filename":"file2"},{"photo_id":"1399315613","filename":"file4"},{"photo_id":"1399315607","filename":"file1"},{"photo_id":"1399315604","filename":"file0"},{"photo_id":"1399315611","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315611":["hashtag1","hashtag2"]},{"1399315604":["hashtag1","hashtag2"]},{"1399315613":["hashtag1","hashtag2"]},{"1399315607":["hashtag1","hashtag2"]},{"1399315615":["hashtag1","hashtag2"]},{"1399315609":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315611, 1399315604, 1399315613, 1399315607, 1399315615, 1399315609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75199007987976 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:53:12.799463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:53:22.829878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/51/image_14122025_01_51_34_10620.jpg', '/home/pi/Desktop/images/14122025/01/51/image_14122025_01_51_44_9705.jpg', '/home/pi/Desktop/images/14122025/01/51/image_14122025_01_51_53_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/51/image_14122025_01_51_34_10620.jpg
/home/pi/Desktop/images/14122025/01/51/image_14122025_01_51_44_9705.jpg
/home/pi/Desktop/images/14122025/01/51/image_14122025_01_51_53_9681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315620","1399315616","1399315618"],"photo_ids_order":["1399315616","1399315618","1399315620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9914fb6101c534c0cd81baffb6c5b2b2.jpg","text":"TemporaryFile(/tmp/multipartBody675367193202396337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673663310,"filename":"image_14122025_01_51_53_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d3ae4fd0d6f93a8c338557549a851c06.jpg","text":"TemporaryFile(/tmp/multipartBody7686708498027797006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673663310,"filename":"image_14122025_01_51_34_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c7ff13fc59eeb8ebc05e943e1fe0659.jpg","text":"TemporaryFile(/tmp/multipartBody1064369528335352144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673663310,"filename":"image_14122025_01_51_44_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315620","file1":"1399315618","file0":"1399315616"},"map_files_photo_id_array":[{"photo_id":"1399315620","filename":"file2"},{"photo_id":"1399315618","filename":"file1"},{"photo_id":"1399315616","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315620":["hashtag1","hashtag2"]},{"1399315616":["hashtag1","hashtag2"]},{"1399315618":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315620, 1399315616, 1399315618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.996659517288208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:54:02.765491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:54:12.040313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:54:22.105970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/52/image_14122025_01_52_14_9701.jpg', '/home/pi/Desktop/images/14122025/01/54/image_14122025_01_54_44_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/52/image_14122025_01_52_14_9701.jpg
/home/pi/Desktop/images/14122025/01/54/image_14122025_01_54_44_9598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315625","1399315624"],"photo_ids_order":["1399315624","1399315625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f09952530f730e8585b73d9e276e74b8.jpg","text":"TemporaryFile(/tmp/multipartBody2357535428425234429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673722543,"filename":"image_14122025_01_54_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/12/14/38b95ed6e38e5601097cc25edc33142a.jpg","text":"TemporaryFile(/tmp/multipartBody1058253504432719311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673722543,"filename":"image_14122025_01_52_14_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399315625","file0":"1399315624"},"map_files_photo_id_array":[{"photo_id":"1399315625","filename":"file1"},{"photo_id":"1399315624","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315625":["hashtag1","hashtag2"]},{"1399315624":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315625, 1399315624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.683836698532104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:54:41.990518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_16_2664.jpg', '/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_20_3657.jpg', '/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_23_2866.jpg', '/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_25_2561.jpg', '/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_29_3572.jpg', '/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_31_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_16_2664.jpg
/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_20_3657.jpg
/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_23_2866.jpg
/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_25_2561.jpg
/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_29_3572.jpg
/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_31_2610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315641","1399315635","1399315637","1399315633","1399315639","1399315630"],"photo_ids_order":["1399315630","1399315633","1399315635","1399315637","1399315639","1399315641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a7a1f0aad6b9a534711c9b37833f71ff.jpg","text":"TemporaryFile(/tmp/multipartBody3534549831580838058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673742696,"filename":"image_04112025_11_05_31_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e85b12ff0ef925ef7b00f29038a003bd.jpg","text":"TemporaryFile(/tmp/multipartBody6569049315951614085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673742696,"filename":"image_04112025_11_05_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/12/14/2335a2fd0004e5d7e333f1e5aa238f5c.jpg","text":"TemporaryFile(/tmp/multipartBody8747918681573372072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673742696,"filename":"image_04112025_11_05_25_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/599e5eda02adf9ae831a34976b865609.jpg","text":"TemporaryFile(/tmp/multipartBody3438266041319080362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673742696,"filename":"image_04112025_11_05_20_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/779b32a79accb2567e38ddd49907badd.jpg","text":"TemporaryFile(/tmp/multipartBody6056133872513524544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673742696,"filename":"image_04112025_11_05_29_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b598bf45cea976706bf74832210e6232.jpg","text":"TemporaryFile(/tmp/multipartBody190243096909708219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673742696,"filename":"image_04112025_11_05_16_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315635","file1":"1399315633","file0":"1399315630","file4":"1399315639","file5":"1399315641","file3":"1399315637"},"map_files_photo_id_array":[{"photo_id":"1399315641","filename":"file5"},{"photo_id":"1399315635","filename":"file2"},{"photo_id":"1399315639","filename":"file4"},{"photo_id":"1399315633","filename":"file1"},{"photo_id":"1399315630","filename":"file0"},{"photo_id":"1399315637","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315641":["hashtag1","hashtag2"]},{"1399315635":["hashtag1","hashtag2"]},{"1399315637":["hashtag1","hashtag2"]},{"1399315633":["hashtag1","hashtag2"]},{"1399315639":["hashtag1","hashtag2"]},{"1399315630":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315641, 1399315635, 1399315637, 1399315633, 1399315639, 1399315630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.88936519622803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:55:32.236706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:55:42.188506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_34_2633.jpg', '/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_40_6387.jpg', '/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_42_1672.jpg', '/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_46_4253.jpg', '/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_48_1687.jpg', '/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_55_6924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_34_2633.jpg
/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_40_6387.jpg
/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_42_1672.jpg
/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_46_4253.jpg
/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_48_1687.jpg
/home/pi/Desktop/images/04112025/11/05/image_04112025_11_05_55_6924.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315650","1399315653","1399315652","1399315651","1399315654","1399315648"],"photo_ids_order":["1399315648","1399315650","1399315651","1399315652","1399315653","1399315654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c3f8f03ff9ad2986fab3acc08dc5b9dd.jpg","text":"TemporaryFile(/tmp/multipartBody7133026949932517855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673802868,"filename":"image_04112025_11_05_40_6387.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be8fbaedfc53b30f76217675f13cb2ef.jpg","text":"TemporaryFile(/tmp/multipartBody8933479855100701756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673802868,"filename":"image_04112025_11_05_48_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/23fac69a89308ed36edb91acae255f42.jpg","text":"TemporaryFile(/tmp/multipartBody4529663405668686335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673802868,"filename":"image_04112025_11_05_46_4253.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f01cb4c431b6779f28ee7de80cdbc19.jpg","text":"TemporaryFile(/tmp/multipartBody1415070563650141490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673802868,"filename":"image_04112025_11_05_42_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ec5d80449229da00446e17ab9975d31f.jpg","text":"TemporaryFile(/tmp/multipartBody308822365479688855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673802868,"filename":"image_04112025_11_05_55_6924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d7850b82064f0fcb65cefb29e007fae.jpg","text":"TemporaryFile(/tmp/multipartBody779040476256309552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673802868,"filename":"image_04112025_11_05_34_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315651","file1":"1399315650","file0":"1399315648","file4":"1399315653","file5":"1399315654","file3":"1399315652"},"map_files_photo_id_array":[{"photo_id":"1399315654","filename":"file5"},{"photo_id":"1399315651","filename":"file2"},{"photo_id":"1399315653","filename":"file4"},{"photo_id":"1399315650","filename":"file1"},{"photo_id":"1399315648","filename":"file0"},{"photo_id":"1399315652","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315650":["hashtag1","hashtag2"]},{"1399315653":["hashtag1","hashtag2"]},{"1399315652":["hashtag1","hashtag2"]},{"1399315651":["hashtag1","hashtag2"]},{"1399315654":["hashtag1","hashtag2"]},{"1399315648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315650, 1399315653, 1399315652, 1399315651, 1399315654, 1399315648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89463758468628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:56:22.411515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/54/image_14122025_01_54_53_9730.jpg', '/home/pi/Desktop/images/14122025/01/54/image_14122025_01_55_04_10685.jpg', '/home/pi/Desktop/images/14122025/01/55/image_14122025_01_55_24_9643.jpg', '/home/pi/Desktop/images/14122025/01/55/image_14122025_01_55_44_9609.jpg', '/home/pi/Desktop/images/14122025/01/55/image_14122025_01_55_53_9599.jpg', '/home/pi/Desktop/images/14122025/01/55/image_14122025_01_56_04_10779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/54/image_14122025_01_54_53_9730.jpg
/home/pi/Desktop/images/14122025/01/54/image_14122025_01_55_04_10685.jpg
/home/pi/Desktop/images/14122025/01/55/image_14122025_01_55_24_9643.jpg
/home/pi/Desktop/images/14122025/01/55/image_14122025_01_55_44_9609.jpg
/home/pi/Desktop/images/14122025/01/55/image_14122025_01_55_53_9599.jpg
/home/pi/Desktop/images/14122025/01/55/image_14122025_01_56_04_10779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315664","1399315658","1399315666","1399315660","1399315662","1399315656"],"photo_ids_order":["1399315656","1399315658","1399315660","1399315662","1399315664","1399315666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f350a42626a23cab8b51d8e26ab7fc3d.jpg","text":"TemporaryFile(/tmp/multipartBody866337949323137780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673842975,"filename":"image_14122025_01_55_53_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/30a5f812e1f9304bc98e0880ed3b7efd.jpg","text":"TemporaryFile(/tmp/multipartBody5469999555897007498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673842975,"filename":"image_14122025_01_55_04_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e132d4c00a414ead152105725e972da5.jpg","text":"TemporaryFile(/tmp/multipartBody2522240447376489076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673842975,"filename":"image_14122025_01_56_04_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0620161d94fe779ea547d7df80d8cd89.jpg","text":"TemporaryFile(/tmp/multipartBody2684131078453465044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673842975,"filename":"image_14122025_01_55_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/469cae0b9edceafb8791ccf612805a1e.jpg","text":"TemporaryFile(/tmp/multipartBody4168605310092709990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673842975,"filename":"image_14122025_01_55_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/12/14/0ac0ab421dd65c893994550c68b19a07.jpg","text":"TemporaryFile(/tmp/multipartBody1636166355524239257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673842975,"filename":"image_14122025_01_54_53_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315660","file1":"1399315658","file0":"1399315656","file4":"1399315664","file5":"1399315666","file3":"1399315662"},"map_files_photo_id_array":[{"photo_id":"1399315666","filename":"file5"},{"photo_id":"1399315660","filename":"file2"},{"photo_id":"1399315664","filename":"file4"},{"photo_id":"1399315658","filename":"file1"},{"photo_id":"1399315656","filename":"file0"},{"photo_id":"1399315662","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315664":["hashtag1","hashtag2"]},{"1399315658":["hashtag1","hashtag2"]},{"1399315666":["hashtag1","hashtag2"]},{"1399315660":["hashtag1","hashtag2"]},{"1399315662":["hashtag1","hashtag2"]},{"1399315656":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315664, 1399315658, 1399315666, 1399315660, 1399315662, 1399315656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.963287591934204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:57:03.408258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/56/image_14122025_01_56_34_10719.jpg', '/home/pi/Desktop/images/14122025/01/56/image_14122025_01_56_44_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/56/image_14122025_01_56_34_10719.jpg
/home/pi/Desktop/images/14122025/01/56/image_14122025_01_56_44_9620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315668","1399315667"],"photo_ids_order":["1399315667","1399315668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d43c2784a56a8f8cdbf7b4160f6527da.jpg","text":"TemporaryFile(/tmp/multipartBody2148341215289181815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673883879,"filename":"image_14122025_01_56_44_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81026a1bbf40ea2d3f5f297a4d563b17.jpg","text":"TemporaryFile(/tmp/multipartBody3387189122330202819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673883879,"filename":"image_14122025_01_56_34_10719.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399315668","file0":"1399315667"},"map_files_photo_id_array":[{"photo_id":"1399315668","filename":"file1"},{"photo_id":"1399315667","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315668":["hashtag1","hashtag2"]},{"1399315667":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315668, 1399315667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.99452567100525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 01:57:22.733357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/56/image_14122025_01_56_53_9588.jpg', '/home/pi/Desktop/images/14122025/01/56/image_14122025_01_57_04_10662.jpg', '/home/pi/Desktop/images/14122025/01/57/image_14122025_01_57_14_9762.jpg', '/home/pi/Desktop/images/14122025/01/57/image_14122025_01_57_23_9624.jpg', '/home/pi/Desktop/images/14122025/01/57/image_14122025_01_57_34_10679.jpg', '/home/pi/Desktop/images/14122025/01/57/image_14122025_01_57_44_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/56/image_14122025_01_56_53_9588.jpg
/home/pi/Desktop/images/14122025/01/56/image_14122025_01_57_04_10662.jpg
/home/pi/Desktop/images/14122025/01/57/image_14122025_01_57_14_9762.jpg
/home/pi/Desktop/images/14122025/01/57/image_14122025_01_57_23_9624.jpg
/home/pi/Desktop/images/14122025/01/57/image_14122025_01_57_34_10679.jpg
/home/pi/Desktop/images/14122025/01/57/image_14122025_01_57_44_9764.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4328925609588623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 01:57:32.805906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:57:42.716274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_04_8883.jpg', '/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_06_1716.jpg', '/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_16_10005.jpg', '/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_19_3096.jpg', '/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_20_1579.jpg', '/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_22_1766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_04_8883.jpg
/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_06_1716.jpg
/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_16_10005.jpg
/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_19_3096.jpg
/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_20_1579.jpg
/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_22_1766.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315682","1399315679","1399315684","1399315681","1399315680","1399315683"],"photo_ids_order":["1399315679","1399315680","1399315681","1399315682","1399315683","1399315684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b1f10c93b1aebc3bd9b188de9df51ac.jpg","text":"TemporaryFile(/tmp/multipartBody8225946094074264156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673923403,"filename":"image_04112025_11_06_19_3096.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6a02e4410b63be951d4bbd914d0a4cc.jpg","text":"TemporaryFile(/tmp/multipartBody8666908935931202039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673923403,"filename":"image_04112025_11_06_04_8883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e00c4c7e76ee19e364bc27866c34ad6b.jpg","text":"TemporaryFile(/tmp/multipartBody5005053933035327308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673923403,"filename":"image_04112025_11_06_22_1766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8334623d415ddbcfdd25c6f230077a6a.jpg","text":"TemporaryFile(/tmp/multipartBody7001761531974127872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673923403,"filename":"image_04112025_11_06_16_10005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d0c5e7610fe1201866328c6f1bcf6df.jpg","text":"TemporaryFile(/tmp/multipartBody1949324075596032936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673923403,"filename":"image_04112025_11_06_06_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2081cb74e4892149a93ff97237bfd35b.jpg","text":"TemporaryFile(/tmp/multipartBody7869507282166169358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765673923403,"filename":"image_04112025_11_06_20_1579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315681","file1":"1399315680","file0":"1399315679","file4":"1399315683","file5":"1399315684","file3":"1399315682"},"map_files_photo_id_array":[{"photo_id":"1399315684","filename":"file5"},{"photo_id":"1399315681","filename":"file2"},{"photo_id":"1399315683","filename":"file4"},{"photo_id":"1399315680","filename":"file1"},{"photo_id":"1399315679","filename":"file0"},{"photo_id":"1399315682","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315682":["hashtag1","hashtag2"]},{"1399315679":["hashtag1","hashtag2"]},{"1399315684":["hashtag1","hashtag2"]},{"1399315681":["hashtag1","hashtag2"]},{"1399315680":["hashtag1","hashtag2"]},{"1399315683":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315682, 1399315679, 1399315684, 1399315681, 1399315680, 1399315683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91700053215027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 01:59:02.942785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/56/image_14122025_01_56_53_9588.jpg', '/home/pi/Desktop/images/14122025/01/56/image_14122025_01_57_04_10662.jpg', '/home/pi/Desktop/images/14122025/01/57/image_14122025_01_57_14_9762.jpg', '/home/pi/Desktop/images/14122025/01/57/image_14122025_01_57_23_9624.jpg', '/home/pi/Desktop/images/14122025/01/57/image_14122025_01_57_34_10679.jpg', '/home/pi/Desktop/images/14122025/01/57/image_14122025_01_57_44_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/56/image_14122025_01_56_53_9588.jpg
/home/pi/Desktop/images/14122025/01/56/image_14122025_01_57_04_10662.jpg
/home/pi/Desktop/images/14122025/01/57/image_14122025_01_57_14_9762.jpg
/home/pi/Desktop/images/14122025/01/57/image_14122025_01_57_23_9624.jpg
/home/pi/Desktop/images/14122025/01/57/image_14122025_01_57_34_10679.jpg
/home/pi/Desktop/images/14122025/01/57/image_14122025_01_57_44_9764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315685","1399315694","1399315696","1399315687","1399315692","1399315689"],"photo_ids_order":["1399315685","1399315687","1399315689","1399315692","1399315694","1399315696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b83a177a639de9d99df59ce0d5474422.jpg","text":"TemporaryFile(/tmp/multipartBody3384126713345794598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674003728,"filename":"image_14122025_01_56_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/12/14/64de75a66dc015fc1e70c51a6f1cfe5e.jpg","text":"TemporaryFile(/tmp/multipartBody5352779491658674570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674003728,"filename":"image_14122025_01_57_34_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b47245f46b2793950c9c6f69b5dbd588.jpg","text":"TemporaryFile(/tmp/multipartBody6786972369616711569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674003728,"filename":"image_14122025_01_57_44_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c223c895bfffd4476d8404c75d748e0.jpg","text":"TemporaryFile(/tmp/multipartBody382807358968878975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674003728,"filename":"image_14122025_01_57_04_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bc50a3a68a61ad69b58f3b383c9b9604.jpg","text":"TemporaryFile(/tmp/multipartBody4081530391876446356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674003728,"filename":"image_14122025_01_57_23_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3ec486ddbc8ed6eb1d8ad579d52b56f2.jpg","text":"TemporaryFile(/tmp/multipartBody1771711437188664507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674003728,"filename":"image_14122025_01_57_14_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315689","file1":"1399315687","file0":"1399315685","file4":"1399315694","file5":"1399315696","file3":"1399315692"},"map_files_photo_id_array":[{"photo_id":"1399315696","filename":"file5"},{"photo_id":"1399315689","filename":"file2"},{"photo_id":"1399315694","filename":"file4"},{"photo_id":"1399315687","filename":"file1"},{"photo_id":"1399315685","filename":"file0"},{"photo_id":"1399315692","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315685":["hashtag1","hashtag2"]},{"1399315694":["hashtag1","hashtag2"]},{"1399315696":["hashtag1","hashtag2"]},{"1399315687":["hashtag1","hashtag2"]},{"1399315692":["hashtag1","hashtag2"]},{"1399315689":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315685, 1399315694, 1399315696, 1399315687, 1399315692, 1399315689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11306929588318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 01:59:42.033893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_24_1612.jpg', '/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_26_2634.jpg', '/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_28_1725.jpg', '/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_30_1516.jpg', '/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_31_1657.jpg', '/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_33_1552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_24_1612.jpg
/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_26_2634.jpg
/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_28_1725.jpg
/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_30_1516.jpg
/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_31_1657.jpg
/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_33_1552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315704","1399315706","1399315700","1399315702","1399315708","1399315698"],"photo_ids_order":["1399315698","1399315700","1399315702","1399315704","1399315706","1399315708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a30bf31647253ccd1136b027a4b0be8e.jpg","text":"TemporaryFile(/tmp/multipartBody8441010411470360779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674042697,"filename":"image_04112025_11_06_30_1516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2dafc70889874144497547c69e40e8b.jpg","text":"TemporaryFile(/tmp/multipartBody8948885578622631544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674042697,"filename":"image_04112025_11_06_31_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7508b208e75b82ba9ce3c9d869ffb263.jpg","text":"TemporaryFile(/tmp/multipartBody6639523512093494457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674042697,"filename":"image_04112025_11_06_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/12/14/6110bdb6881d808dd7f1f9c29c6dbb82.jpg","text":"TemporaryFile(/tmp/multipartBody8864318163813465251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674042697,"filename":"image_04112025_11_06_28_1725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce14d059644d15b2332f85750336f6c1.jpg","text":"TemporaryFile(/tmp/multipartBody8221914149805155926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674042697,"filename":"image_04112025_11_06_33_1552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/97700ee14b4df7304f7a087eb576551f.jpg","text":"TemporaryFile(/tmp/multipartBody3522715124498762708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674042697,"filename":"image_04112025_11_06_24_1612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315702","file1":"1399315700","file0":"1399315698","file4":"1399315706","file5":"1399315708","file3":"1399315704"},"map_files_photo_id_array":[{"photo_id":"1399315708","filename":"file5"},{"photo_id":"1399315702","filename":"file2"},{"photo_id":"1399315706","filename":"file4"},{"photo_id":"1399315700","filename":"file1"},{"photo_id":"1399315698","filename":"file0"},{"photo_id":"1399315704","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315704":["hashtag1","hashtag2"]},{"1399315706":["hashtag1","hashtag2"]},{"1399315700":["hashtag1","hashtag2"]},{"1399315702":["hashtag1","hashtag2"]},{"1399315708":["hashtag1","hashtag2"]},{"1399315698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315704, 1399315706, 1399315700, 1399315702, 1399315708, 1399315698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82962465286255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:00:22.313540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/57/image_14122025_01_57_53_9617.jpg', '/home/pi/Desktop/images/14122025/01/57/image_14122025_01_58_04_10749.jpg', '/home/pi/Desktop/images/14122025/01/58/image_14122025_01_58_24_9630.jpg', '/home/pi/Desktop/images/14122025/01/58/image_14122025_01_58_44_9689.jpg', '/home/pi/Desktop/images/14122025/01/58/image_14122025_01_58_54_9746.jpg', '/home/pi/Desktop/images/14122025/01/58/image_14122025_01_59_04_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/57/image_14122025_01_57_53_9617.jpg
/home/pi/Desktop/images/14122025/01/57/image_14122025_01_58_04_10749.jpg
/home/pi/Desktop/images/14122025/01/58/image_14122025_01_58_24_9630.jpg
/home/pi/Desktop/images/14122025/01/58/image_14122025_01_58_44_9689.jpg
/home/pi/Desktop/images/14122025/01/58/image_14122025_01_58_54_9746.jpg
/home/pi/Desktop/images/14122025/01/58/image_14122025_01_59_04_10593.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.43583226203918457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:00:32.278797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:00:42.296708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_34_1698.jpg', '/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_36_1583.jpg', '/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_38_1625.jpg', '/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_39_1534.jpg', '/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_56_15263.jpg', '/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_58_1618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_34_1698.jpg
/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_36_1583.jpg
/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_38_1625.jpg
/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_39_1534.jpg
/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_56_15263.jpg
/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_58_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":["1399315725","1399315722","1399315724","1399315720","1399315723","1399315726"],"photo_ids_order":["1399315720","1399315722","1399315723","1399315724","1399315725","1399315726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/656d5746f4e257947c57106542a08e0c.jpg","text":"TemporaryFile(/tmp/multipartBody3313022389605861192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674102974,"filename":"image_04112025_11_06_56_15263.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0933f0b6605fdc389b75a38fe9b8c4e8.jpg","text":"TemporaryFile(/tmp/multipartBody4983068456719117371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674102974,"filename":"image_04112025_11_06_36_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bfbcd607950dc214121be57845ad009e.jpg","text":"TemporaryFile(/tmp/multipartBody6687692993434231612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674102974,"filename":"image_04112025_11_06_39_1534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14ad26a9bb105e6cb802e9c5f0849707.jpg","text":"TemporaryFile(/tmp/multipartBody4034223473123394374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674102974,"filename":"image_04112025_11_06_34_1698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81f0070d658d8d0a98ea811f81cef444.jpg","text":"TemporaryFile(/tmp/multipartBody1795071351721122590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674102974,"filename":"image_04112025_11_06_38_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b62defaacd1de9556edd6732f1b7cc2e.jpg","text":"TemporaryFile(/tmp/multipartBody3888436626995752595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674102974,"filename":"image_04112025_11_06_58_1618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315723","file1":"1399315722","file0":"1399315720","file4":"1399315725","file5":"1399315726","file3":"1399315724"},"map_files_photo_id_array":[{"photo_id":"1399315726","filename":"file5"},{"photo_id":"1399315723","filename":"file2"},{"photo_id":"1399315725","filename":"file4"},{"photo_id":"1399315722","filename":"file1"},{"photo_id":"1399315720","filename":"file0"},{"photo_id":"1399315724","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399315725":["hashtag1","hashtag2"]},{"1399315722":["hashtag1","hashtag2"]},{"1399315724":["hashtag1","hashtag2"]},{"1399315720":["hashtag1","hashtag2"]},{"1399315723":["hashtag1","hashtag2"]},{"1399315726":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399315725, 1399315722, 1399315724, 1399315720, 1399315723, 1399315726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72510528564453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:01:22.527771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/57/image_14122025_01_57_53_9617.jpg', '/home/pi/Desktop/images/14122025/01/57/image_14122025_01_58_04_10749.jpg', '/home/pi/Desktop/images/14122025/01/58/image_14122025_01_58_24_9630.jpg', '/home/pi/Desktop/images/14122025/01/58/image_14122025_01_58_44_9689.jpg', '/home/pi/Desktop/images/14122025/01/58/image_14122025_01_58_54_9746.jpg', '/home/pi/Desktop/images/14122025/01/58/image_14122025_01_59_04_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/57/image_14122025_01_57_53_9617.jpg
/home/pi/Desktop/images/14122025/01/57/image_14122025_01_58_04_10749.jpg
/home/pi/Desktop/images/14122025/01/58/image_14122025_01_58_24_9630.jpg
/home/pi/Desktop/images/14122025/01/58/image_14122025_01_58_44_9689.jpg
/home/pi/Desktop/images/14122025/01/58/image_14122025_01_58_54_9746.jpg
/home/pi/Desktop/images/14122025/01/58/image_14122025_01_59_04_10593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399315842","1399315772","1399315727","1399315807","1399315735","1399315729"],"photo_ids_order":["1399315727","1399315729","1399315735","1399315772","1399315807","1399315842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2bc0eeebeba217a7696d2c1a87213b53.jpg","text":"TemporaryFile(/tmp/multipartBody4912523786036991310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674143099,"filename":"image_14122025_01_59_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/12/14/831596e73f20687ae4549baab878baa6.jpg","text":"TemporaryFile(/tmp/multipartBody5517575486784722538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674143099,"filename":"image_14122025_01_58_44_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a18a6064831cff8c7b38481defeb2c7b.jpg","text":"TemporaryFile(/tmp/multipartBody842165996979650248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674143099,"filename":"image_14122025_01_57_53_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/07e9079734533d7f23f6d19d064911a0.jpg","text":"TemporaryFile(/tmp/multipartBody1027949015943017253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674143099,"filename":"image_14122025_01_58_54_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/49aa1d986d19caad0b32c81318385961.jpg","text":"TemporaryFile(/tmp/multipartBody8183560198731486103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674143099,"filename":"image_14122025_01_58_24_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2601b88a401248849ba6461edfab56f.jpg","text":"TemporaryFile(/tmp/multipartBody2396189967064125810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674143099,"filename":"image_14122025_01_58_04_10749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399315735","file1":"1399315729","file0":"1399315727","file4":"1399315807","file5":"1399315842","file3":"1399315772"},"map_files_photo_id_array":[{"photo_id":"1399315842","filename":"file5"},{"photo_id":"1399315735","filename":"file2"},{"photo_id":"1399315807","filename":"file4"},{"photo_id":"1399315729","filename":"file1"},{"photo_id":"1399315727","filename":"file0"},{"photo_id":"1399315772","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399315842":["hashtag1","hashtag2"]},{"1399315772":["hashtag1","hashtag2"]},{"1399315727":["hashtag1","hashtag2"]},{"1399315807":["hashtag1","hashtag2"]},{"1399315735":["hashtag1","hashtag2"]},{"1399315729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399315842, 1399315772, 1399315727, 1399315807, 1399315735, 1399315729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01663017272949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:02:03.132274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/01/59/image_14122025_01_59_14_9655.jpg', '/home/pi/Desktop/images/14122025/01/59/image_14122025_01_59_24_9673.jpg', '/home/pi/Desktop/images/14122025/01/59/image_14122025_01_59_33_9812.jpg', '/home/pi/Desktop/images/14122025/01/59/image_14122025_01_59_44_10603.jpg', '/home/pi/Desktop/images/14122025/01/59/image_14122025_01_59_54_9701.jpg', '/home/pi/Desktop/images/14122025/02/00/image_14122025_02_00_34_9552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/01/59/image_14122025_01_59_14_9655.jpg
/home/pi/Desktop/images/14122025/01/59/image_14122025_01_59_24_9673.jpg
/home/pi/Desktop/images/14122025/01/59/image_14122025_01_59_33_9812.jpg
/home/pi/Desktop/images/14122025/01/59/image_14122025_01_59_44_10603.jpg
/home/pi/Desktop/images/14122025/01/59/image_14122025_01_59_54_9701.jpg
/home/pi/Desktop/images/14122025/02/00/image_14122025_02_00_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":["1399316202","1399316275","1399315975","1399316134","1399316020","1399316064"],"photo_ids_order":["1399315975","1399316020","1399316064","1399316134","1399316202","1399316275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3909790424bef3835487f853d85effb.jpg","text":"TemporaryFile(/tmp/multipartBody6742992152460212077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674183875,"filename":"image_14122025_01_59_54_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/73e713fd0844942ee084c64716a71531.jpg","text":"TemporaryFile(/tmp/multipartBody3741259798691293048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674183875,"filename":"image_14122025_02_00_34_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81c6eb784a4f7c9421034ec6539de07a.jpg","text":"TemporaryFile(/tmp/multipartBody4846950695130967540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674183875,"filename":"image_14122025_01_59_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5660ffc1352e7d15a4178358b9605baf.jpg","text":"TemporaryFile(/tmp/multipartBody4155557761069600785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674183875,"filename":"image_14122025_01_59_44_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6d233c60087d45c97990f06ef6f588e1.jpg","text":"TemporaryFile(/tmp/multipartBody6897737699450270795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674183875,"filename":"image_14122025_01_59_24_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b58f51d84a2966ea52b3c480f86603c1.jpg","text":"TemporaryFile(/tmp/multipartBody401795233140251030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674183875,"filename":"image_14122025_01_59_33_9812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399316064","file1":"1399316020","file0":"1399315975","file4":"1399316202","file5":"1399316275","file3":"1399316134"},"map_files_photo_id_array":[{"photo_id":"1399316275","filename":"file5"},{"photo_id":"1399316064","filename":"file2"},{"photo_id":"1399316202","filename":"file4"},{"photo_id":"1399316020","filename":"file1"},{"photo_id":"1399315975","filename":"file0"},{"photo_id":"1399316134","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399316202":["hashtag1","hashtag2"]},{"1399316275":["hashtag1","hashtag2"]},{"1399315975":["hashtag1","hashtag2"]},{"1399316134":["hashtag1","hashtag2"]},{"1399316020":["hashtag1","hashtag2"]},{"1399316064":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399316202, 1399316275, 1399315975, 1399316134, 1399316020, 1399316064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65782332420349 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:02:42.751552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_59_1724.jpg', '/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_01_1636.jpg', '/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_02_1513.jpg', '/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_04_1671.jpg', '/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_13_9154.jpg', '/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_15_1605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_59_1724.jpg
/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_01_1636.jpg
/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_02_1513.jpg
/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_04_1671.jpg
/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_13_9154.jpg
/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_15_1605.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5673251152038574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:03:02.646851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/00/image_14122025_02_00_44_10519.jpg', '/home/pi/Desktop/images/14122025/02/00/image_14122025_02_01_04_9761.jpg', '/home/pi/Desktop/images/14122025/02/01/image_14122025_02_01_34_9895.jpg', '/home/pi/Desktop/images/14122025/02/02/image_14122025_02_02_44_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/00/image_14122025_02_00_44_10519.jpg
/home/pi/Desktop/images/14122025/02/00/image_14122025_02_01_04_9761.jpg
/home/pi/Desktop/images/14122025/02/01/image_14122025_02_01_34_9895.jpg
/home/pi/Desktop/images/14122025/02/02/image_14122025_02_02_44_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399317099","1399316926","1399317027","1399316859"],"photo_ids_order":["1399316859","1399316926","1399317027","1399317099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2461bae15b4e5729460795aa4a3aac93.jpg","text":"TemporaryFile(/tmp/multipartBody1272954132674709621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674245771,"filename":"image_14122025_02_02_44_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf16f1211fe81bcf0dce7bcc6d4357e3.jpg","text":"TemporaryFile(/tmp/multipartBody8161842225642066628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674245771,"filename":"image_14122025_02_01_04_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ec997d5867f03d4cc3de4f65d65a359a.jpg","text":"TemporaryFile(/tmp/multipartBody2860270965328883756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674245771,"filename":"image_14122025_02_01_34_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bac98d3daec928dfa88c9fff812bf697.jpg","text":"TemporaryFile(/tmp/multipartBody1761471622910120631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674245771,"filename":"image_14122025_02_00_44_10519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399317027","file1":"1399316926","file0":"1399316859","file3":"1399317099"},"map_files_photo_id_array":[{"photo_id":"1399317027","filename":"file2"},{"photo_id":"1399316926","filename":"file1"},{"photo_id":"1399316859","filename":"file0"},{"photo_id":"1399317099","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399317099":["hashtag1","hashtag2"]},{"1399316926":["hashtag1","hashtag2"]},{"1399317027":["hashtag1","hashtag2"]},{"1399316859":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399317099, 1399316926, 1399317027, 1399316859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.51730513572693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:03:41.998071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_59_1724.jpg', '/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_01_1636.jpg', '/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_02_1513.jpg', '/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_04_1671.jpg', '/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_13_9154.jpg', '/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_15_1605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/06/image_04112025_11_06_59_1724.jpg
/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_01_1636.jpg
/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_02_1513.jpg
/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_04_1671.jpg
/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_13_9154.jpg
/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_15_1605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399317341","1399317701","1399317418","1399317304","1399317555","1399317377"],"photo_ids_order":["1399317304","1399317341","1399317377","1399317418","1399317555","1399317701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b7d5e7e3ae98d9f5111567d8be5399b5.jpg","text":"TemporaryFile(/tmp/multipartBody8350939590406845844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674282578,"filename":"image_04112025_11_07_01_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dbcac7f22f02911f1daa91a6e53d45a4.jpg","text":"TemporaryFile(/tmp/multipartBody8360559832790643244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674282578,"filename":"image_04112025_11_07_15_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c8125176bdcb8b81459d325afb520f6.jpg","text":"TemporaryFile(/tmp/multipartBody2296171004652923345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674282578,"filename":"image_04112025_11_07_04_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/048b7efe02078c93065bfc5f9810b7ad.jpg","text":"TemporaryFile(/tmp/multipartBody7824851796408182038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674282578,"filename":"image_04112025_11_06_59_1724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ecf32e076df6280f11bbdf2fda0a1d0.jpg","text":"TemporaryFile(/tmp/multipartBody4695911125932488017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674282578,"filename":"image_04112025_11_07_13_9154.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/caf08987485390c9f8d061bf630f9bab.jpg","text":"TemporaryFile(/tmp/multipartBody4721766295961474100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674282578,"filename":"image_04112025_11_07_02_1513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399317377","file1":"1399317341","file0":"1399317304","file4":"1399317555","file5":"1399317701","file3":"1399317418"},"map_files_photo_id_array":[{"photo_id":"1399317701","filename":"file5"},{"photo_id":"1399317377","filename":"file2"},{"photo_id":"1399317555","filename":"file4"},{"photo_id":"1399317341","filename":"file1"},{"photo_id":"1399317304","filename":"file0"},{"photo_id":"1399317418","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399317341":["hashtag1","hashtag2"]},{"1399317701":["hashtag1","hashtag2"]},{"1399317418":["hashtag1","hashtag2"]},{"1399317304":["hashtag1","hashtag2"]},{"1399317555":["hashtag1","hashtag2"]},{"1399317377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399317341, 1399317701, 1399317418, 1399317304, 1399317555, 1399317377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.17657995223999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:04:32.166404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:04:42.244758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_31_15771.jpg', '/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_42_11700.jpg', '/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_44_1743.jpg', '/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_51_7083.jpg', '/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_53_1564.jpg', '/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_03_9879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_31_15771.jpg
/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_42_11700.jpg
/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_44_1743.jpg
/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_51_7083.jpg
/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_53_1564.jpg
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_03_9879.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6839888095855713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:05:03.106923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/02/image_14122025_02_02_53_9629.jpg', '/home/pi/Desktop/images/14122025/02/04/image_14122025_02_04_34_9628.jpg', '/home/pi/Desktop/images/14122025/02/04/image_14122025_02_04_43_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/02/image_14122025_02_02_53_9629.jpg
/home/pi/Desktop/images/14122025/02/04/image_14122025_02_04_34_9628.jpg
/home/pi/Desktop/images/14122025/02/04/image_14122025_02_04_43_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":["1399317902","1399317901","1399317899"],"photo_ids_order":["1399317899","1399317901","1399317902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0a4b06ffa0b54bb4f1443acddb2f335e.jpg","text":"TemporaryFile(/tmp/multipartBody2183205187635293369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674363641,"filename":"image_14122025_02_04_43_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4acdaee9fa45a45dfa5ea71b0dd6f188.jpg","text":"TemporaryFile(/tmp/multipartBody2986813056470769536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674363641,"filename":"image_14122025_02_04_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce59c44c6a02efbddf82958e93547cf0.jpg","text":"TemporaryFile(/tmp/multipartBody8713796991788850436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674363641,"filename":"image_14122025_02_02_53_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399317902","file1":"1399317901","file0":"1399317899"},"map_files_photo_id_array":[{"photo_id":"1399317902","filename":"file2"},{"photo_id":"1399317901","filename":"file1"},{"photo_id":"1399317899","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399317902":["hashtag1","hashtag2"]},{"1399317901":["hashtag1","hashtag2"]},{"1399317899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399317902, 1399317901, 1399317899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.253456115722656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:05:33.214551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:05:42.503403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_31_15771.jpg', '/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_42_11700.jpg', '/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_44_1743.jpg', '/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_51_7083.jpg', '/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_53_1564.jpg', '/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_03_9879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_31_15771.jpg
/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_42_11700.jpg
/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_44_1743.jpg
/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_51_7083.jpg
/home/pi/Desktop/images/04112025/11/07/image_04112025_11_07_53_1564.jpg
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_03_9879.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318124","1399318087","1399318197","1399318161","1399318221","1399318038"],"photo_ids_order":["1399318038","1399318087","1399318124","1399318161","1399318197","1399318221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/98abb24e376483adc873c3b33797332b.jpg","text":"TemporaryFile(/tmp/multipartBody8181702140543613290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674403087,"filename":"image_04112025_11_07_44_1743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/60b2f6a42114b6a5b8cafcfd1ebb25b5.jpg","text":"TemporaryFile(/tmp/multipartBody1703527820192641018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674403087,"filename":"image_04112025_11_07_42_11700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd2b95f014ef780c24062962f75ef515.jpg","text":"TemporaryFile(/tmp/multipartBody9106804744194081115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674403087,"filename":"image_04112025_11_07_53_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2bf169dd2780257274070b89636287ea.jpg","text":"TemporaryFile(/tmp/multipartBody1552223769945523515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674403087,"filename":"image_04112025_11_07_51_7083.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3b51317fbee545aabe28652cec84acc.jpg","text":"TemporaryFile(/tmp/multipartBody2356385532049453236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674403087,"filename":"image_04112025_11_08_03_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c8d407dd7a89c413b0620655039b9a8c.jpg","text":"TemporaryFile(/tmp/multipartBody658428964047461601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674403087,"filename":"image_04112025_11_07_31_15771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318124","file1":"1399318087","file0":"1399318038","file4":"1399318197","file5":"1399318221","file3":"1399318161"},"map_files_photo_id_array":[{"photo_id":"1399318221","filename":"file5"},{"photo_id":"1399318124","filename":"file2"},{"photo_id":"1399318197","filename":"file4"},{"photo_id":"1399318087","filename":"file1"},{"photo_id":"1399318038","filename":"file0"},{"photo_id":"1399318161","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399318124":["hashtag1","hashtag2"]},{"1399318087":["hashtag1","hashtag2"]},{"1399318197":["hashtag1","hashtag2"]},{"1399318161":["hashtag1","hashtag2"]},{"1399318221":["hashtag1","hashtag2"]},{"1399318038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399318124, 1399318087, 1399318197, 1399318161, 1399318221, 1399318038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.577176332473755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:06:22.803573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/04/image_14122025_02_04_54_10658.jpg', '/home/pi/Desktop/images/14122025/02/04/image_14122025_02_05_04_9745.jpg', '/home/pi/Desktop/images/14122025/02/05/image_14122025_02_05_24_10371.jpg', '/home/pi/Desktop/images/14122025/02/05/image_14122025_02_05_33_9709.jpg', '/home/pi/Desktop/images/14122025/02/05/image_14122025_02_05_44_10658.jpg', '/home/pi/Desktop/images/14122025/02/05/image_14122025_02_06_03_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/04/image_14122025_02_04_54_10658.jpg
/home/pi/Desktop/images/14122025/02/04/image_14122025_02_05_04_9745.jpg
/home/pi/Desktop/images/14122025/02/05/image_14122025_02_05_24_10371.jpg
/home/pi/Desktop/images/14122025/02/05/image_14122025_02_05_33_9709.jpg
/home/pi/Desktop/images/14122025/02/05/image_14122025_02_05_44_10658.jpg
/home/pi/Desktop/images/14122025/02/05/image_14122025_02_06_03_9724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318322","1399318270","1399318330","1399318327","1399318272","1399318307"],"photo_ids_order":["1399318270","1399318272","1399318307","1399318322","1399318327","1399318330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ea1f7cbd6616977312ed1a8992441e9b.jpg","text":"TemporaryFile(/tmp/multipartBody7712160665020697090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674443413,"filename":"image_14122025_02_05_33_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9746811e15c1de02b27072735ace4f18.jpg","text":"TemporaryFile(/tmp/multipartBody2041387137823122450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674443413,"filename":"image_14122025_02_04_54_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/40df07364db4c97c81475cd9c49fda9f.jpg","text":"TemporaryFile(/tmp/multipartBody3685196062136877981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674443413,"filename":"image_14122025_02_06_03_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/683b7c68729e27d72408f1d56c31ec28.jpg","text":"TemporaryFile(/tmp/multipartBody1754966177095863003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674443413,"filename":"image_14122025_02_05_44_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ae9b22579c0ccd96113a593d8092522.jpg","text":"TemporaryFile(/tmp/multipartBody2590366125156148387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674443413,"filename":"image_14122025_02_05_04_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f79fae0bf6211eb2df5148b8405ca120.jpg","text":"TemporaryFile(/tmp/multipartBody7791283795719882156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674443413,"filename":"image_14122025_02_05_24_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318307","file1":"1399318272","file0":"1399318270","file4":"1399318327","file5":"1399318330","file3":"1399318322"},"map_files_photo_id_array":[{"photo_id":"1399318330","filename":"file5"},{"photo_id":"1399318307","filename":"file2"},{"photo_id":"1399318327","filename":"file4"},{"photo_id":"1399318272","filename":"file1"},{"photo_id":"1399318270","filename":"file0"},{"photo_id":"1399318322","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318322":["hashtag1","hashtag2"]},{"1399318270":["hashtag1","hashtag2"]},{"1399318330":["hashtag1","hashtag2"]},{"1399318327":["hashtag1","hashtag2"]},{"1399318272":["hashtag1","hashtag2"]},{"1399318307":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318322, 1399318270, 1399318330, 1399318327, 1399318272, 1399318307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17001175880432 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:07:02.607298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/06/image_14122025_02_06_14_10610.jpg', '/home/pi/Desktop/images/14122025/02/06/image_14122025_02_06_24_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/06/image_14122025_02_06_14_10610.jpg
/home/pi/Desktop/images/14122025/02/06/image_14122025_02_06_24_9608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318337","1399318335"],"photo_ids_order":["1399318335","1399318337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/627d2c7fa49e9499bf2d6c497a7f4c74.jpg","text":"TemporaryFile(/tmp/multipartBody5704127640154057932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674483114,"filename":"image_14122025_02_06_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f4984f6bf1eb88556679a46648fa260.jpg","text":"TemporaryFile(/tmp/multipartBody7900362449016796774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674483114,"filename":"image_14122025_02_06_14_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399318337","file0":"1399318335"},"map_files_photo_id_array":[{"photo_id":"1399318337","filename":"file1"},{"photo_id":"1399318335","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318337":["hashtag1","hashtag2"]},{"1399318335":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318337, 1399318335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.728806734085083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:07:21.929067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/06/image_14122025_02_06_44_10572.jpg', '/home/pi/Desktop/images/14122025/02/06/image_14122025_02_07_04_10593.jpg', '/home/pi/Desktop/images/14122025/02/07/image_14122025_02_07_14_9637.jpg', '/home/pi/Desktop/images/14122025/02/07/image_14122025_02_07_44_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/06/image_14122025_02_06_44_10572.jpg
/home/pi/Desktop/images/14122025/02/06/image_14122025_02_07_04_10593.jpg
/home/pi/Desktop/images/14122025/02/07/image_14122025_02_07_14_9637.jpg
/home/pi/Desktop/images/14122025/02/07/image_14122025_02_07_44_10704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318342","1399318344","1399318338","1399318340"],"photo_ids_order":["1399318338","1399318340","1399318342","1399318344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3fd4b86e69decee6d2b3803622952819.jpg","text":"TemporaryFile(/tmp/multipartBody2795297179706854162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674502475,"filename":"image_14122025_02_07_14_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5eca261274e568b36735683623f66935.jpg","text":"TemporaryFile(/tmp/multipartBody6525486940751986823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674502475,"filename":"image_14122025_02_07_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/12/14/8c4f72100f95139505d3c2b6a146f6a9.jpg","text":"TemporaryFile(/tmp/multipartBody8889756316869585491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674502475,"filename":"image_14122025_02_06_44_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b7fcde743d334380015b1d95a41fbe24.jpg","text":"TemporaryFile(/tmp/multipartBody6154654193617033266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674502475,"filename":"image_14122025_02_07_04_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318342","file1":"1399318340","file0":"1399318338","file3":"1399318344"},"map_files_photo_id_array":[{"photo_id":"1399318342","filename":"file2"},{"photo_id":"1399318340","filename":"file1"},{"photo_id":"1399318338","filename":"file0"},{"photo_id":"1399318344","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318342":["hashtag1","hashtag2"]},{"1399318344":["hashtag1","hashtag2"]},{"1399318338":["hashtag1","hashtag2"]},{"1399318340":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318342, 1399318344, 1399318338, 1399318340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.739854335784912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:08:02.655455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:08:12.157641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:08:22.195090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/07/image_14122025_02_07_54_9680.jpg', '/home/pi/Desktop/images/14122025/02/07/image_14122025_02_08_03_9730.jpg', '/home/pi/Desktop/images/14122025/02/08/image_14122025_02_08_14_10623.jpg', '/home/pi/Desktop/images/14122025/02/08/image_14122025_02_08_24_9668.jpg', '/home/pi/Desktop/images/14122025/02/08/image_14122025_02_08_33_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/07/image_14122025_02_07_54_9680.jpg
/home/pi/Desktop/images/14122025/02/07/image_14122025_02_08_03_9730.jpg
/home/pi/Desktop/images/14122025/02/08/image_14122025_02_08_14_10623.jpg
/home/pi/Desktop/images/14122025/02/08/image_14122025_02_08_24_9668.jpg
/home/pi/Desktop/images/14122025/02/08/image_14122025_02_08_33_9662.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5037388801574707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:08:32.165051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:08:42.142140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_04_1595.jpg', '/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_06_1713.jpg', '/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_07_1515.jpg', '/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_09_1847.jpg', '/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_11_1696.jpg', '/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_13_1610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_04_1595.jpg
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_06_1713.jpg
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_07_1515.jpg
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_09_1847.jpg
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_11_1696.jpg
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_13_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":["1399318369","1399318368","1399318356","1399318370","1399318358","1399318367"],"photo_ids_order":["1399318356","1399318358","1399318367","1399318368","1399318369","1399318370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b327df073c93411e5e1861a684fb5d47.jpg","text":"TemporaryFile(/tmp/multipartBody4677869133403692366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674582846,"filename":"image_04112025_11_08_11_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d0887c8a43b529c35be4c976312c6ba8.jpg","text":"TemporaryFile(/tmp/multipartBody5771362836481596893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674582846,"filename":"image_04112025_11_08_09_1847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0bf1dfedbc50999a2a14e2ebf280e74d.jpg","text":"TemporaryFile(/tmp/multipartBody3553822444006199576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674582846,"filename":"image_04112025_11_08_04_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/766d975bf4a73e6b27d7efdc3f3a943d.jpg","text":"TemporaryFile(/tmp/multipartBody6927408761459593881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674582846,"filename":"image_04112025_11_08_13_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc07e2a412aed1085f7c14725f0618e8.jpg","text":"TemporaryFile(/tmp/multipartBody7156988786765535748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674582846,"filename":"image_04112025_11_08_06_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/37b930ed3cb016bf2b4ac31f0b58cd37.jpg","text":"TemporaryFile(/tmp/multipartBody314947106529956444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674582846,"filename":"image_04112025_11_08_07_1515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318367","file1":"1399318358","file0":"1399318356","file4":"1399318369","file5":"1399318370","file3":"1399318368"},"map_files_photo_id_array":[{"photo_id":"1399318370","filename":"file5"},{"photo_id":"1399318367","filename":"file2"},{"photo_id":"1399318369","filename":"file4"},{"photo_id":"1399318358","filename":"file1"},{"photo_id":"1399318356","filename":"file0"},{"photo_id":"1399318368","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399318369":["hashtag1","hashtag2"]},{"1399318368":["hashtag1","hashtag2"]},{"1399318356":["hashtag1","hashtag2"]},{"1399318370":["hashtag1","hashtag2"]},{"1399318358":["hashtag1","hashtag2"]},{"1399318367":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399318369, 1399318368, 1399318356, 1399318370, 1399318358, 1399318367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34172797203064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:09:22.432467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/07/image_14122025_02_07_54_9680.jpg', '/home/pi/Desktop/images/14122025/02/07/image_14122025_02_08_03_9730.jpg', '/home/pi/Desktop/images/14122025/02/08/image_14122025_02_08_14_10623.jpg', '/home/pi/Desktop/images/14122025/02/08/image_14122025_02_08_24_9668.jpg', '/home/pi/Desktop/images/14122025/02/08/image_14122025_02_08_33_9662.jpg', '/home/pi/Desktop/images/14122025/02/08/image_14122025_02_08_44_10537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/07/image_14122025_02_07_54_9680.jpg
/home/pi/Desktop/images/14122025/02/07/image_14122025_02_08_03_9730.jpg
/home/pi/Desktop/images/14122025/02/08/image_14122025_02_08_14_10623.jpg
/home/pi/Desktop/images/14122025/02/08/image_14122025_02_08_24_9668.jpg
/home/pi/Desktop/images/14122025/02/08/image_14122025_02_08_33_9662.jpg
/home/pi/Desktop/images/14122025/02/08/image_14122025_02_08_44_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":["1399318372","1399318381","1399318378","1399318371","1399318374","1399318376"],"photo_ids_order":["1399318371","1399318372","1399318374","1399318376","1399318378","1399318381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1dea12ba08a892275c278457219ca319.jpg","text":"TemporaryFile(/tmp/multipartBody8900125396521623714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674623040,"filename":"image_14122025_02_08_03_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/792cbf0e76c57523df710804329daff1.jpg","text":"TemporaryFile(/tmp/multipartBody8610940718433808360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674623040,"filename":"image_14122025_02_08_44_10537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b78616e4ebdba0935d93475b946506e6.jpg","text":"TemporaryFile(/tmp/multipartBody15945227757346780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674623040,"filename":"image_14122025_02_08_33_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0baf7f17be1974f5b4c79edd831a65a9.jpg","text":"TemporaryFile(/tmp/multipartBody5073893982575933255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674623040,"filename":"image_14122025_02_07_54_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b05c1ad431fb16d60945289a076e5188.jpg","text":"TemporaryFile(/tmp/multipartBody4268172916798410217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674623040,"filename":"image_14122025_02_08_14_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a5130db60afa7e9eaccdf955f77216f.jpg","text":"TemporaryFile(/tmp/multipartBody5698648263748590917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674623040,"filename":"image_14122025_02_08_24_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318374","file1":"1399318372","file0":"1399318371","file4":"1399318378","file5":"1399318381","file3":"1399318376"},"map_files_photo_id_array":[{"photo_id":"1399318381","filename":"file5"},{"photo_id":"1399318374","filename":"file2"},{"photo_id":"1399318378","filename":"file4"},{"photo_id":"1399318372","filename":"file1"},{"photo_id":"1399318371","filename":"file0"},{"photo_id":"1399318376","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318372":["hashtag1","hashtag2"]},{"1399318381":["hashtag1","hashtag2"]},{"1399318378":["hashtag1","hashtag2"]},{"1399318371":["hashtag1","hashtag2"]},{"1399318374":["hashtag1","hashtag2"]},{"1399318376":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318372, 1399318381, 1399318378, 1399318371, 1399318374, 1399318376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03078627586365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:10:03.080665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/09/image_14122025_02_09_14_10689.jpg', '/home/pi/Desktop/images/14122025/02/09/image_14122025_02_09_24_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/09/image_14122025_02_09_14_10689.jpg
/home/pi/Desktop/images/14122025/02/09/image_14122025_02_09_24_9642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318387","1399318386"],"photo_ids_order":["1399318386","1399318387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ecda9bdac747b1d591fb2128f76a4014.jpg","text":"TemporaryFile(/tmp/multipartBody1511350709365892535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674663552,"filename":"image_14122025_02_09_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/87cc9ca12ea601585b1c4ecff6498982.jpg","text":"TemporaryFile(/tmp/multipartBody6121693649253087445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674663552,"filename":"image_14122025_02_09_14_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399318387","file0":"1399318386"},"map_files_photo_id_array":[{"photo_id":"1399318387","filename":"file1"},{"photo_id":"1399318386","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318387":["hashtag1","hashtag2"]},{"1399318386":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318387, 1399318386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.32075834274292 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:10:22.613184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/09/image_14122025_02_09_54_9864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/09/image_14122025_02_09_54_9864.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318388"],"photo_id":"1399318388","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1dcb525743a1fcdcae18a688e29bf72e.jpg","text":"TemporaryFile(/tmp/multipartBody2971454204478918501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674683035,"filename":"image_14122025_02_09_54_9864.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399318388"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399318388"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.728004455566406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:10:42.586081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_14_1551.jpg', '/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_16_1687.jpg', '/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_18_1641.jpg', '/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_19_1511.jpg', '/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_21_1645.jpg', '/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_22_1584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_14_1551.jpg
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_16_1687.jpg
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_18_1641.jpg
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_19_1511.jpg
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_21_1645.jpg
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_22_1584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318403","1399318393","1399318396","1399318405","1399318398","1399318401"],"photo_ids_order":["1399318393","1399318396","1399318398","1399318401","1399318403","1399318405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ed4ce7ed134be9acae6b11d50e3b30f.jpg","text":"TemporaryFile(/tmp/multipartBody7357048537407047553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674703251,"filename":"image_04112025_11_08_21_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1fae92f340882fa62e6e3f99af7df0a4.jpg","text":"TemporaryFile(/tmp/multipartBody5328652916811430498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674703251,"filename":"image_04112025_11_08_14_1551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e82d65acb841e2b31522eecca531319.jpg","text":"TemporaryFile(/tmp/multipartBody3593263805167645754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674703251,"filename":"image_04112025_11_08_16_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6d3301a39d35cb68af9c467aa9cff681.jpg","text":"TemporaryFile(/tmp/multipartBody3572008045414411842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674703251,"filename":"image_04112025_11_08_22_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ff09ed4414d8e6917edd497c8f45bd17.jpg","text":"TemporaryFile(/tmp/multipartBody6509934353476053784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674703251,"filename":"image_04112025_11_08_18_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/86e5ba3e0ded3835be78a22f51e8a562.jpg","text":"TemporaryFile(/tmp/multipartBody2432325496544549011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674703251,"filename":"image_04112025_11_08_19_1511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318398","file1":"1399318396","file0":"1399318393","file4":"1399318403","file5":"1399318405","file3":"1399318401"},"map_files_photo_id_array":[{"photo_id":"1399318405","filename":"file5"},{"photo_id":"1399318398","filename":"file2"},{"photo_id":"1399318403","filename":"file4"},{"photo_id":"1399318396","filename":"file1"},{"photo_id":"1399318393","filename":"file0"},{"photo_id":"1399318401","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399318403":["hashtag1","hashtag2"]},{"1399318393":["hashtag1","hashtag2"]},{"1399318396":["hashtag1","hashtag2"]},{"1399318405":["hashtag1","hashtag2"]},{"1399318398":["hashtag1","hashtag2"]},{"1399318401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399318403, 1399318393, 1399318396, 1399318405, 1399318398, 1399318401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.303227186203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:11:21.875460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/10/image_14122025_02_10_34_10756.jpg', '/home/pi/Desktop/images/14122025/02/10/image_14122025_02_11_03_9748.jpg', '/home/pi/Desktop/images/14122025/02/11/image_14122025_02_11_14_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/10/image_14122025_02_10_34_10756.jpg
/home/pi/Desktop/images/14122025/02/10/image_14122025_02_11_03_9748.jpg
/home/pi/Desktop/images/14122025/02/11/image_14122025_02_11_14_10708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318408","1399318410","1399318406"],"photo_ids_order":["1399318406","1399318408","1399318410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ce96c7af354d31f2ab98d68952e3eb5.jpg","text":"TemporaryFile(/tmp/multipartBody6222751768742572133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674742371,"filename":"image_14122025_02_11_03_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c6aea0d11dfc394fc9bc5f96d790ccc.jpg","text":"TemporaryFile(/tmp/multipartBody7222503191354391015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674742371,"filename":"image_14122025_02_11_14_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7854419927bfabca067d569716bb21f1.jpg","text":"TemporaryFile(/tmp/multipartBody5032136292934933280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674742371,"filename":"image_14122025_02_10_34_10756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318410","file1":"1399318408","file0":"1399318406"},"map_files_photo_id_array":[{"photo_id":"1399318410","filename":"file2"},{"photo_id":"1399318408","filename":"file1"},{"photo_id":"1399318406","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318408":["hashtag1","hashtag2"]},{"1399318410":["hashtag1","hashtag2"]},{"1399318406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318408, 1399318410, 1399318406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.00224781036377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:12:02.748154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:12:12.256460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:12:22.239458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/11/image_14122025_02_11_33_9600.jpg', '/home/pi/Desktop/images/14122025/02/11/image_14122025_02_12_04_9659.jpg', '/home/pi/Desktop/images/14122025/02/12/image_14122025_02_12_34_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/11/image_14122025_02_11_33_9600.jpg
/home/pi/Desktop/images/14122025/02/11/image_14122025_02_12_04_9659.jpg
/home/pi/Desktop/images/14122025/02/12/image_14122025_02_12_34_9602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318426","1399318422","1399318424"],"photo_ids_order":["1399318422","1399318424","1399318426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a2f0fdb66578bb35bc14043cdae54718.jpg","text":"TemporaryFile(/tmp/multipartBody5932876227247940113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674803433,"filename":"image_14122025_02_12_34_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0547e5c3071d02a9f37c2791622e8c3f.jpg","text":"TemporaryFile(/tmp/multipartBody8893025442794440310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674803433,"filename":"image_14122025_02_11_33_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e30bbe2c7aa2f31024b2e1fa51d71e0.jpg","text":"TemporaryFile(/tmp/multipartBody8433522244593156871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674803433,"filename":"image_14122025_02_12_04_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318426","file1":"1399318424","file0":"1399318422"},"map_files_photo_id_array":[{"photo_id":"1399318426","filename":"file2"},{"photo_id":"1399318424","filename":"file1"},{"photo_id":"1399318422","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318426":["hashtag1","hashtag2"]},{"1399318422":["hashtag1","hashtag2"]},{"1399318424":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318426, 1399318422, 1399318424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.508647203445435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:13:03.101003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:13:12.385814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:13:22.453261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/12/image_14122025_02_12_54_10761.jpg', '/home/pi/Desktop/images/14122025/02/13/image_14122025_02_13_13_9653.jpg', '/home/pi/Desktop/images/14122025/02/13/image_14122025_02_13_24_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/12/image_14122025_02_12_54_10761.jpg
/home/pi/Desktop/images/14122025/02/13/image_14122025_02_13_13_9653.jpg
/home/pi/Desktop/images/14122025/02/13/image_14122025_02_13_24_10688.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3892650604248047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:13:32.468555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:13:42.425875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_24_1755.jpg', '/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_26_1578.jpg', '/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_27_1705.jpg', '/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_29_1560.jpg', '/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_31_1754.jpg', '/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_32_1698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_24_1755.jpg
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_26_1578.jpg
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_27_1705.jpg
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_29_1560.jpg
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_31_1754.jpg
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_32_1698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318447","1399318446","1399318449","1399318443","1399318445","1399318448"],"photo_ids_order":["1399318443","1399318445","1399318446","1399318447","1399318448","1399318449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fd0f46487f52c24c9263ed26da6ee6c5.jpg","text":"TemporaryFile(/tmp/multipartBody4663392956470272719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674883095,"filename":"image_04112025_11_08_29_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/95e7c8a6f4ad3883b69a39515458d006.jpg","text":"TemporaryFile(/tmp/multipartBody957191322262405240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674883095,"filename":"image_04112025_11_08_27_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e50ec332d0efdd92e527e82ac525cf90.jpg","text":"TemporaryFile(/tmp/multipartBody3927882650621450195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674883095,"filename":"image_04112025_11_08_32_1698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ce22b1fb76c8068b37eea69859d6c7a.jpg","text":"TemporaryFile(/tmp/multipartBody8523383017782506951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674883095,"filename":"image_04112025_11_08_24_1755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b658bb33b235754f60016617e28fd9d0.jpg","text":"TemporaryFile(/tmp/multipartBody8227993703502081571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674883095,"filename":"image_04112025_11_08_26_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a40392d3179761b582510a35d80db6e3.jpg","text":"TemporaryFile(/tmp/multipartBody3019466054547153166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674883095,"filename":"image_04112025_11_08_31_1754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318446","file1":"1399318445","file0":"1399318443","file4":"1399318448","file5":"1399318449","file3":"1399318447"},"map_files_photo_id_array":[{"photo_id":"1399318449","filename":"file5"},{"photo_id":"1399318446","filename":"file2"},{"photo_id":"1399318448","filename":"file4"},{"photo_id":"1399318445","filename":"file1"},{"photo_id":"1399318443","filename":"file0"},{"photo_id":"1399318447","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399318447":["hashtag1","hashtag2"]},{"1399318446":["hashtag1","hashtag2"]},{"1399318449":["hashtag1","hashtag2"]},{"1399318443":["hashtag1","hashtag2"]},{"1399318445":["hashtag1","hashtag2"]},{"1399318448":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399318447, 1399318446, 1399318449, 1399318443, 1399318445, 1399318448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.886022090911865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:14:22.654737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/12/image_14122025_02_12_54_10761.jpg', '/home/pi/Desktop/images/14122025/02/13/image_14122025_02_13_13_9653.jpg', '/home/pi/Desktop/images/14122025/02/13/image_14122025_02_13_24_10688.jpg', '/home/pi/Desktop/images/14122025/02/13/image_14122025_02_13_34_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/12/image_14122025_02_12_54_10761.jpg
/home/pi/Desktop/images/14122025/02/13/image_14122025_02_13_13_9653.jpg
/home/pi/Desktop/images/14122025/02/13/image_14122025_02_13_24_10688.jpg
/home/pi/Desktop/images/14122025/02/13/image_14122025_02_13_34_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318453","1399318459","1399318455","1399318457"],"photo_ids_order":["1399318453","1399318455","1399318457","1399318459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6325cd026ab2f5a86bf557d944b5feb9.jpg","text":"TemporaryFile(/tmp/multipartBody4274211762409640462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674923186,"filename":"image_14122025_02_12_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/12/14/98a56980e14275395d87b8428ec4bb5d.jpg","text":"TemporaryFile(/tmp/multipartBody8892302733373069242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674923186,"filename":"image_14122025_02_13_34_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e6da1091944720f745103aaf103cc2ea.jpg","text":"TemporaryFile(/tmp/multipartBody3116188239318430664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674923186,"filename":"image_14122025_02_13_13_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c5c837e74ff915bf15dd74165568a20.jpg","text":"TemporaryFile(/tmp/multipartBody1586015611976438995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674923186,"filename":"image_14122025_02_13_24_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318457","file1":"1399318455","file0":"1399318453","file3":"1399318459"},"map_files_photo_id_array":[{"photo_id":"1399318457","filename":"file2"},{"photo_id":"1399318455","filename":"file1"},{"photo_id":"1399318453","filename":"file0"},{"photo_id":"1399318459","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318453":["hashtag1","hashtag2"]},{"1399318459":["hashtag1","hashtag2"]},{"1399318455":["hashtag1","hashtag2"]},{"1399318457":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318453, 1399318459, 1399318455, 1399318457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.748183727264404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:15:02.549126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:15:11.866942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:15:21.870807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/14/image_14122025_02_14_34_10729.jpg', '/home/pi/Desktop/images/14122025/02/15/image_14122025_02_15_44_10582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/14/image_14122025_02_14_34_10729.jpg
/home/pi/Desktop/images/14122025/02/15/image_14122025_02_15_44_10582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318467","1399318469"],"photo_ids_order":["1399318467","1399318469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0dbc32593d5671bf0c876f552c0351a7.jpg","text":"TemporaryFile(/tmp/multipartBody1700365288474171557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674982641,"filename":"image_14122025_02_14_34_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63fdb100aca1ceb93fb3462080682b1c.jpg","text":"TemporaryFile(/tmp/multipartBody3968833590633052391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765674982641,"filename":"image_14122025_02_15_44_10582.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399318469","file0":"1399318467"},"map_files_photo_id_array":[{"photo_id":"1399318469","filename":"file1"},{"photo_id":"1399318467","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318467":["hashtag1","hashtag2"]},{"1399318469":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318467, 1399318469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.49573588371277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:15:41.989208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_34_1656.jpg', '/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_36_1594.jpg', '/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_37_1554.jpg', '/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_47_9614.jpg', '/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_04_17275.jpg', '/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_07_3038.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_34_1656.jpg
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_36_1594.jpg
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_37_1554.jpg
/home/pi/Desktop/images/04112025/11/08/image_04112025_11_08_47_9614.jpg
/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_04_17275.jpg
/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_07_3038.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318474","1399318477","1399318476","1399318479","1399318475","1399318478"],"photo_ids_order":["1399318474","1399318475","1399318476","1399318477","1399318478","1399318479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2892ff7301b89f55dd6c0f1e7bacf817.jpg","text":"TemporaryFile(/tmp/multipartBody4191626169618382805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675002650,"filename":"image_04112025_11_08_34_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a6019ce5af940b69f2b1387c9f68b65c.jpg","text":"TemporaryFile(/tmp/multipartBody731487508044274170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675002650,"filename":"image_04112025_11_08_47_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ee47f69fd41bfde10255c1678fb14146.jpg","text":"TemporaryFile(/tmp/multipartBody2859388599997134852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675002650,"filename":"image_04112025_11_08_37_1554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a34d5ca76be80185d93cebf7652406d1.jpg","text":"TemporaryFile(/tmp/multipartBody1002367786277818695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675002650,"filename":"image_04112025_11_09_07_3038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/466ac6b8fa9a3f4346906b9c212c981d.jpg","text":"TemporaryFile(/tmp/multipartBody8742205885263858950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675002650,"filename":"image_04112025_11_08_36_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c51252d498927ed4dec55c7667b7a212.jpg","text":"TemporaryFile(/tmp/multipartBody4401699175503549075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675002650,"filename":"image_04112025_11_09_04_17275.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318476","file1":"1399318475","file0":"1399318474","file4":"1399318478","file5":"1399318479","file3":"1399318477"},"map_files_photo_id_array":[{"photo_id":"1399318479","filename":"file5"},{"photo_id":"1399318476","filename":"file2"},{"photo_id":"1399318478","filename":"file4"},{"photo_id":"1399318475","filename":"file1"},{"photo_id":"1399318474","filename":"file0"},{"photo_id":"1399318477","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399318474":["hashtag1","hashtag2"]},{"1399318477":["hashtag1","hashtag2"]},{"1399318476":["hashtag1","hashtag2"]},{"1399318479":["hashtag1","hashtag2"]},{"1399318475":["hashtag1","hashtag2"]},{"1399318478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399318474, 1399318477, 1399318476, 1399318479, 1399318475, 1399318478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24909424781799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:16:22.251623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/15/image_14122025_02_15_54_9616.jpg', '/home/pi/Desktop/images/14122025/02/15/image_14122025_02_16_03_9854.jpg', '/home/pi/Desktop/images/14122025/02/16/image_14122025_02_16_14_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/15/image_14122025_02_15_54_9616.jpg
/home/pi/Desktop/images/14122025/02/15/image_14122025_02_16_03_9854.jpg
/home/pi/Desktop/images/14122025/02/16/image_14122025_02_16_14_10589.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39084362983703613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:16:32.236144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:16:42.328069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_09_1646.jpg', '/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_30_21400.jpg', '/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_38_1588.jpg', '/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_40_1644.jpg', '/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_41_1492.jpg', '/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_50_8888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_09_1646.jpg
/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_30_21400.jpg
/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_38_1588.jpg
/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_40_1644.jpg
/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_41_1492.jpg
/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_50_8888.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318492","1399318489","1399318491","1399318493","1399318487","1399318490"],"photo_ids_order":["1399318487","1399318489","1399318490","1399318491","1399318492","1399318493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4bbc54b29be308e1b032785de5e4b573.jpg","text":"TemporaryFile(/tmp/multipartBody2714100192663890960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675062999,"filename":"image_04112025_11_09_41_1492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2fbec1c4b7c264657968ecc1ffa3dfd7.jpg","text":"TemporaryFile(/tmp/multipartBody2235831756523705441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675062999,"filename":"image_04112025_11_09_30_21400.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76595877be2d9e79c35f18d62ceff1ab.jpg","text":"TemporaryFile(/tmp/multipartBody8712661165163054603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675062999,"filename":"image_04112025_11_09_40_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ed3ba201cb7a411803f3ccbc93e98e5.jpg","text":"TemporaryFile(/tmp/multipartBody3748123658475181129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675062999,"filename":"image_04112025_11_09_50_8888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/44d54c1a88595e23663eb2a4c4c6be18.jpg","text":"TemporaryFile(/tmp/multipartBody8497849934066292176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675062999,"filename":"image_04112025_11_09_09_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bdc98d40f29e62b8ad78e8fcf34db965.jpg","text":"TemporaryFile(/tmp/multipartBody5418979097401492019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675062999,"filename":"image_04112025_11_09_38_1588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318490","file1":"1399318489","file0":"1399318487","file4":"1399318492","file5":"1399318493","file3":"1399318491"},"map_files_photo_id_array":[{"photo_id":"1399318493","filename":"file5"},{"photo_id":"1399318490","filename":"file2"},{"photo_id":"1399318492","filename":"file4"},{"photo_id":"1399318489","filename":"file1"},{"photo_id":"1399318487","filename":"file0"},{"photo_id":"1399318491","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399318492":["hashtag1","hashtag2"]},{"1399318489":["hashtag1","hashtag2"]},{"1399318491":["hashtag1","hashtag2"]},{"1399318493":["hashtag1","hashtag2"]},{"1399318487":["hashtag1","hashtag2"]},{"1399318490":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399318492, 1399318489, 1399318491, 1399318493, 1399318487, 1399318490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30460858345032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:17:22.586189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/15/image_14122025_02_15_54_9616.jpg', '/home/pi/Desktop/images/14122025/02/15/image_14122025_02_16_03_9854.jpg', '/home/pi/Desktop/images/14122025/02/16/image_14122025_02_16_14_10589.jpg', '/home/pi/Desktop/images/14122025/02/16/image_14122025_02_16_24_9671.jpg', '/home/pi/Desktop/images/14122025/02/16/image_14122025_02_17_03_9910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/15/image_14122025_02_15_54_9616.jpg
/home/pi/Desktop/images/14122025/02/15/image_14122025_02_16_03_9854.jpg
/home/pi/Desktop/images/14122025/02/16/image_14122025_02_16_14_10589.jpg
/home/pi/Desktop/images/14122025/02/16/image_14122025_02_16_24_9671.jpg
/home/pi/Desktop/images/14122025/02/16/image_14122025_02_17_03_9910.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.468015193939209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:17:32.575793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:17:42.598423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_52_1837.jpg', '/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_54_1663.jpg', '/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_55_1585.jpg', '/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_57_1606.jpg', '/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_59_1714.jpg', '/home/pi/Desktop/images/04112025/11/09/image_04112025_11_10_00_1612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_52_1837.jpg
/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_54_1663.jpg
/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_55_1585.jpg
/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_57_1606.jpg
/home/pi/Desktop/images/04112025/11/09/image_04112025_11_09_59_1714.jpg
/home/pi/Desktop/images/04112025/11/09/image_04112025_11_10_00_1612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318508","1399318510","1399318512","1399318509","1399318503","1399318511"],"photo_ids_order":["1399318503","1399318508","1399318509","1399318510","1399318511","1399318512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3a10b393879dbeb00dbddc40d6322961.jpg","text":"TemporaryFile(/tmp/multipartBody423035316789196977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675123295,"filename":"image_04112025_11_09_54_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b2d99e339c9e695a9bd3797653827ba5.jpg","text":"TemporaryFile(/tmp/multipartBody7765262000277702829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675123295,"filename":"image_04112025_11_09_57_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eb4c16781724998839c1713751c994ec.jpg","text":"TemporaryFile(/tmp/multipartBody3030595088434632740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675123295,"filename":"image_04112025_11_10_00_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5421e0d1bb8c79705ef089bbae8ba485.jpg","text":"TemporaryFile(/tmp/multipartBody1148974779454453593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675123295,"filename":"image_04112025_11_09_55_1585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/395d14eb5a3f79a1165c028750328348.jpg","text":"TemporaryFile(/tmp/multipartBody7586010115363351510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675123295,"filename":"image_04112025_11_09_52_1837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe369785a072c7db8dea8e2aecd1e650.jpg","text":"TemporaryFile(/tmp/multipartBody5367702541676560416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675123295,"filename":"image_04112025_11_09_59_1714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318509","file1":"1399318508","file0":"1399318503","file4":"1399318511","file5":"1399318512","file3":"1399318510"},"map_files_photo_id_array":[{"photo_id":"1399318512","filename":"file5"},{"photo_id":"1399318509","filename":"file2"},{"photo_id":"1399318511","filename":"file4"},{"photo_id":"1399318508","filename":"file1"},{"photo_id":"1399318503","filename":"file0"},{"photo_id":"1399318510","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399318508":["hashtag1","hashtag2"]},{"1399318510":["hashtag1","hashtag2"]},{"1399318512":["hashtag1","hashtag2"]},{"1399318509":["hashtag1","hashtag2"]},{"1399318503":["hashtag1","hashtag2"]},{"1399318511":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399318508, 1399318510, 1399318512, 1399318509, 1399318503, 1399318511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.47556948661804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:18:31.931952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:18:41.865752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/10/image_04112025_11_10_07_3018.jpg', '/home/pi/Desktop/images/04112025/11/10/image_04112025_11_10_11_3501.jpg', '/home/pi/Desktop/images/04112025/11/10/image_04112025_11_10_13_2766.jpg', '/home/pi/Desktop/images/04112025/11/10/image_04112025_11_10_16_2755.jpg', '/home/pi/Desktop/images/04112025/11/10/image_04112025_11_10_30_13916.jpg', '/home/pi/Desktop/images/04112025/11/10/image_04112025_11_10_32_1621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/10/image_04112025_11_10_07_3018.jpg
/home/pi/Desktop/images/04112025/11/10/image_04112025_11_10_11_3501.jpg
/home/pi/Desktop/images/04112025/11/10/image_04112025_11_10_13_2766.jpg
/home/pi/Desktop/images/04112025/11/10/image_04112025_11_10_16_2755.jpg
/home/pi/Desktop/images/04112025/11/10/image_04112025_11_10_30_13916.jpg
/home/pi/Desktop/images/04112025/11/10/image_04112025_11_10_32_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":["1399318520","1399318522","1399318519","1399318521","1399318523","1399318517"],"photo_ids_order":["1399318517","1399318519","1399318520","1399318521","1399318522","1399318523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/005992e10426ebd8b9a895ddc1a22623.jpg","text":"TemporaryFile(/tmp/multipartBody4367671703091013955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675182544,"filename":"image_04112025_11_10_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/12/14/c87c09fc30d1efd214844c34b08407b1.jpg","text":"TemporaryFile(/tmp/multipartBody2204639247762693956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675182544,"filename":"image_04112025_11_10_30_13916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e20c6080fc90ef740842c576c72d0f09.jpg","text":"TemporaryFile(/tmp/multipartBody7478687595513446496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675182544,"filename":"image_04112025_11_10_11_3501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7161b6708872654411fe064a7246600e.jpg","text":"TemporaryFile(/tmp/multipartBody6074139816793762923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675182544,"filename":"image_04112025_11_10_16_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a38640eaa511a9681c821cde10f6fa0.jpg","text":"TemporaryFile(/tmp/multipartBody2010105959803380675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675182544,"filename":"image_04112025_11_10_32_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e4f7db7c3a58c9df4f715dded6c9b6a.jpg","text":"TemporaryFile(/tmp/multipartBody3967338171260838413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675182544,"filename":"image_04112025_11_10_07_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318520","file1":"1399318519","file0":"1399318517","file4":"1399318522","file5":"1399318523","file3":"1399318521"},"map_files_photo_id_array":[{"photo_id":"1399318523","filename":"file5"},{"photo_id":"1399318520","filename":"file2"},{"photo_id":"1399318522","filename":"file4"},{"photo_id":"1399318519","filename":"file1"},{"photo_id":"1399318517","filename":"file0"},{"photo_id":"1399318521","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399318520":["hashtag1","hashtag2"]},{"1399318522":["hashtag1","hashtag2"]},{"1399318519":["hashtag1","hashtag2"]},{"1399318521":["hashtag1","hashtag2"]},{"1399318523":["hashtag1","hashtag2"]},{"1399318517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399318520, 1399318522, 1399318519, 1399318521, 1399318523, 1399318517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.93933033943176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:19:22.187842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/15/image_14122025_02_15_54_9616.jpg', '/home/pi/Desktop/images/14122025/02/15/image_14122025_02_16_03_9854.jpg', '/home/pi/Desktop/images/14122025/02/16/image_14122025_02_16_14_10589.jpg', '/home/pi/Desktop/images/14122025/02/16/image_14122025_02_16_24_9671.jpg', '/home/pi/Desktop/images/14122025/02/16/image_14122025_02_17_03_9910.jpg', '/home/pi/Desktop/images/14122025/02/17/image_14122025_02_17_34_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/15/image_14122025_02_15_54_9616.jpg
/home/pi/Desktop/images/14122025/02/15/image_14122025_02_16_03_9854.jpg
/home/pi/Desktop/images/14122025/02/16/image_14122025_02_16_14_10589.jpg
/home/pi/Desktop/images/14122025/02/16/image_14122025_02_16_24_9671.jpg
/home/pi/Desktop/images/14122025/02/16/image_14122025_02_17_03_9910.jpg
/home/pi/Desktop/images/14122025/02/17/image_14122025_02_17_34_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318528","1399318530","1399318533","1399318524","1399318532","1399318526"],"photo_ids_order":["1399318524","1399318526","1399318528","1399318530","1399318532","1399318533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d1aefe9e332b9c81a9de3cc2a6afb29.jpg","text":"TemporaryFile(/tmp/multipartBody5631951352411700998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675222860,"filename":"image_14122025_02_16_14_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/03a0887990a0182b447f6f5bba7ec984.jpg","text":"TemporaryFile(/tmp/multipartBody1874356883244074955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675222860,"filename":"image_14122025_02_16_24_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e063ef598f582ecc7328ab87ac2870bb.jpg","text":"TemporaryFile(/tmp/multipartBody3105223493729839797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675222860,"filename":"image_14122025_02_17_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e08606d499b5382fd6af45fad60b417.jpg","text":"TemporaryFile(/tmp/multipartBody2772783826093163838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675222860,"filename":"image_14122025_02_15_54_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8f8720ee02bb8afb1f7f12e6eab91ded.jpg","text":"TemporaryFile(/tmp/multipartBody5112105478167750001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675222860,"filename":"image_14122025_02_17_03_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6a6d7b72544a074b8dd272b9353f10c.jpg","text":"TemporaryFile(/tmp/multipartBody7069460380435367571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675222860,"filename":"image_14122025_02_16_03_9854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318528","file1":"1399318526","file0":"1399318524","file4":"1399318532","file5":"1399318533","file3":"1399318530"},"map_files_photo_id_array":[{"photo_id":"1399318533","filename":"file5"},{"photo_id":"1399318528","filename":"file2"},{"photo_id":"1399318532","filename":"file4"},{"photo_id":"1399318526","filename":"file1"},{"photo_id":"1399318524","filename":"file0"},{"photo_id":"1399318530","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318528":["hashtag1","hashtag2"]},{"1399318530":["hashtag1","hashtag2"]},{"1399318533":["hashtag1","hashtag2"]},{"1399318524":["hashtag1","hashtag2"]},{"1399318532":["hashtag1","hashtag2"]},{"1399318526":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318528, 1399318530, 1399318533, 1399318524, 1399318532, 1399318526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.522921323776245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:20:02.872131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/17/image_14122025_02_18_04_9653.jpg', '/home/pi/Desktop/images/14122025/02/18/image_14122025_02_18_13_9716.jpg', '/home/pi/Desktop/images/14122025/02/18/image_14122025_02_18_24_10642.jpg', '/home/pi/Desktop/images/14122025/02/18/image_14122025_02_18_34_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/17/image_14122025_02_18_04_9653.jpg
/home/pi/Desktop/images/14122025/02/18/image_14122025_02_18_13_9716.jpg
/home/pi/Desktop/images/14122025/02/18/image_14122025_02_18_24_10642.jpg
/home/pi/Desktop/images/14122025/02/18/image_14122025_02_18_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":["1399318534","1399318537","1399318536","1399318535"],"photo_ids_order":["1399318534","1399318535","1399318536","1399318537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21170a9f7772ce1dab6ea28c4b064158.jpg","text":"TemporaryFile(/tmp/multipartBody6618195761658253356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675263600,"filename":"image_14122025_02_18_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a27bca89bcfceadf3a22a8136cb40fa7.jpg","text":"TemporaryFile(/tmp/multipartBody293385507865798990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675263600,"filename":"image_14122025_02_18_34_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f17d492b78d10bbae0431347a5c7b4d.jpg","text":"TemporaryFile(/tmp/multipartBody4170271651021423066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675263600,"filename":"image_14122025_02_18_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/12/14/c42c53c935bd35d858350849a6d1ce37.jpg","text":"TemporaryFile(/tmp/multipartBody4057287595427451973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675263600,"filename":"image_14122025_02_18_13_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318536","file1":"1399318535","file0":"1399318534","file3":"1399318537"},"map_files_photo_id_array":[{"photo_id":"1399318536","filename":"file2"},{"photo_id":"1399318535","filename":"file1"},{"photo_id":"1399318534","filename":"file0"},{"photo_id":"1399318537","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318534":["hashtag1","hashtag2"]},{"1399318537":["hashtag1","hashtag2"]},{"1399318536":["hashtag1","hashtag2"]},{"1399318535":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318534, 1399318537, 1399318536, 1399318535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.502599000930786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:20:32.425642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:20:42.363940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/10/image_04112025_11_10_50_18558.jpg', '/home/pi/Desktop/images/04112025/11/10/image_04112025_11_10_53_2986.jpg', '/home/pi/Desktop/images/04112025/11/10/image_04112025_11_10_55_1515.jpg', '/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_05_10259.jpg', '/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_07_1614.jpg', '/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_08_1630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/10/image_04112025_11_10_50_18558.jpg
/home/pi/Desktop/images/04112025/11/10/image_04112025_11_10_53_2986.jpg
/home/pi/Desktop/images/04112025/11/10/image_04112025_11_10_55_1515.jpg
/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_05_10259.jpg
/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_07_1614.jpg
/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_08_1630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318561","1399318555","1399318557","1399318542","1399318559","1399318544"],"photo_ids_order":["1399318542","1399318544","1399318555","1399318557","1399318559","1399318561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b3fbde893e81fc73ae2322d45f599b77.jpg","text":"TemporaryFile(/tmp/multipartBody5414851390852687863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675303086,"filename":"image_04112025_11_11_08_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/710d6e5fde9dca31fce611a8c405f0e3.jpg","text":"TemporaryFile(/tmp/multipartBody3576488906380527596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675303086,"filename":"image_04112025_11_10_55_1515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/99a7e2ac207dfeaac7813da07e9b32f8.jpg","text":"TemporaryFile(/tmp/multipartBody8864600576447060710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675303086,"filename":"image_04112025_11_11_05_10259.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb2aa57a5c0f4c778c786778fd17bb23.jpg","text":"TemporaryFile(/tmp/multipartBody4578951164114863624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675303086,"filename":"image_04112025_11_10_50_18558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d5754b986cc57993b9ff557a8187ab2.jpg","text":"TemporaryFile(/tmp/multipartBody6527294087831814832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675303086,"filename":"image_04112025_11_11_07_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c39679f9c69485f9279a9e5b827b175d.jpg","text":"TemporaryFile(/tmp/multipartBody4073454049828804750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675303086,"filename":"image_04112025_11_10_53_2986.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318555","file1":"1399318544","file0":"1399318542","file4":"1399318559","file5":"1399318561","file3":"1399318557"},"map_files_photo_id_array":[{"photo_id":"1399318561","filename":"file5"},{"photo_id":"1399318555","filename":"file2"},{"photo_id":"1399318559","filename":"file4"},{"photo_id":"1399318544","filename":"file1"},{"photo_id":"1399318542","filename":"file0"},{"photo_id":"1399318557","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399318561":["hashtag1","hashtag2"]},{"1399318555":["hashtag1","hashtag2"]},{"1399318557":["hashtag1","hashtag2"]},{"1399318542":["hashtag1","hashtag2"]},{"1399318559":["hashtag1","hashtag2"]},{"1399318544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399318561, 1399318555, 1399318557, 1399318542, 1399318559, 1399318544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.570372581481934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:21:22.605719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/19/image_14122025_02_19_54_10689.jpg', '/home/pi/Desktop/images/14122025/02/19/image_14122025_02_20_04_9762.jpg', '/home/pi/Desktop/images/14122025/02/20/image_14122025_02_20_14_9687.jpg', '/home/pi/Desktop/images/14122025/02/20/image_14122025_02_20_34_10690.jpg', '/home/pi/Desktop/images/14122025/02/20/image_14122025_02_20_44_9673.jpg', '/home/pi/Desktop/images/14122025/02/20/image_14122025_02_20_54_9919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/19/image_14122025_02_19_54_10689.jpg
/home/pi/Desktop/images/14122025/02/19/image_14122025_02_20_04_9762.jpg
/home/pi/Desktop/images/14122025/02/20/image_14122025_02_20_14_9687.jpg
/home/pi/Desktop/images/14122025/02/20/image_14122025_02_20_34_10690.jpg
/home/pi/Desktop/images/14122025/02/20/image_14122025_02_20_44_9673.jpg
/home/pi/Desktop/images/14122025/02/20/image_14122025_02_20_54_9919.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318570","1399318564","1399318572","1399318566","1399318568","1399318562"],"photo_ids_order":["1399318562","1399318564","1399318566","1399318568","1399318570","1399318572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b2da8c6fb15867d06ade1c4e9d0ab38.jpg","text":"TemporaryFile(/tmp/multipartBody8876557053006081115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675343311,"filename":"image_14122025_02_20_44_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c17f365a9a09c5928a6b30532b3fa7fe.jpg","text":"TemporaryFile(/tmp/multipartBody2859638888544008470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675343311,"filename":"image_14122025_02_20_04_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3e08a7c297b83119d3d361e360dd20ba.jpg","text":"TemporaryFile(/tmp/multipartBody3045124354939811453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675343311,"filename":"image_14122025_02_20_54_9919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/96407db7a39e66c3144f7db675618899.jpg","text":"TemporaryFile(/tmp/multipartBody419157962722187855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675343311,"filename":"image_14122025_02_20_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a7fbd703e36fa1dc78b083c1321f29ea.jpg","text":"TemporaryFile(/tmp/multipartBody6720364877172003339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675343311,"filename":"image_14122025_02_20_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/12/14/ae0e37974876650b8e4197eec9f29195.jpg","text":"TemporaryFile(/tmp/multipartBody7304329436517901152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675343311,"filename":"image_14122025_02_19_54_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318566","file1":"1399318564","file0":"1399318562","file4":"1399318570","file5":"1399318572","file3":"1399318568"},"map_files_photo_id_array":[{"photo_id":"1399318572","filename":"file5"},{"photo_id":"1399318566","filename":"file2"},{"photo_id":"1399318570","filename":"file4"},{"photo_id":"1399318564","filename":"file1"},{"photo_id":"1399318562","filename":"file0"},{"photo_id":"1399318568","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318570":["hashtag1","hashtag2"]},{"1399318564":["hashtag1","hashtag2"]},{"1399318572":["hashtag1","hashtag2"]},{"1399318566":["hashtag1","hashtag2"]},{"1399318568":["hashtag1","hashtag2"]},{"1399318562":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318570, 1399318564, 1399318572, 1399318566, 1399318568, 1399318562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.701793909072876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:22:02.331703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/21/image_14122025_02_21_44_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/21/image_14122025_02_21_44_9682.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.32617950439453125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:22:11.964806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:22:21.854455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/21/image_14122025_02_21_44_9682.jpg', '/home/pi/Desktop/images/14122025/02/21/image_14122025_02_21_53_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/21/image_14122025_02_21_44_9682.jpg
/home/pi/Desktop/images/14122025/02/21/image_14122025_02_21_53_9655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318576","1399318574"],"photo_ids_order":["1399318574","1399318576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ed074c83af33f2b92996ac23f962c175.jpg","text":"TemporaryFile(/tmp/multipartBody7089162911352027885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675402347,"filename":"image_14122025_02_21_53_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/00bd4930cc2dfcf22131fc831513bd62.jpg","text":"TemporaryFile(/tmp/multipartBody6327827514012559335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675402347,"filename":"image_14122025_02_21_44_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399318576","file0":"1399318574"},"map_files_photo_id_array":[{"photo_id":"1399318576","filename":"file1"},{"photo_id":"1399318574","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318576":["hashtag1","hashtag2"]},{"1399318574":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318576, 1399318574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.74773669242859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:22:41.803138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_10_1713.jpg', '/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_19_9572.jpg', '/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_21_1619.jpg', '/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_23_1625.jpg', '/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_24_1722.jpg', '/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_47_8818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_10_1713.jpg
/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_19_9572.jpg
/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_21_1619.jpg
/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_23_1625.jpg
/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_24_1722.jpg
/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_47_8818.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318585","1399318581","1399318584","1399318587","1399318586","1399318583"],"photo_ids_order":["1399318581","1399318583","1399318584","1399318585","1399318586","1399318587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc6ba959e25dd1aa76ea54cb6e4f2e9c.jpg","text":"TemporaryFile(/tmp/multipartBody704953393761922621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675422513,"filename":"image_04112025_11_11_23_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd0122749935b6b11338c23341dc62ad.jpg","text":"TemporaryFile(/tmp/multipartBody8697991720163147161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675422513,"filename":"image_04112025_11_11_10_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/951c37e89f5d590abc186352285cb2cd.jpg","text":"TemporaryFile(/tmp/multipartBody6070278808691738717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675422513,"filename":"image_04112025_11_11_21_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f5d581056239f1c156a35e2beb8a3d5.jpg","text":"TemporaryFile(/tmp/multipartBody4248987722798941687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675422513,"filename":"image_04112025_11_11_47_8818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/70df56b3ca8704c084b50a255877aa33.jpg","text":"TemporaryFile(/tmp/multipartBody3237077926484086377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675422513,"filename":"image_04112025_11_11_24_1722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/71d5cfc48e2f2c6e887c5b78d211c343.jpg","text":"TemporaryFile(/tmp/multipartBody2064242819447342624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675422513,"filename":"image_04112025_11_11_19_9572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318584","file1":"1399318583","file0":"1399318581","file4":"1399318586","file5":"1399318587","file3":"1399318585"},"map_files_photo_id_array":[{"photo_id":"1399318587","filename":"file5"},{"photo_id":"1399318584","filename":"file2"},{"photo_id":"1399318586","filename":"file4"},{"photo_id":"1399318583","filename":"file1"},{"photo_id":"1399318581","filename":"file0"},{"photo_id":"1399318585","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399318585":["hashtag1","hashtag2"]},{"1399318581":["hashtag1","hashtag2"]},{"1399318584":["hashtag1","hashtag2"]},{"1399318587":["hashtag1","hashtag2"]},{"1399318586":["hashtag1","hashtag2"]},{"1399318583":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399318585, 1399318581, 1399318584, 1399318587, 1399318586, 1399318583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78217911720276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:23:22.145836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/22/image_14122025_02_22_53_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/22/image_14122025_02_22_53_9627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318588"],"photo_id":"1399318588","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/09c64bc0c2cc8ec3f44b5c79f2a1d296.jpg","text":"TemporaryFile(/tmp/multipartBody7237081246782318493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675462583,"filename":"image_14122025_02_22_53_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399318588"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399318588"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.878114700317383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:23:42.037335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_49_1703.jpg', '/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_50_1668.jpg', '/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_52_1643.jpg', '/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_54_1760.jpg', '/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_55_1613.jpg', '/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_57_1658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_49_1703.jpg
/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_50_1668.jpg
/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_52_1643.jpg
/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_54_1760.jpg
/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_55_1613.jpg
/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_57_1658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318601","1399318594","1399318600","1399318603","1399318599","1399318602"],"photo_ids_order":["1399318594","1399318599","1399318600","1399318601","1399318602","1399318603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e97c61b6653614cfe94097b72e27cc3.jpg","text":"TemporaryFile(/tmp/multipartBody7441181960615709445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675482719,"filename":"image_04112025_11_11_54_1760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a4a21da7313786a51db849fcb80187e8.jpg","text":"TemporaryFile(/tmp/multipartBody7309509957990670620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675482719,"filename":"image_04112025_11_11_49_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f925c9c4f577e2a2425ce67298231ab.jpg","text":"TemporaryFile(/tmp/multipartBody9114695666578522984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675482719,"filename":"image_04112025_11_11_52_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6686591d381f71527762b9cb99a1a19a.jpg","text":"TemporaryFile(/tmp/multipartBody6916955660195246193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675482719,"filename":"image_04112025_11_11_57_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/005f04920fdcd63ba9d1f20093bdf6c9.jpg","text":"TemporaryFile(/tmp/multipartBody6130172634985314254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675482719,"filename":"image_04112025_11_11_50_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/00a84459f46ed1ffd3e86ae4d10e9210.jpg","text":"TemporaryFile(/tmp/multipartBody4257472003525990754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675482719,"filename":"image_04112025_11_11_55_1613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318600","file1":"1399318599","file0":"1399318594","file4":"1399318602","file5":"1399318603","file3":"1399318601"},"map_files_photo_id_array":[{"photo_id":"1399318603","filename":"file5"},{"photo_id":"1399318600","filename":"file2"},{"photo_id":"1399318602","filename":"file4"},{"photo_id":"1399318599","filename":"file1"},{"photo_id":"1399318594","filename":"file0"},{"photo_id":"1399318601","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399318601":["hashtag1","hashtag2"]},{"1399318594":["hashtag1","hashtag2"]},{"1399318600":["hashtag1","hashtag2"]},{"1399318603":["hashtag1","hashtag2"]},{"1399318599":["hashtag1","hashtag2"]},{"1399318602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399318601, 1399318594, 1399318600, 1399318603, 1399318599, 1399318602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88670086860657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:24:22.316628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_59_1571.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_02_1666.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_04_1814.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_06_2081.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_08_1828.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_09_1597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_59_1571.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_02_1666.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_04_1814.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_06_2081.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_08_1828.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_09_1597.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5937857627868652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:24:32.281150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:24:42.264287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_59_1571.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_02_1666.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_04_1814.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_06_2081.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_08_1828.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_09_1597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/11/image_04112025_11_11_59_1571.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_02_1666.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_04_1814.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_06_2081.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_08_1828.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_09_1597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399318615","1399318618","1399318614","1399318617","1399318616","1399318619"],"photo_ids_order":["1399318614","1399318615","1399318616","1399318617","1399318618","1399318619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a62d4a2c625037e2bde129dba4ce9627.jpg","text":"TemporaryFile(/tmp/multipartBody5805396936797926951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675542877,"filename":"image_04112025_11_12_02_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21d064eb72999ae90e63744843c98676.jpg","text":"TemporaryFile(/tmp/multipartBody3007655352700665860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675542877,"filename":"image_04112025_11_12_08_1828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e594e1f9cb151c2deecdd2a91bc13d3f.jpg","text":"TemporaryFile(/tmp/multipartBody4418471933359149013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675542877,"filename":"image_04112025_11_11_59_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b401161c2de51f5f7da89591788c8298.jpg","text":"TemporaryFile(/tmp/multipartBody5099545623224633239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675542877,"filename":"image_04112025_11_12_06_2081.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/04741fa4b0aef62f2c392cdf3262d152.jpg","text":"TemporaryFile(/tmp/multipartBody3811995581709728723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675542877,"filename":"image_04112025_11_12_04_1814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a01e340c39b8d6fa60f0f5cd9426daae.jpg","text":"TemporaryFile(/tmp/multipartBody3258127340224181502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675542877,"filename":"image_04112025_11_12_09_1597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318616","file1":"1399318615","file0":"1399318614","file4":"1399318618","file5":"1399318619","file3":"1399318617"},"map_files_photo_id_array":[{"photo_id":"1399318619","filename":"file5"},{"photo_id":"1399318616","filename":"file2"},{"photo_id":"1399318618","filename":"file4"},{"photo_id":"1399318615","filename":"file1"},{"photo_id":"1399318614","filename":"file0"},{"photo_id":"1399318617","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399318615":["hashtag1","hashtag2"]},{"1399318618":["hashtag1","hashtag2"]},{"1399318614":["hashtag1","hashtag2"]},{"1399318617":["hashtag1","hashtag2"]},{"1399318616":["hashtag1","hashtag2"]},{"1399318619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399318615, 1399318618, 1399318614, 1399318617, 1399318616, 1399318619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.772132396698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:25:32.587491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:25:42.502143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_11_1495.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_13_2390.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_15_1634.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_16_1677.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_18_1581.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_19_1534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_11_1495.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_13_2390.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_15_1634.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_16_1677.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_18_1581.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_19_1534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318628","1399318627","1399318630","1399318629","1399318631","1399318625"],"photo_ids_order":["1399318625","1399318627","1399318628","1399318629","1399318630","1399318631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/83370999d6c283788cc8df93b6a0be71.jpg","text":"TemporaryFile(/tmp/multipartBody2226867304705344350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675603274,"filename":"image_04112025_11_12_15_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f0837a98357d79fc45639e3eb33c13a.jpg","text":"TemporaryFile(/tmp/multipartBody14584976843702302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675603274,"filename":"image_04112025_11_12_13_2390.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/03541b03edfd251fd8e5d46174534bdc.jpg","text":"TemporaryFile(/tmp/multipartBody7895508174222886817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675603274,"filename":"image_04112025_11_12_18_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/df6733152f997f479d8db64e5a1fc241.jpg","text":"TemporaryFile(/tmp/multipartBody7768872792964634407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675603274,"filename":"image_04112025_11_12_16_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/82a1843731e9d0e08b99e4fdab76ef8f.jpg","text":"TemporaryFile(/tmp/multipartBody8813379070559481664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675603274,"filename":"image_04112025_11_12_19_1534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e9f98865e22a26d2475a374b6101f8e7.jpg","text":"TemporaryFile(/tmp/multipartBody9084991573659303249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675603274,"filename":"image_04112025_11_12_11_1495.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318628","file1":"1399318627","file0":"1399318625","file4":"1399318630","file5":"1399318631","file3":"1399318629"},"map_files_photo_id_array":[{"photo_id":"1399318631","filename":"file5"},{"photo_id":"1399318628","filename":"file2"},{"photo_id":"1399318630","filename":"file4"},{"photo_id":"1399318627","filename":"file1"},{"photo_id":"1399318625","filename":"file0"},{"photo_id":"1399318629","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399318628":["hashtag1","hashtag2"]},{"1399318627":["hashtag1","hashtag2"]},{"1399318630":["hashtag1","hashtag2"]},{"1399318629":["hashtag1","hashtag2"]},{"1399318631":["hashtag1","hashtag2"]},{"1399318625":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399318628, 1399318627, 1399318630, 1399318629, 1399318631, 1399318625)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.49371266365051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:26:32.661048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:26:42.727331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_21_1565.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_23_1608.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_24_1808.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_26_1746.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_28_1997.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_30_1809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_21_1565.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_23_1608.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_24_1808.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_26_1746.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_28_1997.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_30_1809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318645","1399318642","1399318636","1399318644","1399318647","1399318640"],"photo_ids_order":["1399318636","1399318640","1399318642","1399318644","1399318645","1399318647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8851ac6ba456ec744ffbbf02b7e28965.jpg","text":"TemporaryFile(/tmp/multipartBody8765959712968762018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675663425,"filename":"image_04112025_11_12_28_1997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e941a3e523ec8c975d0a440687e8b018.jpg","text":"TemporaryFile(/tmp/multipartBody406025696734595932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675663425,"filename":"image_04112025_11_12_24_1808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f55197e8a4067e2cf303a92ec28bf867.jpg","text":"TemporaryFile(/tmp/multipartBody1905793096931317747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675663425,"filename":"image_04112025_11_12_21_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e88747213eede25e69c16965ed2aaad.jpg","text":"TemporaryFile(/tmp/multipartBody1977579918665110800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675663425,"filename":"image_04112025_11_12_26_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a9eb5c2eb7b8943c5462419a059c231d.jpg","text":"TemporaryFile(/tmp/multipartBody5497956677878303709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675663425,"filename":"image_04112025_11_12_30_1809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3bf221666d0453382cce055d79b4dd6.jpg","text":"TemporaryFile(/tmp/multipartBody1857888552181610259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675663425,"filename":"image_04112025_11_12_23_1608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318642","file1":"1399318640","file0":"1399318636","file4":"1399318645","file5":"1399318647","file3":"1399318644"},"map_files_photo_id_array":[{"photo_id":"1399318647","filename":"file5"},{"photo_id":"1399318642","filename":"file2"},{"photo_id":"1399318645","filename":"file4"},{"photo_id":"1399318640","filename":"file1"},{"photo_id":"1399318636","filename":"file0"},{"photo_id":"1399318644","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399318645":["hashtag1","hashtag2"]},{"1399318642":["hashtag1","hashtag2"]},{"1399318636":["hashtag1","hashtag2"]},{"1399318644":["hashtag1","hashtag2"]},{"1399318647":["hashtag1","hashtag2"]},{"1399318640":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399318645, 1399318642, 1399318636, 1399318644, 1399318647, 1399318640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.373929500579834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:27:21.923776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/23/image_14122025_02_23_53_9739.jpg', '/home/pi/Desktop/images/14122025/02/24/image_14122025_02_24_24_9677.jpg', '/home/pi/Desktop/images/14122025/02/24/image_14122025_02_24_33_9663.jpg', '/home/pi/Desktop/images/14122025/02/25/image_14122025_02_25_54_9729.jpg', '/home/pi/Desktop/images/14122025/02/26/image_14122025_02_26_14_10672.jpg', '/home/pi/Desktop/images/14122025/02/26/image_14122025_02_26_34_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/23/image_14122025_02_23_53_9739.jpg
/home/pi/Desktop/images/14122025/02/24/image_14122025_02_24_24_9677.jpg
/home/pi/Desktop/images/14122025/02/24/image_14122025_02_24_33_9663.jpg
/home/pi/Desktop/images/14122025/02/25/image_14122025_02_25_54_9729.jpg
/home/pi/Desktop/images/14122025/02/26/image_14122025_02_26_14_10672.jpg
/home/pi/Desktop/images/14122025/02/26/image_14122025_02_26_34_9765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318651","1399318657","1399318659","1399318653","1399318655","1399318649"],"photo_ids_order":["1399318649","1399318651","1399318653","1399318655","1399318657","1399318659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/219f45da1a1b798dd1eeb2bb29f6182e.jpg","text":"TemporaryFile(/tmp/multipartBody1355495326189585241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675702545,"filename":"image_14122025_02_24_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/12/14/dde89302ec14086f21cef5b407a27a33.jpg","text":"TemporaryFile(/tmp/multipartBody613383646601615599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675702545,"filename":"image_14122025_02_26_14_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/06ac7f843eeb4f6cc0e9fd1f67c3c11c.jpg","text":"TemporaryFile(/tmp/multipartBody3550289607637896709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675702545,"filename":"image_14122025_02_26_34_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd71eb2a0166fe507cfa8d140f20c638.jpg","text":"TemporaryFile(/tmp/multipartBody8901673781097603324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675702545,"filename":"image_14122025_02_24_33_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c4fd88f842075a16605f2eb5675637e.jpg","text":"TemporaryFile(/tmp/multipartBody5654471401581219691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675702545,"filename":"image_14122025_02_25_54_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/38cb7f2cdd92eaf520eb7c646052e67d.jpg","text":"TemporaryFile(/tmp/multipartBody5845001908227284249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675702545,"filename":"image_14122025_02_23_53_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318653","file1":"1399318651","file0":"1399318649","file4":"1399318657","file5":"1399318659","file3":"1399318655"},"map_files_photo_id_array":[{"photo_id":"1399318659","filename":"file5"},{"photo_id":"1399318653","filename":"file2"},{"photo_id":"1399318657","filename":"file4"},{"photo_id":"1399318651","filename":"file1"},{"photo_id":"1399318649","filename":"file0"},{"photo_id":"1399318655","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318651":["hashtag1","hashtag2"]},{"1399318657":["hashtag1","hashtag2"]},{"1399318659":["hashtag1","hashtag2"]},{"1399318653":["hashtag1","hashtag2"]},{"1399318655":["hashtag1","hashtag2"]},{"1399318649":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318651, 1399318657, 1399318659, 1399318653, 1399318655, 1399318649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57275629043579 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:28:02.667989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/26/image_14122025_02_26_54_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/26/image_14122025_02_26_54_9612.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38420939445495605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:28:12.182925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:28:22.232559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/26/image_14122025_02_26_54_9612.jpg', '/home/pi/Desktop/images/14122025/02/26/image_14122025_02_27_03_9687.jpg', '/home/pi/Desktop/images/14122025/02/28/image_14122025_02_28_33_9866.jpg', '/home/pi/Desktop/images/14122025/02/28/image_14122025_02_28_44_10756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/26/image_14122025_02_26_54_9612.jpg
/home/pi/Desktop/images/14122025/02/26/image_14122025_02_27_03_9687.jpg
/home/pi/Desktop/images/14122025/02/28/image_14122025_02_28_33_9866.jpg
/home/pi/Desktop/images/14122025/02/28/image_14122025_02_28_44_10756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318663","1399318666","1399318665","1399318661"],"photo_ids_order":["1399318661","1399318663","1399318665","1399318666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a46cf04228551f67dabba472f911ff37.jpg","text":"TemporaryFile(/tmp/multipartBody7495606898507963386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675762778,"filename":"image_14122025_02_27_03_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5396275b0f2c7a50e6a7e9fe6d5c2f92.jpg","text":"TemporaryFile(/tmp/multipartBody799978232509058994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675762778,"filename":"image_14122025_02_28_44_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2c783ecc3da1cd88ea9ecb432037cbf7.jpg","text":"TemporaryFile(/tmp/multipartBody5659489216424734759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675762778,"filename":"image_14122025_02_28_33_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ac1b2ca4f31447da26e21fdfc163a485.jpg","text":"TemporaryFile(/tmp/multipartBody3632521412809265132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675762778,"filename":"image_14122025_02_26_54_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318665","file1":"1399318663","file0":"1399318661","file3":"1399318666"},"map_files_photo_id_array":[{"photo_id":"1399318665","filename":"file2"},{"photo_id":"1399318663","filename":"file1"},{"photo_id":"1399318661","filename":"file0"},{"photo_id":"1399318666","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318663":["hashtag1","hashtag2"]},{"1399318666":["hashtag1","hashtag2"]},{"1399318665":["hashtag1","hashtag2"]},{"1399318661":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318663, 1399318666, 1399318665, 1399318661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 32.67696833610535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:29:03.468083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:29:12.401079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:29:22.486384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/28/image_14122025_02_28_54_9714.jpg', '/home/pi/Desktop/images/14122025/02/29/image_14122025_02_29_24_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/28/image_14122025_02_28_54_9714.jpg
/home/pi/Desktop/images/14122025/02/29/image_14122025_02_29_24_9602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318668","1399318671"],"photo_ids_order":["1399318668","1399318671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81469f306150fe97ccf5d5008a2c4791.jpg","text":"TemporaryFile(/tmp/multipartBody5274789624217957461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675823936,"filename":"image_14122025_02_28_54_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c3e345981ad1717d9aca4d02685d0577.jpg","text":"TemporaryFile(/tmp/multipartBody4331406622710377133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675823936,"filename":"image_14122025_02_29_24_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399318671","file0":"1399318668"},"map_files_photo_id_array":[{"photo_id":"1399318671","filename":"file1"},{"photo_id":"1399318668","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318668":["hashtag1","hashtag2"]},{"1399318671":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318668, 1399318671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.763083457946777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:30:03.223666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:30:12.786317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:30:22.776745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/29/image_14122025_02_29_33_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/29/image_14122025_02_29_33_9674.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3255183696746826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:30:32.783770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:30:42.751321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_32_1634.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_33_1563.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_35_1693.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_36_1539.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_38_1617.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_43_1744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_32_1634.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_33_1563.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_35_1693.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_36_1539.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_38_1617.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_43_1744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318696","1399318693","1399318695","1399318689","1399318691","1399318694"],"photo_ids_order":["1399318689","1399318691","1399318693","1399318694","1399318695","1399318696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/05d78fd4e2973b9ad7b32a0a5aa6a0d2.jpg","text":"TemporaryFile(/tmp/multipartBody8200975724982966333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675903497,"filename":"image_04112025_11_12_43_1744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d217b46011a030de07f22fb007480b19.jpg","text":"TemporaryFile(/tmp/multipartBody1719704160412732862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675903497,"filename":"image_04112025_11_12_35_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e9f56b731aeda41d37d89397030b48f0.jpg","text":"TemporaryFile(/tmp/multipartBody6858467700888827337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675903497,"filename":"image_04112025_11_12_38_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/59e9021fb706c1cf8ccb3f29e0281cde.jpg","text":"TemporaryFile(/tmp/multipartBody904388852035572985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675903497,"filename":"image_04112025_11_12_32_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/df5d3e3896eb5ce35cb2ba49630752e6.jpg","text":"TemporaryFile(/tmp/multipartBody4883227452230101884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675903497,"filename":"image_04112025_11_12_33_1563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1ca12e3a777460704784479b1fb5f25.jpg","text":"TemporaryFile(/tmp/multipartBody5823844638624269626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675903497,"filename":"image_04112025_11_12_36_1539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318693","file1":"1399318691","file0":"1399318689","file4":"1399318695","file5":"1399318696","file3":"1399318694"},"map_files_photo_id_array":[{"photo_id":"1399318696","filename":"file5"},{"photo_id":"1399318693","filename":"file2"},{"photo_id":"1399318695","filename":"file4"},{"photo_id":"1399318691","filename":"file1"},{"photo_id":"1399318689","filename":"file0"},{"photo_id":"1399318694","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399318696":["hashtag1","hashtag2"]},{"1399318693":["hashtag1","hashtag2"]},{"1399318695":["hashtag1","hashtag2"]},{"1399318689":["hashtag1","hashtag2"]},{"1399318691":["hashtag1","hashtag2"]},{"1399318694":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399318696, 1399318693, 1399318695, 1399318689, 1399318691, 1399318694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44249987602234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:31:22.010725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/29/image_14122025_02_29_33_9674.jpg', '/home/pi/Desktop/images/14122025/02/30/image_14122025_02_30_14_9781.jpg', '/home/pi/Desktop/images/14122025/02/31/image_14122025_02_31_14_9632.jpg', '/home/pi/Desktop/images/14122025/02/31/image_14122025_02_31_24_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/29/image_14122025_02_29_33_9674.jpg
/home/pi/Desktop/images/14122025/02/30/image_14122025_02_30_14_9781.jpg
/home/pi/Desktop/images/14122025/02/31/image_14122025_02_31_14_9632.jpg
/home/pi/Desktop/images/14122025/02/31/image_14122025_02_31_24_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318699","1399318697","1399318701","1399318704"],"photo_ids_order":["1399318697","1399318699","1399318701","1399318704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ad47cd1e9dc959530d47b8382c70450.jpg","text":"TemporaryFile(/tmp/multipartBody2616115382935299204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675942547,"filename":"image_14122025_02_30_14_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/79671db1fd5d3951b8653cd1300fc7d1.jpg","text":"TemporaryFile(/tmp/multipartBody557766572576908749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675942547,"filename":"image_14122025_02_29_33_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c65b352e9d7c1def8444a63a74f29138.jpg","text":"TemporaryFile(/tmp/multipartBody2288543173558741693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675942547,"filename":"image_14122025_02_31_14_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c21691ad9d88cd0b45d80cbed0f07746.jpg","text":"TemporaryFile(/tmp/multipartBody5630576218590534181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765675942547,"filename":"image_14122025_02_31_24_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318701","file1":"1399318699","file0":"1399318697","file3":"1399318704"},"map_files_photo_id_array":[{"photo_id":"1399318701","filename":"file2"},{"photo_id":"1399318699","filename":"file1"},{"photo_id":"1399318697","filename":"file0"},{"photo_id":"1399318704","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318699":["hashtag1","hashtag2"]},{"1399318697":["hashtag1","hashtag2"]},{"1399318701":["hashtag1","hashtag2"]},{"1399318704":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318699, 1399318697, 1399318701, 1399318704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.263482093811035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:32:02.676091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:32:12.236774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:32:22.275406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/31/image_14122025_02_31_54_9755.jpg', '/home/pi/Desktop/images/14122025/02/32/image_14122025_02_32_14_10692.jpg', '/home/pi/Desktop/images/14122025/02/32/image_14122025_02_32_24_9719.jpg', '/home/pi/Desktop/images/14122025/02/32/image_14122025_02_32_33_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/31/image_14122025_02_31_54_9755.jpg
/home/pi/Desktop/images/14122025/02/32/image_14122025_02_32_14_10692.jpg
/home/pi/Desktop/images/14122025/02/32/image_14122025_02_32_24_9719.jpg
/home/pi/Desktop/images/14122025/02/32/image_14122025_02_32_33_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":["1399318709","1399318708","1399318711","1399318713"],"photo_ids_order":["1399318708","1399318709","1399318711","1399318713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c9fa805e688236e54233537a1395b7cd.jpg","text":"TemporaryFile(/tmp/multipartBody8990138430133514584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676002814,"filename":"image_14122025_02_32_14_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1a7efe7d3ec97016bcd0881de21dcca2.jpg","text":"TemporaryFile(/tmp/multipartBody3797114936642354020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676002814,"filename":"image_14122025_02_31_54_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a5feac1987482674a1ca20c38d75edc3.jpg","text":"TemporaryFile(/tmp/multipartBody4010039749126385143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676002814,"filename":"image_14122025_02_32_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/12/14/722d552bec8669a0222427e448909bbf.jpg","text":"TemporaryFile(/tmp/multipartBody3544250256319911295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676002814,"filename":"image_14122025_02_32_33_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318711","file1":"1399318709","file0":"1399318708","file3":"1399318713"},"map_files_photo_id_array":[{"photo_id":"1399318711","filename":"file2"},{"photo_id":"1399318709","filename":"file1"},{"photo_id":"1399318708","filename":"file0"},{"photo_id":"1399318713","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318709":["hashtag1","hashtag2"]},{"1399318708":["hashtag1","hashtag2"]},{"1399318711":["hashtag1","hashtag2"]},{"1399318713":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318709, 1399318708, 1399318711, 1399318713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.029640674591064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:33:02.996769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:33:12.502683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:33:22.573894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/32/image_14122025_02_32_44_10735.jpg', '/home/pi/Desktop/images/14122025/02/32/image_14122025_02_33_04_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/32/image_14122025_02_32_44_10735.jpg
/home/pi/Desktop/images/14122025/02/32/image_14122025_02_33_04_9601.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.36581945419311523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:33:32.460687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:33:42.447640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_46_3278.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_48_1645.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_50_1629.jpg', '/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_55_5754.jpg', '/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_15_20054.jpg', '/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_17_1699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_46_3278.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_48_1645.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_50_1629.jpg
/home/pi/Desktop/images/04112025/11/12/image_04112025_11_12_55_5754.jpg
/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_15_20054.jpg
/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_17_1699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318727","1399318732","1399318729","1399318731","1399318733","1399318730"],"photo_ids_order":["1399318727","1399318729","1399318730","1399318731","1399318732","1399318733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aed6f3b0ca1cf4b2a78f0854b90621db.jpg","text":"TemporaryFile(/tmp/multipartBody3329225173973610019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676083214,"filename":"image_04112025_11_12_46_3278.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7b5cf80cf3f3438cefa36b4a0b19a51.jpg","text":"TemporaryFile(/tmp/multipartBody3920142959320945504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676083214,"filename":"image_04112025_11_13_15_20054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e93f70304b0f53928d61e84153aa2f78.jpg","text":"TemporaryFile(/tmp/multipartBody839237755457216385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676083214,"filename":"image_04112025_11_12_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/12/14/a3352e65bfcedff3d6698967fad1f0a2.jpg","text":"TemporaryFile(/tmp/multipartBody3452206669452676889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676083214,"filename":"image_04112025_11_12_55_5754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1421e1eddf0544db75333d722a9ca6eb.jpg","text":"TemporaryFile(/tmp/multipartBody1280496025926269801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676083214,"filename":"image_04112025_11_13_17_1699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27dbda799a445039036c07ed2a7d65e3.jpg","text":"TemporaryFile(/tmp/multipartBody6547675112459117131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676083214,"filename":"image_04112025_11_12_50_1629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318730","file1":"1399318729","file0":"1399318727","file4":"1399318732","file5":"1399318733","file3":"1399318731"},"map_files_photo_id_array":[{"photo_id":"1399318733","filename":"file5"},{"photo_id":"1399318730","filename":"file2"},{"photo_id":"1399318732","filename":"file4"},{"photo_id":"1399318729","filename":"file1"},{"photo_id":"1399318727","filename":"file0"},{"photo_id":"1399318731","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399318727":["hashtag1","hashtag2"]},{"1399318732":["hashtag1","hashtag2"]},{"1399318729":["hashtag1","hashtag2"]},{"1399318731":["hashtag1","hashtag2"]},{"1399318733":["hashtag1","hashtag2"]},{"1399318730":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399318727, 1399318732, 1399318729, 1399318731, 1399318733, 1399318730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78385281562805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:34:22.706464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/32/image_14122025_02_32_44_10735.jpg', '/home/pi/Desktop/images/14122025/02/32/image_14122025_02_33_04_9601.jpg', '/home/pi/Desktop/images/14122025/02/33/image_14122025_02_33_53_10025.jpg', '/home/pi/Desktop/images/14122025/02/33/image_14122025_02_34_04_10716.jpg', '/home/pi/Desktop/images/14122025/02/34/image_14122025_02_34_14_9745.jpg', '/home/pi/Desktop/images/14122025/02/34/image_14122025_02_34_23_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/32/image_14122025_02_32_44_10735.jpg
/home/pi/Desktop/images/14122025/02/32/image_14122025_02_33_04_9601.jpg
/home/pi/Desktop/images/14122025/02/33/image_14122025_02_33_53_10025.jpg
/home/pi/Desktop/images/14122025/02/33/image_14122025_02_34_04_10716.jpg
/home/pi/Desktop/images/14122025/02/34/image_14122025_02_34_14_9745.jpg
/home/pi/Desktop/images/14122025/02/34/image_14122025_02_34_23_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":["1399318744","1399318735","1399318738","1399318737","1399318740","1399318742"],"photo_ids_order":["1399318735","1399318737","1399318738","1399318740","1399318742","1399318744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b04c939665283146c830b51c23fb871.jpg","text":"TemporaryFile(/tmp/multipartBody4644076615781159294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676123330,"filename":"image_14122025_02_34_23_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b4a92b7b0809c52dacd6691e20e44bae.jpg","text":"TemporaryFile(/tmp/multipartBody8290823181683392072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676123330,"filename":"image_14122025_02_32_44_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14755a4e88c7aed4117ba4f02ea76286.jpg","text":"TemporaryFile(/tmp/multipartBody4067851579312878196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676123330,"filename":"image_14122025_02_33_53_10025.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/250e96fedf1d47523a7f92d9173095e0.jpg","text":"TemporaryFile(/tmp/multipartBody4741725637802677490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676123330,"filename":"image_14122025_02_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/12/14/b6781788d6b95455f99dfeca687fed94.jpg","text":"TemporaryFile(/tmp/multipartBody1657890130304545508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676123330,"filename":"image_14122025_02_34_04_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b67e36ee6a433d7808e1b2958a1b1431.jpg","text":"TemporaryFile(/tmp/multipartBody4569635603022535994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676123330,"filename":"image_14122025_02_34_14_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318738","file1":"1399318737","file0":"1399318735","file4":"1399318742","file5":"1399318744","file3":"1399318740"},"map_files_photo_id_array":[{"photo_id":"1399318744","filename":"file5"},{"photo_id":"1399318738","filename":"file2"},{"photo_id":"1399318742","filename":"file4"},{"photo_id":"1399318737","filename":"file1"},{"photo_id":"1399318735","filename":"file0"},{"photo_id":"1399318740","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318744":["hashtag1","hashtag2"]},{"1399318735":["hashtag1","hashtag2"]},{"1399318738":["hashtag1","hashtag2"]},{"1399318737":["hashtag1","hashtag2"]},{"1399318740":["hashtag1","hashtag2"]},{"1399318742":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318744, 1399318735, 1399318738, 1399318737, 1399318740, 1399318742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38030123710632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:35:02.868406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/34/image_14122025_02_34_44_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/34/image_14122025_02_34_44_9741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318745"],"photo_id":"1399318745","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba5b472c5b4184ea2cd637520118a656.jpg","text":"TemporaryFile(/tmp/multipartBody1857045424958469394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676163326,"filename":"image_14122025_02_34_44_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399318745"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399318745"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.839073657989502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:35:22.117635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/34/image_14122025_02_34_53_9564.jpg', '/home/pi/Desktop/images/14122025/02/34/image_14122025_02_35_03_9847.jpg', '/home/pi/Desktop/images/14122025/02/35/image_14122025_02_35_33_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/34/image_14122025_02_34_53_9564.jpg
/home/pi/Desktop/images/14122025/02/34/image_14122025_02_35_03_9847.jpg
/home/pi/Desktop/images/14122025/02/35/image_14122025_02_35_33_9722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318750","1399318746","1399318748"],"photo_ids_order":["1399318746","1399318748","1399318750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d6254edeeadb43eb09938348577ae21.jpg","text":"TemporaryFile(/tmp/multipartBody3748872023837846664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676182620,"filename":"image_14122025_02_35_33_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9b671e4ce506ded5fb15df2367186e5.jpg","text":"TemporaryFile(/tmp/multipartBody1710097347034952527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676182620,"filename":"image_14122025_02_34_53_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3fe98896bdc54d799ffa7d30272da746.jpg","text":"TemporaryFile(/tmp/multipartBody5223624218629662023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676182620,"filename":"image_14122025_02_35_03_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318750","file1":"1399318748","file0":"1399318746"},"map_files_photo_id_array":[{"photo_id":"1399318750","filename":"file2"},{"photo_id":"1399318748","filename":"file1"},{"photo_id":"1399318746","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318750":["hashtag1","hashtag2"]},{"1399318746":["hashtag1","hashtag2"]},{"1399318748":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318750, 1399318746, 1399318748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.16012406349182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:36:02.723627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:36:12.193137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:36:22.294706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/35/image_14122025_02_35_44_10744.jpg', '/home/pi/Desktop/images/14122025/02/35/image_14122025_02_36_04_9750.jpg', '/home/pi/Desktop/images/14122025/02/36/image_14122025_02_36_14_10606.jpg', '/home/pi/Desktop/images/14122025/02/36/image_14122025_02_36_44_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/35/image_14122025_02_35_44_10744.jpg
/home/pi/Desktop/images/14122025/02/35/image_14122025_02_36_04_9750.jpg
/home/pi/Desktop/images/14122025/02/36/image_14122025_02_36_14_10606.jpg
/home/pi/Desktop/images/14122025/02/36/image_14122025_02_36_44_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":["1399318767","1399318764","1399318769","1399318763"],"photo_ids_order":["1399318763","1399318764","1399318767","1399318769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ce86fc376dd1ad359f54a2ad5d6fc5a.jpg","text":"TemporaryFile(/tmp/multipartBody124325593538249835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676243357,"filename":"image_14122025_02_36_14_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69c8d9903f7e4c24b518cac69d4dd9e6.jpg","text":"TemporaryFile(/tmp/multipartBody7772843205719631809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676243357,"filename":"image_14122025_02_36_04_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1c2d04d437d1c7e9b1f1eaee9e30bf2.jpg","text":"TemporaryFile(/tmp/multipartBody2077282497819712202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676243357,"filename":"image_14122025_02_36_44_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c8eee06c87fb150af8559d909a4a1a95.jpg","text":"TemporaryFile(/tmp/multipartBody8489786770474600972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676243357,"filename":"image_14122025_02_35_44_10744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318767","file1":"1399318764","file0":"1399318763","file3":"1399318769"},"map_files_photo_id_array":[{"photo_id":"1399318767","filename":"file2"},{"photo_id":"1399318764","filename":"file1"},{"photo_id":"1399318763","filename":"file0"},{"photo_id":"1399318769","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318767":["hashtag1","hashtag2"]},{"1399318764":["hashtag1","hashtag2"]},{"1399318769":["hashtag1","hashtag2"]},{"1399318763":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318767, 1399318764, 1399318769, 1399318763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.545918703079224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:37:03.047850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:37:12.534306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:37:22.442778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/36/image_14122025_02_36_54_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/36/image_14122025_02_36_54_9709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318778"],"photo_id":"1399318778","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/91b1993eeaca33218d3b3df803936515.jpg","text":"TemporaryFile(/tmp/multipartBody2035073480838184271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676302875,"filename":"image_14122025_02_36_54_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399318778"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399318778"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.886184215545654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:37:42.389342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_30_12957.jpg', '/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_32_1567.jpg', '/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_47_1764.jpg', '/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_48_1735.jpg', '/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_50_1624.jpg', '/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_52_1575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_30_12957.jpg
/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_32_1567.jpg
/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_47_1764.jpg
/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_48_1735.jpg
/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_50_1624.jpg
/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_52_1575.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5686609745025635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:38:03.134686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:38:12.637942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:38:22.628526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/37/image_14122025_02_37_54_10747.jpg', '/home/pi/Desktop/images/14122025/02/37/image_14122025_02_38_04_9651.jpg', '/home/pi/Desktop/images/14122025/02/38/image_14122025_02_38_24_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/37/image_14122025_02_37_54_10747.jpg
/home/pi/Desktop/images/14122025/02/37/image_14122025_02_38_04_9651.jpg
/home/pi/Desktop/images/14122025/02/38/image_14122025_02_38_24_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":["1399318789","1399318791","1399318793"],"photo_ids_order":["1399318789","1399318791","1399318793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ce47903906d91b482933f8a6840278d.jpg","text":"TemporaryFile(/tmp/multipartBody4793504745971672324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676363137,"filename":"image_14122025_02_37_54_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6b5c8272639563cb6c8785edd9b361a.jpg","text":"TemporaryFile(/tmp/multipartBody2339752477867042480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676363137,"filename":"image_14122025_02_38_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d57f8d36d9a0ba4955e2dc9a327457b3.jpg","text":"TemporaryFile(/tmp/multipartBody1033800444171173268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676363137,"filename":"image_14122025_02_38_24_10637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318793","file1":"1399318791","file0":"1399318789"},"map_files_photo_id_array":[{"photo_id":"1399318793","filename":"file2"},{"photo_id":"1399318791","filename":"file1"},{"photo_id":"1399318789","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318789":["hashtag1","hashtag2"]},{"1399318791":["hashtag1","hashtag2"]},{"1399318793":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318789, 1399318791, 1399318793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.065926551818848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:39:02.696362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:39:11.954532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:39:21.989219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/38/image_14122025_02_38_43_9669.jpg', '/home/pi/Desktop/images/14122025/02/39/image_14122025_02_39_24_10697.jpg', '/home/pi/Desktop/images/14122025/02/39/image_14122025_02_39_44_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/38/image_14122025_02_38_43_9669.jpg
/home/pi/Desktop/images/14122025/02/39/image_14122025_02_39_24_10697.jpg
/home/pi/Desktop/images/14122025/02/39/image_14122025_02_39_44_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318805","1399318807","1399318809"],"photo_ids_order":["1399318805","1399318807","1399318809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4111e2243c688e8bb626cff7b0bed67e.jpg","text":"TemporaryFile(/tmp/multipartBody3271482065814492290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676422491,"filename":"image_14122025_02_38_43_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/07ebecefe5b7a454a0ac10f446f70b51.jpg","text":"TemporaryFile(/tmp/multipartBody3165136481672708506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676422491,"filename":"image_14122025_02_39_24_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/58087f805a7e159f36323972318485a7.jpg","text":"TemporaryFile(/tmp/multipartBody1994246310347069421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676422491,"filename":"image_14122025_02_39_44_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318809","file1":"1399318807","file0":"1399318805"},"map_files_photo_id_array":[{"photo_id":"1399318809","filename":"file2"},{"photo_id":"1399318807","filename":"file1"},{"photo_id":"1399318805","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318805":["hashtag1","hashtag2"]},{"1399318807":["hashtag1","hashtag2"]},{"1399318809":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318805, 1399318807, 1399318809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.63601779937744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:40:02.781441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:40:12.287306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:40:22.309109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/39/image_14122025_02_39_53_9830.jpg', '/home/pi/Desktop/images/14122025/02/39/image_14122025_02_40_04_10767.jpg', '/home/pi/Desktop/images/14122025/02/40/image_14122025_02_40_14_9654.jpg', '/home/pi/Desktop/images/14122025/02/40/image_14122025_02_40_33_9824.jpg', '/home/pi/Desktop/images/14122025/02/40/image_14122025_02_40_44_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/39/image_14122025_02_39_53_9830.jpg
/home/pi/Desktop/images/14122025/02/39/image_14122025_02_40_04_10767.jpg
/home/pi/Desktop/images/14122025/02/40/image_14122025_02_40_14_9654.jpg
/home/pi/Desktop/images/14122025/02/40/image_14122025_02_40_33_9824.jpg
/home/pi/Desktop/images/14122025/02/40/image_14122025_02_40_44_10681.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46874403953552246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:40:32.314623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:40:42.267271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_30_12957.jpg', '/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_32_1567.jpg', '/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_47_1764.jpg', '/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_48_1735.jpg', '/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_50_1624.jpg', '/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_52_1575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_30_12957.jpg
/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_32_1567.jpg
/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_47_1764.jpg
/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_48_1735.jpg
/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_50_1624.jpg
/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_52_1575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318826","1399318825","1399318828","1399318822","1399318824","1399318827"],"photo_ids_order":["1399318822","1399318824","1399318825","1399318826","1399318827","1399318828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b56222ffa878d4ee751ae614bdbc7b21.jpg","text":"TemporaryFile(/tmp/multipartBody8715188494148259050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676502840,"filename":"image_04112025_11_13_48_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81bcb2e28c363924def8897e59b3e401.jpg","text":"TemporaryFile(/tmp/multipartBody2026979518229566845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676502840,"filename":"image_04112025_11_13_47_1764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f869709d7f872a90785663131f34581.jpg","text":"TemporaryFile(/tmp/multipartBody7715500521465301139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676502840,"filename":"image_04112025_11_13_52_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/07b045b2705b50b1b28881e73b4d5d0a.jpg","text":"TemporaryFile(/tmp/multipartBody7124518117444748424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676502840,"filename":"image_04112025_11_13_30_12957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0668e593f1f00f41c27863f70a874871.jpg","text":"TemporaryFile(/tmp/multipartBody6872230521650239664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676502840,"filename":"image_04112025_11_13_32_1567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ff07fe2b4dfed491e8d21d62a6b9fdb6.jpg","text":"TemporaryFile(/tmp/multipartBody3934741369070578508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676502840,"filename":"image_04112025_11_13_50_1624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318825","file1":"1399318824","file0":"1399318822","file4":"1399318827","file5":"1399318828","file3":"1399318826"},"map_files_photo_id_array":[{"photo_id":"1399318828","filename":"file5"},{"photo_id":"1399318825","filename":"file2"},{"photo_id":"1399318827","filename":"file4"},{"photo_id":"1399318824","filename":"file1"},{"photo_id":"1399318822","filename":"file0"},{"photo_id":"1399318826","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399318826":["hashtag1","hashtag2"]},{"1399318825":["hashtag1","hashtag2"]},{"1399318828":["hashtag1","hashtag2"]},{"1399318822":["hashtag1","hashtag2"]},{"1399318824":["hashtag1","hashtag2"]},{"1399318827":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399318826, 1399318825, 1399318828, 1399318822, 1399318824, 1399318827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.902689695358276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:41:22.519811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/39/image_14122025_02_39_53_9830.jpg', '/home/pi/Desktop/images/14122025/02/39/image_14122025_02_40_04_10767.jpg', '/home/pi/Desktop/images/14122025/02/40/image_14122025_02_40_14_9654.jpg', '/home/pi/Desktop/images/14122025/02/40/image_14122025_02_40_33_9824.jpg', '/home/pi/Desktop/images/14122025/02/40/image_14122025_02_40_44_10681.jpg', '/home/pi/Desktop/images/14122025/02/40/image_14122025_02_40_54_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/39/image_14122025_02_39_53_9830.jpg
/home/pi/Desktop/images/14122025/02/39/image_14122025_02_40_04_10767.jpg
/home/pi/Desktop/images/14122025/02/40/image_14122025_02_40_14_9654.jpg
/home/pi/Desktop/images/14122025/02/40/image_14122025_02_40_33_9824.jpg
/home/pi/Desktop/images/14122025/02/40/image_14122025_02_40_44_10681.jpg
/home/pi/Desktop/images/14122025/02/40/image_14122025_02_40_54_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":["1399318843","1399318831","1399318836","1399318830","1399318833","1399318838"],"photo_ids_order":["1399318830","1399318831","1399318833","1399318836","1399318838","1399318843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c7ee5da8f05764170fc414e26ece4066.jpg","text":"TemporaryFile(/tmp/multipartBody4033941455785024021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676543143,"filename":"image_14122025_02_40_54_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2bec62239c8a9b2dc8970e9d53d875b6.jpg","text":"TemporaryFile(/tmp/multipartBody6760024054477122073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676543143,"filename":"image_14122025_02_40_04_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/70fc2c88850b347b4902d0d8ad3fea3f.jpg","text":"TemporaryFile(/tmp/multipartBody8034189718139150892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676543143,"filename":"image_14122025_02_40_33_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ffa6df19b50fad93eaeb7817ac7218ee.jpg","text":"TemporaryFile(/tmp/multipartBody940976718457682864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676543143,"filename":"image_14122025_02_39_53_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3ea87f1449b9a2a8a792ed045e924bc6.jpg","text":"TemporaryFile(/tmp/multipartBody3645954291476868177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676543143,"filename":"image_14122025_02_40_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/efe58c09ff42cac10820d442308be581.jpg","text":"TemporaryFile(/tmp/multipartBody4676746769040557128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676543143,"filename":"image_14122025_02_40_44_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318833","file1":"1399318831","file0":"1399318830","file4":"1399318838","file5":"1399318843","file3":"1399318836"},"map_files_photo_id_array":[{"photo_id":"1399318843","filename":"file5"},{"photo_id":"1399318833","filename":"file2"},{"photo_id":"1399318838","filename":"file4"},{"photo_id":"1399318831","filename":"file1"},{"photo_id":"1399318830","filename":"file0"},{"photo_id":"1399318836","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318843":["hashtag1","hashtag2"]},{"1399318831":["hashtag1","hashtag2"]},{"1399318836":["hashtag1","hashtag2"]},{"1399318830":["hashtag1","hashtag2"]},{"1399318833":["hashtag1","hashtag2"]},{"1399318838":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318843, 1399318831, 1399318836, 1399318830, 1399318833, 1399318838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14401364326477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:42:03.206196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/41/image_14122025_02_41_24_10583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/41/image_14122025_02_41_24_10583.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.34358716011047363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:42:12.744276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:42:22.883864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/41/image_14122025_02_41_24_10583.jpg', '/home/pi/Desktop/images/14122025/02/41/image_14122025_02_41_33_9647.jpg', '/home/pi/Desktop/images/14122025/02/42/image_14122025_02_42_13_9632.jpg', '/home/pi/Desktop/images/14122025/02/42/image_14122025_02_42_24_10802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/41/image_14122025_02_41_24_10583.jpg
/home/pi/Desktop/images/14122025/02/41/image_14122025_02_41_33_9647.jpg
/home/pi/Desktop/images/14122025/02/42/image_14122025_02_42_13_9632.jpg
/home/pi/Desktop/images/14122025/02/42/image_14122025_02_42_24_10802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318849","1399318851","1399318845","1399318847"],"photo_ids_order":["1399318845","1399318847","1399318849","1399318851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92de0b8f85492ce143f40f9c4d3194af.jpg","text":"TemporaryFile(/tmp/multipartBody2683965146355567846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676603564,"filename":"image_14122025_02_42_13_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5af8817fe356ab4d476a1276a336a88e.jpg","text":"TemporaryFile(/tmp/multipartBody2991823197798678729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676603564,"filename":"image_14122025_02_42_24_10802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c897c8a91bb3100320651afa52b88269.jpg","text":"TemporaryFile(/tmp/multipartBody9138896583077283038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676603564,"filename":"image_14122025_02_41_24_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/02b9ae3ba21cef81e1e96d25d28e01c1.jpg","text":"TemporaryFile(/tmp/multipartBody1213277057475255063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676603564,"filename":"image_14122025_02_41_33_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318849","file1":"1399318847","file0":"1399318845","file3":"1399318851"},"map_files_photo_id_array":[{"photo_id":"1399318849","filename":"file2"},{"photo_id":"1399318847","filename":"file1"},{"photo_id":"1399318845","filename":"file0"},{"photo_id":"1399318851","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318849":["hashtag1","hashtag2"]},{"1399318851":["hashtag1","hashtag2"]},{"1399318845":["hashtag1","hashtag2"]},{"1399318847":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318849, 1399318851, 1399318845, 1399318847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.930252075195312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:43:02.467671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:43:12.047127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:43:22.060941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/42/image_14122025_02_42_54_10737.jpg', '/home/pi/Desktop/images/14122025/02/42/image_14122025_02_43_04_10066.jpg', '/home/pi/Desktop/images/14122025/02/43/image_14122025_02_43_24_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/42/image_14122025_02_42_54_10737.jpg
/home/pi/Desktop/images/14122025/02/42/image_14122025_02_43_04_10066.jpg
/home/pi/Desktop/images/14122025/02/43/image_14122025_02_43_24_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318854","1399318859","1399318856"],"photo_ids_order":["1399318854","1399318856","1399318859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/03f4700536497a8f98464c1dbe115dd0.jpg","text":"TemporaryFile(/tmp/multipartBody7771705256366562235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676662587,"filename":"image_14122025_02_42_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/12/14/51177f025ac62743e2a470194ad18d95.jpg","text":"TemporaryFile(/tmp/multipartBody7403985703978675292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676662587,"filename":"image_14122025_02_43_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e8adde2b174dcfc2fa2feb29d52bcf4.jpg","text":"TemporaryFile(/tmp/multipartBody1215511651127109342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676662587,"filename":"image_14122025_02_43_04_10066.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318859","file1":"1399318856","file0":"1399318854"},"map_files_photo_id_array":[{"photo_id":"1399318859","filename":"file2"},{"photo_id":"1399318856","filename":"file1"},{"photo_id":"1399318854","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318854":["hashtag1","hashtag2"]},{"1399318859":["hashtag1","hashtag2"]},{"1399318856":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318854, 1399318859, 1399318856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.89340567588806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:44:03.025186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:44:12.359912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:44:22.347353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/43/image_14122025_02_43_44_10651.jpg', '/home/pi/Desktop/images/14122025/02/44/image_14122025_02_44_34_9715.jpg', '/home/pi/Desktop/images/14122025/02/44/image_14122025_02_44_43_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/43/image_14122025_02_43_44_10651.jpg
/home/pi/Desktop/images/14122025/02/44/image_14122025_02_44_34_9715.jpg
/home/pi/Desktop/images/14122025/02/44/image_14122025_02_44_43_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":["1399318864","1399318865","1399318868"],"photo_ids_order":["1399318864","1399318865","1399318868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d7cd602c8a6b08dd7f0cc9c25384354f.jpg","text":"TemporaryFile(/tmp/multipartBody6401930213171901513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676723514,"filename":"image_14122025_02_43_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/12/14/e02d0ffba5275e33a1aad1f1cf375f22.jpg","text":"TemporaryFile(/tmp/multipartBody7716137198150041063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676723514,"filename":"image_14122025_02_44_34_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ac3288ad6c2b408fc28787ef114967dc.jpg","text":"TemporaryFile(/tmp/multipartBody8821053358333303972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676723514,"filename":"image_14122025_02_44_43_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318868","file1":"1399318865","file0":"1399318864"},"map_files_photo_id_array":[{"photo_id":"1399318868","filename":"file2"},{"photo_id":"1399318865","filename":"file1"},{"photo_id":"1399318864","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318864":["hashtag1","hashtag2"]},{"1399318865":["hashtag1","hashtag2"]},{"1399318868":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318864, 1399318865, 1399318868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.759764432907104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:45:03.284306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:45:12.492815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:45:22.688321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/44/image_14122025_02_44_54_10784.jpg', '/home/pi/Desktop/images/14122025/02/44/image_14122025_02_45_04_9693.jpg', '/home/pi/Desktop/images/14122025/02/45/image_14122025_02_45_14_9726.jpg', '/home/pi/Desktop/images/14122025/02/45/image_14122025_02_45_23_9805.jpg', '/home/pi/Desktop/images/14122025/02/45/image_14122025_02_45_34_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/44/image_14122025_02_44_54_10784.jpg
/home/pi/Desktop/images/14122025/02/44/image_14122025_02_45_04_9693.jpg
/home/pi/Desktop/images/14122025/02/45/image_14122025_02_45_14_9726.jpg
/home/pi/Desktop/images/14122025/02/45/image_14122025_02_45_23_9805.jpg
/home/pi/Desktop/images/14122025/02/45/image_14122025_02_45_34_10680.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4696063995361328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:45:32.686553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:45:42.526284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_53_1584.jpg', '/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_56_1728.jpg', '/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_58_1584.jpg', '/home/pi/Desktop/images/04112025/11/13/image_04112025_11_14_00_1659.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_02_1906.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_03_1617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_53_1584.jpg
/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_56_1728.jpg
/home/pi/Desktop/images/04112025/11/13/image_04112025_11_13_58_1584.jpg
/home/pi/Desktop/images/04112025/11/13/image_04112025_11_14_00_1659.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_02_1906.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_03_1617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318894","1399318897","1399318900","1399318899","1399318896","1399318898"],"photo_ids_order":["1399318894","1399318896","1399318897","1399318898","1399318899","1399318900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54205ee6bc31234d41dcd7d47c64dc9d.jpg","text":"TemporaryFile(/tmp/multipartBody4780395847142715403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676803210,"filename":"image_04112025_11_13_53_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/30830c5ace5a69328e311c9e3a93ccef.jpg","text":"TemporaryFile(/tmp/multipartBody3426284004898318378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676803210,"filename":"image_04112025_11_13_58_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92875f590ea44ce1ce19d10c54acb0a5.jpg","text":"TemporaryFile(/tmp/multipartBody4948232634744536433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676803210,"filename":"image_04112025_11_14_03_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/abf74e7cd45b10190c0bd0a774bc2a05.jpg","text":"TemporaryFile(/tmp/multipartBody8663829195638618621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676803210,"filename":"image_04112025_11_14_02_1906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a04ac9cf7e6832b12df89f784946c9b1.jpg","text":"TemporaryFile(/tmp/multipartBody4815841752431169336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676803210,"filename":"image_04112025_11_13_56_1728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d7c51548a30165eaf6a2018b77d16970.jpg","text":"TemporaryFile(/tmp/multipartBody2313404012845172877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676803210,"filename":"image_04112025_11_14_00_1659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318897","file1":"1399318896","file0":"1399318894","file4":"1399318899","file5":"1399318900","file3":"1399318898"},"map_files_photo_id_array":[{"photo_id":"1399318900","filename":"file5"},{"photo_id":"1399318897","filename":"file2"},{"photo_id":"1399318899","filename":"file4"},{"photo_id":"1399318896","filename":"file1"},{"photo_id":"1399318894","filename":"file0"},{"photo_id":"1399318898","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399318894":["hashtag1","hashtag2"]},{"1399318897":["hashtag1","hashtag2"]},{"1399318900":["hashtag1","hashtag2"]},{"1399318899":["hashtag1","hashtag2"]},{"1399318896":["hashtag1","hashtag2"]},{"1399318898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399318894, 1399318897, 1399318900, 1399318899, 1399318896, 1399318898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.070107221603394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:46:22.836282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/44/image_14122025_02_44_54_10784.jpg', '/home/pi/Desktop/images/14122025/02/44/image_14122025_02_45_04_9693.jpg', '/home/pi/Desktop/images/14122025/02/45/image_14122025_02_45_14_9726.jpg', '/home/pi/Desktop/images/14122025/02/45/image_14122025_02_45_23_9805.jpg', '/home/pi/Desktop/images/14122025/02/45/image_14122025_02_45_34_10680.jpg', '/home/pi/Desktop/images/14122025/02/45/image_14122025_02_45_54_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/44/image_14122025_02_44_54_10784.jpg
/home/pi/Desktop/images/14122025/02/44/image_14122025_02_45_04_9693.jpg
/home/pi/Desktop/images/14122025/02/45/image_14122025_02_45_14_9726.jpg
/home/pi/Desktop/images/14122025/02/45/image_14122025_02_45_23_9805.jpg
/home/pi/Desktop/images/14122025/02/45/image_14122025_02_45_34_10680.jpg
/home/pi/Desktop/images/14122025/02/45/image_14122025_02_45_54_9772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318904","1399318907","1399318906","1399318909","1399318902","1399318911"],"photo_ids_order":["1399318902","1399318904","1399318906","1399318907","1399318909","1399318911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d9dfed66d57adac9ea2fa1764fab2784.jpg","text":"TemporaryFile(/tmp/multipartBody3848378948225551562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676843460,"filename":"image_14122025_02_45_04_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3ade7bba71d26f17d33630e1c8f31ab3.jpg","text":"TemporaryFile(/tmp/multipartBody9133828004399909654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676843460,"filename":"image_14122025_02_45_23_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/512e478b17007868212b05720c64eb12.jpg","text":"TemporaryFile(/tmp/multipartBody5891531461148789120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676843460,"filename":"image_14122025_02_45_14_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ef82a00cdc3de2b77701ffe248fd5ea.jpg","text":"TemporaryFile(/tmp/multipartBody5639185943419607448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676843460,"filename":"image_14122025_02_45_34_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/149c19364f01d325c5db9edcccb23cc2.jpg","text":"TemporaryFile(/tmp/multipartBody4216277034822895874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676843460,"filename":"image_14122025_02_44_54_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e049ea668180f6e84463a33356061356.jpg","text":"TemporaryFile(/tmp/multipartBody5667975955283066943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676843460,"filename":"image_14122025_02_45_54_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318906","file1":"1399318904","file0":"1399318902","file4":"1399318909","file5":"1399318911","file3":"1399318907"},"map_files_photo_id_array":[{"photo_id":"1399318911","filename":"file5"},{"photo_id":"1399318906","filename":"file2"},{"photo_id":"1399318909","filename":"file4"},{"photo_id":"1399318904","filename":"file1"},{"photo_id":"1399318902","filename":"file0"},{"photo_id":"1399318907","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318904":["hashtag1","hashtag2"]},{"1399318907":["hashtag1","hashtag2"]},{"1399318906":["hashtag1","hashtag2"]},{"1399318909":["hashtag1","hashtag2"]},{"1399318902":["hashtag1","hashtag2"]},{"1399318911":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318904, 1399318907, 1399318906, 1399318909, 1399318902, 1399318911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.213950634002686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:47:02.718110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:47:12.041647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:47:22.063683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/45/image_14122025_02_46_03_9684.jpg', '/home/pi/Desktop/images/14122025/02/46/image_14122025_02_47_04_9724.jpg', '/home/pi/Desktop/images/14122025/02/47/image_14122025_02_47_13_9729.jpg', '/home/pi/Desktop/images/14122025/02/47/image_14122025_02_47_24_10721.jpg', '/home/pi/Desktop/images/14122025/02/47/image_14122025_02_47_34_9527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/45/image_14122025_02_46_03_9684.jpg
/home/pi/Desktop/images/14122025/02/46/image_14122025_02_47_04_9724.jpg
/home/pi/Desktop/images/14122025/02/47/image_14122025_02_47_13_9729.jpg
/home/pi/Desktop/images/14122025/02/47/image_14122025_02_47_24_10721.jpg
/home/pi/Desktop/images/14122025/02/47/image_14122025_02_47_34_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":["1399318919","1399318918","1399318912","1399318914","1399318916"],"photo_ids_order":["1399318912","1399318914","1399318916","1399318918","1399318919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36ebf4c4982790175476b61398e9492a.jpg","text":"TemporaryFile(/tmp/multipartBody5608513621885641477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676902660,"filename":"image_14122025_02_47_34_9527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90296e6843a611fb7652ea6fc08c406c.jpg","text":"TemporaryFile(/tmp/multipartBody1966923318715752972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676902660,"filename":"image_14122025_02_47_24_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3eb4a887fd1b5358bc300d03cae91490.jpg","text":"TemporaryFile(/tmp/multipartBody717910302419411514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676902660,"filename":"image_14122025_02_46_03_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b326eca60eb536c25b5465d413313985.jpg","text":"TemporaryFile(/tmp/multipartBody2696159974521467499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676902660,"filename":"image_14122025_02_47_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/12/14/cb1a457a232827d87734f29dd53c74af.jpg","text":"TemporaryFile(/tmp/multipartBody8226891058843302337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676902660,"filename":"image_14122025_02_47_13_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318916","file1":"1399318914","file0":"1399318912","file4":"1399318919","file3":"1399318918"},"map_files_photo_id_array":[{"photo_id":"1399318916","filename":"file2"},{"photo_id":"1399318919","filename":"file4"},{"photo_id":"1399318914","filename":"file1"},{"photo_id":"1399318912","filename":"file0"},{"photo_id":"1399318918","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318919":["hashtag1","hashtag2"]},{"1399318918":["hashtag1","hashtag2"]},{"1399318912":["hashtag1","hashtag2"]},{"1399318914":["hashtag1","hashtag2"]},{"1399318916":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318919, 1399318918, 1399318912, 1399318914, 1399318916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.909793853759766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:48:02.678922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:48:12.267906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:48:22.299506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/47/image_14122025_02_47_54_10690.jpg', '/home/pi/Desktop/images/14122025/02/47/image_14122025_02_48_04_9684.jpg', '/home/pi/Desktop/images/14122025/02/48/image_14122025_02_48_13_9599.jpg', '/home/pi/Desktop/images/14122025/02/48/image_14122025_02_48_24_10671.jpg', '/home/pi/Desktop/images/14122025/02/48/image_14122025_02_48_34_9732.jpg', '/home/pi/Desktop/images/14122025/02/48/image_14122025_02_48_43_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/47/image_14122025_02_47_54_10690.jpg
/home/pi/Desktop/images/14122025/02/47/image_14122025_02_48_04_9684.jpg
/home/pi/Desktop/images/14122025/02/48/image_14122025_02_48_13_9599.jpg
/home/pi/Desktop/images/14122025/02/48/image_14122025_02_48_24_10671.jpg
/home/pi/Desktop/images/14122025/02/48/image_14122025_02_48_34_9732.jpg
/home/pi/Desktop/images/14122025/02/48/image_14122025_02_48_43_9753.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5454409122467041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:48:32.357399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:48:42.307019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_05_1589.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_06_1549.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_08_1609.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_19_10621.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_20_1668.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_22_1512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_05_1589.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_06_1549.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_08_1609.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_19_10621.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_20_1668.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_22_1512.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318942","1399318945","1399318944","1399318938","1399318940","1399318943"],"photo_ids_order":["1399318938","1399318940","1399318942","1399318943","1399318944","1399318945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b1677093f29550725af81247da8391c8.jpg","text":"TemporaryFile(/tmp/multipartBody776001920317048588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676983020,"filename":"image_04112025_11_14_08_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2deac9a77ac06366f3e21d0288086cf8.jpg","text":"TemporaryFile(/tmp/multipartBody9120745319186080780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676983020,"filename":"image_04112025_11_14_22_1512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b35bf95a5d38924d57f1efac08eff9d.jpg","text":"TemporaryFile(/tmp/multipartBody2967345571572373107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676983020,"filename":"image_04112025_11_14_20_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27b66c1772517c0fc150e2cc954851de.jpg","text":"TemporaryFile(/tmp/multipartBody4345242546328241867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676983020,"filename":"image_04112025_11_14_05_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6452b0f0c76445931f92c842cffb4f7b.jpg","text":"TemporaryFile(/tmp/multipartBody3276448512407936495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676983020,"filename":"image_04112025_11_14_06_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7034534dd209fca29c31a02cbc730218.jpg","text":"TemporaryFile(/tmp/multipartBody3821187282245744048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765676983020,"filename":"image_04112025_11_14_19_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318942","file1":"1399318940","file0":"1399318938","file4":"1399318944","file5":"1399318945","file3":"1399318943"},"map_files_photo_id_array":[{"photo_id":"1399318945","filename":"file5"},{"photo_id":"1399318942","filename":"file2"},{"photo_id":"1399318944","filename":"file4"},{"photo_id":"1399318940","filename":"file1"},{"photo_id":"1399318938","filename":"file0"},{"photo_id":"1399318943","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399318942":["hashtag1","hashtag2"]},{"1399318945":["hashtag1","hashtag2"]},{"1399318944":["hashtag1","hashtag2"]},{"1399318938":["hashtag1","hashtag2"]},{"1399318940":["hashtag1","hashtag2"]},{"1399318943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399318942, 1399318945, 1399318944, 1399318938, 1399318940, 1399318943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.573426961898804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:49:22.654609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/47/image_14122025_02_47_54_10690.jpg', '/home/pi/Desktop/images/14122025/02/47/image_14122025_02_48_04_9684.jpg', '/home/pi/Desktop/images/14122025/02/48/image_14122025_02_48_13_9599.jpg', '/home/pi/Desktop/images/14122025/02/48/image_14122025_02_48_24_10671.jpg', '/home/pi/Desktop/images/14122025/02/48/image_14122025_02_48_34_9732.jpg', '/home/pi/Desktop/images/14122025/02/48/image_14122025_02_48_43_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/47/image_14122025_02_47_54_10690.jpg
/home/pi/Desktop/images/14122025/02/47/image_14122025_02_48_04_9684.jpg
/home/pi/Desktop/images/14122025/02/48/image_14122025_02_48_13_9599.jpg
/home/pi/Desktop/images/14122025/02/48/image_14122025_02_48_24_10671.jpg
/home/pi/Desktop/images/14122025/02/48/image_14122025_02_48_34_9732.jpg
/home/pi/Desktop/images/14122025/02/48/image_14122025_02_48_43_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":["1399318954","1399318951","1399318953","1399318947","1399318955","1399318949"],"photo_ids_order":["1399318947","1399318949","1399318951","1399318953","1399318954","1399318955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d465930b40746bdc03e2d81ede8217d1.jpg","text":"TemporaryFile(/tmp/multipartBody542221722877529727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677023317,"filename":"image_14122025_02_48_34_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29bcb82b3f6f87052e45a50c58422f00.jpg","text":"TemporaryFile(/tmp/multipartBody8444016858172584437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677023317,"filename":"image_14122025_02_48_13_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a98b74bde182c8de0048b327a37ba393.jpg","text":"TemporaryFile(/tmp/multipartBody7539602648816716022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677023317,"filename":"image_14122025_02_48_24_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/831a71aa7c7e2ed938d2bdfbb31cba28.jpg","text":"TemporaryFile(/tmp/multipartBody5772735291606364785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677023317,"filename":"image_14122025_02_47_54_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/12604608e2e9a2be0c0ad30545ee5a71.jpg","text":"TemporaryFile(/tmp/multipartBody6928928509581561658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677023317,"filename":"image_14122025_02_48_43_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7b9ab55a6a15e9ebfd3316bba77b8a85.jpg","text":"TemporaryFile(/tmp/multipartBody2746396319342023207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677023317,"filename":"image_14122025_02_48_04_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318951","file1":"1399318949","file0":"1399318947","file4":"1399318954","file5":"1399318955","file3":"1399318953"},"map_files_photo_id_array":[{"photo_id":"1399318955","filename":"file5"},{"photo_id":"1399318951","filename":"file2"},{"photo_id":"1399318954","filename":"file4"},{"photo_id":"1399318949","filename":"file1"},{"photo_id":"1399318947","filename":"file0"},{"photo_id":"1399318953","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318954":["hashtag1","hashtag2"]},{"1399318951":["hashtag1","hashtag2"]},{"1399318953":["hashtag1","hashtag2"]},{"1399318947":["hashtag1","hashtag2"]},{"1399318955":["hashtag1","hashtag2"]},{"1399318949":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318954, 1399318951, 1399318953, 1399318947, 1399318955, 1399318949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07972812652588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:50:03.250918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/48/image_14122025_02_48_54_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/48/image_14122025_02_48_54_10570.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3260617256164551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:50:12.768754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:50:22.807142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/48/image_14122025_02_48_54_10570.jpg', '/home/pi/Desktop/images/14122025/02/48/image_14122025_02_49_04_9688.jpg', '/home/pi/Desktop/images/14122025/02/50/image_14122025_02_50_14_9671.jpg', '/home/pi/Desktop/images/14122025/02/50/image_14122025_02_50_24_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/48/image_14122025_02_48_54_10570.jpg
/home/pi/Desktop/images/14122025/02/48/image_14122025_02_49_04_9688.jpg
/home/pi/Desktop/images/14122025/02/50/image_14122025_02_50_14_9671.jpg
/home/pi/Desktop/images/14122025/02/50/image_14122025_02_50_24_10619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318957","1399318962","1399318959","1399318961"],"photo_ids_order":["1399318957","1399318959","1399318961","1399318962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92e1e755c5a6928cbf4900f7b15859d3.jpg","text":"TemporaryFile(/tmp/multipartBody5366224128891697685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677083353,"filename":"image_14122025_02_48_54_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c9d8eb90d7345604b8a1facbeb51935b.jpg","text":"TemporaryFile(/tmp/multipartBody7941754015867631758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677083353,"filename":"image_14122025_02_50_24_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/85820f5b6c4287379b16bc01ae4ccf05.jpg","text":"TemporaryFile(/tmp/multipartBody8035630905791373274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677083353,"filename":"image_14122025_02_49_04_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4387685d0600b2e77d77ad05eb2ff1e2.jpg","text":"TemporaryFile(/tmp/multipartBody4956746173264501105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677083353,"filename":"image_14122025_02_50_14_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318961","file1":"1399318959","file0":"1399318957","file3":"1399318962"},"map_files_photo_id_array":[{"photo_id":"1399318961","filename":"file2"},{"photo_id":"1399318959","filename":"file1"},{"photo_id":"1399318957","filename":"file0"},{"photo_id":"1399318962","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318957":["hashtag1","hashtag2"]},{"1399318962":["hashtag1","hashtag2"]},{"1399318959":["hashtag1","hashtag2"]},{"1399318961":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318957, 1399318962, 1399318959, 1399318961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.584211349487305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:51:02.817530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:51:12.014716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:51:22.119416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/50/image_14122025_02_50_34_9628.jpg', '/home/pi/Desktop/images/14122025/02/50/image_14122025_02_51_04_9644.jpg', '/home/pi/Desktop/images/14122025/02/51/image_14122025_02_51_13_9706.jpg', '/home/pi/Desktop/images/14122025/02/51/image_14122025_02_51_24_10670.jpg', '/home/pi/Desktop/images/14122025/02/51/image_14122025_02_51_34_9558.jpg', '/home/pi/Desktop/images/14122025/02/51/image_14122025_02_51_44_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/50/image_14122025_02_50_34_9628.jpg
/home/pi/Desktop/images/14122025/02/50/image_14122025_02_51_04_9644.jpg
/home/pi/Desktop/images/14122025/02/51/image_14122025_02_51_13_9706.jpg
/home/pi/Desktop/images/14122025/02/51/image_14122025_02_51_24_10670.jpg
/home/pi/Desktop/images/14122025/02/51/image_14122025_02_51_34_9558.jpg
/home/pi/Desktop/images/14122025/02/51/image_14122025_02_51_44_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":["1399318981","1399318975","1399318971","1399318977","1399318979","1399318973"],"photo_ids_order":["1399318971","1399318973","1399318975","1399318977","1399318979","1399318981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1cc5f3caeaebe168c580634ecff77a78.jpg","text":"TemporaryFile(/tmp/multipartBody3346932839003858146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677142853,"filename":"image_14122025_02_51_44_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f4e9d809a1fc3ba0283b74e89d44049f.jpg","text":"TemporaryFile(/tmp/multipartBody4967037128599789697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677142853,"filename":"image_14122025_02_51_13_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d5212deb0db281eeb1f8a4f13f2eab17.jpg","text":"TemporaryFile(/tmp/multipartBody4374221894425341575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677142853,"filename":"image_14122025_02_50_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0843dca4476bf3c49b07dbeb032d47e0.jpg","text":"TemporaryFile(/tmp/multipartBody7816060515785435644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677142853,"filename":"image_14122025_02_51_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/12/14/8ece2c5b8b064fd403c3bf00ed650c17.jpg","text":"TemporaryFile(/tmp/multipartBody635009229259050192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677142853,"filename":"image_14122025_02_51_34_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0dc59c65c7bc93751ce459f72185dbf3.jpg","text":"TemporaryFile(/tmp/multipartBody2246969889281415333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677142853,"filename":"image_14122025_02_51_04_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318975","file1":"1399318973","file0":"1399318971","file4":"1399318979","file5":"1399318981","file3":"1399318977"},"map_files_photo_id_array":[{"photo_id":"1399318981","filename":"file5"},{"photo_id":"1399318975","filename":"file2"},{"photo_id":"1399318979","filename":"file4"},{"photo_id":"1399318973","filename":"file1"},{"photo_id":"1399318971","filename":"file0"},{"photo_id":"1399318977","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399318981":["hashtag1","hashtag2"]},{"1399318975":["hashtag1","hashtag2"]},{"1399318971":["hashtag1","hashtag2"]},{"1399318977":["hashtag1","hashtag2"]},{"1399318979":["hashtag1","hashtag2"]},{"1399318973":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399318981, 1399318975, 1399318971, 1399318977, 1399318979, 1399318973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59230637550354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:52:02.643342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:52:12.201874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:52:22.282798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/51/image_14122025_02_51_54_9727.jpg', '/home/pi/Desktop/images/14122025/02/52/image_14122025_02_52_13_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/51/image_14122025_02_51_54_9727.jpg
/home/pi/Desktop/images/14122025/02/52/image_14122025_02_52_13_9687.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.35507774353027344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:52:32.307161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:52:42.256966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_23_1552.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_25_1672.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_27_1573.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_28_1548.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_30_1749.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_31_1530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_23_1552.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_25_1672.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_27_1573.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_28_1548.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_30_1749.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_31_1530.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399318993","1399318992","1399318995","1399318994","1399318988","1399318991"],"photo_ids_order":["1399318988","1399318991","1399318992","1399318993","1399318994","1399318995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3e41860845822448390c74b9f685d754.jpg","text":"TemporaryFile(/tmp/multipartBody4460066072244849041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677222951,"filename":"image_04112025_11_14_28_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/91f1792d6a0c02ac7d0fd3bd7186e62a.jpg","text":"TemporaryFile(/tmp/multipartBody8265842359320530094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677222951,"filename":"image_04112025_11_14_27_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4fe58b7b670886428c542c849acbc832.jpg","text":"TemporaryFile(/tmp/multipartBody4073006253648139548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677222951,"filename":"image_04112025_11_14_31_1530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b63821a3204bc3411739ce17e97fa3c.jpg","text":"TemporaryFile(/tmp/multipartBody3207464083569813298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677222951,"filename":"image_04112025_11_14_30_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f60d810776969054e62736fecb2c9f56.jpg","text":"TemporaryFile(/tmp/multipartBody4122327677362434664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677222951,"filename":"image_04112025_11_14_23_1552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eec80d20a8ca671cc6d20bf0c5005630.jpg","text":"TemporaryFile(/tmp/multipartBody3500886569246726828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677222951,"filename":"image_04112025_11_14_25_1672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399318992","file1":"1399318991","file0":"1399318988","file4":"1399318994","file5":"1399318995","file3":"1399318993"},"map_files_photo_id_array":[{"photo_id":"1399318995","filename":"file5"},{"photo_id":"1399318992","filename":"file2"},{"photo_id":"1399318994","filename":"file4"},{"photo_id":"1399318991","filename":"file1"},{"photo_id":"1399318988","filename":"file0"},{"photo_id":"1399318993","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399318993":["hashtag1","hashtag2"]},{"1399318992":["hashtag1","hashtag2"]},{"1399318995":["hashtag1","hashtag2"]},{"1399318994":["hashtag1","hashtag2"]},{"1399318988":["hashtag1","hashtag2"]},{"1399318991":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399318993, 1399318992, 1399318995, 1399318994, 1399318988, 1399318991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.942407846450806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:53:22.579414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/51/image_14122025_02_51_54_9727.jpg', '/home/pi/Desktop/images/14122025/02/52/image_14122025_02_52_13_9687.jpg', '/home/pi/Desktop/images/14122025/02/52/image_14122025_02_52_24_10616.jpg', '/home/pi/Desktop/images/14122025/02/52/image_14122025_02_53_04_9646.jpg', '/home/pi/Desktop/images/14122025/02/53/image_14122025_02_53_23_9982.jpg', '/home/pi/Desktop/images/14122025/02/53/image_14122025_02_53_34_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/51/image_14122025_02_51_54_9727.jpg
/home/pi/Desktop/images/14122025/02/52/image_14122025_02_52_13_9687.jpg
/home/pi/Desktop/images/14122025/02/52/image_14122025_02_52_24_10616.jpg
/home/pi/Desktop/images/14122025/02/52/image_14122025_02_53_04_9646.jpg
/home/pi/Desktop/images/14122025/02/53/image_14122025_02_53_23_9982.jpg
/home/pi/Desktop/images/14122025/02/53/image_14122025_02_53_34_10669.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5121665000915527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:53:32.525836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:53:42.499466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_33_1583.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_35_1790.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_36_1648.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_38_1679.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_40_1658.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_41_1554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_33_1583.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_35_1790.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_36_1648.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_38_1679.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_40_1658.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_41_1554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399319017","1399319016","1399319013","1399319015","1399319018","1399319006"],"photo_ids_order":["1399319006","1399319013","1399319015","1399319016","1399319017","1399319018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a3a20fffd5fb57d62218b62cbb1670a.jpg","text":"TemporaryFile(/tmp/multipartBody7980540581842358690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677283184,"filename":"image_04112025_11_14_40_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b2d6d0f3092f652f7eac12a7c3eb9c3.jpg","text":"TemporaryFile(/tmp/multipartBody3788814711844953051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677283184,"filename":"image_04112025_11_14_38_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/274412ae098e9a69fffe343e305483f6.jpg","text":"TemporaryFile(/tmp/multipartBody1610503788177459212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677283184,"filename":"image_04112025_11_14_35_1790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5599fbe307edcbce010715a16a137658.jpg","text":"TemporaryFile(/tmp/multipartBody8891545080695872527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677283184,"filename":"image_04112025_11_14_36_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f8df57c9ef04d45d46836464a322824.jpg","text":"TemporaryFile(/tmp/multipartBody5253110532769409396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677283184,"filename":"image_04112025_11_14_41_1554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/445a81f098f5ddd3e6b357921800b30f.jpg","text":"TemporaryFile(/tmp/multipartBody5607418414369489970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677283184,"filename":"image_04112025_11_14_33_1583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399319015","file1":"1399319013","file0":"1399319006","file4":"1399319017","file5":"1399319018","file3":"1399319016"},"map_files_photo_id_array":[{"photo_id":"1399319018","filename":"file5"},{"photo_id":"1399319015","filename":"file2"},{"photo_id":"1399319017","filename":"file4"},{"photo_id":"1399319013","filename":"file1"},{"photo_id":"1399319006","filename":"file0"},{"photo_id":"1399319016","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399319017":["hashtag1","hashtag2"]},{"1399319016":["hashtag1","hashtag2"]},{"1399319013":["hashtag1","hashtag2"]},{"1399319015":["hashtag1","hashtag2"]},{"1399319018":["hashtag1","hashtag2"]},{"1399319006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399319017, 1399319016, 1399319013, 1399319015, 1399319018, 1399319006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.205950021743774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:54:22.862729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/51/image_14122025_02_51_54_9727.jpg', '/home/pi/Desktop/images/14122025/02/52/image_14122025_02_52_13_9687.jpg', '/home/pi/Desktop/images/14122025/02/52/image_14122025_02_52_24_10616.jpg', '/home/pi/Desktop/images/14122025/02/52/image_14122025_02_53_04_9646.jpg', '/home/pi/Desktop/images/14122025/02/53/image_14122025_02_53_23_9982.jpg', '/home/pi/Desktop/images/14122025/02/53/image_14122025_02_53_34_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/51/image_14122025_02_51_54_9727.jpg
/home/pi/Desktop/images/14122025/02/52/image_14122025_02_52_13_9687.jpg
/home/pi/Desktop/images/14122025/02/52/image_14122025_02_52_24_10616.jpg
/home/pi/Desktop/images/14122025/02/52/image_14122025_02_53_04_9646.jpg
/home/pi/Desktop/images/14122025/02/53/image_14122025_02_53_23_9982.jpg
/home/pi/Desktop/images/14122025/02/53/image_14122025_02_53_34_10669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399319026","1399319029","1399319020","1399319028","1399319022","1399319024"],"photo_ids_order":["1399319020","1399319022","1399319024","1399319026","1399319028","1399319029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f52e6a2956647b59cc8bde93baa34ef3.jpg","text":"TemporaryFile(/tmp/multipartBody8668219506154080503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677323516,"filename":"image_14122025_02_53_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3c66cafceb66747996bff09cf1e6ce22.jpg","text":"TemporaryFile(/tmp/multipartBody8634800630133723842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677323516,"filename":"image_14122025_02_53_34_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cb71996164b46c68d252583fa9900dda.jpg","text":"TemporaryFile(/tmp/multipartBody8202275010434013294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677323516,"filename":"image_14122025_02_51_54_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be92784e566b0b06ee051dead6e5ffb6.jpg","text":"TemporaryFile(/tmp/multipartBody8241480673541585909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677323516,"filename":"image_14122025_02_53_23_9982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6a2e2ca4a78e081708ad0564a793db9a.jpg","text":"TemporaryFile(/tmp/multipartBody7723463178778859551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677323516,"filename":"image_14122025_02_52_13_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/93ba35a50c6a9b0251dc62603b83ace6.jpg","text":"TemporaryFile(/tmp/multipartBody5149106239188245541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677323516,"filename":"image_14122025_02_52_24_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399319024","file1":"1399319022","file0":"1399319020","file4":"1399319028","file5":"1399319029","file3":"1399319026"},"map_files_photo_id_array":[{"photo_id":"1399319029","filename":"file5"},{"photo_id":"1399319024","filename":"file2"},{"photo_id":"1399319028","filename":"file4"},{"photo_id":"1399319022","filename":"file1"},{"photo_id":"1399319020","filename":"file0"},{"photo_id":"1399319026","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399319026":["hashtag1","hashtag2"]},{"1399319029":["hashtag1","hashtag2"]},{"1399319020":["hashtag1","hashtag2"]},{"1399319028":["hashtag1","hashtag2"]},{"1399319022":["hashtag1","hashtag2"]},{"1399319024":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399319026, 1399319029, 1399319020, 1399319028, 1399319022, 1399319024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00405740737915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:55:02.609121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/53/image_14122025_02_53_44_9710.jpg', '/home/pi/Desktop/images/14122025/02/53/image_14122025_02_53_53_9663.jpg', '/home/pi/Desktop/images/14122025/02/53/image_14122025_02_54_04_10784.jpg', '/home/pi/Desktop/images/14122025/02/54/image_14122025_02_54_14_9555.jpg', '/home/pi/Desktop/images/14122025/02/54/image_14122025_02_54_23_9777.jpg', '/home/pi/Desktop/images/14122025/02/54/image_14122025_02_54_34_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/53/image_14122025_02_53_44_9710.jpg
/home/pi/Desktop/images/14122025/02/53/image_14122025_02_53_53_9663.jpg
/home/pi/Desktop/images/14122025/02/53/image_14122025_02_54_04_10784.jpg
/home/pi/Desktop/images/14122025/02/54/image_14122025_02_54_14_9555.jpg
/home/pi/Desktop/images/14122025/02/54/image_14122025_02_54_23_9777.jpg
/home/pi/Desktop/images/14122025/02/54/image_14122025_02_54_34_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399319032","1399319034","1399319031","1399319030","1399319033","1399319036"],"photo_ids_order":["1399319030","1399319031","1399319032","1399319033","1399319034","1399319036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ac911ff4ead9e56b9ad2b10b9abce9c7.jpg","text":"TemporaryFile(/tmp/multipartBody249198015217893561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677363405,"filename":"image_14122025_02_54_04_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f979a4b02f059b62433f689a0a909872.jpg","text":"TemporaryFile(/tmp/multipartBody2253666541766286616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677363405,"filename":"image_14122025_02_54_23_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1469648ae64357285d5a15250216e60e.jpg","text":"TemporaryFile(/tmp/multipartBody1193186878421884646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677363405,"filename":"image_14122025_02_53_53_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a02cd464435cc55ebeaa508b9c09f75c.jpg","text":"TemporaryFile(/tmp/multipartBody3289706865795246287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677363405,"filename":"image_14122025_02_53_44_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c50e0b74b49408dfa16a2708188a0278.jpg","text":"TemporaryFile(/tmp/multipartBody1855921450203261955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677363405,"filename":"image_14122025_02_54_14_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3fec46d6333dc15a5dd907363a6e2308.jpg","text":"TemporaryFile(/tmp/multipartBody1036423270877257233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677363405,"filename":"image_14122025_02_54_34_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399319032","file1":"1399319031","file0":"1399319030","file4":"1399319034","file5":"1399319036","file3":"1399319033"},"map_files_photo_id_array":[{"photo_id":"1399319036","filename":"file5"},{"photo_id":"1399319032","filename":"file2"},{"photo_id":"1399319034","filename":"file4"},{"photo_id":"1399319031","filename":"file1"},{"photo_id":"1399319030","filename":"file0"},{"photo_id":"1399319033","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399319032":["hashtag1","hashtag2"]},{"1399319034":["hashtag1","hashtag2"]},{"1399319031":["hashtag1","hashtag2"]},{"1399319030":["hashtag1","hashtag2"]},{"1399319033":["hashtag1","hashtag2"]},{"1399319036":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399319032, 1399319034, 1399319031, 1399319030, 1399319033, 1399319036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19219756126404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:55:41.947657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_43_1589.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_45_1679.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_46_1835.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_48_1574.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_50_1539.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_52_2526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_43_1589.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_45_1679.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_46_1835.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_48_1574.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_50_1539.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_52_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":["1399319041","1399319044","1399319047","1399319046","1399319043","1399319045"],"photo_ids_order":["1399319041","1399319043","1399319044","1399319045","1399319046","1399319047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e73185b9bccb4cff72b3c202bb5ece26.jpg","text":"TemporaryFile(/tmp/multipartBody4289922653609079492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677402633,"filename":"image_04112025_11_14_43_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f8599b6e0338f1920302db490e0d188.jpg","text":"TemporaryFile(/tmp/multipartBody6398177003444213010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677402633,"filename":"image_04112025_11_14_46_1835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf83e9d240ab663685017be8ea908633.jpg","text":"TemporaryFile(/tmp/multipartBody7688642199934850396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677402633,"filename":"image_04112025_11_14_52_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b4f47dd5506de4aaf3189f61544a89c2.jpg","text":"TemporaryFile(/tmp/multipartBody4127346187901071686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677402633,"filename":"image_04112025_11_14_50_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/324fefad40014d29e68ad1e6bb237374.jpg","text":"TemporaryFile(/tmp/multipartBody3833569808655121683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677402633,"filename":"image_04112025_11_14_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/12/14/f2e088955ca0c1651bf9b1ff7950b735.jpg","text":"TemporaryFile(/tmp/multipartBody4793897873048233475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677402633,"filename":"image_04112025_11_14_48_1574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399319044","file1":"1399319043","file0":"1399319041","file4":"1399319046","file5":"1399319047","file3":"1399319045"},"map_files_photo_id_array":[{"photo_id":"1399319047","filename":"file5"},{"photo_id":"1399319044","filename":"file2"},{"photo_id":"1399319046","filename":"file4"},{"photo_id":"1399319043","filename":"file1"},{"photo_id":"1399319041","filename":"file0"},{"photo_id":"1399319045","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399319041":["hashtag1","hashtag2"]},{"1399319044":["hashtag1","hashtag2"]},{"1399319047":["hashtag1","hashtag2"]},{"1399319046":["hashtag1","hashtag2"]},{"1399319043":["hashtag1","hashtag2"]},{"1399319045":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399319041, 1399319044, 1399319047, 1399319046, 1399319043, 1399319045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55803966522217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:56:22.280932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/54/image_14122025_02_54_44_9749.jpg', '/home/pi/Desktop/images/14122025/02/54/image_14122025_02_54_54_9731.jpg', '/home/pi/Desktop/images/14122025/02/55/image_14122025_02_55_14_9785.jpg', '/home/pi/Desktop/images/14122025/02/55/image_14122025_02_55_24_9773.jpg', '/home/pi/Desktop/images/14122025/02/55/image_14122025_02_55_33_9626.jpg', '/home/pi/Desktop/images/14122025/02/55/image_14122025_02_56_04_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/54/image_14122025_02_54_44_9749.jpg
/home/pi/Desktop/images/14122025/02/54/image_14122025_02_54_54_9731.jpg
/home/pi/Desktop/images/14122025/02/55/image_14122025_02_55_14_9785.jpg
/home/pi/Desktop/images/14122025/02/55/image_14122025_02_55_24_9773.jpg
/home/pi/Desktop/images/14122025/02/55/image_14122025_02_55_33_9626.jpg
/home/pi/Desktop/images/14122025/02/55/image_14122025_02_56_04_9689.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5877015590667725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 02:56:40.267404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 02:56:42.110110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_55_2870.jpg', '/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_58_2767.jpg', '/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_07_3011.jpg', '/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_11_3630.jpg', '/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_13_2724.jpg', '/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_17_3537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_55_2870.jpg
/home/pi/Desktop/images/04112025/11/14/image_04112025_11_14_58_2767.jpg
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_07_3011.jpg
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_11_3630.jpg
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_13_2724.jpg
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_17_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":["1399319065","1399319070","1399319057","1399319072","1399319069","1399319071"],"photo_ids_order":["1399319057","1399319065","1399319069","1399319070","1399319071","1399319072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/142dadd81f7ac9e8ba37216103685f94.jpg","text":"TemporaryFile(/tmp/multipartBody387635506718536775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677463188,"filename":"image_04112025_11_14_58_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2025229542873f9b03b29eb97bc61c83.jpg","text":"TemporaryFile(/tmp/multipartBody1964852951879922527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677463188,"filename":"image_04112025_11_15_11_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/379cde3bb9ef4271b5a14f2bec1bf83b.jpg","text":"TemporaryFile(/tmp/multipartBody3316286554848098235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677463188,"filename":"image_04112025_11_14_55_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4fa4d80ad274a2a566de13bba0497052.jpg","text":"TemporaryFile(/tmp/multipartBody5794369131304909051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677463188,"filename":"image_04112025_11_15_17_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4fe44e36533d83e340cf94935bf437ec.jpg","text":"TemporaryFile(/tmp/multipartBody6307889625527129249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677463188,"filename":"image_04112025_11_15_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a64ed0558c1de910f000106e426a39b.jpg","text":"TemporaryFile(/tmp/multipartBody3205635562328256307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677463188,"filename":"image_04112025_11_15_13_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399319069","file1":"1399319065","file0":"1399319057","file4":"1399319071","file5":"1399319072","file3":"1399319070"},"map_files_photo_id_array":[{"photo_id":"1399319072","filename":"file5"},{"photo_id":"1399319069","filename":"file2"},{"photo_id":"1399319071","filename":"file4"},{"photo_id":"1399319065","filename":"file1"},{"photo_id":"1399319057","filename":"file0"},{"photo_id":"1399319070","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399319065":["hashtag1","hashtag2"]},{"1399319070":["hashtag1","hashtag2"]},{"1399319057":["hashtag1","hashtag2"]},{"1399319072":["hashtag1","hashtag2"]},{"1399319069":["hashtag1","hashtag2"]},{"1399319071":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399319065, 1399319070, 1399319057, 1399319072, 1399319069, 1399319071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.835952043533325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 02:57:22.419696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/54/image_14122025_02_54_44_9749.jpg', '/home/pi/Desktop/images/14122025/02/54/image_14122025_02_54_54_9731.jpg', '/home/pi/Desktop/images/14122025/02/55/image_14122025_02_55_14_9785.jpg', '/home/pi/Desktop/images/14122025/02/55/image_14122025_02_55_24_9773.jpg', '/home/pi/Desktop/images/14122025/02/55/image_14122025_02_55_33_9626.jpg', '/home/pi/Desktop/images/14122025/02/55/image_14122025_02_56_04_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/54/image_14122025_02_54_44_9749.jpg
/home/pi/Desktop/images/14122025/02/54/image_14122025_02_54_54_9731.jpg
/home/pi/Desktop/images/14122025/02/55/image_14122025_02_55_14_9785.jpg
/home/pi/Desktop/images/14122025/02/55/image_14122025_02_55_24_9773.jpg
/home/pi/Desktop/images/14122025/02/55/image_14122025_02_55_33_9626.jpg
/home/pi/Desktop/images/14122025/02/55/image_14122025_02_56_04_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":["1399319082","1399319073","1399319076","1399319078","1399319080","1399319074"],"photo_ids_order":["1399319073","1399319074","1399319076","1399319078","1399319080","1399319082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae8ffc62b50564f145741b22f4c98926.jpg","text":"TemporaryFile(/tmp/multipartBody5299036820580358204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677503079,"filename":"image_14122025_02_56_04_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ceedeed173d9f0b650ef0697d94a717.jpg","text":"TemporaryFile(/tmp/multipartBody420926307090633270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677503079,"filename":"image_14122025_02_54_44_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6cebdd0da8562b395772bb8a670e3d7e.jpg","text":"TemporaryFile(/tmp/multipartBody6909290828107969465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677503079,"filename":"image_14122025_02_55_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/12/14/802f000164224b0b3a973de5a4cb766d.jpg","text":"TemporaryFile(/tmp/multipartBody5752663505094371197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677503079,"filename":"image_14122025_02_55_24_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/290a263363ddcdb03b341a4db2606e0f.jpg","text":"TemporaryFile(/tmp/multipartBody5519611204389110274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677503079,"filename":"image_14122025_02_55_33_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24cc67009ccc815ad885333aaa84d72c.jpg","text":"TemporaryFile(/tmp/multipartBody1496793409011516520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677503079,"filename":"image_14122025_02_54_54_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399319076","file1":"1399319074","file0":"1399319073","file4":"1399319080","file5":"1399319082","file3":"1399319078"},"map_files_photo_id_array":[{"photo_id":"1399319082","filename":"file5"},{"photo_id":"1399319076","filename":"file2"},{"photo_id":"1399319080","filename":"file4"},{"photo_id":"1399319074","filename":"file1"},{"photo_id":"1399319073","filename":"file0"},{"photo_id":"1399319078","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399319082":["hashtag1","hashtag2"]},{"1399319073":["hashtag1","hashtag2"]},{"1399319076":["hashtag1","hashtag2"]},{"1399319078":["hashtag1","hashtag2"]},{"1399319080":["hashtag1","hashtag2"]},{"1399319074":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399319082, 1399319073, 1399319076, 1399319078, 1399319080, 1399319074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16740870475769 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 02:59:04.145654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/56/image_14122025_02_56_13_9842.jpg', '/home/pi/Desktop/images/14122025/02/56/image_14122025_02_56_24_10837.jpg', '/home/pi/Desktop/images/14122025/02/56/image_14122025_02_56_34_9746.jpg', '/home/pi/Desktop/images/14122025/02/57/image_14122025_02_57_44_10040.jpg', '/home/pi/Desktop/images/14122025/02/57/image_14122025_02_57_54_9796.jpg', '/home/pi/Desktop/images/14122025/02/57/image_14122025_02_58_04_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/56/image_14122025_02_56_13_9842.jpg
/home/pi/Desktop/images/14122025/02/56/image_14122025_02_56_24_10837.jpg
/home/pi/Desktop/images/14122025/02/56/image_14122025_02_56_34_9746.jpg
/home/pi/Desktop/images/14122025/02/57/image_14122025_02_57_44_10040.jpg
/home/pi/Desktop/images/14122025/02/57/image_14122025_02_57_54_9796.jpg
/home/pi/Desktop/images/14122025/02/57/image_14122025_02_58_04_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399319091","1399319088","1399319093","1399319087","1399319098","1399319095"],"photo_ids_order":["1399319087","1399319088","1399319091","1399319093","1399319095","1399319098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/74e36e3bb6a4bf56e023969f1d45a4ff.jpg","text":"TemporaryFile(/tmp/multipartBody5119374766770819846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677604872,"filename":"image_14122025_02_56_34_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f042a04d2a938cc7eac293ba609b3817.jpg","text":"TemporaryFile(/tmp/multipartBody7804168372146488909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677604872,"filename":"image_14122025_02_56_24_10837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c55d690859f8f2666cba727e28e3a128.jpg","text":"TemporaryFile(/tmp/multipartBody2459887493850516072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677604872,"filename":"image_14122025_02_57_44_10040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f4f64bd9a31b3b7e21889749ac0fc30d.jpg","text":"TemporaryFile(/tmp/multipartBody537251050660555242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677604872,"filename":"image_14122025_02_56_13_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d31310c93fd938c93dc00ee1ab4ed9f.jpg","text":"TemporaryFile(/tmp/multipartBody2806931605472369939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677604872,"filename":"image_14122025_02_58_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/12/14/9774bc6796182bfc74b82473572338e4.jpg","text":"TemporaryFile(/tmp/multipartBody4071909776157656980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677604872,"filename":"image_14122025_02_57_54_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399319091","file1":"1399319088","file0":"1399319087","file4":"1399319095","file5":"1399319098","file3":"1399319093"},"map_files_photo_id_array":[{"photo_id":"1399319098","filename":"file5"},{"photo_id":"1399319091","filename":"file2"},{"photo_id":"1399319095","filename":"file4"},{"photo_id":"1399319088","filename":"file1"},{"photo_id":"1399319087","filename":"file0"},{"photo_id":"1399319093","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399319091":["hashtag1","hashtag2"]},{"1399319088":["hashtag1","hashtag2"]},{"1399319093":["hashtag1","hashtag2"]},{"1399319087":["hashtag1","hashtag2"]},{"1399319098":["hashtag1","hashtag2"]},{"1399319095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399319091, 1399319088, 1399319093, 1399319087, 1399319098, 1399319095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.352309703826904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:00:02.816955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/58/image_14122025_02_58_13_9700.jpg', '/home/pi/Desktop/images/14122025/02/58/image_14122025_02_58_24_10690.jpg', '/home/pi/Desktop/images/14122025/02/58/image_14122025_02_58_34_9580.jpg', '/home/pi/Desktop/images/14122025/02/58/image_14122025_02_58_43_9775.jpg', '/home/pi/Desktop/images/14122025/02/58/image_14122025_02_58_54_10582.jpg', '/home/pi/Desktop/images/14122025/02/58/image_14122025_02_59_04_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/58/image_14122025_02_58_13_9700.jpg
/home/pi/Desktop/images/14122025/02/58/image_14122025_02_58_24_10690.jpg
/home/pi/Desktop/images/14122025/02/58/image_14122025_02_58_34_9580.jpg
/home/pi/Desktop/images/14122025/02/58/image_14122025_02_58_43_9775.jpg
/home/pi/Desktop/images/14122025/02/58/image_14122025_02_58_54_10582.jpg
/home/pi/Desktop/images/14122025/02/58/image_14122025_02_59_04_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399319608","1399319445","1399319570","1399319366","1399319405","1399319485"],"photo_ids_order":["1399319366","1399319405","1399319445","1399319485","1399319570","1399319608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9ce3927e4c4ba0143701fed1466d4fda.jpg","text":"TemporaryFile(/tmp/multipartBody6439585954908325895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677663512,"filename":"image_14122025_02_59_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/82ebd7046db35c46938538e0aa0d3194.jpg","text":"TemporaryFile(/tmp/multipartBody3844437312413788977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677663512,"filename":"image_14122025_02_58_34_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0887299646230d9a55e56af96661c54d.jpg","text":"TemporaryFile(/tmp/multipartBody904956275522967914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677663512,"filename":"image_14122025_02_58_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/12/14/5361052e38cfcd1d431d7d1e3d24cbf7.jpg","text":"TemporaryFile(/tmp/multipartBody4451525793838919817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677663512,"filename":"image_14122025_02_58_13_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51c28778392bd7267e5d352de5aef77b.jpg","text":"TemporaryFile(/tmp/multipartBody3502307084138233380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677663512,"filename":"image_14122025_02_58_24_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e61cabe352c251e55d857092791e8f8.jpg","text":"TemporaryFile(/tmp/multipartBody6133998045225151768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677663512,"filename":"image_14122025_02_58_43_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399319445","file1":"1399319405","file0":"1399319366","file4":"1399319570","file5":"1399319608","file3":"1399319485"},"map_files_photo_id_array":[{"photo_id":"1399319608","filename":"file5"},{"photo_id":"1399319445","filename":"file2"},{"photo_id":"1399319570","filename":"file4"},{"photo_id":"1399319405","filename":"file1"},{"photo_id":"1399319366","filename":"file0"},{"photo_id":"1399319485","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399319608":["hashtag1","hashtag2"]},{"1399319445":["hashtag1","hashtag2"]},{"1399319570":["hashtag1","hashtag2"]},{"1399319366":["hashtag1","hashtag2"]},{"1399319405":["hashtag1","hashtag2"]},{"1399319485":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399319608, 1399319445, 1399319570, 1399319366, 1399319405, 1399319485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.3811354637146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:01:03.269453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/02/59/image_14122025_02_59_13_9806.jpg', '/home/pi/Desktop/images/14122025/02/59/image_14122025_02_59_34_9623.jpg', '/home/pi/Desktop/images/14122025/02/59/image_14122025_02_59_44_9810.jpg', '/home/pi/Desktop/images/14122025/02/59/image_14122025_02_59_54_10578.jpg', '/home/pi/Desktop/images/14122025/03/00/image_14122025_03_00_14_9845.jpg', '/home/pi/Desktop/images/14122025/03/00/image_14122025_03_00_33_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/02/59/image_14122025_02_59_13_9806.jpg
/home/pi/Desktop/images/14122025/02/59/image_14122025_02_59_34_9623.jpg
/home/pi/Desktop/images/14122025/02/59/image_14122025_02_59_44_9810.jpg
/home/pi/Desktop/images/14122025/02/59/image_14122025_02_59_54_10578.jpg
/home/pi/Desktop/images/14122025/03/00/image_14122025_03_00_14_9845.jpg
/home/pi/Desktop/images/14122025/03/00/image_14122025_03_00_33_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":["1399320020","1399319851","1399319922","1399319960","1399319998","1399319887"],"photo_ids_order":["1399319851","1399319887","1399319922","1399319960","1399319998","1399320020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b5aabeb55e54cfb122945e671353c5d8.jpg","text":"TemporaryFile(/tmp/multipartBody3350733371799241035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677723947,"filename":"image_14122025_03_00_33_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d3101642e33cb0628d42587d878007a1.jpg","text":"TemporaryFile(/tmp/multipartBody2803571305402322983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677723947,"filename":"image_14122025_02_59_13_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13464e401a99dadec437e45dc46803cf.jpg","text":"TemporaryFile(/tmp/multipartBody4057728188545334956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677723947,"filename":"image_14122025_02_59_44_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/334b1404ba1288b8c19ca5fe261d3bdd.jpg","text":"TemporaryFile(/tmp/multipartBody1839426383353018075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677723947,"filename":"image_14122025_02_59_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/12/14/3677108c149d44d63c34de652386a077.jpg","text":"TemporaryFile(/tmp/multipartBody5760833678366165557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677723947,"filename":"image_14122025_03_00_14_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/80a65c3b89d9a30809a3dfc8883fa20a.jpg","text":"TemporaryFile(/tmp/multipartBody6422659359178198357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677723947,"filename":"image_14122025_02_59_34_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399319922","file1":"1399319887","file0":"1399319851","file4":"1399319998","file5":"1399320020","file3":"1399319960"},"map_files_photo_id_array":[{"photo_id":"1399320020","filename":"file5"},{"photo_id":"1399319922","filename":"file2"},{"photo_id":"1399319998","filename":"file4"},{"photo_id":"1399319887","filename":"file1"},{"photo_id":"1399319851","filename":"file0"},{"photo_id":"1399319960","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320020":["hashtag1","hashtag2"]},{"1399319851":["hashtag1","hashtag2"]},{"1399319922":["hashtag1","hashtag2"]},{"1399319960":["hashtag1","hashtag2"]},{"1399319998":["hashtag1","hashtag2"]},{"1399319887":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320020, 1399319851, 1399319922, 1399319960, 1399319998, 1399319887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38572716712952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:01:42.697662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_19_2611.jpg', '/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_22_2595.jpg', '/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_25_2928.jpg', '/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_29_3704.jpg', '/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_31_2636.jpg', '/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_34_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_19_2611.jpg
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_22_2595.jpg
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_25_2928.jpg
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_29_3704.jpg
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_31_2636.jpg
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_34_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":["1399320022","1399320031","1399320024","1399320105","1399320068","1399320026"],"photo_ids_order":["1399320022","1399320024","1399320026","1399320031","1399320068","1399320105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/93e7eb21f423a0a26f72d8d53a37c7da.jpg","text":"TemporaryFile(/tmp/multipartBody261283870639870306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677763373,"filename":"image_04112025_11_15_19_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/64fa86c55c0f7a2befee5a7d16b3e0f5.jpg","text":"TemporaryFile(/tmp/multipartBody9128379070596002764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677763373,"filename":"image_04112025_11_15_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/12/14/bf401e93f8a617b33718af406afa7342.jpg","text":"TemporaryFile(/tmp/multipartBody4571181947282538408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677763373,"filename":"image_04112025_11_15_22_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/365473c833d51b4e993ebfa0d64a62a6.jpg","text":"TemporaryFile(/tmp/multipartBody5074660629833036983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677763373,"filename":"image_04112025_11_15_34_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6631d515377d8bcf307ef102a555db39.jpg","text":"TemporaryFile(/tmp/multipartBody8960215987833278549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677763373,"filename":"image_04112025_11_15_31_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81a07056cfdb41d5c932fc7869d93026.jpg","text":"TemporaryFile(/tmp/multipartBody7677376016857687743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677763373,"filename":"image_04112025_11_15_25_2928.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320026","file1":"1399320024","file0":"1399320022","file4":"1399320068","file5":"1399320105","file3":"1399320031"},"map_files_photo_id_array":[{"photo_id":"1399320105","filename":"file5"},{"photo_id":"1399320026","filename":"file2"},{"photo_id":"1399320068","filename":"file4"},{"photo_id":"1399320024","filename":"file1"},{"photo_id":"1399320022","filename":"file0"},{"photo_id":"1399320031","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399320022":["hashtag1","hashtag2"]},{"1399320031":["hashtag1","hashtag2"]},{"1399320024":["hashtag1","hashtag2"]},{"1399320105":["hashtag1","hashtag2"]},{"1399320068":["hashtag1","hashtag2"]},{"1399320026":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399320022, 1399320031, 1399320024, 1399320105, 1399320068, 1399320026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.391101360321045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:02:21.913298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/00/image_14122025_03_00_44_10648.jpg', '/home/pi/Desktop/images/14122025/03/00/image_14122025_03_01_04_9670.jpg', '/home/pi/Desktop/images/14122025/03/01/image_14122025_03_01_24_10751.jpg', '/home/pi/Desktop/images/14122025/03/01/image_14122025_03_01_34_9590.jpg', '/home/pi/Desktop/images/14122025/03/01/image_14122025_03_01_44_9822.jpg', '/home/pi/Desktop/images/14122025/03/01/image_14122025_03_01_53_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/00/image_14122025_03_00_44_10648.jpg
/home/pi/Desktop/images/14122025/03/00/image_14122025_03_01_04_9670.jpg
/home/pi/Desktop/images/14122025/03/01/image_14122025_03_01_24_10751.jpg
/home/pi/Desktop/images/14122025/03/01/image_14122025_03_01_34_9590.jpg
/home/pi/Desktop/images/14122025/03/01/image_14122025_03_01_44_9822.jpg
/home/pi/Desktop/images/14122025/03/01/image_14122025_03_01_53_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":["1399320178","1399320250","1399320180","1399320177","1399320216","1399320242"],"photo_ids_order":["1399320177","1399320178","1399320180","1399320216","1399320242","1399320250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8e87fcd487f79160474e3f4d937b4b12.jpg","text":"TemporaryFile(/tmp/multipartBody8568213314510580992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677802533,"filename":"image_14122025_03_01_04_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27daf63a2ffafee0e699814fa291ee48.jpg","text":"TemporaryFile(/tmp/multipartBody7077208723190179214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677802533,"filename":"image_14122025_03_01_53_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d90efd229951489cde3d5dd24c9d8934.jpg","text":"TemporaryFile(/tmp/multipartBody1569343300867557758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677802533,"filename":"image_14122025_03_01_24_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/02bcf2a17b4d9a7c656978bd6c8b2a69.jpg","text":"TemporaryFile(/tmp/multipartBody5216413904367229935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677802533,"filename":"image_14122025_03_00_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c858642831e95a1198ab25efbb72fa7.jpg","text":"TemporaryFile(/tmp/multipartBody7822512244696396804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677802533,"filename":"image_14122025_03_01_34_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb0cb977ccb34e9604b58c0335f14ebf.jpg","text":"TemporaryFile(/tmp/multipartBody7962103972789075241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677802533,"filename":"image_14122025_03_01_44_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320180","file1":"1399320178","file0":"1399320177","file4":"1399320242","file5":"1399320250","file3":"1399320216"},"map_files_photo_id_array":[{"photo_id":"1399320250","filename":"file5"},{"photo_id":"1399320180","filename":"file2"},{"photo_id":"1399320242","filename":"file4"},{"photo_id":"1399320178","filename":"file1"},{"photo_id":"1399320177","filename":"file0"},{"photo_id":"1399320216","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320178":["hashtag1","hashtag2"]},{"1399320250":["hashtag1","hashtag2"]},{"1399320180":["hashtag1","hashtag2"]},{"1399320177":["hashtag1","hashtag2"]},{"1399320216":["hashtag1","hashtag2"]},{"1399320242":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320178, 1399320250, 1399320180, 1399320177, 1399320216, 1399320242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.92239022254944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:03:02.852135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/02/image_14122025_03_02_14_9782.jpg', '/home/pi/Desktop/images/14122025/03/02/image_14122025_03_02_24_9707.jpg', '/home/pi/Desktop/images/14122025/03/02/image_14122025_03_02_33_9573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/02/image_14122025_03_02_14_9782.jpg
/home/pi/Desktop/images/14122025/03/02/image_14122025_03_02_24_9707.jpg
/home/pi/Desktop/images/14122025/03/02/image_14122025_03_02_33_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":["1399320305","1399320304","1399320303"],"photo_ids_order":["1399320303","1399320304","1399320305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cbf04bb7bfcd1bf5e7c05c962260f794.jpg","text":"TemporaryFile(/tmp/multipartBody2848233699960996667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677843394,"filename":"image_14122025_03_02_33_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/05beaf30c2357a72eaebfe1895ca0aa2.jpg","text":"TemporaryFile(/tmp/multipartBody476430297812223432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677843394,"filename":"image_14122025_03_02_24_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/96354cfc1ed16ea0def67ec26ca86dac.jpg","text":"TemporaryFile(/tmp/multipartBody3607600431618044516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677843394,"filename":"image_14122025_03_02_14_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320305","file1":"1399320304","file0":"1399320303"},"map_files_photo_id_array":[{"photo_id":"1399320305","filename":"file2"},{"photo_id":"1399320304","filename":"file1"},{"photo_id":"1399320303","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320305":["hashtag1","hashtag2"]},{"1399320304":["hashtag1","hashtag2"]},{"1399320303":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320305, 1399320304, 1399320303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.364384174346924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:03:32.059221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:03:42.032972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_38_3643.jpg', '/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_40_2575.jpg', '/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_44_3661.jpg', '/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_46_2598.jpg', '/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_49_2576.jpg', '/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_53_3737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_38_3643.jpg
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_40_2575.jpg
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_44_3661.jpg
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_46_2598.jpg
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_49_2576.jpg
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_53_3737.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5704245567321777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:04:03.038079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/02/image_14122025_03_02_54_9805.jpg', '/home/pi/Desktop/images/14122025/03/02/image_14122025_03_03_03_9659.jpg', '/home/pi/Desktop/images/14122025/03/03/image_14122025_03_03_14_10721.jpg', '/home/pi/Desktop/images/14122025/03/03/image_14122025_03_03_24_9797.jpg', '/home/pi/Desktop/images/14122025/03/03/image_14122025_03_03_34_9752.jpg', '/home/pi/Desktop/images/14122025/03/03/image_14122025_03_03_43_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/02/image_14122025_03_02_54_9805.jpg
/home/pi/Desktop/images/14122025/03/02/image_14122025_03_03_03_9659.jpg
/home/pi/Desktop/images/14122025/03/03/image_14122025_03_03_14_10721.jpg
/home/pi/Desktop/images/14122025/03/03/image_14122025_03_03_24_9797.jpg
/home/pi/Desktop/images/14122025/03/03/image_14122025_03_03_34_9752.jpg
/home/pi/Desktop/images/14122025/03/03/image_14122025_03_03_43_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399320316","1399320319","1399320318","1399320321","1399320315","1399320317"],"photo_ids_order":["1399320315","1399320316","1399320317","1399320318","1399320319","1399320321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8ba75b0b0604481c10c43b1ba1a36635.jpg","text":"TemporaryFile(/tmp/multipartBody3874173678067768101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677903753,"filename":"image_14122025_03_03_03_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7cf7eb28d4fda3d8615661249d6473bc.jpg","text":"TemporaryFile(/tmp/multipartBody3643705351099933535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677903753,"filename":"image_14122025_03_03_34_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d6c6ea7f11e571604e56f878dba5a07.jpg","text":"TemporaryFile(/tmp/multipartBody8573962841547508535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677903753,"filename":"image_14122025_03_03_24_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/049429b29d857b092e42926b6174bd82.jpg","text":"TemporaryFile(/tmp/multipartBody5455387672852622229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677903753,"filename":"image_14122025_03_03_43_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6d512b607539be0f4c585da9d039ff5d.jpg","text":"TemporaryFile(/tmp/multipartBody8832794942539617233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677903753,"filename":"image_14122025_03_02_54_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/375b449a145e9a344c6a5957a7e80c2b.jpg","text":"TemporaryFile(/tmp/multipartBody3264262534939600739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677903753,"filename":"image_14122025_03_03_14_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320317","file1":"1399320316","file0":"1399320315","file4":"1399320319","file5":"1399320321","file3":"1399320318"},"map_files_photo_id_array":[{"photo_id":"1399320321","filename":"file5"},{"photo_id":"1399320317","filename":"file2"},{"photo_id":"1399320319","filename":"file4"},{"photo_id":"1399320316","filename":"file1"},{"photo_id":"1399320315","filename":"file0"},{"photo_id":"1399320318","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320316":["hashtag1","hashtag2"]},{"1399320319":["hashtag1","hashtag2"]},{"1399320318":["hashtag1","hashtag2"]},{"1399320321":["hashtag1","hashtag2"]},{"1399320315":["hashtag1","hashtag2"]},{"1399320317":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320316, 1399320319, 1399320318, 1399320321, 1399320315, 1399320317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.571913957595825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:04:42.252478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_38_3643.jpg', '/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_40_2575.jpg', '/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_44_3661.jpg', '/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_46_2598.jpg', '/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_49_2576.jpg', '/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_53_3737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_38_3643.jpg
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_40_2575.jpg
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_44_3661.jpg
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_46_2598.jpg
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_49_2576.jpg
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_53_3737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399320326","1399320331","1399320328","1399320330","1399320327","1399320329"],"photo_ids_order":["1399320326","1399320327","1399320328","1399320329","1399320330","1399320331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9d6cf0801875beece65f1a707894a44f.jpg","text":"TemporaryFile(/tmp/multipartBody441588921986849995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677942883,"filename":"image_04112025_11_15_38_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f48fe08665bb5cea67c709af6650cc80.jpg","text":"TemporaryFile(/tmp/multipartBody4798146284148928417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677942883,"filename":"image_04112025_11_15_53_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da9bb7fec111fbbd7a327b04a4d7eea8.jpg","text":"TemporaryFile(/tmp/multipartBody2870227957981070979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677942883,"filename":"image_04112025_11_15_44_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1dc1177f107730d9bea9ff0329b2b46.jpg","text":"TemporaryFile(/tmp/multipartBody5888628109413152515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677942883,"filename":"image_04112025_11_15_49_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e38efa593431836e5fe5cdac2797e4e.jpg","text":"TemporaryFile(/tmp/multipartBody3191182329728952147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677942883,"filename":"image_04112025_11_15_40_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28787ac480a74c7b707d0206f9dabf5b.jpg","text":"TemporaryFile(/tmp/multipartBody2557378269171905578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677942883,"filename":"image_04112025_11_15_46_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320328","file1":"1399320327","file0":"1399320326","file4":"1399320330","file5":"1399320331","file3":"1399320329"},"map_files_photo_id_array":[{"photo_id":"1399320331","filename":"file5"},{"photo_id":"1399320328","filename":"file2"},{"photo_id":"1399320330","filename":"file4"},{"photo_id":"1399320327","filename":"file1"},{"photo_id":"1399320326","filename":"file0"},{"photo_id":"1399320329","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399320326":["hashtag1","hashtag2"]},{"1399320331":["hashtag1","hashtag2"]},{"1399320328":["hashtag1","hashtag2"]},{"1399320330":["hashtag1","hashtag2"]},{"1399320327":["hashtag1","hashtag2"]},{"1399320329":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399320326, 1399320331, 1399320328, 1399320330, 1399320327, 1399320329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08701252937317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:05:22.512957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/03/image_14122025_03_03_54_10623.jpg', '/home/pi/Desktop/images/14122025/03/03/image_14122025_03_04_04_9608.jpg', '/home/pi/Desktop/images/14122025/03/04/image_14122025_03_04_14_10655.jpg', '/home/pi/Desktop/images/14122025/03/04/image_14122025_03_04_24_9783.jpg', '/home/pi/Desktop/images/14122025/03/04/image_14122025_03_04_34_9660.jpg', '/home/pi/Desktop/images/14122025/03/04/image_14122025_03_04_43_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/03/image_14122025_03_03_54_10623.jpg
/home/pi/Desktop/images/14122025/03/03/image_14122025_03_04_04_9608.jpg
/home/pi/Desktop/images/14122025/03/04/image_14122025_03_04_14_10655.jpg
/home/pi/Desktop/images/14122025/03/04/image_14122025_03_04_24_9783.jpg
/home/pi/Desktop/images/14122025/03/04/image_14122025_03_04_34_9660.jpg
/home/pi/Desktop/images/14122025/03/04/image_14122025_03_04_43_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":["1399320332","1399320340","1399320337","1399320339","1399320341","1399320335"],"photo_ids_order":["1399320332","1399320335","1399320337","1399320339","1399320340","1399320341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5571846ba0ca611eadca3940e56908f7.jpg","text":"TemporaryFile(/tmp/multipartBody7953534436342097786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677983142,"filename":"image_14122025_03_03_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/12/14/e28d23c070179046806776b31b9da867.jpg","text":"TemporaryFile(/tmp/multipartBody1380950044881527805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677983142,"filename":"image_14122025_03_04_34_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ccebf3e4419d5200165fb1eae7e3f467.jpg","text":"TemporaryFile(/tmp/multipartBody6085312479923509844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677983142,"filename":"image_14122025_03_04_14_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e78f971a9576d381625821569b0b7d0.jpg","text":"TemporaryFile(/tmp/multipartBody6379217734650828742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677983142,"filename":"image_14122025_03_04_24_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4361582278a6e888b813d58a5938479a.jpg","text":"TemporaryFile(/tmp/multipartBody6852904045054143286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677983142,"filename":"image_14122025_03_04_43_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba4b4c0c4a0346ef3c5e1300212a068b.jpg","text":"TemporaryFile(/tmp/multipartBody1456783285828534532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765677983142,"filename":"image_14122025_03_04_04_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320337","file1":"1399320335","file0":"1399320332","file4":"1399320340","file5":"1399320341","file3":"1399320339"},"map_files_photo_id_array":[{"photo_id":"1399320341","filename":"file5"},{"photo_id":"1399320337","filename":"file2"},{"photo_id":"1399320340","filename":"file4"},{"photo_id":"1399320335","filename":"file1"},{"photo_id":"1399320332","filename":"file0"},{"photo_id":"1399320339","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320332":["hashtag1","hashtag2"]},{"1399320340":["hashtag1","hashtag2"]},{"1399320337":["hashtag1","hashtag2"]},{"1399320339":["hashtag1","hashtag2"]},{"1399320341":["hashtag1","hashtag2"]},{"1399320335":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320332, 1399320340, 1399320337, 1399320339, 1399320341, 1399320335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69494652748108 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:06:12.758896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:06:22.794637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/04/image_14122025_03_04_54_10743.jpg', '/home/pi/Desktop/images/14122025/03/04/image_14122025_03_05_04_9524.jpg', '/home/pi/Desktop/images/14122025/03/05/image_14122025_03_05_13_9804.jpg', '/home/pi/Desktop/images/14122025/03/05/image_14122025_03_05_34_9719.jpg', '/home/pi/Desktop/images/14122025/03/05/image_14122025_03_05_43_9665.jpg', '/home/pi/Desktop/images/14122025/03/05/image_14122025_03_06_04_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/04/image_14122025_03_04_54_10743.jpg
/home/pi/Desktop/images/14122025/03/04/image_14122025_03_05_04_9524.jpg
/home/pi/Desktop/images/14122025/03/05/image_14122025_03_05_13_9804.jpg
/home/pi/Desktop/images/14122025/03/05/image_14122025_03_05_34_9719.jpg
/home/pi/Desktop/images/14122025/03/05/image_14122025_03_05_43_9665.jpg
/home/pi/Desktop/images/14122025/03/05/image_14122025_03_06_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.552445650100708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:06:32.755393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:06:42.772220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_55_2731.jpg', '/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_58_2668.jpg', '/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_02_3632.jpg', '/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_04_2779.jpg', '/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_07_2824.jpg', '/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_10_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_55_2731.jpg
/home/pi/Desktop/images/04112025/11/15/image_04112025_11_15_58_2668.jpg
/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_02_3632.jpg
/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_04_2779.jpg
/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_07_2824.jpg
/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_10_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":["1399320361","1399320364","1399320367","1399320366","1399320365","1399320368"],"photo_ids_order":["1399320361","1399320364","1399320365","1399320366","1399320367","1399320368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d39e20e7c44f24066c603295b1cc387a.jpg","text":"TemporaryFile(/tmp/multipartBody6737280200484351567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678063490,"filename":"image_04112025_11_15_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/12/14/5cd53985b062f3511fef805a6cd1c824.jpg","text":"TemporaryFile(/tmp/multipartBody4399320410085941620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678063490,"filename":"image_04112025_11_15_58_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce9b90a801f1b49ba15cb5e602799104.jpg","text":"TemporaryFile(/tmp/multipartBody8547651629354091462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678063490,"filename":"image_04112025_11_16_07_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2ee5e3c5c195c6f44f91db318355a5f.jpg","text":"TemporaryFile(/tmp/multipartBody6423028972836319716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678063490,"filename":"image_04112025_11_16_04_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/671265885854d4640538c90d02afe40f.jpg","text":"TemporaryFile(/tmp/multipartBody1106905667900707313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678063490,"filename":"image_04112025_11_16_02_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/badf2d49e2e04623d95d1219e688320d.jpg","text":"TemporaryFile(/tmp/multipartBody3679202580245295637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678063490,"filename":"image_04112025_11_16_10_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320365","file1":"1399320364","file0":"1399320361","file4":"1399320367","file5":"1399320368","file3":"1399320366"},"map_files_photo_id_array":[{"photo_id":"1399320368","filename":"file5"},{"photo_id":"1399320365","filename":"file2"},{"photo_id":"1399320367","filename":"file4"},{"photo_id":"1399320364","filename":"file1"},{"photo_id":"1399320361","filename":"file0"},{"photo_id":"1399320366","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399320361":["hashtag1","hashtag2"]},{"1399320364":["hashtag1","hashtag2"]},{"1399320367":["hashtag1","hashtag2"]},{"1399320366":["hashtag1","hashtag2"]},{"1399320365":["hashtag1","hashtag2"]},{"1399320368":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399320361, 1399320364, 1399320367, 1399320366, 1399320365, 1399320368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.036128997802734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:07:22.169153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/04/image_14122025_03_04_54_10743.jpg', '/home/pi/Desktop/images/14122025/03/04/image_14122025_03_05_04_9524.jpg', '/home/pi/Desktop/images/14122025/03/05/image_14122025_03_05_13_9804.jpg', '/home/pi/Desktop/images/14122025/03/05/image_14122025_03_05_34_9719.jpg', '/home/pi/Desktop/images/14122025/03/05/image_14122025_03_05_43_9665.jpg', '/home/pi/Desktop/images/14122025/03/05/image_14122025_03_06_04_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/04/image_14122025_03_04_54_10743.jpg
/home/pi/Desktop/images/14122025/03/04/image_14122025_03_05_04_9524.jpg
/home/pi/Desktop/images/14122025/03/05/image_14122025_03_05_13_9804.jpg
/home/pi/Desktop/images/14122025/03/05/image_14122025_03_05_34_9719.jpg
/home/pi/Desktop/images/14122025/03/05/image_14122025_03_05_43_9665.jpg
/home/pi/Desktop/images/14122025/03/05/image_14122025_03_06_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":["1399320376","1399320373","1399320369","1399320378","1399320371","1399320374"],"photo_ids_order":["1399320369","1399320371","1399320373","1399320374","1399320376","1399320378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6a27310eaf007098c2bccceebc89af78.jpg","text":"TemporaryFile(/tmp/multipartBody2809275064878998781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678102783,"filename":"image_14122025_03_05_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/12/14/77056886b9c7b5a964e002bb0c34aba4.jpg","text":"TemporaryFile(/tmp/multipartBody2466819733062149247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678102783,"filename":"image_14122025_03_05_13_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8748c0a825d22475c2ac1712540c087c.jpg","text":"TemporaryFile(/tmp/multipartBody6221671994786592782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678102783,"filename":"image_14122025_03_04_54_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/58bddc2f90924f9cb4485664e872007e.jpg","text":"TemporaryFile(/tmp/multipartBody2991234760965265866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678102783,"filename":"image_14122025_03_06_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/12/14/8a733a1099985e63229c9bd8093d561c.jpg","text":"TemporaryFile(/tmp/multipartBody3175908229131006241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678102783,"filename":"image_14122025_03_05_04_9524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c590da0e808c2e35272e90d77b097c5d.jpg","text":"TemporaryFile(/tmp/multipartBody6124649724329566037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678102783,"filename":"image_14122025_03_05_34_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320373","file1":"1399320371","file0":"1399320369","file4":"1399320376","file5":"1399320378","file3":"1399320374"},"map_files_photo_id_array":[{"photo_id":"1399320378","filename":"file5"},{"photo_id":"1399320373","filename":"file2"},{"photo_id":"1399320376","filename":"file4"},{"photo_id":"1399320371","filename":"file1"},{"photo_id":"1399320369","filename":"file0"},{"photo_id":"1399320374","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320376":["hashtag1","hashtag2"]},{"1399320373":["hashtag1","hashtag2"]},{"1399320369":["hashtag1","hashtag2"]},{"1399320378":["hashtag1","hashtag2"]},{"1399320371":["hashtag1","hashtag2"]},{"1399320374":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320376, 1399320373, 1399320369, 1399320378, 1399320371, 1399320374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.267165184020996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:08:02.956466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/06/image_14122025_03_06_14_9750.jpg', '/home/pi/Desktop/images/14122025/03/06/image_14122025_03_06_33_9829.jpg', '/home/pi/Desktop/images/14122025/03/06/image_14122025_03_06_54_9650.jpg', '/home/pi/Desktop/images/14122025/03/06/image_14122025_03_07_03_9707.jpg', '/home/pi/Desktop/images/14122025/03/07/image_14122025_03_07_14_10569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/06/image_14122025_03_06_14_9750.jpg
/home/pi/Desktop/images/14122025/03/06/image_14122025_03_06_33_9829.jpg
/home/pi/Desktop/images/14122025/03/06/image_14122025_03_06_54_9650.jpg
/home/pi/Desktop/images/14122025/03/06/image_14122025_03_07_03_9707.jpg
/home/pi/Desktop/images/14122025/03/07/image_14122025_03_07_14_10569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399320382","1399320385","1399320381","1399320384","1399320383"],"photo_ids_order":["1399320381","1399320382","1399320383","1399320384","1399320385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0586c88b6efe1c9b269e5289c45a5cb3.jpg","text":"TemporaryFile(/tmp/multipartBody8326455461162580453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678143549,"filename":"image_14122025_03_06_33_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/16b7289399547d5638ec74bc57befa19.jpg","text":"TemporaryFile(/tmp/multipartBody5131007894066612608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678143549,"filename":"image_14122025_03_07_14_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b28e8f1480ecd5560aad1545fef4447.jpg","text":"TemporaryFile(/tmp/multipartBody3122675495819107598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678143549,"filename":"image_14122025_03_06_14_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1a0d489141789da08241d46755d78bdb.jpg","text":"TemporaryFile(/tmp/multipartBody6437255172286467908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678143549,"filename":"image_14122025_03_07_03_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a2e4c711d583b31ec12955e8c939829b.jpg","text":"TemporaryFile(/tmp/multipartBody966039367321357514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678143549,"filename":"image_14122025_03_06_54_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320383","file1":"1399320382","file0":"1399320381","file4":"1399320385","file3":"1399320384"},"map_files_photo_id_array":[{"photo_id":"1399320383","filename":"file2"},{"photo_id":"1399320385","filename":"file4"},{"photo_id":"1399320382","filename":"file1"},{"photo_id":"1399320381","filename":"file0"},{"photo_id":"1399320384","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320382":["hashtag1","hashtag2"]},{"1399320385":["hashtag1","hashtag2"]},{"1399320381":["hashtag1","hashtag2"]},{"1399320384":["hashtag1","hashtag2"]},{"1399320383":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320382, 1399320385, 1399320381, 1399320384, 1399320383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.89535737037659 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:08:42.454685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_14_3525.jpg', '/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_16_2782.jpg', '/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_19_2747.jpg', '/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_22_2700.jpg', '/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_25_3586.jpg', '/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_28_2853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_14_3525.jpg
/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_16_2782.jpg
/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_19_2747.jpg
/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_22_2700.jpg
/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_25_3586.jpg
/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_28_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":["1399320404","1399320407","1399320391","1399320406","1399320396","1399320402"],"photo_ids_order":["1399320391","1399320396","1399320402","1399320404","1399320406","1399320407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/04a9ddb8f25f921d1565691ec9b0a633.jpg","text":"TemporaryFile(/tmp/multipartBody98811523380758471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678183204,"filename":"image_04112025_11_16_22_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa29e43ddc741b5906a0af0615a90ea1.jpg","text":"TemporaryFile(/tmp/multipartBody423955015473815920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678183204,"filename":"image_04112025_11_16_28_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dbc1cfc144c46cac2e9d645cef142760.jpg","text":"TemporaryFile(/tmp/multipartBody7895771791833901329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678183204,"filename":"image_04112025_11_16_14_3525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/80a95f58469a2c283771b1837cee0993.jpg","text":"TemporaryFile(/tmp/multipartBody8317878422514845571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678183204,"filename":"image_04112025_11_16_25_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc3df93ea33f49da64ef55b5e97f2709.jpg","text":"TemporaryFile(/tmp/multipartBody1121624724319375658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678183204,"filename":"image_04112025_11_16_16_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4348b68b331a0a57bb4df1bb7fa88cd8.jpg","text":"TemporaryFile(/tmp/multipartBody2271418263922224844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678183204,"filename":"image_04112025_11_16_19_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320402","file1":"1399320396","file0":"1399320391","file4":"1399320406","file5":"1399320407","file3":"1399320404"},"map_files_photo_id_array":[{"photo_id":"1399320407","filename":"file5"},{"photo_id":"1399320402","filename":"file2"},{"photo_id":"1399320406","filename":"file4"},{"photo_id":"1399320396","filename":"file1"},{"photo_id":"1399320391","filename":"file0"},{"photo_id":"1399320404","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399320404":["hashtag1","hashtag2"]},{"1399320407":["hashtag1","hashtag2"]},{"1399320391":["hashtag1","hashtag2"]},{"1399320406":["hashtag1","hashtag2"]},{"1399320396":["hashtag1","hashtag2"]},{"1399320402":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399320404, 1399320407, 1399320391, 1399320406, 1399320396, 1399320402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63167119026184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:09:22.616079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/07/image_14122025_03_07_34_10631.jpg', '/home/pi/Desktop/images/14122025/03/08/image_14122025_03_08_14_9647.jpg', '/home/pi/Desktop/images/14122025/03/08/image_14122025_03_08_23_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/07/image_14122025_03_07_34_10631.jpg
/home/pi/Desktop/images/14122025/03/08/image_14122025_03_08_14_9647.jpg
/home/pi/Desktop/images/14122025/03/08/image_14122025_03_08_23_9616.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37230587005615234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:09:32.604020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:09:42.625597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_31_2516.jpg', '/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_34_3635.jpg', '/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_40_2782.jpg', '/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_43_3604.jpg', '/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_46_2985.jpg', '/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_49_2861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_31_2516.jpg
/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_34_3635.jpg
/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_40_2782.jpg
/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_43_3604.jpg
/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_46_2985.jpg
/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_49_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":["1399320419","1399320421","1399320415","1399320418","1399320417","1399320420"],"photo_ids_order":["1399320415","1399320417","1399320418","1399320419","1399320420","1399320421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bed65cf6377dcfa063a7ca476b108fca.jpg","text":"TemporaryFile(/tmp/multipartBody2887857232738337759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678243307,"filename":"image_04112025_11_16_43_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/00a906320fac5518bd7e4d2ec5629730.jpg","text":"TemporaryFile(/tmp/multipartBody2038805688039233522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678243307,"filename":"image_04112025_11_16_49_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8303e6c720ecb2946f3aafda570a51b4.jpg","text":"TemporaryFile(/tmp/multipartBody4580598958951784626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678243307,"filename":"image_04112025_11_16_31_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8dae1d63e0fda837a96bba897a9b1e11.jpg","text":"TemporaryFile(/tmp/multipartBody6902132744513698680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678243307,"filename":"image_04112025_11_16_40_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad0afe680a698c958e3702e6218af1a6.jpg","text":"TemporaryFile(/tmp/multipartBody967171610057052602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678243307,"filename":"image_04112025_11_16_34_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8d7c9a21a5c8aaab248a68b3c9a891b2.jpg","text":"TemporaryFile(/tmp/multipartBody6944008267528493640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678243307,"filename":"image_04112025_11_16_46_2985.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320418","file1":"1399320417","file0":"1399320415","file4":"1399320420","file5":"1399320421","file3":"1399320419"},"map_files_photo_id_array":[{"photo_id":"1399320421","filename":"file5"},{"photo_id":"1399320418","filename":"file2"},{"photo_id":"1399320420","filename":"file4"},{"photo_id":"1399320417","filename":"file1"},{"photo_id":"1399320415","filename":"file0"},{"photo_id":"1399320419","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399320419":["hashtag1","hashtag2"]},{"1399320421":["hashtag1","hashtag2"]},{"1399320415":["hashtag1","hashtag2"]},{"1399320418":["hashtag1","hashtag2"]},{"1399320417":["hashtag1","hashtag2"]},{"1399320420":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399320419, 1399320421, 1399320415, 1399320418, 1399320417, 1399320420)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.44005990028381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:10:31.912154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:10:41.914386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_52_2683.jpg', '/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_56_3734.jpg', '/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_58_2500.jpg', '/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_01_2792.jpg', '/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_05_3549.jpg', '/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_07_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_52_2683.jpg
/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_56_3734.jpg
/home/pi/Desktop/images/04112025/11/16/image_04112025_11_16_58_2500.jpg
/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_01_2792.jpg
/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_05_3549.jpg
/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_07_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":["1399320431","1399320430","1399320433","1399320432","1399320426","1399320428"],"photo_ids_order":["1399320426","1399320428","1399320430","1399320431","1399320432","1399320433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76c1983d4df9c57de5a87176bd3fe663.jpg","text":"TemporaryFile(/tmp/multipartBody1431275154517053445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678302630,"filename":"image_04112025_11_17_01_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/317dd6872e9095b0cd9f11219237b0b5.jpg","text":"TemporaryFile(/tmp/multipartBody2614232449096495284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678302630,"filename":"image_04112025_11_16_58_2500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1628777347cef9ff767438477df51f17.jpg","text":"TemporaryFile(/tmp/multipartBody2594930718371855981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678302630,"filename":"image_04112025_11_17_07_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b1373cfee7c0a94a17d07bff0bcd8a67.jpg","text":"TemporaryFile(/tmp/multipartBody4896221637362381877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678302630,"filename":"image_04112025_11_17_05_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4778b1c49ff5ec1ef993d9aa773f4ee8.jpg","text":"TemporaryFile(/tmp/multipartBody5495646935392679006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678302630,"filename":"image_04112025_11_16_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/12/14/1adfc6fc2b5aab9af9cb71ada88c5640.jpg","text":"TemporaryFile(/tmp/multipartBody6118760017784491603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678302630,"filename":"image_04112025_11_16_56_3734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320430","file1":"1399320428","file0":"1399320426","file4":"1399320432","file5":"1399320433","file3":"1399320431"},"map_files_photo_id_array":[{"photo_id":"1399320433","filename":"file5"},{"photo_id":"1399320430","filename":"file2"},{"photo_id":"1399320432","filename":"file4"},{"photo_id":"1399320428","filename":"file1"},{"photo_id":"1399320426","filename":"file0"},{"photo_id":"1399320431","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399320431":["hashtag1","hashtag2"]},{"1399320430":["hashtag1","hashtag2"]},{"1399320433":["hashtag1","hashtag2"]},{"1399320432":["hashtag1","hashtag2"]},{"1399320426":["hashtag1","hashtag2"]},{"1399320428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399320431, 1399320430, 1399320433, 1399320432, 1399320426, 1399320428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14070439338684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:11:21.959426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/07/image_14122025_03_07_34_10631.jpg', '/home/pi/Desktop/images/14122025/03/08/image_14122025_03_08_14_9647.jpg', '/home/pi/Desktop/images/14122025/03/08/image_14122025_03_08_23_9616.jpg', '/home/pi/Desktop/images/14122025/03/08/image_14122025_03_08_44_9619.jpg', '/home/pi/Desktop/images/14122025/03/08/image_14122025_03_09_03_9906.jpg', '/home/pi/Desktop/images/14122025/03/09/image_14122025_03_09_14_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/07/image_14122025_03_07_34_10631.jpg
/home/pi/Desktop/images/14122025/03/08/image_14122025_03_08_14_9647.jpg
/home/pi/Desktop/images/14122025/03/08/image_14122025_03_08_23_9616.jpg
/home/pi/Desktop/images/14122025/03/08/image_14122025_03_08_44_9619.jpg
/home/pi/Desktop/images/14122025/03/08/image_14122025_03_09_03_9906.jpg
/home/pi/Desktop/images/14122025/03/09/image_14122025_03_09_14_10670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399320442","1399320436","1399320438","1399320440","1399320434","1399320443"],"photo_ids_order":["1399320434","1399320436","1399320438","1399320440","1399320442","1399320443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3c2429b8dd2d4574e2fc0912bdceefa5.jpg","text":"TemporaryFile(/tmp/multipartBody3210262321022139368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678342540,"filename":"image_14122025_03_09_03_9906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e8581e6d310fe8c0fb9508686e9253de.jpg","text":"TemporaryFile(/tmp/multipartBody4003993644859932065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678342540,"filename":"image_14122025_03_08_14_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fa821a1142b0147ef6b710658bc606d8.jpg","text":"TemporaryFile(/tmp/multipartBody586287454883353227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678342540,"filename":"image_14122025_03_08_23_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6940e1ce841c3ad0bde275ad766a158a.jpg","text":"TemporaryFile(/tmp/multipartBody3925274339356965361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678342540,"filename":"image_14122025_03_08_44_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/34681306072cb0da3b7e6db4ec566420.jpg","text":"TemporaryFile(/tmp/multipartBody5439065668295264812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678342540,"filename":"image_14122025_03_07_34_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1cadd6eea33c82848cf44594c998fe91.jpg","text":"TemporaryFile(/tmp/multipartBody2055484350595497723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678342540,"filename":"image_14122025_03_09_14_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320438","file1":"1399320436","file0":"1399320434","file4":"1399320442","file5":"1399320443","file3":"1399320440"},"map_files_photo_id_array":[{"photo_id":"1399320443","filename":"file5"},{"photo_id":"1399320438","filename":"file2"},{"photo_id":"1399320442","filename":"file4"},{"photo_id":"1399320436","filename":"file1"},{"photo_id":"1399320434","filename":"file0"},{"photo_id":"1399320440","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320442":["hashtag1","hashtag2"]},{"1399320436":["hashtag1","hashtag2"]},{"1399320438":["hashtag1","hashtag2"]},{"1399320440":["hashtag1","hashtag2"]},{"1399320434":["hashtag1","hashtag2"]},{"1399320443":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320442, 1399320436, 1399320438, 1399320440, 1399320434, 1399320443)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.00771975517273 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:12:14.788146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:12:24.763373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/09/image_14122025_03_09_44_10595.jpg', '/home/pi/Desktop/images/14122025/03/09/image_14122025_03_09_54_9645.jpg', '/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_14_10731.jpg', '/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_24_9735.jpg', '/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_34_9741.jpg', '/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_53_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/09/image_14122025_03_09_44_10595.jpg
/home/pi/Desktop/images/14122025/03/09/image_14122025_03_09_54_9645.jpg
/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_14_10731.jpg
/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_24_9735.jpg
/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_34_9741.jpg
/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_53_9647.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4806509017944336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:12:34.817702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:12:44.781686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_13_2810.jpg', '/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_16_3753.jpg', '/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_19_2590.jpg', '/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_22_2601.jpg', '/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_26_3879.jpg', '/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_28_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_13_2810.jpg
/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_16_3753.jpg
/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_19_2590.jpg
/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_22_2601.jpg
/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_26_3879.jpg
/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_28_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":["1399320466","1399320468","1399320462","1399320465","1399320464","1399320467"],"photo_ids_order":["1399320462","1399320464","1399320465","1399320466","1399320467","1399320468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8d1bd3002cbefce7cf912b00416bcae8.jpg","text":"TemporaryFile(/tmp/multipartBody606063221251810879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678425521,"filename":"image_04112025_11_17_22_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d158a088b42bdfe2a5cd69b99237513c.jpg","text":"TemporaryFile(/tmp/multipartBody5102515011988959924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678425521,"filename":"image_04112025_11_17_28_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc92c9731fac1073731558f1d51af80c.jpg","text":"TemporaryFile(/tmp/multipartBody2217614034928418454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678425521,"filename":"image_04112025_11_17_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/12/14/9f7577b67bbaea4e889f6badad32bc2e.jpg","text":"TemporaryFile(/tmp/multipartBody1069930762960104438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678425521,"filename":"image_04112025_11_17_19_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29cc497444c8cfbc7632cc776cd815cb.jpg","text":"TemporaryFile(/tmp/multipartBody8857264730750293826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678425521,"filename":"image_04112025_11_17_16_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/50dcb06c8d5122466eb7d2980f788297.jpg","text":"TemporaryFile(/tmp/multipartBody197372043161772576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678425521,"filename":"image_04112025_11_17_26_3879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320465","file1":"1399320464","file0":"1399320462","file4":"1399320467","file5":"1399320468","file3":"1399320466"},"map_files_photo_id_array":[{"photo_id":"1399320468","filename":"file5"},{"photo_id":"1399320465","filename":"file2"},{"photo_id":"1399320467","filename":"file4"},{"photo_id":"1399320464","filename":"file1"},{"photo_id":"1399320462","filename":"file0"},{"photo_id":"1399320466","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399320466":["hashtag1","hashtag2"]},{"1399320468":["hashtag1","hashtag2"]},{"1399320462":["hashtag1","hashtag2"]},{"1399320465":["hashtag1","hashtag2"]},{"1399320464":["hashtag1","hashtag2"]},{"1399320467":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399320466, 1399320468, 1399320462, 1399320465, 1399320464, 1399320467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.965153217315674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:13:31.925341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:13:41.962977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_31_2507.jpg', '/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_34_3657.jpg', '/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_37_2604.jpg', '/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_41_3597.jpg', '/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_43_2557.jpg', '/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_46_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_31_2507.jpg
/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_34_3657.jpg
/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_37_2604.jpg
/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_41_3597.jpg
/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_43_2557.jpg
/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_46_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":["1399320475","1399320478","1399320480","1399320477","1399320479","1399320473"],"photo_ids_order":["1399320473","1399320475","1399320477","1399320478","1399320479","1399320480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/104d0b723ccefe4d934bc393ebfc300b.jpg","text":"TemporaryFile(/tmp/multipartBody1244727732652013081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678482641,"filename":"image_04112025_11_17_34_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d8cbd40c69300b5dd026dc02e7c51af.jpg","text":"TemporaryFile(/tmp/multipartBody7297602628644719293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678482641,"filename":"image_04112025_11_17_41_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ece21098d2aa428824cf10faf00f2efe.jpg","text":"TemporaryFile(/tmp/multipartBody8724967804308512852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678482641,"filename":"image_04112025_11_17_46_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad0af0e5d7a1975dfde7c91ccde634e3.jpg","text":"TemporaryFile(/tmp/multipartBody878053559609358844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678482641,"filename":"image_04112025_11_17_37_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/74e38819bec74b52a31cc5dd003b9962.jpg","text":"TemporaryFile(/tmp/multipartBody2306191662224108939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678482641,"filename":"image_04112025_11_17_43_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/504012ba165da17480af00047ea301b3.jpg","text":"TemporaryFile(/tmp/multipartBody1891778707998762834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678482641,"filename":"image_04112025_11_17_31_2507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320477","file1":"1399320475","file0":"1399320473","file4":"1399320479","file5":"1399320480","file3":"1399320478"},"map_files_photo_id_array":[{"photo_id":"1399320480","filename":"file5"},{"photo_id":"1399320477","filename":"file2"},{"photo_id":"1399320479","filename":"file4"},{"photo_id":"1399320475","filename":"file1"},{"photo_id":"1399320473","filename":"file0"},{"photo_id":"1399320478","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399320475":["hashtag1","hashtag2"]},{"1399320478":["hashtag1","hashtag2"]},{"1399320480":["hashtag1","hashtag2"]},{"1399320477":["hashtag1","hashtag2"]},{"1399320479":["hashtag1","hashtag2"]},{"1399320473":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399320475, 1399320478, 1399320480, 1399320477, 1399320479, 1399320473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.029701709747314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:14:22.312025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/09/image_14122025_03_09_44_10595.jpg', '/home/pi/Desktop/images/14122025/03/09/image_14122025_03_09_54_9645.jpg', '/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_14_10731.jpg', '/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_24_9735.jpg', '/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_34_9741.jpg', '/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_53_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/09/image_14122025_03_09_44_10595.jpg
/home/pi/Desktop/images/14122025/03/09/image_14122025_03_09_54_9645.jpg
/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_14_10731.jpg
/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_24_9735.jpg
/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_34_9741.jpg
/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_53_9647.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5422689914703369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:14:32.331774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:14:42.232669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_49_3644.jpg', '/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_52_2556.jpg', '/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_55_2760.jpg', '/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_59_3868.jpg', '/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_01_2541.jpg', '/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_04_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_49_3644.jpg
/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_52_2556.jpg
/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_55_2760.jpg
/home/pi/Desktop/images/04112025/11/17/image_04112025_11_17_59_3868.jpg
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_01_2541.jpg
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_04_2612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399320503","1399320506","1399320505","1399320492","1399320504","1399320494"],"photo_ids_order":["1399320492","1399320494","1399320503","1399320504","1399320505","1399320506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19d72e7f82bd232425b745349624f9f4.jpg","text":"TemporaryFile(/tmp/multipartBody7311294739638598870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678542908,"filename":"image_04112025_11_17_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/12/14/ac0898995a9868cbf81e0dbe46a7645f.jpg","text":"TemporaryFile(/tmp/multipartBody7411824861149017506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678542908,"filename":"image_04112025_11_18_04_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/475ff77e12ed339306de04a2a3a6cf07.jpg","text":"TemporaryFile(/tmp/multipartBody2765291824487996835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678542908,"filename":"image_04112025_11_18_01_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c958886f18e04126d96ef817d9475db.jpg","text":"TemporaryFile(/tmp/multipartBody3909034789265975329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678542908,"filename":"image_04112025_11_17_49_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a7c5d742322e29d96d43d99234a84254.jpg","text":"TemporaryFile(/tmp/multipartBody9187901015917651469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678542908,"filename":"image_04112025_11_17_59_3868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/03d5361a4b17b2f62fa10a3c49a752ba.jpg","text":"TemporaryFile(/tmp/multipartBody2084997075600347990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678542908,"filename":"image_04112025_11_17_52_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320503","file1":"1399320494","file0":"1399320492","file4":"1399320505","file5":"1399320506","file3":"1399320504"},"map_files_photo_id_array":[{"photo_id":"1399320506","filename":"file5"},{"photo_id":"1399320503","filename":"file2"},{"photo_id":"1399320505","filename":"file4"},{"photo_id":"1399320494","filename":"file1"},{"photo_id":"1399320492","filename":"file0"},{"photo_id":"1399320504","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399320503":["hashtag1","hashtag2"]},{"1399320506":["hashtag1","hashtag2"]},{"1399320505":["hashtag1","hashtag2"]},{"1399320492":["hashtag1","hashtag2"]},{"1399320504":["hashtag1","hashtag2"]},{"1399320494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399320503, 1399320506, 1399320505, 1399320492, 1399320504, 1399320494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.648218631744385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:15:22.475980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/09/image_14122025_03_09_44_10595.jpg', '/home/pi/Desktop/images/14122025/03/09/image_14122025_03_09_54_9645.jpg', '/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_14_10731.jpg', '/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_24_9735.jpg', '/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_34_9741.jpg', '/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_53_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/09/image_14122025_03_09_44_10595.jpg
/home/pi/Desktop/images/14122025/03/09/image_14122025_03_09_54_9645.jpg
/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_14_10731.jpg
/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_24_9735.jpg
/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_34_9741.jpg
/home/pi/Desktop/images/14122025/03/10/image_14122025_03_10_53_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399320508","1399320516","1399320519","1399320510","1399320507","1399320512"],"photo_ids_order":["1399320507","1399320508","1399320510","1399320512","1399320516","1399320519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/df46023996371a2c6ee5faca690654e4.jpg","text":"TemporaryFile(/tmp/multipartBody1966231399245191441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678583104,"filename":"image_14122025_03_09_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/12/14/a1fdfe4ad2569dfacd34174c47692bc0.jpg","text":"TemporaryFile(/tmp/multipartBody7844723030197423867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678583104,"filename":"image_14122025_03_10_34_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/401b9150520e4a022ee0f45e4b16c9d4.jpg","text":"TemporaryFile(/tmp/multipartBody1814718736587946516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678583104,"filename":"image_14122025_03_10_53_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/17cf0fbafd8f01a79ab48413df4d1b0e.jpg","text":"TemporaryFile(/tmp/multipartBody6248492326953987565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678583104,"filename":"image_14122025_03_10_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/12/14/f6601c4336bb6e8fd34a9920f951da25.jpg","text":"TemporaryFile(/tmp/multipartBody1979918349552801886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678583104,"filename":"image_14122025_03_09_44_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7e31f40551d386344924a7360092e1f.jpg","text":"TemporaryFile(/tmp/multipartBody6386026794095436441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678583104,"filename":"image_14122025_03_10_24_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320510","file1":"1399320508","file0":"1399320507","file4":"1399320516","file5":"1399320519","file3":"1399320512"},"map_files_photo_id_array":[{"photo_id":"1399320519","filename":"file5"},{"photo_id":"1399320510","filename":"file2"},{"photo_id":"1399320516","filename":"file4"},{"photo_id":"1399320508","filename":"file1"},{"photo_id":"1399320507","filename":"file0"},{"photo_id":"1399320512","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320508":["hashtag1","hashtag2"]},{"1399320516":["hashtag1","hashtag2"]},{"1399320519":["hashtag1","hashtag2"]},{"1399320510":["hashtag1","hashtag2"]},{"1399320507":["hashtag1","hashtag2"]},{"1399320512":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320508, 1399320516, 1399320519, 1399320510, 1399320507, 1399320512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47251510620117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:16:03.136535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/10/image_14122025_03_11_04_10798.jpg', '/home/pi/Desktop/images/14122025/03/11/image_14122025_03_11_14_9669.jpg', '/home/pi/Desktop/images/14122025/03/11/image_14122025_03_12_03_9779.jpg', '/home/pi/Desktop/images/14122025/03/13/image_14122025_03_13_14_10197.jpg', '/home/pi/Desktop/images/14122025/03/13/image_14122025_03_13_34_10703.jpg', '/home/pi/Desktop/images/14122025/03/13/image_14122025_03_14_04_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/10/image_14122025_03_11_04_10798.jpg
/home/pi/Desktop/images/14122025/03/11/image_14122025_03_11_14_9669.jpg
/home/pi/Desktop/images/14122025/03/11/image_14122025_03_12_03_9779.jpg
/home/pi/Desktop/images/14122025/03/13/image_14122025_03_13_14_10197.jpg
/home/pi/Desktop/images/14122025/03/13/image_14122025_03_13_34_10703.jpg
/home/pi/Desktop/images/14122025/03/13/image_14122025_03_14_04_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399320523","1399320526","1399320529","1399320525","1399320530","1399320527"],"photo_ids_order":["1399320523","1399320525","1399320526","1399320527","1399320529","1399320530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ebf482370177b5ace28c6416731d7b47.jpg","text":"TemporaryFile(/tmp/multipartBody2746241956736201208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678623788,"filename":"image_14122025_03_11_04_10798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/493adaabe6d4cc51d01cf221a084512b.jpg","text":"TemporaryFile(/tmp/multipartBody5976785611112183269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678623788,"filename":"image_14122025_03_12_03_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/32bde5205dd01d01b8e21477571f3758.jpg","text":"TemporaryFile(/tmp/multipartBody8762714491833062304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678623788,"filename":"image_14122025_03_13_34_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce79494dad77aff5356761320f703ab4.jpg","text":"TemporaryFile(/tmp/multipartBody5856976289575496249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678623788,"filename":"image_14122025_03_11_14_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7491289f6d254213d27580cc8daf1d65.jpg","text":"TemporaryFile(/tmp/multipartBody8961142365700800771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678623788,"filename":"image_14122025_03_14_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/59a017922430833df9d242e90eec6b76.jpg","text":"TemporaryFile(/tmp/multipartBody4845883046371783721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678623788,"filename":"image_14122025_03_13_14_10197.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320526","file1":"1399320525","file0":"1399320523","file4":"1399320529","file5":"1399320530","file3":"1399320527"},"map_files_photo_id_array":[{"photo_id":"1399320530","filename":"file5"},{"photo_id":"1399320526","filename":"file2"},{"photo_id":"1399320529","filename":"file4"},{"photo_id":"1399320525","filename":"file1"},{"photo_id":"1399320523","filename":"file0"},{"photo_id":"1399320527","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320523":["hashtag1","hashtag2"]},{"1399320526":["hashtag1","hashtag2"]},{"1399320529":["hashtag1","hashtag2"]},{"1399320525":["hashtag1","hashtag2"]},{"1399320530":["hashtag1","hashtag2"]},{"1399320527":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320523, 1399320526, 1399320529, 1399320525, 1399320530, 1399320527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83534836769104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:16:42.669578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_07_3120.jpg', '/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_11_3707.jpg', '/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_13_2642.jpg', '/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_16_2710.jpg', '/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_19_3556.jpg', '/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_22_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_07_3120.jpg
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_11_3707.jpg
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_13_2642.jpg
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_16_2710.jpg
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_19_3556.jpg
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_22_2576.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6002757549285889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:17:06.710835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/14/image_14122025_03_14_23_9735.jpg', '/home/pi/Desktop/images/14122025/03/14/image_14122025_03_15_03_9828.jpg', '/home/pi/Desktop/images/14122025/03/15/image_14122025_03_15_14_10791.jpg', '/home/pi/Desktop/images/14122025/03/15/image_14122025_03_15_24_9797.jpg', '/home/pi/Desktop/images/14122025/03/15/image_14122025_03_15_54_10769.jpg', '/home/pi/Desktop/images/14122025/03/15/image_14122025_03_16_04_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/14/image_14122025_03_14_23_9735.jpg
/home/pi/Desktop/images/14122025/03/14/image_14122025_03_15_03_9828.jpg
/home/pi/Desktop/images/14122025/03/15/image_14122025_03_15_14_10791.jpg
/home/pi/Desktop/images/14122025/03/15/image_14122025_03_15_24_9797.jpg
/home/pi/Desktop/images/14122025/03/15/image_14122025_03_15_54_10769.jpg
/home/pi/Desktop/images/14122025/03/15/image_14122025_03_16_04_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399320541","1399320544","1399320546","1399320543","1399320548","1399320542"],"photo_ids_order":["1399320541","1399320542","1399320543","1399320544","1399320546","1399320548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/124f53fdcfc42541cfa9fcd204212a8e.jpg","text":"TemporaryFile(/tmp/multipartBody2572916025267913935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678687339,"filename":"image_14122025_03_14_23_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/616cb9dc72cc2d736d8358f2d3de9bde.jpg","text":"TemporaryFile(/tmp/multipartBody901934851931380676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678687339,"filename":"image_14122025_03_15_24_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/52c6b0176656aeb07955a5ab75d774ea.jpg","text":"TemporaryFile(/tmp/multipartBody8495871132985945088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678687339,"filename":"image_14122025_03_15_54_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/73959cfe3a97efc5c4e3cb6917083c69.jpg","text":"TemporaryFile(/tmp/multipartBody5277572874522593343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678687339,"filename":"image_14122025_03_15_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/12/14/7192969ef22c88a36ea6d44709dbde06.jpg","text":"TemporaryFile(/tmp/multipartBody8087885303546511947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678687339,"filename":"image_14122025_03_16_04_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c5f16d7f5ba47a4f763833758926121f.jpg","text":"TemporaryFile(/tmp/multipartBody1820361989687812428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678687339,"filename":"image_14122025_03_15_03_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320543","file1":"1399320542","file0":"1399320541","file4":"1399320546","file5":"1399320548","file3":"1399320544"},"map_files_photo_id_array":[{"photo_id":"1399320548","filename":"file5"},{"photo_id":"1399320543","filename":"file2"},{"photo_id":"1399320546","filename":"file4"},{"photo_id":"1399320542","filename":"file1"},{"photo_id":"1399320541","filename":"file0"},{"photo_id":"1399320544","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320541":["hashtag1","hashtag2"]},{"1399320544":["hashtag1","hashtag2"]},{"1399320546":["hashtag1","hashtag2"]},{"1399320543":["hashtag1","hashtag2"]},{"1399320548":["hashtag1","hashtag2"]},{"1399320542":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320541, 1399320544, 1399320546, 1399320543, 1399320548, 1399320542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.809978008270264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:18:02.782988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/16/image_14122025_03_16_14_10202.jpg', '/home/pi/Desktop/images/14122025/03/16/image_14122025_03_16_44_9628.jpg', '/home/pi/Desktop/images/14122025/03/16/image_14122025_03_16_53_9679.jpg', '/home/pi/Desktop/images/14122025/03/17/image_14122025_03_17_23_9874.jpg', '/home/pi/Desktop/images/14122025/03/17/image_14122025_03_17_44_10563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/16/image_14122025_03_16_14_10202.jpg
/home/pi/Desktop/images/14122025/03/16/image_14122025_03_16_44_9628.jpg
/home/pi/Desktop/images/14122025/03/16/image_14122025_03_16_53_9679.jpg
/home/pi/Desktop/images/14122025/03/17/image_14122025_03_17_23_9874.jpg
/home/pi/Desktop/images/14122025/03/17/image_14122025_03_17_44_10563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399320562","1399320559","1399320561","1399320563","1399320560"],"photo_ids_order":["1399320559","1399320560","1399320561","1399320562","1399320563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b67efb6299b3dbcc9607f1bbce892f0.jpg","text":"TemporaryFile(/tmp/multipartBody4303055769419167774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678743381,"filename":"image_14122025_03_17_23_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf4140e0b23acc807d7a447bf1733c63.jpg","text":"TemporaryFile(/tmp/multipartBody2234149432287201345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678743381,"filename":"image_14122025_03_16_14_10202.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/82e1dc7b51f40af70e414a4995262659.jpg","text":"TemporaryFile(/tmp/multipartBody8895688895225428237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678743381,"filename":"image_14122025_03_16_53_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3025466d573daf19b1e9ab3a28048f3d.jpg","text":"TemporaryFile(/tmp/multipartBody2402477114532034748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678743381,"filename":"image_14122025_03_17_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/12/14/665db0bed66d656a86f09944a0aa6049.jpg","text":"TemporaryFile(/tmp/multipartBody2332736733550161790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678743381,"filename":"image_14122025_03_16_44_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320561","file1":"1399320560","file0":"1399320559","file4":"1399320563","file3":"1399320562"},"map_files_photo_id_array":[{"photo_id":"1399320561","filename":"file2"},{"photo_id":"1399320563","filename":"file4"},{"photo_id":"1399320560","filename":"file1"},{"photo_id":"1399320559","filename":"file0"},{"photo_id":"1399320562","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320562":["hashtag1","hashtag2"]},{"1399320559":["hashtag1","hashtag2"]},{"1399320561":["hashtag1","hashtag2"]},{"1399320563":["hashtag1","hashtag2"]},{"1399320560":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320562, 1399320559, 1399320561, 1399320563, 1399320560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.552579879760742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:18:42.417981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_07_3120.jpg', '/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_11_3707.jpg', '/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_13_2642.jpg', '/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_16_2710.jpg', '/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_19_3556.jpg', '/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_22_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_07_3120.jpg
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_11_3707.jpg
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_13_2642.jpg
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_16_2710.jpg
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_19_3556.jpg
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_22_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":["1399320577","1399320579","1399320573","1399320575","1399320572","1399320569"],"photo_ids_order":["1399320569","1399320572","1399320573","1399320575","1399320577","1399320579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3ee38aea694dbca34b1979e05b4b8c60.jpg","text":"TemporaryFile(/tmp/multipartBody6055066430272507447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678783061,"filename":"image_04112025_11_18_19_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cfe4cc0efbf80b374d02ca0a53f57d1e.jpg","text":"TemporaryFile(/tmp/multipartBody5838677414638183667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678783061,"filename":"image_04112025_11_18_22_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fae4d91453ef3b7dddb96bbbe026112b.jpg","text":"TemporaryFile(/tmp/multipartBody4130248933853365135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678783061,"filename":"image_04112025_11_18_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/12/14/91d4487bf17cacc4cd94cdae15d68578.jpg","text":"TemporaryFile(/tmp/multipartBody1312277039327415561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678783061,"filename":"image_04112025_11_18_16_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/16c8ad3ed465d1dea09ecf2835d8dbd9.jpg","text":"TemporaryFile(/tmp/multipartBody964725669606691180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678783061,"filename":"image_04112025_11_18_11_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eeecdfc1d01214691207a368c50f23b2.jpg","text":"TemporaryFile(/tmp/multipartBody1350287351712970183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678783061,"filename":"image_04112025_11_18_07_3120.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320573","file1":"1399320572","file0":"1399320569","file4":"1399320577","file5":"1399320579","file3":"1399320575"},"map_files_photo_id_array":[{"photo_id":"1399320579","filename":"file5"},{"photo_id":"1399320573","filename":"file2"},{"photo_id":"1399320577","filename":"file4"},{"photo_id":"1399320572","filename":"file1"},{"photo_id":"1399320569","filename":"file0"},{"photo_id":"1399320575","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399320577":["hashtag1","hashtag2"]},{"1399320579":["hashtag1","hashtag2"]},{"1399320573":["hashtag1","hashtag2"]},{"1399320575":["hashtag1","hashtag2"]},{"1399320572":["hashtag1","hashtag2"]},{"1399320569":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399320577, 1399320579, 1399320573, 1399320575, 1399320572, 1399320569)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.0623996257782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
 val : 1 : upload photos already in processing! 
2025-12-14 03:19:41.479713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 291, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:20:02.803518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/17/image_14122025_03_17_54_9695.jpg', '/home/pi/Desktop/images/14122025/03/17/image_14122025_03_18_03_9636.jpg', '/home/pi/Desktop/images/14122025/03/18/image_14122025_03_18_14_10328.jpg', '/home/pi/Desktop/images/14122025/03/18/image_14122025_03_18_34_9581.jpg', '/home/pi/Desktop/images/14122025/03/19/image_14122025_03_19_24_9964.jpg', '/home/pi/Desktop/images/14122025/03/19/image_14122025_03_19_33_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/17/image_14122025_03_17_54_9695.jpg
/home/pi/Desktop/images/14122025/03/17/image_14122025_03_18_03_9636.jpg
/home/pi/Desktop/images/14122025/03/18/image_14122025_03_18_14_10328.jpg
 val : 1 : upload photos already in processing! 
/home/pi/Desktop/images/14122025/03/18/image_14122025_03_18_34_9581.jpg
/home/pi/Desktop/images/14122025/03/19/image_14122025_03_19_24_9964.jpg
/home/pi/Desktop/images/14122025/03/19/image_14122025_03_19_33_9663.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 12.274347305297852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:20:23.055454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/17/image_14122025_03_17_54_9695.jpg', '/home/pi/Desktop/images/14122025/03/17/image_14122025_03_18_03_9636.jpg', '/home/pi/Desktop/images/14122025/03/18/image_14122025_03_18_14_10328.jpg', '/home/pi/Desktop/images/14122025/03/18/image_14122025_03_18_34_9581.jpg', '/home/pi/Desktop/images/14122025/03/19/image_14122025_03_19_24_9964.jpg', '/home/pi/Desktop/images/14122025/03/19/image_14122025_03_19_33_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/17/image_14122025_03_17_54_9695.jpg
/home/pi/Desktop/images/14122025/03/17/image_14122025_03_18_03_9636.jpg
/home/pi/Desktop/images/14122025/03/18/image_14122025_03_18_14_10328.jpg
/home/pi/Desktop/images/14122025/03/18/image_14122025_03_18_34_9581.jpg
/home/pi/Desktop/images/14122025/03/19/image_14122025_03_19_24_9964.jpg
/home/pi/Desktop/images/14122025/03/19/image_14122025_03_19_33_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":["1399320592","1399320595","1399320589","1399320598","1399320607","1399320600"],"photo_ids_order":["1399320589","1399320592","1399320595","1399320598","1399320600","1399320607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb0af65d2f9cc774b0ccdafb5805a58f.jpg","text":"TemporaryFile(/tmp/multipartBody4877197301725621072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678883639,"filename":"image_14122025_03_18_03_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f4ac7a4c0de453507d272508334da0f3.jpg","text":"TemporaryFile(/tmp/multipartBody2669406918117712570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678883639,"filename":"image_14122025_03_18_14_10328.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e5c7a5dcf2601fbb4fedd4a748fac943.jpg","text":"TemporaryFile(/tmp/multipartBody4372483831924931559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678883639,"filename":"image_14122025_03_17_54_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/73d9976a7a3bc51b7ef8d47a1fc4fa8b.jpg","text":"TemporaryFile(/tmp/multipartBody4475408660435600569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678883639,"filename":"image_14122025_03_18_34_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/83332917bd79ec8d991147e0374453ee.jpg","text":"TemporaryFile(/tmp/multipartBody3872663806555161791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678883639,"filename":"image_14122025_03_19_33_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb38e2e87bc1ed8609b0a0694e06faee.jpg","text":"TemporaryFile(/tmp/multipartBody5353739663387237149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678883639,"filename":"image_14122025_03_19_24_9964.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320595","file1":"1399320592","file0":"1399320589","file4":"1399320600","file5":"1399320607","file3":"1399320598"},"map_files_photo_id_array":[{"photo_id":"1399320607","filename":"file5"},{"photo_id":"1399320595","filename":"file2"},{"photo_id":"1399320600","filename":"file4"},{"photo_id":"1399320592","filename":"file1"},{"photo_id":"1399320589","filename":"file0"},{"photo_id":"1399320598","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320592":["hashtag1","hashtag2"]},{"1399320595":["hashtag1","hashtag2"]},{"1399320589":["hashtag1","hashtag2"]},{"1399320598":["hashtag1","hashtag2"]},{"1399320607":["hashtag1","hashtag2"]},{"1399320600":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320592, 1399320595, 1399320589, 1399320598, 1399320607, 1399320600)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.53681683540344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:21:12.693689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:21:22.556734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/19/image_14122025_03_19_44_10572.jpg', '/home/pi/Desktop/images/14122025/03/19/image_14122025_03_19_54_9650.jpg', '/home/pi/Desktop/images/14122025/03/19/image_14122025_03_20_03_9844.jpg', '/home/pi/Desktop/images/14122025/03/20/image_14122025_03_20_24_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/19/image_14122025_03_19_44_10572.jpg
/home/pi/Desktop/images/14122025/03/19/image_14122025_03_19_54_9650.jpg
/home/pi/Desktop/images/14122025/03/19/image_14122025_03_20_03_9844.jpg
/home/pi/Desktop/images/14122025/03/20/image_14122025_03_20_24_9702.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4085724353790283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:21:37.468147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:21:42.635898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_25_2764.jpg', '/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_28_3632.jpg', '/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_31_2583.jpg', '/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_37_3576.jpg', '/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_40_2618.jpg', '/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_49_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_25_2764.jpg
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_28_3632.jpg
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_31_2583.jpg
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_37_3576.jpg
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_40_2618.jpg
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_49_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":["1399320622","1399320619","1399320616","1399320621","1399320618","1399320620"],"photo_ids_order":["1399320616","1399320618","1399320619","1399320620","1399320621","1399320622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/35ff3a1432997d18d89553a1943dad1b.jpg","text":"TemporaryFile(/tmp/multipartBody8877792230469175093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678963371,"filename":"image_04112025_11_18_49_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/275fd5623f8f370c00c2527fd23a2a05.jpg","text":"TemporaryFile(/tmp/multipartBody7904399224958043541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678963371,"filename":"image_04112025_11_18_31_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb80001d1301e52dc43f3864d10aa27b.jpg","text":"TemporaryFile(/tmp/multipartBody4542806976663844543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678963371,"filename":"image_04112025_11_18_25_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f24e3a042cdd68f1309e6cff197a078.jpg","text":"TemporaryFile(/tmp/multipartBody3720807225148978977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678963371,"filename":"image_04112025_11_18_40_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/33229c61ee9e32b207b33634dedab92e.jpg","text":"TemporaryFile(/tmp/multipartBody7439546847978985200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678963371,"filename":"image_04112025_11_18_28_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28326f4d1abd6d7df17dc90f00ad1afd.jpg","text":"TemporaryFile(/tmp/multipartBody7675712736022764284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765678963371,"filename":"image_04112025_11_18_37_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320619","file1":"1399320618","file0":"1399320616","file4":"1399320621","file5":"1399320622","file3":"1399320620"},"map_files_photo_id_array":[{"photo_id":"1399320622","filename":"file5"},{"photo_id":"1399320619","filename":"file2"},{"photo_id":"1399320621","filename":"file4"},{"photo_id":"1399320618","filename":"file1"},{"photo_id":"1399320616","filename":"file0"},{"photo_id":"1399320620","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399320622":["hashtag1","hashtag2"]},{"1399320619":["hashtag1","hashtag2"]},{"1399320616":["hashtag1","hashtag2"]},{"1399320621":["hashtag1","hashtag2"]},{"1399320618":["hashtag1","hashtag2"]},{"1399320620":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399320622, 1399320619, 1399320616, 1399320621, 1399320618, 1399320620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19018054008484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:22:22.773560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/19/image_14122025_03_19_44_10572.jpg', '/home/pi/Desktop/images/14122025/03/19/image_14122025_03_19_54_9650.jpg', '/home/pi/Desktop/images/14122025/03/19/image_14122025_03_20_03_9844.jpg', '/home/pi/Desktop/images/14122025/03/20/image_14122025_03_20_24_9702.jpg', '/home/pi/Desktop/images/14122025/03/20/image_14122025_03_20_34_9850.jpg', '/home/pi/Desktop/images/14122025/03/20/image_14122025_03_21_04_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/19/image_14122025_03_19_44_10572.jpg
/home/pi/Desktop/images/14122025/03/19/image_14122025_03_19_54_9650.jpg
/home/pi/Desktop/images/14122025/03/19/image_14122025_03_20_03_9844.jpg
/home/pi/Desktop/images/14122025/03/20/image_14122025_03_20_24_9702.jpg
/home/pi/Desktop/images/14122025/03/20/image_14122025_03_20_34_9850.jpg
/home/pi/Desktop/images/14122025/03/20/image_14122025_03_21_04_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399320631","1399320628","1399320633","1399320624","1399320626","1399320629"],"photo_ids_order":["1399320624","1399320626","1399320628","1399320629","1399320631","1399320633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe7a443fa5ccfe1daebeedff61e24864.jpg","text":"TemporaryFile(/tmp/multipartBody7079517828603856298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679003357,"filename":"image_14122025_03_20_34_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63f10e2e73e788c0e4b90788ca8c39bd.jpg","text":"TemporaryFile(/tmp/multipartBody8241571976643209123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679003357,"filename":"image_14122025_03_20_03_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/11d7efd3973b63cb4ab370d529ab98c0.jpg","text":"TemporaryFile(/tmp/multipartBody6168065327752280953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679003357,"filename":"image_14122025_03_21_04_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3c1118392fc882ae04f4cb5b48ca9859.jpg","text":"TemporaryFile(/tmp/multipartBody3125082181417368508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679003357,"filename":"image_14122025_03_19_44_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1ad7147eacbe943f9abfbb151eb684a.jpg","text":"TemporaryFile(/tmp/multipartBody4549604163770698281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679003357,"filename":"image_14122025_03_19_54_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/089a06e9a7df07679f3c5ca878ebc3b9.jpg","text":"TemporaryFile(/tmp/multipartBody2228952990157718264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679003357,"filename":"image_14122025_03_20_24_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320628","file1":"1399320626","file0":"1399320624","file4":"1399320631","file5":"1399320633","file3":"1399320629"},"map_files_photo_id_array":[{"photo_id":"1399320633","filename":"file5"},{"photo_id":"1399320628","filename":"file2"},{"photo_id":"1399320631","filename":"file4"},{"photo_id":"1399320626","filename":"file1"},{"photo_id":"1399320624","filename":"file0"},{"photo_id":"1399320629","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320631":["hashtag1","hashtag2"]},{"1399320628":["hashtag1","hashtag2"]},{"1399320633":["hashtag1","hashtag2"]},{"1399320624":["hashtag1","hashtag2"]},{"1399320626":["hashtag1","hashtag2"]},{"1399320629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320631, 1399320628, 1399320633, 1399320624, 1399320626, 1399320629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83276033401489 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:23:11.967043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:23:22.027740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/21/image_14122025_03_21_13_9748.jpg', '/home/pi/Desktop/images/14122025/03/21/image_14122025_03_21_23_9950.jpg', '/home/pi/Desktop/images/14122025/03/21/image_14122025_03_21_44_9892.jpg', '/home/pi/Desktop/images/14122025/03/21/image_14122025_03_22_04_9874.jpg', '/home/pi/Desktop/images/14122025/03/22/image_14122025_03_22_14_9553.jpg', '/home/pi/Desktop/images/14122025/03/22/image_14122025_03_22_23_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/21/image_14122025_03_21_13_9748.jpg
/home/pi/Desktop/images/14122025/03/21/image_14122025_03_21_23_9950.jpg
/home/pi/Desktop/images/14122025/03/21/image_14122025_03_21_44_9892.jpg
/home/pi/Desktop/images/14122025/03/21/image_14122025_03_22_04_9874.jpg
/home/pi/Desktop/images/14122025/03/22/image_14122025_03_22_14_9553.jpg
/home/pi/Desktop/images/14122025/03/22/image_14122025_03_22_23_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399320640","1399320642","1399320650","1399320644","1399320638","1399320635"],"photo_ids_order":["1399320635","1399320638","1399320640","1399320642","1399320644","1399320650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a178a64185b05443fedffd7fb0901e24.jpg","text":"TemporaryFile(/tmp/multipartBody860886420188946409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679063109,"filename":"image_14122025_03_21_44_9892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/689fd47198b4d8134122a7154d3870f0.jpg","text":"TemporaryFile(/tmp/multipartBody9105753258846220570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679063109,"filename":"image_14122025_03_22_04_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a4e90713d52a7eaa99eb6a67b74cd9e.jpg","text":"TemporaryFile(/tmp/multipartBody30732764829017441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679063109,"filename":"image_14122025_03_22_23_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3e3a014475b6e9d3350c1eec5481adfe.jpg","text":"TemporaryFile(/tmp/multipartBody1295854177580460355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679063109,"filename":"image_14122025_03_22_14_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3517506d39b3c2ed77003b038d4a5fee.jpg","text":"TemporaryFile(/tmp/multipartBody8514736264795016272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679063109,"filename":"image_14122025_03_21_23_9950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/35cd4e6822fbb129d72e56ead7e982cc.jpg","text":"TemporaryFile(/tmp/multipartBody2626170731091396085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679063109,"filename":"image_14122025_03_21_13_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320640","file1":"1399320638","file0":"1399320635","file4":"1399320644","file5":"1399320650","file3":"1399320642"},"map_files_photo_id_array":[{"photo_id":"1399320650","filename":"file5"},{"photo_id":"1399320640","filename":"file2"},{"photo_id":"1399320644","filename":"file4"},{"photo_id":"1399320638","filename":"file1"},{"photo_id":"1399320635","filename":"file0"},{"photo_id":"1399320642","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320640":["hashtag1","hashtag2"]},{"1399320642":["hashtag1","hashtag2"]},{"1399320650":["hashtag1","hashtag2"]},{"1399320644":["hashtag1","hashtag2"]},{"1399320638":["hashtag1","hashtag2"]},{"1399320635":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320640, 1399320642, 1399320650, 1399320644, 1399320638, 1399320635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7486035823822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:24:02.939066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/22/image_14122025_03_22_54_10806.jpg', '/home/pi/Desktop/images/14122025/03/22/image_14122025_03_23_04_9355.jpg', '/home/pi/Desktop/images/14122025/03/23/image_14122025_03_23_34_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/22/image_14122025_03_22_54_10806.jpg
/home/pi/Desktop/images/14122025/03/22/image_14122025_03_23_04_9355.jpg
/home/pi/Desktop/images/14122025/03/23/image_14122025_03_23_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":["1399320652","1399320651","1399320653"],"photo_ids_order":["1399320651","1399320652","1399320653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3275f2c12604163bc911ccacd7f8cb9.jpg","text":"TemporaryFile(/tmp/multipartBody5113415684221331206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679103530,"filename":"image_14122025_03_23_04_9355.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a1c1165a2888e07690165e7863c5e13.jpg","text":"TemporaryFile(/tmp/multipartBody2785585482666461258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679103530,"filename":"image_14122025_03_22_54_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/22f6f8fcac14713d457b35ac4bb165d8.jpg","text":"TemporaryFile(/tmp/multipartBody3782720725621232955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679103530,"filename":"image_14122025_03_23_34_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320653","file1":"1399320652","file0":"1399320651"},"map_files_photo_id_array":[{"photo_id":"1399320653","filename":"file2"},{"photo_id":"1399320652","filename":"file1"},{"photo_id":"1399320651","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320652":["hashtag1","hashtag2"]},{"1399320651":["hashtag1","hashtag2"]},{"1399320653":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320652, 1399320651, 1399320653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.395026683807373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:24:32.197797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:24:42.139666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_52_3587.jpg', '/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_55_2668.jpg', '/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_58_2658.jpg', '/home/pi/Desktop/images/04112025/11/18/image_04112025_11_19_01_3643.jpg', '/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_04_2681.jpg', '/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_07_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_52_3587.jpg
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_55_2668.jpg
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_18_58_2658.jpg
/home/pi/Desktop/images/04112025/11/18/image_04112025_11_19_01_3643.jpg
/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_04_2681.jpg
/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_07_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":["1399320661","1399320663","1399320666","1399320657","1399320665","1399320659"],"photo_ids_order":["1399320657","1399320659","1399320661","1399320663","1399320665","1399320666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27137dbc45a6d1e729d6438d5e5570f1.jpg","text":"TemporaryFile(/tmp/multipartBody1570354011713050823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679142813,"filename":"image_04112025_11_18_58_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/704a833564103205a881436f534ed45d.jpg","text":"TemporaryFile(/tmp/multipartBody1017261272290013063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679142813,"filename":"image_04112025_11_19_01_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/443d2bb7e04b8935e1b8d7f2ec140138.jpg","text":"TemporaryFile(/tmp/multipartBody2731481641304028936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679142813,"filename":"image_04112025_11_19_07_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/afa9187c838bf3200f64c52fe2eb522d.jpg","text":"TemporaryFile(/tmp/multipartBody7332925464112754815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679142813,"filename":"image_04112025_11_18_52_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1d518046a001757a04bc8464850df918.jpg","text":"TemporaryFile(/tmp/multipartBody7174570025192783838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679142813,"filename":"image_04112025_11_19_04_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/602c9a8cb7c0390fe2b109298fe09545.jpg","text":"TemporaryFile(/tmp/multipartBody9093958180791889111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679142813,"filename":"image_04112025_11_18_55_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320661","file1":"1399320659","file0":"1399320657","file4":"1399320665","file5":"1399320666","file3":"1399320663"},"map_files_photo_id_array":[{"photo_id":"1399320666","filename":"file5"},{"photo_id":"1399320661","filename":"file2"},{"photo_id":"1399320665","filename":"file4"},{"photo_id":"1399320659","filename":"file1"},{"photo_id":"1399320657","filename":"file0"},{"photo_id":"1399320663","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399320661":["hashtag1","hashtag2"]},{"1399320663":["hashtag1","hashtag2"]},{"1399320666":["hashtag1","hashtag2"]},{"1399320657":["hashtag1","hashtag2"]},{"1399320665":["hashtag1","hashtag2"]},{"1399320659":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399320661, 1399320663, 1399320666, 1399320657, 1399320665, 1399320659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.286316871643066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:25:22.392595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/23/image_14122025_03_23_43_9622.jpg', '/home/pi/Desktop/images/14122025/03/23/image_14122025_03_24_04_9723.jpg', '/home/pi/Desktop/images/14122025/03/24/image_14122025_03_24_24_10631.jpg', '/home/pi/Desktop/images/14122025/03/24/image_14122025_03_24_34_9678.jpg', '/home/pi/Desktop/images/14122025/03/24/image_14122025_03_24_44_9918.jpg', '/home/pi/Desktop/images/14122025/03/24/image_14122025_03_24_53_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/23/image_14122025_03_23_43_9622.jpg
/home/pi/Desktop/images/14122025/03/23/image_14122025_03_24_04_9723.jpg
/home/pi/Desktop/images/14122025/03/24/image_14122025_03_24_24_10631.jpg
/home/pi/Desktop/images/14122025/03/24/image_14122025_03_24_34_9678.jpg
/home/pi/Desktop/images/14122025/03/24/image_14122025_03_24_44_9918.jpg
/home/pi/Desktop/images/14122025/03/24/image_14122025_03_24_53_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":["1399320673","1399320667","1399320675","1399320669","1399320677","1399320671"],"photo_ids_order":["1399320667","1399320669","1399320671","1399320673","1399320675","1399320677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/44528894f9c8f43bd91b6e6e2a19c872.jpg","text":"TemporaryFile(/tmp/multipartBody3121607046277720304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679182996,"filename":"image_14122025_03_24_34_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d4a80dce077cb9f11417c7a741d28b86.jpg","text":"TemporaryFile(/tmp/multipartBody4388566187650507758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679182996,"filename":"image_14122025_03_23_43_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fec86af31d21959c2192ae9d8a0dd28d.jpg","text":"TemporaryFile(/tmp/multipartBody1568373577259020398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679182996,"filename":"image_14122025_03_24_44_9918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa01e12f2a08dcb0f415e723605754b2.jpg","text":"TemporaryFile(/tmp/multipartBody4336281572911212650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679182996,"filename":"image_14122025_03_24_04_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/84c4af6be99ce733b71adfba5396d044.jpg","text":"TemporaryFile(/tmp/multipartBody1624352921799742560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679182996,"filename":"image_14122025_03_24_53_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d884267401fcd8ac5b6e0d7982af107.jpg","text":"TemporaryFile(/tmp/multipartBody3537629937078786695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679182996,"filename":"image_14122025_03_24_24_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320671","file1":"1399320669","file0":"1399320667","file4":"1399320675","file5":"1399320677","file3":"1399320673"},"map_files_photo_id_array":[{"photo_id":"1399320677","filename":"file5"},{"photo_id":"1399320671","filename":"file2"},{"photo_id":"1399320675","filename":"file4"},{"photo_id":"1399320669","filename":"file1"},{"photo_id":"1399320667","filename":"file0"},{"photo_id":"1399320673","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320673":["hashtag1","hashtag2"]},{"1399320667":["hashtag1","hashtag2"]},{"1399320675":["hashtag1","hashtag2"]},{"1399320669":["hashtag1","hashtag2"]},{"1399320677":["hashtag1","hashtag2"]},{"1399320671":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320673, 1399320667, 1399320675, 1399320669, 1399320677, 1399320671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.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-12-14 03:26:03.141152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/24/image_14122025_03_25_04_10751.jpg', '/home/pi/Desktop/images/14122025/03/25/image_14122025_03_25_14_9613.jpg', '/home/pi/Desktop/images/14122025/03/25/image_14122025_03_25_23_9666.jpg', '/home/pi/Desktop/images/14122025/03/25/image_14122025_03_25_34_10767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/24/image_14122025_03_25_04_10751.jpg
/home/pi/Desktop/images/14122025/03/25/image_14122025_03_25_14_9613.jpg
/home/pi/Desktop/images/14122025/03/25/image_14122025_03_25_23_9666.jpg
/home/pi/Desktop/images/14122025/03/25/image_14122025_03_25_34_10767.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47834205627441406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:26:12.644954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:26:22.718558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/24/image_14122025_03_25_04_10751.jpg', '/home/pi/Desktop/images/14122025/03/25/image_14122025_03_25_14_9613.jpg', '/home/pi/Desktop/images/14122025/03/25/image_14122025_03_25_23_9666.jpg', '/home/pi/Desktop/images/14122025/03/25/image_14122025_03_25_34_10767.jpg', '/home/pi/Desktop/images/14122025/03/25/image_14122025_03_25_54_9610.jpg', '/home/pi/Desktop/images/14122025/03/25/image_14122025_03_26_03_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/24/image_14122025_03_25_04_10751.jpg
/home/pi/Desktop/images/14122025/03/25/image_14122025_03_25_14_9613.jpg
/home/pi/Desktop/images/14122025/03/25/image_14122025_03_25_23_9666.jpg
/home/pi/Desktop/images/14122025/03/25/image_14122025_03_25_34_10767.jpg
/home/pi/Desktop/images/14122025/03/25/image_14122025_03_25_54_9610.jpg
/home/pi/Desktop/images/14122025/03/25/image_14122025_03_26_03_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":["1399320685","1399320688","1399320687","1399320692","1399320683","1399320686"],"photo_ids_order":["1399320683","1399320685","1399320686","1399320687","1399320688","1399320692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dca05da4f945bd2a242ee5aeb9a60c38.jpg","text":"TemporaryFile(/tmp/multipartBody3882573957724956501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679243338,"filename":"image_14122025_03_25_14_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/07fe53f73b499e24010bd9f791d0933d.jpg","text":"TemporaryFile(/tmp/multipartBody1856470876297316363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679243338,"filename":"image_14122025_03_25_54_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6459bb4d95678831026952b6c13b0d2a.jpg","text":"TemporaryFile(/tmp/multipartBody2451075635413329522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679243338,"filename":"image_14122025_03_25_34_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a438213187a02600c4b45e5c6c4388a4.jpg","text":"TemporaryFile(/tmp/multipartBody5227694511043579335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679243338,"filename":"image_14122025_03_26_03_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/808f40bca305b9007f1884ef2b3111c2.jpg","text":"TemporaryFile(/tmp/multipartBody4138581802831818821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679243338,"filename":"image_14122025_03_25_04_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5940db888009e165923fa2f515571a56.jpg","text":"TemporaryFile(/tmp/multipartBody6833510475910145957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679243338,"filename":"image_14122025_03_25_23_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320686","file1":"1399320685","file0":"1399320683","file4":"1399320688","file5":"1399320692","file3":"1399320687"},"map_files_photo_id_array":[{"photo_id":"1399320692","filename":"file5"},{"photo_id":"1399320686","filename":"file2"},{"photo_id":"1399320688","filename":"file4"},{"photo_id":"1399320685","filename":"file1"},{"photo_id":"1399320683","filename":"file0"},{"photo_id":"1399320687","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320685":["hashtag1","hashtag2"]},{"1399320688":["hashtag1","hashtag2"]},{"1399320687":["hashtag1","hashtag2"]},{"1399320692":["hashtag1","hashtag2"]},{"1399320683":["hashtag1","hashtag2"]},{"1399320686":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320685, 1399320688, 1399320687, 1399320692, 1399320683, 1399320686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09097719192505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:27:02.610409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/26/image_14122025_03_26_14_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/26/image_14122025_03_26_14_10339.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399320693"],"photo_id":"1399320693","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1223f8a79230179db23bb5c1075abc93.jpg","text":"TemporaryFile(/tmp/multipartBody128519028862199838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679283055,"filename":"image_14122025_03_26_14_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399320693"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399320693"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.219825983047485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:27:21.873001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/26/image_14122025_03_26_53_9766.jpg', '/home/pi/Desktop/images/14122025/03/26/image_14122025_03_27_04_10771.jpg', '/home/pi/Desktop/images/14122025/03/27/image_14122025_03_27_14_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/26/image_14122025_03_26_53_9766.jpg
/home/pi/Desktop/images/14122025/03/26/image_14122025_03_27_04_10771.jpg
/home/pi/Desktop/images/14122025/03/27/image_14122025_03_27_14_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399320694","1399320696","1399320698"],"photo_ids_order":["1399320694","1399320696","1399320698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/379f0170e3bf3b1e1d6a176aece4a4f0.jpg","text":"TemporaryFile(/tmp/multipartBody299950720811050610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679302370,"filename":"image_14122025_03_26_53_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/acea365e197a3d7f66014da1d2d4930a.jpg","text":"TemporaryFile(/tmp/multipartBody6229111468452564359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679302370,"filename":"image_14122025_03_27_04_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/60964e6cb89139c0db3abe4554993a44.jpg","text":"TemporaryFile(/tmp/multipartBody5174895056097877505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679302370,"filename":"image_14122025_03_27_14_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320698","file1":"1399320696","file0":"1399320694"},"map_files_photo_id_array":[{"photo_id":"1399320698","filename":"file2"},{"photo_id":"1399320696","filename":"file1"},{"photo_id":"1399320694","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320694":["hashtag1","hashtag2"]},{"1399320696":["hashtag1","hashtag2"]},{"1399320698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320694, 1399320696, 1399320698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.59833312034607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:28:02.675456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:28:12.297058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:28:22.270111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/27/image_14122025_03_27_54_9773.jpg', '/home/pi/Desktop/images/14122025/03/27/image_14122025_03_28_04_10667.jpg', '/home/pi/Desktop/images/14122025/03/28/image_14122025_03_28_14_9847.jpg', '/home/pi/Desktop/images/14122025/03/28/image_14122025_03_28_24_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/27/image_14122025_03_27_54_9773.jpg
/home/pi/Desktop/images/14122025/03/27/image_14122025_03_28_04_10667.jpg
/home/pi/Desktop/images/14122025/03/28/image_14122025_03_28_14_9847.jpg
/home/pi/Desktop/images/14122025/03/28/image_14122025_03_28_24_9679.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5184900760650635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:28:32.245693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:28:42.222264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_10_3667.jpg', '/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_13_2526.jpg', '/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_15_2627.jpg', '/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_19_3616.jpg', '/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_22_2604.jpg', '/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_24_2754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_10_3667.jpg
/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_13_2526.jpg
/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_15_2627.jpg
/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_19_3616.jpg
/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_22_2604.jpg
/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_24_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":["1399320716","1399320712","1399320715","1399320714","1399320717","1399320713"],"photo_ids_order":["1399320712","1399320713","1399320714","1399320715","1399320716","1399320717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce3854fe11ee26f301a21411d4a31b8a.jpg","text":"TemporaryFile(/tmp/multipartBody1995201601819767486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679382910,"filename":"image_04112025_11_19_22_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c68ec1609a2675c303c7e3fbb93f8f26.jpg","text":"TemporaryFile(/tmp/multipartBody3529463142668727574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679382910,"filename":"image_04112025_11_19_10_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a33417e8271857ff8ec05717b659dcd1.jpg","text":"TemporaryFile(/tmp/multipartBody669769319960703633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679382910,"filename":"image_04112025_11_19_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/12/14/bcfdd959dfa0141abbb26dfa94e7360d.jpg","text":"TemporaryFile(/tmp/multipartBody3306919450474264114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679382910,"filename":"image_04112025_11_19_15_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f73c80666210abf9c5ba91d2662808f3.jpg","text":"TemporaryFile(/tmp/multipartBody4787808541511932136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679382910,"filename":"image_04112025_11_19_24_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cff8c3226b9bc8966bcf8cd754b3ebdf.jpg","text":"TemporaryFile(/tmp/multipartBody6201545826494402321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679382910,"filename":"image_04112025_11_19_13_2526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320714","file1":"1399320713","file0":"1399320712","file4":"1399320716","file5":"1399320717","file3":"1399320715"},"map_files_photo_id_array":[{"photo_id":"1399320717","filename":"file5"},{"photo_id":"1399320714","filename":"file2"},{"photo_id":"1399320716","filename":"file4"},{"photo_id":"1399320713","filename":"file1"},{"photo_id":"1399320712","filename":"file0"},{"photo_id":"1399320715","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399320716":["hashtag1","hashtag2"]},{"1399320712":["hashtag1","hashtag2"]},{"1399320715":["hashtag1","hashtag2"]},{"1399320714":["hashtag1","hashtag2"]},{"1399320717":["hashtag1","hashtag2"]},{"1399320713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399320716, 1399320712, 1399320715, 1399320714, 1399320717, 1399320713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.362035512924194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:29:32.564394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:29:42.475399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_28_3627.jpg', '/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_31_2642.jpg', '/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_34_3690.jpg', '/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_37_2646.jpg', '/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_40_2698.jpg', '/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_43_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_28_3627.jpg
/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_31_2642.jpg
/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_34_3690.jpg
/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_37_2646.jpg
/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_40_2698.jpg
/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_43_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":["1399320736","1399320739","1399320735","1399320738","1399320737","1399320725"],"photo_ids_order":["1399320725","1399320735","1399320736","1399320737","1399320738","1399320739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/de615e5ff33297f4c385cb1ec294af0a.jpg","text":"TemporaryFile(/tmp/multipartBody8434567972388329971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679443152,"filename":"image_04112025_11_19_34_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6892771cf55130b046b7406790852e03.jpg","text":"TemporaryFile(/tmp/multipartBody4296495568354352736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679443152,"filename":"image_04112025_11_19_43_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/399536c192851a4e9f778b32ca5537cd.jpg","text":"TemporaryFile(/tmp/multipartBody3895950296842350795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679443152,"filename":"image_04112025_11_19_31_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d9dd8a28491d3ff4ee640707399ac75.jpg","text":"TemporaryFile(/tmp/multipartBody7222262551725952409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679443152,"filename":"image_04112025_11_19_40_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ed87c0e7da34b4c3d6af65721425d01.jpg","text":"TemporaryFile(/tmp/multipartBody535413905671039126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679443152,"filename":"image_04112025_11_19_37_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c6f7911ee1629a0679aa428781cfa8f.jpg","text":"TemporaryFile(/tmp/multipartBody5591565342493467315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679443152,"filename":"image_04112025_11_19_28_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320736","file1":"1399320735","file0":"1399320725","file4":"1399320738","file5":"1399320739","file3":"1399320737"},"map_files_photo_id_array":[{"photo_id":"1399320739","filename":"file5"},{"photo_id":"1399320736","filename":"file2"},{"photo_id":"1399320738","filename":"file4"},{"photo_id":"1399320735","filename":"file1"},{"photo_id":"1399320725","filename":"file0"},{"photo_id":"1399320737","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399320736":["hashtag1","hashtag2"]},{"1399320739":["hashtag1","hashtag2"]},{"1399320735":["hashtag1","hashtag2"]},{"1399320738":["hashtag1","hashtag2"]},{"1399320737":["hashtag1","hashtag2"]},{"1399320725":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399320736, 1399320739, 1399320735, 1399320738, 1399320737, 1399320725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79865217208862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:30:22.790419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/27/image_14122025_03_27_54_9773.jpg', '/home/pi/Desktop/images/14122025/03/27/image_14122025_03_28_04_10667.jpg', '/home/pi/Desktop/images/14122025/03/28/image_14122025_03_28_14_9847.jpg', '/home/pi/Desktop/images/14122025/03/28/image_14122025_03_28_24_9679.jpg', '/home/pi/Desktop/images/14122025/03/28/image_14122025_03_28_34_9820.jpg', '/home/pi/Desktop/images/14122025/03/29/image_14122025_03_29_13_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/27/image_14122025_03_27_54_9773.jpg
/home/pi/Desktop/images/14122025/03/27/image_14122025_03_28_04_10667.jpg
/home/pi/Desktop/images/14122025/03/28/image_14122025_03_28_14_9847.jpg
/home/pi/Desktop/images/14122025/03/28/image_14122025_03_28_24_9679.jpg
/home/pi/Desktop/images/14122025/03/28/image_14122025_03_28_34_9820.jpg
/home/pi/Desktop/images/14122025/03/29/image_14122025_03_29_13_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":["1399320748","1399320742","1399320750","1399320744","1399320741","1399320746"],"photo_ids_order":["1399320741","1399320742","1399320744","1399320746","1399320748","1399320750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b300f336e29ec767772625a0a81c909.jpg","text":"TemporaryFile(/tmp/multipartBody4357121725517960389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679483401,"filename":"image_14122025_03_28_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/12/14/0017ab55e9067492f8660c22b49c39c6.jpg","text":"TemporaryFile(/tmp/multipartBody4063087782298974600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679483401,"filename":"image_14122025_03_28_04_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd38f8d5b8227f44ee262a79cdbe6a18.jpg","text":"TemporaryFile(/tmp/multipartBody4242913051173393616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679483401,"filename":"image_14122025_03_29_13_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/49996eee6baa0508b94cfd97c09a4561.jpg","text":"TemporaryFile(/tmp/multipartBody7608359108111393559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679483401,"filename":"image_14122025_03_28_14_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8906b353ff0b57bdb89bf2fec05ffdba.jpg","text":"TemporaryFile(/tmp/multipartBody259641472284819203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679483401,"filename":"image_14122025_03_27_54_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/84297ef5f85892b1a942372f7d36e9ad.jpg","text":"TemporaryFile(/tmp/multipartBody2814141286649543769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679483401,"filename":"image_14122025_03_28_24_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320744","file1":"1399320742","file0":"1399320741","file4":"1399320748","file5":"1399320750","file3":"1399320746"},"map_files_photo_id_array":[{"photo_id":"1399320750","filename":"file5"},{"photo_id":"1399320744","filename":"file2"},{"photo_id":"1399320748","filename":"file4"},{"photo_id":"1399320742","filename":"file1"},{"photo_id":"1399320741","filename":"file0"},{"photo_id":"1399320746","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320748":["hashtag1","hashtag2"]},{"1399320742":["hashtag1","hashtag2"]},{"1399320750":["hashtag1","hashtag2"]},{"1399320744":["hashtag1","hashtag2"]},{"1399320741":["hashtag1","hashtag2"]},{"1399320746":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320748, 1399320742, 1399320750, 1399320744, 1399320741, 1399320746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5002555847168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:31:02.624875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/29/image_14122025_03_29_24_10730.jpg', '/home/pi/Desktop/images/14122025/03/29/image_14122025_03_29_34_9836.jpg', '/home/pi/Desktop/images/14122025/03/29/image_14122025_03_29_54_10801.jpg', '/home/pi/Desktop/images/14122025/03/29/image_14122025_03_30_04_9740.jpg', '/home/pi/Desktop/images/14122025/03/30/image_14122025_03_30_23_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/29/image_14122025_03_29_24_10730.jpg
/home/pi/Desktop/images/14122025/03/29/image_14122025_03_29_34_9836.jpg
/home/pi/Desktop/images/14122025/03/29/image_14122025_03_29_54_10801.jpg
/home/pi/Desktop/images/14122025/03/29/image_14122025_03_30_04_9740.jpg
/home/pi/Desktop/images/14122025/03/30/image_14122025_03_30_23_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":["1399320754","1399320753","1399320756","1399320755","1399320752"],"photo_ids_order":["1399320752","1399320753","1399320754","1399320755","1399320756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a897273bff26759e6dee349699114e21.jpg","text":"TemporaryFile(/tmp/multipartBody6620729438441950616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679523314,"filename":"image_14122025_03_29_54_10801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e8391a895e9a1ab1909d9cc1f827ac82.jpg","text":"TemporaryFile(/tmp/multipartBody8629618364646986128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679523314,"filename":"image_14122025_03_29_34_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2eea10a6ba67e63774e6fd831d2e75bf.jpg","text":"TemporaryFile(/tmp/multipartBody4731441196555683156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679523314,"filename":"image_14122025_03_30_23_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3811e7d4505069c4cbdf868a78b8db8f.jpg","text":"TemporaryFile(/tmp/multipartBody6515585052776597994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679523314,"filename":"image_14122025_03_30_04_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bc4269f95ee80ec1bb2647a6e7b7ea28.jpg","text":"TemporaryFile(/tmp/multipartBody2713189525958266405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679523314,"filename":"image_14122025_03_29_24_10730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320754","file1":"1399320753","file0":"1399320752","file4":"1399320756","file3":"1399320755"},"map_files_photo_id_array":[{"photo_id":"1399320754","filename":"file2"},{"photo_id":"1399320756","filename":"file4"},{"photo_id":"1399320753","filename":"file1"},{"photo_id":"1399320752","filename":"file0"},{"photo_id":"1399320755","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320754":["hashtag1","hashtag2"]},{"1399320753":["hashtag1","hashtag2"]},{"1399320756":["hashtag1","hashtag2"]},{"1399320755":["hashtag1","hashtag2"]},{"1399320752":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320754, 1399320753, 1399320756, 1399320755, 1399320752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.13056945800781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:31:41.920038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_46_3565.jpg', '/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_49_2622.jpg', '/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_51_2682.jpg', '/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_55_3698.jpg', '/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_58_2660.jpg', '/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_07_3009.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_46_3565.jpg
/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_49_2622.jpg
/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_51_2682.jpg
/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_55_3698.jpg
/home/pi/Desktop/images/04112025/11/19/image_04112025_11_19_58_2660.jpg
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_07_3009.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399320766","1399320763","1399320762","1399320765","1399320761","1399320764"],"photo_ids_order":["1399320761","1399320762","1399320763","1399320764","1399320765","1399320766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d48d140eb35a26d60ecef254f9dae04.jpg","text":"TemporaryFile(/tmp/multipartBody5178829990188921760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679562598,"filename":"image_04112025_11_20_07_3009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1837434bf5fc4bd93f3df1494df89d58.jpg","text":"TemporaryFile(/tmp/multipartBody6204542392649941265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679562598,"filename":"image_04112025_11_19_51_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4209b039f2bdd06b2af1c77122ea175a.jpg","text":"TemporaryFile(/tmp/multipartBody8668519990397536357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679562598,"filename":"image_04112025_11_19_49_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/755a0949c083f2fa669cfa7f71dbe314.jpg","text":"TemporaryFile(/tmp/multipartBody575330192056421810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679562598,"filename":"image_04112025_11_19_58_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/80edee645fdba528b573af64431b9a5c.jpg","text":"TemporaryFile(/tmp/multipartBody5742027615483057927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679562598,"filename":"image_04112025_11_19_46_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ee69b47e95868a2cfa72185a2f6e021.jpg","text":"TemporaryFile(/tmp/multipartBody5466957168669078874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679562598,"filename":"image_04112025_11_19_55_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320763","file1":"1399320762","file0":"1399320761","file4":"1399320765","file5":"1399320766","file3":"1399320764"},"map_files_photo_id_array":[{"photo_id":"1399320766","filename":"file5"},{"photo_id":"1399320763","filename":"file2"},{"photo_id":"1399320765","filename":"file4"},{"photo_id":"1399320762","filename":"file1"},{"photo_id":"1399320761","filename":"file0"},{"photo_id":"1399320764","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399320766":["hashtag1","hashtag2"]},{"1399320763":["hashtag1","hashtag2"]},{"1399320762":["hashtag1","hashtag2"]},{"1399320765":["hashtag1","hashtag2"]},{"1399320761":["hashtag1","hashtag2"]},{"1399320764":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399320766, 1399320763, 1399320762, 1399320765, 1399320761, 1399320764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69859600067139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:32:22.154210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/30/image_14122025_03_30_54_10707.jpg', '/home/pi/Desktop/images/14122025/03/30/image_14122025_03_31_04_9645.jpg', '/home/pi/Desktop/images/14122025/03/31/image_14122025_03_32_03_9838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/30/image_14122025_03_30_54_10707.jpg
/home/pi/Desktop/images/14122025/03/30/image_14122025_03_31_04_9645.jpg
/home/pi/Desktop/images/14122025/03/31/image_14122025_03_32_03_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":["1399320769","1399320771","1399320767"],"photo_ids_order":["1399320767","1399320769","1399320771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d4a4d1b0c9d5e81d75c28a51cb1fc4cb.jpg","text":"TemporaryFile(/tmp/multipartBody3675715987541667457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679602646,"filename":"image_14122025_03_31_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c449afba58ca6febe2ce2639fb19b066.jpg","text":"TemporaryFile(/tmp/multipartBody3745508471376697317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679602646,"filename":"image_14122025_03_32_03_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d44230ef58f8f680942d76298d3bf72d.jpg","text":"TemporaryFile(/tmp/multipartBody3516167189699949671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679602646,"filename":"image_14122025_03_30_54_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320771","file1":"1399320769","file0":"1399320767"},"map_files_photo_id_array":[{"photo_id":"1399320771","filename":"file2"},{"photo_id":"1399320769","filename":"file1"},{"photo_id":"1399320767","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320769":["hashtag1","hashtag2"]},{"1399320771":["hashtag1","hashtag2"]},{"1399320767":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320769, 1399320771, 1399320767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.73761510848999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:33:03.057820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:33:12.374037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:33:22.451014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/32/image_14122025_03_32_24_9606.jpg', '/home/pi/Desktop/images/14122025/03/33/image_14122025_03_33_14_9759.jpg', '/home/pi/Desktop/images/14122025/03/33/image_14122025_03_33_24_9720.jpg', '/home/pi/Desktop/images/14122025/03/33/image_14122025_03_33_33_9611.jpg', '/home/pi/Desktop/images/14122025/03/33/image_14122025_03_33_44_10884.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/32/image_14122025_03_32_24_9606.jpg
/home/pi/Desktop/images/14122025/03/33/image_14122025_03_33_14_9759.jpg
/home/pi/Desktop/images/14122025/03/33/image_14122025_03_33_24_9720.jpg
/home/pi/Desktop/images/14122025/03/33/image_14122025_03_33_33_9611.jpg
/home/pi/Desktop/images/14122025/03/33/image_14122025_03_33_44_10884.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399320784","1399320778","1399320780","1399320786","1399320782"],"photo_ids_order":["1399320778","1399320780","1399320782","1399320784","1399320786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3bdb90b4440999f2f769a2beaef9ab6b.jpg","text":"TemporaryFile(/tmp/multipartBody8026878324266172452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679663626,"filename":"image_14122025_03_33_33_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2269f918b0623815b794f772ff543f7b.jpg","text":"TemporaryFile(/tmp/multipartBody1906500425380820731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679663626,"filename":"image_14122025_03_32_24_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/06a2c8280d64d3470f4790cb69f66d8b.jpg","text":"TemporaryFile(/tmp/multipartBody8892948118192648787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679663626,"filename":"image_14122025_03_33_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/12/14/b9dffcda05a1f804e205058917045503.jpg","text":"TemporaryFile(/tmp/multipartBody3660712839262079905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679663626,"filename":"image_14122025_03_33_44_10884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7eb013d576221dd4a559799ef42538e1.jpg","text":"TemporaryFile(/tmp/multipartBody1691463277789444354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679663626,"filename":"image_14122025_03_33_24_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320782","file1":"1399320780","file0":"1399320778","file4":"1399320786","file3":"1399320784"},"map_files_photo_id_array":[{"photo_id":"1399320782","filename":"file2"},{"photo_id":"1399320786","filename":"file4"},{"photo_id":"1399320780","filename":"file1"},{"photo_id":"1399320778","filename":"file0"},{"photo_id":"1399320784","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320784":["hashtag1","hashtag2"]},{"1399320778":["hashtag1","hashtag2"]},{"1399320780":["hashtag1","hashtag2"]},{"1399320786":["hashtag1","hashtag2"]},{"1399320782":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320784, 1399320778, 1399320780, 1399320786, 1399320782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.31089758872986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:34:03.320330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:34:12.644598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:34:22.667066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/33/image_14122025_03_33_54_9570.jpg', '/home/pi/Desktop/images/14122025/03/33/image_14122025_03_34_04_9837.jpg', '/home/pi/Desktop/images/14122025/03/34/image_14122025_03_34_13_9963.jpg', '/home/pi/Desktop/images/14122025/03/34/image_14122025_03_34_24_10669.jpg', '/home/pi/Desktop/images/14122025/03/34/image_14122025_03_34_34_9620.jpg', '/home/pi/Desktop/images/14122025/03/34/image_14122025_03_34_44_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/33/image_14122025_03_33_54_9570.jpg
/home/pi/Desktop/images/14122025/03/33/image_14122025_03_34_04_9837.jpg
/home/pi/Desktop/images/14122025/03/34/image_14122025_03_34_13_9963.jpg
/home/pi/Desktop/images/14122025/03/34/image_14122025_03_34_24_10669.jpg
/home/pi/Desktop/images/14122025/03/34/image_14122025_03_34_34_9620.jpg
/home/pi/Desktop/images/14122025/03/34/image_14122025_03_34_44_9813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399320790","1399320793","1399320795","1399320798","1399320791","1399320796"],"photo_ids_order":["1399320790","1399320791","1399320793","1399320795","1399320796","1399320798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6a5f802678fdccc4ef34f32e5390ee43.jpg","text":"TemporaryFile(/tmp/multipartBody1163270650985479289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679723342,"filename":"image_14122025_03_33_54_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d5f85fa0a00ea6ffd1b26c83c2984b43.jpg","text":"TemporaryFile(/tmp/multipartBody8692885963433913792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679723342,"filename":"image_14122025_03_34_13_9963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3db71d40096f997cf7608dded99ad6a6.jpg","text":"TemporaryFile(/tmp/multipartBody8163114538742848254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679723342,"filename":"image_14122025_03_34_24_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2120d7033bdf40e5b4909f481ed58e7.jpg","text":"TemporaryFile(/tmp/multipartBody4359256438594491469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679723342,"filename":"image_14122025_03_34_44_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f50b463e84930b50d6b54cf4e8d5299.jpg","text":"TemporaryFile(/tmp/multipartBody1647977136854534643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679723342,"filename":"image_14122025_03_34_04_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9377fb1ac0b3a745120ce8567ff8c62.jpg","text":"TemporaryFile(/tmp/multipartBody8564205584517295956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679723342,"filename":"image_14122025_03_34_34_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320793","file1":"1399320791","file0":"1399320790","file4":"1399320796","file5":"1399320798","file3":"1399320795"},"map_files_photo_id_array":[{"photo_id":"1399320798","filename":"file5"},{"photo_id":"1399320793","filename":"file2"},{"photo_id":"1399320796","filename":"file4"},{"photo_id":"1399320791","filename":"file1"},{"photo_id":"1399320790","filename":"file0"},{"photo_id":"1399320795","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320790":["hashtag1","hashtag2"]},{"1399320793":["hashtag1","hashtag2"]},{"1399320795":["hashtag1","hashtag2"]},{"1399320798":["hashtag1","hashtag2"]},{"1399320791":["hashtag1","hashtag2"]},{"1399320796":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320790, 1399320793, 1399320795, 1399320798, 1399320791, 1399320796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14701747894287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:35:02.645876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:35:11.837295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:35:21.954142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/34/image_14122025_03_34_53_9683.jpg', '/home/pi/Desktop/images/14122025/03/34/image_14122025_03_35_04_10639.jpg', '/home/pi/Desktop/images/14122025/03/35/image_14122025_03_35_34_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/34/image_14122025_03_34_53_9683.jpg
/home/pi/Desktop/images/14122025/03/34/image_14122025_03_35_04_10639.jpg
/home/pi/Desktop/images/14122025/03/35/image_14122025_03_35_34_10676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399320805","1399320801","1399320804"],"photo_ids_order":["1399320801","1399320804","1399320805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/42e64ce3b436a954515850c0e3019a46.jpg","text":"TemporaryFile(/tmp/multipartBody5874117006712757921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679782473,"filename":"image_14122025_03_35_34_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/441fd9f25dcfb0d644804ea3a965e29b.jpg","text":"TemporaryFile(/tmp/multipartBody6568477162027929488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679782473,"filename":"image_14122025_03_34_53_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f36baec9b9f086f2ea1b82d878a9530.jpg","text":"TemporaryFile(/tmp/multipartBody2193150909351212143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679782473,"filename":"image_14122025_03_35_04_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320805","file1":"1399320804","file0":"1399320801"},"map_files_photo_id_array":[{"photo_id":"1399320805","filename":"file2"},{"photo_id":"1399320804","filename":"file1"},{"photo_id":"1399320801","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320805":["hashtag1","hashtag2"]},{"1399320801":["hashtag1","hashtag2"]},{"1399320804":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320805, 1399320801, 1399320804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.590203762054443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:36:02.508882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:36:12.081008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:36:22.166055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/35/image_14122025_03_35_44_9652.jpg', '/home/pi/Desktop/images/14122025/03/35/image_14122025_03_36_04_10651.jpg', '/home/pi/Desktop/images/14122025/03/36/image_14122025_03_36_24_10391.jpg', '/home/pi/Desktop/images/14122025/03/36/image_14122025_03_36_34_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/35/image_14122025_03_35_44_9652.jpg
/home/pi/Desktop/images/14122025/03/35/image_14122025_03_36_04_10651.jpg
/home/pi/Desktop/images/14122025/03/36/image_14122025_03_36_24_10391.jpg
/home/pi/Desktop/images/14122025/03/36/image_14122025_03_36_34_9560.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.433063268661499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:36:32.097620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:36:42.073565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_11_3749.jpg', '/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_13_2773.jpg', '/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_16_2693.jpg', '/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_20_3644.jpg', '/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_22_2617.jpg', '/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_25_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_11_3749.jpg
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_13_2773.jpg
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_16_2693.jpg
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_20_3644.jpg
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_22_2617.jpg
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_25_2627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399320829","1399320826","1399320825","1399320828","1399320830","1399320827"],"photo_ids_order":["1399320825","1399320826","1399320827","1399320828","1399320829","1399320830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6bed96af802692d4e52639b121032328.jpg","text":"TemporaryFile(/tmp/multipartBody6409133753417890221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679862776,"filename":"image_04112025_11_20_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/12/14/d5d1206c3a45fae967540fbe770aa651.jpg","text":"TemporaryFile(/tmp/multipartBody6265308463308157363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679862776,"filename":"image_04112025_11_20_13_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e864b726e13f392a262d70741ff0df38.jpg","text":"TemporaryFile(/tmp/multipartBody8976171525927684834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679862776,"filename":"image_04112025_11_20_11_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc360135b39c33659b457fb6dc62a4df.jpg","text":"TemporaryFile(/tmp/multipartBody6311169848848077729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679862776,"filename":"image_04112025_11_20_20_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c83af01ba0bf4f2c0ff5dccbe5736c85.jpg","text":"TemporaryFile(/tmp/multipartBody968634070240837483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679862776,"filename":"image_04112025_11_20_25_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8890ddce653f21cc0b6c1023246ca664.jpg","text":"TemporaryFile(/tmp/multipartBody6799323379739423515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679862776,"filename":"image_04112025_11_20_16_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320827","file1":"1399320826","file0":"1399320825","file4":"1399320829","file5":"1399320830","file3":"1399320828"},"map_files_photo_id_array":[{"photo_id":"1399320830","filename":"file5"},{"photo_id":"1399320827","filename":"file2"},{"photo_id":"1399320829","filename":"file4"},{"photo_id":"1399320826","filename":"file1"},{"photo_id":"1399320825","filename":"file0"},{"photo_id":"1399320828","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399320829":["hashtag1","hashtag2"]},{"1399320826":["hashtag1","hashtag2"]},{"1399320825":["hashtag1","hashtag2"]},{"1399320828":["hashtag1","hashtag2"]},{"1399320830":["hashtag1","hashtag2"]},{"1399320827":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399320829, 1399320826, 1399320825, 1399320828, 1399320830, 1399320827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.521079301834106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:37:35.423639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:37:42.489016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_29_3689.jpg', '/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_31_2672.jpg', '/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_34_2586.jpg', '/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_38_3667.jpg', '/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_40_2772.jpg', '/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_43_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_29_3689.jpg
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_31_2672.jpg
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_34_2586.jpg
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_38_3667.jpg
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_40_2772.jpg
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_43_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":["1399320841","1399320838","1399320840","1399320842","1399320836","1399320839"],"photo_ids_order":["1399320836","1399320838","1399320839","1399320840","1399320841","1399320842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d8aeebe234b0442033b85774d48da0b.jpg","text":"TemporaryFile(/tmp/multipartBody434171419005302920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679923173,"filename":"image_04112025_11_20_40_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/382fc0bc4faf750b9c68cb0a8655e1e3.jpg","text":"TemporaryFile(/tmp/multipartBody2606445383735029827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679923173,"filename":"image_04112025_11_20_31_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/572e00f2288e6dca637237e6f6ba15f9.jpg","text":"TemporaryFile(/tmp/multipartBody913773709948505597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679923173,"filename":"image_04112025_11_20_38_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f54d3a39ef20cf2d04c8946078b987e9.jpg","text":"TemporaryFile(/tmp/multipartBody2922613276748407477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679923173,"filename":"image_04112025_11_20_43_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c8a00901d025ccc14976597e8c820e77.jpg","text":"TemporaryFile(/tmp/multipartBody8704984280706239670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679923173,"filename":"image_04112025_11_20_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/12/14/ed4edf39bd5f0f6c1faa466d3b65386a.jpg","text":"TemporaryFile(/tmp/multipartBody5526222950648891006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679923173,"filename":"image_04112025_11_20_34_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320839","file1":"1399320838","file0":"1399320836","file4":"1399320841","file5":"1399320842","file3":"1399320840"},"map_files_photo_id_array":[{"photo_id":"1399320842","filename":"file5"},{"photo_id":"1399320839","filename":"file2"},{"photo_id":"1399320841","filename":"file4"},{"photo_id":"1399320838","filename":"file1"},{"photo_id":"1399320836","filename":"file0"},{"photo_id":"1399320840","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399320841":["hashtag1","hashtag2"]},{"1399320838":["hashtag1","hashtag2"]},{"1399320840":["hashtag1","hashtag2"]},{"1399320842":["hashtag1","hashtag2"]},{"1399320836":["hashtag1","hashtag2"]},{"1399320839":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399320841, 1399320838, 1399320840, 1399320842, 1399320836, 1399320839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.985132932662964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:38:22.730258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/35/image_14122025_03_35_44_9652.jpg', '/home/pi/Desktop/images/14122025/03/35/image_14122025_03_36_04_10651.jpg', '/home/pi/Desktop/images/14122025/03/36/image_14122025_03_36_24_10391.jpg', '/home/pi/Desktop/images/14122025/03/36/image_14122025_03_36_34_9560.jpg', '/home/pi/Desktop/images/14122025/03/36/image_14122025_03_36_43_9738.jpg', '/home/pi/Desktop/images/14122025/03/37/image_14122025_03_37_13_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/35/image_14122025_03_35_44_9652.jpg
/home/pi/Desktop/images/14122025/03/35/image_14122025_03_36_04_10651.jpg
/home/pi/Desktop/images/14122025/03/36/image_14122025_03_36_24_10391.jpg
/home/pi/Desktop/images/14122025/03/36/image_14122025_03_36_34_9560.jpg
/home/pi/Desktop/images/14122025/03/36/image_14122025_03_36_43_9738.jpg
/home/pi/Desktop/images/14122025/03/37/image_14122025_03_37_13_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":["1399320847","1399320843","1399320849","1399320854","1399320851","1399320845"],"photo_ids_order":["1399320843","1399320845","1399320847","1399320849","1399320851","1399320854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e77e5588c9321f74201095f696b1b85.jpg","text":"TemporaryFile(/tmp/multipartBody2484525510019421692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679963353,"filename":"image_14122025_03_36_24_10391.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c93f4208ecd2e787c2971c85f26de783.jpg","text":"TemporaryFile(/tmp/multipartBody1491688299116046566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679963353,"filename":"image_14122025_03_35_44_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f32587594eb5741367bd7f31a5ab17db.jpg","text":"TemporaryFile(/tmp/multipartBody5964219833805747900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679963353,"filename":"image_14122025_03_36_34_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69240fe1146ec595a787b01ee9c61647.jpg","text":"TemporaryFile(/tmp/multipartBody7880053910861211536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679963353,"filename":"image_14122025_03_37_13_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/699e860a8ed77f35f00fed8e3371f9da.jpg","text":"TemporaryFile(/tmp/multipartBody6706116438086103101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679963353,"filename":"image_14122025_03_36_43_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e48cf37af480c7cdb97aa2bdcdf7341.jpg","text":"TemporaryFile(/tmp/multipartBody486211399328895691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765679963353,"filename":"image_14122025_03_36_04_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320847","file1":"1399320845","file0":"1399320843","file4":"1399320851","file5":"1399320854","file3":"1399320849"},"map_files_photo_id_array":[{"photo_id":"1399320854","filename":"file5"},{"photo_id":"1399320847","filename":"file2"},{"photo_id":"1399320851","filename":"file4"},{"photo_id":"1399320845","filename":"file1"},{"photo_id":"1399320843","filename":"file0"},{"photo_id":"1399320849","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320847":["hashtag1","hashtag2"]},{"1399320843":["hashtag1","hashtag2"]},{"1399320849":["hashtag1","hashtag2"]},{"1399320854":["hashtag1","hashtag2"]},{"1399320851":["hashtag1","hashtag2"]},{"1399320845":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320847, 1399320843, 1399320849, 1399320854, 1399320851, 1399320845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54952621459961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:39:02.946308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/37/image_14122025_03_37_24_10637.jpg', '/home/pi/Desktop/images/14122025/03/37/image_14122025_03_37_34_9615.jpg', '/home/pi/Desktop/images/14122025/03/37/image_14122025_03_37_43_9642.jpg', '/home/pi/Desktop/images/14122025/03/37/image_14122025_03_37_54_10652.jpg', '/home/pi/Desktop/images/14122025/03/38/image_14122025_03_38_13_9722.jpg', '/home/pi/Desktop/images/14122025/03/38/image_14122025_03_38_24_10587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/37/image_14122025_03_37_24_10637.jpg
/home/pi/Desktop/images/14122025/03/37/image_14122025_03_37_34_9615.jpg
/home/pi/Desktop/images/14122025/03/37/image_14122025_03_37_43_9642.jpg
/home/pi/Desktop/images/14122025/03/37/image_14122025_03_37_54_10652.jpg
/home/pi/Desktop/images/14122025/03/38/image_14122025_03_38_13_9722.jpg
/home/pi/Desktop/images/14122025/03/38/image_14122025_03_38_24_10587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399320871","1399320868","1399320870","1399320873","1399320872","1399320875"],"photo_ids_order":["1399320868","1399320870","1399320871","1399320872","1399320873","1399320875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cb5e1b45fa554922c1b1c06e32925369.jpg","text":"TemporaryFile(/tmp/multipartBody8656645329278520290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680003756,"filename":"image_14122025_03_37_43_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9b120d4de9c60dbe5e2f11de8a11b52e.jpg","text":"TemporaryFile(/tmp/multipartBody6429071570914334345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680003756,"filename":"image_14122025_03_37_24_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0e41732809c048c009b15c1fdff1d5e5.jpg","text":"TemporaryFile(/tmp/multipartBody192175447037116898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680003756,"filename":"image_14122025_03_37_34_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c8c864312e27896bd868d0d2bd5ea0fd.jpg","text":"TemporaryFile(/tmp/multipartBody7111998032886231534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680003756,"filename":"image_14122025_03_38_13_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/691beba973e4a0217306166a573f3076.jpg","text":"TemporaryFile(/tmp/multipartBody1402198146217799863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680003756,"filename":"image_14122025_03_37_54_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cad535c715d9b78fe3d23f6e4ac39908.jpg","text":"TemporaryFile(/tmp/multipartBody2642909445375968792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680003756,"filename":"image_14122025_03_38_24_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320871","file1":"1399320870","file0":"1399320868","file4":"1399320873","file5":"1399320875","file3":"1399320872"},"map_files_photo_id_array":[{"photo_id":"1399320875","filename":"file5"},{"photo_id":"1399320871","filename":"file2"},{"photo_id":"1399320873","filename":"file4"},{"photo_id":"1399320870","filename":"file1"},{"photo_id":"1399320868","filename":"file0"},{"photo_id":"1399320872","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320871":["hashtag1","hashtag2"]},{"1399320868":["hashtag1","hashtag2"]},{"1399320870":["hashtag1","hashtag2"]},{"1399320873":["hashtag1","hashtag2"]},{"1399320872":["hashtag1","hashtag2"]},{"1399320875":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320871, 1399320868, 1399320870, 1399320873, 1399320872, 1399320875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.190821409225464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:39:41.966171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_47_3682.jpg', '/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_49_2662.jpg', '/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_52_2725.jpg', '/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_56_3686.jpg', '/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_58_2611.jpg', '/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_01_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_47_3682.jpg
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_49_2662.jpg
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_52_2725.jpg
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_56_3686.jpg
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_58_2611.jpg
/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_01_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: 0.6563572883605957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:40:02.555972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/38/image_14122025_03_38_34_9774.jpg', '/home/pi/Desktop/images/14122025/03/38/image_14122025_03_38_43_9672.jpg', '/home/pi/Desktop/images/14122025/03/38/image_14122025_03_38_54_10720.jpg', '/home/pi/Desktop/images/14122025/03/39/image_14122025_03_39_13_9602.jpg', '/home/pi/Desktop/images/14122025/03/39/image_14122025_03_39_24_10731.jpg', '/home/pi/Desktop/images/14122025/03/39/image_14122025_03_39_34_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/38/image_14122025_03_38_34_9774.jpg
/home/pi/Desktop/images/14122025/03/38/image_14122025_03_38_43_9672.jpg
/home/pi/Desktop/images/14122025/03/38/image_14122025_03_38_54_10720.jpg
/home/pi/Desktop/images/14122025/03/39/image_14122025_03_39_13_9602.jpg
/home/pi/Desktop/images/14122025/03/39/image_14122025_03_39_24_10731.jpg
/home/pi/Desktop/images/14122025/03/39/image_14122025_03_39_34_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":["1399320892","1399320886","1399320889","1399320888","1399320890","1399320887"],"photo_ids_order":["1399320886","1399320887","1399320888","1399320889","1399320890","1399320892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90f380b7bf7e891cbcf55e1f2fe5dce5.jpg","text":"TemporaryFile(/tmp/multipartBody553108851011857577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680063195,"filename":"image_14122025_03_39_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2761d661ad37eb9500c0562c700c93f2.jpg","text":"TemporaryFile(/tmp/multipartBody3882568050061875708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680063195,"filename":"image_14122025_03_38_34_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9e4647bb422225471a64b7075becd793.jpg","text":"TemporaryFile(/tmp/multipartBody2261880032475706474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680063195,"filename":"image_14122025_03_39_13_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/53b96eb232c19940c185e441b23171a4.jpg","text":"TemporaryFile(/tmp/multipartBody8577945573912060044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680063195,"filename":"image_14122025_03_38_54_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b74ac2cc2defd6826688b1439581fef.jpg","text":"TemporaryFile(/tmp/multipartBody4918733991398399592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680063195,"filename":"image_14122025_03_39_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/12/14/76cbee89bcc62525a6d919a530b08bac.jpg","text":"TemporaryFile(/tmp/multipartBody8471399995417785048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680063195,"filename":"image_14122025_03_38_43_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320888","file1":"1399320887","file0":"1399320886","file4":"1399320890","file5":"1399320892","file3":"1399320889"},"map_files_photo_id_array":[{"photo_id":"1399320892","filename":"file5"},{"photo_id":"1399320888","filename":"file2"},{"photo_id":"1399320890","filename":"file4"},{"photo_id":"1399320887","filename":"file1"},{"photo_id":"1399320886","filename":"file0"},{"photo_id":"1399320889","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320892":["hashtag1","hashtag2"]},{"1399320886":["hashtag1","hashtag2"]},{"1399320889":["hashtag1","hashtag2"]},{"1399320888":["hashtag1","hashtag2"]},{"1399320890":["hashtag1","hashtag2"]},{"1399320887":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320892, 1399320886, 1399320889, 1399320888, 1399320890, 1399320887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.343175172805786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:40:42.110971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_47_3682.jpg', '/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_49_2662.jpg', '/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_52_2725.jpg', '/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_56_3686.jpg', '/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_58_2611.jpg', '/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_01_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_47_3682.jpg
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_49_2662.jpg
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_52_2725.jpg
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_56_3686.jpg
/home/pi/Desktop/images/04112025/11/20/image_04112025_11_20_58_2611.jpg
/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_01_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":["1399320902","1399320901","1399320897","1399320900","1399320899","1399320903"],"photo_ids_order":["1399320897","1399320899","1399320900","1399320901","1399320902","1399320903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a5c3d1b27b5a5f7d3513aac09e925d8.jpg","text":"TemporaryFile(/tmp/multipartBody432032087481403662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680102827,"filename":"image_04112025_11_20_58_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b705292706443f0c7f3179b810a25fb6.jpg","text":"TemporaryFile(/tmp/multipartBody5950353160000134935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680102827,"filename":"image_04112025_11_20_56_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/df4e2f5a63ffb830c71c576bfd87403d.jpg","text":"TemporaryFile(/tmp/multipartBody1681445585905654892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680102827,"filename":"image_04112025_11_20_47_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0a88ae06db63529bfdf74af1463c3344.jpg","text":"TemporaryFile(/tmp/multipartBody7684795273026172473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680102827,"filename":"image_04112025_11_20_52_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c387d6d441b8553c36ef3c8f971ec071.jpg","text":"TemporaryFile(/tmp/multipartBody5119272077037036252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680102827,"filename":"image_04112025_11_20_49_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f7cacaae85998d723b76d148c549fcfd.jpg","text":"TemporaryFile(/tmp/multipartBody2372148848780682415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680102827,"filename":"image_04112025_11_21_01_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320900","file1":"1399320899","file0":"1399320897","file4":"1399320902","file5":"1399320903","file3":"1399320901"},"map_files_photo_id_array":[{"photo_id":"1399320903","filename":"file5"},{"photo_id":"1399320900","filename":"file2"},{"photo_id":"1399320902","filename":"file4"},{"photo_id":"1399320899","filename":"file1"},{"photo_id":"1399320897","filename":"file0"},{"photo_id":"1399320901","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399320902":["hashtag1","hashtag2"]},{"1399320901":["hashtag1","hashtag2"]},{"1399320897":["hashtag1","hashtag2"]},{"1399320900":["hashtag1","hashtag2"]},{"1399320899":["hashtag1","hashtag2"]},{"1399320903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399320902, 1399320901, 1399320897, 1399320900, 1399320899, 1399320903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53001046180725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:41:22.383058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/39/image_14122025_03_39_43_9578.jpg', '/home/pi/Desktop/images/14122025/03/39/image_14122025_03_40_04_9852.jpg', '/home/pi/Desktop/images/14122025/03/40/image_14122025_03_41_04_10663.jpg', '/home/pi/Desktop/images/14122025/03/41/image_14122025_03_41_14_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/39/image_14122025_03_39_43_9578.jpg
/home/pi/Desktop/images/14122025/03/39/image_14122025_03_40_04_9852.jpg
/home/pi/Desktop/images/14122025/03/40/image_14122025_03_41_04_10663.jpg
/home/pi/Desktop/images/14122025/03/41/image_14122025_03_41_14_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399320908","1399320910","1399320904","1399320906"],"photo_ids_order":["1399320904","1399320906","1399320908","1399320910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f20229104732da8b1137fa9fc8fa374.jpg","text":"TemporaryFile(/tmp/multipartBody337897960941238309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680142919,"filename":"image_14122025_03_41_04_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/53e64b1b0cc64a2b620ccf303257f69f.jpg","text":"TemporaryFile(/tmp/multipartBody7204599565682063245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680142919,"filename":"image_14122025_03_41_14_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b392e8e779d3444a805eff6bfa73fb55.jpg","text":"TemporaryFile(/tmp/multipartBody5258397085808012766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680142919,"filename":"image_14122025_03_39_43_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ffc478a0f80fe1c32fed10f4bf74877.jpg","text":"TemporaryFile(/tmp/multipartBody2499768726109532554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680142919,"filename":"image_14122025_03_40_04_9852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320908","file1":"1399320906","file0":"1399320904","file3":"1399320910"},"map_files_photo_id_array":[{"photo_id":"1399320908","filename":"file2"},{"photo_id":"1399320906","filename":"file1"},{"photo_id":"1399320904","filename":"file0"},{"photo_id":"1399320910","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320908":["hashtag1","hashtag2"]},{"1399320910":["hashtag1","hashtag2"]},{"1399320904":["hashtag1","hashtag2"]},{"1399320906":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320908, 1399320910, 1399320904, 1399320906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.680671215057373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:42:03.164218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:42:12.676970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:42:22.701586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/41/image_14122025_03_41_24_9714.jpg', '/home/pi/Desktop/images/14122025/03/41/image_14122025_03_42_03_9772.jpg', '/home/pi/Desktop/images/14122025/03/42/image_14122025_03_42_24_9660.jpg', '/home/pi/Desktop/images/14122025/03/42/image_14122025_03_42_33_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/41/image_14122025_03_41_24_9714.jpg
/home/pi/Desktop/images/14122025/03/41/image_14122025_03_42_03_9772.jpg
/home/pi/Desktop/images/14122025/03/42/image_14122025_03_42_24_9660.jpg
/home/pi/Desktop/images/14122025/03/42/image_14122025_03_42_33_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":["1399320919","1399320921","1399320918","1399320923"],"photo_ids_order":["1399320918","1399320919","1399320921","1399320923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd5177a635fa917bc7f0c11a5b44a37c.jpg","text":"TemporaryFile(/tmp/multipartBody1106761197443352686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680203243,"filename":"image_14122025_03_42_03_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d48859b72b50798b8ad7e26b8a35189.jpg","text":"TemporaryFile(/tmp/multipartBody3422096428274354098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680203243,"filename":"image_14122025_03_42_24_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cb26cb85d80866bcde2f203745b50071.jpg","text":"TemporaryFile(/tmp/multipartBody5566079215779432417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680203243,"filename":"image_14122025_03_41_24_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f254c5cd50207b3713da97a8e9283c8.jpg","text":"TemporaryFile(/tmp/multipartBody2354644211348805462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680203243,"filename":"image_14122025_03_42_33_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320921","file1":"1399320919","file0":"1399320918","file3":"1399320923"},"map_files_photo_id_array":[{"photo_id":"1399320921","filename":"file2"},{"photo_id":"1399320919","filename":"file1"},{"photo_id":"1399320918","filename":"file0"},{"photo_id":"1399320923","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320919":["hashtag1","hashtag2"]},{"1399320921":["hashtag1","hashtag2"]},{"1399320918":["hashtag1","hashtag2"]},{"1399320923":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320919, 1399320921, 1399320918, 1399320923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.345706462860107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:43:03.323996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:43:12.609143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:43:22.651998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/42/image_14122025_03_42_44_10591.jpg', '/home/pi/Desktop/images/14122025/03/43/image_14122025_03_43_14_9850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/42/image_14122025_03_42_44_10591.jpg
/home/pi/Desktop/images/14122025/03/43/image_14122025_03_43_14_9850.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399320934","1399320936"],"photo_ids_order":["1399320934","1399320936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb43f03e9a2c26004f106649cb4b8d50.jpg","text":"TemporaryFile(/tmp/multipartBody5209336992612141914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680263393,"filename":"image_14122025_03_42_44_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56cb26d0ce0cd4e841ce2f9916f268ed.jpg","text":"TemporaryFile(/tmp/multipartBody3890529989945566850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680263393,"filename":"image_14122025_03_43_14_9850.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399320936","file0":"1399320934"},"map_files_photo_id_array":[{"photo_id":"1399320936","filename":"file1"},{"photo_id":"1399320934","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320934":["hashtag1","hashtag2"]},{"1399320936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320934, 1399320936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.094256162643433 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:43:42.547940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_04_2756.jpg', '/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_07_3573.jpg', '/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_10_2798.jpg', '/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_13_2754.jpg', '/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_17_3680.jpg', '/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_19_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_04_2756.jpg
/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_07_3573.jpg
/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_10_2798.jpg
/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_13_2754.jpg
/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_17_3680.jpg
/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_19_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":["1399320946","1399320940","1399320943","1399320942","1399320945","1399320944"],"photo_ids_order":["1399320940","1399320942","1399320943","1399320944","1399320945","1399320946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/860de0559701bb961867eb707a5951ee.jpg","text":"TemporaryFile(/tmp/multipartBody5846054675217373913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680283221,"filename":"image_04112025_11_21_19_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/06c55e842db70524ada72b28523123ca.jpg","text":"TemporaryFile(/tmp/multipartBody1433328037703734964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680283221,"filename":"image_04112025_11_21_04_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cbfc782bbbc232cd648b7793036feee8.jpg","text":"TemporaryFile(/tmp/multipartBody7471217918300373335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680283221,"filename":"image_04112025_11_21_10_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc66750707c6776a184f5a5391fef468.jpg","text":"TemporaryFile(/tmp/multipartBody8907312074508846271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680283221,"filename":"image_04112025_11_21_07_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3068f2b45d4ff8f15629711609f91ad9.jpg","text":"TemporaryFile(/tmp/multipartBody617230314267031511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680283221,"filename":"image_04112025_11_21_17_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f455eb4e5e5ee5ed18f490c2119151a5.jpg","text":"TemporaryFile(/tmp/multipartBody2580634423378989542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680283221,"filename":"image_04112025_11_21_13_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320943","file1":"1399320942","file0":"1399320940","file4":"1399320945","file5":"1399320946","file3":"1399320944"},"map_files_photo_id_array":[{"photo_id":"1399320946","filename":"file5"},{"photo_id":"1399320943","filename":"file2"},{"photo_id":"1399320945","filename":"file4"},{"photo_id":"1399320942","filename":"file1"},{"photo_id":"1399320940","filename":"file0"},{"photo_id":"1399320944","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399320946":["hashtag1","hashtag2"]},{"1399320940":["hashtag1","hashtag2"]},{"1399320943":["hashtag1","hashtag2"]},{"1399320942":["hashtag1","hashtag2"]},{"1399320945":["hashtag1","hashtag2"]},{"1399320944":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399320946, 1399320940, 1399320943, 1399320942, 1399320945, 1399320944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78745174407959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:44:22.790494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/43/image_14122025_03_43_54_9704.jpg', '/home/pi/Desktop/images/14122025/03/44/image_14122025_03_44_13_9684.jpg', '/home/pi/Desktop/images/14122025/03/44/image_14122025_03_44_24_10575.jpg', '/home/pi/Desktop/images/14122025/03/44/image_14122025_03_44_34_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/43/image_14122025_03_43_54_9704.jpg
/home/pi/Desktop/images/14122025/03/44/image_14122025_03_44_13_9684.jpg
/home/pi/Desktop/images/14122025/03/44/image_14122025_03_44_24_10575.jpg
/home/pi/Desktop/images/14122025/03/44/image_14122025_03_44_34_9744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399320955","1399320949","1399320951","1399320953"],"photo_ids_order":["1399320949","1399320951","1399320953","1399320955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/656c8c877c202421e43eace2e2be109c.jpg","text":"TemporaryFile(/tmp/multipartBody1283829732177384111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680323307,"filename":"image_14122025_03_44_34_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9e9a2ecd0f06a27ec06f00f1ee9f63f9.jpg","text":"TemporaryFile(/tmp/multipartBody2161129004334065317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680323307,"filename":"image_14122025_03_43_54_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8d0a490a3feeebec852535d87efaa23b.jpg","text":"TemporaryFile(/tmp/multipartBody9218348522282390001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680323307,"filename":"image_14122025_03_44_13_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/182bd2e179c491814fdfbe7518d2ddd0.jpg","text":"TemporaryFile(/tmp/multipartBody3761875788035453785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680323307,"filename":"image_14122025_03_44_24_10575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320953","file1":"1399320951","file0":"1399320949","file3":"1399320955"},"map_files_photo_id_array":[{"photo_id":"1399320953","filename":"file2"},{"photo_id":"1399320951","filename":"file1"},{"photo_id":"1399320949","filename":"file0"},{"photo_id":"1399320955","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399320955":["hashtag1","hashtag2"]},{"1399320949":["hashtag1","hashtag2"]},{"1399320951":["hashtag1","hashtag2"]},{"1399320953":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399320955, 1399320949, 1399320951, 1399320953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.558260917663574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:45:02.745933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:45:12.067032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:45:22.111119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/44/image_14122025_03_44_54_10725.jpg', '/home/pi/Desktop/images/14122025/03/44/image_14122025_03_45_04_9733.jpg', '/home/pi/Desktop/images/14122025/03/45/image_14122025_03_45_14_9871.jpg', '/home/pi/Desktop/images/14122025/03/45/image_14122025_03_45_23_9652.jpg', '/home/pi/Desktop/images/14122025/03/45/image_14122025_03_45_34_10566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/44/image_14122025_03_44_54_10725.jpg
/home/pi/Desktop/images/14122025/03/44/image_14122025_03_45_04_9733.jpg
/home/pi/Desktop/images/14122025/03/45/image_14122025_03_45_14_9871.jpg
/home/pi/Desktop/images/14122025/03/45/image_14122025_03_45_23_9652.jpg
/home/pi/Desktop/images/14122025/03/45/image_14122025_03_45_34_10566.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47699451446533203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:45:32.096875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:45:42.157005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_22_2572.jpg', '/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_26_3761.jpg', '/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_28_2734.jpg', '/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_31_2664.jpg', '/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_35_3643.jpg', '/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_37_2785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_22_2572.jpg
/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_26_3761.jpg
/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_28_2734.jpg
/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_31_2664.jpg
/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_35_3643.jpg
/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_37_2785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399320982","1399320985","1399320988","1399320987","1399320983","1399320986"],"photo_ids_order":["1399320982","1399320983","1399320985","1399320986","1399320987","1399320988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a336724c606c95c22934cb0092c62d7e.jpg","text":"TemporaryFile(/tmp/multipartBody823143004776895650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680402833,"filename":"image_04112025_11_21_22_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0164af50967838dd00f5af9535fb493e.jpg","text":"TemporaryFile(/tmp/multipartBody7531461789269259115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680402833,"filename":"image_04112025_11_21_28_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21318a3becea38e8cee8bc700d811e0b.jpg","text":"TemporaryFile(/tmp/multipartBody2494314223422514183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680402833,"filename":"image_04112025_11_21_37_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b00852a4b1f31b45e99ed253c9dffeec.jpg","text":"TemporaryFile(/tmp/multipartBody7782122971381803677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680402833,"filename":"image_04112025_11_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/12/14/ac2648c13c0ace49b06075f956be169c.jpg","text":"TemporaryFile(/tmp/multipartBody633127197007494424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680402833,"filename":"image_04112025_11_21_26_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/42e254d2fc010272063780de110e6a3e.jpg","text":"TemporaryFile(/tmp/multipartBody7784135338354000523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680402833,"filename":"image_04112025_11_21_31_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399320985","file1":"1399320983","file0":"1399320982","file4":"1399320987","file5":"1399320988","file3":"1399320986"},"map_files_photo_id_array":[{"photo_id":"1399320988","filename":"file5"},{"photo_id":"1399320985","filename":"file2"},{"photo_id":"1399320987","filename":"file4"},{"photo_id":"1399320983","filename":"file1"},{"photo_id":"1399320982","filename":"file0"},{"photo_id":"1399320986","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399320982":["hashtag1","hashtag2"]},{"1399320985":["hashtag1","hashtag2"]},{"1399320988":["hashtag1","hashtag2"]},{"1399320987":["hashtag1","hashtag2"]},{"1399320983":["hashtag1","hashtag2"]},{"1399320986":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399320982, 1399320985, 1399320988, 1399320987, 1399320983, 1399320986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.269052505493164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:46:22.493203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/44/image_14122025_03_44_54_10725.jpg', '/home/pi/Desktop/images/14122025/03/44/image_14122025_03_45_04_9733.jpg', '/home/pi/Desktop/images/14122025/03/45/image_14122025_03_45_14_9871.jpg', '/home/pi/Desktop/images/14122025/03/45/image_14122025_03_45_23_9652.jpg', '/home/pi/Desktop/images/14122025/03/45/image_14122025_03_45_34_10566.jpg', '/home/pi/Desktop/images/14122025/03/45/image_14122025_03_45_44_9847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/44/image_14122025_03_44_54_10725.jpg
/home/pi/Desktop/images/14122025/03/44/image_14122025_03_45_04_9733.jpg
/home/pi/Desktop/images/14122025/03/45/image_14122025_03_45_14_9871.jpg
/home/pi/Desktop/images/14122025/03/45/image_14122025_03_45_23_9652.jpg
/home/pi/Desktop/images/14122025/03/45/image_14122025_03_45_34_10566.jpg
/home/pi/Desktop/images/14122025/03/45/image_14122025_03_45_44_9847.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.553830623626709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:46:32.506081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:46:42.530787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_40_2619.jpg', '/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_43_2655.jpg', '/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_46_3602.jpg', '/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_49_2664.jpg', '/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_53_3618.jpg', '/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_55_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_40_2619.jpg
/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_43_2655.jpg
/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_46_3602.jpg
/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_49_2664.jpg
/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_53_3618.jpg
/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_55_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":["1399321003","1399321005","1399321002","1399320998","1399321004","1399321001"],"photo_ids_order":["1399320998","1399321001","1399321002","1399321003","1399321004","1399321005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/abe7f26f080417567cd5ddee5d871639.jpg","text":"TemporaryFile(/tmp/multipartBody1244709544742755177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680463209,"filename":"image_04112025_11_21_49_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b8b863a6c09abc44dc0136627cc4ead2.jpg","text":"TemporaryFile(/tmp/multipartBody4061772577564690508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680463209,"filename":"image_04112025_11_21_55_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c6245d1ec72fd6eec3a5766df1c75bde.jpg","text":"TemporaryFile(/tmp/multipartBody4217006259018401024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680463209,"filename":"image_04112025_11_21_46_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7fa16a966575aa6bb7a1f71ef0820c3a.jpg","text":"TemporaryFile(/tmp/multipartBody7214551283427076715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680463209,"filename":"image_04112025_11_21_40_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/32025fb9276383cc3efae128e6a7ec20.jpg","text":"TemporaryFile(/tmp/multipartBody9205778312174416903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680463209,"filename":"image_04112025_11_21_53_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6845c56ba78ef79969d4a7e4c21780e3.jpg","text":"TemporaryFile(/tmp/multipartBody6023628910394680101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680463209,"filename":"image_04112025_11_21_43_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399321002","file1":"1399321001","file0":"1399320998","file4":"1399321004","file5":"1399321005","file3":"1399321003"},"map_files_photo_id_array":[{"photo_id":"1399321005","filename":"file5"},{"photo_id":"1399321002","filename":"file2"},{"photo_id":"1399321004","filename":"file4"},{"photo_id":"1399321001","filename":"file1"},{"photo_id":"1399320998","filename":"file0"},{"photo_id":"1399321003","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399321003":["hashtag1","hashtag2"]},{"1399321005":["hashtag1","hashtag2"]},{"1399321002":["hashtag1","hashtag2"]},{"1399320998":["hashtag1","hashtag2"]},{"1399321004":["hashtag1","hashtag2"]},{"1399321001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399321003, 1399321005, 1399321002, 1399320998, 1399321004, 1399321001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24780583381653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:47:22.772771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/44/image_14122025_03_44_54_10725.jpg', '/home/pi/Desktop/images/14122025/03/44/image_14122025_03_45_04_9733.jpg', '/home/pi/Desktop/images/14122025/03/45/image_14122025_03_45_14_9871.jpg', '/home/pi/Desktop/images/14122025/03/45/image_14122025_03_45_23_9652.jpg', '/home/pi/Desktop/images/14122025/03/45/image_14122025_03_45_34_10566.jpg', '/home/pi/Desktop/images/14122025/03/45/image_14122025_03_45_44_9847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/44/image_14122025_03_44_54_10725.jpg
/home/pi/Desktop/images/14122025/03/44/image_14122025_03_45_04_9733.jpg
/home/pi/Desktop/images/14122025/03/45/image_14122025_03_45_14_9871.jpg
/home/pi/Desktop/images/14122025/03/45/image_14122025_03_45_23_9652.jpg
/home/pi/Desktop/images/14122025/03/45/image_14122025_03_45_34_10566.jpg
/home/pi/Desktop/images/14122025/03/45/image_14122025_03_45_44_9847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399321009","1399321011","1399321014","1399321016","1399321013","1399321007"],"photo_ids_order":["1399321007","1399321009","1399321011","1399321013","1399321014","1399321016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27a658df6dfca9b4add1524c55a0551d.jpg","text":"TemporaryFile(/tmp/multipartBody4460503625744971635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680503425,"filename":"image_14122025_03_45_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/12/14/520470d9e408de2c5d53b355cbe9ae6c.jpg","text":"TemporaryFile(/tmp/multipartBody8569032950355301828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680503425,"filename":"image_14122025_03_45_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/12/14/b1a19c2f526a1beb616fbe52bbe5e984.jpg","text":"TemporaryFile(/tmp/multipartBody3151481572529067665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680503425,"filename":"image_14122025_03_45_34_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a17acb8f1dbf723c35b876cc7950ba3.jpg","text":"TemporaryFile(/tmp/multipartBody8116318227500994258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680503425,"filename":"image_14122025_03_45_44_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/495bf062019bf5671e3aa4367a9aec7e.jpg","text":"TemporaryFile(/tmp/multipartBody5802845418861654081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680503425,"filename":"image_14122025_03_45_23_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/836038751207f18483d11ef6aec9843c.jpg","text":"TemporaryFile(/tmp/multipartBody4012889695326348418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680503425,"filename":"image_14122025_03_44_54_10725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399321011","file1":"1399321009","file0":"1399321007","file4":"1399321014","file5":"1399321016","file3":"1399321013"},"map_files_photo_id_array":[{"photo_id":"1399321016","filename":"file5"},{"photo_id":"1399321011","filename":"file2"},{"photo_id":"1399321014","filename":"file4"},{"photo_id":"1399321009","filename":"file1"},{"photo_id":"1399321007","filename":"file0"},{"photo_id":"1399321013","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399321009":["hashtag1","hashtag2"]},{"1399321011":["hashtag1","hashtag2"]},{"1399321014":["hashtag1","hashtag2"]},{"1399321016":["hashtag1","hashtag2"]},{"1399321013":["hashtag1","hashtag2"]},{"1399321007":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399321009, 1399321011, 1399321014, 1399321016, 1399321013, 1399321007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76977348327637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:48:02.664696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/45/image_14122025_03_46_03_9017.jpg', '/home/pi/Desktop/images/14122025/03/46/image_14122025_03_46_24_9714.jpg', '/home/pi/Desktop/images/14122025/03/46/image_14122025_03_46_34_10551.jpg', '/home/pi/Desktop/images/14122025/03/46/image_14122025_03_46_44_9928.jpg', '/home/pi/Desktop/images/14122025/03/46/image_14122025_03_47_03_9612.jpg', '/home/pi/Desktop/images/14122025/03/47/image_14122025_03_47_14_10555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/45/image_14122025_03_46_03_9017.jpg
/home/pi/Desktop/images/14122025/03/46/image_14122025_03_46_24_9714.jpg
/home/pi/Desktop/images/14122025/03/46/image_14122025_03_46_34_10551.jpg
/home/pi/Desktop/images/14122025/03/46/image_14122025_03_46_44_9928.jpg
/home/pi/Desktop/images/14122025/03/46/image_14122025_03_47_03_9612.jpg
/home/pi/Desktop/images/14122025/03/47/image_14122025_03_47_14_10555.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5308640003204346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:48:12.138952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:48:22.207488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/45/image_14122025_03_46_03_9017.jpg', '/home/pi/Desktop/images/14122025/03/46/image_14122025_03_46_24_9714.jpg', '/home/pi/Desktop/images/14122025/03/46/image_14122025_03_46_34_10551.jpg', '/home/pi/Desktop/images/14122025/03/46/image_14122025_03_46_44_9928.jpg', '/home/pi/Desktop/images/14122025/03/46/image_14122025_03_47_03_9612.jpg', '/home/pi/Desktop/images/14122025/03/47/image_14122025_03_47_14_10555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/45/image_14122025_03_46_03_9017.jpg
/home/pi/Desktop/images/14122025/03/46/image_14122025_03_46_24_9714.jpg
/home/pi/Desktop/images/14122025/03/46/image_14122025_03_46_34_10551.jpg
/home/pi/Desktop/images/14122025/03/46/image_14122025_03_46_44_9928.jpg
/home/pi/Desktop/images/14122025/03/46/image_14122025_03_47_03_9612.jpg
/home/pi/Desktop/images/14122025/03/47/image_14122025_03_47_14_10555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399321030","1399321036","1399321038","1399321032","1399321034","1399321028"],"photo_ids_order":["1399321028","1399321030","1399321032","1399321034","1399321036","1399321038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a8027590c05efdf8b9606181d0b9ade.jpg","text":"TemporaryFile(/tmp/multipartBody444515281157251110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680562868,"filename":"image_14122025_03_46_24_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/869f9af4c2f7f1849f5eb1657f148216.jpg","text":"TemporaryFile(/tmp/multipartBody93596603021334853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680562868,"filename":"image_14122025_03_47_03_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1acca503033e2bc93e44e1708ae8c8d8.jpg","text":"TemporaryFile(/tmp/multipartBody7774501102203466207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680562868,"filename":"image_14122025_03_47_14_10555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/41fd0a42ce5426b92cc24d7c500e4957.jpg","text":"TemporaryFile(/tmp/multipartBody8681367393418571359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680562868,"filename":"image_14122025_03_46_34_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db20a214c2b7596f09a9a0b07a928e0c.jpg","text":"TemporaryFile(/tmp/multipartBody8438592099113146854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680562868,"filename":"image_14122025_03_46_44_9928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b52b2e1934738a45a9ed095a3bb3d15.jpg","text":"TemporaryFile(/tmp/multipartBody3916524512699446314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680562868,"filename":"image_14122025_03_46_03_9017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399321032","file1":"1399321030","file0":"1399321028","file4":"1399321036","file5":"1399321038","file3":"1399321034"},"map_files_photo_id_array":[{"photo_id":"1399321038","filename":"file5"},{"photo_id":"1399321032","filename":"file2"},{"photo_id":"1399321036","filename":"file4"},{"photo_id":"1399321030","filename":"file1"},{"photo_id":"1399321028","filename":"file0"},{"photo_id":"1399321034","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399321030":["hashtag1","hashtag2"]},{"1399321036":["hashtag1","hashtag2"]},{"1399321038":["hashtag1","hashtag2"]},{"1399321032":["hashtag1","hashtag2"]},{"1399321034":["hashtag1","hashtag2"]},{"1399321028":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399321030, 1399321036, 1399321038, 1399321032, 1399321034, 1399321028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22661542892456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:49:03.403053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/47/image_14122025_03_47_24_9792.jpg', '/home/pi/Desktop/images/14122025/03/47/image_14122025_03_47_44_10762.jpg', '/home/pi/Desktop/images/14122025/03/47/image_14122025_03_47_54_9820.jpg', '/home/pi/Desktop/images/14122025/03/47/image_14122025_03_48_04_9713.jpg', '/home/pi/Desktop/images/14122025/03/48/image_14122025_03_48_13_9679.jpg', '/home/pi/Desktop/images/14122025/03/48/image_14122025_03_48_24_10761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/47/image_14122025_03_47_24_9792.jpg
/home/pi/Desktop/images/14122025/03/47/image_14122025_03_47_44_10762.jpg
/home/pi/Desktop/images/14122025/03/47/image_14122025_03_47_54_9820.jpg
/home/pi/Desktop/images/14122025/03/47/image_14122025_03_48_04_9713.jpg
/home/pi/Desktop/images/14122025/03/48/image_14122025_03_48_13_9679.jpg
/home/pi/Desktop/images/14122025/03/48/image_14122025_03_48_24_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":["1399321045","1399321039","1399321042","1399321041","1399321040","1399321043"],"photo_ids_order":["1399321039","1399321040","1399321041","1399321042","1399321043","1399321045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a2083e2d89b73e87b8a56457acaafa94.jpg","text":"TemporaryFile(/tmp/multipartBody7412605011188853272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680604153,"filename":"image_14122025_03_48_24_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c50283dbd1131c3886b8067f50c10b8c.jpg","text":"TemporaryFile(/tmp/multipartBody1757121990291557568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680604153,"filename":"image_14122025_03_47_24_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51aa0712d1adcbd88cdae99c447cd3c4.jpg","text":"TemporaryFile(/tmp/multipartBody8424498362532384433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680604153,"filename":"image_14122025_03_48_04_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc61c35a68ff4b8ecc11fb2588cf8cae.jpg","text":"TemporaryFile(/tmp/multipartBody1730711470995984266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680604153,"filename":"image_14122025_03_47_54_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/579a7915c1c397b8138cb44044c8f31b.jpg","text":"TemporaryFile(/tmp/multipartBody4248717565285162819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680604153,"filename":"image_14122025_03_47_44_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/20c2957604103691189964b61d2ba706.jpg","text":"TemporaryFile(/tmp/multipartBody6491919569379015725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680604153,"filename":"image_14122025_03_48_13_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399321041","file1":"1399321040","file0":"1399321039","file4":"1399321043","file5":"1399321045","file3":"1399321042"},"map_files_photo_id_array":[{"photo_id":"1399321045","filename":"file5"},{"photo_id":"1399321041","filename":"file2"},{"photo_id":"1399321043","filename":"file4"},{"photo_id":"1399321040","filename":"file1"},{"photo_id":"1399321039","filename":"file0"},{"photo_id":"1399321042","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399321045":["hashtag1","hashtag2"]},{"1399321039":["hashtag1","hashtag2"]},{"1399321042":["hashtag1","hashtag2"]},{"1399321041":["hashtag1","hashtag2"]},{"1399321040":["hashtag1","hashtag2"]},{"1399321043":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399321045, 1399321039, 1399321042, 1399321041, 1399321040, 1399321043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69670391082764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:49:42.391971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_58_2850.jpg', '/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_01_2690.jpg', '/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_04_3628.jpg', '/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_07_2540.jpg', '/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_10_2771.jpg', '/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_13_3549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/21/image_04112025_11_21_58_2850.jpg
/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_01_2690.jpg
/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_04_3628.jpg
/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_07_2540.jpg
/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_10_2771.jpg
/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_13_3549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399321054","1399321056","1399321050","1399321053","1399321052","1399321055"],"photo_ids_order":["1399321050","1399321052","1399321053","1399321054","1399321055","1399321056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b490ac03afd9be5edba92c7530a8b89b.jpg","text":"TemporaryFile(/tmp/multipartBody2116718296577680257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680643070,"filename":"image_04112025_11_22_07_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e6763589fc8436321e8217d55815f56.jpg","text":"TemporaryFile(/tmp/multipartBody4335346421323760699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680643070,"filename":"image_04112025_11_22_13_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba530b3677253da7e51d3e9571a2bf49.jpg","text":"TemporaryFile(/tmp/multipartBody5131467412402207920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680643070,"filename":"image_04112025_11_21_58_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/976aaf34db1a3e50e6c1249d3f48acd0.jpg","text":"TemporaryFile(/tmp/multipartBody2730417138882288378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680643070,"filename":"image_04112025_11_22_04_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7697c5d6c497623bfef896e7fb8a1f3.jpg","text":"TemporaryFile(/tmp/multipartBody6743062613678795821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680643070,"filename":"image_04112025_11_22_01_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/df6305453690c98a33672c2aa4bf9b55.jpg","text":"TemporaryFile(/tmp/multipartBody4955398787888141195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680643070,"filename":"image_04112025_11_22_10_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399321053","file1":"1399321052","file0":"1399321050","file4":"1399321055","file5":"1399321056","file3":"1399321054"},"map_files_photo_id_array":[{"photo_id":"1399321056","filename":"file5"},{"photo_id":"1399321053","filename":"file2"},{"photo_id":"1399321055","filename":"file4"},{"photo_id":"1399321052","filename":"file1"},{"photo_id":"1399321050","filename":"file0"},{"photo_id":"1399321054","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399321054":["hashtag1","hashtag2"]},{"1399321056":["hashtag1","hashtag2"]},{"1399321050":["hashtag1","hashtag2"]},{"1399321053":["hashtag1","hashtag2"]},{"1399321052":["hashtag1","hashtag2"]},{"1399321055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399321054, 1399321056, 1399321050, 1399321053, 1399321052, 1399321055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81482148170471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:50:22.642137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/48/image_14122025_03_48_34_9713.jpg', '/home/pi/Desktop/images/14122025/03/48/image_14122025_03_48_44_9724.jpg', '/home/pi/Desktop/images/14122025/03/48/image_14122025_03_48_54_10628.jpg', '/home/pi/Desktop/images/14122025/03/48/image_14122025_03_49_04_9819.jpg', '/home/pi/Desktop/images/14122025/03/49/image_14122025_03_49_14_9768.jpg', '/home/pi/Desktop/images/14122025/03/49/image_14122025_03_49_23_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/48/image_14122025_03_48_34_9713.jpg
/home/pi/Desktop/images/14122025/03/48/image_14122025_03_48_44_9724.jpg
/home/pi/Desktop/images/14122025/03/48/image_14122025_03_48_54_10628.jpg
/home/pi/Desktop/images/14122025/03/48/image_14122025_03_49_04_9819.jpg
/home/pi/Desktop/images/14122025/03/49/image_14122025_03_49_14_9768.jpg
/home/pi/Desktop/images/14122025/03/49/image_14122025_03_49_23_9700.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5488386154174805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:50:32.679565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:50:42.660320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_16_2590.jpg', '/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_20_3642.jpg', '/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_22_2827.jpg', '/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_25_2850.jpg', '/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_28_2593.jpg', '/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_31_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_16_2590.jpg
/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_20_3642.jpg
/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_22_2827.jpg
/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_25_2850.jpg
/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_28_2593.jpg
/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_31_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":["1399321080","1399321077","1399321079","1399321067","1399321076","1399321078"],"photo_ids_order":["1399321067","1399321076","1399321077","1399321078","1399321079","1399321080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e61f1fb70a97f627208336e75a728a40.jpg","text":"TemporaryFile(/tmp/multipartBody1597567773271057449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680703377,"filename":"image_04112025_11_22_31_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1240d3a54ae1e517cb398d029c0f34b.jpg","text":"TemporaryFile(/tmp/multipartBody7079231867256540208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680703377,"filename":"image_04112025_11_22_22_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/812702fdc750be474f2485f1c9b686c4.jpg","text":"TemporaryFile(/tmp/multipartBody1566935641973217283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680703377,"filename":"image_04112025_11_22_28_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c8f9f14b92a5844abd5f507a0e3c513.jpg","text":"TemporaryFile(/tmp/multipartBody8650825656685412100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680703377,"filename":"image_04112025_11_22_16_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd18dd8e56a692bd50ad7e7b7d7f9cfa.jpg","text":"TemporaryFile(/tmp/multipartBody839290939036432478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680703377,"filename":"image_04112025_11_22_20_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c0a82f3786e3c2b5b90961d3970de0a4.jpg","text":"TemporaryFile(/tmp/multipartBody874934746511703919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680703377,"filename":"image_04112025_11_22_25_2850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399321077","file1":"1399321076","file0":"1399321067","file4":"1399321079","file5":"1399321080","file3":"1399321078"},"map_files_photo_id_array":[{"photo_id":"1399321080","filename":"file5"},{"photo_id":"1399321077","filename":"file2"},{"photo_id":"1399321079","filename":"file4"},{"photo_id":"1399321076","filename":"file1"},{"photo_id":"1399321067","filename":"file0"},{"photo_id":"1399321078","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399321080":["hashtag1","hashtag2"]},{"1399321077":["hashtag1","hashtag2"]},{"1399321079":["hashtag1","hashtag2"]},{"1399321067":["hashtag1","hashtag2"]},{"1399321076":["hashtag1","hashtag2"]},{"1399321078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399321080, 1399321077, 1399321079, 1399321067, 1399321076, 1399321078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10065960884094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:51:21.882907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/48/image_14122025_03_48_34_9713.jpg', '/home/pi/Desktop/images/14122025/03/48/image_14122025_03_48_44_9724.jpg', '/home/pi/Desktop/images/14122025/03/48/image_14122025_03_48_54_10628.jpg', '/home/pi/Desktop/images/14122025/03/48/image_14122025_03_49_04_9819.jpg', '/home/pi/Desktop/images/14122025/03/49/image_14122025_03_49_14_9768.jpg', '/home/pi/Desktop/images/14122025/03/49/image_14122025_03_49_23_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/48/image_14122025_03_48_34_9713.jpg
/home/pi/Desktop/images/14122025/03/48/image_14122025_03_48_44_9724.jpg
/home/pi/Desktop/images/14122025/03/48/image_14122025_03_48_54_10628.jpg
/home/pi/Desktop/images/14122025/03/48/image_14122025_03_49_04_9819.jpg
/home/pi/Desktop/images/14122025/03/49/image_14122025_03_49_14_9768.jpg
/home/pi/Desktop/images/14122025/03/49/image_14122025_03_49_23_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399321087","1399321089","1399321083","1399321085","1399321081","1399321090"],"photo_ids_order":["1399321081","1399321083","1399321085","1399321087","1399321089","1399321090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b386372de3425d96ee7b5c9936262f3.jpg","text":"TemporaryFile(/tmp/multipartBody4515569303980392469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680742499,"filename":"image_14122025_03_49_04_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/370ba4b071aaaeeb621908c95ef3c7c6.jpg","text":"TemporaryFile(/tmp/multipartBody1741976211494620605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680742499,"filename":"image_14122025_03_49_14_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90c08c3495c3db8d539426fe0ff6ca68.jpg","text":"TemporaryFile(/tmp/multipartBody2099111724487805681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680742499,"filename":"image_14122025_03_48_44_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ce2bcc6052333a9602b2bfe09791d76.jpg","text":"TemporaryFile(/tmp/multipartBody4630719527504041338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680742499,"filename":"image_14122025_03_48_54_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f009d2c49057e0de94cf1ff29b8f798b.jpg","text":"TemporaryFile(/tmp/multipartBody6573413085902178375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680742499,"filename":"image_14122025_03_48_34_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2712dbd31d3ae895cd331be4d216bbaf.jpg","text":"TemporaryFile(/tmp/multipartBody5284178516862656294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680742499,"filename":"image_14122025_03_49_23_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399321085","file1":"1399321083","file0":"1399321081","file4":"1399321089","file5":"1399321090","file3":"1399321087"},"map_files_photo_id_array":[{"photo_id":"1399321090","filename":"file5"},{"photo_id":"1399321085","filename":"file2"},{"photo_id":"1399321089","filename":"file4"},{"photo_id":"1399321083","filename":"file1"},{"photo_id":"1399321081","filename":"file0"},{"photo_id":"1399321087","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399321087":["hashtag1","hashtag2"]},{"1399321089":["hashtag1","hashtag2"]},{"1399321083":["hashtag1","hashtag2"]},{"1399321085":["hashtag1","hashtag2"]},{"1399321081":["hashtag1","hashtag2"]},{"1399321090":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399321087, 1399321089, 1399321083, 1399321085, 1399321081, 1399321090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.222134828567505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:52:02.578642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/49/image_14122025_03_49_34_10578.jpg', '/home/pi/Desktop/images/14122025/03/49/image_14122025_03_49_44_9797.jpg', '/home/pi/Desktop/images/14122025/03/49/image_14122025_03_50_03_9704.jpg', '/home/pi/Desktop/images/14122025/03/50/image_14122025_03_50_14_10674.jpg', '/home/pi/Desktop/images/14122025/03/50/image_14122025_03_50_24_9679.jpg', '/home/pi/Desktop/images/14122025/03/50/image_14122025_03_50_33_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/49/image_14122025_03_49_34_10578.jpg
/home/pi/Desktop/images/14122025/03/49/image_14122025_03_49_44_9797.jpg
/home/pi/Desktop/images/14122025/03/49/image_14122025_03_50_03_9704.jpg
/home/pi/Desktop/images/14122025/03/50/image_14122025_03_50_14_10674.jpg
/home/pi/Desktop/images/14122025/03/50/image_14122025_03_50_24_9679.jpg
/home/pi/Desktop/images/14122025/03/50/image_14122025_03_50_33_9741.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5439066886901855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:52:12.113863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:52:22.219600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/49/image_14122025_03_49_34_10578.jpg', '/home/pi/Desktop/images/14122025/03/49/image_14122025_03_49_44_9797.jpg', '/home/pi/Desktop/images/14122025/03/49/image_14122025_03_50_03_9704.jpg', '/home/pi/Desktop/images/14122025/03/50/image_14122025_03_50_14_10674.jpg', '/home/pi/Desktop/images/14122025/03/50/image_14122025_03_50_24_9679.jpg', '/home/pi/Desktop/images/14122025/03/50/image_14122025_03_50_33_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/49/image_14122025_03_49_34_10578.jpg
/home/pi/Desktop/images/14122025/03/49/image_14122025_03_49_44_9797.jpg
/home/pi/Desktop/images/14122025/03/49/image_14122025_03_50_03_9704.jpg
/home/pi/Desktop/images/14122025/03/50/image_14122025_03_50_14_10674.jpg
/home/pi/Desktop/images/14122025/03/50/image_14122025_03_50_24_9679.jpg
/home/pi/Desktop/images/14122025/03/50/image_14122025_03_50_33_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":["1399321108","1399321102","1399321098","1399321104","1399321106","1399321100"],"photo_ids_order":["1399321098","1399321100","1399321102","1399321104","1399321106","1399321108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/45a085951a095b0f8816732fcdf0acf6.jpg","text":"TemporaryFile(/tmp/multipartBody2312941671633221766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680802850,"filename":"image_14122025_03_50_33_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5fab0a1d15d8ef72bd014074eac5fc10.jpg","text":"TemporaryFile(/tmp/multipartBody4590982688096834725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680802850,"filename":"image_14122025_03_50_03_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e112f54362d9f5cba10328c53f0b0b0f.jpg","text":"TemporaryFile(/tmp/multipartBody8079508598677951569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680802850,"filename":"image_14122025_03_49_34_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/704881fd13bc65fafcb9f806cef03642.jpg","text":"TemporaryFile(/tmp/multipartBody1056319429739831746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680802850,"filename":"image_14122025_03_50_14_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/61b1db06d3d274122fefe68d7a780010.jpg","text":"TemporaryFile(/tmp/multipartBody8303724966478145967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680802850,"filename":"image_14122025_03_50_24_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/61705f0efa9cdc7e5bc39b665ed54586.jpg","text":"TemporaryFile(/tmp/multipartBody770983651148860768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680802850,"filename":"image_14122025_03_49_44_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399321102","file1":"1399321100","file0":"1399321098","file4":"1399321106","file5":"1399321108","file3":"1399321104"},"map_files_photo_id_array":[{"photo_id":"1399321108","filename":"file5"},{"photo_id":"1399321102","filename":"file2"},{"photo_id":"1399321106","filename":"file4"},{"photo_id":"1399321100","filename":"file1"},{"photo_id":"1399321098","filename":"file0"},{"photo_id":"1399321104","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399321108":["hashtag1","hashtag2"]},{"1399321102":["hashtag1","hashtag2"]},{"1399321098":["hashtag1","hashtag2"]},{"1399321104":["hashtag1","hashtag2"]},{"1399321106":["hashtag1","hashtag2"]},{"1399321100":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399321108, 1399321102, 1399321098, 1399321104, 1399321106, 1399321100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.681132793426514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:53:03.151368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/50/image_14122025_03_50_44_10716.jpg', '/home/pi/Desktop/images/14122025/03/50/image_14122025_03_50_54_9678.jpg', '/home/pi/Desktop/images/14122025/03/50/image_14122025_03_51_03_9594.jpg', '/home/pi/Desktop/images/14122025/03/51/image_14122025_03_51_24_9847.jpg', '/home/pi/Desktop/images/14122025/03/51/image_14122025_03_51_34_9630.jpg', '/home/pi/Desktop/images/14122025/03/51/image_14122025_03_51_44_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/50/image_14122025_03_50_44_10716.jpg
/home/pi/Desktop/images/14122025/03/50/image_14122025_03_50_54_9678.jpg
/home/pi/Desktop/images/14122025/03/50/image_14122025_03_51_03_9594.jpg
/home/pi/Desktop/images/14122025/03/51/image_14122025_03_51_24_9847.jpg
/home/pi/Desktop/images/14122025/03/51/image_14122025_03_51_34_9630.jpg
/home/pi/Desktop/images/14122025/03/51/image_14122025_03_51_44_10601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399321111","1399321114","1399321113","1399321116","1399321118","1399321112"],"photo_ids_order":["1399321111","1399321112","1399321113","1399321114","1399321116","1399321118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a328aa7483d362737697f6e0024835b2.jpg","text":"TemporaryFile(/tmp/multipartBody2347030528661855367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680843852,"filename":"image_14122025_03_50_44_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/360d5778e9740e03b844d4ff4847952d.jpg","text":"TemporaryFile(/tmp/multipartBody2410092267116842169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680843852,"filename":"image_14122025_03_51_24_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c362aed659e52ac8e2835af82abdbc3.jpg","text":"TemporaryFile(/tmp/multipartBody7346076357985629795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680843852,"filename":"image_14122025_03_51_03_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf0166e1f0805f14852d25e6e45b025d.jpg","text":"TemporaryFile(/tmp/multipartBody7112628731095321298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680843852,"filename":"image_14122025_03_51_34_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c28599130a6460c245ee4a62378df393.jpg","text":"TemporaryFile(/tmp/multipartBody4547123002748048469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680843852,"filename":"image_14122025_03_51_44_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/afca5168083046471ddf787ca22268a4.jpg","text":"TemporaryFile(/tmp/multipartBody3964922446800943849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680843852,"filename":"image_14122025_03_50_54_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399321113","file1":"1399321112","file0":"1399321111","file4":"1399321116","file5":"1399321118","file3":"1399321114"},"map_files_photo_id_array":[{"photo_id":"1399321118","filename":"file5"},{"photo_id":"1399321113","filename":"file2"},{"photo_id":"1399321116","filename":"file4"},{"photo_id":"1399321112","filename":"file1"},{"photo_id":"1399321111","filename":"file0"},{"photo_id":"1399321114","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399321111":["hashtag1","hashtag2"]},{"1399321114":["hashtag1","hashtag2"]},{"1399321113":["hashtag1","hashtag2"]},{"1399321116":["hashtag1","hashtag2"]},{"1399321118":["hashtag1","hashtag2"]},{"1399321112":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399321111, 1399321114, 1399321113, 1399321116, 1399321118, 1399321112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.189464807510376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:53:42.346655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_34_2631.jpg', '/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_37_2751.jpg', '/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_40_3569.jpg', '/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_43_2604.jpg', '/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_46_2634.jpg', '/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_49_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_34_2631.jpg
/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_37_2751.jpg
/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_40_3569.jpg
/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_43_2604.jpg
/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_46_2634.jpg
/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_49_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":["1399321126","1399321125","1399321128","1399321127","1399321121","1399321124"],"photo_ids_order":["1399321121","1399321124","1399321125","1399321126","1399321127","1399321128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c321aa9c1b7574807a77380e62f76aad.jpg","text":"TemporaryFile(/tmp/multipartBody3899422672995613699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680883038,"filename":"image_04112025_11_22_43_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/721d60ef4a0a988069ec5c6c86121822.jpg","text":"TemporaryFile(/tmp/multipartBody452320797965961222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680883038,"filename":"image_04112025_11_22_40_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5befa940d06fbd89c5c2b20087849e7a.jpg","text":"TemporaryFile(/tmp/multipartBody2324200903570471684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680883038,"filename":"image_04112025_11_22_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/12/14/cbeaa62482becd598c476ef06aaf0484.jpg","text":"TemporaryFile(/tmp/multipartBody2423521457725380458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680883038,"filename":"image_04112025_11_22_46_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9835cc0f1a63216d15ef03c173b40d9.jpg","text":"TemporaryFile(/tmp/multipartBody6757185800616116521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680883038,"filename":"image_04112025_11_22_34_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e68597349c86e5e752a6f1865e408ddc.jpg","text":"TemporaryFile(/tmp/multipartBody6853461698151704272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680883038,"filename":"image_04112025_11_22_37_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399321125","file1":"1399321124","file0":"1399321121","file4":"1399321127","file5":"1399321128","file3":"1399321126"},"map_files_photo_id_array":[{"photo_id":"1399321128","filename":"file5"},{"photo_id":"1399321125","filename":"file2"},{"photo_id":"1399321127","filename":"file4"},{"photo_id":"1399321124","filename":"file1"},{"photo_id":"1399321121","filename":"file0"},{"photo_id":"1399321126","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399321126":["hashtag1","hashtag2"]},{"1399321125":["hashtag1","hashtag2"]},{"1399321128":["hashtag1","hashtag2"]},{"1399321127":["hashtag1","hashtag2"]},{"1399321121":["hashtag1","hashtag2"]},{"1399321124":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399321126, 1399321125, 1399321128, 1399321127, 1399321121, 1399321124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36141109466553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:54:22.580322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/51/image_14122025_03_52_04_9651.jpg', '/home/pi/Desktop/images/14122025/03/52/image_14122025_03_52_24_10817.jpg', '/home/pi/Desktop/images/14122025/03/52/image_14122025_03_52_34_9691.jpg', '/home/pi/Desktop/images/14122025/03/52/image_14122025_03_53_04_9761.jpg', '/home/pi/Desktop/images/14122025/03/53/image_14122025_03_53_14_9777.jpg', '/home/pi/Desktop/images/14122025/03/53/image_14122025_03_53_23_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/51/image_14122025_03_52_04_9651.jpg
/home/pi/Desktop/images/14122025/03/52/image_14122025_03_52_24_10817.jpg
/home/pi/Desktop/images/14122025/03/52/image_14122025_03_52_34_9691.jpg
/home/pi/Desktop/images/14122025/03/52/image_14122025_03_53_04_9761.jpg
/home/pi/Desktop/images/14122025/03/53/image_14122025_03_53_14_9777.jpg
/home/pi/Desktop/images/14122025/03/53/image_14122025_03_53_23_9710.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5554633140563965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:54:32.651379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 03:54:42.561550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_52_2679.jpg', '/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_55_2715.jpg', '/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_58_3739.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_01_2748.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_04_2709.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_07_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_52_2679.jpg
/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_55_2715.jpg
/home/pi/Desktop/images/04112025/11/22/image_04112025_11_22_58_3739.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_01_2748.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_04_2709.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_07_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":["1399321141","1399321140","1399321143","1399321137","1399321142","1399321139"],"photo_ids_order":["1399321137","1399321139","1399321140","1399321141","1399321142","1399321143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7fe6d2049804b38e9239f4fdcbff6e9b.jpg","text":"TemporaryFile(/tmp/multipartBody6823452500843996665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680943267,"filename":"image_04112025_11_23_01_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c5def5684b270d9843e8a5f830fa6eb.jpg","text":"TemporaryFile(/tmp/multipartBody4174166826506831646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680943267,"filename":"image_04112025_11_22_58_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/544d421827bc56066f6ae11baa71d953.jpg","text":"TemporaryFile(/tmp/multipartBody196109711931422032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680943267,"filename":"image_04112025_11_23_07_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f6ba2f9d0abd69ea16d28ae686c18e05.jpg","text":"TemporaryFile(/tmp/multipartBody8919454642697578548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680943267,"filename":"image_04112025_11_22_52_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/59bf04f91bf547b8585147975827d94c.jpg","text":"TemporaryFile(/tmp/multipartBody5636534105917981498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680943267,"filename":"image_04112025_11_23_04_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a19eeb9939b8144776dd872e6119ef50.jpg","text":"TemporaryFile(/tmp/multipartBody2717582055165320727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680943267,"filename":"image_04112025_11_22_55_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399321140","file1":"1399321139","file0":"1399321137","file4":"1399321142","file5":"1399321143","file3":"1399321141"},"map_files_photo_id_array":[{"photo_id":"1399321143","filename":"file5"},{"photo_id":"1399321140","filename":"file2"},{"photo_id":"1399321142","filename":"file4"},{"photo_id":"1399321139","filename":"file1"},{"photo_id":"1399321137","filename":"file0"},{"photo_id":"1399321141","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399321141":["hashtag1","hashtag2"]},{"1399321140":["hashtag1","hashtag2"]},{"1399321143":["hashtag1","hashtag2"]},{"1399321137":["hashtag1","hashtag2"]},{"1399321142":["hashtag1","hashtag2"]},{"1399321139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399321141, 1399321140, 1399321143, 1399321137, 1399321142, 1399321139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54910898208618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:55:22.897973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/51/image_14122025_03_52_04_9651.jpg', '/home/pi/Desktop/images/14122025/03/52/image_14122025_03_52_24_10817.jpg', '/home/pi/Desktop/images/14122025/03/52/image_14122025_03_52_34_9691.jpg', '/home/pi/Desktop/images/14122025/03/52/image_14122025_03_53_04_9761.jpg', '/home/pi/Desktop/images/14122025/03/53/image_14122025_03_53_14_9777.jpg', '/home/pi/Desktop/images/14122025/03/53/image_14122025_03_53_23_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/51/image_14122025_03_52_04_9651.jpg
/home/pi/Desktop/images/14122025/03/52/image_14122025_03_52_24_10817.jpg
/home/pi/Desktop/images/14122025/03/52/image_14122025_03_52_34_9691.jpg
/home/pi/Desktop/images/14122025/03/52/image_14122025_03_53_04_9761.jpg
/home/pi/Desktop/images/14122025/03/53/image_14122025_03_53_14_9777.jpg
/home/pi/Desktop/images/14122025/03/53/image_14122025_03_53_23_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":["1399321150","1399321147","1399321149","1399321152","1399321145","1399321154"],"photo_ids_order":["1399321145","1399321147","1399321149","1399321150","1399321152","1399321154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0bd50ca64e328bd5230d6ddf52d76116.jpg","text":"TemporaryFile(/tmp/multipartBody2497212019165595940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680983587,"filename":"image_14122025_03_53_04_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56c8bb84b75e30e84f6c152b000dbd4c.jpg","text":"TemporaryFile(/tmp/multipartBody2492757320448199251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680983587,"filename":"image_14122025_03_52_24_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7cfcbead1aecdaaa73c4b3b778de3260.jpg","text":"TemporaryFile(/tmp/multipartBody8936064461634518910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680983587,"filename":"image_14122025_03_52_34_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e0554b0c80c4db449753fbe5456afa7a.jpg","text":"TemporaryFile(/tmp/multipartBody3854748742474951311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680983587,"filename":"image_14122025_03_53_14_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6dced907f51f40c25432050801b76d6c.jpg","text":"TemporaryFile(/tmp/multipartBody6050613049016805880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680983587,"filename":"image_14122025_03_52_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b8995b39e3a9ee33f482ff07c74b8840.jpg","text":"TemporaryFile(/tmp/multipartBody5836610967951969218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765680983587,"filename":"image_14122025_03_53_23_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399321149","file1":"1399321147","file0":"1399321145","file4":"1399321152","file5":"1399321154","file3":"1399321150"},"map_files_photo_id_array":[{"photo_id":"1399321154","filename":"file5"},{"photo_id":"1399321149","filename":"file2"},{"photo_id":"1399321152","filename":"file4"},{"photo_id":"1399321147","filename":"file1"},{"photo_id":"1399321145","filename":"file0"},{"photo_id":"1399321150","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399321150":["hashtag1","hashtag2"]},{"1399321147":["hashtag1","hashtag2"]},{"1399321149":["hashtag1","hashtag2"]},{"1399321152":["hashtag1","hashtag2"]},{"1399321145":["hashtag1","hashtag2"]},{"1399321154":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399321150, 1399321147, 1399321149, 1399321152, 1399321145, 1399321154)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.99236297607422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:56:16.929011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:56:26.970101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/53/image_14122025_03_53_44_9569.jpg', '/home/pi/Desktop/images/14122025/03/53/image_14122025_03_54_04_10676.jpg', '/home/pi/Desktop/images/14122025/03/54/image_14122025_03_54_14_9683.jpg', '/home/pi/Desktop/images/14122025/03/54/image_14122025_03_55_04_9949.jpg', '/home/pi/Desktop/images/14122025/03/55/image_14122025_03_55_13_9789.jpg', '/home/pi/Desktop/images/14122025/03/55/image_14122025_03_55_24_10761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/53/image_14122025_03_53_44_9569.jpg
/home/pi/Desktop/images/14122025/03/53/image_14122025_03_54_04_10676.jpg
/home/pi/Desktop/images/14122025/03/54/image_14122025_03_54_14_9683.jpg
/home/pi/Desktop/images/14122025/03/54/image_14122025_03_55_04_9949.jpg
/home/pi/Desktop/images/14122025/03/55/image_14122025_03_55_13_9789.jpg
/home/pi/Desktop/images/14122025/03/55/image_14122025_03_55_24_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":["1399321159","1399321170","1399321172","1399321160","1399321162","1399321156"],"photo_ids_order":["1399321156","1399321159","1399321160","1399321162","1399321170","1399321172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b97417dece80702676ca39589afc06d.jpg","text":"TemporaryFile(/tmp/multipartBody4588503804334757572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681047626,"filename":"image_14122025_03_54_04_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a53e1772aad1e01c8b4d95f8155b09da.jpg","text":"TemporaryFile(/tmp/multipartBody8175798274501396493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681047626,"filename":"image_14122025_03_55_13_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f46e5c01b88af7a4cdba98dbd793e839.jpg","text":"TemporaryFile(/tmp/multipartBody3973587189134090658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681047626,"filename":"image_14122025_03_55_24_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/06b886bf4c67171c558808d15629f99a.jpg","text":"TemporaryFile(/tmp/multipartBody2058637755592422386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681047626,"filename":"image_14122025_03_54_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/12/14/cb4f05ade802dc2336026ffc47a4ae34.jpg","text":"TemporaryFile(/tmp/multipartBody4294892253830254228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681047626,"filename":"image_14122025_03_55_04_9949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7b57e84c4ca961ef5eee71e7fea96159.jpg","text":"TemporaryFile(/tmp/multipartBody2776184806372385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681047626,"filename":"image_14122025_03_53_44_9569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399321160","file1":"1399321159","file0":"1399321156","file4":"1399321170","file5":"1399321172","file3":"1399321162"},"map_files_photo_id_array":[{"photo_id":"1399321172","filename":"file5"},{"photo_id":"1399321160","filename":"file2"},{"photo_id":"1399321170","filename":"file4"},{"photo_id":"1399321159","filename":"file1"},{"photo_id":"1399321156","filename":"file0"},{"photo_id":"1399321162","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399321159":["hashtag1","hashtag2"]},{"1399321170":["hashtag1","hashtag2"]},{"1399321172":["hashtag1","hashtag2"]},{"1399321160":["hashtag1","hashtag2"]},{"1399321162":["hashtag1","hashtag2"]},{"1399321156":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399321159, 1399321170, 1399321172, 1399321160, 1399321162, 1399321156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.416850328445435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 03:57:12.635573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 03:57:22.645051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/55/image_14122025_03_55_34_9673.jpg', '/home/pi/Desktop/images/14122025/03/55/image_14122025_03_55_43_9746.jpg', '/home/pi/Desktop/images/14122025/03/55/image_14122025_03_55_53_9805.jpg', '/home/pi/Desktop/images/14122025/03/55/image_14122025_03_56_04_10558.jpg', '/home/pi/Desktop/images/14122025/03/56/image_14122025_03_56_14_9702.jpg', '/home/pi/Desktop/images/14122025/03/56/image_14122025_03_56_23_9867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/55/image_14122025_03_55_34_9673.jpg
/home/pi/Desktop/images/14122025/03/55/image_14122025_03_55_43_9746.jpg
/home/pi/Desktop/images/14122025/03/55/image_14122025_03_55_53_9805.jpg
/home/pi/Desktop/images/14122025/03/55/image_14122025_03_56_04_10558.jpg
/home/pi/Desktop/images/14122025/03/56/image_14122025_03_56_14_9702.jpg
/home/pi/Desktop/images/14122025/03/56/image_14122025_03_56_23_9867.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399321186","1399321185","1399321182","1399321181","1399321184","1399321183"],"photo_ids_order":["1399321181","1399321182","1399321183","1399321184","1399321185","1399321186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/62619308d4f8a20547da9270f64ee776.jpg","text":"TemporaryFile(/tmp/multipartBody5705386849978424225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681103299,"filename":"image_14122025_03_56_23_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/01df92f655b35fe02956e54093d42355.jpg","text":"TemporaryFile(/tmp/multipartBody6032475373034334570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681103299,"filename":"image_14122025_03_56_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/766419a80ff8411f1c7a4d935dea757a.jpg","text":"TemporaryFile(/tmp/multipartBody2648086199025016555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681103299,"filename":"image_14122025_03_55_43_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a942e54e2a6ca361e79a813f2c2aa14.jpg","text":"TemporaryFile(/tmp/multipartBody4254335755398226226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681103299,"filename":"image_14122025_03_55_34_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36a9e2b7ec14e3afeb3d97c59c31364a.jpg","text":"TemporaryFile(/tmp/multipartBody7874428024035607475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681103299,"filename":"image_14122025_03_56_04_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/988c39e7d417d99530bbd118603a6030.jpg","text":"TemporaryFile(/tmp/multipartBody1680507200307371340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681103299,"filename":"image_14122025_03_55_53_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399321183","file1":"1399321182","file0":"1399321181","file4":"1399321185","file5":"1399321186","file3":"1399321184"},"map_files_photo_id_array":[{"photo_id":"1399321186","filename":"file5"},{"photo_id":"1399321183","filename":"file2"},{"photo_id":"1399321185","filename":"file4"},{"photo_id":"1399321182","filename":"file1"},{"photo_id":"1399321181","filename":"file0"},{"photo_id":"1399321184","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399321186":["hashtag1","hashtag2"]},{"1399321185":["hashtag1","hashtag2"]},{"1399321182":["hashtag1","hashtag2"]},{"1399321181":["hashtag1","hashtag2"]},{"1399321184":["hashtag1","hashtag2"]},{"1399321183":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399321186, 1399321185, 1399321182, 1399321181, 1399321184, 1399321183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71364998817444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 03:59:03.082436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/56/image_14122025_03_56_34_10637.jpg', '/home/pi/Desktop/images/14122025/03/56/image_14122025_03_56_44_9594.jpg', '/home/pi/Desktop/images/14122025/03/56/image_14122025_03_56_53_9838.jpg', '/home/pi/Desktop/images/14122025/03/56/image_14122025_03_57_04_10700.jpg', '/home/pi/Desktop/images/14122025/03/57/image_14122025_03_57_43_9569.jpg', '/home/pi/Desktop/images/14122025/03/57/image_14122025_03_57_54_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/56/image_14122025_03_56_34_10637.jpg
/home/pi/Desktop/images/14122025/03/56/image_14122025_03_56_44_9594.jpg
/home/pi/Desktop/images/14122025/03/56/image_14122025_03_56_53_9838.jpg
/home/pi/Desktop/images/14122025/03/56/image_14122025_03_57_04_10700.jpg
/home/pi/Desktop/images/14122025/03/57/image_14122025_03_57_43_9569.jpg
/home/pi/Desktop/images/14122025/03/57/image_14122025_03_57_54_10679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399321197","1399321201","1399321204","1399321194","1399321192","1399321198"],"photo_ids_order":["1399321192","1399321194","1399321197","1399321198","1399321201","1399321204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf0a338fd98d18c70821e689d85f628f.jpg","text":"TemporaryFile(/tmp/multipartBody5565610301307528862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681203825,"filename":"image_14122025_03_56_53_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/64d8b22d0f6022c533e8225deddb930c.jpg","text":"TemporaryFile(/tmp/multipartBody8598920451826282558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681203825,"filename":"image_14122025_03_57_43_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f11372a60bce8b2ad5e85a8d3f1d0b8.jpg","text":"TemporaryFile(/tmp/multipartBody6351195538581360113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681203825,"filename":"image_14122025_03_57_54_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/696d2bc1366f0a38c2f3cb33c8ddc0c3.jpg","text":"TemporaryFile(/tmp/multipartBody7998885822626775884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681203825,"filename":"image_14122025_03_56_44_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c4b311b7c1f1ab6125edf28c2d0613bc.jpg","text":"TemporaryFile(/tmp/multipartBody5343921404662957110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681203825,"filename":"image_14122025_03_56_34_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2098c687e2fe8118a20dd4a13fd3def8.jpg","text":"TemporaryFile(/tmp/multipartBody943136502409039297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681203825,"filename":"image_14122025_03_57_04_10700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399321197","file1":"1399321194","file0":"1399321192","file4":"1399321201","file5":"1399321204","file3":"1399321198"},"map_files_photo_id_array":[{"photo_id":"1399321204","filename":"file5"},{"photo_id":"1399321197","filename":"file2"},{"photo_id":"1399321201","filename":"file4"},{"photo_id":"1399321194","filename":"file1"},{"photo_id":"1399321192","filename":"file0"},{"photo_id":"1399321198","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399321197":["hashtag1","hashtag2"]},{"1399321201":["hashtag1","hashtag2"]},{"1399321204":["hashtag1","hashtag2"]},{"1399321194":["hashtag1","hashtag2"]},{"1399321192":["hashtag1","hashtag2"]},{"1399321198":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399321197, 1399321201, 1399321204, 1399321194, 1399321192, 1399321198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.617473125457764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:00:02.798407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/57/image_14122025_03_58_04_9729.jpg', '/home/pi/Desktop/images/14122025/03/58/image_14122025_03_58_13_9693.jpg', '/home/pi/Desktop/images/14122025/03/58/image_14122025_03_58_34_9614.jpg', '/home/pi/Desktop/images/14122025/03/59/image_14122025_03_59_24_10633.jpg', '/home/pi/Desktop/images/14122025/03/59/image_14122025_03_59_34_9702.jpg', '/home/pi/Desktop/images/14122025/03/59/image_14122025_03_59_44_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/57/image_14122025_03_58_04_9729.jpg
/home/pi/Desktop/images/14122025/03/58/image_14122025_03_58_13_9693.jpg
/home/pi/Desktop/images/14122025/03/58/image_14122025_03_58_34_9614.jpg
/home/pi/Desktop/images/14122025/03/59/image_14122025_03_59_24_10633.jpg
/home/pi/Desktop/images/14122025/03/59/image_14122025_03_59_34_9702.jpg
/home/pi/Desktop/images/14122025/03/59/image_14122025_03_59_44_9715.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5509893894195557 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:00:12.319287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:00:22.373231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/57/image_14122025_03_58_04_9729.jpg', '/home/pi/Desktop/images/14122025/03/58/image_14122025_03_58_13_9693.jpg', '/home/pi/Desktop/images/14122025/03/58/image_14122025_03_58_34_9614.jpg', '/home/pi/Desktop/images/14122025/03/59/image_14122025_03_59_24_10633.jpg', '/home/pi/Desktop/images/14122025/03/59/image_14122025_03_59_34_9702.jpg', '/home/pi/Desktop/images/14122025/03/59/image_14122025_03_59_44_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/57/image_14122025_03_58_04_9729.jpg
/home/pi/Desktop/images/14122025/03/58/image_14122025_03_58_13_9693.jpg
/home/pi/Desktop/images/14122025/03/58/image_14122025_03_58_34_9614.jpg
/home/pi/Desktop/images/14122025/03/59/image_14122025_03_59_24_10633.jpg
/home/pi/Desktop/images/14122025/03/59/image_14122025_03_59_34_9702.jpg
/home/pi/Desktop/images/14122025/03/59/image_14122025_03_59_44_9715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399321332","1399321295","1399321373","1399321229","1399321421","1399321255"],"photo_ids_order":["1399321229","1399321255","1399321295","1399321332","1399321373","1399321421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ca0626acacc5baa49049433829a1b12d.jpg","text":"TemporaryFile(/tmp/multipartBody3725635078249270462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681283057,"filename":"image_14122025_03_59_24_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fd9a5e612784cad4876ada6319f28993.jpg","text":"TemporaryFile(/tmp/multipartBody4733340642047876225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681283057,"filename":"image_14122025_03_58_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5bc3cdc7b1fce730eee73bf16a96fc58.jpg","text":"TemporaryFile(/tmp/multipartBody7146608501707839354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681283057,"filename":"image_14122025_03_59_34_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/202e79df9ed35cfaee9715e565242b00.jpg","text":"TemporaryFile(/tmp/multipartBody4952216483016023092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681283057,"filename":"image_14122025_03_58_04_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f551aa0602c37209932758b2d6ea8e23.jpg","text":"TemporaryFile(/tmp/multipartBody2273606052216748005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681283057,"filename":"image_14122025_03_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/12/14/2aed5b8d7e1293ea6b29cfd5d0ccd9d8.jpg","text":"TemporaryFile(/tmp/multipartBody4620466277905893736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681283057,"filename":"image_14122025_03_58_13_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399321295","file1":"1399321255","file0":"1399321229","file4":"1399321373","file5":"1399321421","file3":"1399321332"},"map_files_photo_id_array":[{"photo_id":"1399321421","filename":"file5"},{"photo_id":"1399321295","filename":"file2"},{"photo_id":"1399321373","filename":"file4"},{"photo_id":"1399321255","filename":"file1"},{"photo_id":"1399321229","filename":"file0"},{"photo_id":"1399321332","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399321332":["hashtag1","hashtag2"]},{"1399321295":["hashtag1","hashtag2"]},{"1399321373":["hashtag1","hashtag2"]},{"1399321229":["hashtag1","hashtag2"]},{"1399321421":["hashtag1","hashtag2"]},{"1399321255":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399321332, 1399321295, 1399321373, 1399321229, 1399321421, 1399321255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61983346939087 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:01:03.260553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/03/59/image_14122025_03_59_53_9720.jpg', '/home/pi/Desktop/images/14122025/03/59/image_14122025_04_00_04_10687.jpg', '/home/pi/Desktop/images/14122025/04/00/image_14122025_04_00_14_9668.jpg', '/home/pi/Desktop/images/14122025/04/00/image_14122025_04_00_34_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/03/59/image_14122025_03_59_53_9720.jpg
/home/pi/Desktop/images/14122025/03/59/image_14122025_04_00_04_10687.jpg
/home/pi/Desktop/images/14122025/04/00/image_14122025_04_00_14_9668.jpg
/home/pi/Desktop/images/14122025/04/00/image_14122025_04_00_34_9563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399321654","1399321708","1399321611","1399321573"],"photo_ids_order":["1399321573","1399321611","1399321654","1399321708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eb5cdad0d67fe33f8a2ffbedc1a0c2e5.jpg","text":"TemporaryFile(/tmp/multipartBody1976009765935508448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681323848,"filename":"image_14122025_04_00_14_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1ff881c11bb5c924c95e75f547991ad.jpg","text":"TemporaryFile(/tmp/multipartBody8258494693296657844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681323848,"filename":"image_14122025_04_00_34_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fc5611b0c7723de9df675c4b1965e3cb.jpg","text":"TemporaryFile(/tmp/multipartBody2817720185781506670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681323848,"filename":"image_14122025_04_00_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/12/14/cb4ad8f2709f13490fd3165bbb249234.jpg","text":"TemporaryFile(/tmp/multipartBody8975784177896129780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681323848,"filename":"image_14122025_03_59_53_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399321654","file1":"1399321611","file0":"1399321573","file3":"1399321708"},"map_files_photo_id_array":[{"photo_id":"1399321654","filename":"file2"},{"photo_id":"1399321611","filename":"file1"},{"photo_id":"1399321573","filename":"file0"},{"photo_id":"1399321708","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399321654":["hashtag1","hashtag2"]},{"1399321708":["hashtag1","hashtag2"]},{"1399321611":["hashtag1","hashtag2"]},{"1399321573":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399321654, 1399321708, 1399321611, 1399321573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.64903163909912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:01:32.622352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:01:42.564520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_10_3694.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_13_2593.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_16_2616.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_19_3692.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_22_2689.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_25_2899.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_10_3694.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_13_2593.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_16_2616.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_19_3692.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_22_2689.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_25_2899.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399322913","1399322436","1399322686","1399322312","1399322578","1399322803"],"photo_ids_order":["1399322312","1399322436","1399322578","1399322686","1399322803","1399322913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3cb99edc97dcf1519af7f5ce073f20de.jpg","text":"TemporaryFile(/tmp/multipartBody1303109340515593570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681363264,"filename":"image_04112025_11_23_25_2899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/882417beadee184cb422375d6d165d3f.jpg","text":"TemporaryFile(/tmp/multipartBody6363516433384767886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681363264,"filename":"image_04112025_11_23_13_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e29085181b71cb90c858e55e124e3e97.jpg","text":"TemporaryFile(/tmp/multipartBody4255509262392954439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681363264,"filename":"image_04112025_11_23_19_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/09aa334b3f7928c36e95d262e8216cc5.jpg","text":"TemporaryFile(/tmp/multipartBody7907039886267618701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681363264,"filename":"image_04112025_11_23_10_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/95bd57d92ebce7d15a501f16bf78189f.jpg","text":"TemporaryFile(/tmp/multipartBody5169419321502950900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681363264,"filename":"image_04112025_11_23_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/12/14/a272a6f9c48459480b0a4889d6235716.jpg","text":"TemporaryFile(/tmp/multipartBody2201987260824893126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681363264,"filename":"image_04112025_11_23_22_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399322578","file1":"1399322436","file0":"1399322312","file4":"1399322803","file5":"1399322913","file3":"1399322686"},"map_files_photo_id_array":[{"photo_id":"1399322913","filename":"file5"},{"photo_id":"1399322578","filename":"file2"},{"photo_id":"1399322803","filename":"file4"},{"photo_id":"1399322436","filename":"file1"},{"photo_id":"1399322312","filename":"file0"},{"photo_id":"1399322686","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399322913":["hashtag1","hashtag2"]},{"1399322436":["hashtag1","hashtag2"]},{"1399322686":["hashtag1","hashtag2"]},{"1399322312":["hashtag1","hashtag2"]},{"1399322578":["hashtag1","hashtag2"]},{"1399322803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399322913, 1399322436, 1399322686, 1399322312, 1399322578, 1399322803)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.65563344955444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:02:31.851615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:02:41.814788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_27_2688.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_31_3762.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_34_2636.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_36_2554.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_40_3574.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_43_2503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_27_2688.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_31_3762.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_34_2636.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_36_2554.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_40_3574.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_43_2503.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6290786266326904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:03:02.882227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/00/image_14122025_04_00_43_9680.jpg', '/home/pi/Desktop/images/14122025/04/01/image_14122025_04_01_14_9579.jpg', '/home/pi/Desktop/images/14122025/04/01/image_14122025_04_01_23_9821.jpg', '/home/pi/Desktop/images/14122025/04/01/image_14122025_04_01_44_9678.jpg', '/home/pi/Desktop/images/14122025/04/01/image_14122025_04_01_53_9607.jpg', '/home/pi/Desktop/images/14122025/04/01/image_14122025_04_02_04_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/00/image_14122025_04_00_43_9680.jpg
/home/pi/Desktop/images/14122025/04/01/image_14122025_04_01_14_9579.jpg
/home/pi/Desktop/images/14122025/04/01/image_14122025_04_01_23_9821.jpg
/home/pi/Desktop/images/14122025/04/01/image_14122025_04_01_44_9678.jpg
/home/pi/Desktop/images/14122025/04/01/image_14122025_04_01_53_9607.jpg
/home/pi/Desktop/images/14122025/04/01/image_14122025_04_02_04_10573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399324227","1399324121","1399324159","1399324197","1399324035","1399324230"],"photo_ids_order":["1399324035","1399324121","1399324159","1399324197","1399324227","1399324230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cdf4d585684a67950669e04297a20f84.jpg","text":"TemporaryFile(/tmp/multipartBody4637735203266516482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681443544,"filename":"image_14122025_04_01_53_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/361d1312b426df305242c0ece7752db5.jpg","text":"TemporaryFile(/tmp/multipartBody1712253752658259947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681443544,"filename":"image_14122025_04_01_14_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d89bc67b928d39d4b725dcd9d267160c.jpg","text":"TemporaryFile(/tmp/multipartBody331688560088842408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681443544,"filename":"image_14122025_04_01_23_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6d99a2fbd46318f0e04b1eeb46e07fe8.jpg","text":"TemporaryFile(/tmp/multipartBody8415054099257586529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681443544,"filename":"image_14122025_04_01_44_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/485d0a4f690b8444643c9c6cb2021c6d.jpg","text":"TemporaryFile(/tmp/multipartBody61787167499099107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681443544,"filename":"image_14122025_04_00_43_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e88c48b78ed512656f1fc1bdda5dfce.jpg","text":"TemporaryFile(/tmp/multipartBody6347972517203552423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681443544,"filename":"image_14122025_04_02_04_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399324159","file1":"1399324121","file0":"1399324035","file4":"1399324227","file5":"1399324230","file3":"1399324197"},"map_files_photo_id_array":[{"photo_id":"1399324230","filename":"file5"},{"photo_id":"1399324159","filename":"file2"},{"photo_id":"1399324227","filename":"file4"},{"photo_id":"1399324121","filename":"file1"},{"photo_id":"1399324035","filename":"file0"},{"photo_id":"1399324197","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399324227":["hashtag1","hashtag2"]},{"1399324121":["hashtag1","hashtag2"]},{"1399324159":["hashtag1","hashtag2"]},{"1399324197":["hashtag1","hashtag2"]},{"1399324035":["hashtag1","hashtag2"]},{"1399324230":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399324227, 1399324121, 1399324159, 1399324197, 1399324035, 1399324230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.622528314590454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:03:42.017334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_27_2688.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_31_3762.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_34_2636.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_36_2554.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_40_3574.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_43_2503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_27_2688.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_31_3762.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_34_2636.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_36_2554.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_40_3574.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_43_2503.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399324663","1399324593","1399324488","1399324411","1399324677","1399324554"],"photo_ids_order":["1399324411","1399324488","1399324554","1399324593","1399324663","1399324677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cdbfbf4f22373e833a76289b10963a70.jpg","text":"TemporaryFile(/tmp/multipartBody5402801204908916091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681482607,"filename":"image_04112025_11_23_40_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f6a87e4983b20c758ed7499bd0eef34d.jpg","text":"TemporaryFile(/tmp/multipartBody6720334944762370372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681482607,"filename":"image_04112025_11_23_36_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3615dbd4189c20b9842e9be368a980da.jpg","text":"TemporaryFile(/tmp/multipartBody7858251289361015319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681482607,"filename":"image_04112025_11_23_31_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0905a53bb7038a0f1d3387320883d630.jpg","text":"TemporaryFile(/tmp/multipartBody6426493936712598640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681482607,"filename":"image_04112025_11_23_27_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/189e4763251cfd6a431e04c30a5b74d4.jpg","text":"TemporaryFile(/tmp/multipartBody5854417216042227837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681482607,"filename":"image_04112025_11_23_43_2503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d9ca4c68c0ac173da44557f9dd8e8a2f.jpg","text":"TemporaryFile(/tmp/multipartBody1650662939344793018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681482607,"filename":"image_04112025_11_23_34_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399324554","file1":"1399324488","file0":"1399324411","file4":"1399324663","file5":"1399324677","file3":"1399324593"},"map_files_photo_id_array":[{"photo_id":"1399324677","filename":"file5"},{"photo_id":"1399324554","filename":"file2"},{"photo_id":"1399324663","filename":"file4"},{"photo_id":"1399324488","filename":"file1"},{"photo_id":"1399324411","filename":"file0"},{"photo_id":"1399324593","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399324663":["hashtag1","hashtag2"]},{"1399324593":["hashtag1","hashtag2"]},{"1399324488":["hashtag1","hashtag2"]},{"1399324411":["hashtag1","hashtag2"]},{"1399324677":["hashtag1","hashtag2"]},{"1399324554":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399324663, 1399324593, 1399324488, 1399324411, 1399324677, 1399324554)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.863807678222656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:04:32.285701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:04:42.293667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_46_3263.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_49_3520.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_52_2900.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_55_2741.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_58_2606.jpg', '/home/pi/Desktop/images/04112025/11/23/image_04112025_11_24_01_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_46_3263.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_49_3520.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_52_2900.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_55_2741.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_23_58_2606.jpg
/home/pi/Desktop/images/04112025/11/23/image_04112025_11_24_01_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":["1399325044","1399325110","1399325082","1399325101","1399325103","1399325099"],"photo_ids_order":["1399325044","1399325082","1399325099","1399325101","1399325103","1399325110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f4f23e6eb8acd6f375a31bf33b5654b.jpg","text":"TemporaryFile(/tmp/multipartBody4065135642391704029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681543036,"filename":"image_04112025_11_23_46_3263.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f331ba6aea38e681c73551edb6b6ad37.jpg","text":"TemporaryFile(/tmp/multipartBody4352401042651237527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681543036,"filename":"image_04112025_11_24_01_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54a70b1752aed112f17b5c8d18f4638b.jpg","text":"TemporaryFile(/tmp/multipartBody6822841074628512172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681543036,"filename":"image_04112025_11_23_49_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f35beca7ca428f2bcd223ecb644b3ea7.jpg","text":"TemporaryFile(/tmp/multipartBody2230196253663830235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681543036,"filename":"image_04112025_11_23_55_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ed4ed6c2f86a58fa611494a0fc5a04b.jpg","text":"TemporaryFile(/tmp/multipartBody4456009535932747713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681543036,"filename":"image_04112025_11_23_58_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d0c27b56677c95682728a69ddcef6cd9.jpg","text":"TemporaryFile(/tmp/multipartBody6202585728220444859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681543036,"filename":"image_04112025_11_23_52_2900.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325099","file1":"1399325082","file0":"1399325044","file4":"1399325103","file5":"1399325110","file3":"1399325101"},"map_files_photo_id_array":[{"photo_id":"1399325110","filename":"file5"},{"photo_id":"1399325099","filename":"file2"},{"photo_id":"1399325103","filename":"file4"},{"photo_id":"1399325082","filename":"file1"},{"photo_id":"1399325044","filename":"file0"},{"photo_id":"1399325101","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399325044":["hashtag1","hashtag2"]},{"1399325110":["hashtag1","hashtag2"]},{"1399325082":["hashtag1","hashtag2"]},{"1399325101":["hashtag1","hashtag2"]},{"1399325103":["hashtag1","hashtag2"]},{"1399325099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399325044, 1399325110, 1399325082, 1399325101, 1399325103, 1399325099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.253358364105225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:05:22.473336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/02/image_14122025_04_02_14_9669.jpg', '/home/pi/Desktop/images/14122025/04/02/image_14122025_04_02_23_9771.jpg', '/home/pi/Desktop/images/14122025/04/02/image_14122025_04_02_34_10843.jpg', '/home/pi/Desktop/images/14122025/04/02/image_14122025_04_02_44_9557.jpg', '/home/pi/Desktop/images/14122025/04/02/image_14122025_04_02_53_9571.jpg', '/home/pi/Desktop/images/14122025/04/02/image_14122025_04_03_04_10716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/02/image_14122025_04_02_14_9669.jpg
/home/pi/Desktop/images/14122025/04/02/image_14122025_04_02_23_9771.jpg
/home/pi/Desktop/images/14122025/04/02/image_14122025_04_02_34_10843.jpg
/home/pi/Desktop/images/14122025/04/02/image_14122025_04_02_44_9557.jpg
/home/pi/Desktop/images/14122025/04/02/image_14122025_04_02_53_9571.jpg
/home/pi/Desktop/images/14122025/04/02/image_14122025_04_03_04_10716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325231","1399325225","1399325207","1399325173","1399325233","1399325235"],"photo_ids_order":["1399325173","1399325207","1399325225","1399325231","1399325233","1399325235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f56308162e33ea0f608df8a7f8294407.jpg","text":"TemporaryFile(/tmp/multipartBody3801251839165315307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681583088,"filename":"image_14122025_04_02_44_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/66d8986c4c21e2925b3773e6ad4278f6.jpg","text":"TemporaryFile(/tmp/multipartBody5265817917192297613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681583088,"filename":"image_14122025_04_02_34_10843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b827ab5c3fd2834d3c943921e5284e0.jpg","text":"TemporaryFile(/tmp/multipartBody2764049769694046716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681583088,"filename":"image_14122025_04_02_23_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/38699cb3e6d2005f48d989b152bb1172.jpg","text":"TemporaryFile(/tmp/multipartBody226621710027269456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681583088,"filename":"image_14122025_04_02_14_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d541d2af4c4679de80362fb580f8e3f9.jpg","text":"TemporaryFile(/tmp/multipartBody6741305148027668599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681583088,"filename":"image_14122025_04_02_53_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/106c67915a859b6c92c1a3e9a034115f.jpg","text":"TemporaryFile(/tmp/multipartBody1424703430483143722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681583088,"filename":"image_14122025_04_03_04_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325225","file1":"1399325207","file0":"1399325173","file4":"1399325233","file5":"1399325235","file3":"1399325231"},"map_files_photo_id_array":[{"photo_id":"1399325235","filename":"file5"},{"photo_id":"1399325225","filename":"file2"},{"photo_id":"1399325233","filename":"file4"},{"photo_id":"1399325207","filename":"file1"},{"photo_id":"1399325173","filename":"file0"},{"photo_id":"1399325231","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325231":["hashtag1","hashtag2"]},{"1399325225":["hashtag1","hashtag2"]},{"1399325207":["hashtag1","hashtag2"]},{"1399325173":["hashtag1","hashtag2"]},{"1399325233":["hashtag1","hashtag2"]},{"1399325235":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325231, 1399325225, 1399325207, 1399325173, 1399325233, 1399325235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13531947135925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:06:03.065570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/03/image_14122025_04_03_14_9593.jpg', '/home/pi/Desktop/images/14122025/04/03/image_14122025_04_03_23_9659.jpg', '/home/pi/Desktop/images/14122025/04/03/image_14122025_04_03_34_10556.jpg', '/home/pi/Desktop/images/14122025/04/03/image_14122025_04_03_44_9631.jpg', '/home/pi/Desktop/images/14122025/04/03/image_14122025_04_03_53_9818.jpg', '/home/pi/Desktop/images/14122025/04/03/image_14122025_04_04_04_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/03/image_14122025_04_03_14_9593.jpg
/home/pi/Desktop/images/14122025/04/03/image_14122025_04_03_23_9659.jpg
/home/pi/Desktop/images/14122025/04/03/image_14122025_04_03_34_10556.jpg
/home/pi/Desktop/images/14122025/04/03/image_14122025_04_03_44_9631.jpg
/home/pi/Desktop/images/14122025/04/03/image_14122025_04_03_53_9818.jpg
/home/pi/Desktop/images/14122025/04/03/image_14122025_04_04_04_10589.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5929408073425293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:06:12.649740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:06:22.808290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/03/image_14122025_04_03_14_9593.jpg', '/home/pi/Desktop/images/14122025/04/03/image_14122025_04_03_23_9659.jpg', '/home/pi/Desktop/images/14122025/04/03/image_14122025_04_03_34_10556.jpg', '/home/pi/Desktop/images/14122025/04/03/image_14122025_04_03_44_9631.jpg', '/home/pi/Desktop/images/14122025/04/03/image_14122025_04_03_53_9818.jpg', '/home/pi/Desktop/images/14122025/04/03/image_14122025_04_04_04_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/03/image_14122025_04_03_14_9593.jpg
/home/pi/Desktop/images/14122025/04/03/image_14122025_04_03_23_9659.jpg
/home/pi/Desktop/images/14122025/04/03/image_14122025_04_03_34_10556.jpg
/home/pi/Desktop/images/14122025/04/03/image_14122025_04_03_44_9631.jpg
/home/pi/Desktop/images/14122025/04/03/image_14122025_04_03_53_9818.jpg
/home/pi/Desktop/images/14122025/04/03/image_14122025_04_04_04_10589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325258","1399325252","1399325254","1399325256","1399325259","1399325261"],"photo_ids_order":["1399325252","1399325254","1399325256","1399325258","1399325259","1399325261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/65b0ccff7de9c676d5fb03c17775735e.jpg","text":"TemporaryFile(/tmp/multipartBody5241106619618172927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681643464,"filename":"image_14122025_04_03_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0653e118e2c26165e570e0cabc40a772.jpg","text":"TemporaryFile(/tmp/multipartBody4073706534077704842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681643464,"filename":"image_14122025_04_03_14_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c01684a85ef058068a04401a22bf1c04.jpg","text":"TemporaryFile(/tmp/multipartBody397894296044886738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681643464,"filename":"image_14122025_04_03_23_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/078e3325d0a7e8d74ddaaeb100ef743f.jpg","text":"TemporaryFile(/tmp/multipartBody1382749524823166340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681643464,"filename":"image_14122025_04_03_34_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/308b96f90b074047824e2719a6508d28.jpg","text":"TemporaryFile(/tmp/multipartBody1457585680828339457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681643464,"filename":"image_14122025_04_03_53_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c089f7f98bcd6acb426866974fce80ec.jpg","text":"TemporaryFile(/tmp/multipartBody5343539760137310266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681643464,"filename":"image_14122025_04_04_04_10589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325256","file1":"1399325254","file0":"1399325252","file4":"1399325259","file5":"1399325261","file3":"1399325258"},"map_files_photo_id_array":[{"photo_id":"1399325261","filename":"file5"},{"photo_id":"1399325256","filename":"file2"},{"photo_id":"1399325259","filename":"file4"},{"photo_id":"1399325254","filename":"file1"},{"photo_id":"1399325252","filename":"file0"},{"photo_id":"1399325258","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325258":["hashtag1","hashtag2"]},{"1399325252":["hashtag1","hashtag2"]},{"1399325254":["hashtag1","hashtag2"]},{"1399325256":["hashtag1","hashtag2"]},{"1399325259":["hashtag1","hashtag2"]},{"1399325261":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325258, 1399325252, 1399325254, 1399325256, 1399325259, 1399325261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0467586517334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:07:02.364789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/04/image_14122025_04_04_14_9770.jpg', '/home/pi/Desktop/images/14122025/04/04/image_14122025_04_04_23_9608.jpg', '/home/pi/Desktop/images/14122025/04/04/image_14122025_04_04_34_10827.jpg', '/home/pi/Desktop/images/14122025/04/04/image_14122025_04_04_44_9690.jpg', '/home/pi/Desktop/images/14122025/04/04/image_14122025_04_04_54_9745.jpg', '/home/pi/Desktop/images/14122025/04/04/image_14122025_04_05_04_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/04/image_14122025_04_04_14_9770.jpg
/home/pi/Desktop/images/14122025/04/04/image_14122025_04_04_23_9608.jpg
/home/pi/Desktop/images/14122025/04/04/image_14122025_04_04_34_10827.jpg
/home/pi/Desktop/images/14122025/04/04/image_14122025_04_04_44_9690.jpg
/home/pi/Desktop/images/14122025/04/04/image_14122025_04_04_54_9745.jpg
/home/pi/Desktop/images/14122025/04/04/image_14122025_04_05_04_10643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325270","1399325266","1399325269","1399325271","1399325268","1399325273"],"photo_ids_order":["1399325266","1399325268","1399325269","1399325270","1399325271","1399325273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ac6fed5c24a8b7d5b6fe58b592c97d8e.jpg","text":"TemporaryFile(/tmp/multipartBody6535780608754451565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681683027,"filename":"image_14122025_04_04_44_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a547a893eec8531e8a4fb474d6d8d2f.jpg","text":"TemporaryFile(/tmp/multipartBody7197780905210799263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681683027,"filename":"image_14122025_04_04_14_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a0fd769b99a4417a3ce9dc340efb7e9f.jpg","text":"TemporaryFile(/tmp/multipartBody8774596005956098093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681683027,"filename":"image_14122025_04_04_34_10827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c153203a2aec8ef6b18566ed0ebdcdbd.jpg","text":"TemporaryFile(/tmp/multipartBody4119151930044513496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681683027,"filename":"image_14122025_04_04_54_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ff5701f34dabad100012f1365af62c5b.jpg","text":"TemporaryFile(/tmp/multipartBody2460842384426398650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681683027,"filename":"image_14122025_04_04_23_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2cc6f2fb56259a0759b604d258c49249.jpg","text":"TemporaryFile(/tmp/multipartBody1539954533872441301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681683027,"filename":"image_14122025_04_05_04_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325269","file1":"1399325268","file0":"1399325266","file4":"1399325271","file5":"1399325273","file3":"1399325270"},"map_files_photo_id_array":[{"photo_id":"1399325273","filename":"file5"},{"photo_id":"1399325269","filename":"file2"},{"photo_id":"1399325271","filename":"file4"},{"photo_id":"1399325268","filename":"file1"},{"photo_id":"1399325266","filename":"file0"},{"photo_id":"1399325270","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325270":["hashtag1","hashtag2"]},{"1399325266":["hashtag1","hashtag2"]},{"1399325269":["hashtag1","hashtag2"]},{"1399325271":["hashtag1","hashtag2"]},{"1399325268":["hashtag1","hashtag2"]},{"1399325273":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325270, 1399325266, 1399325269, 1399325271, 1399325268, 1399325273)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.260499000549316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:08:02.917897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/05/image_14122025_04_05_14_9662.jpg', '/home/pi/Desktop/images/14122025/04/05/image_14122025_04_05_34_10602.jpg', '/home/pi/Desktop/images/14122025/04/05/image_14122025_04_05_44_9556.jpg', '/home/pi/Desktop/images/14122025/04/05/image_14122025_04_06_03_9762.jpg', '/home/pi/Desktop/images/14122025/04/06/image_14122025_04_06_14_10754.jpg', '/home/pi/Desktop/images/14122025/04/06/image_14122025_04_06_24_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/05/image_14122025_04_05_14_9662.jpg
/home/pi/Desktop/images/14122025/04/05/image_14122025_04_05_34_10602.jpg
/home/pi/Desktop/images/14122025/04/05/image_14122025_04_05_44_9556.jpg
/home/pi/Desktop/images/14122025/04/05/image_14122025_04_06_03_9762.jpg
/home/pi/Desktop/images/14122025/04/06/image_14122025_04_06_14_10754.jpg
/home/pi/Desktop/images/14122025/04/06/image_14122025_04_06_24_10005.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325290","1399325287","1399325283","1399325286","1399325285","1399325288"],"photo_ids_order":["1399325283","1399325285","1399325286","1399325287","1399325288","1399325290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be08325d2c4a5c399def67dcb7d5ac12.jpg","text":"TemporaryFile(/tmp/multipartBody227362691808054148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681743561,"filename":"image_14122025_04_06_24_10005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/844248e56e25291457b97ea220cd591a.jpg","text":"TemporaryFile(/tmp/multipartBody2439671780721508715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681743561,"filename":"image_14122025_04_06_03_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2e9d51cff4bc1a2ea003e38fbb91e392.jpg","text":"TemporaryFile(/tmp/multipartBody7746431418416909877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681743561,"filename":"image_14122025_04_05_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/12/14/218e13732f80d4c73af959ab0aee05c8.jpg","text":"TemporaryFile(/tmp/multipartBody1680360106746272548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681743561,"filename":"image_14122025_04_05_44_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e86f353928535f509b3c45600e491377.jpg","text":"TemporaryFile(/tmp/multipartBody6078323661002943840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681743561,"filename":"image_14122025_04_05_34_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/57032ed45ebad8fedfb0406f6268744b.jpg","text":"TemporaryFile(/tmp/multipartBody8191085057087476147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681743561,"filename":"image_14122025_04_06_14_10754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325286","file1":"1399325285","file0":"1399325283","file4":"1399325288","file5":"1399325290","file3":"1399325287"},"map_files_photo_id_array":[{"photo_id":"1399325290","filename":"file5"},{"photo_id":"1399325286","filename":"file2"},{"photo_id":"1399325288","filename":"file4"},{"photo_id":"1399325285","filename":"file1"},{"photo_id":"1399325283","filename":"file0"},{"photo_id":"1399325287","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325290":["hashtag1","hashtag2"]},{"1399325287":["hashtag1","hashtag2"]},{"1399325283":["hashtag1","hashtag2"]},{"1399325286":["hashtag1","hashtag2"]},{"1399325285":["hashtag1","hashtag2"]},{"1399325288":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325290, 1399325287, 1399325283, 1399325286, 1399325285, 1399325288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63666844367981 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:08:42.451280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_04_2568.jpg', '/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_07_3578.jpg', '/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_10_2628.jpg', '/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_13_2708.jpg', '/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_16_3556.jpg', '/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_19_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_04_2568.jpg
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_07_3578.jpg
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_10_2628.jpg
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_13_2708.jpg
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_16_3556.jpg
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_19_2641.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.637364387512207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:09:04.366172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/06/image_14122025_04_06_34_9719.jpg', '/home/pi/Desktop/images/14122025/04/06/image_14122025_04_06_44_10162.jpg', '/home/pi/Desktop/images/14122025/04/06/image_14122025_04_06_54_9635.jpg', '/home/pi/Desktop/images/14122025/04/06/image_14122025_04_07_03_9851.jpg', '/home/pi/Desktop/images/14122025/04/07/image_14122025_04_07_14_10823.jpg', '/home/pi/Desktop/images/14122025/04/07/image_14122025_04_08_04_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/06/image_14122025_04_06_34_9719.jpg
/home/pi/Desktop/images/14122025/04/06/image_14122025_04_06_44_10162.jpg
/home/pi/Desktop/images/14122025/04/06/image_14122025_04_06_54_9635.jpg
/home/pi/Desktop/images/14122025/04/06/image_14122025_04_07_03_9851.jpg
/home/pi/Desktop/images/14122025/04/07/image_14122025_04_07_14_10823.jpg
/home/pi/Desktop/images/14122025/04/07/image_14122025_04_08_04_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325318","1399325315","1399325320","1399325314","1399325313","1399325316"],"photo_ids_order":["1399325313","1399325314","1399325315","1399325316","1399325318","1399325320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/77fb5061b51fbea22de694bf70191a34.jpg","text":"TemporaryFile(/tmp/multipartBody4712456983493770273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681807651,"filename":"image_14122025_04_07_14_10823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f9467f4717b21ff323d3d68d24c06086.jpg","text":"TemporaryFile(/tmp/multipartBody289158353414604838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681807651,"filename":"image_14122025_04_06_54_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae26055d0047d2ec27aec903ca128da9.jpg","text":"TemporaryFile(/tmp/multipartBody7731280588792455748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681807651,"filename":"image_14122025_04_08_04_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/849525a0c26cda58e89e4f5c38208e45.jpg","text":"TemporaryFile(/tmp/multipartBody2573771782497732515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681807651,"filename":"image_14122025_04_06_44_10162.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/070264113e10009723e517396189f2d4.jpg","text":"TemporaryFile(/tmp/multipartBody468215976733986212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681807651,"filename":"image_14122025_04_06_34_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8e6d030eef2c7d08507af6a6f4b674fe.jpg","text":"TemporaryFile(/tmp/multipartBody1763354323006575010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681807651,"filename":"image_14122025_04_07_03_9851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325315","file1":"1399325314","file0":"1399325313","file4":"1399325318","file5":"1399325320","file3":"1399325316"},"map_files_photo_id_array":[{"photo_id":"1399325320","filename":"file5"},{"photo_id":"1399325315","filename":"file2"},{"photo_id":"1399325318","filename":"file4"},{"photo_id":"1399325314","filename":"file1"},{"photo_id":"1399325313","filename":"file0"},{"photo_id":"1399325316","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325318":["hashtag1","hashtag2"]},{"1399325315":["hashtag1","hashtag2"]},{"1399325320":["hashtag1","hashtag2"]},{"1399325314":["hashtag1","hashtag2"]},{"1399325313":["hashtag1","hashtag2"]},{"1399325316":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325318, 1399325315, 1399325320, 1399325314, 1399325313, 1399325316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82256054878235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:10:02.368310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/08/image_14122025_04_08_14_10619.jpg', '/home/pi/Desktop/images/14122025/04/08/image_14122025_04_08_24_9646.jpg', '/home/pi/Desktop/images/14122025/04/08/image_14122025_04_08_43_9812.jpg', '/home/pi/Desktop/images/14122025/04/08/image_14122025_04_08_54_10712.jpg', '/home/pi/Desktop/images/14122025/04/08/image_14122025_04_09_04_9715.jpg', '/home/pi/Desktop/images/14122025/04/09/image_14122025_04_09_23_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/08/image_14122025_04_08_14_10619.jpg
/home/pi/Desktop/images/14122025/04/08/image_14122025_04_08_24_9646.jpg
/home/pi/Desktop/images/14122025/04/08/image_14122025_04_08_43_9812.jpg
/home/pi/Desktop/images/14122025/04/08/image_14122025_04_08_54_10712.jpg
/home/pi/Desktop/images/14122025/04/08/image_14122025_04_09_04_9715.jpg
/home/pi/Desktop/images/14122025/04/09/image_14122025_04_09_23_9733.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5574235916137695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:10:11.942241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:10:21.935459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/08/image_14122025_04_08_14_10619.jpg', '/home/pi/Desktop/images/14122025/04/08/image_14122025_04_08_24_9646.jpg', '/home/pi/Desktop/images/14122025/04/08/image_14122025_04_08_43_9812.jpg', '/home/pi/Desktop/images/14122025/04/08/image_14122025_04_08_54_10712.jpg', '/home/pi/Desktop/images/14122025/04/08/image_14122025_04_09_04_9715.jpg', '/home/pi/Desktop/images/14122025/04/09/image_14122025_04_09_23_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/08/image_14122025_04_08_14_10619.jpg
/home/pi/Desktop/images/14122025/04/08/image_14122025_04_08_24_9646.jpg
/home/pi/Desktop/images/14122025/04/08/image_14122025_04_08_43_9812.jpg
/home/pi/Desktop/images/14122025/04/08/image_14122025_04_08_54_10712.jpg
/home/pi/Desktop/images/14122025/04/08/image_14122025_04_09_04_9715.jpg
/home/pi/Desktop/images/14122025/04/09/image_14122025_04_09_23_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":["1399325345","1399325339","1399325341","1399325343","1399325337","1399325348"],"photo_ids_order":["1399325337","1399325339","1399325341","1399325343","1399325345","1399325348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ad9d083f0d58bd39db4f6d50ed20067.jpg","text":"TemporaryFile(/tmp/multipartBody5292708668911595992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681882555,"filename":"image_14122025_04_09_04_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0e2bf5dcfb00de6a29b241ba5c4e794b.jpg","text":"TemporaryFile(/tmp/multipartBody3626897408889636495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681882555,"filename":"image_14122025_04_08_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/12/14/95ca8fe36a0338fe0b7733f2093e1a5a.jpg","text":"TemporaryFile(/tmp/multipartBody4703550153069484795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681882555,"filename":"image_14122025_04_08_43_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e98e6ebfb2009454a775ef802d5865d.jpg","text":"TemporaryFile(/tmp/multipartBody3238074938416546765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681882555,"filename":"image_14122025_04_08_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/12/14/789f00ebbd58e7f8de4e39cc14bab52b.jpg","text":"TemporaryFile(/tmp/multipartBody2800533676927761390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681882555,"filename":"image_14122025_04_08_14_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a35e9cb224b2eee04738e3142860f60.jpg","text":"TemporaryFile(/tmp/multipartBody1730448731364563533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681882555,"filename":"image_14122025_04_09_23_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325341","file1":"1399325339","file0":"1399325337","file4":"1399325345","file5":"1399325348","file3":"1399325343"},"map_files_photo_id_array":[{"photo_id":"1399325348","filename":"file5"},{"photo_id":"1399325341","filename":"file2"},{"photo_id":"1399325345","filename":"file4"},{"photo_id":"1399325339","filename":"file1"},{"photo_id":"1399325337","filename":"file0"},{"photo_id":"1399325343","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325345":["hashtag1","hashtag2"]},{"1399325339":["hashtag1","hashtag2"]},{"1399325341":["hashtag1","hashtag2"]},{"1399325343":["hashtag1","hashtag2"]},{"1399325337":["hashtag1","hashtag2"]},{"1399325348":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325345, 1399325339, 1399325341, 1399325343, 1399325337, 1399325348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.813183069229126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:11:03.042820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/09/image_14122025_04_09_34_10833.jpg', '/home/pi/Desktop/images/14122025/04/09/image_14122025_04_09_44_9683.jpg', '/home/pi/Desktop/images/14122025/04/09/image_14122025_04_09_54_9755.jpg', '/home/pi/Desktop/images/14122025/04/09/image_14122025_04_10_03_9835.jpg', '/home/pi/Desktop/images/14122025/04/10/image_14122025_04_10_43_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/09/image_14122025_04_09_34_10833.jpg
/home/pi/Desktop/images/14122025/04/09/image_14122025_04_09_44_9683.jpg
/home/pi/Desktop/images/14122025/04/09/image_14122025_04_09_54_9755.jpg
/home/pi/Desktop/images/14122025/04/09/image_14122025_04_10_03_9835.jpg
/home/pi/Desktop/images/14122025/04/10/image_14122025_04_10_43_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":["1399325357","1399325353","1399325356","1399325355","1399325358"],"photo_ids_order":["1399325353","1399325355","1399325356","1399325357","1399325358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b2f30378e5e297ef7a6af71d057bbc9.jpg","text":"TemporaryFile(/tmp/multipartBody8519365856117254995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681923676,"filename":"image_14122025_04_10_03_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f88bf0658880375811def005e5b4663.jpg","text":"TemporaryFile(/tmp/multipartBody6313250170340098872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681923676,"filename":"image_14122025_04_09_34_10833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3883aacf7034db0f30a81e73f308aaf3.jpg","text":"TemporaryFile(/tmp/multipartBody4052574404206088803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681923676,"filename":"image_14122025_04_09_54_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/38448076568a1cd7aa772ba625f50d29.jpg","text":"TemporaryFile(/tmp/multipartBody5902029657905886512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681923676,"filename":"image_14122025_04_09_44_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5637bb2d836021eaf792d7146f3a49ba.jpg","text":"TemporaryFile(/tmp/multipartBody556814959764730601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681923676,"filename":"image_14122025_04_10_43_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325356","file1":"1399325355","file0":"1399325353","file4":"1399325358","file3":"1399325357"},"map_files_photo_id_array":[{"photo_id":"1399325356","filename":"file2"},{"photo_id":"1399325358","filename":"file4"},{"photo_id":"1399325355","filename":"file1"},{"photo_id":"1399325353","filename":"file0"},{"photo_id":"1399325357","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325357":["hashtag1","hashtag2"]},{"1399325353":["hashtag1","hashtag2"]},{"1399325356":["hashtag1","hashtag2"]},{"1399325355":["hashtag1","hashtag2"]},{"1399325358":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325357, 1399325353, 1399325356, 1399325355, 1399325358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.1801962852478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:11:42.170816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_04_2568.jpg', '/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_07_3578.jpg', '/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_10_2628.jpg', '/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_13_2708.jpg', '/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_16_3556.jpg', '/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_19_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_04_2568.jpg
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_07_3578.jpg
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_10_2628.jpg
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_13_2708.jpg
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_16_3556.jpg
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_19_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":["1399325380","1399325374","1399325382","1399325376","1399325364","1399325378"],"photo_ids_order":["1399325364","1399325374","1399325376","1399325378","1399325380","1399325382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14a037cd9e599fa51d1a0734a2dbbdbf.jpg","text":"TemporaryFile(/tmp/multipartBody1664418466803126859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681962746,"filename":"image_04112025_11_24_16_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/15bb9715154dc2011d2005cede918017.jpg","text":"TemporaryFile(/tmp/multipartBody7053181384420552135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681962746,"filename":"image_04112025_11_24_07_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b38311071b26d59e78688b3b2cd9f57.jpg","text":"TemporaryFile(/tmp/multipartBody6010448203675787734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681962746,"filename":"image_04112025_11_24_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/12/14/d79fad5d099729752e7bf59877f6ef9b.jpg","text":"TemporaryFile(/tmp/multipartBody8691735653172293777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681962746,"filename":"image_04112025_11_24_10_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/904a0e6451611b8a08495b1d5f94fd48.jpg","text":"TemporaryFile(/tmp/multipartBody3233222557931693293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681962746,"filename":"image_04112025_11_24_04_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/71646ff34fc94680d2cb9c3841ddef16.jpg","text":"TemporaryFile(/tmp/multipartBody2656357996004499337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765681962746,"filename":"image_04112025_11_24_13_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325376","file1":"1399325374","file0":"1399325364","file4":"1399325380","file5":"1399325382","file3":"1399325378"},"map_files_photo_id_array":[{"photo_id":"1399325382","filename":"file5"},{"photo_id":"1399325376","filename":"file2"},{"photo_id":"1399325380","filename":"file4"},{"photo_id":"1399325374","filename":"file1"},{"photo_id":"1399325364","filename":"file0"},{"photo_id":"1399325378","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399325380":["hashtag1","hashtag2"]},{"1399325374":["hashtag1","hashtag2"]},{"1399325382":["hashtag1","hashtag2"]},{"1399325376":["hashtag1","hashtag2"]},{"1399325364":["hashtag1","hashtag2"]},{"1399325378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399325380, 1399325374, 1399325382, 1399325376, 1399325364, 1399325378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19604539871216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:12:22.448240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/10/image_14122025_04_10_54_10719.jpg', '/home/pi/Desktop/images/14122025/04/10/image_14122025_04_11_04_9677.jpg', '/home/pi/Desktop/images/14122025/04/11/image_14122025_04_11_24_9721.jpg', '/home/pi/Desktop/images/14122025/04/11/image_14122025_04_11_34_9723.jpg', '/home/pi/Desktop/images/14122025/04/11/image_14122025_04_11_54_10701.jpg', '/home/pi/Desktop/images/14122025/04/12/image_14122025_04_12_24_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/10/image_14122025_04_10_54_10719.jpg
/home/pi/Desktop/images/14122025/04/10/image_14122025_04_11_04_9677.jpg
/home/pi/Desktop/images/14122025/04/11/image_14122025_04_11_24_9721.jpg
/home/pi/Desktop/images/14122025/04/11/image_14122025_04_11_34_9723.jpg
/home/pi/Desktop/images/14122025/04/11/image_14122025_04_11_54_10701.jpg
/home/pi/Desktop/images/14122025/04/12/image_14122025_04_12_24_10707.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5182271003723145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:12:32.532239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:12:42.408485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_22_2644.jpg', '/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_25_3512.jpg', '/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_28_2647.jpg', '/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_30_2653.jpg', '/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_43_3674.jpg', '/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_46_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_22_2644.jpg
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_25_3512.jpg
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_28_2647.jpg
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_30_2653.jpg
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_43_3674.jpg
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_46_2716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325402","1399325398","1399325404","1399325394","1399325396","1399325400"],"photo_ids_order":["1399325394","1399325396","1399325398","1399325400","1399325402","1399325404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/708317c0fb750ea82a73f6015b70fd27.jpg","text":"TemporaryFile(/tmp/multipartBody8708286776405034425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682025862,"filename":"image_04112025_11_24_43_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d734bc2c153d8333f511c5af31a3e57.jpg","text":"TemporaryFile(/tmp/multipartBody7961590279580316511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682025862,"filename":"image_04112025_11_24_28_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f45a6d163827d22fbe0fe97813273a47.jpg","text":"TemporaryFile(/tmp/multipartBody5790526203739240399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682025862,"filename":"image_04112025_11_24_46_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/588ec0a2646427b08aa7185ef37a665c.jpg","text":"TemporaryFile(/tmp/multipartBody3303813667944446619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682025862,"filename":"image_04112025_11_24_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/12/14/85cd3fa0f42d697ed34ffe79269d7e5f.jpg","text":"TemporaryFile(/tmp/multipartBody398518665621182529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682025862,"filename":"image_04112025_11_24_25_3512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d1aee14355dba1338bb71703f2cbb359.jpg","text":"TemporaryFile(/tmp/multipartBody817348229098607004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682025862,"filename":"image_04112025_11_24_30_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325398","file1":"1399325396","file0":"1399325394","file4":"1399325402","file5":"1399325404","file3":"1399325400"},"map_files_photo_id_array":[{"photo_id":"1399325404","filename":"file5"},{"photo_id":"1399325398","filename":"file2"},{"photo_id":"1399325402","filename":"file4"},{"photo_id":"1399325396","filename":"file1"},{"photo_id":"1399325394","filename":"file0"},{"photo_id":"1399325400","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399325402":["hashtag1","hashtag2"]},{"1399325398":["hashtag1","hashtag2"]},{"1399325404":["hashtag1","hashtag2"]},{"1399325394":["hashtag1","hashtag2"]},{"1399325396":["hashtag1","hashtag2"]},{"1399325400":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399325402, 1399325398, 1399325404, 1399325394, 1399325396, 1399325400)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.94064712524414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:13:35.766067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:13:44.033310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_51_2562.jpg', '/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_55_3629.jpg', '/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_58_2945.jpg', '/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_10_3752.jpg', '/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_13_2589.jpg', '/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_17_3625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_51_2562.jpg
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_55_3629.jpg
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_58_2945.jpg
/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_10_3752.jpg
/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_13_2589.jpg
/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_17_3625.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6360681056976318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:14:02.895531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/10/image_14122025_04_10_54_10719.jpg', '/home/pi/Desktop/images/14122025/04/10/image_14122025_04_11_04_9677.jpg', '/home/pi/Desktop/images/14122025/04/11/image_14122025_04_11_24_9721.jpg', '/home/pi/Desktop/images/14122025/04/11/image_14122025_04_11_34_9723.jpg', '/home/pi/Desktop/images/14122025/04/11/image_14122025_04_11_54_10701.jpg', '/home/pi/Desktop/images/14122025/04/12/image_14122025_04_12_24_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/10/image_14122025_04_10_54_10719.jpg
/home/pi/Desktop/images/14122025/04/10/image_14122025_04_11_04_9677.jpg
/home/pi/Desktop/images/14122025/04/11/image_14122025_04_11_24_9721.jpg
/home/pi/Desktop/images/14122025/04/11/image_14122025_04_11_34_9723.jpg
/home/pi/Desktop/images/14122025/04/11/image_14122025_04_11_54_10701.jpg
/home/pi/Desktop/images/14122025/04/12/image_14122025_04_12_24_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":["1399325429","1399325423","1399325426","1399325424","1399325427","1399325421"],"photo_ids_order":["1399325421","1399325423","1399325424","1399325426","1399325427","1399325429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7eead34ed4757ae7ddc6d87952d2a054.jpg","text":"TemporaryFile(/tmp/multipartBody4777839236940415610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682103610,"filename":"image_14122025_04_12_24_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/18757674fa72ae02998d97720ffdddd6.jpg","text":"TemporaryFile(/tmp/multipartBody3547763025272891629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682103610,"filename":"image_14122025_04_11_04_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0495f726535ace9688fa4b7a5dbda90b.jpg","text":"TemporaryFile(/tmp/multipartBody8901367402689582705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682103610,"filename":"image_14122025_04_11_34_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d35a97fd1cd45588103567d94f287b76.jpg","text":"TemporaryFile(/tmp/multipartBody4432952905288524980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682103610,"filename":"image_14122025_04_11_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/12/14/ae0fd899846f861b47165ab7661145c6.jpg","text":"TemporaryFile(/tmp/multipartBody239419966964289040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682103610,"filename":"image_14122025_04_11_54_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7b118f07b930be599a4a6322f4e47c28.jpg","text":"TemporaryFile(/tmp/multipartBody7596537142674238758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682103610,"filename":"image_14122025_04_10_54_10719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325424","file1":"1399325423","file0":"1399325421","file4":"1399325427","file5":"1399325429","file3":"1399325426"},"map_files_photo_id_array":[{"photo_id":"1399325429","filename":"file5"},{"photo_id":"1399325424","filename":"file2"},{"photo_id":"1399325427","filename":"file4"},{"photo_id":"1399325423","filename":"file1"},{"photo_id":"1399325421","filename":"file0"},{"photo_id":"1399325426","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325429":["hashtag1","hashtag2"]},{"1399325423":["hashtag1","hashtag2"]},{"1399325426":["hashtag1","hashtag2"]},{"1399325424":["hashtag1","hashtag2"]},{"1399325427":["hashtag1","hashtag2"]},{"1399325421":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325429, 1399325423, 1399325426, 1399325424, 1399325427, 1399325421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38221025466919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:14:42.178794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_51_2562.jpg', '/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_55_3629.jpg', '/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_58_2945.jpg', '/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_10_3752.jpg', '/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_13_2589.jpg', '/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_17_3625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_51_2562.jpg
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_55_3629.jpg
/home/pi/Desktop/images/04112025/11/24/image_04112025_11_24_58_2945.jpg
/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_10_3752.jpg
/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_13_2589.jpg
/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_17_3625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325435","1399325446","1399325455","1399325451","1399325448","1399325453"],"photo_ids_order":["1399325435","1399325446","1399325448","1399325451","1399325453","1399325455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/edea049679a76734b3e59feb52d6796b.jpg","text":"TemporaryFile(/tmp/multipartBody5835160878418157136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682142803,"filename":"image_04112025_11_24_51_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dab0e21c52de11022d0bbf98804ba526.jpg","text":"TemporaryFile(/tmp/multipartBody2528261563124645280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682142803,"filename":"image_04112025_11_24_55_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2cd97a88ee3a1430fc7a5ffd02e297c4.jpg","text":"TemporaryFile(/tmp/multipartBody2281403826961624317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682142803,"filename":"image_04112025_11_25_17_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e3a7b31ff719ed90f969f549da448d3f.jpg","text":"TemporaryFile(/tmp/multipartBody8039714218772270410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682142803,"filename":"image_04112025_11_25_10_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/43624f29d80fac0e86790f02e6132268.jpg","text":"TemporaryFile(/tmp/multipartBody768874529365343085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682142803,"filename":"image_04112025_11_24_58_2945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5afd01e3ee0e8d637974a8403293b217.jpg","text":"TemporaryFile(/tmp/multipartBody4158677703033441672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682142803,"filename":"image_04112025_11_25_13_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325448","file1":"1399325446","file0":"1399325435","file4":"1399325453","file5":"1399325455","file3":"1399325451"},"map_files_photo_id_array":[{"photo_id":"1399325455","filename":"file5"},{"photo_id":"1399325448","filename":"file2"},{"photo_id":"1399325453","filename":"file4"},{"photo_id":"1399325446","filename":"file1"},{"photo_id":"1399325435","filename":"file0"},{"photo_id":"1399325451","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399325435":["hashtag1","hashtag2"]},{"1399325446":["hashtag1","hashtag2"]},{"1399325455":["hashtag1","hashtag2"]},{"1399325451":["hashtag1","hashtag2"]},{"1399325448":["hashtag1","hashtag2"]},{"1399325453":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399325435, 1399325446, 1399325455, 1399325451, 1399325448, 1399325453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.857495069503784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:15:22.354358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/12/image_14122025_04_12_34_9614.jpg', '/home/pi/Desktop/images/14122025/04/12/image_14122025_04_12_54_10631.jpg', '/home/pi/Desktop/images/14122025/04/13/image_14122025_04_13_14_9991.jpg', '/home/pi/Desktop/images/14122025/04/13/image_14122025_04_13_24_9875.jpg', '/home/pi/Desktop/images/14122025/04/13/image_14122025_04_13_54_9707.jpg', '/home/pi/Desktop/images/14122025/04/13/image_14122025_04_14_04_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/12/image_14122025_04_12_34_9614.jpg
/home/pi/Desktop/images/14122025/04/12/image_14122025_04_12_54_10631.jpg
/home/pi/Desktop/images/14122025/04/13/image_14122025_04_13_14_9991.jpg
/home/pi/Desktop/images/14122025/04/13/image_14122025_04_13_24_9875.jpg
/home/pi/Desktop/images/14122025/04/13/image_14122025_04_13_54_9707.jpg
/home/pi/Desktop/images/14122025/04/13/image_14122025_04_14_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":["1399325469","1399325460","1399325463","1399325457","1399325465","1399325459"],"photo_ids_order":["1399325457","1399325459","1399325460","1399325463","1399325465","1399325469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef09991c505c3fbb9e2967303ac7c927.jpg","text":"TemporaryFile(/tmp/multipartBody6373523884226924104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682183144,"filename":"image_14122025_04_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/12/14/b12f49888b07825df8b58a98c9f88070.jpg","text":"TemporaryFile(/tmp/multipartBody3563619711980109139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682183144,"filename":"image_14122025_04_13_14_9991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ea5eb957de1d7f4fb214644e5be7dfd1.jpg","text":"TemporaryFile(/tmp/multipartBody2954837385132988106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682183144,"filename":"image_14122025_04_13_24_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3101ce9a48b425e911969ab81236ad0b.jpg","text":"TemporaryFile(/tmp/multipartBody6846910575532287750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682183144,"filename":"image_14122025_04_12_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c94f0517a053d93ed64098ee473f6c4d.jpg","text":"TemporaryFile(/tmp/multipartBody4183751065652081968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682183144,"filename":"image_14122025_04_13_54_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4bc45501c0d91c8a0f0aa2d46c6dc868.jpg","text":"TemporaryFile(/tmp/multipartBody2244998615206949144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682183144,"filename":"image_14122025_04_12_54_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325460","file1":"1399325459","file0":"1399325457","file4":"1399325465","file5":"1399325469","file3":"1399325463"},"map_files_photo_id_array":[{"photo_id":"1399325469","filename":"file5"},{"photo_id":"1399325460","filename":"file2"},{"photo_id":"1399325465","filename":"file4"},{"photo_id":"1399325459","filename":"file1"},{"photo_id":"1399325457","filename":"file0"},{"photo_id":"1399325463","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325469":["hashtag1","hashtag2"]},{"1399325460":["hashtag1","hashtag2"]},{"1399325463":["hashtag1","hashtag2"]},{"1399325457":["hashtag1","hashtag2"]},{"1399325465":["hashtag1","hashtag2"]},{"1399325459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325469, 1399325460, 1399325463, 1399325457, 1399325465, 1399325459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39393758773804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:16:02.927375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/14/image_14122025_04_14_34_10743.jpg', '/home/pi/Desktop/images/14122025/04/14/image_14122025_04_14_44_9810.jpg', '/home/pi/Desktop/images/14122025/04/14/image_14122025_04_15_03_9592.jpg', '/home/pi/Desktop/images/14122025/04/15/image_14122025_04_15_14_10732.jpg', '/home/pi/Desktop/images/14122025/04/15/image_14122025_04_15_24_9543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/14/image_14122025_04_14_34_10743.jpg
/home/pi/Desktop/images/14122025/04/14/image_14122025_04_14_44_9810.jpg
/home/pi/Desktop/images/14122025/04/14/image_14122025_04_15_03_9592.jpg
/home/pi/Desktop/images/14122025/04/15/image_14122025_04_15_14_10732.jpg
/home/pi/Desktop/images/14122025/04/15/image_14122025_04_15_24_9543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325476","1399325473","1399325475","1399325478","1399325477"],"photo_ids_order":["1399325473","1399325475","1399325476","1399325477","1399325478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad7d35beaae2c2510bafe5af34c941fa.jpg","text":"TemporaryFile(/tmp/multipartBody2693770191966693691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682223524,"filename":"image_14122025_04_15_03_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae72fef4691fb236bb897916599f8a2e.jpg","text":"TemporaryFile(/tmp/multipartBody6999668142002857309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682223524,"filename":"image_14122025_04_14_34_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/17048f8e217843cc44fedf8a9663c65e.jpg","text":"TemporaryFile(/tmp/multipartBody418103678485729108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682223524,"filename":"image_14122025_04_14_44_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13ea289ff31f51f61548cabd61334a6b.jpg","text":"TemporaryFile(/tmp/multipartBody3925511329055858633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682223524,"filename":"image_14122025_04_15_24_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/618ace0ea43478727f9a6fa8382fc3a8.jpg","text":"TemporaryFile(/tmp/multipartBody4191237009956979405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682223524,"filename":"image_14122025_04_15_14_10732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325476","file1":"1399325475","file0":"1399325473","file4":"1399325478","file3":"1399325477"},"map_files_photo_id_array":[{"photo_id":"1399325476","filename":"file2"},{"photo_id":"1399325478","filename":"file4"},{"photo_id":"1399325475","filename":"file1"},{"photo_id":"1399325473","filename":"file0"},{"photo_id":"1399325477","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325476":["hashtag1","hashtag2"]},{"1399325473":["hashtag1","hashtag2"]},{"1399325475":["hashtag1","hashtag2"]},{"1399325478":["hashtag1","hashtag2"]},{"1399325477":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325476, 1399325473, 1399325475, 1399325478, 1399325477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.8491907119751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:16:42.481099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_19_2579.jpg', '/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_25_5591.jpg', '/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_26_1594.jpg', '/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_31_2703.jpg', '/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_34_3533.jpg', '/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_40_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_19_2579.jpg
/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_25_5591.jpg
/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_26_1594.jpg
/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_31_2703.jpg
/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_34_3533.jpg
/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_40_2592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325494","1399325485","1399325499","1399325490","1399325487","1399325498"],"photo_ids_order":["1399325485","1399325487","1399325490","1399325494","1399325498","1399325499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76e4620528d508d3b0a261846b44b308.jpg","text":"TemporaryFile(/tmp/multipartBody8302242018007203732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682263223,"filename":"image_04112025_11_25_31_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1afb2062e40cdd0515ba8626f82eb87a.jpg","text":"TemporaryFile(/tmp/multipartBody6525146709818212023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682263223,"filename":"image_04112025_11_25_19_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f774a7d41137f673a2c045a41d9998de.jpg","text":"TemporaryFile(/tmp/multipartBody3050197427274359293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682263223,"filename":"image_04112025_11_25_40_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a5109df21f4a675a76f695470c5abc4e.jpg","text":"TemporaryFile(/tmp/multipartBody2108169513846821190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682263223,"filename":"image_04112025_11_25_26_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/39e28e187277b740655bddd5b3cc8f71.jpg","text":"TemporaryFile(/tmp/multipartBody5881493389539997507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682263223,"filename":"image_04112025_11_25_25_5591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b2357787ae979fa05814aeb63b011c2f.jpg","text":"TemporaryFile(/tmp/multipartBody5657335675228374523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682263223,"filename":"image_04112025_11_25_34_3533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325490","file1":"1399325487","file0":"1399325485","file4":"1399325498","file5":"1399325499","file3":"1399325494"},"map_files_photo_id_array":[{"photo_id":"1399325499","filename":"file5"},{"photo_id":"1399325490","filename":"file2"},{"photo_id":"1399325498","filename":"file4"},{"photo_id":"1399325487","filename":"file1"},{"photo_id":"1399325485","filename":"file0"},{"photo_id":"1399325494","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399325494":["hashtag1","hashtag2"]},{"1399325485":["hashtag1","hashtag2"]},{"1399325499":["hashtag1","hashtag2"]},{"1399325490":["hashtag1","hashtag2"]},{"1399325487":["hashtag1","hashtag2"]},{"1399325498":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399325494, 1399325485, 1399325499, 1399325490, 1399325487, 1399325498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.829301595687866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:17:32.740922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:17:42.706299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_43_3676.jpg', '/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_46_2672.jpg', '/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_49_2630.jpg', '/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_52_3687.jpg', '/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_55_2625.jpg', '/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_58_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_43_3676.jpg
/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_46_2672.jpg
/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_49_2630.jpg
/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_52_3687.jpg
/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_55_2625.jpg
/home/pi/Desktop/images/04112025/11/25/image_04112025_11_25_58_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":["1399325513","1399325521","1399325515","1399325517","1399325511","1399325505"],"photo_ids_order":["1399325505","1399325511","1399325513","1399325515","1399325517","1399325521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f1e087e6ed38992e04310a09fa71501.jpg","text":"TemporaryFile(/tmp/multipartBody7608029704651185205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682323388,"filename":"image_04112025_11_25_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/12/14/b36390772271b7314bcd107a0abf96c6.jpg","text":"TemporaryFile(/tmp/multipartBody7613667224504457505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682323388,"filename":"image_04112025_11_25_58_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9fc252ce321793bb407cf201ae62c06a.jpg","text":"TemporaryFile(/tmp/multipartBody3771913410168976822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682323388,"filename":"image_04112025_11_25_52_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b8c939caa6bca08c068d1aa0f0a8953.jpg","text":"TemporaryFile(/tmp/multipartBody8401460129554524905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682323388,"filename":"image_04112025_11_25_55_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69a809cc8ba04506275407f829cd03bd.jpg","text":"TemporaryFile(/tmp/multipartBody4432251367626970777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682323388,"filename":"image_04112025_11_25_46_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/113e1aa445faa5155b5faa3381139085.jpg","text":"TemporaryFile(/tmp/multipartBody6478742847972097853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682323388,"filename":"image_04112025_11_25_43_3676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325513","file1":"1399325511","file0":"1399325505","file4":"1399325517","file5":"1399325521","file3":"1399325515"},"map_files_photo_id_array":[{"photo_id":"1399325521","filename":"file5"},{"photo_id":"1399325513","filename":"file2"},{"photo_id":"1399325517","filename":"file4"},{"photo_id":"1399325511","filename":"file1"},{"photo_id":"1399325505","filename":"file0"},{"photo_id":"1399325515","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399325513":["hashtag1","hashtag2"]},{"1399325521":["hashtag1","hashtag2"]},{"1399325515":["hashtag1","hashtag2"]},{"1399325517":["hashtag1","hashtag2"]},{"1399325511":["hashtag1","hashtag2"]},{"1399325505":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399325513, 1399325521, 1399325515, 1399325517, 1399325511, 1399325505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00250554084778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:18:21.907463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/15/image_14122025_04_15_33_9728.jpg', '/home/pi/Desktop/images/14122025/04/16/image_14122025_04_16_23_9100.jpg', '/home/pi/Desktop/images/14122025/04/16/image_14122025_04_16_34_10799.jpg', '/home/pi/Desktop/images/14122025/04/16/image_14122025_04_16_44_9834.jpg', '/home/pi/Desktop/images/14122025/04/17/image_14122025_04_17_14_9683.jpg', '/home/pi/Desktop/images/14122025/04/17/image_14122025_04_17_23_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/15/image_14122025_04_15_33_9728.jpg
/home/pi/Desktop/images/14122025/04/16/image_14122025_04_16_23_9100.jpg
/home/pi/Desktop/images/14122025/04/16/image_14122025_04_16_34_10799.jpg
/home/pi/Desktop/images/14122025/04/16/image_14122025_04_16_44_9834.jpg
/home/pi/Desktop/images/14122025/04/17/image_14122025_04_17_14_9683.jpg
/home/pi/Desktop/images/14122025/04/17/image_14122025_04_17_23_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":["1399325534","1399325535","1399325538","1399325526","1399325529","1399325531"],"photo_ids_order":["1399325526","1399325529","1399325531","1399325534","1399325535","1399325538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/178b2f0648edcda4c7474d30891d6fa4.jpg","text":"TemporaryFile(/tmp/multipartBody8325701328003398480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682362608,"filename":"image_14122025_04_16_44_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/352117033c5bbe602ebc014d781daf2a.jpg","text":"TemporaryFile(/tmp/multipartBody4306256116834679319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682362608,"filename":"image_14122025_04_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/12/14/c71a9f298805183a6703a411ca00b42c.jpg","text":"TemporaryFile(/tmp/multipartBody7498886786947075590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682362608,"filename":"image_14122025_04_17_23_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2334128bef8f89ad1c69e42f56b474b2.jpg","text":"TemporaryFile(/tmp/multipartBody6487118973565040884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682362608,"filename":"image_14122025_04_15_33_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51720e98a01e9fa57a015e6d78a64abc.jpg","text":"TemporaryFile(/tmp/multipartBody2324650678326069344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682362608,"filename":"image_14122025_04_16_23_9100.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/202e24d23b33c930474973a678f89d8d.jpg","text":"TemporaryFile(/tmp/multipartBody4462834651129240315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682362608,"filename":"image_14122025_04_16_34_10799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325531","file1":"1399325529","file0":"1399325526","file4":"1399325535","file5":"1399325538","file3":"1399325534"},"map_files_photo_id_array":[{"photo_id":"1399325538","filename":"file5"},{"photo_id":"1399325531","filename":"file2"},{"photo_id":"1399325535","filename":"file4"},{"photo_id":"1399325529","filename":"file1"},{"photo_id":"1399325526","filename":"file0"},{"photo_id":"1399325534","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325534":["hashtag1","hashtag2"]},{"1399325535":["hashtag1","hashtag2"]},{"1399325538":["hashtag1","hashtag2"]},{"1399325526":["hashtag1","hashtag2"]},{"1399325529":["hashtag1","hashtag2"]},{"1399325531":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325534, 1399325535, 1399325538, 1399325526, 1399325529, 1399325531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34310483932495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:19:03.077624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/17/image_14122025_04_17_34_10642.jpg', '/home/pi/Desktop/images/14122025/04/17/image_14122025_04_17_53_9914.jpg', '/home/pi/Desktop/images/14122025/04/17/image_14122025_04_18_04_10680.jpg', '/home/pi/Desktop/images/14122025/04/18/image_14122025_04_18_14_9579.jpg', '/home/pi/Desktop/images/14122025/04/18/image_14122025_04_18_23_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/17/image_14122025_04_17_34_10642.jpg
/home/pi/Desktop/images/14122025/04/17/image_14122025_04_17_53_9914.jpg
/home/pi/Desktop/images/14122025/04/17/image_14122025_04_18_04_10680.jpg
/home/pi/Desktop/images/14122025/04/18/image_14122025_04_18_14_9579.jpg
/home/pi/Desktop/images/14122025/04/18/image_14122025_04_18_23_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":["1399325549","1399325548","1399325544","1399325547","1399325546"],"photo_ids_order":["1399325544","1399325546","1399325547","1399325548","1399325549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9cc38d14cff4ae9dcc94c972956fec90.jpg","text":"TemporaryFile(/tmp/multipartBody3310237780146670825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682403753,"filename":"image_14122025_04_18_23_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1fdf5c62e404a54ba33527f42e60a1b.jpg","text":"TemporaryFile(/tmp/multipartBody5421479584971233607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682403753,"filename":"image_14122025_04_18_14_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/64cb3b474f39bef784eab2294ce3a1f5.jpg","text":"TemporaryFile(/tmp/multipartBody3776759967433298274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682403753,"filename":"image_14122025_04_17_34_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4798030f43ce20448d6e9085febe4d4a.jpg","text":"TemporaryFile(/tmp/multipartBody2178660496661674887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682403753,"filename":"image_14122025_04_18_04_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ff810af83efbd82fd6f6ab44cde3066.jpg","text":"TemporaryFile(/tmp/multipartBody6459804596058320040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682403753,"filename":"image_14122025_04_17_53_9914.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325547","file1":"1399325546","file0":"1399325544","file4":"1399325549","file3":"1399325548"},"map_files_photo_id_array":[{"photo_id":"1399325547","filename":"file2"},{"photo_id":"1399325549","filename":"file4"},{"photo_id":"1399325546","filename":"file1"},{"photo_id":"1399325544","filename":"file0"},{"photo_id":"1399325548","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325549":["hashtag1","hashtag2"]},{"1399325548":["hashtag1","hashtag2"]},{"1399325544":["hashtag1","hashtag2"]},{"1399325547":["hashtag1","hashtag2"]},{"1399325546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325549, 1399325548, 1399325544, 1399325547, 1399325546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.32202100753784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:19:42.109812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/25/image_04112025_11_26_01_3590.jpg', '/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_04_2669.jpg', '/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_07_3587.jpg', '/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_10_2573.jpg', '/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_13_2543.jpg', '/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_16_3586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/25/image_04112025_11_26_01_3590.jpg
/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_04_2669.jpg
/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_07_3587.jpg
/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_10_2573.jpg
/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_13_2543.jpg
/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_16_3586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325561","1399325555","1399325563","1399325556","1399325565","1399325559"],"photo_ids_order":["1399325555","1399325556","1399325559","1399325561","1399325563","1399325565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b7e2636c4e9e145c6c97b01ebc93fd81.jpg","text":"TemporaryFile(/tmp/multipartBody8566593799178071188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682442922,"filename":"image_04112025_11_26_10_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54b20f6ee1ed95a882c8e67a7a98ae80.jpg","text":"TemporaryFile(/tmp/multipartBody2009239679231042793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682442922,"filename":"image_04112025_11_26_01_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/30bc6ded91bb11ddfb82cff61f6cb904.jpg","text":"TemporaryFile(/tmp/multipartBody7443622826505233454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682442922,"filename":"image_04112025_11_26_13_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f7bce277c0d7881cae7a88777272b591.jpg","text":"TemporaryFile(/tmp/multipartBody3691749569651477607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682442922,"filename":"image_04112025_11_26_04_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f8788033a934cdb397c61f1f6fdc7cef.jpg","text":"TemporaryFile(/tmp/multipartBody3967452144147188830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682442922,"filename":"image_04112025_11_26_16_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ad62bf407df2bf552c2f390ac0721b4.jpg","text":"TemporaryFile(/tmp/multipartBody3745461236448064663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682442922,"filename":"image_04112025_11_26_07_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325559","file1":"1399325556","file0":"1399325555","file4":"1399325563","file5":"1399325565","file3":"1399325561"},"map_files_photo_id_array":[{"photo_id":"1399325565","filename":"file5"},{"photo_id":"1399325559","filename":"file2"},{"photo_id":"1399325563","filename":"file4"},{"photo_id":"1399325556","filename":"file1"},{"photo_id":"1399325555","filename":"file0"},{"photo_id":"1399325561","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399325561":["hashtag1","hashtag2"]},{"1399325555":["hashtag1","hashtag2"]},{"1399325563":["hashtag1","hashtag2"]},{"1399325556":["hashtag1","hashtag2"]},{"1399325565":["hashtag1","hashtag2"]},{"1399325559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399325561, 1399325555, 1399325563, 1399325556, 1399325565, 1399325559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18032622337341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:20:22.307479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/18/image_14122025_04_18_44_10594.jpg', '/home/pi/Desktop/images/14122025/04/18/image_14122025_04_19_03_9591.jpg', '/home/pi/Desktop/images/14122025/04/19/image_14122025_04_19_14_10711.jpg', '/home/pi/Desktop/images/14122025/04/19/image_14122025_04_19_54_9734.jpg', '/home/pi/Desktop/images/14122025/04/19/image_14122025_04_20_04_9632.jpg', '/home/pi/Desktop/images/14122025/04/20/image_14122025_04_20_13_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/18/image_14122025_04_18_44_10594.jpg
/home/pi/Desktop/images/14122025/04/18/image_14122025_04_19_03_9591.jpg
/home/pi/Desktop/images/14122025/04/19/image_14122025_04_19_14_10711.jpg
/home/pi/Desktop/images/14122025/04/19/image_14122025_04_19_54_9734.jpg
/home/pi/Desktop/images/14122025/04/19/image_14122025_04_20_04_9632.jpg
/home/pi/Desktop/images/14122025/04/20/image_14122025_04_20_13_9736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325569","1399325566","1399325571","1399325580","1399325573","1399325567"],"photo_ids_order":["1399325566","1399325567","1399325569","1399325571","1399325573","1399325580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e5566142eb7093b5d7628e0ba86f8438.jpg","text":"TemporaryFile(/tmp/multipartBody6613205461948609597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682482962,"filename":"image_14122025_04_19_14_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d0d98ee7707def71bd1f2defe468915c.jpg","text":"TemporaryFile(/tmp/multipartBody1704309456170285972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682482962,"filename":"image_14122025_04_18_44_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fee3f15e2873d7faa8a24a455a44b465.jpg","text":"TemporaryFile(/tmp/multipartBody4621458888570968087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682482962,"filename":"image_14122025_04_19_54_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/47b4b670fd32d4170767195919ab8ebd.jpg","text":"TemporaryFile(/tmp/multipartBody6261301917721232029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682482962,"filename":"image_14122025_04_20_13_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a731358a2ec82dadc38d96a2f500eddb.jpg","text":"TemporaryFile(/tmp/multipartBody4119435980818350455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682482962,"filename":"image_14122025_04_20_04_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aae7538280bec264d0891ccc8e50747f.jpg","text":"TemporaryFile(/tmp/multipartBody8528016650293808845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682482962,"filename":"image_14122025_04_19_03_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325569","file1":"1399325567","file0":"1399325566","file4":"1399325573","file5":"1399325580","file3":"1399325571"},"map_files_photo_id_array":[{"photo_id":"1399325580","filename":"file5"},{"photo_id":"1399325569","filename":"file2"},{"photo_id":"1399325573","filename":"file4"},{"photo_id":"1399325567","filename":"file1"},{"photo_id":"1399325566","filename":"file0"},{"photo_id":"1399325571","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325569":["hashtag1","hashtag2"]},{"1399325566":["hashtag1","hashtag2"]},{"1399325571":["hashtag1","hashtag2"]},{"1399325580":["hashtag1","hashtag2"]},{"1399325573":["hashtag1","hashtag2"]},{"1399325567":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325569, 1399325566, 1399325571, 1399325580, 1399325573, 1399325567)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.11966013908386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:21:14.921881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:21:26.608282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/20/image_14122025_04_20_33_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/20/image_14122025_04_20_33_9613.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6878886222839355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:21:32.521936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:21:43.754770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_19_2590.jpg', '/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_22_3743.jpg', '/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_25_2689.jpg', '/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_28_2575.jpg', '/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_31_3697.jpg', '/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_34_2525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_19_2590.jpg
/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_22_3743.jpg
/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_25_2689.jpg
/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_28_2575.jpg
/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_31_3697.jpg
/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_34_2525.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325603","1399325606","1399325596","1399325605","1399325598","1399325601"],"photo_ids_order":["1399325596","1399325598","1399325601","1399325603","1399325605","1399325606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dfc3396897cb559dfecc2ae00ad4b14b.jpg","text":"TemporaryFile(/tmp/multipartBody4482808017982091594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682566676,"filename":"image_04112025_11_26_28_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8992c01dd62cd0489c87c012e9882224.jpg","text":"TemporaryFile(/tmp/multipartBody5261630324090587066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682566676,"filename":"image_04112025_11_26_34_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5566e010663b45350e098c6f2b6c59a2.jpg","text":"TemporaryFile(/tmp/multipartBody2102504093103637538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682566676,"filename":"image_04112025_11_26_19_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd058e978e8e2eebadc3ecbc95b04542.jpg","text":"TemporaryFile(/tmp/multipartBody5061925407499276095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682566676,"filename":"image_04112025_11_26_31_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2de28862f2820ff8111d60c3a1a01cc.jpg","text":"TemporaryFile(/tmp/multipartBody5638902665262335253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682566676,"filename":"image_04112025_11_26_22_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c7acf7139729db2b96615fbb15dc40fa.jpg","text":"TemporaryFile(/tmp/multipartBody4850762840913725695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682566676,"filename":"image_04112025_11_26_25_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325601","file1":"1399325598","file0":"1399325596","file4":"1399325605","file5":"1399325606","file3":"1399325603"},"map_files_photo_id_array":[{"photo_id":"1399325606","filename":"file5"},{"photo_id":"1399325601","filename":"file2"},{"photo_id":"1399325605","filename":"file4"},{"photo_id":"1399325598","filename":"file1"},{"photo_id":"1399325596","filename":"file0"},{"photo_id":"1399325603","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399325603":["hashtag1","hashtag2"]},{"1399325606":["hashtag1","hashtag2"]},{"1399325596":["hashtag1","hashtag2"]},{"1399325605":["hashtag1","hashtag2"]},{"1399325598":["hashtag1","hashtag2"]},{"1399325601":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399325603, 1399325606, 1399325596, 1399325605, 1399325598, 1399325601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.3773877620697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:22:37.683878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:22:41.893222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_37_2730.jpg', '/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_40_3529.jpg', '/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_43_2570.jpg', '/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_45_2672.jpg', '/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_49_3757.jpg', '/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_57_8065.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_37_2730.jpg
/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_40_3529.jpg
/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_43_2570.jpg
/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_45_2672.jpg
/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_49_3757.jpg
/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_57_8065.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325621","1399325615","1399325618","1399325611","1399325610","1399325613"],"photo_ids_order":["1399325610","1399325611","1399325613","1399325615","1399325618","1399325621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c81f290db721f6e5dfa70a27cbb7f237.jpg","text":"TemporaryFile(/tmp/multipartBody7155277771066481953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682622578,"filename":"image_04112025_11_26_57_8065.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a681b3537e8f363014c3d93d3a2c138f.jpg","text":"TemporaryFile(/tmp/multipartBody267946511991728138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682622578,"filename":"image_04112025_11_26_45_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1af012996e5ca911d9b1f2def9639474.jpg","text":"TemporaryFile(/tmp/multipartBody9136515283455663018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682622578,"filename":"image_04112025_11_26_49_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/808fb4da82c0b17b2b3c6c7cc36d5039.jpg","text":"TemporaryFile(/tmp/multipartBody1538924976832222560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682622578,"filename":"image_04112025_11_26_40_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7df1566a0eff4d0c927266243cb2f1eb.jpg","text":"TemporaryFile(/tmp/multipartBody5428098694589225556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682622578,"filename":"image_04112025_11_26_37_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cde86992bd27e4e933d0786c8a7f1811.jpg","text":"TemporaryFile(/tmp/multipartBody980359648567022529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682622578,"filename":"image_04112025_11_26_43_2570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325613","file1":"1399325611","file0":"1399325610","file4":"1399325618","file5":"1399325621","file3":"1399325615"},"map_files_photo_id_array":[{"photo_id":"1399325621","filename":"file5"},{"photo_id":"1399325613","filename":"file2"},{"photo_id":"1399325618","filename":"file4"},{"photo_id":"1399325611","filename":"file1"},{"photo_id":"1399325610","filename":"file0"},{"photo_id":"1399325615","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399325621":["hashtag1","hashtag2"]},{"1399325615":["hashtag1","hashtag2"]},{"1399325618":["hashtag1","hashtag2"]},{"1399325611":["hashtag1","hashtag2"]},{"1399325610":["hashtag1","hashtag2"]},{"1399325613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399325621, 1399325615, 1399325618, 1399325611, 1399325610, 1399325613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54751372337341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:23:22.122268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/20/image_14122025_04_20_33_9613.jpg', '/home/pi/Desktop/images/14122025/04/20/image_14122025_04_20_44_10624.jpg', '/home/pi/Desktop/images/14122025/04/21/image_14122025_04_21_14_10624.jpg', '/home/pi/Desktop/images/14122025/04/21/image_14122025_04_21_24_9803.jpg', '/home/pi/Desktop/images/14122025/04/21/image_14122025_04_21_44_10624.jpg', '/home/pi/Desktop/images/14122025/04/22/image_14122025_04_22_54_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/20/image_14122025_04_20_33_9613.jpg
/home/pi/Desktop/images/14122025/04/20/image_14122025_04_20_44_10624.jpg
/home/pi/Desktop/images/14122025/04/21/image_14122025_04_21_14_10624.jpg
/home/pi/Desktop/images/14122025/04/21/image_14122025_04_21_24_9803.jpg
/home/pi/Desktop/images/14122025/04/21/image_14122025_04_21_44_10624.jpg
/home/pi/Desktop/images/14122025/04/22/image_14122025_04_22_54_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325644","1399325632","1399325634","1399325637","1399325625","1399325630"],"photo_ids_order":["1399325625","1399325630","1399325632","1399325634","1399325637","1399325644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14de9740cabfcc3a88deaae493780d05.jpg","text":"TemporaryFile(/tmp/multipartBody4240315371659402889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682662710,"filename":"image_14122025_04_22_54_10448.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/600a67b2e9ee6ba30e0c71d5846336ea.jpg","text":"TemporaryFile(/tmp/multipartBody4929406467310859687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682662710,"filename":"image_14122025_04_21_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/12/14/603a02424d2cbd46b10752d64360c2c2.jpg","text":"TemporaryFile(/tmp/multipartBody4561559207344106772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682662710,"filename":"image_14122025_04_21_24_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8acc8b0069b7d40f5d164faa9c75a034.jpg","text":"TemporaryFile(/tmp/multipartBody2297967191818423576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682662710,"filename":"image_14122025_04_21_44_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c5216d14a223784864dafab55263e464.jpg","text":"TemporaryFile(/tmp/multipartBody5115716244006134271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682662710,"filename":"image_14122025_04_20_33_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b4636f06b92dd9d17d2bae211d35451d.jpg","text":"TemporaryFile(/tmp/multipartBody4354627856811549715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682662710,"filename":"image_14122025_04_20_44_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325632","file1":"1399325630","file0":"1399325625","file4":"1399325637","file5":"1399325644","file3":"1399325634"},"map_files_photo_id_array":[{"photo_id":"1399325644","filename":"file5"},{"photo_id":"1399325632","filename":"file2"},{"photo_id":"1399325637","filename":"file4"},{"photo_id":"1399325630","filename":"file1"},{"photo_id":"1399325625","filename":"file0"},{"photo_id":"1399325634","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325644":["hashtag1","hashtag2"]},{"1399325632":["hashtag1","hashtag2"]},{"1399325634":["hashtag1","hashtag2"]},{"1399325637":["hashtag1","hashtag2"]},{"1399325625":["hashtag1","hashtag2"]},{"1399325630":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325644, 1399325632, 1399325634, 1399325637, 1399325625, 1399325630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.064088344573975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:24:12.369684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:24:22.402556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/22/image_14122025_04_23_03_9652.jpg', '/home/pi/Desktop/images/14122025/04/23/image_14122025_04_23_14_10038.jpg', '/home/pi/Desktop/images/14122025/04/23/image_14122025_04_23_34_9698.jpg', '/home/pi/Desktop/images/14122025/04/23/image_14122025_04_23_43_9874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/22/image_14122025_04_23_03_9652.jpg
/home/pi/Desktop/images/14122025/04/23/image_14122025_04_23_14_10038.jpg
/home/pi/Desktop/images/14122025/04/23/image_14122025_04_23_34_9698.jpg
/home/pi/Desktop/images/14122025/04/23/image_14122025_04_23_43_9874.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4301750659942627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:24:32.343945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:24:42.362864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_59_1598.jpg', '/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_03_4308.jpg', '/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_05_1676.jpg', '/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_07_1623.jpg', '/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_08_1578.jpg', '/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_17_8572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/26/image_04112025_11_26_59_1598.jpg
/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_03_4308.jpg
/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_05_1676.jpg
/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_07_1623.jpg
/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_08_1578.jpg
/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_17_8572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325669","1399325665","1399325667","1399325661","1399325658","1399325663"],"photo_ids_order":["1399325658","1399325661","1399325663","1399325665","1399325667","1399325669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/350969f4dc5a5a767d7bdcfd68b92f60.jpg","text":"TemporaryFile(/tmp/multipartBody1372237999507223156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682743061,"filename":"image_04112025_11_27_17_8572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f9b71008d4a83c1ab9bf9a5293b35b5e.jpg","text":"TemporaryFile(/tmp/multipartBody8133471871819406374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682743061,"filename":"image_04112025_11_27_07_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3ab31ff9c6ad3899b782d76e44c61e57.jpg","text":"TemporaryFile(/tmp/multipartBody9170039597970370332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682743061,"filename":"image_04112025_11_27_08_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b80cab26c5f8bfb04c203d57b4affa7.jpg","text":"TemporaryFile(/tmp/multipartBody7702486200959520397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682743061,"filename":"image_04112025_11_27_03_4308.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b41e9ad93a08ca1d80e220ae4c08739d.jpg","text":"TemporaryFile(/tmp/multipartBody8218756224935058638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682743061,"filename":"image_04112025_11_26_59_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f36e5b5421d97a4b26981cb381c57c3b.jpg","text":"TemporaryFile(/tmp/multipartBody3405787630933866986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682743061,"filename":"image_04112025_11_27_05_1676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325663","file1":"1399325661","file0":"1399325658","file4":"1399325667","file5":"1399325669","file3":"1399325665"},"map_files_photo_id_array":[{"photo_id":"1399325669","filename":"file5"},{"photo_id":"1399325663","filename":"file2"},{"photo_id":"1399325667","filename":"file4"},{"photo_id":"1399325661","filename":"file1"},{"photo_id":"1399325658","filename":"file0"},{"photo_id":"1399325665","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399325669":["hashtag1","hashtag2"]},{"1399325665":["hashtag1","hashtag2"]},{"1399325667":["hashtag1","hashtag2"]},{"1399325661":["hashtag1","hashtag2"]},{"1399325658":["hashtag1","hashtag2"]},{"1399325663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399325669, 1399325665, 1399325667, 1399325661, 1399325658, 1399325663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16392970085144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:25:23.342756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/22/image_14122025_04_23_03_9652.jpg', '/home/pi/Desktop/images/14122025/04/23/image_14122025_04_23_14_10038.jpg', '/home/pi/Desktop/images/14122025/04/23/image_14122025_04_23_34_9698.jpg', '/home/pi/Desktop/images/14122025/04/23/image_14122025_04_23_43_9874.jpg', '/home/pi/Desktop/images/14122025/04/23/image_14122025_04_24_04_9988.jpg', '/home/pi/Desktop/images/14122025/04/25/image_14122025_04_25_33_9874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/22/image_14122025_04_23_03_9652.jpg
/home/pi/Desktop/images/14122025/04/23/image_14122025_04_23_14_10038.jpg
/home/pi/Desktop/images/14122025/04/23/image_14122025_04_23_34_9698.jpg
/home/pi/Desktop/images/14122025/04/23/image_14122025_04_23_43_9874.jpg
/home/pi/Desktop/images/14122025/04/23/image_14122025_04_24_04_9988.jpg
/home/pi/Desktop/images/14122025/04/25/image_14122025_04_25_33_9874.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325680","1399325677","1399325671","1399325682","1399325673","1399325675"],"photo_ids_order":["1399325671","1399325673","1399325675","1399325677","1399325680","1399325682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf891f2342b982c3d0166052e5f91c16.jpg","text":"TemporaryFile(/tmp/multipartBody3646644253932093630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682786432,"filename":"image_14122025_04_24_04_9988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb57d2e0dc48f13fe2256ca1e60cc0bf.jpg","text":"TemporaryFile(/tmp/multipartBody3642158917022571501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682786432,"filename":"image_14122025_04_23_43_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7cbea0d261adfa11103a7bd118c0df20.jpg","text":"TemporaryFile(/tmp/multipartBody3620306922454622520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682786432,"filename":"image_14122025_04_23_03_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6a2a2d32a8ce522bbe051908a7855545.jpg","text":"TemporaryFile(/tmp/multipartBody66981774452804920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682786432,"filename":"image_14122025_04_25_33_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f57627d919c00ec55563c96541d90fed.jpg","text":"TemporaryFile(/tmp/multipartBody8152138702612106653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682786432,"filename":"image_14122025_04_23_14_10038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c334e2c0034d105229ef5641a6094241.jpg","text":"TemporaryFile(/tmp/multipartBody6992897575670261539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682786432,"filename":"image_14122025_04_23_34_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325675","file1":"1399325673","file0":"1399325671","file4":"1399325680","file5":"1399325682","file3":"1399325677"},"map_files_photo_id_array":[{"photo_id":"1399325682","filename":"file5"},{"photo_id":"1399325675","filename":"file2"},{"photo_id":"1399325680","filename":"file4"},{"photo_id":"1399325673","filename":"file1"},{"photo_id":"1399325671","filename":"file0"},{"photo_id":"1399325677","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325680":["hashtag1","hashtag2"]},{"1399325677":["hashtag1","hashtag2"]},{"1399325671":["hashtag1","hashtag2"]},{"1399325682":["hashtag1","hashtag2"]},{"1399325673":["hashtag1","hashtag2"]},{"1399325675":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325680, 1399325677, 1399325671, 1399325682, 1399325673, 1399325675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.77358293533325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:26:12.687674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:26:22.670526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/25/image_14122025_04_25_44_10684.jpg', '/home/pi/Desktop/images/14122025/04/25/image_14122025_04_25_54_9781.jpg', '/home/pi/Desktop/images/14122025/04/25/image_14122025_04_26_03_9677.jpg', '/home/pi/Desktop/images/14122025/04/26/image_14122025_04_26_14_10714.jpg', '/home/pi/Desktop/images/14122025/04/26/image_14122025_04_26_24_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/25/image_14122025_04_25_44_10684.jpg
/home/pi/Desktop/images/14122025/04/25/image_14122025_04_25_54_9781.jpg
/home/pi/Desktop/images/14122025/04/25/image_14122025_04_26_03_9677.jpg
/home/pi/Desktop/images/14122025/04/26/image_14122025_04_26_14_10714.jpg
/home/pi/Desktop/images/14122025/04/26/image_14122025_04_26_24_9706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325698","1399325702","1399325695","1399325693","1399325700"],"photo_ids_order":["1399325693","1399325695","1399325698","1399325700","1399325702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e1f40ea689a97143bbadde153a4ec55.jpg","text":"TemporaryFile(/tmp/multipartBody2404654133486374743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682843280,"filename":"image_14122025_04_26_03_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d9cabc01055d83c40660bda718de736.jpg","text":"TemporaryFile(/tmp/multipartBody5627398998011083449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682843280,"filename":"image_14122025_04_26_24_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b5caa5271253aabb02b29e8cc8d2d6f5.jpg","text":"TemporaryFile(/tmp/multipartBody1819867085560893236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682843280,"filename":"image_14122025_04_25_54_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c66a7c4daa952edd6032a4964143e858.jpg","text":"TemporaryFile(/tmp/multipartBody8716251470650029426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682843280,"filename":"image_14122025_04_25_44_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/39efcdd9b48235e8ef575c3f9ebc9a49.jpg","text":"TemporaryFile(/tmp/multipartBody5167223154188740173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682843280,"filename":"image_14122025_04_26_14_10714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325698","file1":"1399325695","file0":"1399325693","file4":"1399325702","file3":"1399325700"},"map_files_photo_id_array":[{"photo_id":"1399325698","filename":"file2"},{"photo_id":"1399325702","filename":"file4"},{"photo_id":"1399325695","filename":"file1"},{"photo_id":"1399325693","filename":"file0"},{"photo_id":"1399325700","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325698":["hashtag1","hashtag2"]},{"1399325702":["hashtag1","hashtag2"]},{"1399325695":["hashtag1","hashtag2"]},{"1399325693":["hashtag1","hashtag2"]},{"1399325700":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325698, 1399325702, 1399325695, 1399325693, 1399325700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.478264808654785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:27:02.614683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:27:12.016566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
2025-12-14 04:27:28.678433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/26/image_14122025_04_26_33_9484.jpg', '/home/pi/Desktop/images/14122025/04/26/image_14122025_04_27_03_9731.jpg', '/home/pi/Desktop/images/14122025/04/27/image_14122025_04_27_24_9688.jpg', '/home/pi/Desktop/images/14122025/04/27/image_14122025_04_27_34_9701.jpg', '/home/pi/Desktop/images/14122025/04/27/image_14122025_04_27_43_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/26/image_14122025_04_26_33_9484.jpg
/home/pi/Desktop/images/14122025/04/26/image_14122025_04_27_03_9731.jpg
/home/pi/Desktop/images/14122025/04/27/image_14122025_04_27_24_9688.jpg
/home/pi/Desktop/images/14122025/04/27/image_14122025_04_27_34_9701.jpg
/home/pi/Desktop/images/14122025/04/27/image_14122025_04_27_43_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":["1399325726","1399325720","1399325728","1399325724","1399325718"],"photo_ids_order":["1399325718","1399325720","1399325724","1399325726","1399325728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b795a6e02dff0de17a4ad46268a4a93f.jpg","text":"TemporaryFile(/tmp/multipartBody7679729330244584251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682913781,"filename":"image_14122025_04_27_34_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0064e888c3757b7761de0451958e407d.jpg","text":"TemporaryFile(/tmp/multipartBody5147386211295031319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682913781,"filename":"image_14122025_04_27_03_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/291257292cac227f950d511572cab235.jpg","text":"TemporaryFile(/tmp/multipartBody5910613495075011415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682913781,"filename":"image_14122025_04_27_43_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b0dc9ebf9fed56bb764a37de732bbd4.jpg","text":"TemporaryFile(/tmp/multipartBody3351168276792635386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682913781,"filename":"image_14122025_04_27_24_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/06514a5b6cd73ec88d893dd7d2d9c165.jpg","text":"TemporaryFile(/tmp/multipartBody8342810647616434562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682913781,"filename":"image_14122025_04_26_33_9484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325724","file1":"1399325720","file0":"1399325718","file4":"1399325728","file3":"1399325726"},"map_files_photo_id_array":[{"photo_id":"1399325724","filename":"file2"},{"photo_id":"1399325728","filename":"file4"},{"photo_id":"1399325720","filename":"file1"},{"photo_id":"1399325718","filename":"file0"},{"photo_id":"1399325726","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325726":["hashtag1","hashtag2"]},{"1399325720":["hashtag1","hashtag2"]},{"1399325728":["hashtag1","hashtag2"]},{"1399325724":["hashtag1","hashtag2"]},{"1399325718":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325726, 1399325720, 1399325728, 1399325724, 1399325718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.382866621017456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:28:12.081822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:28:22.151983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/27/image_14122025_04_27_54_10672.jpg', '/home/pi/Desktop/images/14122025/04/27/image_14122025_04_28_04_9672.jpg', '/home/pi/Desktop/images/14122025/04/28/image_14122025_04_28_13_9651.jpg', '/home/pi/Desktop/images/14122025/04/28/image_14122025_04_28_43_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/27/image_14122025_04_27_54_10672.jpg
/home/pi/Desktop/images/14122025/04/27/image_14122025_04_28_04_9672.jpg
/home/pi/Desktop/images/14122025/04/28/image_14122025_04_28_13_9651.jpg
/home/pi/Desktop/images/14122025/04/28/image_14122025_04_28_43_9597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325732","1399325735","1399325737","1399325733"],"photo_ids_order":["1399325732","1399325733","1399325735","1399325737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2d2c296f2903f831c9d1d7a42363f57.jpg","text":"TemporaryFile(/tmp/multipartBody8244526700758593991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682962697,"filename":"image_14122025_04_27_54_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d3f4a70bacd43c02349b6c1077a0e27b.jpg","text":"TemporaryFile(/tmp/multipartBody7028883410860135119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682962697,"filename":"image_14122025_04_28_13_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/91f77ecf185d1ce29e42298933a77290.jpg","text":"TemporaryFile(/tmp/multipartBody4841992607968453374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682962697,"filename":"image_14122025_04_28_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/12/14/2a8abdd133d0a82ea4fc166f4a6d6714.jpg","text":"TemporaryFile(/tmp/multipartBody39506698304233032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765682962697,"filename":"image_14122025_04_28_04_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325735","file1":"1399325733","file0":"1399325732","file3":"1399325737"},"map_files_photo_id_array":[{"photo_id":"1399325735","filename":"file2"},{"photo_id":"1399325733","filename":"file1"},{"photo_id":"1399325732","filename":"file0"},{"photo_id":"1399325737","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325732":["hashtag1","hashtag2"]},{"1399325735":["hashtag1","hashtag2"]},{"1399325737":["hashtag1","hashtag2"]},{"1399325733":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325732, 1399325735, 1399325737, 1399325733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.647051334381104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:29:02.870704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:29:11.826911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:29:23.970434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/28/image_14122025_04_28_54_10697.jpg', '/home/pi/Desktop/images/14122025/04/28/image_14122025_04_29_03_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/28/image_14122025_04_28_54_10697.jpg
/home/pi/Desktop/images/14122025/04/28/image_14122025_04_29_03_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325755","1399325758"],"photo_ids_order":["1399325755","1399325758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1731a0319ba2977e72d0a9480be7ceba.jpg","text":"TemporaryFile(/tmp/multipartBody6715093126319512136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683024430,"filename":"image_14122025_04_28_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/12/14/6a236037998a4ff6f9d3924aee34673e.jpg","text":"TemporaryFile(/tmp/multipartBody6847336208402586522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683024430,"filename":"image_14122025_04_29_03_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399325758","file0":"1399325755"},"map_files_photo_id_array":[{"photo_id":"1399325758","filename":"file1"},{"photo_id":"1399325755","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325755":["hashtag1","hashtag2"]},{"1399325758":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325755, 1399325758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.694732666015625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:30:02.690776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:30:12.234294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:30:22.201091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/29/image_14122025_04_29_24_9630.jpg', '/home/pi/Desktop/images/14122025/04/29/image_14122025_04_30_04_10706.jpg', '/home/pi/Desktop/images/14122025/04/30/image_14122025_04_30_14_9710.jpg', '/home/pi/Desktop/images/14122025/04/30/image_14122025_04_30_24_10116.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/29/image_14122025_04_29_24_9630.jpg
/home/pi/Desktop/images/14122025/04/29/image_14122025_04_30_04_10706.jpg
/home/pi/Desktop/images/14122025/04/30/image_14122025_04_30_14_9710.jpg
/home/pi/Desktop/images/14122025/04/30/image_14122025_04_30_24_10116.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325776","1399325778","1399325772","1399325774"],"photo_ids_order":["1399325772","1399325774","1399325776","1399325778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c6a9ed4f120a59c7f19ed1c230398ec.jpg","text":"TemporaryFile(/tmp/multipartBody3788254499357235084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683091706,"filename":"image_14122025_04_30_14_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa8169ca00a7ac5ba016da83fce34c93.jpg","text":"TemporaryFile(/tmp/multipartBody4930317676842387469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683091706,"filename":"image_14122025_04_30_24_10116.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3040f776e126efd935e8d3b6df590b5d.jpg","text":"TemporaryFile(/tmp/multipartBody7362736392222901202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683091706,"filename":"image_14122025_04_29_24_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/04d913bc3603d120b4c27becfff0b00e.jpg","text":"TemporaryFile(/tmp/multipartBody7265208357872140225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683091706,"filename":"image_14122025_04_30_04_10706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325776","file1":"1399325774","file0":"1399325772","file3":"1399325778"},"map_files_photo_id_array":[{"photo_id":"1399325776","filename":"file2"},{"photo_id":"1399325774","filename":"file1"},{"photo_id":"1399325772","filename":"file0"},{"photo_id":"1399325778","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325776":["hashtag1","hashtag2"]},{"1399325778":["hashtag1","hashtag2"]},{"1399325772":["hashtag1","hashtag2"]},{"1399325774":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325776, 1399325778, 1399325772, 1399325774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.027745723724365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:31:03.069286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:31:12.440892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:31:22.446730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/30/image_14122025_04_30_33_9629.jpg', '/home/pi/Desktop/images/14122025/04/30/image_14122025_04_31_04_9775.jpg', '/home/pi/Desktop/images/14122025/04/31/image_14122025_04_31_13_9658.jpg', '/home/pi/Desktop/images/14122025/04/31/image_14122025_04_31_24_10898.jpg', '/home/pi/Desktop/images/14122025/04/31/image_14122025_04_31_34_9642.jpg', '/home/pi/Desktop/images/14122025/04/31/image_14122025_04_31_44_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/30/image_14122025_04_30_33_9629.jpg
/home/pi/Desktop/images/14122025/04/30/image_14122025_04_31_04_9775.jpg
/home/pi/Desktop/images/14122025/04/31/image_14122025_04_31_13_9658.jpg
/home/pi/Desktop/images/14122025/04/31/image_14122025_04_31_24_10898.jpg
/home/pi/Desktop/images/14122025/04/31/image_14122025_04_31_34_9642.jpg
/home/pi/Desktop/images/14122025/04/31/image_14122025_04_31_44_9706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325797","1399325794","1399325790","1399325792","1399325789","1399325786"],"photo_ids_order":["1399325786","1399325789","1399325790","1399325792","1399325794","1399325797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c98ea5f65164a439200c87d11e2d171.jpg","text":"TemporaryFile(/tmp/multipartBody2953704269918186259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683143064,"filename":"image_14122025_04_31_44_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/30a60f6c236bced8725a2d90ab76c42a.jpg","text":"TemporaryFile(/tmp/multipartBody9223361428909602674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683143064,"filename":"image_14122025_04_31_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d1bfaacc12bd822c74ac6fe183e3a51c.jpg","text":"TemporaryFile(/tmp/multipartBody4297234327653669050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683143064,"filename":"image_14122025_04_31_13_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7e5d8f5af147017220502ab2e788dd74.jpg","text":"TemporaryFile(/tmp/multipartBody2466287991002988123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683143064,"filename":"image_14122025_04_31_24_10898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2fa3fbb897ada01022813d70a6ee496e.jpg","text":"TemporaryFile(/tmp/multipartBody7125031602658982479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683143064,"filename":"image_14122025_04_31_04_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f379e722cb22a92e9ecd491a4ba5373.jpg","text":"TemporaryFile(/tmp/multipartBody4917513931737739826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683143064,"filename":"image_14122025_04_30_33_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325790","file1":"1399325789","file0":"1399325786","file4":"1399325794","file5":"1399325797","file3":"1399325792"},"map_files_photo_id_array":[{"photo_id":"1399325797","filename":"file5"},{"photo_id":"1399325790","filename":"file2"},{"photo_id":"1399325794","filename":"file4"},{"photo_id":"1399325789","filename":"file1"},{"photo_id":"1399325786","filename":"file0"},{"photo_id":"1399325792","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325797":["hashtag1","hashtag2"]},{"1399325794":["hashtag1","hashtag2"]},{"1399325790":["hashtag1","hashtag2"]},{"1399325792":["hashtag1","hashtag2"]},{"1399325789":["hashtag1","hashtag2"]},{"1399325786":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325797, 1399325794, 1399325790, 1399325792, 1399325789, 1399325786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.899619817733765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:32:03.087162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:32:12.636106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:32:22.783945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/31/image_14122025_04_31_54_10718.jpg', '/home/pi/Desktop/images/14122025/04/32/image_14122025_04_32_14_9598.jpg', '/home/pi/Desktop/images/14122025/04/32/image_14122025_04_32_34_10611.jpg', '/home/pi/Desktop/images/14122025/04/32/image_14122025_04_32_44_9901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/31/image_14122025_04_31_54_10718.jpg
/home/pi/Desktop/images/14122025/04/32/image_14122025_04_32_14_9598.jpg
/home/pi/Desktop/images/14122025/04/32/image_14122025_04_32_34_10611.jpg
/home/pi/Desktop/images/14122025/04/32/image_14122025_04_32_44_9901.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325810","1399325804","1399325806","1399325808"],"photo_ids_order":["1399325804","1399325806","1399325808","1399325810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/754c650ca19b4556cb497c0a37a23316.jpg","text":"TemporaryFile(/tmp/multipartBody958768956106786916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683203319,"filename":"image_14122025_04_32_44_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/08f4c1324dd02e38a4bfefdfb426a390.jpg","text":"TemporaryFile(/tmp/multipartBody530520823548698830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683203319,"filename":"image_14122025_04_31_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/12/14/8e881ac81c6113a98f63ba1e81a38b52.jpg","text":"TemporaryFile(/tmp/multipartBody3407352960040756341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683203319,"filename":"image_14122025_04_32_14_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3e7334ebcd8869d197e9e23f80cad044.jpg","text":"TemporaryFile(/tmp/multipartBody7875586451944671483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683203319,"filename":"image_14122025_04_32_34_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325808","file1":"1399325806","file0":"1399325804","file3":"1399325810"},"map_files_photo_id_array":[{"photo_id":"1399325808","filename":"file2"},{"photo_id":"1399325806","filename":"file1"},{"photo_id":"1399325804","filename":"file0"},{"photo_id":"1399325810","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325810":["hashtag1","hashtag2"]},{"1399325804":["hashtag1","hashtag2"]},{"1399325806":["hashtag1","hashtag2"]},{"1399325808":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325810, 1399325804, 1399325806, 1399325808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.92051649093628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:33:02.374389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:33:11.879671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:33:21.899396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/32/image_14122025_04_32_54_9720.jpg', '/home/pi/Desktop/images/14122025/04/32/image_14122025_04_33_03_9850.jpg', '/home/pi/Desktop/images/14122025/04/33/image_14122025_04_33_14_10847.jpg', '/home/pi/Desktop/images/14122025/04/33/image_14122025_04_33_24_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/32/image_14122025_04_32_54_9720.jpg
/home/pi/Desktop/images/14122025/04/32/image_14122025_04_33_03_9850.jpg
/home/pi/Desktop/images/14122025/04/33/image_14122025_04_33_14_10847.jpg
/home/pi/Desktop/images/14122025/04/33/image_14122025_04_33_24_9602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325825","1399325822","1399325827","1399325823"],"photo_ids_order":["1399325822","1399325823","1399325825","1399325827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f9ffdb51ec7aa306096fc4d20cb7b6e.jpg","text":"TemporaryFile(/tmp/multipartBody3475721620252499627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683262438,"filename":"image_14122025_04_33_14_10847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/463887b67947ca87603f06503b995b1b.jpg","text":"TemporaryFile(/tmp/multipartBody7682764641929088498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683262438,"filename":"image_14122025_04_32_54_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3175e8d09696c34dd78ea5a3b6b820b6.jpg","text":"TemporaryFile(/tmp/multipartBody1841351025192283882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683262438,"filename":"image_14122025_04_33_24_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a4652d6cfec3bc4b5dc1e7caedb21d1c.jpg","text":"TemporaryFile(/tmp/multipartBody400134951858569301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683262438,"filename":"image_14122025_04_33_03_9850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325825","file1":"1399325823","file0":"1399325822","file3":"1399325827"},"map_files_photo_id_array":[{"photo_id":"1399325825","filename":"file2"},{"photo_id":"1399325823","filename":"file1"},{"photo_id":"1399325822","filename":"file0"},{"photo_id":"1399325827","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325825":["hashtag1","hashtag2"]},{"1399325822":["hashtag1","hashtag2"]},{"1399325827":["hashtag1","hashtag2"]},{"1399325823":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325825, 1399325822, 1399325827, 1399325823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.758626699447632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:34:02.777986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:34:12.143421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:34:22.176356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/33/image_14122025_04_33_33_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/33/image_14122025_04_33_33_9641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325843"],"photo_id":"1399325843","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21d458e4fbc0e69af7636685ee5b4012.jpg","text":"TemporaryFile(/tmp/multipartBody6922318686777667568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683323778,"filename":"image_14122025_04_33_33_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399325843"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399325843"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.518730878829956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:34:42.127738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_20_3132.jpg', '/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_21_1688.jpg', '/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_23_1508.jpg', '/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_26_1532.jpg', '/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_30_2536.jpg', '/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_35_4379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_20_3132.jpg
/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_21_1688.jpg
/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_23_1508.jpg
/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_26_1532.jpg
/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_30_2536.jpg
/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_35_4379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325852","1399325848","1399325857","1399325862","1399325859","1399325855"],"photo_ids_order":["1399325848","1399325852","1399325855","1399325857","1399325859","1399325862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bc327abbbcb3df7dbf88cf789009f978.jpg","text":"TemporaryFile(/tmp/multipartBody1654684901113815188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683342824,"filename":"image_04112025_11_27_21_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f381cc8c18201a8e2f0b2c0b94eec87.jpg","text":"TemporaryFile(/tmp/multipartBody2745414874661622713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683342824,"filename":"image_04112025_11_27_20_3132.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a66ddc14591f6fab04d019a1f22eb7d2.jpg","text":"TemporaryFile(/tmp/multipartBody653938702947858449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683342824,"filename":"image_04112025_11_27_26_1532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c65b48ab7eec62b8b070f76b982d2fac.jpg","text":"TemporaryFile(/tmp/multipartBody2713578757977095000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683342824,"filename":"image_04112025_11_27_35_4379.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f4aefaa23eb7e0587c0e91eee30ecc29.jpg","text":"TemporaryFile(/tmp/multipartBody2468788334670755695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683342824,"filename":"image_04112025_11_27_30_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/65ed683d6ad436bc37021c792da887a4.jpg","text":"TemporaryFile(/tmp/multipartBody7577991918380106696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683342824,"filename":"image_04112025_11_27_23_1508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325855","file1":"1399325852","file0":"1399325848","file4":"1399325859","file5":"1399325862","file3":"1399325857"},"map_files_photo_id_array":[{"photo_id":"1399325862","filename":"file5"},{"photo_id":"1399325855","filename":"file2"},{"photo_id":"1399325859","filename":"file4"},{"photo_id":"1399325852","filename":"file1"},{"photo_id":"1399325848","filename":"file0"},{"photo_id":"1399325857","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399325852":["hashtag1","hashtag2"]},{"1399325848":["hashtag1","hashtag2"]},{"1399325857":["hashtag1","hashtag2"]},{"1399325862":["hashtag1","hashtag2"]},{"1399325859":["hashtag1","hashtag2"]},{"1399325855":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399325852, 1399325848, 1399325857, 1399325862, 1399325859, 1399325855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32330513000488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:35:22.386530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/34/image_14122025_04_34_44_10598.jpg', '/home/pi/Desktop/images/14122025/04/34/image_14122025_04_35_04_9656.jpg', '/home/pi/Desktop/images/14122025/04/35/image_14122025_04_35_13_9705.jpg', '/home/pi/Desktop/images/14122025/04/35/image_14122025_04_35_24_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/34/image_14122025_04_34_44_10598.jpg
/home/pi/Desktop/images/14122025/04/34/image_14122025_04_35_04_9656.jpg
/home/pi/Desktop/images/14122025/04/35/image_14122025_04_35_13_9705.jpg
/home/pi/Desktop/images/14122025/04/35/image_14122025_04_35_24_10659.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.45928096771240234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:35:32.396408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:35:42.343905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_37_2574.jpg', '/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_40_2655.jpg', '/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_51_11187.jpg', '/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_53_1588.jpg', '/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_57_4270.jpg', '/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_59_1534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_37_2574.jpg
/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_40_2655.jpg
/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_51_11187.jpg
/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_53_1588.jpg
/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_57_4270.jpg
/home/pi/Desktop/images/04112025/11/27/image_04112025_11_27_59_1534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325878","1399325881","1399325880","1399325877","1399325871","1399325879"],"photo_ids_order":["1399325871","1399325877","1399325878","1399325879","1399325880","1399325881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dca10e01f1de6fd17f96eeb93a45e5b2.jpg","text":"TemporaryFile(/tmp/multipartBody6591132132982507415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683403051,"filename":"image_04112025_11_27_51_11187.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a0d4a6e518a9b80ed7ab385c81b49a97.jpg","text":"TemporaryFile(/tmp/multipartBody3286975640488431129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683403051,"filename":"image_04112025_11_27_59_1534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2c02329559bdf5501f26bf563f2481c3.jpg","text":"TemporaryFile(/tmp/multipartBody4793097709963612461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683403051,"filename":"image_04112025_11_27_57_4270.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe837a883d2a4f07cb8b68a3d6a591bb.jpg","text":"TemporaryFile(/tmp/multipartBody2605459126926652133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683403051,"filename":"image_04112025_11_27_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/12/14/7af1b1bb4b4960a4ce84e850256f21d3.jpg","text":"TemporaryFile(/tmp/multipartBody7935876883464048208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683403051,"filename":"image_04112025_11_27_37_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ecaeba08479138daa3a828f89a2536b5.jpg","text":"TemporaryFile(/tmp/multipartBody2913077794681056680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683403051,"filename":"image_04112025_11_27_53_1588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325878","file1":"1399325877","file0":"1399325871","file4":"1399325880","file5":"1399325881","file3":"1399325879"},"map_files_photo_id_array":[{"photo_id":"1399325881","filename":"file5"},{"photo_id":"1399325878","filename":"file2"},{"photo_id":"1399325880","filename":"file4"},{"photo_id":"1399325877","filename":"file1"},{"photo_id":"1399325871","filename":"file0"},{"photo_id":"1399325879","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399325878":["hashtag1","hashtag2"]},{"1399325881":["hashtag1","hashtag2"]},{"1399325880":["hashtag1","hashtag2"]},{"1399325877":["hashtag1","hashtag2"]},{"1399325871":["hashtag1","hashtag2"]},{"1399325879":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399325878, 1399325881, 1399325880, 1399325877, 1399325871, 1399325879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.159465312957764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:36:22.588049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/34/image_14122025_04_34_44_10598.jpg', '/home/pi/Desktop/images/14122025/04/34/image_14122025_04_35_04_9656.jpg', '/home/pi/Desktop/images/14122025/04/35/image_14122025_04_35_13_9705.jpg', '/home/pi/Desktop/images/14122025/04/35/image_14122025_04_35_24_10659.jpg', '/home/pi/Desktop/images/14122025/04/35/image_14122025_04_35_34_9620.jpg', '/home/pi/Desktop/images/14122025/04/35/image_14122025_04_36_04_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/34/image_14122025_04_34_44_10598.jpg
/home/pi/Desktop/images/14122025/04/34/image_14122025_04_35_04_9656.jpg
/home/pi/Desktop/images/14122025/04/35/image_14122025_04_35_13_9705.jpg
/home/pi/Desktop/images/14122025/04/35/image_14122025_04_35_24_10659.jpg
/home/pi/Desktop/images/14122025/04/35/image_14122025_04_35_34_9620.jpg
/home/pi/Desktop/images/14122025/04/35/image_14122025_04_36_04_9637.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.591393232345581 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:36:32.606382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:36:42.556007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_19_1595.jpg', '/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_20_1537.jpg', '/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_24_1607.jpg', '/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_25_1700.jpg', '/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_27_1641.jpg', '/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_30_3286.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_19_1595.jpg
/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_20_1537.jpg
/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_24_1607.jpg
/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_25_1700.jpg
/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_27_1641.jpg
/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_30_3286.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325896","1399325900","1399325895","1399325898","1399325891","1399325897"],"photo_ids_order":["1399325891","1399325895","1399325896","1399325897","1399325898","1399325900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/05e9db6d28dc1be6a59a849d2a8048da.jpg","text":"TemporaryFile(/tmp/multipartBody7791094929706759294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683463227,"filename":"image_04112025_11_28_24_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/83cd7a0c82474d07ccbe2af16f3a1b95.jpg","text":"TemporaryFile(/tmp/multipartBody167222311369292978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683463227,"filename":"image_04112025_11_28_30_3286.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9abcabef5d84df4ad50035682dcc5b17.jpg","text":"TemporaryFile(/tmp/multipartBody1040543139677276739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683463227,"filename":"image_04112025_11_28_20_1537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f88bdacadd9601feca44ffb2bc989ee.jpg","text":"TemporaryFile(/tmp/multipartBody1629163082989710113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683463227,"filename":"image_04112025_11_28_27_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b72a4ec728ad43902f3a0771779900d.jpg","text":"TemporaryFile(/tmp/multipartBody2305794413186677054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683463227,"filename":"image_04112025_11_28_19_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/638914c5d0e61b750b3cc8a04da87ac4.jpg","text":"TemporaryFile(/tmp/multipartBody5398079454266998606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683463227,"filename":"image_04112025_11_28_25_1700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325896","file1":"1399325895","file0":"1399325891","file4":"1399325898","file5":"1399325900","file3":"1399325897"},"map_files_photo_id_array":[{"photo_id":"1399325900","filename":"file5"},{"photo_id":"1399325896","filename":"file2"},{"photo_id":"1399325898","filename":"file4"},{"photo_id":"1399325895","filename":"file1"},{"photo_id":"1399325891","filename":"file0"},{"photo_id":"1399325897","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399325896":["hashtag1","hashtag2"]},{"1399325900":["hashtag1","hashtag2"]},{"1399325895":["hashtag1","hashtag2"]},{"1399325898":["hashtag1","hashtag2"]},{"1399325891":["hashtag1","hashtag2"]},{"1399325897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399325896, 1399325900, 1399325895, 1399325898, 1399325891, 1399325897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32809901237488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:37:22.761229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/34/image_14122025_04_34_44_10598.jpg', '/home/pi/Desktop/images/14122025/04/34/image_14122025_04_35_04_9656.jpg', '/home/pi/Desktop/images/14122025/04/35/image_14122025_04_35_13_9705.jpg', '/home/pi/Desktop/images/14122025/04/35/image_14122025_04_35_24_10659.jpg', '/home/pi/Desktop/images/14122025/04/35/image_14122025_04_35_34_9620.jpg', '/home/pi/Desktop/images/14122025/04/35/image_14122025_04_36_04_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/34/image_14122025_04_34_44_10598.jpg
/home/pi/Desktop/images/14122025/04/34/image_14122025_04_35_04_9656.jpg
/home/pi/Desktop/images/14122025/04/35/image_14122025_04_35_13_9705.jpg
/home/pi/Desktop/images/14122025/04/35/image_14122025_04_35_24_10659.jpg
/home/pi/Desktop/images/14122025/04/35/image_14122025_04_35_34_9620.jpg
/home/pi/Desktop/images/14122025/04/35/image_14122025_04_36_04_9637.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5447556972503662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:37:32.760458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:37:42.731741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_37_1730.jpg', '/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_39_1588.jpg', '/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_40_1716.jpg', '/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_42_1765.jpg', '/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_44_1578.jpg', '/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_45_1679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_37_1730.jpg
/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_39_1588.jpg
/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_40_1716.jpg
/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_42_1765.jpg
/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_44_1578.jpg
/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_45_1679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325912","1399325915","1399325914","1399325913","1399325916","1399325910"],"photo_ids_order":["1399325910","1399325912","1399325913","1399325914","1399325915","1399325916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63de8542399b2b0e5cb4537e255f206f.jpg","text":"TemporaryFile(/tmp/multipartBody9098046585529065483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683523474,"filename":"image_04112025_11_28_39_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/15711ca79b56c31c4594f0d41fa3843a.jpg","text":"TemporaryFile(/tmp/multipartBody455324977478987035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683523474,"filename":"image_04112025_11_28_44_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d7af6d25ad2b22e10066e9243a8dc812.jpg","text":"TemporaryFile(/tmp/multipartBody7718377679251482796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683523474,"filename":"image_04112025_11_28_42_1765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2c5953a841d9962fbdedfa2a8bbf244.jpg","text":"TemporaryFile(/tmp/multipartBody7711532437980755654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683523474,"filename":"image_04112025_11_28_40_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/009e5500eace43432e1f0dd592674ded.jpg","text":"TemporaryFile(/tmp/multipartBody8828072750142288353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683523474,"filename":"image_04112025_11_28_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/12/14/74d9c8a54a1f6f1a31e0e56d8bf3caff.jpg","text":"TemporaryFile(/tmp/multipartBody6995628271808952712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683523474,"filename":"image_04112025_11_28_37_1730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325913","file1":"1399325912","file0":"1399325910","file4":"1399325915","file5":"1399325916","file3":"1399325914"},"map_files_photo_id_array":[{"photo_id":"1399325916","filename":"file5"},{"photo_id":"1399325913","filename":"file2"},{"photo_id":"1399325915","filename":"file4"},{"photo_id":"1399325912","filename":"file1"},{"photo_id":"1399325910","filename":"file0"},{"photo_id":"1399325914","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399325912":["hashtag1","hashtag2"]},{"1399325915":["hashtag1","hashtag2"]},{"1399325914":["hashtag1","hashtag2"]},{"1399325913":["hashtag1","hashtag2"]},{"1399325916":["hashtag1","hashtag2"]},{"1399325910":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399325912, 1399325915, 1399325914, 1399325913, 1399325916, 1399325910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64625406265259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:38:21.972130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/34/image_14122025_04_34_44_10598.jpg', '/home/pi/Desktop/images/14122025/04/34/image_14122025_04_35_04_9656.jpg', '/home/pi/Desktop/images/14122025/04/35/image_14122025_04_35_13_9705.jpg', '/home/pi/Desktop/images/14122025/04/35/image_14122025_04_35_24_10659.jpg', '/home/pi/Desktop/images/14122025/04/35/image_14122025_04_35_34_9620.jpg', '/home/pi/Desktop/images/14122025/04/35/image_14122025_04_36_04_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/34/image_14122025_04_34_44_10598.jpg
/home/pi/Desktop/images/14122025/04/34/image_14122025_04_35_04_9656.jpg
/home/pi/Desktop/images/14122025/04/35/image_14122025_04_35_13_9705.jpg
/home/pi/Desktop/images/14122025/04/35/image_14122025_04_35_24_10659.jpg
/home/pi/Desktop/images/14122025/04/35/image_14122025_04_35_34_9620.jpg
/home/pi/Desktop/images/14122025/04/35/image_14122025_04_36_04_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325927","1399325921","1399325923","1399325917","1399325925","1399325919"],"photo_ids_order":["1399325917","1399325919","1399325921","1399325923","1399325925","1399325927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a4a69da3441e6af891fcbda5841d4944.jpg","text":"TemporaryFile(/tmp/multipartBody7825725306162875135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683562591,"filename":"image_14122025_04_36_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/759be30a58f04ec0e677e63963a12f01.jpg","text":"TemporaryFile(/tmp/multipartBody1157314539895200185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683562591,"filename":"image_14122025_04_35_13_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b0d4ba09af08d8a53eb22096fa638a7.jpg","text":"TemporaryFile(/tmp/multipartBody8355702026491255564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683562591,"filename":"image_14122025_04_35_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/12/14/02e852e7818d24ce146436218ad7c4a9.jpg","text":"TemporaryFile(/tmp/multipartBody5341956615602330433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683562591,"filename":"image_14122025_04_34_44_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81dc0dd79bf7aafc998a1c1b99693625.jpg","text":"TemporaryFile(/tmp/multipartBody2461189441393807347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683562591,"filename":"image_14122025_04_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/12/14/b72e0ae83716182c74f10fd2357936b2.jpg","text":"TemporaryFile(/tmp/multipartBody8036451933584920295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683562591,"filename":"image_14122025_04_35_04_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325921","file1":"1399325919","file0":"1399325917","file4":"1399325925","file5":"1399325927","file3":"1399325923"},"map_files_photo_id_array":[{"photo_id":"1399325927","filename":"file5"},{"photo_id":"1399325921","filename":"file2"},{"photo_id":"1399325925","filename":"file4"},{"photo_id":"1399325919","filename":"file1"},{"photo_id":"1399325917","filename":"file0"},{"photo_id":"1399325923","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325927":["hashtag1","hashtag2"]},{"1399325921":["hashtag1","hashtag2"]},{"1399325923":["hashtag1","hashtag2"]},{"1399325917":["hashtag1","hashtag2"]},{"1399325925":["hashtag1","hashtag2"]},{"1399325919":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325927, 1399325921, 1399325923, 1399325917, 1399325925, 1399325919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35969829559326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:39:03.294881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/36/image_14122025_04_36_13_9689.jpg', '/home/pi/Desktop/images/14122025/04/36/image_14122025_04_36_24_10598.jpg', '/home/pi/Desktop/images/14122025/04/36/image_14122025_04_36_44_9725.jpg', '/home/pi/Desktop/images/14122025/04/37/image_14122025_04_37_23_9675.jpg', '/home/pi/Desktop/images/14122025/04/37/image_14122025_04_37_34_10659.jpg', '/home/pi/Desktop/images/14122025/04/37/image_14122025_04_38_04_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/36/image_14122025_04_36_13_9689.jpg
/home/pi/Desktop/images/14122025/04/36/image_14122025_04_36_24_10598.jpg
/home/pi/Desktop/images/14122025/04/36/image_14122025_04_36_44_9725.jpg
/home/pi/Desktop/images/14122025/04/37/image_14122025_04_37_23_9675.jpg
/home/pi/Desktop/images/14122025/04/37/image_14122025_04_37_34_10659.jpg
/home/pi/Desktop/images/14122025/04/37/image_14122025_04_38_04_10652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325939","1399325933","1399325935","1399325934","1399325937","1399325936"],"photo_ids_order":["1399325933","1399325934","1399325935","1399325936","1399325937","1399325939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc61d8ed8306a4d7647eebd1e4f88790.jpg","text":"TemporaryFile(/tmp/multipartBody4372997166814406886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683604069,"filename":"image_14122025_04_38_04_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e40ff804aa0e88c942409480f7370f4f.jpg","text":"TemporaryFile(/tmp/multipartBody6964439488028357268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683604069,"filename":"image_14122025_04_36_13_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9ceeade794e114dd81ab8c7dbc572dd8.jpg","text":"TemporaryFile(/tmp/multipartBody4420351901909356617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683604069,"filename":"image_14122025_04_36_44_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f6913de043243a3778f4c53cfd354f9.jpg","text":"TemporaryFile(/tmp/multipartBody3595852469045565653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683604069,"filename":"image_14122025_04_36_24_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/614635e04e1dce8a7ca62811bced9573.jpg","text":"TemporaryFile(/tmp/multipartBody3391119148702004004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683604069,"filename":"image_14122025_04_37_34_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3088c9e6b7b147e4851632e1e614a071.jpg","text":"TemporaryFile(/tmp/multipartBody3155617045372193446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683604069,"filename":"image_14122025_04_37_23_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325935","file1":"1399325934","file0":"1399325933","file4":"1399325937","file5":"1399325939","file3":"1399325936"},"map_files_photo_id_array":[{"photo_id":"1399325939","filename":"file5"},{"photo_id":"1399325935","filename":"file2"},{"photo_id":"1399325937","filename":"file4"},{"photo_id":"1399325934","filename":"file1"},{"photo_id":"1399325933","filename":"file0"},{"photo_id":"1399325936","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325939":["hashtag1","hashtag2"]},{"1399325933":["hashtag1","hashtag2"]},{"1399325935":["hashtag1","hashtag2"]},{"1399325934":["hashtag1","hashtag2"]},{"1399325937":["hashtag1","hashtag2"]},{"1399325936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325939, 1399325933, 1399325935, 1399325934, 1399325937, 1399325936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54406237602234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:39:42.150289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_49_3727.jpg', '/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_52_2719.jpg', '/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_54_2653.jpg', '/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_58_3683.jpg', '/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_01_2491.jpg', '/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_03_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_49_3727.jpg
/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_52_2719.jpg
/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_54_2653.jpg
/home/pi/Desktop/images/04112025/11/28/image_04112025_11_28_58_3683.jpg
/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_01_2491.jpg
/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_03_2674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325950","1399325947","1399325943","1399325946","1399325949","1399325948"],"photo_ids_order":["1399325943","1399325946","1399325947","1399325948","1399325949","1399325950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/df13fd77bd3c6097163a840f04918e72.jpg","text":"TemporaryFile(/tmp/multipartBody8491213538631504160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683642821,"filename":"image_04112025_11_29_03_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad6488bf75245a98ec4b3ed3fec534da.jpg","text":"TemporaryFile(/tmp/multipartBody705598894277402067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683642821,"filename":"image_04112025_11_28_54_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/17be4c8b14543e0c75f9f277ae3d2498.jpg","text":"TemporaryFile(/tmp/multipartBody6681054226591923698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683642821,"filename":"image_04112025_11_28_49_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad6f9d685e833b1577b355576cbbe338.jpg","text":"TemporaryFile(/tmp/multipartBody8010665197012760114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683642821,"filename":"image_04112025_11_28_52_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7789114f3708d42efc10400e9307b6aa.jpg","text":"TemporaryFile(/tmp/multipartBody7859287866311107574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683642821,"filename":"image_04112025_11_29_01_2491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9e2c4376786bbd400bc54ff2a5f88019.jpg","text":"TemporaryFile(/tmp/multipartBody8894326586326347908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683642821,"filename":"image_04112025_11_28_58_3683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325947","file1":"1399325946","file0":"1399325943","file4":"1399325949","file5":"1399325950","file3":"1399325948"},"map_files_photo_id_array":[{"photo_id":"1399325950","filename":"file5"},{"photo_id":"1399325947","filename":"file2"},{"photo_id":"1399325949","filename":"file4"},{"photo_id":"1399325946","filename":"file1"},{"photo_id":"1399325943","filename":"file0"},{"photo_id":"1399325948","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399325950":["hashtag1","hashtag2"]},{"1399325947":["hashtag1","hashtag2"]},{"1399325943":["hashtag1","hashtag2"]},{"1399325946":["hashtag1","hashtag2"]},{"1399325949":["hashtag1","hashtag2"]},{"1399325948":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399325950, 1399325947, 1399325943, 1399325946, 1399325949, 1399325948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60364651679993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:40:22.361811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/38/image_14122025_04_38_14_9755.jpg', '/home/pi/Desktop/images/14122025/04/38/image_14122025_04_38_24_9807.jpg', '/home/pi/Desktop/images/14122025/04/38/image_14122025_04_38_34_9910.jpg', '/home/pi/Desktop/images/14122025/04/38/image_14122025_04_38_44_10618.jpg', '/home/pi/Desktop/images/14122025/04/38/image_14122025_04_38_54_9818.jpg', '/home/pi/Desktop/images/14122025/04/39/image_14122025_04_39_14_9838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/38/image_14122025_04_38_14_9755.jpg
/home/pi/Desktop/images/14122025/04/38/image_14122025_04_38_24_9807.jpg
/home/pi/Desktop/images/14122025/04/38/image_14122025_04_38_34_9910.jpg
/home/pi/Desktop/images/14122025/04/38/image_14122025_04_38_44_10618.jpg
/home/pi/Desktop/images/14122025/04/38/image_14122025_04_38_54_9818.jpg
/home/pi/Desktop/images/14122025/04/39/image_14122025_04_39_14_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.5173792839050293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:40:32.374835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:40:42.316627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_16_2645.jpg', '/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_18_2527.jpg', '/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_22_3663.jpg', '/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_25_2770.jpg', '/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_27_2682.jpg', '/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_34_2516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_16_2645.jpg
/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_18_2527.jpg
/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_22_3663.jpg
/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_25_2770.jpg
/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_27_2682.jpg
/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_34_2516.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399325965","1399325968","1399325961","1399325964","1399325967","1399325966"],"photo_ids_order":["1399325961","1399325964","1399325965","1399325966","1399325967","1399325968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b35d374e65d512b210084c462162f59.jpg","text":"TemporaryFile(/tmp/multipartBody3156372602353853704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683702994,"filename":"image_04112025_11_29_22_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4dcdd5fc030478f50140760eaafbea00.jpg","text":"TemporaryFile(/tmp/multipartBody8778469021339173573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683702994,"filename":"image_04112025_11_29_34_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/184bd12084776062f2268ea99d2afb82.jpg","text":"TemporaryFile(/tmp/multipartBody1598847805148758799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683702994,"filename":"image_04112025_11_29_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/12/14/afa5b65b26f0b45362bde8844530d50b.jpg","text":"TemporaryFile(/tmp/multipartBody7012138328858108445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683702994,"filename":"image_04112025_11_29_18_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/182d0c3451a7cc50dd316f0fd812dc20.jpg","text":"TemporaryFile(/tmp/multipartBody3725647070419416060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683702994,"filename":"image_04112025_11_29_27_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f671e6826ab18534617ec3d3b40b6226.jpg","text":"TemporaryFile(/tmp/multipartBody6903500541282116904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683702994,"filename":"image_04112025_11_29_25_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325965","file1":"1399325964","file0":"1399325961","file4":"1399325967","file5":"1399325968","file3":"1399325966"},"map_files_photo_id_array":[{"photo_id":"1399325968","filename":"file5"},{"photo_id":"1399325965","filename":"file2"},{"photo_id":"1399325967","filename":"file4"},{"photo_id":"1399325964","filename":"file1"},{"photo_id":"1399325961","filename":"file0"},{"photo_id":"1399325966","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399325965":["hashtag1","hashtag2"]},{"1399325968":["hashtag1","hashtag2"]},{"1399325961":["hashtag1","hashtag2"]},{"1399325964":["hashtag1","hashtag2"]},{"1399325967":["hashtag1","hashtag2"]},{"1399325966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399325965, 1399325968, 1399325961, 1399325964, 1399325967, 1399325966)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.54235124588013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:41:32.539896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:41:42.624448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_36_2671.jpg', '/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_40_3728.jpg', '/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_43_2520.jpg', '/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_45_2588.jpg', '/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_49_3685.jpg', '/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_51_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_36_2671.jpg
/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_40_3728.jpg
/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_43_2520.jpg
/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_45_2588.jpg
/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_49_3685.jpg
/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_51_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":["1399325983","1399325977","1399325980","1399325974","1399325979","1399325981"],"photo_ids_order":["1399325974","1399325977","1399325979","1399325980","1399325981","1399325983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e920e1fccad595dea23402b4b1e5aea.jpg","text":"TemporaryFile(/tmp/multipartBody5087768905316599137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683763323,"filename":"image_04112025_11_29_51_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8416a414606284623daea84ff995929b.jpg","text":"TemporaryFile(/tmp/multipartBody3879210280205242748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683763323,"filename":"image_04112025_11_29_40_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1699143020c97d572f05be92985caf59.jpg","text":"TemporaryFile(/tmp/multipartBody3540153572087068128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683763323,"filename":"image_04112025_11_29_45_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf4c0a0a5842bb2c800adcd2e740b1f6.jpg","text":"TemporaryFile(/tmp/multipartBody5711251105257736786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683763323,"filename":"image_04112025_11_29_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/12/14/e0569a25940e7225f4e2622414b697c2.jpg","text":"TemporaryFile(/tmp/multipartBody4144934701777928819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683763323,"filename":"image_04112025_11_29_43_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9d8c4b0535a2cbb75b36346b27502af3.jpg","text":"TemporaryFile(/tmp/multipartBody4545288372262334319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683763323,"filename":"image_04112025_11_29_49_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325979","file1":"1399325977","file0":"1399325974","file4":"1399325981","file5":"1399325983","file3":"1399325980"},"map_files_photo_id_array":[{"photo_id":"1399325983","filename":"file5"},{"photo_id":"1399325979","filename":"file2"},{"photo_id":"1399325981","filename":"file4"},{"photo_id":"1399325977","filename":"file1"},{"photo_id":"1399325974","filename":"file0"},{"photo_id":"1399325980","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399325983":["hashtag1","hashtag2"]},{"1399325977":["hashtag1","hashtag2"]},{"1399325980":["hashtag1","hashtag2"]},{"1399325974":["hashtag1","hashtag2"]},{"1399325979":["hashtag1","hashtag2"]},{"1399325981":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399325983, 1399325977, 1399325980, 1399325974, 1399325979, 1399325981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.502723693847656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:42:22.836594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/38/image_14122025_04_38_14_9755.jpg', '/home/pi/Desktop/images/14122025/04/38/image_14122025_04_38_24_9807.jpg', '/home/pi/Desktop/images/14122025/04/38/image_14122025_04_38_34_9910.jpg', '/home/pi/Desktop/images/14122025/04/38/image_14122025_04_38_44_10618.jpg', '/home/pi/Desktop/images/14122025/04/38/image_14122025_04_38_54_9818.jpg', '/home/pi/Desktop/images/14122025/04/39/image_14122025_04_39_14_9838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/38/image_14122025_04_38_14_9755.jpg
/home/pi/Desktop/images/14122025/04/38/image_14122025_04_38_24_9807.jpg
/home/pi/Desktop/images/14122025/04/38/image_14122025_04_38_34_9910.jpg
/home/pi/Desktop/images/14122025/04/38/image_14122025_04_38_44_10618.jpg
/home/pi/Desktop/images/14122025/04/38/image_14122025_04_38_54_9818.jpg
/home/pi/Desktop/images/14122025/04/39/image_14122025_04_39_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":["1399325995","1399325992","1399325986","1399325988","1399325997","1399325990"],"photo_ids_order":["1399325986","1399325988","1399325990","1399325992","1399325995","1399325997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c18b84371b3760d29a0cbdf88d0876f6.jpg","text":"TemporaryFile(/tmp/multipartBody5205788253458347514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683803727,"filename":"image_14122025_04_38_54_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3aae9e97f5c10596cee5253a575e4be.jpg","text":"TemporaryFile(/tmp/multipartBody1630331931013803667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683803727,"filename":"image_14122025_04_38_44_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a11e2b00850061f3cdde69f621803ff.jpg","text":"TemporaryFile(/tmp/multipartBody3401808130536463277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683803727,"filename":"image_14122025_04_38_14_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6400f4c23da43c5d5c0545245970d143.jpg","text":"TemporaryFile(/tmp/multipartBody8963656056166887168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683803727,"filename":"image_14122025_04_38_24_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae2b777740a6b8527270cf572aaa543d.jpg","text":"TemporaryFile(/tmp/multipartBody8942669029841325124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683803727,"filename":"image_14122025_04_39_14_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e01e96657ccb7ceea0fec12db0354892.jpg","text":"TemporaryFile(/tmp/multipartBody3290647097428993901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683803727,"filename":"image_14122025_04_38_34_9910.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399325990","file1":"1399325988","file0":"1399325986","file4":"1399325995","file5":"1399325997","file3":"1399325992"},"map_files_photo_id_array":[{"photo_id":"1399325997","filename":"file5"},{"photo_id":"1399325990","filename":"file2"},{"photo_id":"1399325995","filename":"file4"},{"photo_id":"1399325988","filename":"file1"},{"photo_id":"1399325986","filename":"file0"},{"photo_id":"1399325992","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399325995":["hashtag1","hashtag2"]},{"1399325992":["hashtag1","hashtag2"]},{"1399325986":["hashtag1","hashtag2"]},{"1399325988":["hashtag1","hashtag2"]},{"1399325997":["hashtag1","hashtag2"]},{"1399325990":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399325995, 1399325992, 1399325986, 1399325988, 1399325997, 1399325990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.614439249038696 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:43:11.954875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:43:21.952366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/39/image_14122025_04_39_24_10668.jpg', '/home/pi/Desktop/images/14122025/04/39/image_14122025_04_40_03_9670.jpg', '/home/pi/Desktop/images/14122025/04/40/image_14122025_04_41_04_9664.jpg', '/home/pi/Desktop/images/14122025/04/41/image_14122025_04_41_14_9686.jpg', '/home/pi/Desktop/images/14122025/04/41/image_14122025_04_41_34_9656.jpg', '/home/pi/Desktop/images/14122025/04/41/image_14122025_04_41_43_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/39/image_14122025_04_39_24_10668.jpg
/home/pi/Desktop/images/14122025/04/39/image_14122025_04_40_03_9670.jpg
/home/pi/Desktop/images/14122025/04/40/image_14122025_04_41_04_9664.jpg
/home/pi/Desktop/images/14122025/04/41/image_14122025_04_41_14_9686.jpg
/home/pi/Desktop/images/14122025/04/41/image_14122025_04_41_34_9656.jpg
/home/pi/Desktop/images/14122025/04/41/image_14122025_04_41_43_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399326008","1399326002","1399326001","1399326004","1399326006","1399325999"],"photo_ids_order":["1399325999","1399326001","1399326002","1399326004","1399326006","1399326008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/adc451fdc38a933c7ae03e0c3dcd8748.jpg","text":"TemporaryFile(/tmp/multipartBody2391233084295956773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683862989,"filename":"image_14122025_04_41_43_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d768c621f46b4c88ab714194a28d101d.jpg","text":"TemporaryFile(/tmp/multipartBody9059503257534111637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683862989,"filename":"image_14122025_04_41_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2a3b7734cde2e695a85aa9a9e019b4e.jpg","text":"TemporaryFile(/tmp/multipartBody9016666251288971131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683862989,"filename":"image_14122025_04_40_03_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3854e9548680ff15b845e1ef1925db0c.jpg","text":"TemporaryFile(/tmp/multipartBody7842607757917730609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683862989,"filename":"image_14122025_04_41_14_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a09f457ea9e949fc2222be2ddca54bc.jpg","text":"TemporaryFile(/tmp/multipartBody2094544032173767531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683862989,"filename":"image_14122025_04_41_34_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/05d894c9fa7d120e127a4b36ee582bdd.jpg","text":"TemporaryFile(/tmp/multipartBody7630013608523240990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683862989,"filename":"image_14122025_04_39_24_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399326002","file1":"1399326001","file0":"1399325999","file4":"1399326006","file5":"1399326008","file3":"1399326004"},"map_files_photo_id_array":[{"photo_id":"1399326008","filename":"file5"},{"photo_id":"1399326002","filename":"file2"},{"photo_id":"1399326006","filename":"file4"},{"photo_id":"1399326001","filename":"file1"},{"photo_id":"1399325999","filename":"file0"},{"photo_id":"1399326004","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399326008":["hashtag1","hashtag2"]},{"1399326002":["hashtag1","hashtag2"]},{"1399326001":["hashtag1","hashtag2"]},{"1399326004":["hashtag1","hashtag2"]},{"1399326006":["hashtag1","hashtag2"]},{"1399325999":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399326008, 1399326002, 1399326001, 1399326004, 1399326006, 1399325999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.744250535964966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:44:02.868825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/42/image_14122025_04_42_14_10434.jpg', '/home/pi/Desktop/images/14122025/04/42/image_14122025_04_42_34_9862.jpg', '/home/pi/Desktop/images/14122025/04/42/image_14122025_04_42_43_9815.jpg', '/home/pi/Desktop/images/14122025/04/42/image_14122025_04_42_54_10740.jpg', '/home/pi/Desktop/images/14122025/04/42/image_14122025_04_43_04_9634.jpg', '/home/pi/Desktop/images/14122025/04/43/image_14122025_04_43_14_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/42/image_14122025_04_42_14_10434.jpg
/home/pi/Desktop/images/14122025/04/42/image_14122025_04_42_34_9862.jpg
/home/pi/Desktop/images/14122025/04/42/image_14122025_04_42_43_9815.jpg
/home/pi/Desktop/images/14122025/04/42/image_14122025_04_42_54_10740.jpg
/home/pi/Desktop/images/14122025/04/42/image_14122025_04_43_04_9634.jpg
/home/pi/Desktop/images/14122025/04/43/image_14122025_04_43_14_9796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399326014","1399326013","1399326016","1399326010","1399326015","1399326011"],"photo_ids_order":["1399326010","1399326011","1399326013","1399326014","1399326015","1399326016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3a242da42f366e71958d26d2df0810f9.jpg","text":"TemporaryFile(/tmp/multipartBody802155825978080727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683903559,"filename":"image_14122025_04_42_54_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/843967b55683b465008f7bd412559755.jpg","text":"TemporaryFile(/tmp/multipartBody5848100301178838580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683903559,"filename":"image_14122025_04_42_43_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b5fd785f19ff620c5fa8b9e3a90771a.jpg","text":"TemporaryFile(/tmp/multipartBody3491961122595352992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683903559,"filename":"image_14122025_04_43_14_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cddfb1089ca40945a33cbe74bf66055f.jpg","text":"TemporaryFile(/tmp/multipartBody4545207186211678782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683903559,"filename":"image_14122025_04_42_14_10434.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b83bd7958a891b29aff82f5eff9b423a.jpg","text":"TemporaryFile(/tmp/multipartBody7165206116387607010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683903559,"filename":"image_14122025_04_43_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e6334d89b09ca29e29d38d5c3487f48f.jpg","text":"TemporaryFile(/tmp/multipartBody6028942558495813708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765683903559,"filename":"image_14122025_04_42_34_9862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399326013","file1":"1399326011","file0":"1399326010","file4":"1399326015","file5":"1399326016","file3":"1399326014"},"map_files_photo_id_array":[{"photo_id":"1399326016","filename":"file5"},{"photo_id":"1399326013","filename":"file2"},{"photo_id":"1399326015","filename":"file4"},{"photo_id":"1399326011","filename":"file1"},{"photo_id":"1399326010","filename":"file0"},{"photo_id":"1399326014","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399326014":["hashtag1","hashtag2"]},{"1399326013":["hashtag1","hashtag2"]},{"1399326016":["hashtag1","hashtag2"]},{"1399326010":["hashtag1","hashtag2"]},{"1399326015":["hashtag1","hashtag2"]},{"1399326011":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399326014, 1399326013, 1399326016, 1399326010, 1399326015, 1399326011)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.41541314125061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:45:04.922873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:45:12.359306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:45:22.363458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/43/image_14122025_04_43_43_9650.jpg', '/home/pi/Desktop/images/14122025/04/43/image_14122025_04_43_54_10637.jpg', '/home/pi/Desktop/images/14122025/04/44/image_14122025_04_44_34_9707.jpg', '/home/pi/Desktop/images/14122025/04/44/image_14122025_04_44_53_9738.jpg', '/home/pi/Desktop/images/14122025/04/44/image_14122025_04_45_04_10643.jpg', '/home/pi/Desktop/images/14122025/04/45/image_14122025_04_45_34_10595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/43/image_14122025_04_43_43_9650.jpg
/home/pi/Desktop/images/14122025/04/43/image_14122025_04_43_54_10637.jpg
/home/pi/Desktop/images/14122025/04/44/image_14122025_04_44_34_9707.jpg
/home/pi/Desktop/images/14122025/04/44/image_14122025_04_44_53_9738.jpg
/home/pi/Desktop/images/14122025/04/44/image_14122025_04_45_04_10643.jpg
/home/pi/Desktop/images/14122025/04/45/image_14122025_04_45_34_10595.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6094527244567871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:45:32.381069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:45:43.947760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_55_3607.jpg', '/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_58_2824.jpg', '/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_07_3012.jpg', '/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_11_3764.jpg', '/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_13_2595.jpg', '/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_16_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_55_3607.jpg
/home/pi/Desktop/images/04112025/11/29/image_04112025_11_29_58_2824.jpg
/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_07_3012.jpg
/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_11_3764.jpg
/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_13_2595.jpg
/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_16_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":["1399326046","1399326049","1399326045","1399326048","1399326044","1399326047"],"photo_ids_order":["1399326044","1399326045","1399326046","1399326047","1399326048","1399326049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3341fb84c4874a6c647cea0b103bf99c.jpg","text":"TemporaryFile(/tmp/multipartBody5220442269451373113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684007228,"filename":"image_04112025_11_30_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6dfdcf67e0f2a7b700aa650ed29cc6cd.jpg","text":"TemporaryFile(/tmp/multipartBody502079668435357206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684007228,"filename":"image_04112025_11_30_16_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c2e8bf77aeb53e92bdc3084d792156e0.jpg","text":"TemporaryFile(/tmp/multipartBody1672049470507653756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684007228,"filename":"image_04112025_11_29_58_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c04d66b62312642a96c4d8b739ff839.jpg","text":"TemporaryFile(/tmp/multipartBody3539129993857659743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684007228,"filename":"image_04112025_11_30_13_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d58db7d8d65e6bda906644ddc2f1128.jpg","text":"TemporaryFile(/tmp/multipartBody4046538365393658816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684007228,"filename":"image_04112025_11_29_55_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c96754b09e0ab9d6fdbc26327ea5729.jpg","text":"TemporaryFile(/tmp/multipartBody3398891388454543132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684007228,"filename":"image_04112025_11_30_11_3764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399326046","file1":"1399326045","file0":"1399326044","file4":"1399326048","file5":"1399326049","file3":"1399326047"},"map_files_photo_id_array":[{"photo_id":"1399326049","filename":"file5"},{"photo_id":"1399326046","filename":"file2"},{"photo_id":"1399326048","filename":"file4"},{"photo_id":"1399326045","filename":"file1"},{"photo_id":"1399326044","filename":"file0"},{"photo_id":"1399326047","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399326046":["hashtag1","hashtag2"]},{"1399326049":["hashtag1","hashtag2"]},{"1399326045":["hashtag1","hashtag2"]},{"1399326048":["hashtag1","hashtag2"]},{"1399326044":["hashtag1","hashtag2"]},{"1399326047":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399326046, 1399326049, 1399326045, 1399326048, 1399326044, 1399326047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.314090728759766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:46:32.064471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:46:42.077229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_20_3636.jpg', '/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_22_2667.jpg', '/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_29_2778.jpg', '/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_31_2564.jpg', '/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_35_3570.jpg', '/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_37_2549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_20_3636.jpg
/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_22_2667.jpg
/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_29_2778.jpg
/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_31_2564.jpg
/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_35_3570.jpg
/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_37_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":["1399326058","1399326060","1399326057","1399326054","1399326056","1399326059"],"photo_ids_order":["1399326054","1399326056","1399326057","1399326058","1399326059","1399326060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a66ff3351e54f501e8b2a5b4a1b8022b.jpg","text":"TemporaryFile(/tmp/multipartBody2786685684499320081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684062749,"filename":"image_04112025_11_30_31_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b221985c80c8cdaa3da446f1a05b7008.jpg","text":"TemporaryFile(/tmp/multipartBody8856146471243091657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684062749,"filename":"image_04112025_11_30_37_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e11a07f992fa68e4899fcb9372d57cfe.jpg","text":"TemporaryFile(/tmp/multipartBody5997883506663468052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684062749,"filename":"image_04112025_11_30_29_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ff18de3398f4efcad67c3f2a76ea2144.jpg","text":"TemporaryFile(/tmp/multipartBody4569918805583894111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684062749,"filename":"image_04112025_11_30_20_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/390557e708513ecaee62b81d270f5b9f.jpg","text":"TemporaryFile(/tmp/multipartBody368181034658592256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684062749,"filename":"image_04112025_11_30_22_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7834ea2d8934bf0a4b3384706e45cd72.jpg","text":"TemporaryFile(/tmp/multipartBody1732723965629187671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684062749,"filename":"image_04112025_11_30_35_3570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399326057","file1":"1399326056","file0":"1399326054","file4":"1399326059","file5":"1399326060","file3":"1399326058"},"map_files_photo_id_array":[{"photo_id":"1399326060","filename":"file5"},{"photo_id":"1399326057","filename":"file2"},{"photo_id":"1399326059","filename":"file4"},{"photo_id":"1399326056","filename":"file1"},{"photo_id":"1399326054","filename":"file0"},{"photo_id":"1399326058","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399326058":["hashtag1","hashtag2"]},{"1399326060":["hashtag1","hashtag2"]},{"1399326057":["hashtag1","hashtag2"]},{"1399326054":["hashtag1","hashtag2"]},{"1399326056":["hashtag1","hashtag2"]},{"1399326059":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399326058, 1399326060, 1399326057, 1399326054, 1399326056, 1399326059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56378769874573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:47:22.265544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/43/image_14122025_04_43_43_9650.jpg', '/home/pi/Desktop/images/14122025/04/43/image_14122025_04_43_54_10637.jpg', '/home/pi/Desktop/images/14122025/04/44/image_14122025_04_44_34_9707.jpg', '/home/pi/Desktop/images/14122025/04/44/image_14122025_04_44_53_9738.jpg', '/home/pi/Desktop/images/14122025/04/44/image_14122025_04_45_04_10643.jpg', '/home/pi/Desktop/images/14122025/04/45/image_14122025_04_45_34_10595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/43/image_14122025_04_43_43_9650.jpg
/home/pi/Desktop/images/14122025/04/43/image_14122025_04_43_54_10637.jpg
/home/pi/Desktop/images/14122025/04/44/image_14122025_04_44_34_9707.jpg
/home/pi/Desktop/images/14122025/04/44/image_14122025_04_44_53_9738.jpg
/home/pi/Desktop/images/14122025/04/44/image_14122025_04_45_04_10643.jpg
/home/pi/Desktop/images/14122025/04/45/image_14122025_04_45_34_10595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399326073","1399326067","1399326061","1399326069","1399326063","1399326065"],"photo_ids_order":["1399326061","1399326063","1399326065","1399326067","1399326069","1399326073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/894e3eac3d50af70963d6ee7ba20ca28.jpg","text":"TemporaryFile(/tmp/multipartBody361819620452001084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684102855,"filename":"image_14122025_04_45_34_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9ac14ea3806294fa64682d835d7663dc.jpg","text":"TemporaryFile(/tmp/multipartBody614777954960395010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684102855,"filename":"image_14122025_04_44_53_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56a70e78c8c00d57446c3e9729e8005c.jpg","text":"TemporaryFile(/tmp/multipartBody6228085472328103166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684102855,"filename":"image_14122025_04_43_43_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21c891b8990cad576965364872dc923d.jpg","text":"TemporaryFile(/tmp/multipartBody1925440626914302022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684102855,"filename":"image_14122025_04_45_04_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d7d71c967644c2a05af80a95b31f080e.jpg","text":"TemporaryFile(/tmp/multipartBody2335712761005747679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684102855,"filename":"image_14122025_04_43_54_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b74a06519a488132b6f9a243339d1b71.jpg","text":"TemporaryFile(/tmp/multipartBody9011152517405641810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684102855,"filename":"image_14122025_04_44_34_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399326065","file1":"1399326063","file0":"1399326061","file4":"1399326069","file5":"1399326073","file3":"1399326067"},"map_files_photo_id_array":[{"photo_id":"1399326073","filename":"file5"},{"photo_id":"1399326065","filename":"file2"},{"photo_id":"1399326069","filename":"file4"},{"photo_id":"1399326063","filename":"file1"},{"photo_id":"1399326061","filename":"file0"},{"photo_id":"1399326067","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399326073":["hashtag1","hashtag2"]},{"1399326067":["hashtag1","hashtag2"]},{"1399326061":["hashtag1","hashtag2"]},{"1399326069":["hashtag1","hashtag2"]},{"1399326063":["hashtag1","hashtag2"]},{"1399326065":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399326073, 1399326067, 1399326061, 1399326069, 1399326063, 1399326065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.275208711624146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:48:02.994661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/45/image_14122025_04_45_44_9998.jpg', '/home/pi/Desktop/images/14122025/04/46/image_14122025_04_46_34_9674.jpg', '/home/pi/Desktop/images/14122025/04/46/image_14122025_04_46_44_9792.jpg', '/home/pi/Desktop/images/14122025/04/46/image_14122025_04_46_54_10375.jpg', '/home/pi/Desktop/images/14122025/04/46/image_14122025_04_47_04_9624.jpg', '/home/pi/Desktop/images/14122025/04/47/image_14122025_04_47_13_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/45/image_14122025_04_45_44_9998.jpg
/home/pi/Desktop/images/14122025/04/46/image_14122025_04_46_34_9674.jpg
/home/pi/Desktop/images/14122025/04/46/image_14122025_04_46_44_9792.jpg
/home/pi/Desktop/images/14122025/04/46/image_14122025_04_46_54_10375.jpg
/home/pi/Desktop/images/14122025/04/46/image_14122025_04_47_04_9624.jpg
/home/pi/Desktop/images/14122025/04/47/image_14122025_04_47_13_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":["1399326076","1399326079","1399326075","1399326078","1399326080","1399326077"],"photo_ids_order":["1399326075","1399326076","1399326077","1399326078","1399326079","1399326080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a5f18dc3d2c80e9ab6493e4e6d7289e3.jpg","text":"TemporaryFile(/tmp/multipartBody5249339458121953237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684143637,"filename":"image_14122025_04_46_34_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b94b9a25dc4257adfebe83f25ef8248.jpg","text":"TemporaryFile(/tmp/multipartBody1700349803319227485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684143637,"filename":"image_14122025_04_47_04_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ff20cf17411d4403d77f53217b77938d.jpg","text":"TemporaryFile(/tmp/multipartBody3332104788094678628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684143637,"filename":"image_14122025_04_45_44_9998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/91c6b5fbe0e1a98f1ba15a46b522d17a.jpg","text":"TemporaryFile(/tmp/multipartBody5861118270035729866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684143637,"filename":"image_14122025_04_46_54_10375.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc8ed1923f776410d836536a85c63142.jpg","text":"TemporaryFile(/tmp/multipartBody4340774381290508085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684143637,"filename":"image_14122025_04_47_13_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7601422c64ad108f5600ac40c3811da.jpg","text":"TemporaryFile(/tmp/multipartBody5742999143518049977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684143637,"filename":"image_14122025_04_46_44_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399326077","file1":"1399326076","file0":"1399326075","file4":"1399326079","file5":"1399326080","file3":"1399326078"},"map_files_photo_id_array":[{"photo_id":"1399326080","filename":"file5"},{"photo_id":"1399326077","filename":"file2"},{"photo_id":"1399326079","filename":"file4"},{"photo_id":"1399326076","filename":"file1"},{"photo_id":"1399326075","filename":"file0"},{"photo_id":"1399326078","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399326076":["hashtag1","hashtag2"]},{"1399326079":["hashtag1","hashtag2"]},{"1399326075":["hashtag1","hashtag2"]},{"1399326078":["hashtag1","hashtag2"]},{"1399326080":["hashtag1","hashtag2"]},{"1399326077":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399326076, 1399326079, 1399326075, 1399326078, 1399326080, 1399326077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.586602210998535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:48:42.650077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_40_2643.jpg', '/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_44_3521.jpg', '/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_46_2656.jpg', '/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_50_3504.jpg', '/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_52_2674.jpg', '/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_56_3578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_40_2643.jpg
/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_44_3521.jpg
/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_46_2656.jpg
/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_50_3504.jpg
/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_52_2674.jpg
/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_56_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":["1399326097","1399326091","1399326088","1399326093","1399326086","1399326095"],"photo_ids_order":["1399326086","1399326088","1399326091","1399326093","1399326095","1399326097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/78312d11f9eb15d579e067f5bb928abf.jpg","text":"TemporaryFile(/tmp/multipartBody4276167340242133825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684183385,"filename":"image_04112025_11_30_56_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/78f4da9b687e0a54e02f38e293bd75c9.jpg","text":"TemporaryFile(/tmp/multipartBody8501716636454760288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684183385,"filename":"image_04112025_11_30_46_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bc0c1f33ad4941cdde9cf8ad0861b81d.jpg","text":"TemporaryFile(/tmp/multipartBody6306021210798162234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684183385,"filename":"image_04112025_11_30_44_3521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f6e8d7fb64c56f409e0c33699fbf7b9.jpg","text":"TemporaryFile(/tmp/multipartBody8931826408852795577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684183385,"filename":"image_04112025_11_30_50_3504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/11c47a5a04b0fa546cd887165ac9e725.jpg","text":"TemporaryFile(/tmp/multipartBody8063528679919317339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684183385,"filename":"image_04112025_11_30_40_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d9a404f8538f291134715a969272ae8.jpg","text":"TemporaryFile(/tmp/multipartBody3475647553310706361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684183385,"filename":"image_04112025_11_30_52_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399326091","file1":"1399326088","file0":"1399326086","file4":"1399326095","file5":"1399326097","file3":"1399326093"},"map_files_photo_id_array":[{"photo_id":"1399326097","filename":"file5"},{"photo_id":"1399326091","filename":"file2"},{"photo_id":"1399326095","filename":"file4"},{"photo_id":"1399326088","filename":"file1"},{"photo_id":"1399326086","filename":"file0"},{"photo_id":"1399326093","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399326097":["hashtag1","hashtag2"]},{"1399326091":["hashtag1","hashtag2"]},{"1399326088":["hashtag1","hashtag2"]},{"1399326093":["hashtag1","hashtag2"]},{"1399326086":["hashtag1","hashtag2"]},{"1399326095":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399326097, 1399326091, 1399326088, 1399326093, 1399326086, 1399326095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89023280143738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:49:23.722418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/47/image_14122025_04_47_24_10722.jpg', '/home/pi/Desktop/images/14122025/04/47/image_14122025_04_47_34_9741.jpg', '/home/pi/Desktop/images/14122025/04/47/image_14122025_04_47_43_9630.jpg', '/home/pi/Desktop/images/14122025/04/48/image_14122025_04_48_54_10484.jpg', '/home/pi/Desktop/images/14122025/04/48/image_14122025_04_49_04_9564.jpg', '/home/pi/Desktop/images/14122025/04/49/image_14122025_04_49_24_10568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/47/image_14122025_04_47_24_10722.jpg
/home/pi/Desktop/images/14122025/04/47/image_14122025_04_47_34_9741.jpg
/home/pi/Desktop/images/14122025/04/47/image_14122025_04_47_43_9630.jpg
/home/pi/Desktop/images/14122025/04/48/image_14122025_04_48_54_10484.jpg
/home/pi/Desktop/images/14122025/04/48/image_14122025_04_49_04_9564.jpg
/home/pi/Desktop/images/14122025/04/49/image_14122025_04_49_24_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":["1399326101","1399326100","1399326099","1399326105","1399326102","1399326104"],"photo_ids_order":["1399326099","1399326100","1399326101","1399326102","1399326104","1399326105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2c7f4b2fb32e6190e433ea4b53da9d19.jpg","text":"TemporaryFile(/tmp/multipartBody1622776814880561459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684224373,"filename":"image_14122025_04_47_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/12/14/85f55efbbfc7242b8a4c273ef8ce1ffe.jpg","text":"TemporaryFile(/tmp/multipartBody6274120651199812143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684224373,"filename":"image_14122025_04_47_34_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d495a0b2d73defbf9ef217fec870ac64.jpg","text":"TemporaryFile(/tmp/multipartBody1845899067124528170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684224373,"filename":"image_14122025_04_47_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/12/14/1273de3b0d148f7cdeb032ecbd091a0f.jpg","text":"TemporaryFile(/tmp/multipartBody610322679758922276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684224373,"filename":"image_14122025_04_49_24_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5c10ccd233a12109f3dda8e26c88f9f4.jpg","text":"TemporaryFile(/tmp/multipartBody556386961571765531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684224373,"filename":"image_14122025_04_48_54_10484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/485b33df160d0000b3c2edfff057ec45.jpg","text":"TemporaryFile(/tmp/multipartBody7287961007707274788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684224373,"filename":"image_14122025_04_49_04_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399326101","file1":"1399326100","file0":"1399326099","file4":"1399326104","file5":"1399326105","file3":"1399326102"},"map_files_photo_id_array":[{"photo_id":"1399326105","filename":"file5"},{"photo_id":"1399326101","filename":"file2"},{"photo_id":"1399326104","filename":"file4"},{"photo_id":"1399326100","filename":"file1"},{"photo_id":"1399326099","filename":"file0"},{"photo_id":"1399326102","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399326101":["hashtag1","hashtag2"]},{"1399326100":["hashtag1","hashtag2"]},{"1399326099":["hashtag1","hashtag2"]},{"1399326105":["hashtag1","hashtag2"]},{"1399326102":["hashtag1","hashtag2"]},{"1399326104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399326101, 1399326100, 1399326099, 1399326105, 1399326102, 1399326104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82919526100159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:50:03.259443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/49/image_14122025_04_49_34_9817.jpg', '/home/pi/Desktop/images/14122025/04/49/image_14122025_04_49_43_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/49/image_14122025_04_49_34_9817.jpg
/home/pi/Desktop/images/14122025/04/49/image_14122025_04_49_43_9562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399326113","1399326110"],"photo_ids_order":["1399326110","1399326113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9435d927cb0aab47b3394f2c8ddb19f8.jpg","text":"TemporaryFile(/tmp/multipartBody7449059144528776744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684263791,"filename":"image_14122025_04_49_43_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1616b1263a66aa487470b5e57fb2e4f3.jpg","text":"TemporaryFile(/tmp/multipartBody6229120270121829986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684263791,"filename":"image_14122025_04_49_34_9817.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399326113","file0":"1399326110"},"map_files_photo_id_array":[{"photo_id":"1399326113","filename":"file1"},{"photo_id":"1399326110","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399326113":["hashtag1","hashtag2"]},{"1399326110":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399326113, 1399326110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.29471468925476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:50:22.833921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/49/image_14122025_04_49_54_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/49/image_14122025_04_49_54_10599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399326117"],"photo_id":"1399326117","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f17127bbff64ae49829636d21ba5c3d9.jpg","text":"TemporaryFile(/tmp/multipartBody1320719372775553976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684283259,"filename":"image_14122025_04_49_54_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399326117"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399326117"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.576509714126587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:50:42.732899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_59_2677.jpg', '/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_01_2710.jpg', '/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_04_2617.jpg', '/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_08_3584.jpg', '/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_10_2618.jpg', '/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_14_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/30/image_04112025_11_30_59_2677.jpg
/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_01_2710.jpg
/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_04_2617.jpg
/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_08_3584.jpg
/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_10_2618.jpg
/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_14_3691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399326130","1399326124","1399326132","1399326126","1399326128","1399326119"],"photo_ids_order":["1399326119","1399326124","1399326126","1399326128","1399326130","1399326132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/80c7072dc8eabf66f667b55cb5ea20a4.jpg","text":"TemporaryFile(/tmp/multipartBody4477249642636005935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684303428,"filename":"image_04112025_11_31_10_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c9901cc089c4c4cb7b64f575b68dd3df.jpg","text":"TemporaryFile(/tmp/multipartBody8115502017564335686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684303428,"filename":"image_04112025_11_31_01_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fd2b60312bca250b111a1863778517a7.jpg","text":"TemporaryFile(/tmp/multipartBody2450499566982380985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684303428,"filename":"image_04112025_11_31_14_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/34388cc5fe4fe4381aa8f18a87ec8b9a.jpg","text":"TemporaryFile(/tmp/multipartBody4649952291785036141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684303428,"filename":"image_04112025_11_31_04_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/793d344b7e60d7ddb0fe9a2aec9222cc.jpg","text":"TemporaryFile(/tmp/multipartBody542376520647978747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684303428,"filename":"image_04112025_11_31_08_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/18a25b1123486012c60ff81f9e6131c8.jpg","text":"TemporaryFile(/tmp/multipartBody6180313046887965714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684303428,"filename":"image_04112025_11_30_59_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399326126","file1":"1399326124","file0":"1399326119","file4":"1399326130","file5":"1399326132","file3":"1399326128"},"map_files_photo_id_array":[{"photo_id":"1399326132","filename":"file5"},{"photo_id":"1399326126","filename":"file2"},{"photo_id":"1399326130","filename":"file4"},{"photo_id":"1399326124","filename":"file1"},{"photo_id":"1399326119","filename":"file0"},{"photo_id":"1399326128","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399326130":["hashtag1","hashtag2"]},{"1399326124":["hashtag1","hashtag2"]},{"1399326132":["hashtag1","hashtag2"]},{"1399326126":["hashtag1","hashtag2"]},{"1399326128":["hashtag1","hashtag2"]},{"1399326119":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399326130, 1399326124, 1399326132, 1399326126, 1399326128, 1399326119)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.5841019153595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:51:31.984550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:51:41.990764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_17_2699.jpg', '/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_19_2752.jpg', '/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_22_2714.jpg', '/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_26_3672.jpg', '/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_28_2704.jpg', '/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_31_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_17_2699.jpg
/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_19_2752.jpg
/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_22_2714.jpg
/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_26_3672.jpg
/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_28_2704.jpg
/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_31_2655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399326142","1399326141","1399326144","1399326138","1399326140","1399326143"],"photo_ids_order":["1399326138","1399326140","1399326141","1399326142","1399326143","1399326144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a80928a82c4d4d13e193825f7e1ba69b.jpg","text":"TemporaryFile(/tmp/multipartBody3955229687513487327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684362659,"filename":"image_04112025_11_31_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/12/14/a53b2f1639827fec73ede14bfec3606c.jpg","text":"TemporaryFile(/tmp/multipartBody1665549308426950356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684362659,"filename":"image_04112025_11_31_22_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb1992d39e8ae4d4bbaf3e847bde0bac.jpg","text":"TemporaryFile(/tmp/multipartBody313858993590791611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684362659,"filename":"image_04112025_11_31_31_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a08c30b7ee90348cb42f239142bbfc43.jpg","text":"TemporaryFile(/tmp/multipartBody3997030791235224634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684362659,"filename":"image_04112025_11_31_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/12/14/d7ec93d033658ac36aff39d2664329eb.jpg","text":"TemporaryFile(/tmp/multipartBody6031932296854382253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684362659,"filename":"image_04112025_11_31_19_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d10884f56b033412a99d5d0b96277f23.jpg","text":"TemporaryFile(/tmp/multipartBody6872699287273364051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684362659,"filename":"image_04112025_11_31_28_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399326141","file1":"1399326140","file0":"1399326138","file4":"1399326143","file5":"1399326144","file3":"1399326142"},"map_files_photo_id_array":[{"photo_id":"1399326144","filename":"file5"},{"photo_id":"1399326141","filename":"file2"},{"photo_id":"1399326143","filename":"file4"},{"photo_id":"1399326140","filename":"file1"},{"photo_id":"1399326138","filename":"file0"},{"photo_id":"1399326142","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399326142":["hashtag1","hashtag2"]},{"1399326141":["hashtag1","hashtag2"]},{"1399326144":["hashtag1","hashtag2"]},{"1399326138":["hashtag1","hashtag2"]},{"1399326140":["hashtag1","hashtag2"]},{"1399326143":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399326142, 1399326141, 1399326144, 1399326138, 1399326140, 1399326143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.22884702682495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:52:32.225282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:52:46.091267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_35_3704.jpg', '/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_38_2719.jpg', '/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_40_2574.jpg', '/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_44_3551.jpg', '/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_46_2613.jpg', '/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_49_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_35_3704.jpg
/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_38_2719.jpg
/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_40_2574.jpg
/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_44_3551.jpg
/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_46_2613.jpg
/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_49_2663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399326157","1399326151","1399326154","1399326156","1399326153","1399326152"],"photo_ids_order":["1399326151","1399326152","1399326153","1399326154","1399326156","1399326157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2942f4f6bad9c0ce80172d1ff41843a0.jpg","text":"TemporaryFile(/tmp/multipartBody2458822920935437627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684426766,"filename":"image_04112025_11_31_49_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/005deb8a1b7376df61e6cffc60b7dc28.jpg","text":"TemporaryFile(/tmp/multipartBody3940647579352396509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684426766,"filename":"image_04112025_11_31_35_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a80ef8d58b0de7b3a11ac4496534816c.jpg","text":"TemporaryFile(/tmp/multipartBody4310730831033122493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684426766,"filename":"image_04112025_11_31_44_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ecf8cd64e1b4aa53c0f79dd75bfb5717.jpg","text":"TemporaryFile(/tmp/multipartBody7809501979944325875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684426766,"filename":"image_04112025_11_31_46_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4191a0309aa39d28b001d116ee47b922.jpg","text":"TemporaryFile(/tmp/multipartBody5699718162901630465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684426766,"filename":"image_04112025_11_31_40_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0521687aba003d1eadee11cdc04b05a0.jpg","text":"TemporaryFile(/tmp/multipartBody7086453000565404695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684426766,"filename":"image_04112025_11_31_38_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399326153","file1":"1399326152","file0":"1399326151","file4":"1399326156","file5":"1399326157","file3":"1399326154"},"map_files_photo_id_array":[{"photo_id":"1399326157","filename":"file5"},{"photo_id":"1399326153","filename":"file2"},{"photo_id":"1399326156","filename":"file4"},{"photo_id":"1399326152","filename":"file1"},{"photo_id":"1399326151","filename":"file0"},{"photo_id":"1399326154","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399326157":["hashtag1","hashtag2"]},{"1399326151":["hashtag1","hashtag2"]},{"1399326154":["hashtag1","hashtag2"]},{"1399326156":["hashtag1","hashtag2"]},{"1399326153":["hashtag1","hashtag2"]},{"1399326152":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399326157, 1399326151, 1399326154, 1399326156, 1399326153, 1399326152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.66693329811096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:53:32.365831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:53:42.386404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_53_3695.jpg', '/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_55_2790.jpg', '/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_58_2545.jpg', '/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_02_3653.jpg', '/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_04_2672.jpg', '/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_07_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_53_3695.jpg
/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_55_2790.jpg
/home/pi/Desktop/images/04112025/11/31/image_04112025_11_31_58_2545.jpg
/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_02_3653.jpg
/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_04_2672.jpg
/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_07_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":["1399326163","1399326172","1399326169","1399326174","1399326171","1399326173"],"photo_ids_order":["1399326163","1399326169","1399326171","1399326172","1399326173","1399326174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fd9b6f20242abf256efd58b1419b3128.jpg","text":"TemporaryFile(/tmp/multipartBody4930356526725746605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684483118,"filename":"image_04112025_11_31_53_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a704af44925b00599438a3ada2a5612f.jpg","text":"TemporaryFile(/tmp/multipartBody5163944109794423783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684483118,"filename":"image_04112025_11_32_02_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce8a59a40210a66e65e339858064a1c1.jpg","text":"TemporaryFile(/tmp/multipartBody2720860139915563264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684483118,"filename":"image_04112025_11_31_55_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a0f8d4393c8895ba064d1c165b20bd79.jpg","text":"TemporaryFile(/tmp/multipartBody8750824415535898744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684483118,"filename":"image_04112025_11_32_07_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/100f37c1d6edebcf832ecac8bb7f55d5.jpg","text":"TemporaryFile(/tmp/multipartBody3730663332796776374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684483118,"filename":"image_04112025_11_31_58_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/422f64d2e4d6520b7e5b99d559ac8fbd.jpg","text":"TemporaryFile(/tmp/multipartBody5453385622408566222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684483118,"filename":"image_04112025_11_32_04_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399326171","file1":"1399326169","file0":"1399326163","file4":"1399326173","file5":"1399326174","file3":"1399326172"},"map_files_photo_id_array":[{"photo_id":"1399326174","filename":"file5"},{"photo_id":"1399326171","filename":"file2"},{"photo_id":"1399326173","filename":"file4"},{"photo_id":"1399326169","filename":"file1"},{"photo_id":"1399326163","filename":"file0"},{"photo_id":"1399326172","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399326163":["hashtag1","hashtag2"]},{"1399326172":["hashtag1","hashtag2"]},{"1399326169":["hashtag1","hashtag2"]},{"1399326174":["hashtag1","hashtag2"]},{"1399326171":["hashtag1","hashtag2"]},{"1399326173":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399326163, 1399326172, 1399326169, 1399326174, 1399326171, 1399326173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.364206075668335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:54:22.574370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/50/image_14122025_04_50_54_9581.jpg', '/home/pi/Desktop/images/14122025/04/50/image_14122025_04_51_03_9718.jpg', '/home/pi/Desktop/images/14122025/04/51/image_14122025_04_51_14_10623.jpg', '/home/pi/Desktop/images/14122025/04/51/image_14122025_04_51_24_9649.jpg', '/home/pi/Desktop/images/14122025/04/51/image_14122025_04_51_44_10922.jpg', '/home/pi/Desktop/images/14122025/04/52/image_14122025_04_52_43_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/50/image_14122025_04_50_54_9581.jpg
/home/pi/Desktop/images/14122025/04/50/image_14122025_04_51_03_9718.jpg
/home/pi/Desktop/images/14122025/04/51/image_14122025_04_51_14_10623.jpg
/home/pi/Desktop/images/14122025/04/51/image_14122025_04_51_24_9649.jpg
/home/pi/Desktop/images/14122025/04/51/image_14122025_04_51_44_10922.jpg
/home/pi/Desktop/images/14122025/04/52/image_14122025_04_52_43_9808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399326190","1399326186","1399326189","1399326180","1399326183","1399326185"],"photo_ids_order":["1399326180","1399326183","1399326185","1399326186","1399326189","1399326190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6941bdfd5b338b2a4c70a2f76fba440a.jpg","text":"TemporaryFile(/tmp/multipartBody198058033168723508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684523243,"filename":"image_14122025_04_52_43_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e8e006373dbfd173769d484e908f144f.jpg","text":"TemporaryFile(/tmp/multipartBody2834043513668724822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684523243,"filename":"image_14122025_04_51_24_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cff0b987aa8d7512deb907dc9ddcaea1.jpg","text":"TemporaryFile(/tmp/multipartBody3186802624089065918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684523243,"filename":"image_14122025_04_51_44_10922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c23a1f27253b9c8a16708da7541211a4.jpg","text":"TemporaryFile(/tmp/multipartBody6848017356348059531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684523243,"filename":"image_14122025_04_50_54_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/30f8f59f6265bc6239cd8371613d1712.jpg","text":"TemporaryFile(/tmp/multipartBody7547532199419611696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684523243,"filename":"image_14122025_04_51_03_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/401297afb13b75504c3339421f2dba8a.jpg","text":"TemporaryFile(/tmp/multipartBody7997512011240674010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684523243,"filename":"image_14122025_04_51_14_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399326185","file1":"1399326183","file0":"1399326180","file4":"1399326189","file5":"1399326190","file3":"1399326186"},"map_files_photo_id_array":[{"photo_id":"1399326190","filename":"file5"},{"photo_id":"1399326185","filename":"file2"},{"photo_id":"1399326189","filename":"file4"},{"photo_id":"1399326183","filename":"file1"},{"photo_id":"1399326180","filename":"file0"},{"photo_id":"1399326186","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399326190":["hashtag1","hashtag2"]},{"1399326186":["hashtag1","hashtag2"]},{"1399326189":["hashtag1","hashtag2"]},{"1399326180":["hashtag1","hashtag2"]},{"1399326183":["hashtag1","hashtag2"]},{"1399326185":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399326190, 1399326186, 1399326189, 1399326180, 1399326183, 1399326185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19707179069519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:55:03.324372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/53/image_14122025_04_53_14_9843.jpg', '/home/pi/Desktop/images/14122025/04/53/image_14122025_04_53_24_9718.jpg', '/home/pi/Desktop/images/14122025/04/53/image_14122025_04_53_34_10624.jpg', '/home/pi/Desktop/images/14122025/04/53/image_14122025_04_53_44_9691.jpg', '/home/pi/Desktop/images/14122025/04/53/image_14122025_04_54_04_9851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/53/image_14122025_04_53_14_9843.jpg
/home/pi/Desktop/images/14122025/04/53/image_14122025_04_53_24_9718.jpg
/home/pi/Desktop/images/14122025/04/53/image_14122025_04_53_34_10624.jpg
/home/pi/Desktop/images/14122025/04/53/image_14122025_04_53_44_9691.jpg
/home/pi/Desktop/images/14122025/04/53/image_14122025_04_54_04_9851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399326200","1399326202","1399326195","1399326197","1399326193"],"photo_ids_order":["1399326193","1399326195","1399326197","1399326200","1399326202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f9f3adeed28db8430574dc080f0cd3a7.jpg","text":"TemporaryFile(/tmp/multipartBody2749734514716226182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684563933,"filename":"image_14122025_04_53_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/12/14/4674355b687c6ef42e041d532c96267b.jpg","text":"TemporaryFile(/tmp/multipartBody9133746116424503210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684563933,"filename":"image_14122025_04_54_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/12/14/5bf941ffff227206ef2c75f88c94f640.jpg","text":"TemporaryFile(/tmp/multipartBody9194269565232917627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684563933,"filename":"image_14122025_04_53_24_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d821e5138ff15035fed3e3668d05c38.jpg","text":"TemporaryFile(/tmp/multipartBody5408043824615435860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684563933,"filename":"image_14122025_04_53_34_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc78108298ee1d0b995b8de6b142389c.jpg","text":"TemporaryFile(/tmp/multipartBody5601625994081673880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684563933,"filename":"image_14122025_04_53_14_9843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399326197","file1":"1399326195","file0":"1399326193","file4":"1399326202","file3":"1399326200"},"map_files_photo_id_array":[{"photo_id":"1399326197","filename":"file2"},{"photo_id":"1399326202","filename":"file4"},{"photo_id":"1399326195","filename":"file1"},{"photo_id":"1399326193","filename":"file0"},{"photo_id":"1399326200","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399326200":["hashtag1","hashtag2"]},{"1399326202":["hashtag1","hashtag2"]},{"1399326195":["hashtag1","hashtag2"]},{"1399326197":["hashtag1","hashtag2"]},{"1399326193":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399326200, 1399326202, 1399326195, 1399326197, 1399326193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.078497648239136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:55:42.851271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_11_3645.jpg', '/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_13_2623.jpg', '/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_17_3559.jpg', '/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_19_2596.jpg', '/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_22_2769.jpg', '/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_26_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_11_3645.jpg
/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_13_2623.jpg
/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_17_3559.jpg
/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_19_2596.jpg
/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_22_2769.jpg
/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_26_3626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399326206","1399326205","1399326210","1399326204","1399326207","1399326203"],"photo_ids_order":["1399326203","1399326204","1399326205","1399326206","1399326207","1399326210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/541bd31e8a0928f785d11956d8b11373.jpg","text":"TemporaryFile(/tmp/multipartBody6494697368529319502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684603518,"filename":"image_04112025_11_32_19_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6fb02f97cb6102c1be1bda40c869b5e5.jpg","text":"TemporaryFile(/tmp/multipartBody7913688611827777307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684603518,"filename":"image_04112025_11_32_17_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c0e1223b73a38f337c2ec723747b0955.jpg","text":"TemporaryFile(/tmp/multipartBody4560434743778665629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684603518,"filename":"image_04112025_11_32_26_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/404fce7bb98e3fbbe976b910092dbc7b.jpg","text":"TemporaryFile(/tmp/multipartBody5420246253723468296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684603518,"filename":"image_04112025_11_32_13_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19d925753b86564100f58a6383949fea.jpg","text":"TemporaryFile(/tmp/multipartBody5783641994170235717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684603518,"filename":"image_04112025_11_32_22_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/446434b09b6eb764789e8143280e65ea.jpg","text":"TemporaryFile(/tmp/multipartBody1978240029240698696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684603518,"filename":"image_04112025_11_32_11_3645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399326205","file1":"1399326204","file0":"1399326203","file4":"1399326207","file5":"1399326210","file3":"1399326206"},"map_files_photo_id_array":[{"photo_id":"1399326210","filename":"file5"},{"photo_id":"1399326205","filename":"file2"},{"photo_id":"1399326207","filename":"file4"},{"photo_id":"1399326204","filename":"file1"},{"photo_id":"1399326203","filename":"file0"},{"photo_id":"1399326206","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399326206":["hashtag1","hashtag2"]},{"1399326205":["hashtag1","hashtag2"]},{"1399326210":["hashtag1","hashtag2"]},{"1399326204":["hashtag1","hashtag2"]},{"1399326207":["hashtag1","hashtag2"]},{"1399326203":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399326206, 1399326205, 1399326210, 1399326204, 1399326207, 1399326203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.315311670303345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:56:22.051692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/54/image_14122025_04_54_14_9729.jpg', '/home/pi/Desktop/images/14122025/04/55/image_14122025_04_55_24_9696.jpg', '/home/pi/Desktop/images/14122025/04/55/image_14122025_04_55_44_10721.jpg', '/home/pi/Desktop/images/14122025/04/56/image_14122025_04_56_13_9714.jpg', '/home/pi/Desktop/images/14122025/04/56/image_14122025_04_56_24_10602.jpg', '/home/pi/Desktop/images/14122025/04/56/image_14122025_04_56_43_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/54/image_14122025_04_54_14_9729.jpg
/home/pi/Desktop/images/14122025/04/55/image_14122025_04_55_24_9696.jpg
/home/pi/Desktop/images/14122025/04/55/image_14122025_04_55_44_10721.jpg
/home/pi/Desktop/images/14122025/04/56/image_14122025_04_56_13_9714.jpg
/home/pi/Desktop/images/14122025/04/56/image_14122025_04_56_24_10602.jpg
/home/pi/Desktop/images/14122025/04/56/image_14122025_04_56_43_9661.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4982149600982666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 04:56:32.107056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:56:41.994201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_28_2643.jpg', '/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_31_2828.jpg', '/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_35_3603.jpg', '/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_37_2650.jpg', '/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_40_2841.jpg', '/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_43_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_28_2643.jpg
/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_31_2828.jpg
/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_35_3603.jpg
/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_37_2650.jpg
/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_40_2841.jpg
/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_43_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":["1399326226","1399326222","1399326231","1399326219","1399326228","1399326224"],"photo_ids_order":["1399326219","1399326222","1399326224","1399326226","1399326228","1399326231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e963d479d0aea9242ae8c7f6c6fa4a1.jpg","text":"TemporaryFile(/tmp/multipartBody7990450937509763463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684662896,"filename":"image_04112025_11_32_37_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a6f454b487f195476313e721b8abe20.jpg","text":"TemporaryFile(/tmp/multipartBody1273807171705713233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684662896,"filename":"image_04112025_11_32_31_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/59eeb841522a8c0b3db1e4a3d801737c.jpg","text":"TemporaryFile(/tmp/multipartBody1887128623698007470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684662896,"filename":"image_04112025_11_32_43_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2980c181108af7a7723cc66b620efb3.jpg","text":"TemporaryFile(/tmp/multipartBody6125713205598687834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684662896,"filename":"image_04112025_11_32_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/12/14/b0af1e8f7ccd610d804e521868cc7cb0.jpg","text":"TemporaryFile(/tmp/multipartBody3339429071520297358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684662896,"filename":"image_04112025_11_32_40_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b0b9227908d636d0ce468d634dcfaae4.jpg","text":"TemporaryFile(/tmp/multipartBody5947991595124100417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684662896,"filename":"image_04112025_11_32_35_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399326224","file1":"1399326222","file0":"1399326219","file4":"1399326228","file5":"1399326231","file3":"1399326226"},"map_files_photo_id_array":[{"photo_id":"1399326231","filename":"file5"},{"photo_id":"1399326224","filename":"file2"},{"photo_id":"1399326228","filename":"file4"},{"photo_id":"1399326222","filename":"file1"},{"photo_id":"1399326219","filename":"file0"},{"photo_id":"1399326226","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399326226":["hashtag1","hashtag2"]},{"1399326222":["hashtag1","hashtag2"]},{"1399326231":["hashtag1","hashtag2"]},{"1399326219":["hashtag1","hashtag2"]},{"1399326228":["hashtag1","hashtag2"]},{"1399326224":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399326226, 1399326222, 1399326231, 1399326219, 1399326228, 1399326224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25647735595703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 04:57:22.410704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/54/image_14122025_04_54_14_9729.jpg', '/home/pi/Desktop/images/14122025/04/55/image_14122025_04_55_24_9696.jpg', '/home/pi/Desktop/images/14122025/04/55/image_14122025_04_55_44_10721.jpg', '/home/pi/Desktop/images/14122025/04/56/image_14122025_04_56_13_9714.jpg', '/home/pi/Desktop/images/14122025/04/56/image_14122025_04_56_24_10602.jpg', '/home/pi/Desktop/images/14122025/04/56/image_14122025_04_56_43_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/54/image_14122025_04_54_14_9729.jpg
/home/pi/Desktop/images/14122025/04/55/image_14122025_04_55_24_9696.jpg
/home/pi/Desktop/images/14122025/04/55/image_14122025_04_55_44_10721.jpg
/home/pi/Desktop/images/14122025/04/56/image_14122025_04_56_13_9714.jpg
/home/pi/Desktop/images/14122025/04/56/image_14122025_04_56_24_10602.jpg
/home/pi/Desktop/images/14122025/04/56/image_14122025_04_56_43_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":["1399326436","1399326325","1399326471","1399326366","1399326287","1399326401"],"photo_ids_order":["1399326287","1399326325","1399326366","1399326401","1399326436","1399326471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8097be56615f3a37704fd39fe24f892e.jpg","text":"TemporaryFile(/tmp/multipartBody2899895328007194169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684702975,"filename":"image_14122025_04_56_24_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8060f8a123d909254769ab761e1b6a4b.jpg","text":"TemporaryFile(/tmp/multipartBody975753774341481152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684702975,"filename":"image_14122025_04_55_24_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51d97c04ecc5501271a73f96ba88270f.jpg","text":"TemporaryFile(/tmp/multipartBody7527307649567377300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684702975,"filename":"image_14122025_04_56_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/12/14/1667d21ce282817d29c7358d51db59dd.jpg","text":"TemporaryFile(/tmp/multipartBody4089579694378052384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684702975,"filename":"image_14122025_04_55_44_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1228d73875a16c741dfc98f0c2cbce6a.jpg","text":"TemporaryFile(/tmp/multipartBody5029459421085549275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684702975,"filename":"image_14122025_04_54_14_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c2a6d1063276a6ee8486e19c07f6472e.jpg","text":"TemporaryFile(/tmp/multipartBody5298755395526337112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684702975,"filename":"image_14122025_04_56_13_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399326366","file1":"1399326325","file0":"1399326287","file4":"1399326436","file5":"1399326471","file3":"1399326401"},"map_files_photo_id_array":[{"photo_id":"1399326471","filename":"file5"},{"photo_id":"1399326366","filename":"file2"},{"photo_id":"1399326436","filename":"file4"},{"photo_id":"1399326325","filename":"file1"},{"photo_id":"1399326287","filename":"file0"},{"photo_id":"1399326401","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399326436":["hashtag1","hashtag2"]},{"1399326325":["hashtag1","hashtag2"]},{"1399326471":["hashtag1","hashtag2"]},{"1399326366":["hashtag1","hashtag2"]},{"1399326287":["hashtag1","hashtag2"]},{"1399326401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399326436, 1399326325, 1399326471, 1399326366, 1399326287, 1399326401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45894908905029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 04:59:03.690484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/56/image_14122025_04_56_54_10778.jpg', '/home/pi/Desktop/images/14122025/04/56/image_14122025_04_57_04_9593.jpg', '/home/pi/Desktop/images/14122025/04/57/image_14122025_04_57_13_9631.jpg', '/home/pi/Desktop/images/14122025/04/57/image_14122025_04_57_34_9820.jpg', '/home/pi/Desktop/images/14122025/04/57/image_14122025_04_57_44_9754.jpg', '/home/pi/Desktop/images/14122025/04/57/image_14122025_04_57_54_10600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/56/image_14122025_04_56_54_10778.jpg
/home/pi/Desktop/images/14122025/04/56/image_14122025_04_57_04_9593.jpg
/home/pi/Desktop/images/14122025/04/57/image_14122025_04_57_13_9631.jpg
/home/pi/Desktop/images/14122025/04/57/image_14122025_04_57_34_9820.jpg
/home/pi/Desktop/images/14122025/04/57/image_14122025_04_57_44_9754.jpg
/home/pi/Desktop/images/14122025/04/57/image_14122025_04_57_54_10600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399326934","1399326990","1399326993","1399326930","1399326977","1399326968"],"photo_ids_order":["1399326930","1399326934","1399326968","1399326977","1399326990","1399326993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/035bbc39487d8a02dc838f7a38c68093.jpg","text":"TemporaryFile(/tmp/multipartBody1233159825691486488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684804444,"filename":"image_14122025_04_57_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/12/14/b5480bbc8e2a1d2350e85df6de18566f.jpg","text":"TemporaryFile(/tmp/multipartBody4198486316009957320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684804444,"filename":"image_14122025_04_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/12/14/8fcb36e028a04517401fe4af3847aece.jpg","text":"TemporaryFile(/tmp/multipartBody341885061805411829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684804444,"filename":"image_14122025_04_57_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/12/14/e83b2e2eee680d966fd0c48668043e77.jpg","text":"TemporaryFile(/tmp/multipartBody8884700608733653979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684804444,"filename":"image_14122025_04_56_54_10778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/70cd82eb3a5c91371e900c6597bf5356.jpg","text":"TemporaryFile(/tmp/multipartBody65527412309454206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684804444,"filename":"image_14122025_04_57_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/12/14/de1ea1b16d41da8c85cae48a3290d60d.jpg","text":"TemporaryFile(/tmp/multipartBody3630859067056682348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684804444,"filename":"image_14122025_04_57_13_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399326968","file1":"1399326934","file0":"1399326930","file4":"1399326990","file5":"1399326993","file3":"1399326977"},"map_files_photo_id_array":[{"photo_id":"1399326993","filename":"file5"},{"photo_id":"1399326968","filename":"file2"},{"photo_id":"1399326990","filename":"file4"},{"photo_id":"1399326934","filename":"file1"},{"photo_id":"1399326930","filename":"file0"},{"photo_id":"1399326977","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399326934":["hashtag1","hashtag2"]},{"1399326990":["hashtag1","hashtag2"]},{"1399326993":["hashtag1","hashtag2"]},{"1399326930":["hashtag1","hashtag2"]},{"1399326977":["hashtag1","hashtag2"]},{"1399326968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399326934, 1399326990, 1399326993, 1399326930, 1399326977, 1399326968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20179581642151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 04:59:42.744210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_49_2691.jpg', '/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_52_2575.jpg', '/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_55_2909.jpg', '/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_58_3573.jpg', '/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_01_2612.jpg', '/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_04_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_49_2691.jpg
/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_52_2575.jpg
/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_55_2909.jpg
/home/pi/Desktop/images/04112025/11/32/image_04112025_11_32_58_3573.jpg
/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_01_2612.jpg
/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_04_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":["1399327006","1399326999","1399327008","1399327002","1399326995","1399327004"],"photo_ids_order":["1399326995","1399326999","1399327002","1399327004","1399327006","1399327008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f00c764c7960cfb5e1e553a60a849216.jpg","text":"TemporaryFile(/tmp/multipartBody271697516070975851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684843423,"filename":"image_04112025_11_33_01_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d785d1ec325dac2fcd3d26ce1a43e767.jpg","text":"TemporaryFile(/tmp/multipartBody1984177208004197048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684843423,"filename":"image_04112025_11_32_52_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54a86976eb2fe94eab855795e4eb04fd.jpg","text":"TemporaryFile(/tmp/multipartBody6936004193000533628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684843423,"filename":"image_04112025_11_33_04_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fc22f4a26183f74799e4060735df42e1.jpg","text":"TemporaryFile(/tmp/multipartBody8721706171741147413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684843423,"filename":"image_04112025_11_32_55_2909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/84a70d0e6f76de78cd3a4a76316fcabe.jpg","text":"TemporaryFile(/tmp/multipartBody5637766019007590713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684843423,"filename":"image_04112025_11_32_49_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/48ec24fc871d73497306d9022b07dd34.jpg","text":"TemporaryFile(/tmp/multipartBody8552254858292539097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684843423,"filename":"image_04112025_11_32_58_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399327002","file1":"1399326999","file0":"1399326995","file4":"1399327006","file5":"1399327008","file3":"1399327004"},"map_files_photo_id_array":[{"photo_id":"1399327008","filename":"file5"},{"photo_id":"1399327002","filename":"file2"},{"photo_id":"1399327006","filename":"file4"},{"photo_id":"1399326999","filename":"file1"},{"photo_id":"1399326995","filename":"file0"},{"photo_id":"1399327004","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399327006":["hashtag1","hashtag2"]},{"1399326999":["hashtag1","hashtag2"]},{"1399327008":["hashtag1","hashtag2"]},{"1399327002":["hashtag1","hashtag2"]},{"1399326995":["hashtag1","hashtag2"]},{"1399327004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399327006, 1399326999, 1399327008, 1399327002, 1399326995, 1399327004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.229552030563354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:00:22.000233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/58/image_14122025_04_58_34_10698.jpg', '/home/pi/Desktop/images/14122025/04/58/image_14122025_04_58_44_9648.jpg', '/home/pi/Desktop/images/14122025/04/59/image_14122025_04_59_44_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/58/image_14122025_04_58_34_10698.jpg
/home/pi/Desktop/images/14122025/04/58/image_14122025_04_58_44_9648.jpg
/home/pi/Desktop/images/14122025/04/59/image_14122025_04_59_44_9595.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.36271119117736816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:00:32.005500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:00:41.952044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_07_3634.jpg', '/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_10_2698.jpg', '/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_13_2867.jpg', '/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_17_3573.jpg', '/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_19_2660.jpg', '/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_22_2868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_07_3634.jpg
/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_10_2698.jpg
/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_13_2867.jpg
/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_17_3573.jpg
/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_19_2660.jpg
/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_22_2868.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399327021","1399327018","1399327023","1399327020","1399327016","1399327019"],"photo_ids_order":["1399327016","1399327018","1399327019","1399327020","1399327021","1399327023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c8ba6f01430283d743eca1df3c5ffc0.jpg","text":"TemporaryFile(/tmp/multipartBody307918247085488137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684902687,"filename":"image_04112025_11_33_19_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cdac726eb8f36bb170bd6629e1f075b5.jpg","text":"TemporaryFile(/tmp/multipartBody4877029787469253911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684902687,"filename":"image_04112025_11_33_10_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f3f2448485e542fcf49245b78f27560.jpg","text":"TemporaryFile(/tmp/multipartBody2940845253625817330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684902687,"filename":"image_04112025_11_33_22_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6145428e4222976882a24fbffff9af15.jpg","text":"TemporaryFile(/tmp/multipartBody373756479944407745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684902687,"filename":"image_04112025_11_33_17_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7deeb4499461feea59089fc639c21e9.jpg","text":"TemporaryFile(/tmp/multipartBody5536387632985453098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684902687,"filename":"image_04112025_11_33_07_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bc13b7ccd3c6a6f3687455f1cd5c68e0.jpg","text":"TemporaryFile(/tmp/multipartBody4529839357296336643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684902687,"filename":"image_04112025_11_33_13_2867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399327019","file1":"1399327018","file0":"1399327016","file4":"1399327021","file5":"1399327023","file3":"1399327020"},"map_files_photo_id_array":[{"photo_id":"1399327023","filename":"file5"},{"photo_id":"1399327019","filename":"file2"},{"photo_id":"1399327021","filename":"file4"},{"photo_id":"1399327018","filename":"file1"},{"photo_id":"1399327016","filename":"file0"},{"photo_id":"1399327020","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399327021":["hashtag1","hashtag2"]},{"1399327018":["hashtag1","hashtag2"]},{"1399327023":["hashtag1","hashtag2"]},{"1399327020":["hashtag1","hashtag2"]},{"1399327016":["hashtag1","hashtag2"]},{"1399327019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399327021, 1399327018, 1399327023, 1399327020, 1399327016, 1399327019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92255663871765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:01:22.196565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/04/58/image_14122025_04_58_34_10698.jpg', '/home/pi/Desktop/images/14122025/04/58/image_14122025_04_58_44_9648.jpg', '/home/pi/Desktop/images/14122025/04/59/image_14122025_04_59_44_9595.jpg', '/home/pi/Desktop/images/14122025/05/00/image_14122025_05_00_23_9593.jpg', '/home/pi/Desktop/images/14122025/05/01/image_14122025_05_01_13_9659.jpg', '/home/pi/Desktop/images/14122025/05/01/image_14122025_05_01_23_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/04/58/image_14122025_04_58_34_10698.jpg
/home/pi/Desktop/images/14122025/04/58/image_14122025_04_58_44_9648.jpg
/home/pi/Desktop/images/14122025/04/59/image_14122025_04_59_44_9595.jpg
/home/pi/Desktop/images/14122025/05/00/image_14122025_05_00_23_9593.jpg
/home/pi/Desktop/images/14122025/05/01/image_14122025_05_01_13_9659.jpg
/home/pi/Desktop/images/14122025/05/01/image_14122025_05_01_23_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":["1399327027","1399327036","1399327143","1399327178","1399327109","1399327069"],"photo_ids_order":["1399327027","1399327036","1399327069","1399327109","1399327143","1399327178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ad303ad669fbb8ee6bb7b9f9c9e3bf2.jpg","text":"TemporaryFile(/tmp/multipartBody3512085748484366613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684942771,"filename":"image_14122025_04_58_34_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/891f314cb17de5684ab1c5379b0946d6.jpg","text":"TemporaryFile(/tmp/multipartBody8111673230932291252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684942771,"filename":"image_14122025_04_58_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/22c554564608e225664e296cbd498165.jpg","text":"TemporaryFile(/tmp/multipartBody287088170461109237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684942771,"filename":"image_14122025_05_01_13_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f6caeb7b56d08c47f6caf072a20dc7a.jpg","text":"TemporaryFile(/tmp/multipartBody3927467057684948216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684942771,"filename":"image_14122025_05_01_23_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fdbfd0316f9d3190797bcfe51c320924.jpg","text":"TemporaryFile(/tmp/multipartBody8451218130387841605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684942771,"filename":"image_14122025_05_00_23_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/496fbfebf08daa340b2ade1fb4053854.jpg","text":"TemporaryFile(/tmp/multipartBody3631133895340314670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684942771,"filename":"image_14122025_04_59_44_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399327069","file1":"1399327036","file0":"1399327027","file4":"1399327143","file5":"1399327178","file3":"1399327109"},"map_files_photo_id_array":[{"photo_id":"1399327178","filename":"file5"},{"photo_id":"1399327069","filename":"file2"},{"photo_id":"1399327143","filename":"file4"},{"photo_id":"1399327036","filename":"file1"},{"photo_id":"1399327027","filename":"file0"},{"photo_id":"1399327109","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399327027":["hashtag1","hashtag2"]},{"1399327036":["hashtag1","hashtag2"]},{"1399327143":["hashtag1","hashtag2"]},{"1399327178":["hashtag1","hashtag2"]},{"1399327109":["hashtag1","hashtag2"]},{"1399327069":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399327027, 1399327036, 1399327143, 1399327178, 1399327109, 1399327069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.438228130340576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:02:02.905663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/01/image_14122025_05_01_34_10873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/01/image_14122025_05_01_34_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":["1399327318"],"photo_id":"1399327318","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7859de4a55e9742a490d1827c4511f34.jpg","text":"TemporaryFile(/tmp/multipartBody2340039134315322880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765684983335,"filename":"image_14122025_05_01_34_10873.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399327318"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399327318"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 19.665529489517212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:02:32.433376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:02:42.378764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_25_2868.jpg', '/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_29_3698.jpg', '/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_31_2688.jpg', '/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_34_2666.jpg', '/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_43_2512.jpg', '/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_47_3780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_25_2868.jpg
/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_29_3698.jpg
/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_31_2688.jpg
/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_34_2666.jpg
/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_43_2512.jpg
/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_47_3780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399327797","1399327758","1399327652","1399327721","1399327616","1399327687"],"photo_ids_order":["1399327616","1399327652","1399327687","1399327721","1399327758","1399327797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2d9dbd0628c7ccf36e110d4f39dd5bc.jpg","text":"TemporaryFile(/tmp/multipartBody8287757656053183151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685023050,"filename":"image_04112025_11_33_47_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/545524cbb3fb83c0c5925b474b91013f.jpg","text":"TemporaryFile(/tmp/multipartBody5332058884590890177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685023050,"filename":"image_04112025_11_33_43_2512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a36a245702a6f3fc90f4952b287df7d5.jpg","text":"TemporaryFile(/tmp/multipartBody3475600783264082240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685023050,"filename":"image_04112025_11_33_29_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ec450052b23443e41518762545ed056.jpg","text":"TemporaryFile(/tmp/multipartBody4009200510090789509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685023050,"filename":"image_04112025_11_33_34_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/32ec0a5e981e3f4048851d918b045582.jpg","text":"TemporaryFile(/tmp/multipartBody558597866189990977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685023050,"filename":"image_04112025_11_33_25_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/20f8b7e79bd9dab567588cef0e607c15.jpg","text":"TemporaryFile(/tmp/multipartBody4254659665130963927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685023050,"filename":"image_04112025_11_33_31_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399327687","file1":"1399327652","file0":"1399327616","file4":"1399327758","file5":"1399327797","file3":"1399327721"},"map_files_photo_id_array":[{"photo_id":"1399327797","filename":"file5"},{"photo_id":"1399327687","filename":"file2"},{"photo_id":"1399327758","filename":"file4"},{"photo_id":"1399327652","filename":"file1"},{"photo_id":"1399327616","filename":"file0"},{"photo_id":"1399327721","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399327797":["hashtag1","hashtag2"]},{"1399327758":["hashtag1","hashtag2"]},{"1399327652":["hashtag1","hashtag2"]},{"1399327721":["hashtag1","hashtag2"]},{"1399327616":["hashtag1","hashtag2"]},{"1399327687":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399327797, 1399327758, 1399327652, 1399327721, 1399327616, 1399327687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82527303695679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:03:22.649174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/01/image_14122025_05_01_44_9747.jpg', '/home/pi/Desktop/images/14122025/05/01/image_14122025_05_02_03_9813.jpg', '/home/pi/Desktop/images/14122025/05/02/image_14122025_05_02_24_9662.jpg', '/home/pi/Desktop/images/14122025/05/02/image_14122025_05_02_54_9575.jpg', '/home/pi/Desktop/images/14122025/05/02/image_14122025_05_03_03_9696.jpg', '/home/pi/Desktop/images/14122025/05/03/image_14122025_05_03_24_9526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/01/image_14122025_05_01_44_9747.jpg
/home/pi/Desktop/images/14122025/05/01/image_14122025_05_02_03_9813.jpg
/home/pi/Desktop/images/14122025/05/02/image_14122025_05_02_24_9662.jpg
/home/pi/Desktop/images/14122025/05/02/image_14122025_05_02_54_9575.jpg
/home/pi/Desktop/images/14122025/05/02/image_14122025_05_03_03_9696.jpg
/home/pi/Desktop/images/14122025/05/03/image_14122025_05_03_24_9526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328082","1399328078","1399327970","1399327934","1399328044","1399328005"],"photo_ids_order":["1399327934","1399327970","1399328005","1399328044","1399328078","1399328082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/67222213d126878c255ba959a13e0b66.jpg","text":"TemporaryFile(/tmp/multipartBody1953501210175236655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685063205,"filename":"image_14122025_05_03_24_9526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b39e89ca3fb1901dd53a1d13c4aa1ca1.jpg","text":"TemporaryFile(/tmp/multipartBody291358308100256458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685063205,"filename":"image_14122025_05_03_03_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ceda112288add6a5ef757fca8db80262.jpg","text":"TemporaryFile(/tmp/multipartBody9215055218587008889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685063205,"filename":"image_14122025_05_02_03_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f010d2e970d938247fe55d8683c6c010.jpg","text":"TemporaryFile(/tmp/multipartBody9184956830118930148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685063205,"filename":"image_14122025_05_01_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/12/14/349f42dffcb3c56ad9136ac9f6f69816.jpg","text":"TemporaryFile(/tmp/multipartBody2074176640367622083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685063205,"filename":"image_14122025_05_02_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/12/14/e502bf0d688617ac168d1c8fd5933e0d.jpg","text":"TemporaryFile(/tmp/multipartBody902167476942957199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685063205,"filename":"image_14122025_05_02_24_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328005","file1":"1399327970","file0":"1399327934","file4":"1399328078","file5":"1399328082","file3":"1399328044"},"map_files_photo_id_array":[{"photo_id":"1399328082","filename":"file5"},{"photo_id":"1399328005","filename":"file2"},{"photo_id":"1399328078","filename":"file4"},{"photo_id":"1399327970","filename":"file1"},{"photo_id":"1399327934","filename":"file0"},{"photo_id":"1399328044","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399328082":["hashtag1","hashtag2"]},{"1399328078":["hashtag1","hashtag2"]},{"1399327970":["hashtag1","hashtag2"]},{"1399327934":["hashtag1","hashtag2"]},{"1399328044":["hashtag1","hashtag2"]},{"1399328005":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399328082, 1399328078, 1399327970, 1399327934, 1399328044, 1399328005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.638179540634155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:04:02.589702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/03/image_14122025_05_03_34_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/03/image_14122025_05_03_34_10667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328088"],"photo_id":"1399328088","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd42b39dd09e230945fe2aa22c220a1f.jpg","text":"TemporaryFile(/tmp/multipartBody2075326128494393963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685103042,"filename":"image_14122025_05_03_34_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399328088"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399328088"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.39131236076355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:04:21.896910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/03/image_14122025_05_03_54_9805.jpg', '/home/pi/Desktop/images/14122025/05/03/image_14122025_05_04_03_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/03/image_14122025_05_03_54_9805.jpg
/home/pi/Desktop/images/14122025/05/03/image_14122025_05_04_03_9663.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3447856903076172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:04:31.920237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:04:41.897100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_49_2620.jpg', '/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_52_2882.jpg', '/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_55_2704.jpg', '/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_59_3834.jpg', '/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_01_2624.jpg', '/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_04_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_49_2620.jpg
/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_52_2882.jpg
/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_55_2704.jpg
/home/pi/Desktop/images/04112025/11/33/image_04112025_11_33_59_3834.jpg
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_01_2624.jpg
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_04_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":["1399328340","1399328189","1399328264","1399328150","1399328225","1399328306"],"photo_ids_order":["1399328150","1399328189","1399328225","1399328264","1399328306","1399328340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/854fe1b761c03fae3e648e1dc6bba4fe.jpg","text":"TemporaryFile(/tmp/multipartBody8265663952526645263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685142597,"filename":"image_04112025_11_34_04_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69d98c123ad947f63611dcaf02b3c3fd.jpg","text":"TemporaryFile(/tmp/multipartBody8959009230639277033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685142597,"filename":"image_04112025_11_33_52_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92da6a6464affd77a364114b319b5591.jpg","text":"TemporaryFile(/tmp/multipartBody7670592443801983258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685142597,"filename":"image_04112025_11_33_59_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a1299f9116ac9fa51e0ce51b6ba1a75.jpg","text":"TemporaryFile(/tmp/multipartBody80594112804537996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685142597,"filename":"image_04112025_11_33_49_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cbe1d7ce56ac318804a8afb0b92c3f3b.jpg","text":"TemporaryFile(/tmp/multipartBody4280455910476699222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685142597,"filename":"image_04112025_11_33_55_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/caee74b1546c234318057b7fdcd7d646.jpg","text":"TemporaryFile(/tmp/multipartBody4360572523260716950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685142597,"filename":"image_04112025_11_34_01_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328225","file1":"1399328189","file0":"1399328150","file4":"1399328306","file5":"1399328340","file3":"1399328264"},"map_files_photo_id_array":[{"photo_id":"1399328340","filename":"file5"},{"photo_id":"1399328225","filename":"file2"},{"photo_id":"1399328306","filename":"file4"},{"photo_id":"1399328189","filename":"file1"},{"photo_id":"1399328150","filename":"file0"},{"photo_id":"1399328264","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399328340":["hashtag1","hashtag2"]},{"1399328189":["hashtag1","hashtag2"]},{"1399328264":["hashtag1","hashtag2"]},{"1399328150":["hashtag1","hashtag2"]},{"1399328225":["hashtag1","hashtag2"]},{"1399328306":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399328340, 1399328189, 1399328264, 1399328150, 1399328225, 1399328306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88151526451111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:05:22.161774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/03/image_14122025_05_03_54_9805.jpg', '/home/pi/Desktop/images/14122025/05/03/image_14122025_05_04_03_9663.jpg', '/home/pi/Desktop/images/14122025/05/04/image_14122025_05_04_24_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/03/image_14122025_05_03_54_9805.jpg
/home/pi/Desktop/images/14122025/05/03/image_14122025_05_04_03_9663.jpg
/home/pi/Desktop/images/14122025/05/04/image_14122025_05_04_24_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328417","1399328359","1399328401"],"photo_ids_order":["1399328359","1399328401","1399328417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/df5b2338fc01af5e1c878227c91d7e7b.jpg","text":"TemporaryFile(/tmp/multipartBody1103613285479825383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685182642,"filename":"image_14122025_05_04_24_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c4e7582b3c1326bad8b87042f665397.jpg","text":"TemporaryFile(/tmp/multipartBody4458863963808357786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685182642,"filename":"image_14122025_05_03_54_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/641d35503d1f39dc516d3c476b56261c.jpg","text":"TemporaryFile(/tmp/multipartBody2346302626531726489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685182642,"filename":"image_14122025_05_04_03_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328417","file1":"1399328401","file0":"1399328359"},"map_files_photo_id_array":[{"photo_id":"1399328417","filename":"file2"},{"photo_id":"1399328401","filename":"file1"},{"photo_id":"1399328359","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399328417":["hashtag1","hashtag2"]},{"1399328359":["hashtag1","hashtag2"]},{"1399328401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399328417, 1399328359, 1399328401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.959173679351807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:06:02.894362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:06:12.452737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:06:22.433170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/05/image_14122025_05_05_24_9766.jpg', '/home/pi/Desktop/images/14122025/05/05/image_14122025_05_06_04_9655.jpg', '/home/pi/Desktop/images/14122025/05/06/image_14122025_05_06_13_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/05/image_14122025_05_05_24_9766.jpg
/home/pi/Desktop/images/14122025/05/05/image_14122025_05_06_04_9655.jpg
/home/pi/Desktop/images/14122025/05/06/image_14122025_05_06_13_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":["1399328478","1399328480","1399328482"],"photo_ids_order":["1399328478","1399328480","1399328482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/48e0c1f2b226b51577dd946c0315610b.jpg","text":"TemporaryFile(/tmp/multipartBody2704704525849887293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685242922,"filename":"image_14122025_05_05_24_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/06c05080032c5e03a27437b016aefeb5.jpg","text":"TemporaryFile(/tmp/multipartBody1479837156625944857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685242922,"filename":"image_14122025_05_06_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b7e7d7dfbb70b73f6b65f6fd0e6ae8d.jpg","text":"TemporaryFile(/tmp/multipartBody8661756813323752969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685242922,"filename":"image_14122025_05_06_13_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328482","file1":"1399328480","file0":"1399328478"},"map_files_photo_id_array":[{"photo_id":"1399328482","filename":"file2"},{"photo_id":"1399328480","filename":"file1"},{"photo_id":"1399328478","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399328478":["hashtag1","hashtag2"]},{"1399328480":["hashtag1","hashtag2"]},{"1399328482":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399328478, 1399328480, 1399328482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.318482637405396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:07:03.353567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:07:12.688895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:07:22.711173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/06/image_14122025_05_06_54_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/06/image_14122025_05_06_54_9748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328486"],"photo_id":"1399328486","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f854a6e88e1649492698e01cea2917b.jpg","text":"TemporaryFile(/tmp/multipartBody3027486143161500701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685303135,"filename":"image_14122025_05_06_54_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399328486"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399328486"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.186477899551392 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:07:42.681651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_07_3548.jpg', '/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_10_2695.jpg', '/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_13_2700.jpg', '/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_17_3699.jpg', '/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_19_2577.jpg', '/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_22_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_07_3548.jpg
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_10_2695.jpg
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_13_2700.jpg
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_17_3699.jpg
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_19_2577.jpg
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_22_2712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328496","1399328495","1399328498","1399328492","1399328494","1399328497"],"photo_ids_order":["1399328492","1399328494","1399328495","1399328496","1399328497","1399328498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a588183d585d0c8fb477fe6fb3defa86.jpg","text":"TemporaryFile(/tmp/multipartBody4285310598650237052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685323455,"filename":"image_04112025_11_34_17_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f19700ebd5bb5a4ac9223daba937e1d5.jpg","text":"TemporaryFile(/tmp/multipartBody8019175498297760178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685323455,"filename":"image_04112025_11_34_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/12/14/5b7d9c47f9f516e49aca803c8f08eb35.jpg","text":"TemporaryFile(/tmp/multipartBody2579385579693739016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685323455,"filename":"image_04112025_11_34_22_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf10f306aba25239d34356c70b326ef4.jpg","text":"TemporaryFile(/tmp/multipartBody6613344948021254429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685323455,"filename":"image_04112025_11_34_07_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a21f1bf8ac78a94fe6a09403808f5e3.jpg","text":"TemporaryFile(/tmp/multipartBody1273743615302558175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685323455,"filename":"image_04112025_11_34_10_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1f56da7426070756b38f3ffa314946a.jpg","text":"TemporaryFile(/tmp/multipartBody7855618437059529991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685323455,"filename":"image_04112025_11_34_19_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328495","file1":"1399328494","file0":"1399328492","file4":"1399328497","file5":"1399328498","file3":"1399328496"},"map_files_photo_id_array":[{"photo_id":"1399328498","filename":"file5"},{"photo_id":"1399328495","filename":"file2"},{"photo_id":"1399328497","filename":"file4"},{"photo_id":"1399328494","filename":"file1"},{"photo_id":"1399328492","filename":"file0"},{"photo_id":"1399328496","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399328496":["hashtag1","hashtag2"]},{"1399328495":["hashtag1","hashtag2"]},{"1399328498":["hashtag1","hashtag2"]},{"1399328492":["hashtag1","hashtag2"]},{"1399328494":["hashtag1","hashtag2"]},{"1399328497":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399328496, 1399328495, 1399328498, 1399328492, 1399328494, 1399328497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85133194923401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:08:21.914884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/06/image_14122025_05_07_04_9634.jpg', '/home/pi/Desktop/images/14122025/05/07/image_14122025_05_08_04_9729.jpg', '/home/pi/Desktop/images/14122025/05/08/image_14122025_05_08_13_9675.jpg', '/home/pi/Desktop/images/14122025/05/08/image_14122025_05_08_24_10659.jpg', '/home/pi/Desktop/images/14122025/05/08/image_14122025_05_08_34_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/06/image_14122025_05_07_04_9634.jpg
/home/pi/Desktop/images/14122025/05/07/image_14122025_05_08_04_9729.jpg
/home/pi/Desktop/images/14122025/05/08/image_14122025_05_08_13_9675.jpg
/home/pi/Desktop/images/14122025/05/08/image_14122025_05_08_24_10659.jpg
/home/pi/Desktop/images/14122025/05/08/image_14122025_05_08_34_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328502","1399328504","1399328506","1399328500","1399328499"],"photo_ids_order":["1399328499","1399328500","1399328502","1399328504","1399328506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6cd7e51e3082b1f7d7f35e28a9fc2d4.jpg","text":"TemporaryFile(/tmp/multipartBody9071835915207997479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685362455,"filename":"image_14122025_05_08_13_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3846f607a786e57e525a4cdd4a285e7f.jpg","text":"TemporaryFile(/tmp/multipartBody1600360616488409734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685362455,"filename":"image_14122025_05_08_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/12/14/5dd185137a3a820977c7ebca30df2977.jpg","text":"TemporaryFile(/tmp/multipartBody7025095365739058796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685362455,"filename":"image_14122025_05_08_34_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/58c610d8f08600591420546eb6f287f9.jpg","text":"TemporaryFile(/tmp/multipartBody1570138624039169245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685362455,"filename":"image_14122025_05_08_04_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/401eef74cbbd8fa2b1ed8071a6ca5c56.jpg","text":"TemporaryFile(/tmp/multipartBody4926157882892037761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685362455,"filename":"image_14122025_05_07_04_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328502","file1":"1399328500","file0":"1399328499","file4":"1399328506","file3":"1399328504"},"map_files_photo_id_array":[{"photo_id":"1399328502","filename":"file2"},{"photo_id":"1399328506","filename":"file4"},{"photo_id":"1399328500","filename":"file1"},{"photo_id":"1399328499","filename":"file0"},{"photo_id":"1399328504","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399328502":["hashtag1","hashtag2"]},{"1399328504":["hashtag1","hashtag2"]},{"1399328506":["hashtag1","hashtag2"]},{"1399328500":["hashtag1","hashtag2"]},{"1399328499":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399328502, 1399328504, 1399328506, 1399328500, 1399328499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.93880844116211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:09:03.218063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:09:12.200589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:09:22.192832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/08/image_14122025_05_08_43_9660.jpg', '/home/pi/Desktop/images/14122025/05/08/image_14122025_05_09_04_9848.jpg', '/home/pi/Desktop/images/14122025/05/09/image_14122025_05_09_13_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/08/image_14122025_05_08_43_9660.jpg
/home/pi/Desktop/images/14122025/05/08/image_14122025_05_09_04_9848.jpg
/home/pi/Desktop/images/14122025/05/09/image_14122025_05_09_13_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328517","1399328519","1399328521"],"photo_ids_order":["1399328517","1399328519","1399328521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7952c39b73a599c9b03bd52abb1ee5d0.jpg","text":"TemporaryFile(/tmp/multipartBody6600609087371229836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685422671,"filename":"image_14122025_05_08_43_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb7993693aea8e3c346dbafed14a0fde.jpg","text":"TemporaryFile(/tmp/multipartBody8200185718662035594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685422671,"filename":"image_14122025_05_09_04_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/075104f13e3ec335cd260070310cd382.jpg","text":"TemporaryFile(/tmp/multipartBody391597454761952947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685422671,"filename":"image_14122025_05_09_13_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328521","file1":"1399328519","file0":"1399328517"},"map_files_photo_id_array":[{"photo_id":"1399328521","filename":"file2"},{"photo_id":"1399328519","filename":"file1"},{"photo_id":"1399328517","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399328517":["hashtag1","hashtag2"]},{"1399328519":["hashtag1","hashtag2"]},{"1399328521":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399328517, 1399328519, 1399328521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.745986938476562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:10:02.862622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:10:12.559182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:10:22.449377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/09/image_14122025_05_09_54_10690.jpg', '/home/pi/Desktop/images/14122025/05/09/image_14122025_05_10_04_9633.jpg', '/home/pi/Desktop/images/14122025/05/10/image_14122025_05_10_14_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/09/image_14122025_05_09_54_10690.jpg
/home/pi/Desktop/images/14122025/05/09/image_14122025_05_10_04_9633.jpg
/home/pi/Desktop/images/14122025/05/10/image_14122025_05_10_14_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":["1399328532","1399328534","1399328530"],"photo_ids_order":["1399328530","1399328532","1399328534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c72516d29c399f5fc62763c1a5895e75.jpg","text":"TemporaryFile(/tmp/multipartBody1853345117205623211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685482938,"filename":"image_14122025_05_10_04_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d77a08540490ca5176a1d29fe8d253a5.jpg","text":"TemporaryFile(/tmp/multipartBody2818726153788842352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685482938,"filename":"image_14122025_05_10_14_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c7b8a50dd772086ecc99b434872f753a.jpg","text":"TemporaryFile(/tmp/multipartBody7821923181008269861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685482938,"filename":"image_14122025_05_09_54_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328534","file1":"1399328532","file0":"1399328530"},"map_files_photo_id_array":[{"photo_id":"1399328534","filename":"file2"},{"photo_id":"1399328532","filename":"file1"},{"photo_id":"1399328530","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399328532":["hashtag1","hashtag2"]},{"1399328534":["hashtag1","hashtag2"]},{"1399328530":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399328532, 1399328534, 1399328530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.36805486679077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:11:03.340394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:11:12.715245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:11:22.708704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/10/image_14122025_05_10_44_9857.jpg', '/home/pi/Desktop/images/14122025/05/11/image_14122025_05_11_24_9700.jpg', '/home/pi/Desktop/images/14122025/05/11/image_14122025_05_11_33_9643.jpg', '/home/pi/Desktop/images/14122025/05/11/image_14122025_05_11_44_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/10/image_14122025_05_10_44_9857.jpg
/home/pi/Desktop/images/14122025/05/11/image_14122025_05_11_24_9700.jpg
/home/pi/Desktop/images/14122025/05/11/image_14122025_05_11_33_9643.jpg
/home/pi/Desktop/images/14122025/05/11/image_14122025_05_11_44_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":["1399328544","1399328546","1399328540","1399328542"],"photo_ids_order":["1399328540","1399328542","1399328544","1399328546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f8b8b2628218903477f7414b2bfcbcb3.jpg","text":"TemporaryFile(/tmp/multipartBody2928121576246858695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685543252,"filename":"image_14122025_05_11_33_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa39f3f0fe5c47790eaef3bca5ec9dd4.jpg","text":"TemporaryFile(/tmp/multipartBody7657434269874579612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685543252,"filename":"image_14122025_05_11_44_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/67ec899984b3e53b7490f610185dc30b.jpg","text":"TemporaryFile(/tmp/multipartBody4989735449270559575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685543252,"filename":"image_14122025_05_10_44_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a0b1b23be498e61fa8e7936b0a57ea7.jpg","text":"TemporaryFile(/tmp/multipartBody851396273564329834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685543252,"filename":"image_14122025_05_11_24_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328544","file1":"1399328542","file0":"1399328540","file3":"1399328546"},"map_files_photo_id_array":[{"photo_id":"1399328544","filename":"file2"},{"photo_id":"1399328542","filename":"file1"},{"photo_id":"1399328540","filename":"file0"},{"photo_id":"1399328546","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399328544":["hashtag1","hashtag2"]},{"1399328546":["hashtag1","hashtag2"]},{"1399328540":["hashtag1","hashtag2"]},{"1399328542":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399328544, 1399328546, 1399328540, 1399328542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.9109525680542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:12:02.390905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:12:12.033988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:12:22.080169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_26_3675.jpg', '/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_28_2602.jpg', '/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_40_2596.jpg', '/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_44_3748.jpg', '/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_46_2843.jpg', '/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_49_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_26_3675.jpg
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_28_2602.jpg
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_40_2596.jpg
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_44_3748.jpg
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_46_2843.jpg
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_49_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: 0.5945546627044678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:12:32.086500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:12:41.976186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_26_3675.jpg', '/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_28_2602.jpg', '/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_40_2596.jpg', '/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_44_3748.jpg', '/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_46_2843.jpg', '/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_49_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_26_3675.jpg
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_28_2602.jpg
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_40_2596.jpg
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_44_3748.jpg
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_46_2843.jpg
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_49_2644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328565","1399328562","1399328564","1399328560","1399328563","1399328566"],"photo_ids_order":["1399328560","1399328562","1399328563","1399328564","1399328565","1399328566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/79be5e71646201991afda2fbf1ca23b7.jpg","text":"TemporaryFile(/tmp/multipartBody1868712519804456147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685622568,"filename":"image_04112025_11_34_46_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b2c62133368d3981f74d12ccc7548502.jpg","text":"TemporaryFile(/tmp/multipartBody2152855146980432676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685622568,"filename":"image_04112025_11_34_28_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c7076e32363fd70947f17197060dbd2.jpg","text":"TemporaryFile(/tmp/multipartBody7183897448229136493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685622568,"filename":"image_04112025_11_34_44_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90b1b7c501a46d631cfe2b13a1e1d6cc.jpg","text":"TemporaryFile(/tmp/multipartBody651104352405315725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685622568,"filename":"image_04112025_11_34_26_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/72b8da93cd17e9dc95dd6c92ebf7a516.jpg","text":"TemporaryFile(/tmp/multipartBody4364704243321330384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685622568,"filename":"image_04112025_11_34_40_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0221fadf5693f0faeb231c56e2e4f7ad.jpg","text":"TemporaryFile(/tmp/multipartBody7610130921113004802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685622568,"filename":"image_04112025_11_34_49_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328563","file1":"1399328562","file0":"1399328560","file4":"1399328565","file5":"1399328566","file3":"1399328564"},"map_files_photo_id_array":[{"photo_id":"1399328566","filename":"file5"},{"photo_id":"1399328563","filename":"file2"},{"photo_id":"1399328565","filename":"file4"},{"photo_id":"1399328562","filename":"file1"},{"photo_id":"1399328560","filename":"file0"},{"photo_id":"1399328564","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399328565":["hashtag1","hashtag2"]},{"1399328562":["hashtag1","hashtag2"]},{"1399328564":["hashtag1","hashtag2"]},{"1399328560":["hashtag1","hashtag2"]},{"1399328563":["hashtag1","hashtag2"]},{"1399328566":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399328565, 1399328562, 1399328564, 1399328560, 1399328563, 1399328566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8816397190094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:13:22.381686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_52_2812.jpg', '/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_55_3630.jpg', '/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_58_2706.jpg', '/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_01_2689.jpg', '/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_07_3012.jpg', '/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_11_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_52_2812.jpg
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_55_3630.jpg
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_58_2706.jpg
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_01_2689.jpg
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_07_3012.jpg
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_11_3593.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.638214111328125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:13:32.218238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:13:42.268990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_52_2812.jpg', '/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_55_3630.jpg', '/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_58_2706.jpg', '/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_01_2689.jpg', '/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_07_3012.jpg', '/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_11_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_52_2812.jpg
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_55_3630.jpg
/home/pi/Desktop/images/04112025/11/34/image_04112025_11_34_58_2706.jpg
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_01_2689.jpg
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_07_3012.jpg
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_11_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":["1399328580","1399328582","1399328581","1399328584","1399328578","1399328583"],"photo_ids_order":["1399328578","1399328580","1399328581","1399328582","1399328583","1399328584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63680b5b1263ad55f241a64e1480397d.jpg","text":"TemporaryFile(/tmp/multipartBody6274137269573932514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685682839,"filename":"image_04112025_11_34_55_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6781c9e59af5abcaca8648948dcf1ad5.jpg","text":"TemporaryFile(/tmp/multipartBody1136864710865406888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685682839,"filename":"image_04112025_11_35_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/12/14/3dfa29a7f2cfcfa90efad60beed2f5ec.jpg","text":"TemporaryFile(/tmp/multipartBody7494872113157181485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685682839,"filename":"image_04112025_11_34_58_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36e9f922473365e6275bd355dc411873.jpg","text":"TemporaryFile(/tmp/multipartBody7131896873722163834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685682839,"filename":"image_04112025_11_35_11_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19c7f947ff475d87b76edf52f79c95e8.jpg","text":"TemporaryFile(/tmp/multipartBody3604068610103576794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685682839,"filename":"image_04112025_11_34_52_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a44a5ed6c68ab807d5568ee4611400c9.jpg","text":"TemporaryFile(/tmp/multipartBody3491827087218486049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685682839,"filename":"image_04112025_11_35_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328581","file1":"1399328580","file0":"1399328578","file4":"1399328583","file5":"1399328584","file3":"1399328582"},"map_files_photo_id_array":[{"photo_id":"1399328584","filename":"file5"},{"photo_id":"1399328581","filename":"file2"},{"photo_id":"1399328583","filename":"file4"},{"photo_id":"1399328580","filename":"file1"},{"photo_id":"1399328578","filename":"file0"},{"photo_id":"1399328582","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399328580":["hashtag1","hashtag2"]},{"1399328582":["hashtag1","hashtag2"]},{"1399328581":["hashtag1","hashtag2"]},{"1399328584":["hashtag1","hashtag2"]},{"1399328578":["hashtag1","hashtag2"]},{"1399328583":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399328580, 1399328582, 1399328581, 1399328584, 1399328578, 1399328583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66705632209778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:14:22.541055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_13_2556.jpg', '/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_17_3689.jpg', '/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_20_2709.jpg', '/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_22_2615.jpg', '/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_26_3789.jpg', '/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_29_2555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_13_2556.jpg
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_17_3689.jpg
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_20_2709.jpg
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_22_2615.jpg
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_26_3789.jpg
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_29_2555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328592","1399328601","1399328594","1399328590","1399328587","1399328596"],"photo_ids_order":["1399328587","1399328590","1399328592","1399328594","1399328596","1399328601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/071f642b16814c37f1059a1ffe0a447b.jpg","text":"TemporaryFile(/tmp/multipartBody8488123221997235531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685723275,"filename":"image_04112025_11_35_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/12/14/014598423d14cd247e91a76274ebc4b3.jpg","text":"TemporaryFile(/tmp/multipartBody1570226724765457516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685723275,"filename":"image_04112025_11_35_29_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/128051def55ce8816fe5b8cf4aacb5de.jpg","text":"TemporaryFile(/tmp/multipartBody1562896837823868691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685723275,"filename":"image_04112025_11_35_22_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/af003634521d50069dbd9b290d821264.jpg","text":"TemporaryFile(/tmp/multipartBody1382464522523055975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685723275,"filename":"image_04112025_11_35_17_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/453901d9a7caebde7e2ba063fc60e60a.jpg","text":"TemporaryFile(/tmp/multipartBody8240812001781195080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685723275,"filename":"image_04112025_11_35_13_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4cf804d89ff4f467765491e3eea9e5c4.jpg","text":"TemporaryFile(/tmp/multipartBody5192244844240563168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685723275,"filename":"image_04112025_11_35_26_3789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328592","file1":"1399328590","file0":"1399328587","file4":"1399328596","file5":"1399328601","file3":"1399328594"},"map_files_photo_id_array":[{"photo_id":"1399328601","filename":"file5"},{"photo_id":"1399328592","filename":"file2"},{"photo_id":"1399328596","filename":"file4"},{"photo_id":"1399328590","filename":"file1"},{"photo_id":"1399328587","filename":"file0"},{"photo_id":"1399328594","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399328592":["hashtag1","hashtag2"]},{"1399328601":["hashtag1","hashtag2"]},{"1399328594":["hashtag1","hashtag2"]},{"1399328590":["hashtag1","hashtag2"]},{"1399328587":["hashtag1","hashtag2"]},{"1399328596":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399328592, 1399328601, 1399328594, 1399328590, 1399328587, 1399328596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.294273138046265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:15:12.858038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:15:22.811339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_31_2499.jpg', '/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_35_3773.jpg', '/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_37_2648.jpg', '/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_40_2752.jpg', '/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_44_3537.jpg', '/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_46_2520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_31_2499.jpg
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_35_3773.jpg
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_37_2648.jpg
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_40_2752.jpg
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_44_3537.jpg
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_46_2520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328604","1399328606","1399328609","1399328611","1399328614","1399328608"],"photo_ids_order":["1399328604","1399328606","1399328608","1399328609","1399328611","1399328614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b7eac39164e0f78273d0673c9a68d2af.jpg","text":"TemporaryFile(/tmp/multipartBody2224047203509588887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685783512,"filename":"image_04112025_11_35_31_2499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d8215c8adf09c5c5fb10860d880675d5.jpg","text":"TemporaryFile(/tmp/multipartBody6025297800584189401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685783512,"filename":"image_04112025_11_35_35_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/943c85fc9376cf0fb6621578764dbd81.jpg","text":"TemporaryFile(/tmp/multipartBody5901995913481303682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685783512,"filename":"image_04112025_11_35_40_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/538171aad47481d0f25dab98f8a798af.jpg","text":"TemporaryFile(/tmp/multipartBody7694998197725068397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685783512,"filename":"image_04112025_11_35_44_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14eb251496ca09a41b786cb695467c05.jpg","text":"TemporaryFile(/tmp/multipartBody6805263490977542814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685783512,"filename":"image_04112025_11_35_46_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/894372958273631acbf5e3b72de56fa9.jpg","text":"TemporaryFile(/tmp/multipartBody5777175969485384585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685783512,"filename":"image_04112025_11_35_37_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328608","file1":"1399328606","file0":"1399328604","file4":"1399328611","file5":"1399328614","file3":"1399328609"},"map_files_photo_id_array":[{"photo_id":"1399328614","filename":"file5"},{"photo_id":"1399328608","filename":"file2"},{"photo_id":"1399328611","filename":"file4"},{"photo_id":"1399328606","filename":"file1"},{"photo_id":"1399328604","filename":"file0"},{"photo_id":"1399328609","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399328604":["hashtag1","hashtag2"]},{"1399328606":["hashtag1","hashtag2"]},{"1399328609":["hashtag1","hashtag2"]},{"1399328611":["hashtag1","hashtag2"]},{"1399328614":["hashtag1","hashtag2"]},{"1399328608":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399328604, 1399328606, 1399328609, 1399328611, 1399328614, 1399328608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65983438491821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:16:02.679386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:16:12.066272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:16:22.146516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_53_3688.jpg', '/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_55_2524.jpg', '/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_58_2669.jpg', '/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_02_3592.jpg', '/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_11_3580.jpg', '/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_14_3023.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_53_3688.jpg
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_55_2524.jpg
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_58_2669.jpg
/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_02_3592.jpg
/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_11_3580.jpg
/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_14_3023.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6132621765136719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:16:32.177906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:16:42.157786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_53_3688.jpg', '/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_55_2524.jpg', '/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_58_2669.jpg', '/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_02_3592.jpg', '/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_11_3580.jpg', '/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_14_3023.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_53_3688.jpg
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_55_2524.jpg
/home/pi/Desktop/images/04112025/11/35/image_04112025_11_35_58_2669.jpg
/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_02_3592.jpg
/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_11_3580.jpg
/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_14_3023.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328631","1399328630","1399328633","1399328627","1399328635","1399328632"],"photo_ids_order":["1399328627","1399328630","1399328631","1399328632","1399328633","1399328635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5bad6b25415dc9b5bb7f55ffcd8d28d3.jpg","text":"TemporaryFile(/tmp/multipartBody8913297761127135458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685862732,"filename":"image_04112025_11_35_58_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2323c13c67f569eacac5939e6b5fc02a.jpg","text":"TemporaryFile(/tmp/multipartBody643192184123147021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685862732,"filename":"image_04112025_11_35_55_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1a672e1b79260a1e4adf94e8d49dcc5.jpg","text":"TemporaryFile(/tmp/multipartBody7135459715158597004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685862732,"filename":"image_04112025_11_36_11_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3bc32c7ba70750d3fdf2d725bf677bf1.jpg","text":"TemporaryFile(/tmp/multipartBody8441334348386471346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685862732,"filename":"image_04112025_11_35_53_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fba6c587584e5ca1999cd7941a3ed2f7.jpg","text":"TemporaryFile(/tmp/multipartBody745190230946525636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685862732,"filename":"image_04112025_11_36_14_3023.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ff4f1990cfaa6cc695fa1d4ced7858ce.jpg","text":"TemporaryFile(/tmp/multipartBody4664894617317742933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685862732,"filename":"image_04112025_11_36_02_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328631","file1":"1399328630","file0":"1399328627","file4":"1399328633","file5":"1399328635","file3":"1399328632"},"map_files_photo_id_array":[{"photo_id":"1399328635","filename":"file5"},{"photo_id":"1399328631","filename":"file2"},{"photo_id":"1399328633","filename":"file4"},{"photo_id":"1399328630","filename":"file1"},{"photo_id":"1399328627","filename":"file0"},{"photo_id":"1399328632","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399328631":["hashtag1","hashtag2"]},{"1399328630":["hashtag1","hashtag2"]},{"1399328633":["hashtag1","hashtag2"]},{"1399328627":["hashtag1","hashtag2"]},{"1399328635":["hashtag1","hashtag2"]},{"1399328632":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399328631, 1399328630, 1399328633, 1399328627, 1399328635, 1399328632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11288046836853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:17:22.425354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_16_2727.jpg', '/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_25_2692.jpg', '/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_32_3649.jpg', '/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_34_2644.jpg', '/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_37_2661.jpg', '/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_41_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_16_2727.jpg
/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_25_2692.jpg
/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_32_3649.jpg
/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_34_2644.jpg
/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_37_2661.jpg
/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_41_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":["1399328649","1399328640","1399328642","1399328636","1399328644","1399328638"],"photo_ids_order":["1399328636","1399328638","1399328640","1399328642","1399328644","1399328649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8db5428f939bae7bc7e40163e18a1ffb.jpg","text":"TemporaryFile(/tmp/multipartBody270983989203893980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685903131,"filename":"image_04112025_11_36_41_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1de80bd29e3c16989e94b4fc928ffc6a.jpg","text":"TemporaryFile(/tmp/multipartBody7130038050689633104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685903131,"filename":"image_04112025_11_36_32_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b49db49c70252e840d6ef372d69c801.jpg","text":"TemporaryFile(/tmp/multipartBody3512860103741852429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685903131,"filename":"image_04112025_11_36_34_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2c1f366d473e449d60c9cae8d1107fcb.jpg","text":"TemporaryFile(/tmp/multipartBody3186389390712610144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685903131,"filename":"image_04112025_11_36_16_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e870268a6fc3dfd704898c0269d1c07a.jpg","text":"TemporaryFile(/tmp/multipartBody7571727185838959764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685903131,"filename":"image_04112025_11_36_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/12/14/b8c9ac784f21911bc815915b1fa543a3.jpg","text":"TemporaryFile(/tmp/multipartBody5216362299333728014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685903131,"filename":"image_04112025_11_36_25_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328640","file1":"1399328638","file0":"1399328636","file4":"1399328644","file5":"1399328649","file3":"1399328642"},"map_files_photo_id_array":[{"photo_id":"1399328649","filename":"file5"},{"photo_id":"1399328640","filename":"file2"},{"photo_id":"1399328644","filename":"file4"},{"photo_id":"1399328638","filename":"file1"},{"photo_id":"1399328636","filename":"file0"},{"photo_id":"1399328642","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399328649":["hashtag1","hashtag2"]},{"1399328640":["hashtag1","hashtag2"]},{"1399328642":["hashtag1","hashtag2"]},{"1399328636":["hashtag1","hashtag2"]},{"1399328644":["hashtag1","hashtag2"]},{"1399328638":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399328649, 1399328640, 1399328642, 1399328636, 1399328644, 1399328638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62461829185486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:18:03.056147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:18:12.784092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:18:22.729147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_43_2557.jpg', '/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_47_3589.jpg', '/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_50_2799.jpg', '/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_52_2707.jpg', '/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_55_2885.jpg', '/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_58_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_43_2557.jpg
/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_47_3589.jpg
/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_50_2799.jpg
/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_52_2707.jpg
/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_55_2885.jpg
/home/pi/Desktop/images/04112025/11/36/image_04112025_11_36_58_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":["1399328661","1399328655","1399328657","1399328662","1399328665","1399328659"],"photo_ids_order":["1399328655","1399328657","1399328659","1399328661","1399328662","1399328665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/560cd5622fcc397ef7c5bdf5fbf654c5.jpg","text":"TemporaryFile(/tmp/multipartBody6121684800422152839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685963426,"filename":"image_04112025_11_36_52_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ec5b7dfb062e68c5a780b8bd62675daa.jpg","text":"TemporaryFile(/tmp/multipartBody4086197921082827749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685963426,"filename":"image_04112025_11_36_43_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3760cea0293f566e5042e373997f7f8f.jpg","text":"TemporaryFile(/tmp/multipartBody1996874219199355986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685963426,"filename":"image_04112025_11_36_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/12/14/653718bde6a01be7dd6cee1e270ebe73.jpg","text":"TemporaryFile(/tmp/multipartBody8672245657227682488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685963426,"filename":"image_04112025_11_36_55_2885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/240e28562b3e0c53e35c45825a0ffee9.jpg","text":"TemporaryFile(/tmp/multipartBody867645795045803792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685963426,"filename":"image_04112025_11_36_58_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e65488f365251d4e7d409b3657f10aaf.jpg","text":"TemporaryFile(/tmp/multipartBody5428119601882728719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765685963426,"filename":"image_04112025_11_36_50_2799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328659","file1":"1399328657","file0":"1399328655","file4":"1399328662","file5":"1399328665","file3":"1399328661"},"map_files_photo_id_array":[{"photo_id":"1399328665","filename":"file5"},{"photo_id":"1399328659","filename":"file2"},{"photo_id":"1399328662","filename":"file4"},{"photo_id":"1399328657","filename":"file1"},{"photo_id":"1399328655","filename":"file0"},{"photo_id":"1399328661","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399328661":["hashtag1","hashtag2"]},{"1399328655":["hashtag1","hashtag2"]},{"1399328657":["hashtag1","hashtag2"]},{"1399328662":["hashtag1","hashtag2"]},{"1399328665":["hashtag1","hashtag2"]},{"1399328659":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399328661, 1399328655, 1399328657, 1399328662, 1399328665, 1399328659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70980978012085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:19:03.008700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:19:12.065446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:19:22.119889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/11/image_14122025_05_11_54_9729.jpg', '/home/pi/Desktop/images/14122025/05/19/image_14122025_05_19_33_9821.jpg', '/home/pi/Desktop/images/14122025/05/19/image_14122025_05_19_44_10798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/11/image_14122025_05_11_54_9729.jpg
/home/pi/Desktop/images/14122025/05/19/image_14122025_05_19_33_9821.jpg
/home/pi/Desktop/images/14122025/05/19/image_14122025_05_19_44_10798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328667","1399328671","1399328668"],"photo_ids_order":["1399328667","1399328668","1399328671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/89f1402c0b0e3ad0076085067961bfa4.jpg","text":"TemporaryFile(/tmp/multipartBody7194030902799383957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686023301,"filename":"image_14122025_05_11_54_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6a8c8cac48a430ff4ee3400f428e8ea7.jpg","text":"TemporaryFile(/tmp/multipartBody1514661105133269699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686023301,"filename":"image_14122025_05_19_44_10798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/635742402ec08696598f5a1ca440f9ca.jpg","text":"TemporaryFile(/tmp/multipartBody8963094201063262371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686023301,"filename":"image_14122025_05_19_33_9821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328671","file1":"1399328668","file0":"1399328667"},"map_files_photo_id_array":[{"photo_id":"1399328671","filename":"file2"},{"photo_id":"1399328668","filename":"file1"},{"photo_id":"1399328667","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399328667":["hashtag1","hashtag2"]},{"1399328671":["hashtag1","hashtag2"]},{"1399328668":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399328667, 1399328671, 1399328668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.56637406349182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:20:02.649793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:20:12.369445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:20:22.380066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/19/image_14122025_05_19_54_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/19/image_14122025_05_19_54_9693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328677"],"photo_id":"1399328677","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7cfe09199444f4089237cdd34749e222.jpg","text":"TemporaryFile(/tmp/multipartBody3698885709469009209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686082807,"filename":"image_14122025_05_19_54_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399328677"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399328677"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.288815259933472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:20:42.309809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/36/image_04112025_11_37_01_3607.jpg', '/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_04_2739.jpg', '/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_08_3575.jpg', '/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_13_2618.jpg', '/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_17_3524.jpg', '/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_19_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/36/image_04112025_11_37_01_3607.jpg
/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_04_2739.jpg
/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_08_3575.jpg
/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_13_2618.jpg
/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_17_3524.jpg
/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_19_2607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328694","1399328687","1399328681","1399328690","1399328692","1399328697"],"photo_ids_order":["1399328681","1399328687","1399328690","1399328692","1399328694","1399328697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6fa6283f740ebd121e9a957e2d8aa668.jpg","text":"TemporaryFile(/tmp/multipartBody2750388277639376880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686103009,"filename":"image_04112025_11_37_17_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ca88f9a6fefd020779c5632f1be82aee.jpg","text":"TemporaryFile(/tmp/multipartBody2644095858957520849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686103009,"filename":"image_04112025_11_37_04_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/679db8e4122c769a1b82f741e924f383.jpg","text":"TemporaryFile(/tmp/multipartBody7342941089310838531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686103009,"filename":"image_04112025_11_37_01_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5683d9620b1ffafa827736681e1028b2.jpg","text":"TemporaryFile(/tmp/multipartBody6951675992435182721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686103009,"filename":"image_04112025_11_37_08_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8589eec4fe3aa1347455fe2b27ff9f38.jpg","text":"TemporaryFile(/tmp/multipartBody7450318402439107263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686103009,"filename":"image_04112025_11_37_13_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/006e58b124c3c50e13f554dfdba10813.jpg","text":"TemporaryFile(/tmp/multipartBody8383137923509773492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686103009,"filename":"image_04112025_11_37_19_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328690","file1":"1399328687","file0":"1399328681","file4":"1399328694","file5":"1399328697","file3":"1399328692"},"map_files_photo_id_array":[{"photo_id":"1399328697","filename":"file5"},{"photo_id":"1399328690","filename":"file2"},{"photo_id":"1399328694","filename":"file4"},{"photo_id":"1399328687","filename":"file1"},{"photo_id":"1399328681","filename":"file0"},{"photo_id":"1399328692","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399328694":["hashtag1","hashtag2"]},{"1399328687":["hashtag1","hashtag2"]},{"1399328681":["hashtag1","hashtag2"]},{"1399328690":["hashtag1","hashtag2"]},{"1399328692":["hashtag1","hashtag2"]},{"1399328697":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399328694, 1399328687, 1399328681, 1399328690, 1399328692, 1399328697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21516466140747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:21:22.597807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/20/image_14122025_05_20_24_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/20/image_14122025_05_20_24_9749.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.31668949127197266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:21:32.541790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:21:42.546854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_22_2602.jpg', '/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_25_3580.jpg', '/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_28_2607.jpg', '/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_32_3607.jpg', '/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_34_2686.jpg', '/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_37_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_22_2602.jpg
/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_25_3580.jpg
/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_28_2607.jpg
/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_32_3607.jpg
/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_34_2686.jpg
/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_37_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":["1399328709","1399328703","1399328711","1399328708","1399328710","1399328707"],"photo_ids_order":["1399328703","1399328707","1399328708","1399328709","1399328710","1399328711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e61729ab700e76e7f2fc8151a253f358.jpg","text":"TemporaryFile(/tmp/multipartBody5753260072058681154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686163219,"filename":"image_04112025_11_37_32_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b33053cfd010d6d7f8a2cdbfb067a20.jpg","text":"TemporaryFile(/tmp/multipartBody2260390021173662928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686163219,"filename":"image_04112025_11_37_22_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9520c3bf8f37072129eee57b5fa28d3b.jpg","text":"TemporaryFile(/tmp/multipartBody5265563882253158977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686163219,"filename":"image_04112025_11_37_37_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b36f022b4d7b93f1427f81182584ef7.jpg","text":"TemporaryFile(/tmp/multipartBody2729038316616005515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686163219,"filename":"image_04112025_11_37_28_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc94f15deb8fb8d370e8e70ade29b008.jpg","text":"TemporaryFile(/tmp/multipartBody2294706735321334809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686163219,"filename":"image_04112025_11_37_34_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3067ca82da40d42d1d95621658499572.jpg","text":"TemporaryFile(/tmp/multipartBody4763147013277145829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686163219,"filename":"image_04112025_11_37_25_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328708","file1":"1399328707","file0":"1399328703","file4":"1399328710","file5":"1399328711","file3":"1399328709"},"map_files_photo_id_array":[{"photo_id":"1399328711","filename":"file5"},{"photo_id":"1399328708","filename":"file2"},{"photo_id":"1399328710","filename":"file4"},{"photo_id":"1399328707","filename":"file1"},{"photo_id":"1399328703","filename":"file0"},{"photo_id":"1399328709","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399328709":["hashtag1","hashtag2"]},{"1399328703":["hashtag1","hashtag2"]},{"1399328711":["hashtag1","hashtag2"]},{"1399328708":["hashtag1","hashtag2"]},{"1399328710":["hashtag1","hashtag2"]},{"1399328707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399328709, 1399328703, 1399328711, 1399328708, 1399328710, 1399328707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95125341415405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:22:22.868316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/20/image_14122025_05_20_24_9749.jpg', '/home/pi/Desktop/images/14122025/05/21/image_14122025_05_21_34_10662.jpg', '/home/pi/Desktop/images/14122025/05/21/image_14122025_05_22_04_10774.jpg', '/home/pi/Desktop/images/14122025/05/22/image_14122025_05_22_33_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/20/image_14122025_05_20_24_9749.jpg
/home/pi/Desktop/images/14122025/05/21/image_14122025_05_21_34_10662.jpg
/home/pi/Desktop/images/14122025/05/21/image_14122025_05_22_04_10774.jpg
/home/pi/Desktop/images/14122025/05/22/image_14122025_05_22_33_9599.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.41812777519226074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:22:32.823998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:22:42.760797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_40_3522.jpg', '/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_43_2635.jpg', '/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_47_4216.jpg', '/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_49_1979.jpg', '/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_52_2848.jpg', '/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_56_3560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_40_3522.jpg
/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_43_2635.jpg
/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_47_4216.jpg
/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_49_1979.jpg
/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_52_2848.jpg
/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_56_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":["1399328727","1399328721","1399328724","1399328723","1399328726","1399328725"],"photo_ids_order":["1399328721","1399328723","1399328724","1399328725","1399328726","1399328727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/93574afed762d819b60291c633864005.jpg","text":"TemporaryFile(/tmp/multipartBody5247202738042064149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686223434,"filename":"image_04112025_11_37_56_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/298ac888088591065d68758e64e6a165.jpg","text":"TemporaryFile(/tmp/multipartBody496781658112909566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686223434,"filename":"image_04112025_11_37_40_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f353a267d84c44abbfc8fb399408fb54.jpg","text":"TemporaryFile(/tmp/multipartBody1097242926279438055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686223434,"filename":"image_04112025_11_37_47_4216.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f7a37c6a1877c24d5df4321a9c093c82.jpg","text":"TemporaryFile(/tmp/multipartBody1083128881493806640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686223434,"filename":"image_04112025_11_37_43_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/052b518117a57002a4ba242a7626bde5.jpg","text":"TemporaryFile(/tmp/multipartBody2038215212600580798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686223434,"filename":"image_04112025_11_37_52_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d0e60c7d5d2a342359b56840d94a9ae.jpg","text":"TemporaryFile(/tmp/multipartBody3557985954290641893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686223434,"filename":"image_04112025_11_37_49_1979.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328724","file1":"1399328723","file0":"1399328721","file4":"1399328726","file5":"1399328727","file3":"1399328725"},"map_files_photo_id_array":[{"photo_id":"1399328727","filename":"file5"},{"photo_id":"1399328724","filename":"file2"},{"photo_id":"1399328726","filename":"file4"},{"photo_id":"1399328723","filename":"file1"},{"photo_id":"1399328721","filename":"file0"},{"photo_id":"1399328725","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399328727":["hashtag1","hashtag2"]},{"1399328721":["hashtag1","hashtag2"]},{"1399328724":["hashtag1","hashtag2"]},{"1399328723":["hashtag1","hashtag2"]},{"1399328726":["hashtag1","hashtag2"]},{"1399328725":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399328727, 1399328721, 1399328724, 1399328723, 1399328726, 1399328725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33590793609619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:23:32.105152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:23:42.104932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_58_2655.jpg', '/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_01_2613.jpg', '/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_05_3618.jpg', '/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_07_2749.jpg', '/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_10_2591.jpg', '/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_13_3545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/37/image_04112025_11_37_58_2655.jpg
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_01_2613.jpg
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_05_3618.jpg
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_07_2749.jpg
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_10_2591.jpg
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_13_3545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328733","1399328742","1399328741","1399328744","1399328732","1399328740"],"photo_ids_order":["1399328732","1399328733","1399328740","1399328741","1399328742","1399328744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c534c2b4017459e98c00389757115cdf.jpg","text":"TemporaryFile(/tmp/multipartBody2566371599197456732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686282831,"filename":"image_04112025_11_38_01_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/93a3f18035de5c975bad44272ee51f8e.jpg","text":"TemporaryFile(/tmp/multipartBody523835542627562609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686282831,"filename":"image_04112025_11_38_10_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0e9c9620510dcf2d92a3a3c87e936b42.jpg","text":"TemporaryFile(/tmp/multipartBody9003887055961207177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686282831,"filename":"image_04112025_11_38_07_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ec40160cfe7da1ecd52ecf071bfeaae.jpg","text":"TemporaryFile(/tmp/multipartBody5543247929991764283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686282831,"filename":"image_04112025_11_38_13_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6a8be1a08675f55a334e3e27d95f45c2.jpg","text":"TemporaryFile(/tmp/multipartBody8450550921284487160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686282831,"filename":"image_04112025_11_37_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/12/14/bfb44ee7ce32122b9e5eeaf304817278.jpg","text":"TemporaryFile(/tmp/multipartBody6169868746099784980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686282831,"filename":"image_04112025_11_38_05_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328740","file1":"1399328733","file0":"1399328732","file4":"1399328742","file5":"1399328744","file3":"1399328741"},"map_files_photo_id_array":[{"photo_id":"1399328744","filename":"file5"},{"photo_id":"1399328740","filename":"file2"},{"photo_id":"1399328742","filename":"file4"},{"photo_id":"1399328733","filename":"file1"},{"photo_id":"1399328732","filename":"file0"},{"photo_id":"1399328741","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399328733":["hashtag1","hashtag2"]},{"1399328742":["hashtag1","hashtag2"]},{"1399328741":["hashtag1","hashtag2"]},{"1399328744":["hashtag1","hashtag2"]},{"1399328732":["hashtag1","hashtag2"]},{"1399328740":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399328733, 1399328742, 1399328741, 1399328744, 1399328732, 1399328740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41103982925415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:24:22.350201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/20/image_14122025_05_20_24_9749.jpg', '/home/pi/Desktop/images/14122025/05/21/image_14122025_05_21_34_10662.jpg', '/home/pi/Desktop/images/14122025/05/21/image_14122025_05_22_04_10774.jpg', '/home/pi/Desktop/images/14122025/05/22/image_14122025_05_22_33_9599.jpg', '/home/pi/Desktop/images/14122025/05/22/image_14122025_05_22_44_10876.jpg', '/home/pi/Desktop/images/14122025/05/23/image_14122025_05_23_13_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/20/image_14122025_05_20_24_9749.jpg
/home/pi/Desktop/images/14122025/05/21/image_14122025_05_21_34_10662.jpg
/home/pi/Desktop/images/14122025/05/21/image_14122025_05_22_04_10774.jpg
/home/pi/Desktop/images/14122025/05/22/image_14122025_05_22_33_9599.jpg
/home/pi/Desktop/images/14122025/05/22/image_14122025_05_22_44_10876.jpg
/home/pi/Desktop/images/14122025/05/23/image_14122025_05_23_13_9787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328751","1399328756","1399328753","1399328747","1399328749","1399328746"],"photo_ids_order":["1399328746","1399328747","1399328749","1399328751","1399328753","1399328756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/389d005596de84e9f94990afc57a383a.jpg","text":"TemporaryFile(/tmp/multipartBody953011002748536898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686322950,"filename":"image_14122025_05_22_33_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6d1dbda0226b7ed643841e3ac26b4555.jpg","text":"TemporaryFile(/tmp/multipartBody2647292903502438395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686322950,"filename":"image_14122025_05_23_13_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a9930b8ad3314d54591f39012f24c8f.jpg","text":"TemporaryFile(/tmp/multipartBody3674063164928154400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686322950,"filename":"image_14122025_05_22_44_10876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be37181446c583be067b4f0ff2dec505.jpg","text":"TemporaryFile(/tmp/multipartBody4974500728957418732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686322950,"filename":"image_14122025_05_21_34_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54ef2040bcfebe657b553a06403b98a8.jpg","text":"TemporaryFile(/tmp/multipartBody735365040416341417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686322950,"filename":"image_14122025_05_22_04_10774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/066f0a123f1c586f15611828129462f9.jpg","text":"TemporaryFile(/tmp/multipartBody128458331350993949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686322950,"filename":"image_14122025_05_20_24_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328749","file1":"1399328747","file0":"1399328746","file4":"1399328753","file5":"1399328756","file3":"1399328751"},"map_files_photo_id_array":[{"photo_id":"1399328756","filename":"file5"},{"photo_id":"1399328749","filename":"file2"},{"photo_id":"1399328753","filename":"file4"},{"photo_id":"1399328747","filename":"file1"},{"photo_id":"1399328746","filename":"file0"},{"photo_id":"1399328751","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399328751":["hashtag1","hashtag2"]},{"1399328756":["hashtag1","hashtag2"]},{"1399328753":["hashtag1","hashtag2"]},{"1399328747":["hashtag1","hashtag2"]},{"1399328749":["hashtag1","hashtag2"]},{"1399328746":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399328751, 1399328756, 1399328753, 1399328747, 1399328749, 1399328746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16490912437439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:25:03.458396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/23/image_14122025_05_23_34_9847.jpg', '/home/pi/Desktop/images/14122025/05/23/image_14122025_05_23_54_10589.jpg', '/home/pi/Desktop/images/14122025/05/23/image_14122025_05_24_04_9882.jpg', '/home/pi/Desktop/images/14122025/05/24/image_14122025_05_24_14_9726.jpg', '/home/pi/Desktop/images/14122025/05/24/image_14122025_05_24_23_9805.jpg', '/home/pi/Desktop/images/14122025/05/24/image_14122025_05_24_34_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/23/image_14122025_05_23_34_9847.jpg
/home/pi/Desktop/images/14122025/05/23/image_14122025_05_23_54_10589.jpg
/home/pi/Desktop/images/14122025/05/23/image_14122025_05_24_04_9882.jpg
/home/pi/Desktop/images/14122025/05/24/image_14122025_05_24_14_9726.jpg
/home/pi/Desktop/images/14122025/05/24/image_14122025_05_24_23_9805.jpg
/home/pi/Desktop/images/14122025/05/24/image_14122025_05_24_34_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328760","1399328762","1399328759","1399328761","1399328764","1399328758"],"photo_ids_order":["1399328758","1399328759","1399328760","1399328761","1399328762","1399328764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/91880b6399d1002d6e77d55a5af95da4.jpg","text":"TemporaryFile(/tmp/multipartBody2800338439806192306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686364113,"filename":"image_14122025_05_24_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/12/14/90aa8dabc1df4bc38bcf31986ba8d0f5.jpg","text":"TemporaryFile(/tmp/multipartBody2941424580515574462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686364113,"filename":"image_14122025_05_24_23_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dfb865c3afb89785a82417550e4682ad.jpg","text":"TemporaryFile(/tmp/multipartBody5771834716672759722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686364113,"filename":"image_14122025_05_23_54_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/985dfc7539d0555e340b5470d24c90bd.jpg","text":"TemporaryFile(/tmp/multipartBody5087343606842119571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686364113,"filename":"image_14122025_05_24_14_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27d83e11d95bae2b523891ca049bf0e2.jpg","text":"TemporaryFile(/tmp/multipartBody5831438883473093424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686364113,"filename":"image_14122025_05_24_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/12/14/052849a90ee30a41a731cb10510c9782.jpg","text":"TemporaryFile(/tmp/multipartBody2571167529665129291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686364113,"filename":"image_14122025_05_23_34_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328760","file1":"1399328759","file0":"1399328758","file4":"1399328762","file5":"1399328764","file3":"1399328761"},"map_files_photo_id_array":[{"photo_id":"1399328764","filename":"file5"},{"photo_id":"1399328760","filename":"file2"},{"photo_id":"1399328762","filename":"file4"},{"photo_id":"1399328759","filename":"file1"},{"photo_id":"1399328758","filename":"file0"},{"photo_id":"1399328761","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399328760":["hashtag1","hashtag2"]},{"1399328762":["hashtag1","hashtag2"]},{"1399328759":["hashtag1","hashtag2"]},{"1399328761":["hashtag1","hashtag2"]},{"1399328764":["hashtag1","hashtag2"]},{"1399328758":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399328760, 1399328762, 1399328759, 1399328761, 1399328764, 1399328758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73750925064087 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:25:42.631211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_16_2515.jpg', '/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_20_3693.jpg', '/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_22_2600.jpg', '/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_25_2615.jpg', '/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_28_3507.jpg', '/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_31_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_16_2515.jpg
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_20_3693.jpg
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_22_2600.jpg
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_25_2615.jpg
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_28_3507.jpg
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_31_2689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328774","1399328777","1399328770","1399328773","1399328776","1399328775"],"photo_ids_order":["1399328770","1399328773","1399328774","1399328775","1399328776","1399328777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/37f02090d7e0971ae8ad87cde72bbdbf.jpg","text":"TemporaryFile(/tmp/multipartBody5377088495385868307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686403403,"filename":"image_04112025_11_38_22_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a6f14df366873802967af5a21bc71452.jpg","text":"TemporaryFile(/tmp/multipartBody7726390170873138723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686403403,"filename":"image_04112025_11_38_31_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36bc800106b52201a0abdabc50974a65.jpg","text":"TemporaryFile(/tmp/multipartBody3160983245029729453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686403403,"filename":"image_04112025_11_38_16_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9513590ba9e1beab4ec11ea041172c2d.jpg","text":"TemporaryFile(/tmp/multipartBody4024092898832311809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686403403,"filename":"image_04112025_11_38_20_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/270a2a5609fc426d97197583f3d55e77.jpg","text":"TemporaryFile(/tmp/multipartBody339896880002073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686403403,"filename":"image_04112025_11_38_28_3507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9909b6c5fc5f190380b6506361948940.jpg","text":"TemporaryFile(/tmp/multipartBody8306895454932411155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686403403,"filename":"image_04112025_11_38_25_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328774","file1":"1399328773","file0":"1399328770","file4":"1399328776","file5":"1399328777","file3":"1399328775"},"map_files_photo_id_array":[{"photo_id":"1399328777","filename":"file5"},{"photo_id":"1399328774","filename":"file2"},{"photo_id":"1399328776","filename":"file4"},{"photo_id":"1399328773","filename":"file1"},{"photo_id":"1399328770","filename":"file0"},{"photo_id":"1399328775","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399328774":["hashtag1","hashtag2"]},{"1399328777":["hashtag1","hashtag2"]},{"1399328770":["hashtag1","hashtag2"]},{"1399328773":["hashtag1","hashtag2"]},{"1399328776":["hashtag1","hashtag2"]},{"1399328775":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399328774, 1399328777, 1399328770, 1399328773, 1399328776, 1399328775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46727275848389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:26:31.918338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:26:41.941512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_34_2660.jpg', '/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_37_3647.jpg', '/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_40_2594.jpg', '/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_44_3571.jpg', '/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_51_7926.jpg', '/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_53_1654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_34_2660.jpg
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_37_3647.jpg
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_40_2594.jpg
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_44_3571.jpg
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_51_7926.jpg
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_53_1654.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5859928131103516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:27:02.738446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/24/image_14122025_05_24_44_9698.jpg', '/home/pi/Desktop/images/14122025/05/24/image_14122025_05_25_03_9814.jpg', '/home/pi/Desktop/images/14122025/05/25/image_14122025_05_25_14_10850.jpg', '/home/pi/Desktop/images/14122025/05/25/image_14122025_05_25_54_10562.jpg', '/home/pi/Desktop/images/14122025/05/26/image_14122025_05_26_13_9903.jpg', '/home/pi/Desktop/images/14122025/05/26/image_14122025_05_26_24_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/24/image_14122025_05_24_44_9698.jpg
/home/pi/Desktop/images/14122025/05/24/image_14122025_05_25_03_9814.jpg
/home/pi/Desktop/images/14122025/05/25/image_14122025_05_25_14_10850.jpg
/home/pi/Desktop/images/14122025/05/25/image_14122025_05_25_54_10562.jpg
/home/pi/Desktop/images/14122025/05/26/image_14122025_05_26_13_9903.jpg
/home/pi/Desktop/images/14122025/05/26/image_14122025_05_26_24_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":["1399328790","1399328792","1399328791","1399328794","1399328793","1399328796"],"photo_ids_order":["1399328790","1399328791","1399328792","1399328793","1399328794","1399328796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/84293af0704790520e860bfd20e6aa42.jpg","text":"TemporaryFile(/tmp/multipartBody8991214408855077965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686483438,"filename":"image_14122025_05_24_44_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1dd2834e7bfaed142c9d340cb15a0763.jpg","text":"TemporaryFile(/tmp/multipartBody5896770368766422600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686483438,"filename":"image_14122025_05_25_14_10850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2013f53e05d07d4c31918007043fffc2.jpg","text":"TemporaryFile(/tmp/multipartBody4712037916228713940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686483438,"filename":"image_14122025_05_25_03_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb8767c8c0be866744d08155d4a09a55.jpg","text":"TemporaryFile(/tmp/multipartBody1961644608862463132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686483438,"filename":"image_14122025_05_26_13_9903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a49e8dba23dc228a764544f1a58b19c.jpg","text":"TemporaryFile(/tmp/multipartBody2260153818003888034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686483438,"filename":"image_14122025_05_25_54_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f467a97bc33df7424e02a66e2c94896b.jpg","text":"TemporaryFile(/tmp/multipartBody3660910656204193580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686483438,"filename":"image_14122025_05_26_24_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328792","file1":"1399328791","file0":"1399328790","file4":"1399328794","file5":"1399328796","file3":"1399328793"},"map_files_photo_id_array":[{"photo_id":"1399328796","filename":"file5"},{"photo_id":"1399328792","filename":"file2"},{"photo_id":"1399328794","filename":"file4"},{"photo_id":"1399328791","filename":"file1"},{"photo_id":"1399328790","filename":"file0"},{"photo_id":"1399328793","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399328790":["hashtag1","hashtag2"]},{"1399328792":["hashtag1","hashtag2"]},{"1399328791":["hashtag1","hashtag2"]},{"1399328794":["hashtag1","hashtag2"]},{"1399328793":["hashtag1","hashtag2"]},{"1399328796":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399328790, 1399328792, 1399328791, 1399328794, 1399328793, 1399328796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38452982902527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:27:42.137579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_34_2660.jpg', '/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_37_3647.jpg', '/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_40_2594.jpg', '/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_44_3571.jpg', '/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_51_7926.jpg', '/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_53_1654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_34_2660.jpg
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_37_3647.jpg
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_40_2594.jpg
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_44_3571.jpg
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_51_7926.jpg
/home/pi/Desktop/images/04112025/11/38/image_04112025_11_38_53_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":["1399328809","1399328800","1399328802","1399328805","1399328807","1399328806"],"photo_ids_order":["1399328800","1399328802","1399328805","1399328806","1399328807","1399328809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7fc785d0585430475074e011001d119e.jpg","text":"TemporaryFile(/tmp/multipartBody8663454823284529472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686522704,"filename":"image_04112025_11_38_53_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fa4466ddf3f0b61a77f0ec280b2d08d1.jpg","text":"TemporaryFile(/tmp/multipartBody6393575389175019532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686522704,"filename":"image_04112025_11_38_34_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c40fc9dd97ef04b3015c1b6b567d6a2.jpg","text":"TemporaryFile(/tmp/multipartBody2026877718890399464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686522704,"filename":"image_04112025_11_38_37_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/73b552150e56d8b075f892736b0b7ed0.jpg","text":"TemporaryFile(/tmp/multipartBody4971863064670688850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686522704,"filename":"image_04112025_11_38_40_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/58e00141d679e8c3ba54fefe366b621e.jpg","text":"TemporaryFile(/tmp/multipartBody7993106816902477290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686522704,"filename":"image_04112025_11_38_51_7926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88976333195ba3cb2174a13e1d34af90.jpg","text":"TemporaryFile(/tmp/multipartBody2501094928454454968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686522704,"filename":"image_04112025_11_38_44_3571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328805","file1":"1399328802","file0":"1399328800","file4":"1399328807","file5":"1399328809","file3":"1399328806"},"map_files_photo_id_array":[{"photo_id":"1399328809","filename":"file5"},{"photo_id":"1399328805","filename":"file2"},{"photo_id":"1399328807","filename":"file4"},{"photo_id":"1399328802","filename":"file1"},{"photo_id":"1399328800","filename":"file0"},{"photo_id":"1399328806","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399328809":["hashtag1","hashtag2"]},{"1399328800":["hashtag1","hashtag2"]},{"1399328802":["hashtag1","hashtag2"]},{"1399328805":["hashtag1","hashtag2"]},{"1399328807":["hashtag1","hashtag2"]},{"1399328806":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399328809, 1399328800, 1399328802, 1399328805, 1399328807, 1399328806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38763356208801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:28:22.387796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/26/image_14122025_05_26_34_9634.jpg', '/home/pi/Desktop/images/14122025/05/26/image_14122025_05_26_43_9679.jpg', '/home/pi/Desktop/images/14122025/05/26/image_14122025_05_27_04_9596.jpg', '/home/pi/Desktop/images/14122025/05/27/image_14122025_05_27_24_10658.jpg', '/home/pi/Desktop/images/14122025/05/27/image_14122025_05_27_34_9761.jpg', '/home/pi/Desktop/images/14122025/05/27/image_14122025_05_27_54_10766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/26/image_14122025_05_26_34_9634.jpg
/home/pi/Desktop/images/14122025/05/26/image_14122025_05_26_43_9679.jpg
/home/pi/Desktop/images/14122025/05/26/image_14122025_05_27_04_9596.jpg
/home/pi/Desktop/images/14122025/05/27/image_14122025_05_27_24_10658.jpg
/home/pi/Desktop/images/14122025/05/27/image_14122025_05_27_34_9761.jpg
/home/pi/Desktop/images/14122025/05/27/image_14122025_05_27_54_10766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328820","1399328814","1399328811","1399328822","1399328816","1399328818"],"photo_ids_order":["1399328811","1399328814","1399328816","1399328818","1399328820","1399328822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/afc0350d03808b54aa712de6ed21e847.jpg","text":"TemporaryFile(/tmp/multipartBody2801668405184421079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686562988,"filename":"image_14122025_05_27_34_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e428cb16875ffb679ec50eb3f80c38b2.jpg","text":"TemporaryFile(/tmp/multipartBody3602569561009807016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686562988,"filename":"image_14122025_05_26_43_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/47c783e074f15813d26fbcc7d76b6ed3.jpg","text":"TemporaryFile(/tmp/multipartBody848598080209942636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686562988,"filename":"image_14122025_05_26_34_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be28817776f8cfcfb3d3507b15838f05.jpg","text":"TemporaryFile(/tmp/multipartBody3541385725174383530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686562988,"filename":"image_14122025_05_27_54_10766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1cd199d9d8ddd3ed75b406e4cacdf93c.jpg","text":"TemporaryFile(/tmp/multipartBody7534737849850663295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686562988,"filename":"image_14122025_05_27_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/12/14/3f6120d3bc5ad1c8c235c36cafa3d75f.jpg","text":"TemporaryFile(/tmp/multipartBody8218935052796781648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686562988,"filename":"image_14122025_05_27_24_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328816","file1":"1399328814","file0":"1399328811","file4":"1399328820","file5":"1399328822","file3":"1399328818"},"map_files_photo_id_array":[{"photo_id":"1399328822","filename":"file5"},{"photo_id":"1399328816","filename":"file2"},{"photo_id":"1399328820","filename":"file4"},{"photo_id":"1399328814","filename":"file1"},{"photo_id":"1399328811","filename":"file0"},{"photo_id":"1399328818","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399328820":["hashtag1","hashtag2"]},{"1399328814":["hashtag1","hashtag2"]},{"1399328811":["hashtag1","hashtag2"]},{"1399328822":["hashtag1","hashtag2"]},{"1399328816":["hashtag1","hashtag2"]},{"1399328818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399328820, 1399328814, 1399328811, 1399328822, 1399328816, 1399328818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40133786201477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:29:03.717080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/27/image_14122025_05_28_04_9792.jpg', '/home/pi/Desktop/images/14122025/05/28/image_14122025_05_28_14_9732.jpg', '/home/pi/Desktop/images/14122025/05/28/image_14122025_05_28_23_9731.jpg', '/home/pi/Desktop/images/14122025/05/28/image_14122025_05_28_44_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/27/image_14122025_05_28_04_9792.jpg
/home/pi/Desktop/images/14122025/05/28/image_14122025_05_28_14_9732.jpg
/home/pi/Desktop/images/14122025/05/28/image_14122025_05_28_23_9731.jpg
/home/pi/Desktop/images/14122025/05/28/image_14122025_05_28_44_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":["1399328823","1399328825","1399328824","1399328827"],"photo_ids_order":["1399328823","1399328824","1399328825","1399328827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3ae274276e5fbe30f1d5d8db019baf20.jpg","text":"TemporaryFile(/tmp/multipartBody5356296992432301850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686604361,"filename":"image_14122025_05_28_04_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d1bd0b14e53874b1df271f697730526.jpg","text":"TemporaryFile(/tmp/multipartBody6882210173726629924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686604361,"filename":"image_14122025_05_28_23_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb13635756849ff83ab3eafbd31154ce.jpg","text":"TemporaryFile(/tmp/multipartBody7257228935895829957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686604361,"filename":"image_14122025_05_28_14_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f967cfef421d2d961e200c77d5a0ebdd.jpg","text":"TemporaryFile(/tmp/multipartBody9134504668920918991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686604361,"filename":"image_14122025_05_28_44_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328825","file1":"1399328824","file0":"1399328823","file3":"1399328827"},"map_files_photo_id_array":[{"photo_id":"1399328825","filename":"file2"},{"photo_id":"1399328824","filename":"file1"},{"photo_id":"1399328823","filename":"file0"},{"photo_id":"1399328827","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399328823":["hashtag1","hashtag2"]},{"1399328825":["hashtag1","hashtag2"]},{"1399328824":["hashtag1","hashtag2"]},{"1399328827":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399328823, 1399328825, 1399328824, 1399328827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.777278423309326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:29:32.708104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:29:42.580047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_15_21427.jpg', '/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_16_1608.jpg', '/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_32_15814.jpg', '/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_34_1537.jpg', '/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_35_1616.jpg', '/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_37_1564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_15_21427.jpg
/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_16_1608.jpg
/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_32_15814.jpg
/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_34_1537.jpg
/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_35_1616.jpg
/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_37_1564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328841","1399328840","1399328837","1399328833","1399328842","1399328839"],"photo_ids_order":["1399328833","1399328837","1399328839","1399328840","1399328841","1399328842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/07486cf8d078cd64e912e362d91ae78e.jpg","text":"TemporaryFile(/tmp/multipartBody7882204346215458232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686643245,"filename":"image_04112025_11_39_35_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d7345e1d0baa8b445de250e2374d945.jpg","text":"TemporaryFile(/tmp/multipartBody2674986345134058239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686643245,"filename":"image_04112025_11_39_34_1537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d27e2ce5f760e2d8c019eb1ca2cd9ed7.jpg","text":"TemporaryFile(/tmp/multipartBody59915590808526145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686643245,"filename":"image_04112025_11_39_16_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc482bc5199cd8aede46d563a3adbe66.jpg","text":"TemporaryFile(/tmp/multipartBody3835792262671576030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686643245,"filename":"image_04112025_11_39_15_21427.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e57d1b5c386699310afd5ebc6ad8ef1.jpg","text":"TemporaryFile(/tmp/multipartBody1789330376510214428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686643245,"filename":"image_04112025_11_39_37_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b663e29c2c510f02a6ce11567c1fb7d9.jpg","text":"TemporaryFile(/tmp/multipartBody1319957758979770688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686643245,"filename":"image_04112025_11_39_32_15814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328839","file1":"1399328837","file0":"1399328833","file4":"1399328841","file5":"1399328842","file3":"1399328840"},"map_files_photo_id_array":[{"photo_id":"1399328842","filename":"file5"},{"photo_id":"1399328839","filename":"file2"},{"photo_id":"1399328841","filename":"file4"},{"photo_id":"1399328837","filename":"file1"},{"photo_id":"1399328833","filename":"file0"},{"photo_id":"1399328840","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399328841":["hashtag1","hashtag2"]},{"1399328840":["hashtag1","hashtag2"]},{"1399328837":["hashtag1","hashtag2"]},{"1399328833":["hashtag1","hashtag2"]},{"1399328842":["hashtag1","hashtag2"]},{"1399328839":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399328841, 1399328840, 1399328837, 1399328833, 1399328842, 1399328839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3525824546814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:30:21.837394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/28/image_14122025_05_28_54_9686.jpg', '/home/pi/Desktop/images/14122025/05/28/image_14122025_05_29_04_10654.jpg', '/home/pi/Desktop/images/14122025/05/29/image_14122025_05_29_14_9664.jpg', '/home/pi/Desktop/images/14122025/05/29/image_14122025_05_29_34_10660.jpg', '/home/pi/Desktop/images/14122025/05/29/image_14122025_05_30_04_9673.jpg', '/home/pi/Desktop/images/14122025/05/30/image_14122025_05_30_23_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/28/image_14122025_05_28_54_9686.jpg
/home/pi/Desktop/images/14122025/05/28/image_14122025_05_29_04_10654.jpg
/home/pi/Desktop/images/14122025/05/29/image_14122025_05_29_14_9664.jpg
/home/pi/Desktop/images/14122025/05/29/image_14122025_05_29_34_10660.jpg
/home/pi/Desktop/images/14122025/05/29/image_14122025_05_30_04_9673.jpg
/home/pi/Desktop/images/14122025/05/30/image_14122025_05_30_23_9718.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5243613719940186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:30:31.838364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:30:41.825915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_38_1599.jpg', '/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_43_1575.jpg', '/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_45_1724.jpg', '/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_47_1824.jpg', '/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_49_1735.jpg', '/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_50_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_38_1599.jpg
/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_43_1575.jpg
/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_45_1724.jpg
/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_47_1824.jpg
/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_49_1735.jpg
/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_50_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":["1399328859","1399328853","1399328855","1399328858","1399328860","1399328857"],"photo_ids_order":["1399328853","1399328855","1399328857","1399328858","1399328859","1399328860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f664d7ed2611ec7c453400028bfe836.jpg","text":"TemporaryFile(/tmp/multipartBody1889071477093539826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686702487,"filename":"image_04112025_11_39_49_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e29368814fa4575834f681d75a57cc8.jpg","text":"TemporaryFile(/tmp/multipartBody9084838989092833088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686702487,"filename":"image_04112025_11_39_38_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/609d840cc92d8966c4305884616a8f97.jpg","text":"TemporaryFile(/tmp/multipartBody7387707607827079684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686702487,"filename":"image_04112025_11_39_43_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c709e46235674d541e719e90819440a4.jpg","text":"TemporaryFile(/tmp/multipartBody591169400683191055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686702487,"filename":"image_04112025_11_39_47_1824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f52047b850c6ac0ee74980c15b53620.jpg","text":"TemporaryFile(/tmp/multipartBody1230913161307263906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686702487,"filename":"image_04112025_11_39_50_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/38dfde3bf2b1890967f17d98cdc7ee3d.jpg","text":"TemporaryFile(/tmp/multipartBody5748526716930975294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686702487,"filename":"image_04112025_11_39_45_1724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328857","file1":"1399328855","file0":"1399328853","file4":"1399328859","file5":"1399328860","file3":"1399328858"},"map_files_photo_id_array":[{"photo_id":"1399328860","filename":"file5"},{"photo_id":"1399328857","filename":"file2"},{"photo_id":"1399328859","filename":"file4"},{"photo_id":"1399328855","filename":"file1"},{"photo_id":"1399328853","filename":"file0"},{"photo_id":"1399328858","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399328859":["hashtag1","hashtag2"]},{"1399328853":["hashtag1","hashtag2"]},{"1399328855":["hashtag1","hashtag2"]},{"1399328858":["hashtag1","hashtag2"]},{"1399328860":["hashtag1","hashtag2"]},{"1399328857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399328859, 1399328853, 1399328855, 1399328858, 1399328860, 1399328857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79298734664917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:31:22.072063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/28/image_14122025_05_28_54_9686.jpg', '/home/pi/Desktop/images/14122025/05/28/image_14122025_05_29_04_10654.jpg', '/home/pi/Desktop/images/14122025/05/29/image_14122025_05_29_14_9664.jpg', '/home/pi/Desktop/images/14122025/05/29/image_14122025_05_29_34_10660.jpg', '/home/pi/Desktop/images/14122025/05/29/image_14122025_05_30_04_9673.jpg', '/home/pi/Desktop/images/14122025/05/30/image_14122025_05_30_23_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/28/image_14122025_05_28_54_9686.jpg
/home/pi/Desktop/images/14122025/05/28/image_14122025_05_29_04_10654.jpg
/home/pi/Desktop/images/14122025/05/29/image_14122025_05_29_14_9664.jpg
/home/pi/Desktop/images/14122025/05/29/image_14122025_05_29_34_10660.jpg
/home/pi/Desktop/images/14122025/05/29/image_14122025_05_30_04_9673.jpg
/home/pi/Desktop/images/14122025/05/30/image_14122025_05_30_23_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":["1399328862","1399328868","1399328861","1399328864","1399328872","1399328866"],"photo_ids_order":["1399328861","1399328862","1399328864","1399328866","1399328868","1399328872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4422963f0189deda44d75162f239fbac.jpg","text":"TemporaryFile(/tmp/multipartBody5942085922265480623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686742816,"filename":"image_14122025_05_29_04_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d67ececc1450bda925ae9ade3b605d3f.jpg","text":"TemporaryFile(/tmp/multipartBody7267370796343048274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686742816,"filename":"image_14122025_05_30_04_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ccc29906646434de8e58fbb4d29f0207.jpg","text":"TemporaryFile(/tmp/multipartBody2577377811731027006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686742816,"filename":"image_14122025_05_28_54_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/65eafb01969d83158142f588bc260698.jpg","text":"TemporaryFile(/tmp/multipartBody1627407438697931226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686742816,"filename":"image_14122025_05_29_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f4c5668028f0b85fc56a77ff9cf3d7b.jpg","text":"TemporaryFile(/tmp/multipartBody7727078873469037668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686742816,"filename":"image_14122025_05_30_23_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/80d6e55a7d261b9467b7ea7cbf59c0a0.jpg","text":"TemporaryFile(/tmp/multipartBody2964986788361590503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686742816,"filename":"image_14122025_05_29_34_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328864","file1":"1399328862","file0":"1399328861","file4":"1399328868","file5":"1399328872","file3":"1399328866"},"map_files_photo_id_array":[{"photo_id":"1399328872","filename":"file5"},{"photo_id":"1399328864","filename":"file2"},{"photo_id":"1399328868","filename":"file4"},{"photo_id":"1399328862","filename":"file1"},{"photo_id":"1399328861","filename":"file0"},{"photo_id":"1399328866","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399328862":["hashtag1","hashtag2"]},{"1399328868":["hashtag1","hashtag2"]},{"1399328861":["hashtag1","hashtag2"]},{"1399328864":["hashtag1","hashtag2"]},{"1399328872":["hashtag1","hashtag2"]},{"1399328866":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399328862, 1399328868, 1399328861, 1399328864, 1399328872, 1399328866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61405086517334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:32:02.655223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/30/image_14122025_05_30_44_9593.jpg', '/home/pi/Desktop/images/14122025/05/30/image_14122025_05_30_53_9568.jpg', '/home/pi/Desktop/images/14122025/05/30/image_14122025_05_31_04_10734.jpg', '/home/pi/Desktop/images/14122025/05/31/image_14122025_05_31_23_9685.jpg', '/home/pi/Desktop/images/14122025/05/31/image_14122025_05_31_34_10748.jpg', '/home/pi/Desktop/images/14122025/05/31/image_14122025_05_31_44_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/30/image_14122025_05_30_44_9593.jpg
/home/pi/Desktop/images/14122025/05/30/image_14122025_05_30_53_9568.jpg
/home/pi/Desktop/images/14122025/05/30/image_14122025_05_31_04_10734.jpg
/home/pi/Desktop/images/14122025/05/31/image_14122025_05_31_23_9685.jpg
/home/pi/Desktop/images/14122025/05/31/image_14122025_05_31_34_10748.jpg
/home/pi/Desktop/images/14122025/05/31/image_14122025_05_31_44_9699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328883","1399328886","1399328882","1399328879","1399328884","1399328881"],"photo_ids_order":["1399328879","1399328881","1399328882","1399328883","1399328884","1399328886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ae2c463884ea470399a92fed58d0bb7.jpg","text":"TemporaryFile(/tmp/multipartBody2968184860843494944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686783285,"filename":"image_14122025_05_31_23_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c95fc47eb1694b341028c0d120b7fb5a.jpg","text":"TemporaryFile(/tmp/multipartBody686610918213909044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686783285,"filename":"image_14122025_05_31_44_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/70ed0e8378c205723c81119178c25fa4.jpg","text":"TemporaryFile(/tmp/multipartBody5234083658588298384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686783285,"filename":"image_14122025_05_31_04_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e3e09a2304a9ba92d4e5abaad22b5786.jpg","text":"TemporaryFile(/tmp/multipartBody8280514728750999845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686783285,"filename":"image_14122025_05_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/12/14/7b418c7c7f8effb0d2b72108eca865da.jpg","text":"TemporaryFile(/tmp/multipartBody6597033661522154277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686783285,"filename":"image_14122025_05_31_34_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bacaffbca165b9383c864cf895e20bbe.jpg","text":"TemporaryFile(/tmp/multipartBody2212460045763271904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686783285,"filename":"image_14122025_05_30_53_9568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328882","file1":"1399328881","file0":"1399328879","file4":"1399328884","file5":"1399328886","file3":"1399328883"},"map_files_photo_id_array":[{"photo_id":"1399328886","filename":"file5"},{"photo_id":"1399328882","filename":"file2"},{"photo_id":"1399328884","filename":"file4"},{"photo_id":"1399328881","filename":"file1"},{"photo_id":"1399328879","filename":"file0"},{"photo_id":"1399328883","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399328883":["hashtag1","hashtag2"]},{"1399328886":["hashtag1","hashtag2"]},{"1399328882":["hashtag1","hashtag2"]},{"1399328879":["hashtag1","hashtag2"]},{"1399328884":["hashtag1","hashtag2"]},{"1399328881":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399328883, 1399328886, 1399328882, 1399328879, 1399328884, 1399328881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.112778663635254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:32:42.216473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_53_2423.jpg', '/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_54_1640.jpg', '/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_56_1533.jpg', '/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_57_1615.jpg', '/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_59_1871.jpg', '/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_06_3014.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_53_2423.jpg
/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_54_1640.jpg
/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_56_1533.jpg
/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_57_1615.jpg
/home/pi/Desktop/images/04112025/11/39/image_04112025_11_39_59_1871.jpg
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_06_3014.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328898","1399328891","1399328894","1399328896","1399328892","1399328895"],"photo_ids_order":["1399328891","1399328892","1399328894","1399328895","1399328896","1399328898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ed1be499f1bd477dcbb1f0560d3da44.jpg","text":"TemporaryFile(/tmp/multipartBody4068463961585291908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686822885,"filename":"image_04112025_11_41_06_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6a059784af3abfb30bbb9fcf0bb7676.jpg","text":"TemporaryFile(/tmp/multipartBody7662498472296621752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686822885,"filename":"image_04112025_11_39_53_2423.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/97d7e3d2ac75ae35696f72d6996cb1af.jpg","text":"TemporaryFile(/tmp/multipartBody6748698484496841427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686822885,"filename":"image_04112025_11_39_56_1533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0a79620435da5e3bb2b4a879d10941e9.jpg","text":"TemporaryFile(/tmp/multipartBody5398695764500416374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686822885,"filename":"image_04112025_11_39_59_1871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/302e68027c7b49bf81c35d87b3615ca6.jpg","text":"TemporaryFile(/tmp/multipartBody6915994050239408405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686822885,"filename":"image_04112025_11_39_54_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e0d450ba9f8ab1996f6d217abb776b54.jpg","text":"TemporaryFile(/tmp/multipartBody4085259461039286175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686822885,"filename":"image_04112025_11_39_57_1615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328894","file1":"1399328892","file0":"1399328891","file4":"1399328896","file5":"1399328898","file3":"1399328895"},"map_files_photo_id_array":[{"photo_id":"1399328898","filename":"file5"},{"photo_id":"1399328894","filename":"file2"},{"photo_id":"1399328896","filename":"file4"},{"photo_id":"1399328892","filename":"file1"},{"photo_id":"1399328891","filename":"file0"},{"photo_id":"1399328895","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399328898":["hashtag1","hashtag2"]},{"1399328891":["hashtag1","hashtag2"]},{"1399328894":["hashtag1","hashtag2"]},{"1399328896":["hashtag1","hashtag2"]},{"1399328892":["hashtag1","hashtag2"]},{"1399328895":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399328898, 1399328891, 1399328894, 1399328896, 1399328892, 1399328895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35999059677124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:33:22.603942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/31/image_14122025_05_31_54_9798.jpg', '/home/pi/Desktop/images/14122025/05/32/image_14122025_05_32_43_9761.jpg', '/home/pi/Desktop/images/14122025/05/33/image_14122025_05_33_13_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/31/image_14122025_05_31_54_9798.jpg
/home/pi/Desktop/images/14122025/05/32/image_14122025_05_32_43_9761.jpg
/home/pi/Desktop/images/14122025/05/33/image_14122025_05_33_13_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328904","1399328900","1399328902"],"photo_ids_order":["1399328900","1399328902","1399328904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0bab6dc13fbad2afaa0c51247b88b24e.jpg","text":"TemporaryFile(/tmp/multipartBody3577684959815400819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686863110,"filename":"image_14122025_05_33_13_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/762b1410ce666eda353bf2554f5ddd12.jpg","text":"TemporaryFile(/tmp/multipartBody5618614682656879291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686863110,"filename":"image_14122025_05_31_54_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f95cbfa48859657369554ed50728c69.jpg","text":"TemporaryFile(/tmp/multipartBody4116776127553646599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686863110,"filename":"image_14122025_05_32_43_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328904","file1":"1399328902","file0":"1399328900"},"map_files_photo_id_array":[{"photo_id":"1399328904","filename":"file2"},{"photo_id":"1399328902","filename":"file1"},{"photo_id":"1399328900","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399328904":["hashtag1","hashtag2"]},{"1399328900":["hashtag1","hashtag2"]},{"1399328902":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399328904, 1399328900, 1399328902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.33451771736145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:34:03.386260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:34:12.801753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:34:22.725375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/33/image_14122025_05_33_24_10617.jpg', '/home/pi/Desktop/images/14122025/05/33/image_14122025_05_34_03_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/33/image_14122025_05_33_24_10617.jpg
/home/pi/Desktop/images/14122025/05/33/image_14122025_05_34_03_9583.jpg
 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":["1399328913","1399328911"],"photo_ids_order":["1399328911","1399328913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c51d0a3839cd9fa496d58fce1b9115c6.jpg","text":"TemporaryFile(/tmp/multipartBody8206863286299580181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686923177,"filename":"image_14122025_05_34_03_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ece043acf0715551072d8d26c3b0e03.jpg","text":"TemporaryFile(/tmp/multipartBody6080429435152576416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686923177,"filename":"image_14122025_05_33_24_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399328913","file0":"1399328911"},"map_files_photo_id_array":[{"photo_id":"1399328913","filename":"file1"},{"photo_id":"1399328911","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399328913":["hashtag1","hashtag2"]},{"1399328911":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399328913, 1399328911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.618043661117554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:35:02.814702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:35:12.059385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:35:22.070279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/34/image_14122025_05_34_14_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/34/image_14122025_05_34_14_10730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328919"],"photo_id":"1399328919","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e06c2681cf82ab0d11eb35f85d2b6e84.jpg","text":"TemporaryFile(/tmp/multipartBody3242422919871041849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765686982498,"filename":"image_14122025_05_34_14_10730.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399328919"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399328919"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.40878438949585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:35:42.035391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_10_3670.jpg', '/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_13_2584.jpg', '/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_16_3606.jpg', '/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_19_2737.jpg', '/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_22_2749.jpg', '/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_24_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_10_3670.jpg
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_13_2584.jpg
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_16_3606.jpg
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_19_2737.jpg
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_22_2749.jpg
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_24_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":["1399328931","1399328928","1399328930","1399328924","1399328927","1399328929"],"photo_ids_order":["1399328924","1399328927","1399328928","1399328929","1399328930","1399328931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c076765150fb0c3666f9095ed35c959b.jpg","text":"TemporaryFile(/tmp/multipartBody992359963209997832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687002698,"filename":"image_04112025_11_41_24_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f09fb60e6f0b51797f658f5da32b753.jpg","text":"TemporaryFile(/tmp/multipartBody3237319745003961383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687002698,"filename":"image_04112025_11_41_16_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4fc45598eb67c1a7434ce3b94def762f.jpg","text":"TemporaryFile(/tmp/multipartBody7441079307815994918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687002698,"filename":"image_04112025_11_41_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/12/14/eae647ac3c3e5f81c76591d89c2bca38.jpg","text":"TemporaryFile(/tmp/multipartBody1340710466337226762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687002698,"filename":"image_04112025_11_41_10_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f942cf26873c7d9184bf04d1386821c.jpg","text":"TemporaryFile(/tmp/multipartBody7637667329436509151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687002698,"filename":"image_04112025_11_41_13_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ad70fbee16d5f64e05cce17ce7c2128.jpg","text":"TemporaryFile(/tmp/multipartBody2998592264816515352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687002698,"filename":"image_04112025_11_41_19_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328928","file1":"1399328927","file0":"1399328924","file4":"1399328930","file5":"1399328931","file3":"1399328929"},"map_files_photo_id_array":[{"photo_id":"1399328931","filename":"file5"},{"photo_id":"1399328928","filename":"file2"},{"photo_id":"1399328930","filename":"file4"},{"photo_id":"1399328927","filename":"file1"},{"photo_id":"1399328924","filename":"file0"},{"photo_id":"1399328929","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399328931":["hashtag1","hashtag2"]},{"1399328928":["hashtag1","hashtag2"]},{"1399328930":["hashtag1","hashtag2"]},{"1399328924":["hashtag1","hashtag2"]},{"1399328927":["hashtag1","hashtag2"]},{"1399328929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399328931, 1399328928, 1399328930, 1399328924, 1399328927, 1399328929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83105754852295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:36:22.268455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_28_3561.jpg', '/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_34_6154.jpg', '/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_36_1662.jpg', '/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_38_1870.jpg', '/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_40_2516.jpg', '/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_43_2559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_28_3561.jpg
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_34_6154.jpg
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_36_1662.jpg
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_38_1870.jpg
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_40_2516.jpg
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_43_2559.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6565039157867432 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:36:32.350913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:36:42.253702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_28_3561.jpg', '/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_34_6154.jpg', '/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_36_1662.jpg', '/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_38_1870.jpg', '/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_40_2516.jpg', '/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_43_2559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_28_3561.jpg
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_34_6154.jpg
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_36_1662.jpg
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_38_1870.jpg
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_40_2516.jpg
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_43_2559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328946","1399328949","1399328940","1399328948","1399328947","1399328944"],"photo_ids_order":["1399328940","1399328944","1399328946","1399328947","1399328948","1399328949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8050ac0a3af10853c9ced37eb0457728.jpg","text":"TemporaryFile(/tmp/multipartBody3721677874837729481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687062934,"filename":"image_04112025_11_41_36_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9351a52750a62c64d9572ab88305ba95.jpg","text":"TemporaryFile(/tmp/multipartBody4690223474221071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687062934,"filename":"image_04112025_11_41_43_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a6f48b732342f70b93332b13f7dc88a7.jpg","text":"TemporaryFile(/tmp/multipartBody1404927336924160769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687062934,"filename":"image_04112025_11_41_28_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1951b1fb216ccd0e243deff49c17498c.jpg","text":"TemporaryFile(/tmp/multipartBody6569363481746004507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687062934,"filename":"image_04112025_11_41_40_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f29562301e9c1d335ee57f2d82906b55.jpg","text":"TemporaryFile(/tmp/multipartBody6807099848444542513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687062934,"filename":"image_04112025_11_41_38_1870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b0e265ed8bdfec04b3fb4cadeaf8c39e.jpg","text":"TemporaryFile(/tmp/multipartBody759766609661508196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687062934,"filename":"image_04112025_11_41_34_6154.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328946","file1":"1399328944","file0":"1399328940","file4":"1399328948","file5":"1399328949","file3":"1399328947"},"map_files_photo_id_array":[{"photo_id":"1399328949","filename":"file5"},{"photo_id":"1399328946","filename":"file2"},{"photo_id":"1399328948","filename":"file4"},{"photo_id":"1399328944","filename":"file1"},{"photo_id":"1399328940","filename":"file0"},{"photo_id":"1399328947","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399328946":["hashtag1","hashtag2"]},{"1399328949":["hashtag1","hashtag2"]},{"1399328940":["hashtag1","hashtag2"]},{"1399328948":["hashtag1","hashtag2"]},{"1399328947":["hashtag1","hashtag2"]},{"1399328944":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399328946, 1399328949, 1399328940, 1399328948, 1399328947, 1399328944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88148546218872 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:37:22.605039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/35/image_14122025_05_35_54_9843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/35/image_14122025_05_35_54_9843.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328950"],"photo_id":"1399328950","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b707fe8a4ccfb17659753eabac4d0f7.jpg","text":"TemporaryFile(/tmp/multipartBody5205154940040068573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687103035,"filename":"image_14122025_05_35_54_9843.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399328950"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399328950"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.76268982887268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:37:42.485612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_45_2700.jpg', '/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_49_3587.jpg', '/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_52_2554.jpg', '/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_55_3631.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_01_6284.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_03_1606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_45_2700.jpg
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_49_3587.jpg
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_52_2554.jpg
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_55_3631.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_01_6284.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_03_1606.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5596170425415039 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:38:03.117093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:38:12.711881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:38:22.800876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/37/image_14122025_05_37_44_9873.jpg', '/home/pi/Desktop/images/14122025/05/37/image_14122025_05_38_04_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/37/image_14122025_05_37_44_9873.jpg
/home/pi/Desktop/images/14122025/05/37/image_14122025_05_38_04_9590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328964","1399328966"],"photo_ids_order":["1399328964","1399328966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/768117f735cf77be83d65af38e1558d2.jpg","text":"TemporaryFile(/tmp/multipartBody4137111875265500047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687163258,"filename":"image_14122025_05_37_44_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d2f27ce8024a5187929724ee8cbd22b.jpg","text":"TemporaryFile(/tmp/multipartBody8177055544140605028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687163258,"filename":"image_14122025_05_38_04_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399328966","file0":"1399328964"},"map_files_photo_id_array":[{"photo_id":"1399328966","filename":"file1"},{"photo_id":"1399328964","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399328964":["hashtag1","hashtag2"]},{"1399328966":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399328964, 1399328966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.997772932052612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:38:42.787058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_45_2700.jpg', '/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_49_3587.jpg', '/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_52_2554.jpg', '/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_55_3631.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_01_6284.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_03_1606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_45_2700.jpg
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_49_3587.jpg
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_52_2554.jpg
/home/pi/Desktop/images/04112025/11/41/image_04112025_11_41_55_3631.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_01_6284.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_03_1606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328976","1399328972","1399328975","1399328978","1399328977","1399328974"],"photo_ids_order":["1399328972","1399328974","1399328975","1399328976","1399328977","1399328978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9567d4c04a3dc507a505ab00fbbfe223.jpg","text":"TemporaryFile(/tmp/multipartBody6980789165363991377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687183416,"filename":"image_04112025_11_41_55_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a90f1be3c44ef6db819c15020e58bca.jpg","text":"TemporaryFile(/tmp/multipartBody6813997353156071453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687183416,"filename":"image_04112025_11_41_45_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24ce1c8694fc65fc54a487d68871ae87.jpg","text":"TemporaryFile(/tmp/multipartBody5391801295270790174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687183416,"filename":"image_04112025_11_41_52_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a73476badf4316742e3a1ec40db46dca.jpg","text":"TemporaryFile(/tmp/multipartBody7524156701564125537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687183416,"filename":"image_04112025_11_42_03_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5399107d3502be393e48951d5d831fc9.jpg","text":"TemporaryFile(/tmp/multipartBody4504840686395255501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687183416,"filename":"image_04112025_11_42_01_6284.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/02e81bd0817049b5744196c723c448a3.jpg","text":"TemporaryFile(/tmp/multipartBody8921995997715578116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687183416,"filename":"image_04112025_11_41_49_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328975","file1":"1399328974","file0":"1399328972","file4":"1399328977","file5":"1399328978","file3":"1399328976"},"map_files_photo_id_array":[{"photo_id":"1399328978","filename":"file5"},{"photo_id":"1399328975","filename":"file2"},{"photo_id":"1399328977","filename":"file4"},{"photo_id":"1399328974","filename":"file1"},{"photo_id":"1399328972","filename":"file0"},{"photo_id":"1399328976","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399328976":["hashtag1","hashtag2"]},{"1399328972":["hashtag1","hashtag2"]},{"1399328975":["hashtag1","hashtag2"]},{"1399328978":["hashtag1","hashtag2"]},{"1399328977":["hashtag1","hashtag2"]},{"1399328974":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399328976, 1399328972, 1399328975, 1399328978, 1399328977, 1399328974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33823895454407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:39:32.083774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:39:42.127766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_05_1616.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_06_1796.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_10_3544.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_21_10804.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_38_17548.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_40_1664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_05_1616.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_06_1796.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_10_3544.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_21_10804.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_38_17548.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_40_1664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399328990","1399328984","1399328987","1399328989","1399328986","1399328988"],"photo_ids_order":["1399328984","1399328986","1399328987","1399328988","1399328989","1399328990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad17c17a25ea18efac83561b3fc42b98.jpg","text":"TemporaryFile(/tmp/multipartBody976791250354679483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687242795,"filename":"image_04112025_11_42_40_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5624f8762aa4d5ca1dd18ca8bfa2c6a0.jpg","text":"TemporaryFile(/tmp/multipartBody4224763323287816666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687242795,"filename":"image_04112025_11_42_05_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db9e48fe07c3537b1d97bda1c81b15cb.jpg","text":"TemporaryFile(/tmp/multipartBody4900750189598326127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687242795,"filename":"image_04112025_11_42_10_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/48e5103a8a99b147c8301d675ce9c1f7.jpg","text":"TemporaryFile(/tmp/multipartBody4527224955208440547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687242795,"filename":"image_04112025_11_42_38_17548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d291928b0c35b301477ba432fb233f62.jpg","text":"TemporaryFile(/tmp/multipartBody5994796461500352979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687242795,"filename":"image_04112025_11_42_06_1796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ac4c79a3d64026752ecf7420344dcc19.jpg","text":"TemporaryFile(/tmp/multipartBody3483515282519146202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687242795,"filename":"image_04112025_11_42_21_10804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328987","file1":"1399328986","file0":"1399328984","file4":"1399328989","file5":"1399328990","file3":"1399328988"},"map_files_photo_id_array":[{"photo_id":"1399328990","filename":"file5"},{"photo_id":"1399328987","filename":"file2"},{"photo_id":"1399328989","filename":"file4"},{"photo_id":"1399328986","filename":"file1"},{"photo_id":"1399328984","filename":"file0"},{"photo_id":"1399328988","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399328990":["hashtag1","hashtag2"]},{"1399328984":["hashtag1","hashtag2"]},{"1399328987":["hashtag1","hashtag2"]},{"1399328989":["hashtag1","hashtag2"]},{"1399328986":["hashtag1","hashtag2"]},{"1399328988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399328990, 1399328984, 1399328987, 1399328989, 1399328986, 1399328988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72499442100525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:40:22.359346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/38/image_14122025_05_38_43_9798.jpg', '/home/pi/Desktop/images/14122025/05/38/image_14122025_05_39_04_9603.jpg', '/home/pi/Desktop/images/14122025/05/39/image_14122025_05_39_44_10649.jpg', '/home/pi/Desktop/images/14122025/05/39/image_14122025_05_39_54_9697.jpg', '/home/pi/Desktop/images/14122025/05/39/image_14122025_05_40_03_9620.jpg', '/home/pi/Desktop/images/14122025/05/40/image_14122025_05_40_34_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/38/image_14122025_05_38_43_9798.jpg
/home/pi/Desktop/images/14122025/05/38/image_14122025_05_39_04_9603.jpg
/home/pi/Desktop/images/14122025/05/39/image_14122025_05_39_44_10649.jpg
/home/pi/Desktop/images/14122025/05/39/image_14122025_05_39_54_9697.jpg
/home/pi/Desktop/images/14122025/05/39/image_14122025_05_40_03_9620.jpg
/home/pi/Desktop/images/14122025/05/40/image_14122025_05_40_34_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":["1399329002","1399328996","1399328998","1399328992","1399328991","1399328994"],"photo_ids_order":["1399328991","1399328992","1399328994","1399328996","1399328998","1399329002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fd23b2bc60b16ad1775e70a4016a0605.jpg","text":"TemporaryFile(/tmp/multipartBody1477445627298836772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687282958,"filename":"image_14122025_05_40_34_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b251cf70561cec77483b56c629f4a116.jpg","text":"TemporaryFile(/tmp/multipartBody2539365690420623156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687282958,"filename":"image_14122025_05_39_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/12/14/4b79747837c3bc955ea9713571bd4496.jpg","text":"TemporaryFile(/tmp/multipartBody2751358050992306653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687282958,"filename":"image_14122025_05_40_03_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/11363c89584197c35a974943c3eb9ae6.jpg","text":"TemporaryFile(/tmp/multipartBody8148583178473498010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687282958,"filename":"image_14122025_05_39_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/12/14/ab1316a93ab810caff729e858ab6e234.jpg","text":"TemporaryFile(/tmp/multipartBody1752428850413445323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687282958,"filename":"image_14122025_05_38_43_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5bd072694b379cf061e3c1eb89b1fc71.jpg","text":"TemporaryFile(/tmp/multipartBody3133727679026570644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687282958,"filename":"image_14122025_05_39_44_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399328994","file1":"1399328992","file0":"1399328991","file4":"1399328998","file5":"1399329002","file3":"1399328996"},"map_files_photo_id_array":[{"photo_id":"1399329002","filename":"file5"},{"photo_id":"1399328994","filename":"file2"},{"photo_id":"1399328998","filename":"file4"},{"photo_id":"1399328992","filename":"file1"},{"photo_id":"1399328991","filename":"file0"},{"photo_id":"1399328996","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329002":["hashtag1","hashtag2"]},{"1399328996":["hashtag1","hashtag2"]},{"1399328998":["hashtag1","hashtag2"]},{"1399328992":["hashtag1","hashtag2"]},{"1399328991":["hashtag1","hashtag2"]},{"1399328994":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329002, 1399328996, 1399328998, 1399328992, 1399328991, 1399328994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65109634399414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:41:03.217289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:41:12.600021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:41:22.716979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/40/image_14122025_05_40_43_9651.jpg', '/home/pi/Desktop/images/14122025/05/41/image_14122025_05_41_34_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/40/image_14122025_05_40_43_9651.jpg
/home/pi/Desktop/images/14122025/05/41/image_14122025_05_41_34_10713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329012","1399329009"],"photo_ids_order":["1399329009","1399329012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ed820ce26d1de9ddc6c399567a62398a.jpg","text":"TemporaryFile(/tmp/multipartBody2690010837044576122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687343594,"filename":"image_14122025_05_41_34_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a30088342baf9cb6b75f18b2256a7d5e.jpg","text":"TemporaryFile(/tmp/multipartBody3672837183302472927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687343594,"filename":"image_14122025_05_40_43_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399329012","file0":"1399329009"},"map_files_photo_id_array":[{"photo_id":"1399329012","filename":"file1"},{"photo_id":"1399329009","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329012":["hashtag1","hashtag2"]},{"1399329009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329012, 1399329009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.732643842697144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:41:42.552144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_42_1617.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_43_1596.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_47_3946.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_49_1694.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_51_1821.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_52_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_42_1617.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_43_1596.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_47_3946.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_49_1694.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_51_1821.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_52_1646.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5607442855834961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:42:03.174311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:42:12.718284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:42:22.735696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/41/image_14122025_05_41_53_9723.jpg', '/home/pi/Desktop/images/14122025/05/41/image_14122025_05_42_04_10626.jpg', '/home/pi/Desktop/images/14122025/05/42/image_14122025_05_42_14_9670.jpg', '/home/pi/Desktop/images/14122025/05/42/image_14122025_05_42_34_10750.jpg', '/home/pi/Desktop/images/14122025/05/42/image_14122025_05_42_44_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/41/image_14122025_05_41_53_9723.jpg
/home/pi/Desktop/images/14122025/05/41/image_14122025_05_42_04_10626.jpg
/home/pi/Desktop/images/14122025/05/42/image_14122025_05_42_14_9670.jpg
/home/pi/Desktop/images/14122025/05/42/image_14122025_05_42_34_10750.jpg
/home/pi/Desktop/images/14122025/05/42/image_14122025_05_42_44_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329030","1399329024","1399329032","1399329026","1399329028"],"photo_ids_order":["1399329024","1399329026","1399329028","1399329030","1399329032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c7b8d8cbe75b81c2f7f569f277fe3788.jpg","text":"TemporaryFile(/tmp/multipartBody2253459165682316471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687403322,"filename":"image_14122025_05_42_34_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/daae8b77508b58efaf866c3485a36c9d.jpg","text":"TemporaryFile(/tmp/multipartBody5148085142397855827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687403322,"filename":"image_14122025_05_41_53_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b7409cf75074a7cef276b2638af3ea37.jpg","text":"TemporaryFile(/tmp/multipartBody2154615116114762204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687403322,"filename":"image_14122025_05_42_44_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e27bc3f6b11aa361bf3b6f95a322a70a.jpg","text":"TemporaryFile(/tmp/multipartBody4196405680283401659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687403322,"filename":"image_14122025_05_42_04_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a4706eb3c9c58d7f4cae1fde178a55eb.jpg","text":"TemporaryFile(/tmp/multipartBody8132284216152129200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687403322,"filename":"image_14122025_05_42_14_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329028","file1":"1399329026","file0":"1399329024","file4":"1399329032","file3":"1399329030"},"map_files_photo_id_array":[{"photo_id":"1399329028","filename":"file2"},{"photo_id":"1399329032","filename":"file4"},{"photo_id":"1399329026","filename":"file1"},{"photo_id":"1399329024","filename":"file0"},{"photo_id":"1399329030","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329030":["hashtag1","hashtag2"]},{"1399329024":["hashtag1","hashtag2"]},{"1399329032":["hashtag1","hashtag2"]},{"1399329026":["hashtag1","hashtag2"]},{"1399329028":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329030, 1399329024, 1399329032, 1399329026, 1399329028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.848580360412598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:43:02.954163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:43:12.122587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:43:22.084174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/42/image_14122025_05_42_53_9550.jpg', '/home/pi/Desktop/images/14122025/05/42/image_14122025_05_43_04_10623.jpg', '/home/pi/Desktop/images/14122025/05/43/image_14122025_05_43_14_9717.jpg', '/home/pi/Desktop/images/14122025/05/43/image_14122025_05_43_23_9661.jpg', '/home/pi/Desktop/images/14122025/05/43/image_14122025_05_43_44_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/42/image_14122025_05_42_53_9550.jpg
/home/pi/Desktop/images/14122025/05/42/image_14122025_05_43_04_10623.jpg
/home/pi/Desktop/images/14122025/05/43/image_14122025_05_43_14_9717.jpg
/home/pi/Desktop/images/14122025/05/43/image_14122025_05_43_23_9661.jpg
/home/pi/Desktop/images/14122025/05/43/image_14122025_05_43_44_9804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329045","1399329035","1399329038","1399329040","1399329042"],"photo_ids_order":["1399329035","1399329038","1399329040","1399329042","1399329045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a472c666c41cdffc2af1b3a4118f5bdd.jpg","text":"TemporaryFile(/tmp/multipartBody9048548374432872155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687462649,"filename":"image_14122025_05_43_44_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6a935619acc40ae70d1c53b2b6f0fa4d.jpg","text":"TemporaryFile(/tmp/multipartBody6688378837697569402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687462649,"filename":"image_14122025_05_42_53_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf7d503e46465958dfd3326ca5b3fa4a.jpg","text":"TemporaryFile(/tmp/multipartBody2298866227475409149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687462649,"filename":"image_14122025_05_43_04_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/31f6aafa537e2a1c6b74e4da8503410a.jpg","text":"TemporaryFile(/tmp/multipartBody3938107325657198035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687462649,"filename":"image_14122025_05_43_14_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a2ae6f30cb40392b1c246fe5fd2cf694.jpg","text":"TemporaryFile(/tmp/multipartBody5129384791751325801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687462649,"filename":"image_14122025_05_43_23_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329040","file1":"1399329038","file0":"1399329035","file4":"1399329045","file3":"1399329042"},"map_files_photo_id_array":[{"photo_id":"1399329040","filename":"file2"},{"photo_id":"1399329045","filename":"file4"},{"photo_id":"1399329038","filename":"file1"},{"photo_id":"1399329035","filename":"file0"},{"photo_id":"1399329042","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329045":["hashtag1","hashtag2"]},{"1399329035":["hashtag1","hashtag2"]},{"1399329038":["hashtag1","hashtag2"]},{"1399329040":["hashtag1","hashtag2"]},{"1399329042":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329045, 1399329035, 1399329038, 1399329040, 1399329042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.51844143867493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:44:03.053146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:44:12.333590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:44:22.354465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_42_1617.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_43_1596.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_47_3946.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_49_1694.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_51_1821.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_52_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_42_1617.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_43_1596.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_47_3946.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_49_1694.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_51_1821.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_52_1646.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5196027755737305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:44:32.347776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:44:42.342572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_42_1617.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_43_1596.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_47_3946.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_49_1694.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_51_1821.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_52_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_42_1617.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_43_1596.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_47_3946.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_49_1694.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_51_1821.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_52_1646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329066","1399329065","1399329064","1399329067","1399329061","1399329063"],"photo_ids_order":["1399329061","1399329063","1399329064","1399329065","1399329066","1399329067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fbd817041f29770e46d859ff94f2d689.jpg","text":"TemporaryFile(/tmp/multipartBody1593152335036019194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687542934,"filename":"image_04112025_11_42_51_1821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b1b68ce70fb33a27034c068faf326e83.jpg","text":"TemporaryFile(/tmp/multipartBody5286363522235623543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687542934,"filename":"image_04112025_11_42_49_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d602cedff3d46dca0baa7dcb501642b.jpg","text":"TemporaryFile(/tmp/multipartBody1828288788707273618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687542934,"filename":"image_04112025_11_42_47_3946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f81b3e89e73d941f24d02a0dc2b637b.jpg","text":"TemporaryFile(/tmp/multipartBody7859792374014698739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687542934,"filename":"image_04112025_11_42_52_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/901c4fc054d7a16159a83b0b91219c7f.jpg","text":"TemporaryFile(/tmp/multipartBody2097138609169655413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687542934,"filename":"image_04112025_11_42_42_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f17a3bd1a0f9aa48d6eb0ef2e8356f40.jpg","text":"TemporaryFile(/tmp/multipartBody6184656027930289812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687542934,"filename":"image_04112025_11_42_43_1596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329064","file1":"1399329063","file0":"1399329061","file4":"1399329066","file5":"1399329067","file3":"1399329065"},"map_files_photo_id_array":[{"photo_id":"1399329067","filename":"file5"},{"photo_id":"1399329064","filename":"file2"},{"photo_id":"1399329066","filename":"file4"},{"photo_id":"1399329063","filename":"file1"},{"photo_id":"1399329061","filename":"file0"},{"photo_id":"1399329065","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329066":["hashtag1","hashtag2"]},{"1399329065":["hashtag1","hashtag2"]},{"1399329064":["hashtag1","hashtag2"]},{"1399329067":["hashtag1","hashtag2"]},{"1399329061":["hashtag1","hashtag2"]},{"1399329063":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329066, 1399329065, 1399329064, 1399329067, 1399329061, 1399329063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54982256889343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:45:22.639204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/43/image_14122025_05_43_53_9661.jpg', '/home/pi/Desktop/images/14122025/05/44/image_14122025_05_45_03_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/43/image_14122025_05_43_53_9661.jpg
/home/pi/Desktop/images/14122025/05/44/image_14122025_05_45_03_9833.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329071","1399329068"],"photo_ids_order":["1399329068","1399329071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a4e114b23f922690882c425e7e768044.jpg","text":"TemporaryFile(/tmp/multipartBody1391623274626406768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687583104,"filename":"image_14122025_05_45_03_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a613ef71ea1fc6e3b6825bc2737abf1.jpg","text":"TemporaryFile(/tmp/multipartBody5053881889356311493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687583104,"filename":"image_14122025_05_43_53_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399329071","file0":"1399329068"},"map_files_photo_id_array":[{"photo_id":"1399329071","filename":"file1"},{"photo_id":"1399329068","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329071":["hashtag1","hashtag2"]},{"1399329068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329071, 1399329068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.417917490005493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:45:42.522031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_54_1633.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_56_1615.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_57_1575.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_59_1788.jpg', '/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_01_1603.jpg', '/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_02_1616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_54_1633.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_56_1615.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_57_1575.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_59_1788.jpg
/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_01_1603.jpg
/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_02_1616.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5592286586761475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:46:03.142694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:46:12.689200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:46:22.744392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/45/image_14122025_05_45_54_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/45/image_14122025_05_45_54_9597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329083"],"photo_id":"1399329083","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a9e4a1e6330159411838fc2311db179.jpg","text":"TemporaryFile(/tmp/multipartBody3906745734132428645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687643168,"filename":"image_14122025_05_45_54_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399329083"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399329083"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.173524618148804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:46:42.715232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_54_1633.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_56_1615.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_57_1575.jpg', '/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_59_1788.jpg', '/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_01_1603.jpg', '/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_02_1616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_54_1633.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_56_1615.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_57_1575.jpg
/home/pi/Desktop/images/04112025/11/42/image_04112025_11_42_59_1788.jpg
/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_01_1603.jpg
/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_02_1616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329092","1399329095","1399329094","1399329090","1399329093","1399329096"],"photo_ids_order":["1399329090","1399329092","1399329093","1399329094","1399329095","1399329096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3204112e1b5eb94be7c58a6ffa50a496.jpg","text":"TemporaryFile(/tmp/multipartBody3369161101429416518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687663276,"filename":"image_04112025_11_42_56_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1a4a951d0864d39736c1a3a93ca12d0.jpg","text":"TemporaryFile(/tmp/multipartBody7932079858074679691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687663276,"filename":"image_04112025_11_43_01_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4722d7b152557da182f37d9dbb75176c.jpg","text":"TemporaryFile(/tmp/multipartBody8078725678751286234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687663276,"filename":"image_04112025_11_42_59_1788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/079cfc4eb091ec2eb85c8b82b38a3fb6.jpg","text":"TemporaryFile(/tmp/multipartBody6723238824127106013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687663276,"filename":"image_04112025_11_42_54_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/106bdd84094a2e2f866f67776f4e3a47.jpg","text":"TemporaryFile(/tmp/multipartBody6140065120673073129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687663276,"filename":"image_04112025_11_42_57_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/060c3d175f190f3f80ce6cb4c9e7c500.jpg","text":"TemporaryFile(/tmp/multipartBody236746536642289635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687663276,"filename":"image_04112025_11_43_02_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329093","file1":"1399329092","file0":"1399329090","file4":"1399329095","file5":"1399329096","file3":"1399329094"},"map_files_photo_id_array":[{"photo_id":"1399329096","filename":"file5"},{"photo_id":"1399329093","filename":"file2"},{"photo_id":"1399329095","filename":"file4"},{"photo_id":"1399329092","filename":"file1"},{"photo_id":"1399329090","filename":"file0"},{"photo_id":"1399329094","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329092":["hashtag1","hashtag2"]},{"1399329095":["hashtag1","hashtag2"]},{"1399329094":["hashtag1","hashtag2"]},{"1399329090":["hashtag1","hashtag2"]},{"1399329093":["hashtag1","hashtag2"]},{"1399329096":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329092, 1399329095, 1399329094, 1399329090, 1399329093, 1399329096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0042507648468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:47:22.003918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/45/image_14122025_05_46_03_9629.jpg', '/home/pi/Desktop/images/14122025/05/47/image_14122025_05_47_33_9727.jpg', '/home/pi/Desktop/images/14122025/05/47/image_14122025_05_47_44_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/45/image_14122025_05_46_03_9629.jpg
/home/pi/Desktop/images/14122025/05/47/image_14122025_05_47_33_9727.jpg
/home/pi/Desktop/images/14122025/05/47/image_14122025_05_47_44_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":["1399329101","1399329097","1399329099"],"photo_ids_order":["1399329097","1399329099","1399329101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/57fabee2b6385eebe0a83e361e31ae49.jpg","text":"TemporaryFile(/tmp/multipartBody6501291708300109023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687702489,"filename":"image_14122025_05_47_44_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88538b67319ac217e5422f85c1e70678.jpg","text":"TemporaryFile(/tmp/multipartBody5240850503871486966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687702489,"filename":"image_14122025_05_46_03_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a7df1fdcd23a5d054da0680c026c75f5.jpg","text":"TemporaryFile(/tmp/multipartBody3159000056718089149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687702489,"filename":"image_14122025_05_47_33_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329101","file1":"1399329099","file0":"1399329097"},"map_files_photo_id_array":[{"photo_id":"1399329101","filename":"file2"},{"photo_id":"1399329099","filename":"file1"},{"photo_id":"1399329097","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329101":["hashtag1","hashtag2"]},{"1399329097":["hashtag1","hashtag2"]},{"1399329099":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329101, 1399329097, 1399329099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.800037145614624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:48:02.615720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:48:12.192869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:48:22.190701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/47/image_14122025_05_47_54_9659.jpg', '/home/pi/Desktop/images/14122025/05/47/image_14122025_05_48_04_10529.jpg', '/home/pi/Desktop/images/14122025/05/48/image_14122025_05_48_34_10567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/47/image_14122025_05_47_54_9659.jpg
/home/pi/Desktop/images/14122025/05/47/image_14122025_05_48_04_10529.jpg
/home/pi/Desktop/images/14122025/05/48/image_14122025_05_48_34_10567.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4041934013366699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:48:32.159197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:48:42.138032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_04_1703.jpg', '/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_06_1654.jpg', '/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_07_1594.jpg', '/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_12_4386.jpg', '/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_13_1648.jpg', '/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_32_18559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_04_1703.jpg
/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_06_1654.jpg
/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_07_1594.jpg
/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_12_4386.jpg
/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_13_1648.jpg
/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_32_18559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329123","1399329126","1399329122","1399329125","1399329119","1399329124"],"photo_ids_order":["1399329119","1399329122","1399329123","1399329124","1399329125","1399329126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a196cba551fd554e37e6b4f8d2956de.jpg","text":"TemporaryFile(/tmp/multipartBody7233760062646694056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687782807,"filename":"image_04112025_11_43_07_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7604758dd1ba165e4c6a27666556f81d.jpg","text":"TemporaryFile(/tmp/multipartBody5858220538571338563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687782807,"filename":"image_04112025_11_43_32_18559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/deca23939404974d390510657dfde1b0.jpg","text":"TemporaryFile(/tmp/multipartBody2447497945411705518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687782807,"filename":"image_04112025_11_43_06_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/187c879f77a672c8a2b07bb17505e199.jpg","text":"TemporaryFile(/tmp/multipartBody1232323306036648205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687782807,"filename":"image_04112025_11_43_13_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c535ce5552d0e74a3670858d9d7b1b37.jpg","text":"TemporaryFile(/tmp/multipartBody542820204857680938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687782807,"filename":"image_04112025_11_43_04_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1447e4a72162606507ed170f81833dd0.jpg","text":"TemporaryFile(/tmp/multipartBody3155975595227510486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687782807,"filename":"image_04112025_11_43_12_4386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329123","file1":"1399329122","file0":"1399329119","file4":"1399329125","file5":"1399329126","file3":"1399329124"},"map_files_photo_id_array":[{"photo_id":"1399329126","filename":"file5"},{"photo_id":"1399329123","filename":"file2"},{"photo_id":"1399329125","filename":"file4"},{"photo_id":"1399329122","filename":"file1"},{"photo_id":"1399329119","filename":"file0"},{"photo_id":"1399329124","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329123":["hashtag1","hashtag2"]},{"1399329126":["hashtag1","hashtag2"]},{"1399329122":["hashtag1","hashtag2"]},{"1399329125":["hashtag1","hashtag2"]},{"1399329119":["hashtag1","hashtag2"]},{"1399329124":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329123, 1399329126, 1399329122, 1399329125, 1399329119, 1399329124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.538817167282104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:49:22.488983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/47/image_14122025_05_47_54_9659.jpg', '/home/pi/Desktop/images/14122025/05/47/image_14122025_05_48_04_10529.jpg', '/home/pi/Desktop/images/14122025/05/48/image_14122025_05_48_34_10567.jpg', '/home/pi/Desktop/images/14122025/05/48/image_14122025_05_48_54_9612.jpg', '/home/pi/Desktop/images/14122025/05/48/image_14122025_05_49_04_10640.jpg', '/home/pi/Desktop/images/14122025/05/49/image_14122025_05_49_14_9522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/47/image_14122025_05_47_54_9659.jpg
/home/pi/Desktop/images/14122025/05/47/image_14122025_05_48_04_10529.jpg
/home/pi/Desktop/images/14122025/05/48/image_14122025_05_48_34_10567.jpg
/home/pi/Desktop/images/14122025/05/48/image_14122025_05_48_54_9612.jpg
/home/pi/Desktop/images/14122025/05/48/image_14122025_05_49_04_10640.jpg
/home/pi/Desktop/images/14122025/05/49/image_14122025_05_49_14_9522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329132","1399329128","1399329137","1399329130","1399329133","1399329127"],"photo_ids_order":["1399329127","1399329128","1399329130","1399329132","1399329133","1399329137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cea0f03ab0dc19ef23591ce2bc3685e5.jpg","text":"TemporaryFile(/tmp/multipartBody6994213537510571483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687823749,"filename":"image_14122025_05_48_54_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fa45b7d1e98981f6c1220f36a32259b3.jpg","text":"TemporaryFile(/tmp/multipartBody7278698801849789847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687823749,"filename":"image_14122025_05_48_04_10529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f147ff6c5a0f6d88c316bec5c9352f0.jpg","text":"TemporaryFile(/tmp/multipartBody6645593211571854766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687823749,"filename":"image_14122025_05_49_14_9522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24b637eba174949e8c7fdf21c11abd71.jpg","text":"TemporaryFile(/tmp/multipartBody2257646715732788838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687823749,"filename":"image_14122025_05_48_34_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1aee307578e106e763d94c3ea87d56f3.jpg","text":"TemporaryFile(/tmp/multipartBody4689859436658889810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687823749,"filename":"image_14122025_05_49_04_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/03bee96de9b1a8ea4dc18c3d0cd0e13c.jpg","text":"TemporaryFile(/tmp/multipartBody3431649649840645775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687823749,"filename":"image_14122025_05_47_54_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329130","file1":"1399329128","file0":"1399329127","file4":"1399329133","file5":"1399329137","file3":"1399329132"},"map_files_photo_id_array":[{"photo_id":"1399329137","filename":"file5"},{"photo_id":"1399329130","filename":"file2"},{"photo_id":"1399329133","filename":"file4"},{"photo_id":"1399329128","filename":"file1"},{"photo_id":"1399329127","filename":"file0"},{"photo_id":"1399329132","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329132":["hashtag1","hashtag2"]},{"1399329128":["hashtag1","hashtag2"]},{"1399329137":["hashtag1","hashtag2"]},{"1399329130":["hashtag1","hashtag2"]},{"1399329133":["hashtag1","hashtag2"]},{"1399329127":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329132, 1399329128, 1399329137, 1399329130, 1399329133, 1399329127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49571681022644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:50:03.049243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:50:12.592870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:50:22.635611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/49/image_14122025_05_49_24_9788.jpg', '/home/pi/Desktop/images/14122025/05/50/image_14122025_05_50_24_10618.jpg', '/home/pi/Desktop/images/14122025/05/50/image_14122025_05_50_34_9597.jpg', '/home/pi/Desktop/images/14122025/05/50/image_14122025_05_50_44_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/49/image_14122025_05_49_24_9788.jpg
/home/pi/Desktop/images/14122025/05/50/image_14122025_05_50_24_10618.jpg
/home/pi/Desktop/images/14122025/05/50/image_14122025_05_50_34_9597.jpg
/home/pi/Desktop/images/14122025/05/50/image_14122025_05_50_44_9921.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329150","1399329152","1399329146","1399329148"],"photo_ids_order":["1399329146","1399329148","1399329150","1399329152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/adaddcbf1d32c0c8dbb7731a0cc1467e.jpg","text":"TemporaryFile(/tmp/multipartBody6750605759357420948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687883174,"filename":"image_14122025_05_50_34_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d56d385ab26694fcbfcaa177cec127e.jpg","text":"TemporaryFile(/tmp/multipartBody1232450530263928325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687883174,"filename":"image_14122025_05_50_44_9921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/16d3f067c6f26382ee33ed4d411ce3f8.jpg","text":"TemporaryFile(/tmp/multipartBody7844489673297190613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687883174,"filename":"image_14122025_05_49_24_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ea9bc9b6fad18af8bdf1440d25c800b4.jpg","text":"TemporaryFile(/tmp/multipartBody6386763623355966253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687883174,"filename":"image_14122025_05_50_24_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329150","file1":"1399329148","file0":"1399329146","file3":"1399329152"},"map_files_photo_id_array":[{"photo_id":"1399329150","filename":"file2"},{"photo_id":"1399329148","filename":"file1"},{"photo_id":"1399329146","filename":"file0"},{"photo_id":"1399329152","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329150":["hashtag1","hashtag2"]},{"1399329152":["hashtag1","hashtag2"]},{"1399329146":["hashtag1","hashtag2"]},{"1399329148":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329150, 1399329152, 1399329146, 1399329148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.404740571975708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:51:02.600079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:51:11.907672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:51:21.927507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/50/image_14122025_05_50_54_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/50/image_14122025_05_50_54_10650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329155"],"photo_id":"1399329155","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/af7c81aec04057eb41ea127f7f7caaf9.jpg","text":"TemporaryFile(/tmp/multipartBody2821892440047431657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687942355,"filename":"image_14122025_05_50_54_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399329155"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399329155"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.842047929763794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:51:41.906506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_33_1677.jpg', '/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_46_12950.jpg', '/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_57_1583.jpg', '/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_58_1692.jpg', '/home/pi/Desktop/images/04112025/11/43/image_04112025_11_44_00_1584.jpg', '/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_02_1616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_33_1677.jpg
/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_46_12950.jpg
/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_57_1583.jpg
/home/pi/Desktop/images/04112025/11/43/image_04112025_11_43_58_1692.jpg
/home/pi/Desktop/images/04112025/11/43/image_04112025_11_44_00_1584.jpg
/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_02_1616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329164","1399329167","1399329169","1399329160","1399329166","1399329168"],"photo_ids_order":["1399329160","1399329164","1399329166","1399329167","1399329168","1399329169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fa3dfca55da303aea41e3ea4e13c8b06.jpg","text":"TemporaryFile(/tmp/multipartBody4573774882997817717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687962599,"filename":"image_04112025_11_43_46_12950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c173b09ada6dec52ff339fdc6e7ccb88.jpg","text":"TemporaryFile(/tmp/multipartBody2665737856687042164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687962599,"filename":"image_04112025_11_43_58_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f9f4e9314fc18f2dfb0850517be5010.jpg","text":"TemporaryFile(/tmp/multipartBody2077888638350396339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687962599,"filename":"image_04112025_11_44_02_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/74b5e7075bc5637f3e5008088f0fb530.jpg","text":"TemporaryFile(/tmp/multipartBody3374942443272338547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687962599,"filename":"image_04112025_11_43_33_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/15f0e635b56bdd6f5c6b9dd4f6efb590.jpg","text":"TemporaryFile(/tmp/multipartBody8124506729684140796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687962599,"filename":"image_04112025_11_43_57_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d70e2d177a3eb5dc1e1d17bb26f00fe.jpg","text":"TemporaryFile(/tmp/multipartBody4534440808715368662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765687962599,"filename":"image_04112025_11_44_00_1584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329166","file1":"1399329164","file0":"1399329160","file4":"1399329168","file5":"1399329169","file3":"1399329167"},"map_files_photo_id_array":[{"photo_id":"1399329169","filename":"file5"},{"photo_id":"1399329166","filename":"file2"},{"photo_id":"1399329168","filename":"file4"},{"photo_id":"1399329164","filename":"file1"},{"photo_id":"1399329160","filename":"file0"},{"photo_id":"1399329167","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329164":["hashtag1","hashtag2"]},{"1399329167":["hashtag1","hashtag2"]},{"1399329169":["hashtag1","hashtag2"]},{"1399329160":["hashtag1","hashtag2"]},{"1399329166":["hashtag1","hashtag2"]},{"1399329168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329164, 1399329167, 1399329169, 1399329160, 1399329166, 1399329168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63334918022156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:52:22.250915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/51/image_14122025_05_51_44_9595.jpg', '/home/pi/Desktop/images/14122025/05/51/image_14122025_05_52_04_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/51/image_14122025_05_51_44_9595.jpg
/home/pi/Desktop/images/14122025/05/51/image_14122025_05_52_04_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.3501286506652832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:52:32.159438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:52:42.155431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_05_1539.jpg', '/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_06_1673.jpg', '/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_08_1682.jpg', '/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_15_3793.jpg', '/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_17_1677.jpg', '/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_18_1570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_05_1539.jpg
/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_06_1673.jpg
/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_08_1682.jpg
/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_15_3793.jpg
/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_17_1677.jpg
/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_18_1570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329182","1399329179","1399329176","1399329181","1399329180","1399329183"],"photo_ids_order":["1399329176","1399329179","1399329180","1399329181","1399329182","1399329183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b068d17b14af4c5c51c48fddf4a35d32.jpg","text":"TemporaryFile(/tmp/multipartBody5810733449226786207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688022859,"filename":"image_04112025_11_44_17_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ac3d5f537e0d60c226f3be065006bfd3.jpg","text":"TemporaryFile(/tmp/multipartBody5195066782112146871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688022859,"filename":"image_04112025_11_44_06_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/71209b2a36c1acac4a50f885879bae43.jpg","text":"TemporaryFile(/tmp/multipartBody5021506207893451409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688022859,"filename":"image_04112025_11_44_05_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/20c9bed2dd2e5ca1c26de605d4ed489f.jpg","text":"TemporaryFile(/tmp/multipartBody3404985907233906776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688022859,"filename":"image_04112025_11_44_15_3793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5268e900a17b936c05cca35424787906.jpg","text":"TemporaryFile(/tmp/multipartBody6450389366601418835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688022859,"filename":"image_04112025_11_44_08_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/52c3abcc08d6d987cd3d7b2c72dd826c.jpg","text":"TemporaryFile(/tmp/multipartBody1253654549766763148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688022859,"filename":"image_04112025_11_44_18_1570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329180","file1":"1399329179","file0":"1399329176","file4":"1399329182","file5":"1399329183","file3":"1399329181"},"map_files_photo_id_array":[{"photo_id":"1399329183","filename":"file5"},{"photo_id":"1399329180","filename":"file2"},{"photo_id":"1399329182","filename":"file4"},{"photo_id":"1399329179","filename":"file1"},{"photo_id":"1399329176","filename":"file0"},{"photo_id":"1399329181","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329182":["hashtag1","hashtag2"]},{"1399329179":["hashtag1","hashtag2"]},{"1399329176":["hashtag1","hashtag2"]},{"1399329181":["hashtag1","hashtag2"]},{"1399329180":["hashtag1","hashtag2"]},{"1399329183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329182, 1399329179, 1399329176, 1399329181, 1399329180, 1399329183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12280511856079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:53:22.385601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/51/image_14122025_05_51_44_9595.jpg', '/home/pi/Desktop/images/14122025/05/51/image_14122025_05_52_04_10683.jpg', '/home/pi/Desktop/images/14122025/05/52/image_14122025_05_52_23_9598.jpg', '/home/pi/Desktop/images/14122025/05/53/image_14122025_05_53_14_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/51/image_14122025_05_51_44_9595.jpg
/home/pi/Desktop/images/14122025/05/51/image_14122025_05_52_04_10683.jpg
/home/pi/Desktop/images/14122025/05/52/image_14122025_05_52_23_9598.jpg
/home/pi/Desktop/images/14122025/05/53/image_14122025_05_53_14_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":["1399329185","1399329190","1399329186","1399329189"],"photo_ids_order":["1399329185","1399329186","1399329189","1399329190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f5b7b33606f32783865e9d14f68b7852.jpg","text":"TemporaryFile(/tmp/multipartBody9101822384467855755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688062924,"filename":"image_14122025_05_51_44_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4796edfa8dfdf36fce94b9e870246d2e.jpg","text":"TemporaryFile(/tmp/multipartBody2526959214909004385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688062924,"filename":"image_14122025_05_53_14_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/086d88a61263b0bdccc67defe8fde5e7.jpg","text":"TemporaryFile(/tmp/multipartBody5406751622793729278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688062924,"filename":"image_14122025_05_52_04_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d34c837a2245726c839468347126395f.jpg","text":"TemporaryFile(/tmp/multipartBody2255609836539816356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688062924,"filename":"image_14122025_05_52_23_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329189","file1":"1399329186","file0":"1399329185","file3":"1399329190"},"map_files_photo_id_array":[{"photo_id":"1399329189","filename":"file2"},{"photo_id":"1399329186","filename":"file1"},{"photo_id":"1399329185","filename":"file0"},{"photo_id":"1399329190","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329185":["hashtag1","hashtag2"]},{"1399329190":["hashtag1","hashtag2"]},{"1399329186":["hashtag1","hashtag2"]},{"1399329189":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329185, 1399329190, 1399329186, 1399329189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.040987730026245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:54:03.223000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:54:12.589425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:54:22.746914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_20_1728.jpg', '/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_25_4543.jpg', '/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_26_1552.jpg', '/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_31_1521.jpg', '/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_33_1617.jpg', '/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_38_1566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_20_1728.jpg
/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_25_4543.jpg
/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_26_1552.jpg
/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_31_1521.jpg
/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_33_1617.jpg
/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_38_1566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329207","1399329200","1399329196","1399329205","1399329198","1399329202"],"photo_ids_order":["1399329196","1399329198","1399329200","1399329202","1399329205","1399329207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5c738e9697ebb70be505cf644ab84b2d.jpg","text":"TemporaryFile(/tmp/multipartBody5096528160162168582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688123437,"filename":"image_04112025_11_44_38_1566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4720642b35e669a70b4b0c20bc58bc93.jpg","text":"TemporaryFile(/tmp/multipartBody1016274581502714411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688123437,"filename":"image_04112025_11_44_26_1552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/96abb3f45575518dc05866e349729ce2.jpg","text":"TemporaryFile(/tmp/multipartBody3386014303363952105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688123437,"filename":"image_04112025_11_44_20_1728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9776fb84343e8daa7895b37d2639bc25.jpg","text":"TemporaryFile(/tmp/multipartBody5262817810935101234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688123437,"filename":"image_04112025_11_44_33_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3b5f3e6049a95117f164418c0c5ee35.jpg","text":"TemporaryFile(/tmp/multipartBody4065771864416389337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688123437,"filename":"image_04112025_11_44_25_4543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/817e6ff13ec34c7bf43c281c05699aac.jpg","text":"TemporaryFile(/tmp/multipartBody4323106322721074808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688123437,"filename":"image_04112025_11_44_31_1521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329200","file1":"1399329198","file0":"1399329196","file4":"1399329205","file5":"1399329207","file3":"1399329202"},"map_files_photo_id_array":[{"photo_id":"1399329207","filename":"file5"},{"photo_id":"1399329200","filename":"file2"},{"photo_id":"1399329205","filename":"file4"},{"photo_id":"1399329198","filename":"file1"},{"photo_id":"1399329196","filename":"file0"},{"photo_id":"1399329202","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329207":["hashtag1","hashtag2"]},{"1399329200":["hashtag1","hashtag2"]},{"1399329196":["hashtag1","hashtag2"]},{"1399329205":["hashtag1","hashtag2"]},{"1399329198":["hashtag1","hashtag2"]},{"1399329202":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329207, 1399329200, 1399329196, 1399329205, 1399329198, 1399329202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.856677293777466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:55:11.859049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:55:21.862390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_43_1681.jpg', '/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_45_2622.jpg', '/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_07_3011.jpg', '/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_10_3600.jpg', '/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_16_2739.jpg', '/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_20_3713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_43_1681.jpg
/home/pi/Desktop/images/04112025/11/44/image_04112025_11_44_45_2622.jpg
/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_07_3011.jpg
/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_10_3600.jpg
/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_16_2739.jpg
/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_20_3713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329216","1399329219","1399329210","1399329213","1399329214","1399329208"],"photo_ids_order":["1399329208","1399329210","1399329213","1399329214","1399329216","1399329219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fa15d732ef747165d842e360ba96649a.jpg","text":"TemporaryFile(/tmp/multipartBody4676032579525844289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688182554,"filename":"image_04112025_11_45_16_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d46aa68943f29881ac79ad5d3ae9c73f.jpg","text":"TemporaryFile(/tmp/multipartBody911736288452691789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688182554,"filename":"image_04112025_11_45_20_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ae53e88da13dcea5fe908620e414f95.jpg","text":"TemporaryFile(/tmp/multipartBody6592825391809934728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688182554,"filename":"image_04112025_11_44_45_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e3fc5a86b849b675ef16b01c404b3a16.jpg","text":"TemporaryFile(/tmp/multipartBody8790176049446227344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688182554,"filename":"image_04112025_11_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/12/14/131f66dbbbe762116fdd4d03b6ddaafe.jpg","text":"TemporaryFile(/tmp/multipartBody143689327601135659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688182554,"filename":"image_04112025_11_45_10_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b26b0687a0cdc1c740316f6e082f143.jpg","text":"TemporaryFile(/tmp/multipartBody8993117313801862604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688182554,"filename":"image_04112025_11_44_43_1681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329213","file1":"1399329210","file0":"1399329208","file4":"1399329216","file5":"1399329219","file3":"1399329214"},"map_files_photo_id_array":[{"photo_id":"1399329219","filename":"file5"},{"photo_id":"1399329213","filename":"file2"},{"photo_id":"1399329216","filename":"file4"},{"photo_id":"1399329210","filename":"file1"},{"photo_id":"1399329208","filename":"file0"},{"photo_id":"1399329214","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329216":["hashtag1","hashtag2"]},{"1399329219":["hashtag1","hashtag2"]},{"1399329210":["hashtag1","hashtag2"]},{"1399329213":["hashtag1","hashtag2"]},{"1399329214":["hashtag1","hashtag2"]},{"1399329208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329216, 1399329219, 1399329210, 1399329213, 1399329214, 1399329208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86897087097168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:56:02.616027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:56:12.072005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:56:22.114351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_22_2573.jpg', '/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_25_2822.jpg', '/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_29_3558.jpg', '/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_31_2606.jpg', '/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_34_2642.jpg', '/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_38_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_22_2573.jpg
/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_25_2822.jpg
/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_29_3558.jpg
/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_31_2606.jpg
/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_34_2642.jpg
/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_38_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":["1399329231","1399329228","1399329221","1399329224","1399329226","1399329220"],"photo_ids_order":["1399329220","1399329221","1399329224","1399329226","1399329228","1399329231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/980fd4c6ce05819414fb657b5ea3fa70.jpg","text":"TemporaryFile(/tmp/multipartBody7258429239439940993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688242801,"filename":"image_04112025_11_45_38_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/340beb21879cd828357f67b41285450e.jpg","text":"TemporaryFile(/tmp/multipartBody861574339979886255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688242801,"filename":"image_04112025_11_45_34_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d829ef7bcf07ed34e767783bbc9bdd77.jpg","text":"TemporaryFile(/tmp/multipartBody2104573474081683671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688242801,"filename":"image_04112025_11_45_25_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/759511f2dc7f79cd49188d3184a067f9.jpg","text":"TemporaryFile(/tmp/multipartBody5301043978482922300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688242801,"filename":"image_04112025_11_45_29_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/70de71d98f3ddcd0de08ac6af6c14607.jpg","text":"TemporaryFile(/tmp/multipartBody4462287770627810298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688242801,"filename":"image_04112025_11_45_31_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a80080e3b4e493173488cf7b147bc02a.jpg","text":"TemporaryFile(/tmp/multipartBody5632858392532659059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688242801,"filename":"image_04112025_11_45_22_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329224","file1":"1399329221","file0":"1399329220","file4":"1399329228","file5":"1399329231","file3":"1399329226"},"map_files_photo_id_array":[{"photo_id":"1399329231","filename":"file5"},{"photo_id":"1399329224","filename":"file2"},{"photo_id":"1399329228","filename":"file4"},{"photo_id":"1399329221","filename":"file1"},{"photo_id":"1399329220","filename":"file0"},{"photo_id":"1399329226","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329231":["hashtag1","hashtag2"]},{"1399329228":["hashtag1","hashtag2"]},{"1399329221":["hashtag1","hashtag2"]},{"1399329224":["hashtag1","hashtag2"]},{"1399329226":["hashtag1","hashtag2"]},{"1399329220":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329231, 1399329228, 1399329221, 1399329224, 1399329226, 1399329220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.546509981155396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:57:02.933102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 05:57:12.324477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:57:22.422345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/53/image_14122025_05_53_44_9566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/53/image_14122025_05_53_44_9566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329242"],"photo_id":"1399329242","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/de0ef7517a1f706e880eed1b8a0787e2.jpg","text":"TemporaryFile(/tmp/multipartBody6407332754382264728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688302847,"filename":"image_14122025_05_53_44_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399329242"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399329242"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.72482705116272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:57:42.412487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_40_2720.jpg', '/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_43_2515.jpg', '/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_46_3525.jpg', '/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_49_2529.jpg', '/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_52_3663.jpg', '/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_56_3138.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_40_2720.jpg
/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_43_2515.jpg
/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_46_3525.jpg
/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_49_2529.jpg
/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_52_3663.jpg
/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_56_3138.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329246","1399329254","1399329248","1399329250","1399329244","1399329252"],"photo_ids_order":["1399329244","1399329246","1399329248","1399329250","1399329252","1399329254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/974accab56afb366f199ad10a9b400ea.jpg","text":"TemporaryFile(/tmp/multipartBody651785103254655166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688323073,"filename":"image_04112025_11_45_43_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e81bf1a185c82403d49b4708fc48db10.jpg","text":"TemporaryFile(/tmp/multipartBody1704227801612877411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688323073,"filename":"image_04112025_11_45_56_3138.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/01b1c208d57c148a10ad713b299a4b61.jpg","text":"TemporaryFile(/tmp/multipartBody7998338715743868760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688323073,"filename":"image_04112025_11_45_46_3525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ca618f301c45922baffd256315c27dc.jpg","text":"TemporaryFile(/tmp/multipartBody1696036126027742466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688323073,"filename":"image_04112025_11_45_49_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19d63c05ea4f4be84dc2221353f3a4bc.jpg","text":"TemporaryFile(/tmp/multipartBody7061714595632704810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688323073,"filename":"image_04112025_11_45_40_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/074e59aab63330081659435ee2cd748b.jpg","text":"TemporaryFile(/tmp/multipartBody1116558500685635745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688323073,"filename":"image_04112025_11_45_52_3663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329248","file1":"1399329246","file0":"1399329244","file4":"1399329252","file5":"1399329254","file3":"1399329250"},"map_files_photo_id_array":[{"photo_id":"1399329254","filename":"file5"},{"photo_id":"1399329248","filename":"file2"},{"photo_id":"1399329252","filename":"file4"},{"photo_id":"1399329246","filename":"file1"},{"photo_id":"1399329244","filename":"file0"},{"photo_id":"1399329250","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329246":["hashtag1","hashtag2"]},{"1399329254":["hashtag1","hashtag2"]},{"1399329248":["hashtag1","hashtag2"]},{"1399329250":["hashtag1","hashtag2"]},{"1399329244":["hashtag1","hashtag2"]},{"1399329252":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329246, 1399329254, 1399329248, 1399329250, 1399329244, 1399329252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57598829269409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 05:59:02.706005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/57/image_14122025_05_57_53_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/57/image_14122025_05_57_53_9742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329255"],"photo_id":"1399329255","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a44b07322817e96c563e1e1f64cb019.jpg","text":"TemporaryFile(/tmp/multipartBody2209222173674110915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688403282,"filename":"image_14122025_05_57_53_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399329255"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399329255"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.405216455459595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 05:59:21.891355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/58/image_14122025_05_58_14_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/58/image_14122025_05_58_14_9826.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329262"],"photo_id":"1399329262","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ee7bc5c93e7a196070e3c0e0c18a1c3.jpg","text":"TemporaryFile(/tmp/multipartBody3546583090314413365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688422321,"filename":"image_14122025_05_58_14_9826.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399329262"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399329262"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.068397045135498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 05:59:41.809996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_58_2653.jpg', '/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_01_3095.jpg', '/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_04_2749.jpg', '/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_11_7059.jpg', '/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_17_5830.jpg', '/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_19_1692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/45/image_04112025_11_45_58_2653.jpg
/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_01_3095.jpg
/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_04_2749.jpg
/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_11_7059.jpg
/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_17_5830.jpg
/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_19_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":["1399329278","1399329272","1399329266","1399329274","1399329270","1399329276"],"photo_ids_order":["1399329266","1399329270","1399329272","1399329274","1399329276","1399329278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/557fee2631bb9069ef8a60bfe6c1bb76.jpg","text":"TemporaryFile(/tmp/multipartBody5847033659769838947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688442475,"filename":"image_04112025_11_46_19_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cabdd7773afd4872f223856480f6d5f5.jpg","text":"TemporaryFile(/tmp/multipartBody6455299689605420590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688442475,"filename":"image_04112025_11_46_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/12/14/219755dfc4f62b3e24b36b687bc76350.jpg","text":"TemporaryFile(/tmp/multipartBody1280077511898626138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688442475,"filename":"image_04112025_11_45_58_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/83d246451d919c7cc2a701c3ca9075b5.jpg","text":"TemporaryFile(/tmp/multipartBody2540969026169027401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688442475,"filename":"image_04112025_11_46_11_7059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2453d71087ccbc6c59d23ccaa98592c3.jpg","text":"TemporaryFile(/tmp/multipartBody3180818296798094963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688442475,"filename":"image_04112025_11_46_01_3095.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/62fc2006651391b455da2bb36d4c39a7.jpg","text":"TemporaryFile(/tmp/multipartBody2150682259696879476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688442475,"filename":"image_04112025_11_46_17_5830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329272","file1":"1399329270","file0":"1399329266","file4":"1399329276","file5":"1399329278","file3":"1399329274"},"map_files_photo_id_array":[{"photo_id":"1399329278","filename":"file5"},{"photo_id":"1399329272","filename":"file2"},{"photo_id":"1399329276","filename":"file4"},{"photo_id":"1399329270","filename":"file1"},{"photo_id":"1399329266","filename":"file0"},{"photo_id":"1399329274","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329278":["hashtag1","hashtag2"]},{"1399329272":["hashtag1","hashtag2"]},{"1399329266":["hashtag1","hashtag2"]},{"1399329274":["hashtag1","hashtag2"]},{"1399329270":["hashtag1","hashtag2"]},{"1399329276":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329278, 1399329272, 1399329266, 1399329274, 1399329270, 1399329276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56000351905823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:00:22.071291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/59/image_14122025_05_59_43_9954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/59/image_14122025_05_59_43_9954.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3192863464355469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:00:32.072078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:00:42.060151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_20_1678.jpg', '/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_36_12543.jpg', '/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_40_3231.jpg', '/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_41_1695.jpg', '/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_43_1683.jpg', '/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_44_1504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_20_1678.jpg
/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_36_12543.jpg
/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_40_3231.jpg
/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_41_1695.jpg
/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_43_1683.jpg
/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_44_1504.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329290","1399329287","1399329292","1399329289","1399329285","1399329288"],"photo_ids_order":["1399329285","1399329287","1399329288","1399329289","1399329290","1399329292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db3bac01f0e77e4767aad6390ff6f15a.jpg","text":"TemporaryFile(/tmp/multipartBody7263243553512202995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688502730,"filename":"image_04112025_11_46_43_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b5a34b30ba0f855d3f6ffb393113481.jpg","text":"TemporaryFile(/tmp/multipartBody3286802764383254709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688502730,"filename":"image_04112025_11_46_36_12543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cca8c8b12df8cce9d3ea13f7e2e18fa7.jpg","text":"TemporaryFile(/tmp/multipartBody7195782989782687769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688502730,"filename":"image_04112025_11_46_44_1504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1101bc214a31ca4619fedd9209c566be.jpg","text":"TemporaryFile(/tmp/multipartBody1600279304240159274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688502730,"filename":"image_04112025_11_46_41_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5482f7a971ce0b6b5f8011dbfa248579.jpg","text":"TemporaryFile(/tmp/multipartBody6855781054552314192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688502730,"filename":"image_04112025_11_46_20_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc25e890d94234f045523195861dd5f2.jpg","text":"TemporaryFile(/tmp/multipartBody8270014095767868930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688502730,"filename":"image_04112025_11_46_40_3231.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329288","file1":"1399329287","file0":"1399329285","file4":"1399329290","file5":"1399329292","file3":"1399329289"},"map_files_photo_id_array":[{"photo_id":"1399329292","filename":"file5"},{"photo_id":"1399329288","filename":"file2"},{"photo_id":"1399329290","filename":"file4"},{"photo_id":"1399329287","filename":"file1"},{"photo_id":"1399329285","filename":"file0"},{"photo_id":"1399329289","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329290":["hashtag1","hashtag2"]},{"1399329287":["hashtag1","hashtag2"]},{"1399329292":["hashtag1","hashtag2"]},{"1399329289":["hashtag1","hashtag2"]},{"1399329285":["hashtag1","hashtag2"]},{"1399329288":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329290, 1399329287, 1399329292, 1399329289, 1399329285, 1399329288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.469380617141724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:01:22.294655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/05/59/image_14122025_05_59_43_9954.jpg', '/home/pi/Desktop/images/14122025/05/59/image_14122025_06_00_04_9820.jpg', '/home/pi/Desktop/images/14122025/06/00/image_14122025_06_01_04_9767.jpg', '/home/pi/Desktop/images/14122025/06/01/image_14122025_06_01_44_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/05/59/image_14122025_05_59_43_9954.jpg
/home/pi/Desktop/images/14122025/05/59/image_14122025_06_00_04_9820.jpg
/home/pi/Desktop/images/14122025/06/00/image_14122025_06_01_04_9767.jpg
/home/pi/Desktop/images/14122025/06/01/image_14122025_06_01_44_9766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329296","1399329295","1399329298","1399329297"],"photo_ids_order":["1399329295","1399329296","1399329297","1399329298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6bdb2f2d6546a61a52f87be9f2ed3eb9.jpg","text":"TemporaryFile(/tmp/multipartBody1995467958312194349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688542824,"filename":"image_14122025_06_00_04_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/878bf594ade8e4cffe31827f7bc89443.jpg","text":"TemporaryFile(/tmp/multipartBody7609990862820578832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688542824,"filename":"image_14122025_05_59_43_9954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/710e2443e6d0e11f456b0d6f7f2c99a0.jpg","text":"TemporaryFile(/tmp/multipartBody936984383280575699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688542824,"filename":"image_14122025_06_01_44_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f97401c8e6ef1199c44ce10535aecb44.jpg","text":"TemporaryFile(/tmp/multipartBody1244383683727228554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688542824,"filename":"image_14122025_06_01_04_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329297","file1":"1399329296","file0":"1399329295","file3":"1399329298"},"map_files_photo_id_array":[{"photo_id":"1399329297","filename":"file2"},{"photo_id":"1399329296","filename":"file1"},{"photo_id":"1399329295","filename":"file0"},{"photo_id":"1399329298","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329296":["hashtag1","hashtag2"]},{"1399329295":["hashtag1","hashtag2"]},{"1399329298":["hashtag1","hashtag2"]},{"1399329297":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329296, 1399329295, 1399329298, 1399329297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.58182430267334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:02:03.161058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:02:12.639923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:02:22.659306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_50_5666.jpg', '/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_52_1615.jpg', '/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_53_1538.jpg', '/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_58_1520.jpg', '/home/pi/Desktop/images/04112025/11/46/image_04112025_11_47_00_1759.jpg', '/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_02_2312.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_50_5666.jpg
/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_52_1615.jpg
/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_53_1538.jpg
/home/pi/Desktop/images/04112025/11/46/image_04112025_11_46_58_1520.jpg
/home/pi/Desktop/images/04112025/11/46/image_04112025_11_47_00_1759.jpg
/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_02_2312.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329312","1399329309","1399329314","1399329311","1399329313","1399329316"],"photo_ids_order":["1399329309","1399329311","1399329312","1399329313","1399329314","1399329316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7616f2664a3479108734955bf7deb093.jpg","text":"TemporaryFile(/tmp/multipartBody6253995211267703304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688603349,"filename":"image_04112025_11_46_53_1538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ab81f410eca6ec45cf3528cbda63ece4.jpg","text":"TemporaryFile(/tmp/multipartBody7414415792604277361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688603349,"filename":"image_04112025_11_46_50_5666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d27e3286ca21eb7050ea15f5dddee90.jpg","text":"TemporaryFile(/tmp/multipartBody2140556929824830431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688603349,"filename":"image_04112025_11_47_00_1759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76b1a6a67fa3fb0b7a5ad8361c656df9.jpg","text":"TemporaryFile(/tmp/multipartBody4317781169334524214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688603349,"filename":"image_04112025_11_46_52_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/22761a1dc95479e2043409596d0cc154.jpg","text":"TemporaryFile(/tmp/multipartBody156998007432362773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688603349,"filename":"image_04112025_11_46_58_1520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f739a434c1585d3de9fa24016103a066.jpg","text":"TemporaryFile(/tmp/multipartBody303124145485794547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688603349,"filename":"image_04112025_11_47_02_2312.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329312","file1":"1399329311","file0":"1399329309","file4":"1399329314","file5":"1399329316","file3":"1399329313"},"map_files_photo_id_array":[{"photo_id":"1399329316","filename":"file5"},{"photo_id":"1399329312","filename":"file2"},{"photo_id":"1399329314","filename":"file4"},{"photo_id":"1399329311","filename":"file1"},{"photo_id":"1399329309","filename":"file0"},{"photo_id":"1399329313","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329312":["hashtag1","hashtag2"]},{"1399329309":["hashtag1","hashtag2"]},{"1399329314":["hashtag1","hashtag2"]},{"1399329311":["hashtag1","hashtag2"]},{"1399329313":["hashtag1","hashtag2"]},{"1399329316":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329312, 1399329309, 1399329314, 1399329311, 1399329313, 1399329316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65469717979431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:03:02.577663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:03:11.864463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:03:21.877292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_04_1605.jpg', '/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_07_2711.jpg', '/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_10_3560.jpg', '/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_13_2705.jpg', '/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_17_3649.jpg', '/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_19_2499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_04_1605.jpg
/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_07_2711.jpg
/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_10_3560.jpg
/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_13_2705.jpg
/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_17_3649.jpg
/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_19_2499.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329330","1399329324","1399329326","1399329322","1399329328","1399329333"],"photo_ids_order":["1399329322","1399329324","1399329326","1399329328","1399329330","1399329333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13eba239ae5c3478ca92ed4f87a07a0e.jpg","text":"TemporaryFile(/tmp/multipartBody4650338698923686784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688662572,"filename":"image_04112025_11_47_17_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bff9c60257b9770bf4b5485d4e0ff8a7.jpg","text":"TemporaryFile(/tmp/multipartBody143497491284593513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688662572,"filename":"image_04112025_11_47_07_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/93823efc6bc9eefb1016995e56c49ca3.jpg","text":"TemporaryFile(/tmp/multipartBody1742375869305161024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688662572,"filename":"image_04112025_11_47_10_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b14467e969d95aaabaf0fd3ffcf80fd.jpg","text":"TemporaryFile(/tmp/multipartBody4117907804802072428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688662572,"filename":"image_04112025_11_47_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/12/14/f33ad952beb69010ad6158d208907620.jpg","text":"TemporaryFile(/tmp/multipartBody9045387051638023475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688662572,"filename":"image_04112025_11_47_13_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/efb035f26dd2a68544aa1fce07e46edb.jpg","text":"TemporaryFile(/tmp/multipartBody1973141247913533901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688662572,"filename":"image_04112025_11_47_19_2499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329326","file1":"1399329324","file0":"1399329322","file4":"1399329330","file5":"1399329333","file3":"1399329328"},"map_files_photo_id_array":[{"photo_id":"1399329333","filename":"file5"},{"photo_id":"1399329326","filename":"file2"},{"photo_id":"1399329330","filename":"file4"},{"photo_id":"1399329324","filename":"file1"},{"photo_id":"1399329322","filename":"file0"},{"photo_id":"1399329328","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329330":["hashtag1","hashtag2"]},{"1399329324":["hashtag1","hashtag2"]},{"1399329326":["hashtag1","hashtag2"]},{"1399329322":["hashtag1","hashtag2"]},{"1399329328":["hashtag1","hashtag2"]},{"1399329333":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329330, 1399329324, 1399329326, 1399329322, 1399329328, 1399329333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52182960510254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:04:02.681092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:04:12.153976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:04:22.187120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/01/image_14122025_06_01_54_9891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/01/image_14122025_06_01_54_9891.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329336"],"photo_id":"1399329336","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/107f3995fea5bdd132439b945365719a.jpg","text":"TemporaryFile(/tmp/multipartBody4747717335947847406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688722611,"filename":"image_14122025_06_01_54_9891.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399329336"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399329336"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.951836347579956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:04:42.143680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_22_2771.jpg', '/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_25_2886.jpg', '/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_28_3504.jpg', '/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_31_2646.jpg', '/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_34_3498.jpg', '/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_37_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_22_2771.jpg
/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_25_2886.jpg
/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_28_3504.jpg
/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_31_2646.jpg
/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_34_3498.jpg
/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_37_2624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329350","1399329344","1399329341","1399329352","1399329354","1399329348"],"photo_ids_order":["1399329341","1399329344","1399329348","1399329350","1399329352","1399329354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f5068f5f0757b1271fb7a5599672b57.jpg","text":"TemporaryFile(/tmp/multipartBody4259977837601822155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688742813,"filename":"image_04112025_11_47_31_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f297d945c09afa3beafe68908c492955.jpg","text":"TemporaryFile(/tmp/multipartBody4669134771924488262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688742813,"filename":"image_04112025_11_47_25_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e29bb86a241952aae2d7d720744059c.jpg","text":"TemporaryFile(/tmp/multipartBody2555980641987094324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688742813,"filename":"image_04112025_11_47_22_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e28121bb7ea849bfadada088cce7056c.jpg","text":"TemporaryFile(/tmp/multipartBody8648102027374134688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688742813,"filename":"image_04112025_11_47_34_3498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f707c87b7f1a3f3a0178b86face8bc8f.jpg","text":"TemporaryFile(/tmp/multipartBody1720135716915831179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688742813,"filename":"image_04112025_11_47_37_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b5578bc201761bf7bf964a08c94eac1f.jpg","text":"TemporaryFile(/tmp/multipartBody991751827052630289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688742813,"filename":"image_04112025_11_47_28_3504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329348","file1":"1399329344","file0":"1399329341","file4":"1399329352","file5":"1399329354","file3":"1399329350"},"map_files_photo_id_array":[{"photo_id":"1399329354","filename":"file5"},{"photo_id":"1399329348","filename":"file2"},{"photo_id":"1399329352","filename":"file4"},{"photo_id":"1399329344","filename":"file1"},{"photo_id":"1399329341","filename":"file0"},{"photo_id":"1399329350","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329350":["hashtag1","hashtag2"]},{"1399329344":["hashtag1","hashtag2"]},{"1399329341":["hashtag1","hashtag2"]},{"1399329352":["hashtag1","hashtag2"]},{"1399329354":["hashtag1","hashtag2"]},{"1399329348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329350, 1399329344, 1399329341, 1399329352, 1399329354, 1399329348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95423769950867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:05:22.446024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/04/image_14122025_06_04_53_9704.jpg', '/home/pi/Desktop/images/14122025/06/04/image_14122025_06_05_04_10703.jpg', '/home/pi/Desktop/images/14122025/06/05/image_14122025_06_05_14_9715.jpg', '/home/pi/Desktop/images/14122025/06/05/image_14122025_06_05_23_9597.jpg', '/home/pi/Desktop/images/14122025/06/05/image_14122025_06_05_44_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/04/image_14122025_06_04_53_9704.jpg
/home/pi/Desktop/images/14122025/06/04/image_14122025_06_05_04_10703.jpg
/home/pi/Desktop/images/14122025/06/05/image_14122025_06_05_14_9715.jpg
/home/pi/Desktop/images/14122025/06/05/image_14122025_06_05_23_9597.jpg
/home/pi/Desktop/images/14122025/06/05/image_14122025_06_05_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.45730113983154297 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:05:32.558430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:05:42.425377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_40_2569.jpg', '/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_45_5720.jpg', '/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_47_1683.jpg', '/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_57_10347.jpg', '/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_59_1561.jpg', '/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_01_1795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_40_2569.jpg
/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_45_5720.jpg
/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_47_1683.jpg
/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_57_10347.jpg
/home/pi/Desktop/images/04112025/11/47/image_04112025_11_47_59_1561.jpg
/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_01_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":["1399329371","1399329368","1399329370","1399329364","1399329372","1399329369"],"photo_ids_order":["1399329364","1399329368","1399329369","1399329370","1399329371","1399329372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b0fb9bd35414add80349339879cb3ef.jpg","text":"TemporaryFile(/tmp/multipartBody8388269554650775975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688803101,"filename":"image_04112025_11_47_59_1561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/09f387dcd46463d5992afc68cdaf8980.jpg","text":"TemporaryFile(/tmp/multipartBody90450311413275421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688803101,"filename":"image_04112025_11_47_45_5720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/87aee800c174971553121dd520ae201f.jpg","text":"TemporaryFile(/tmp/multipartBody6549891636478976947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688803101,"filename":"image_04112025_11_47_57_10347.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d4c33f2afad1afb77b7e55c9fafd5da6.jpg","text":"TemporaryFile(/tmp/multipartBody5554065632063000656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688803101,"filename":"image_04112025_11_47_40_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3aaa8d369c19c221e0194ba65449db6b.jpg","text":"TemporaryFile(/tmp/multipartBody3401541387014248578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688803101,"filename":"image_04112025_11_48_01_1795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a50d59067d7186ea9a22693f0a71e1a9.jpg","text":"TemporaryFile(/tmp/multipartBody1417195138659584097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688803101,"filename":"image_04112025_11_47_47_1683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329369","file1":"1399329368","file0":"1399329364","file4":"1399329371","file5":"1399329372","file3":"1399329370"},"map_files_photo_id_array":[{"photo_id":"1399329372","filename":"file5"},{"photo_id":"1399329369","filename":"file2"},{"photo_id":"1399329371","filename":"file4"},{"photo_id":"1399329368","filename":"file1"},{"photo_id":"1399329364","filename":"file0"},{"photo_id":"1399329370","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329371":["hashtag1","hashtag2"]},{"1399329368":["hashtag1","hashtag2"]},{"1399329370":["hashtag1","hashtag2"]},{"1399329364":["hashtag1","hashtag2"]},{"1399329372":["hashtag1","hashtag2"]},{"1399329369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329371, 1399329368, 1399329370, 1399329364, 1399329372, 1399329369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66159510612488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:06:22.646244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/04/image_14122025_06_04_53_9704.jpg', '/home/pi/Desktop/images/14122025/06/04/image_14122025_06_05_04_10703.jpg', '/home/pi/Desktop/images/14122025/06/05/image_14122025_06_05_14_9715.jpg', '/home/pi/Desktop/images/14122025/06/05/image_14122025_06_05_23_9597.jpg', '/home/pi/Desktop/images/14122025/06/05/image_14122025_06_05_44_9742.jpg', '/home/pi/Desktop/images/14122025/06/05/image_14122025_06_05_53_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/04/image_14122025_06_04_53_9704.jpg
/home/pi/Desktop/images/14122025/06/04/image_14122025_06_05_04_10703.jpg
/home/pi/Desktop/images/14122025/06/05/image_14122025_06_05_14_9715.jpg
/home/pi/Desktop/images/14122025/06/05/image_14122025_06_05_23_9597.jpg
/home/pi/Desktop/images/14122025/06/05/image_14122025_06_05_44_9742.jpg
/home/pi/Desktop/images/14122025/06/05/image_14122025_06_05_53_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":["1399329380","1399329374","1399329385","1399329373","1399329376","1399329379"],"photo_ids_order":["1399329373","1399329374","1399329376","1399329379","1399329380","1399329385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fd4b2ed5843a8f1ffc35ec3a6efea54a.jpg","text":"TemporaryFile(/tmp/multipartBody8969539820289039317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688843279,"filename":"image_14122025_06_05_44_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b85c81234117ee3fd72025a8cdaf2362.jpg","text":"TemporaryFile(/tmp/multipartBody5840420202868987697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688843279,"filename":"image_14122025_06_05_04_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da5b4c5a54b9091e9e178ee7f65482fd.jpg","text":"TemporaryFile(/tmp/multipartBody6354913169656477673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688843279,"filename":"image_14122025_06_05_53_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aaec42da0830f5d6b95dae6e225b51b1.jpg","text":"TemporaryFile(/tmp/multipartBody4427646263822633581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688843279,"filename":"image_14122025_06_04_53_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b681a44ea5ccfa8af72b5a0735d5e266.jpg","text":"TemporaryFile(/tmp/multipartBody3848039967415961905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688843279,"filename":"image_14122025_06_05_14_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/52559a8fb3c70005988f2cfd3eb50a1b.jpg","text":"TemporaryFile(/tmp/multipartBody1842395532163987066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688843279,"filename":"image_14122025_06_05_23_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329376","file1":"1399329374","file0":"1399329373","file4":"1399329380","file5":"1399329385","file3":"1399329379"},"map_files_photo_id_array":[{"photo_id":"1399329385","filename":"file5"},{"photo_id":"1399329376","filename":"file2"},{"photo_id":"1399329380","filename":"file4"},{"photo_id":"1399329374","filename":"file1"},{"photo_id":"1399329373","filename":"file0"},{"photo_id":"1399329379","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329380":["hashtag1","hashtag2"]},{"1399329374":["hashtag1","hashtag2"]},{"1399329385":["hashtag1","hashtag2"]},{"1399329373":["hashtag1","hashtag2"]},{"1399329376":["hashtag1","hashtag2"]},{"1399329379":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329380, 1399329374, 1399329385, 1399329373, 1399329376, 1399329379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15408992767334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:07:11.841570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:07:21.926259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/06/image_14122025_06_06_14_9639.jpg', '/home/pi/Desktop/images/14122025/06/06/image_14122025_06_06_23_9710.jpg', '/home/pi/Desktop/images/14122025/06/06/image_14122025_06_06_34_10514.jpg', '/home/pi/Desktop/images/14122025/06/06/image_14122025_06_07_03_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/06/image_14122025_06_06_14_9639.jpg
/home/pi/Desktop/images/14122025/06/06/image_14122025_06_06_23_9710.jpg
/home/pi/Desktop/images/14122025/06/06/image_14122025_06_06_34_10514.jpg
/home/pi/Desktop/images/14122025/06/06/image_14122025_06_07_03_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":["1399329395","1399329389","1399329391","1399329393"],"photo_ids_order":["1399329389","1399329391","1399329393","1399329395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e93dafd19b595f4e5afcdac5ff49eb3a.jpg","text":"TemporaryFile(/tmp/multipartBody3342464541885591198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688902451,"filename":"image_14122025_06_07_03_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/87677a645f2f6a9f51e808d0746d751a.jpg","text":"TemporaryFile(/tmp/multipartBody3657172717515534619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688902451,"filename":"image_14122025_06_06_14_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1d6337f8644ef2457a92f3efee32961.jpg","text":"TemporaryFile(/tmp/multipartBody3172689267301495823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688902451,"filename":"image_14122025_06_06_23_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e891e4d17b9a97133b7f07e223ada04.jpg","text":"TemporaryFile(/tmp/multipartBody963494832199223191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688902451,"filename":"image_14122025_06_06_34_10514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329393","file1":"1399329391","file0":"1399329389","file3":"1399329395"},"map_files_photo_id_array":[{"photo_id":"1399329393","filename":"file2"},{"photo_id":"1399329391","filename":"file1"},{"photo_id":"1399329389","filename":"file0"},{"photo_id":"1399329395","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329395":["hashtag1","hashtag2"]},{"1399329389":["hashtag1","hashtag2"]},{"1399329391":["hashtag1","hashtag2"]},{"1399329393":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329395, 1399329389, 1399329391, 1399329393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.377779960632324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:08:02.566145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:08:12.051497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:08:22.099837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/07/image_14122025_06_07_44_10769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/07/image_14122025_06_07_44_10769.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.31694483757019043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:08:32.203691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:08:42.129587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_02_1670.jpg', '/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_04_1584.jpg', '/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_06_1627.jpg', '/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_07_1618.jpg', '/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_10_2934.jpg', '/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_13_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_02_1670.jpg
/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_04_1584.jpg
/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_06_1627.jpg
/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_07_1618.jpg
/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_10_2934.jpg
/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_13_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":["1399329411","1399329408","1399329410","1399329407","1399329406","1399329409"],"photo_ids_order":["1399329406","1399329407","1399329408","1399329409","1399329410","1399329411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8dd048020ef274e8a362d8013be9b40a.jpg","text":"TemporaryFile(/tmp/multipartBody2318593922820486190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688982788,"filename":"image_04112025_11_48_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/12/14/09edc6568657ea17b9e246c764dbf987.jpg","text":"TemporaryFile(/tmp/multipartBody1842200552435198414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688982788,"filename":"image_04112025_11_48_06_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e8b28cc64366eab44586407b4040a042.jpg","text":"TemporaryFile(/tmp/multipartBody1638440510707991276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688982788,"filename":"image_04112025_11_48_10_2934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a8e7c2c77cabdbcd2da92afcfa9024f1.jpg","text":"TemporaryFile(/tmp/multipartBody2729509584485652924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688982788,"filename":"image_04112025_11_48_04_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/968e1eef8a6176b6f4c3fcd2bd0091dd.jpg","text":"TemporaryFile(/tmp/multipartBody1148966318160202811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688982788,"filename":"image_04112025_11_48_02_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db7ac5f2e3c3b37258b9cd85d2eede35.jpg","text":"TemporaryFile(/tmp/multipartBody2228243893973818490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765688982788,"filename":"image_04112025_11_48_07_1618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329408","file1":"1399329407","file0":"1399329406","file4":"1399329410","file5":"1399329411","file3":"1399329409"},"map_files_photo_id_array":[{"photo_id":"1399329411","filename":"file5"},{"photo_id":"1399329408","filename":"file2"},{"photo_id":"1399329410","filename":"file4"},{"photo_id":"1399329407","filename":"file1"},{"photo_id":"1399329406","filename":"file0"},{"photo_id":"1399329409","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329411":["hashtag1","hashtag2"]},{"1399329408":["hashtag1","hashtag2"]},{"1399329410":["hashtag1","hashtag2"]},{"1399329407":["hashtag1","hashtag2"]},{"1399329406":["hashtag1","hashtag2"]},{"1399329409":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329411, 1399329408, 1399329410, 1399329407, 1399329406, 1399329409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48900246620178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:09:22.367537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/07/image_14122025_06_07_44_10769.jpg', '/home/pi/Desktop/images/14122025/06/08/image_14122025_06_08_34_9695.jpg', '/home/pi/Desktop/images/14122025/06/08/image_14122025_06_09_04_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/07/image_14122025_06_07_44_10769.jpg
/home/pi/Desktop/images/14122025/06/08/image_14122025_06_08_34_9695.jpg
/home/pi/Desktop/images/14122025/06/08/image_14122025_06_09_04_9706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329413","1399329412","1399329415"],"photo_ids_order":["1399329412","1399329413","1399329415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8cc45b245e20b6e5dd9d7bc0811622c8.jpg","text":"TemporaryFile(/tmp/multipartBody2785927665901439111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689022852,"filename":"image_14122025_06_08_34_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69012571d8809d6e22f1f93be151bc8e.jpg","text":"TemporaryFile(/tmp/multipartBody7297379030868194610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689022852,"filename":"image_14122025_06_07_44_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4da354fa3df24e608a34217992922877.jpg","text":"TemporaryFile(/tmp/multipartBody4360652667044457758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689022852,"filename":"image_14122025_06_09_04_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329415","file1":"1399329413","file0":"1399329412"},"map_files_photo_id_array":[{"photo_id":"1399329415","filename":"file2"},{"photo_id":"1399329413","filename":"file1"},{"photo_id":"1399329412","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329413":["hashtag1","hashtag2"]},{"1399329412":["hashtag1","hashtag2"]},{"1399329415":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329413, 1399329412, 1399329415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.714918851852417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:10:02.995979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:10:12.616893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:10:22.704629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/09/image_14122025_06_09_54_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/09/image_14122025_06_09_54_10677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329429"],"photo_id":"1399329429","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9cf6dc9c500dc84e8242a0500d37f875.jpg","text":"TemporaryFile(/tmp/multipartBody8663169871407056716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689083125,"filename":"image_14122025_06_09_54_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399329429"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399329429"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.917501449584961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:10:42.570028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_16_3573.jpg', '/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_19_2657.jpg', '/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_22_2663.jpg', '/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_25_3622.jpg', '/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_28_2558.jpg', '/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_31_2870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_16_3573.jpg
/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_19_2657.jpg
/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_22_2663.jpg
/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_25_3622.jpg
/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_28_2558.jpg
/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_31_2870.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329435","1399329438","1399329437","1399329434","1399329436","1399329439"],"photo_ids_order":["1399329434","1399329435","1399329436","1399329437","1399329438","1399329439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/59bf4a4e4a96ef7760b6bb4a3286b976.jpg","text":"TemporaryFile(/tmp/multipartBody7732688409197876642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689103224,"filename":"image_04112025_11_48_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/12/14/c545293c7adb75768153dc69fb021c66.jpg","text":"TemporaryFile(/tmp/multipartBody6155136724660561041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689103224,"filename":"image_04112025_11_48_28_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a424b4e5213e74d30b4e80e0a3223603.jpg","text":"TemporaryFile(/tmp/multipartBody3142183462526181131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689103224,"filename":"image_04112025_11_48_25_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fdf17f1e320760a5050b9ad811bc8e8c.jpg","text":"TemporaryFile(/tmp/multipartBody3560418120883019138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689103224,"filename":"image_04112025_11_48_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/12/14/afd353491b9709fee1ae5f4692b0ed5d.jpg","text":"TemporaryFile(/tmp/multipartBody3677495677063398251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689103224,"filename":"image_04112025_11_48_22_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b32b29588131aa52034caf513f11d71.jpg","text":"TemporaryFile(/tmp/multipartBody8407926874056237605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689103224,"filename":"image_04112025_11_48_31_2870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329436","file1":"1399329435","file0":"1399329434","file4":"1399329438","file5":"1399329439","file3":"1399329437"},"map_files_photo_id_array":[{"photo_id":"1399329439","filename":"file5"},{"photo_id":"1399329436","filename":"file2"},{"photo_id":"1399329438","filename":"file4"},{"photo_id":"1399329435","filename":"file1"},{"photo_id":"1399329434","filename":"file0"},{"photo_id":"1399329437","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329435":["hashtag1","hashtag2"]},{"1399329438":["hashtag1","hashtag2"]},{"1399329437":["hashtag1","hashtag2"]},{"1399329434":["hashtag1","hashtag2"]},{"1399329436":["hashtag1","hashtag2"]},{"1399329439":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329435, 1399329438, 1399329437, 1399329434, 1399329436, 1399329439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85578727722168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:11:21.998776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/10/image_14122025_06_10_54_10730.jpg', '/home/pi/Desktop/images/14122025/06/10/image_14122025_06_11_04_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/10/image_14122025_06_10_54_10730.jpg
/home/pi/Desktop/images/14122025/06/10/image_14122025_06_11_04_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":["1399329443","1399329440"],"photo_ids_order":["1399329440","1399329443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/946fc9c175d002335d4946fd75f0b663.jpg","text":"TemporaryFile(/tmp/multipartBody2691313715388724643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689142464,"filename":"image_14122025_06_11_04_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3774e97a546eafa08ad856c36eef71d7.jpg","text":"TemporaryFile(/tmp/multipartBody2921945488231275736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689142464,"filename":"image_14122025_06_10_54_10730.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399329443","file0":"1399329440"},"map_files_photo_id_array":[{"photo_id":"1399329443","filename":"file1"},{"photo_id":"1399329440","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329443":["hashtag1","hashtag2"]},{"1399329440":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329443, 1399329440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.615833044052124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:12:02.449200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:12:12.006234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:12:22.012317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/11/image_14122025_06_11_53_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/11/image_14122025_06_11_53_9698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329450"],"photo_id":"1399329450","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8223c9f5e823635585b960ccf4483f63.jpg","text":"TemporaryFile(/tmp/multipartBody8277884204938288358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689202437,"filename":"image_14122025_06_11_53_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399329450"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399329450"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.335796356201172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:12:41.972529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_34_2773.jpg', '/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_39_5086.jpg', '/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_47_8466.jpg', '/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_49_1642.jpg', '/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_53_4411.jpg', '/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_55_1531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_34_2773.jpg
/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_39_5086.jpg
/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_47_8466.jpg
/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_49_1642.jpg
/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_53_4411.jpg
/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_55_1531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329462","1399329455","1399329464","1399329458","1399329466","1399329460"],"photo_ids_order":["1399329455","1399329458","1399329460","1399329462","1399329464","1399329466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0e7af58ad714162b9a8ae554b984f42b.jpg","text":"TemporaryFile(/tmp/multipartBody7720406573340107910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689222636,"filename":"image_04112025_11_48_49_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ca91a5e2bfc608407237e5777d869d8.jpg","text":"TemporaryFile(/tmp/multipartBody5146422503055751194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689222636,"filename":"image_04112025_11_48_34_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/595c74211a137dc14c9b9623aa48f410.jpg","text":"TemporaryFile(/tmp/multipartBody332910125493537386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689222636,"filename":"image_04112025_11_48_53_4411.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/faba1c7eaa37af34b4c88e4bdf01d800.jpg","text":"TemporaryFile(/tmp/multipartBody56453912983679543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689222636,"filename":"image_04112025_11_48_39_5086.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/feb8773770d8a27d7f5ba54fbae3ba0a.jpg","text":"TemporaryFile(/tmp/multipartBody8004838020150378523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689222636,"filename":"image_04112025_11_48_55_1531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d96cfdbb4786258027b169cdd3a778f7.jpg","text":"TemporaryFile(/tmp/multipartBody7556671723081608148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689222636,"filename":"image_04112025_11_48_47_8466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329460","file1":"1399329458","file0":"1399329455","file4":"1399329464","file5":"1399329466","file3":"1399329462"},"map_files_photo_id_array":[{"photo_id":"1399329466","filename":"file5"},{"photo_id":"1399329460","filename":"file2"},{"photo_id":"1399329464","filename":"file4"},{"photo_id":"1399329458","filename":"file1"},{"photo_id":"1399329455","filename":"file0"},{"photo_id":"1399329462","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329462":["hashtag1","hashtag2"]},{"1399329455":["hashtag1","hashtag2"]},{"1399329464":["hashtag1","hashtag2"]},{"1399329458":["hashtag1","hashtag2"]},{"1399329466":["hashtag1","hashtag2"]},{"1399329460":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329462, 1399329455, 1399329464, 1399329458, 1399329466, 1399329460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.887290239334106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:13:22.250970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_56_1523.jpg', '/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_58_1529.jpg', '/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_59_1610.jpg', '/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_01_1756.jpg', '/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_04_2642.jpg', '/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_07_3535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_56_1523.jpg
/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_58_1529.jpg
/home/pi/Desktop/images/04112025/11/48/image_04112025_11_48_59_1610.jpg
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_01_1756.jpg
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_04_2642.jpg
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_07_3535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329473","1399329479","1399329475","1399329469","1399329471","1399329468"],"photo_ids_order":["1399329468","1399329469","1399329471","1399329473","1399329475","1399329479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7b0b317ae6a44e09e585d1b4ac93ae0a.jpg","text":"TemporaryFile(/tmp/multipartBody1142184748360188184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689262943,"filename":"image_04112025_11_49_01_1756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b6885ca309b0c6d8de2d70eaaa8d613.jpg","text":"TemporaryFile(/tmp/multipartBody197594182216879301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689262943,"filename":"image_04112025_11_49_07_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a338184b9a7a8aefaa6236d1f4e1a14.jpg","text":"TemporaryFile(/tmp/multipartBody6261667479743680227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689262943,"filename":"image_04112025_11_49_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/12/14/9bc1e5e1b50b3e28aec11b06af5f1218.jpg","text":"TemporaryFile(/tmp/multipartBody6476823297755961263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689262943,"filename":"image_04112025_11_48_58_1529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e92bf83200afd4faf10b2343c898e7e2.jpg","text":"TemporaryFile(/tmp/multipartBody4277488240767262445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689262943,"filename":"image_04112025_11_48_59_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b8b84b0e56413716b564ffff16a735c8.jpg","text":"TemporaryFile(/tmp/multipartBody5974732530706094114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689262943,"filename":"image_04112025_11_48_56_1523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329471","file1":"1399329469","file0":"1399329468","file4":"1399329475","file5":"1399329479","file3":"1399329473"},"map_files_photo_id_array":[{"photo_id":"1399329479","filename":"file5"},{"photo_id":"1399329471","filename":"file2"},{"photo_id":"1399329475","filename":"file4"},{"photo_id":"1399329469","filename":"file1"},{"photo_id":"1399329468","filename":"file0"},{"photo_id":"1399329473","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329473":["hashtag1","hashtag2"]},{"1399329479":["hashtag1","hashtag2"]},{"1399329475":["hashtag1","hashtag2"]},{"1399329469":["hashtag1","hashtag2"]},{"1399329471":["hashtag1","hashtag2"]},{"1399329468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329473, 1399329479, 1399329475, 1399329469, 1399329471, 1399329468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79895043373108 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:14:03.220272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:14:12.473732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:14:22.489845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/12/image_14122025_06_12_14_9622.jpg', '/home/pi/Desktop/images/14122025/06/14/image_14122025_06_14_14_9853.jpg', '/home/pi/Desktop/images/14122025/06/14/image_14122025_06_14_23_9778.jpg', '/home/pi/Desktop/images/14122025/06/14/image_14122025_06_14_44_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/12/image_14122025_06_12_14_9622.jpg
/home/pi/Desktop/images/14122025/06/14/image_14122025_06_14_14_9853.jpg
/home/pi/Desktop/images/14122025/06/14/image_14122025_06_14_23_9778.jpg
/home/pi/Desktop/images/14122025/06/14/image_14122025_06_14_44_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329491","1399329488","1399329493","1399329495"],"photo_ids_order":["1399329488","1399329491","1399329493","1399329495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a47812c1ccf0be38e1789325ccc18a73.jpg","text":"TemporaryFile(/tmp/multipartBody745647307092166660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689323018,"filename":"image_14122025_06_14_14_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3cb37a45bb47ca37205672cd8c6d125.jpg","text":"TemporaryFile(/tmp/multipartBody6715519287996208810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689323018,"filename":"image_14122025_06_12_14_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f934317b4c55255647d124090b25e25f.jpg","text":"TemporaryFile(/tmp/multipartBody6049122221702483483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689323018,"filename":"image_14122025_06_14_23_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/685a0b484ab09c83ee2f0845509445f0.jpg","text":"TemporaryFile(/tmp/multipartBody462255491842190017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689323018,"filename":"image_14122025_06_14_44_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329493","file1":"1399329491","file0":"1399329488","file3":"1399329495"},"map_files_photo_id_array":[{"photo_id":"1399329493","filename":"file2"},{"photo_id":"1399329491","filename":"file1"},{"photo_id":"1399329488","filename":"file0"},{"photo_id":"1399329495","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329491":["hashtag1","hashtag2"]},{"1399329488":["hashtag1","hashtag2"]},{"1399329493":["hashtag1","hashtag2"]},{"1399329495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329491, 1399329488, 1399329493, 1399329495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.454747200012207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:15:03.260081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:15:12.676427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:15:22.805070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/14/image_14122025_06_14_54_10612.jpg', '/home/pi/Desktop/images/14122025/06/15/image_14122025_06_15_24_10622.jpg', '/home/pi/Desktop/images/14122025/06/15/image_14122025_06_15_34_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/14/image_14122025_06_14_54_10612.jpg
/home/pi/Desktop/images/14122025/06/15/image_14122025_06_15_24_10622.jpg
/home/pi/Desktop/images/14122025/06/15/image_14122025_06_15_34_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":["1399329501","1399329504","1399329506"],"photo_ids_order":["1399329501","1399329504","1399329506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9336010844811595df4c35a78bd7eaed.jpg","text":"TemporaryFile(/tmp/multipartBody4690244680465346493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689383324,"filename":"image_14122025_06_14_54_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/97e4d91ec8fb39e01a15f998e2d2166c.jpg","text":"TemporaryFile(/tmp/multipartBody4752404115677955616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689383324,"filename":"image_14122025_06_15_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/12/14/0106be67aba4b8aafdf5bf1f9f03f253.jpg","text":"TemporaryFile(/tmp/multipartBody157178112273515745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689383324,"filename":"image_14122025_06_15_34_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329506","file1":"1399329504","file0":"1399329501"},"map_files_photo_id_array":[{"photo_id":"1399329506","filename":"file2"},{"photo_id":"1399329504","filename":"file1"},{"photo_id":"1399329501","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329501":["hashtag1","hashtag2"]},{"1399329504":["hashtag1","hashtag2"]},{"1399329506":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329501, 1399329504, 1399329506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.995003700256348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:16:02.569971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:16:12.013091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:16:22.054423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/15/image_14122025_06_15_44_9832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/15/image_14122025_06_15_44_9832.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329510"],"photo_id":"1399329510","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3902bb4697de1c2158b79125d0a7f357.jpg","text":"TemporaryFile(/tmp/multipartBody229634287029946144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689442482,"filename":"image_14122025_06_15_44_9832.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399329510"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399329510"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.657594919204712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:16:42.014564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_10_2523.jpg', '/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_13_3584.jpg', '/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_19_2616.jpg', '/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_22_3759.jpg', '/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_25_2755.jpg', '/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_28_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_10_2523.jpg
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_13_3584.jpg
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_19_2616.jpg
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_22_3759.jpg
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_25_2755.jpg
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_28_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":["1399329519","1399329527","1399329521","1399329515","1399329523","1399329525"],"photo_ids_order":["1399329515","1399329519","1399329521","1399329523","1399329525","1399329527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e0bb5e7297daa32e6cbbbda7c2f9760.jpg","text":"TemporaryFile(/tmp/multipartBody1616871905994103331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689462676,"filename":"image_04112025_11_49_13_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/67d5563fd91d30dfa0edc0f38d8973ac.jpg","text":"TemporaryFile(/tmp/multipartBody6266251065582009678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689462676,"filename":"image_04112025_11_49_28_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d450ba1809b539a2462e7a7c5ae8741c.jpg","text":"TemporaryFile(/tmp/multipartBody237167583625967101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689462676,"filename":"image_04112025_11_49_19_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19a22d6c4c03efb8c8e666fba1a5772c.jpg","text":"TemporaryFile(/tmp/multipartBody6414618425177738178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689462676,"filename":"image_04112025_11_49_10_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a3ced5689df1df5d4d5a55a17134116.jpg","text":"TemporaryFile(/tmp/multipartBody1690664615637284619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689462676,"filename":"image_04112025_11_49_22_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/55dc93153356a8596ee4279ff15bdc0c.jpg","text":"TemporaryFile(/tmp/multipartBody168952609885088873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689462676,"filename":"image_04112025_11_49_25_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329521","file1":"1399329519","file0":"1399329515","file4":"1399329525","file5":"1399329527","file3":"1399329523"},"map_files_photo_id_array":[{"photo_id":"1399329527","filename":"file5"},{"photo_id":"1399329521","filename":"file2"},{"photo_id":"1399329525","filename":"file4"},{"photo_id":"1399329519","filename":"file1"},{"photo_id":"1399329515","filename":"file0"},{"photo_id":"1399329523","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329519":["hashtag1","hashtag2"]},{"1399329527":["hashtag1","hashtag2"]},{"1399329521":["hashtag1","hashtag2"]},{"1399329515":["hashtag1","hashtag2"]},{"1399329523":["hashtag1","hashtag2"]},{"1399329525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329519, 1399329527, 1399329521, 1399329515, 1399329523, 1399329525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.400195837020874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:17:22.362357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/15/image_14122025_06_16_04_10625.jpg', '/home/pi/Desktop/images/14122025/06/17/image_14122025_06_17_24_9660.jpg', '/home/pi/Desktop/images/14122025/06/17/image_14122025_06_17_34_9851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/15/image_14122025_06_16_04_10625.jpg
/home/pi/Desktop/images/14122025/06/17/image_14122025_06_17_24_9660.jpg
/home/pi/Desktop/images/14122025/06/17/image_14122025_06_17_34_9851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329534","1399329530","1399329532"],"photo_ids_order":["1399329530","1399329532","1399329534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b5d573d816bcc17b4140aee015dcfc89.jpg","text":"TemporaryFile(/tmp/multipartBody6384260807630889558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689502885,"filename":"image_14122025_06_17_34_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/313f53fc05cfd906757b0043718dddb4.jpg","text":"TemporaryFile(/tmp/multipartBody1491374787154204150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689502885,"filename":"image_14122025_06_16_04_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5659131f961d8f6879fc822b1b7952b7.jpg","text":"TemporaryFile(/tmp/multipartBody5420708784984886336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689502885,"filename":"image_14122025_06_17_24_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329534","file1":"1399329532","file0":"1399329530"},"map_files_photo_id_array":[{"photo_id":"1399329534","filename":"file2"},{"photo_id":"1399329532","filename":"file1"},{"photo_id":"1399329530","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329534":["hashtag1","hashtag2"]},{"1399329530":["hashtag1","hashtag2"]},{"1399329532":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329534, 1399329530, 1399329532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.342278003692627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:18:03.025137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:18:12.603786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:18:22.735530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/17/image_14122025_06_17_44_10701.jpg', '/home/pi/Desktop/images/14122025/06/17/image_14122025_06_18_04_9804.jpg', '/home/pi/Desktop/images/14122025/06/18/image_14122025_06_18_13_9675.jpg', '/home/pi/Desktop/images/14122025/06/18/image_14122025_06_18_24_10697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/17/image_14122025_06_17_44_10701.jpg
/home/pi/Desktop/images/14122025/06/17/image_14122025_06_18_04_9804.jpg
/home/pi/Desktop/images/14122025/06/18/image_14122025_06_18_13_9675.jpg
/home/pi/Desktop/images/14122025/06/18/image_14122025_06_18_24_10697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329545","1399329539","1399329541","1399329543"],"photo_ids_order":["1399329539","1399329541","1399329543","1399329545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6a7aabe6b205e5cf192085a8214dd64d.jpg","text":"TemporaryFile(/tmp/multipartBody7248596168124093007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689563274,"filename":"image_14122025_06_18_24_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/08a2a518d34a7a58639205ea044303bf.jpg","text":"TemporaryFile(/tmp/multipartBody8426941117631718420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689563274,"filename":"image_14122025_06_17_44_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b694d382a16b437b269464217cdf9cf9.jpg","text":"TemporaryFile(/tmp/multipartBody7190419533869210734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689563274,"filename":"image_14122025_06_18_04_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a5fb21990e495cfebebebb3b57bfa2b.jpg","text":"TemporaryFile(/tmp/multipartBody8988681102962244991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689563274,"filename":"image_14122025_06_18_13_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329543","file1":"1399329541","file0":"1399329539","file3":"1399329545"},"map_files_photo_id_array":[{"photo_id":"1399329543","filename":"file2"},{"photo_id":"1399329541","filename":"file1"},{"photo_id":"1399329539","filename":"file0"},{"photo_id":"1399329545","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329545":["hashtag1","hashtag2"]},{"1399329539":["hashtag1","hashtag2"]},{"1399329541":["hashtag1","hashtag2"]},{"1399329543":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329545, 1399329539, 1399329541, 1399329543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.40006923675537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:19:02.832802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:19:11.926154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:19:21.951293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/18/image_14122025_06_18_53_9786.jpg', '/home/pi/Desktop/images/14122025/06/19/image_14122025_06_19_14_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/18/image_14122025_06_18_53_9786.jpg
/home/pi/Desktop/images/14122025/06/19/image_14122025_06_19_14_9821.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329555","1399329557"],"photo_ids_order":["1399329555","1399329557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/09885f334d3c0388877eacef5a69aa06.jpg","text":"TemporaryFile(/tmp/multipartBody610694529881352055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689622416,"filename":"image_14122025_06_18_53_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90974f025295542811e65d08264648d4.jpg","text":"TemporaryFile(/tmp/multipartBody7873294735760737699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689622416,"filename":"image_14122025_06_19_14_9821.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399329557","file0":"1399329555"},"map_files_photo_id_array":[{"photo_id":"1399329557","filename":"file1"},{"photo_id":"1399329555","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329555":["hashtag1","hashtag2"]},{"1399329557":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329555, 1399329557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.91848874092102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:19:41.875592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_35_7180.jpg', '/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_38_3272.jpg', '/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_40_1570.jpg', '/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_41_1520.jpg', '/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_52_10265.jpg', '/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_53_1567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_35_7180.jpg
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_38_3272.jpg
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_40_1570.jpg
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_41_1520.jpg
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_52_10265.jpg
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_53_1567.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5565617084503174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:20:02.554161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:20:12.112977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:20:22.180601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/19/image_14122025_06_19_44_10689.jpg', '/home/pi/Desktop/images/14122025/06/19/image_14122025_06_20_03_9657.jpg', '/home/pi/Desktop/images/14122025/06/20/image_14122025_06_20_13_9814.jpg', '/home/pi/Desktop/images/14122025/06/20/image_14122025_06_20_24_10711.jpg', '/home/pi/Desktop/images/14122025/06/20/image_14122025_06_20_34_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/19/image_14122025_06_19_44_10689.jpg
/home/pi/Desktop/images/14122025/06/19/image_14122025_06_20_03_9657.jpg
/home/pi/Desktop/images/14122025/06/20/image_14122025_06_20_13_9814.jpg
/home/pi/Desktop/images/14122025/06/20/image_14122025_06_20_24_10711.jpg
/home/pi/Desktop/images/14122025/06/20/image_14122025_06_20_34_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":["1399329575","1399329569","1399329577","1399329571","1399329573"],"photo_ids_order":["1399329569","1399329571","1399329573","1399329575","1399329577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ddf375821ed7381d3c9ad07137b6691c.jpg","text":"TemporaryFile(/tmp/multipartBody4474896517961999202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689682790,"filename":"image_14122025_06_20_24_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bcc6ed950ab74fc4fb516a09fedcd94c.jpg","text":"TemporaryFile(/tmp/multipartBody47596412903209995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689682790,"filename":"image_14122025_06_19_44_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc6bfa01f98af45db285b833b075070c.jpg","text":"TemporaryFile(/tmp/multipartBody2826329635866493431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689682790,"filename":"image_14122025_06_20_34_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d7eac76d0221c84c0f40989bd3348eb.jpg","text":"TemporaryFile(/tmp/multipartBody5960998750736298265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689682790,"filename":"image_14122025_06_20_03_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d303b8c982155e1d08136c3122fd784a.jpg","text":"TemporaryFile(/tmp/multipartBody4950350829762131651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689682790,"filename":"image_14122025_06_20_13_9814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329573","file1":"1399329571","file0":"1399329569","file4":"1399329577","file3":"1399329575"},"map_files_photo_id_array":[{"photo_id":"1399329573","filename":"file2"},{"photo_id":"1399329577","filename":"file4"},{"photo_id":"1399329571","filename":"file1"},{"photo_id":"1399329569","filename":"file0"},{"photo_id":"1399329575","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329575":["hashtag1","hashtag2"]},{"1399329569":["hashtag1","hashtag2"]},{"1399329577":["hashtag1","hashtag2"]},{"1399329571":["hashtag1","hashtag2"]},{"1399329573":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329575, 1399329569, 1399329577, 1399329571, 1399329573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.20271277427673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:21:02.997873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:21:12.322291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:21:22.429238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/20/image_14122025_06_20_53_9822.jpg', '/home/pi/Desktop/images/14122025/06/20/image_14122025_06_21_04_10706.jpg', '/home/pi/Desktop/images/14122025/06/21/image_14122025_06_21_24_9700.jpg', '/home/pi/Desktop/images/14122025/06/21/image_14122025_06_21_34_10642.jpg', '/home/pi/Desktop/images/14122025/06/21/image_14122025_06_21_44_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/20/image_14122025_06_20_53_9822.jpg
/home/pi/Desktop/images/14122025/06/20/image_14122025_06_21_04_10706.jpg
/home/pi/Desktop/images/14122025/06/21/image_14122025_06_21_24_9700.jpg
/home/pi/Desktop/images/14122025/06/21/image_14122025_06_21_34_10642.jpg
/home/pi/Desktop/images/14122025/06/21/image_14122025_06_21_44_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329587","1399329581","1399329583","1399329589","1399329585"],"photo_ids_order":["1399329581","1399329583","1399329585","1399329587","1399329589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c65c7ea7d918da5d87f720b5972300c6.jpg","text":"TemporaryFile(/tmp/multipartBody8360981393618613551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689743016,"filename":"image_14122025_06_21_34_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/296b5dbb8e127a10d5e02c28acc4bd82.jpg","text":"TemporaryFile(/tmp/multipartBody8643998930494506971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689743016,"filename":"image_14122025_06_20_53_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/099c913902a0bdd37620849bb06a83e5.jpg","text":"TemporaryFile(/tmp/multipartBody4019752702303841156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689743016,"filename":"image_14122025_06_21_04_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/79d345713db4f210e8aab71abdfba172.jpg","text":"TemporaryFile(/tmp/multipartBody2150129935083770229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689743016,"filename":"image_14122025_06_21_44_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/44e70ea579c6c84c8e728bb4ba2766b9.jpg","text":"TemporaryFile(/tmp/multipartBody8332786084476330696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689743016,"filename":"image_14122025_06_21_24_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329585","file1":"1399329583","file0":"1399329581","file4":"1399329589","file3":"1399329587"},"map_files_photo_id_array":[{"photo_id":"1399329585","filename":"file2"},{"photo_id":"1399329589","filename":"file4"},{"photo_id":"1399329583","filename":"file1"},{"photo_id":"1399329581","filename":"file0"},{"photo_id":"1399329587","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329587":["hashtag1","hashtag2"]},{"1399329581":["hashtag1","hashtag2"]},{"1399329583":["hashtag1","hashtag2"]},{"1399329589":["hashtag1","hashtag2"]},{"1399329585":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329587, 1399329581, 1399329583, 1399329589, 1399329585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.906261682510376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:22:03.129140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:22:12.613309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:22:22.692116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/21/image_14122025_06_21_54_10070.jpg', '/home/pi/Desktop/images/14122025/06/21/image_14122025_06_22_04_9714.jpg', '/home/pi/Desktop/images/14122025/06/22/image_14122025_06_22_13_9746.jpg', '/home/pi/Desktop/images/14122025/06/22/image_14122025_06_22_34_9740.jpg', '/home/pi/Desktop/images/14122025/06/22/image_14122025_06_22_44_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/21/image_14122025_06_21_54_10070.jpg
/home/pi/Desktop/images/14122025/06/21/image_14122025_06_22_04_9714.jpg
/home/pi/Desktop/images/14122025/06/22/image_14122025_06_22_13_9746.jpg
/home/pi/Desktop/images/14122025/06/22/image_14122025_06_22_34_9740.jpg
/home/pi/Desktop/images/14122025/06/22/image_14122025_06_22_44_9837.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.48348116874694824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:22:32.731980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:22:42.609755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_35_7180.jpg', '/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_38_3272.jpg', '/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_40_1570.jpg', '/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_41_1520.jpg', '/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_52_10265.jpg', '/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_53_1567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_35_7180.jpg
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_38_3272.jpg
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_40_1570.jpg
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_41_1520.jpg
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_52_10265.jpg
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_53_1567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329606","1399329609","1399329603","1399329605","1399329608","1399329607"],"photo_ids_order":["1399329603","1399329605","1399329606","1399329607","1399329608","1399329609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1470594e012915daa96f205588b7ce3.jpg","text":"TemporaryFile(/tmp/multipartBody850336406218547323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689823168,"filename":"image_04112025_11_49_40_1570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51381336925a8988fc10480f939e0542.jpg","text":"TemporaryFile(/tmp/multipartBody7751077247990560908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689823168,"filename":"image_04112025_11_49_53_1567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d7b266c32700f4f63e11f5f8864338e.jpg","text":"TemporaryFile(/tmp/multipartBody1183784405960695775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689823168,"filename":"image_04112025_11_49_35_7180.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c6b00459b950015baf0f0e3bceac260a.jpg","text":"TemporaryFile(/tmp/multipartBody2362072643553105733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689823168,"filename":"image_04112025_11_49_38_3272.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dea1fe36807e7949f4184960fe4aa25d.jpg","text":"TemporaryFile(/tmp/multipartBody6964847378410987406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689823168,"filename":"image_04112025_11_49_52_10265.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8bd5c01d062a41ed991bf14568b8d453.jpg","text":"TemporaryFile(/tmp/multipartBody7498589758566775979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689823168,"filename":"image_04112025_11_49_41_1520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329606","file1":"1399329605","file0":"1399329603","file4":"1399329608","file5":"1399329609","file3":"1399329607"},"map_files_photo_id_array":[{"photo_id":"1399329609","filename":"file5"},{"photo_id":"1399329606","filename":"file2"},{"photo_id":"1399329608","filename":"file4"},{"photo_id":"1399329605","filename":"file1"},{"photo_id":"1399329603","filename":"file0"},{"photo_id":"1399329607","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329606":["hashtag1","hashtag2"]},{"1399329609":["hashtag1","hashtag2"]},{"1399329603":["hashtag1","hashtag2"]},{"1399329605":["hashtag1","hashtag2"]},{"1399329608":["hashtag1","hashtag2"]},{"1399329607":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329606, 1399329609, 1399329603, 1399329605, 1399329608, 1399329607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60943055152893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:23:21.994490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/21/image_14122025_06_21_54_10070.jpg', '/home/pi/Desktop/images/14122025/06/21/image_14122025_06_22_04_9714.jpg', '/home/pi/Desktop/images/14122025/06/22/image_14122025_06_22_13_9746.jpg', '/home/pi/Desktop/images/14122025/06/22/image_14122025_06_22_34_9740.jpg', '/home/pi/Desktop/images/14122025/06/22/image_14122025_06_22_44_9837.jpg', '/home/pi/Desktop/images/14122025/06/22/image_14122025_06_22_53_9880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/21/image_14122025_06_21_54_10070.jpg
/home/pi/Desktop/images/14122025/06/21/image_14122025_06_22_04_9714.jpg
/home/pi/Desktop/images/14122025/06/22/image_14122025_06_22_13_9746.jpg
/home/pi/Desktop/images/14122025/06/22/image_14122025_06_22_34_9740.jpg
/home/pi/Desktop/images/14122025/06/22/image_14122025_06_22_44_9837.jpg
/home/pi/Desktop/images/14122025/06/22/image_14122025_06_22_53_9880.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329612","1399329621","1399329618","1399329614","1399329616","1399329610"],"photo_ids_order":["1399329610","1399329612","1399329614","1399329616","1399329618","1399329621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d88fe9831a34d3e15e17256b78f66611.jpg","text":"TemporaryFile(/tmp/multipartBody619516721797035377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689862620,"filename":"image_14122025_06_22_04_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81873628e7fb0e463b390d6433dc16a0.jpg","text":"TemporaryFile(/tmp/multipartBody1622434934484249924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689862620,"filename":"image_14122025_06_22_53_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14c8cd6a6a619f3af5a178576d615e5e.jpg","text":"TemporaryFile(/tmp/multipartBody3926958084842507472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689862620,"filename":"image_14122025_06_22_44_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/39dc5fa29958edbbe71d8089f640bdf1.jpg","text":"TemporaryFile(/tmp/multipartBody1484409592133509841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689862620,"filename":"image_14122025_06_22_13_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3cc0bdec574bc50242439b8a423624c3.jpg","text":"TemporaryFile(/tmp/multipartBody42620519020846056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689862620,"filename":"image_14122025_06_22_34_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c8e780ac612ab6a5f162fedad405e983.jpg","text":"TemporaryFile(/tmp/multipartBody1758198267383108274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689862620,"filename":"image_14122025_06_21_54_10070.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329614","file1":"1399329612","file0":"1399329610","file4":"1399329618","file5":"1399329621","file3":"1399329616"},"map_files_photo_id_array":[{"photo_id":"1399329621","filename":"file5"},{"photo_id":"1399329614","filename":"file2"},{"photo_id":"1399329618","filename":"file4"},{"photo_id":"1399329612","filename":"file1"},{"photo_id":"1399329610","filename":"file0"},{"photo_id":"1399329616","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329612":["hashtag1","hashtag2"]},{"1399329621":["hashtag1","hashtag2"]},{"1399329618":["hashtag1","hashtag2"]},{"1399329614":["hashtag1","hashtag2"]},{"1399329616":["hashtag1","hashtag2"]},{"1399329610":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329612, 1399329621, 1399329618, 1399329614, 1399329616, 1399329610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54289889335632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:24:03.024422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/22/image_14122025_06_23_04_10721.jpg', '/home/pi/Desktop/images/14122025/06/23/image_14122025_06_23_24_9698.jpg', '/home/pi/Desktop/images/14122025/06/23/image_14122025_06_23_34_9829.jpg', '/home/pi/Desktop/images/14122025/06/23/image_14122025_06_23_43_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/22/image_14122025_06_23_04_10721.jpg
/home/pi/Desktop/images/14122025/06/23/image_14122025_06_23_24_9698.jpg
/home/pi/Desktop/images/14122025/06/23/image_14122025_06_23_34_9829.jpg
/home/pi/Desktop/images/14122025/06/23/image_14122025_06_23_43_9775.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6110415458679199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:24:12.195736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:24:22.259228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/22/image_14122025_06_23_04_10721.jpg', '/home/pi/Desktop/images/14122025/06/23/image_14122025_06_23_24_9698.jpg', '/home/pi/Desktop/images/14122025/06/23/image_14122025_06_23_34_9829.jpg', '/home/pi/Desktop/images/14122025/06/23/image_14122025_06_23_43_9775.jpg', '/home/pi/Desktop/images/14122025/06/23/image_14122025_06_23_54_10799.jpg', '/home/pi/Desktop/images/14122025/06/23/image_14122025_06_24_04_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/22/image_14122025_06_23_04_10721.jpg
/home/pi/Desktop/images/14122025/06/23/image_14122025_06_23_24_9698.jpg
/home/pi/Desktop/images/14122025/06/23/image_14122025_06_23_34_9829.jpg
/home/pi/Desktop/images/14122025/06/23/image_14122025_06_23_43_9775.jpg
/home/pi/Desktop/images/14122025/06/23/image_14122025_06_23_54_10799.jpg
/home/pi/Desktop/images/14122025/06/23/image_14122025_06_24_04_9759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329632","1399329626","1399329634","1399329628","1399329637","1399329630"],"photo_ids_order":["1399329626","1399329628","1399329630","1399329632","1399329634","1399329637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d0b1a12202e6c5a55876a229a25f9528.jpg","text":"TemporaryFile(/tmp/multipartBody4347174933520582729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689922883,"filename":"image_14122025_06_23_43_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b58cb8d6a6d7bd75d91fba72aeedbbb3.jpg","text":"TemporaryFile(/tmp/multipartBody4890636616484862254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689922883,"filename":"image_14122025_06_23_04_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2326b99ee45d3c301e51ca8bd18aac31.jpg","text":"TemporaryFile(/tmp/multipartBody2263468711948984967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689922883,"filename":"image_14122025_06_23_54_10799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6078abe6a7d855b94d8950698b6d7b21.jpg","text":"TemporaryFile(/tmp/multipartBody3461834603928747929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689922883,"filename":"image_14122025_06_23_24_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be048e74aeee552d970eb172a476a599.jpg","text":"TemporaryFile(/tmp/multipartBody2436506672863695270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689922883,"filename":"image_14122025_06_24_04_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ec0fab62d659c4acbefa15a7ee83099d.jpg","text":"TemporaryFile(/tmp/multipartBody2482869210517179262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689922883,"filename":"image_14122025_06_23_34_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329630","file1":"1399329628","file0":"1399329626","file4":"1399329634","file5":"1399329637","file3":"1399329632"},"map_files_photo_id_array":[{"photo_id":"1399329637","filename":"file5"},{"photo_id":"1399329630","filename":"file2"},{"photo_id":"1399329634","filename":"file4"},{"photo_id":"1399329628","filename":"file1"},{"photo_id":"1399329626","filename":"file0"},{"photo_id":"1399329632","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329632":["hashtag1","hashtag2"]},{"1399329626":["hashtag1","hashtag2"]},{"1399329634":["hashtag1","hashtag2"]},{"1399329628":["hashtag1","hashtag2"]},{"1399329637":["hashtag1","hashtag2"]},{"1399329630":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329632, 1399329626, 1399329634, 1399329628, 1399329637, 1399329630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.709545850753784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:25:03.070079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/24/image_14122025_06_24_23_9762.jpg', '/home/pi/Desktop/images/14122025/06/24/image_14122025_06_24_34_10645.jpg', '/home/pi/Desktop/images/14122025/06/24/image_14122025_06_24_44_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/24/image_14122025_06_24_23_9762.jpg
/home/pi/Desktop/images/14122025/06/24/image_14122025_06_24_34_10645.jpg
/home/pi/Desktop/images/14122025/06/24/image_14122025_06_24_44_9821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329638","1399329640","1399329639"],"photo_ids_order":["1399329638","1399329639","1399329640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e4a1292d9885ccfb0806c82df6ee85f5.jpg","text":"TemporaryFile(/tmp/multipartBody6074613986993385935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689963615,"filename":"image_14122025_06_24_23_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2fa495fb076d20465d59db7235142276.jpg","text":"TemporaryFile(/tmp/multipartBody1798461942715116281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689963615,"filename":"image_14122025_06_24_44_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a8ad490a9812c3331f34a23292133c29.jpg","text":"TemporaryFile(/tmp/multipartBody4445625032145932957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765689963615,"filename":"image_14122025_06_24_34_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329640","file1":"1399329639","file0":"1399329638"},"map_files_photo_id_array":[{"photo_id":"1399329640","filename":"file2"},{"photo_id":"1399329639","filename":"file1"},{"photo_id":"1399329638","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329638":["hashtag1","hashtag2"]},{"1399329640":["hashtag1","hashtag2"]},{"1399329639":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329638, 1399329640, 1399329639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.265318870544434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:25:32.444706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:25:42.399420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_55_1796.jpg', '/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_56_1544.jpg', '/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_58_1565.jpg', '/home/pi/Desktop/images/04112025/11/49/image_04112025_11_50_00_1623.jpg', '/home/pi/Desktop/images/04112025/11/50/image_04112025_11_50_08_3011.jpg', '/home/pi/Desktop/images/04112025/11/50/image_04112025_11_50_12_3928.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_55_1796.jpg
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_56_1544.jpg
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_49_58_1565.jpg
/home/pi/Desktop/images/04112025/11/49/image_04112025_11_50_00_1623.jpg
/home/pi/Desktop/images/04112025/11/50/image_04112025_11_50_08_3011.jpg
/home/pi/Desktop/images/04112025/11/50/image_04112025_11_50_12_3928.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329653","1399329650","1399329652","1399329646","1399329649","1399329651"],"photo_ids_order":["1399329646","1399329649","1399329650","1399329651","1399329652","1399329653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/57af0c9a84d3533c9e326081444e0652.jpg","text":"TemporaryFile(/tmp/multipartBody420493785244999395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690003064,"filename":"image_04112025_11_50_12_3928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8afa0eb8c0e9909e1c58fbc71791b04e.jpg","text":"TemporaryFile(/tmp/multipartBody8124132920842697537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690003064,"filename":"image_04112025_11_49_58_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b3f7c34c818fa4f5752f0b52e20a917.jpg","text":"TemporaryFile(/tmp/multipartBody2639115161752925755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690003064,"filename":"image_04112025_11_50_08_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ab51fcd6c8712585fabc22e25a36164.jpg","text":"TemporaryFile(/tmp/multipartBody1688333241006726007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690003064,"filename":"image_04112025_11_49_55_1796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d95c1da484ba94d0ee9c403b15bf2105.jpg","text":"TemporaryFile(/tmp/multipartBody8411270695875903235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690003064,"filename":"image_04112025_11_49_56_1544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54aada6edc87b0cf2b921ca953e2af2f.jpg","text":"TemporaryFile(/tmp/multipartBody4190289625787709362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690003064,"filename":"image_04112025_11_50_00_1623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329650","file1":"1399329649","file0":"1399329646","file4":"1399329652","file5":"1399329653","file3":"1399329651"},"map_files_photo_id_array":[{"photo_id":"1399329653","filename":"file5"},{"photo_id":"1399329650","filename":"file2"},{"photo_id":"1399329652","filename":"file4"},{"photo_id":"1399329649","filename":"file1"},{"photo_id":"1399329646","filename":"file0"},{"photo_id":"1399329651","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329653":["hashtag1","hashtag2"]},{"1399329650":["hashtag1","hashtag2"]},{"1399329652":["hashtag1","hashtag2"]},{"1399329646":["hashtag1","hashtag2"]},{"1399329649":["hashtag1","hashtag2"]},{"1399329651":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329653, 1399329650, 1399329652, 1399329646, 1399329649, 1399329651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.359156370162964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:26:22.792984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/24/image_14122025_06_24_54_9731.jpg', '/home/pi/Desktop/images/14122025/06/24/image_14122025_06_25_03_9705.jpg', '/home/pi/Desktop/images/14122025/06/25/image_14122025_06_25_13_9962.jpg', '/home/pi/Desktop/images/14122025/06/25/image_14122025_06_25_24_10816.jpg', '/home/pi/Desktop/images/14122025/06/25/image_14122025_06_25_34_9664.jpg', '/home/pi/Desktop/images/14122025/06/25/image_14122025_06_25_43_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/24/image_14122025_06_24_54_9731.jpg
/home/pi/Desktop/images/14122025/06/24/image_14122025_06_25_03_9705.jpg
/home/pi/Desktop/images/14122025/06/25/image_14122025_06_25_13_9962.jpg
/home/pi/Desktop/images/14122025/06/25/image_14122025_06_25_24_10816.jpg
/home/pi/Desktop/images/14122025/06/25/image_14122025_06_25_34_9664.jpg
/home/pi/Desktop/images/14122025/06/25/image_14122025_06_25_43_9607.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5241763591766357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:26:32.632975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:26:42.623648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/50/image_04112025_11_50_14_2543.jpg', '/home/pi/Desktop/images/04112025/11/50/image_04112025_11_50_18_3989.jpg', '/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_07_3011.jpg', '/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_11_3670.jpg', '/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_13_2674.jpg', '/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_16_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/50/image_04112025_11_50_14_2543.jpg
/home/pi/Desktop/images/04112025/11/50/image_04112025_11_50_18_3989.jpg
/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_07_3011.jpg
/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_11_3670.jpg
/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_13_2674.jpg
/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_16_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":["1399329668","1399329670","1399329664","1399329667","1399329669","1399329666"],"photo_ids_order":["1399329664","1399329666","1399329667","1399329668","1399329669","1399329670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e3f01e7ba1f54299d25a98fa20d62df0.jpg","text":"TemporaryFile(/tmp/multipartBody1529957471429336973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690063399,"filename":"image_04112025_11_54_11_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7867106846afbbf1237876c361a0ffe1.jpg","text":"TemporaryFile(/tmp/multipartBody6980320945647635691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690063399,"filename":"image_04112025_11_54_16_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/842b5bebc7cdfb9a18a1ebfb19b0faed.jpg","text":"TemporaryFile(/tmp/multipartBody2683734242812218640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690063399,"filename":"image_04112025_11_50_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/12/14/c67c082e78bed7991491e1e5fe12d4fa.jpg","text":"TemporaryFile(/tmp/multipartBody7732112129326097431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690063399,"filename":"image_04112025_11_54_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3ec3d74dd757b52bd6a96459cbfd1964.jpg","text":"TemporaryFile(/tmp/multipartBody3565661918022165062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690063399,"filename":"image_04112025_11_54_13_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dcc5919a086bdcff5eaf9c9c2c9a9eef.jpg","text":"TemporaryFile(/tmp/multipartBody696557317082609808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690063399,"filename":"image_04112025_11_50_18_3989.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329667","file1":"1399329666","file0":"1399329664","file4":"1399329669","file5":"1399329670","file3":"1399329668"},"map_files_photo_id_array":[{"photo_id":"1399329670","filename":"file5"},{"photo_id":"1399329667","filename":"file2"},{"photo_id":"1399329669","filename":"file4"},{"photo_id":"1399329666","filename":"file1"},{"photo_id":"1399329664","filename":"file0"},{"photo_id":"1399329668","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329668":["hashtag1","hashtag2"]},{"1399329670":["hashtag1","hashtag2"]},{"1399329664":["hashtag1","hashtag2"]},{"1399329667":["hashtag1","hashtag2"]},{"1399329669":["hashtag1","hashtag2"]},{"1399329666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329668, 1399329670, 1399329664, 1399329667, 1399329669, 1399329666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90395903587341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:27:21.924293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/24/image_14122025_06_24_54_9731.jpg', '/home/pi/Desktop/images/14122025/06/24/image_14122025_06_25_03_9705.jpg', '/home/pi/Desktop/images/14122025/06/25/image_14122025_06_25_13_9962.jpg', '/home/pi/Desktop/images/14122025/06/25/image_14122025_06_25_24_10816.jpg', '/home/pi/Desktop/images/14122025/06/25/image_14122025_06_25_34_9664.jpg', '/home/pi/Desktop/images/14122025/06/25/image_14122025_06_25_43_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/24/image_14122025_06_24_54_9731.jpg
/home/pi/Desktop/images/14122025/06/24/image_14122025_06_25_03_9705.jpg
/home/pi/Desktop/images/14122025/06/25/image_14122025_06_25_13_9962.jpg
/home/pi/Desktop/images/14122025/06/25/image_14122025_06_25_24_10816.jpg
/home/pi/Desktop/images/14122025/06/25/image_14122025_06_25_34_9664.jpg
/home/pi/Desktop/images/14122025/06/25/image_14122025_06_25_43_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":["1399329671","1399329676","1399329673","1399329681","1399329684","1399329678"],"photo_ids_order":["1399329671","1399329673","1399329676","1399329678","1399329681","1399329684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ee654d430e4d63d713c9b8c98d5b8691.jpg","text":"TemporaryFile(/tmp/multipartBody5272679438463377004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690102594,"filename":"image_14122025_06_24_54_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf47063bc7f03b9a1200bfc84c69ed29.jpg","text":"TemporaryFile(/tmp/multipartBody8921693438575094780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690102594,"filename":"image_14122025_06_25_13_9962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/afba9fd7dbb3bdc6585b0ff6ed902305.jpg","text":"TemporaryFile(/tmp/multipartBody7442644572939383800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690102594,"filename":"image_14122025_06_25_03_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ab3c09aac37a7d99093c29b57ba3c938.jpg","text":"TemporaryFile(/tmp/multipartBody1273350771231483872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690102594,"filename":"image_14122025_06_25_34_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8cacda57859fa598b454335e14d2e772.jpg","text":"TemporaryFile(/tmp/multipartBody8667799174681368309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690102594,"filename":"image_14122025_06_25_43_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c9c0f756fd912adcc58f7cce3d0574b0.jpg","text":"TemporaryFile(/tmp/multipartBody6134569700759119255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690102594,"filename":"image_14122025_06_25_24_10816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329676","file1":"1399329673","file0":"1399329671","file4":"1399329681","file5":"1399329684","file3":"1399329678"},"map_files_photo_id_array":[{"photo_id":"1399329684","filename":"file5"},{"photo_id":"1399329676","filename":"file2"},{"photo_id":"1399329681","filename":"file4"},{"photo_id":"1399329673","filename":"file1"},{"photo_id":"1399329671","filename":"file0"},{"photo_id":"1399329678","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329671":["hashtag1","hashtag2"]},{"1399329676":["hashtag1","hashtag2"]},{"1399329673":["hashtag1","hashtag2"]},{"1399329681":["hashtag1","hashtag2"]},{"1399329684":["hashtag1","hashtag2"]},{"1399329678":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329671, 1399329676, 1399329673, 1399329681, 1399329684, 1399329678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17155957221985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:28:02.458893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/25/image_14122025_06_25_54_10760.jpg', '/home/pi/Desktop/images/14122025/06/25/image_14122025_06_26_04_9739.jpg', '/home/pi/Desktop/images/14122025/06/26/image_14122025_06_26_14_9786.jpg', '/home/pi/Desktop/images/14122025/06/26/image_14122025_06_26_23_9689.jpg', '/home/pi/Desktop/images/14122025/06/26/image_14122025_06_26_34_10618.jpg', '/home/pi/Desktop/images/14122025/06/26/image_14122025_06_26_44_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/25/image_14122025_06_25_54_10760.jpg
/home/pi/Desktop/images/14122025/06/25/image_14122025_06_26_04_9739.jpg
/home/pi/Desktop/images/14122025/06/26/image_14122025_06_26_14_9786.jpg
/home/pi/Desktop/images/14122025/06/26/image_14122025_06_26_23_9689.jpg
/home/pi/Desktop/images/14122025/06/26/image_14122025_06_26_34_10618.jpg
/home/pi/Desktop/images/14122025/06/26/image_14122025_06_26_44_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.5977609157562256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:28:11.996841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:28:22.152837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/25/image_14122025_06_25_54_10760.jpg', '/home/pi/Desktop/images/14122025/06/25/image_14122025_06_26_04_9739.jpg', '/home/pi/Desktop/images/14122025/06/26/image_14122025_06_26_14_9786.jpg', '/home/pi/Desktop/images/14122025/06/26/image_14122025_06_26_23_9689.jpg', '/home/pi/Desktop/images/14122025/06/26/image_14122025_06_26_34_10618.jpg', '/home/pi/Desktop/images/14122025/06/26/image_14122025_06_26_44_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/25/image_14122025_06_25_54_10760.jpg
/home/pi/Desktop/images/14122025/06/25/image_14122025_06_26_04_9739.jpg
/home/pi/Desktop/images/14122025/06/26/image_14122025_06_26_14_9786.jpg
/home/pi/Desktop/images/14122025/06/26/image_14122025_06_26_23_9689.jpg
/home/pi/Desktop/images/14122025/06/26/image_14122025_06_26_34_10618.jpg
/home/pi/Desktop/images/14122025/06/26/image_14122025_06_26_44_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329698","1399329692","1399329694","1399329697","1399329701","1399329690"],"photo_ids_order":["1399329690","1399329692","1399329694","1399329697","1399329698","1399329701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/75146d59a7af614bb62c90ff0e5a541a.jpg","text":"TemporaryFile(/tmp/multipartBody5224638052579646467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690162820,"filename":"image_14122025_06_26_34_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/adb045f4cfd2fe03bbf0f8b9b17a693d.jpg","text":"TemporaryFile(/tmp/multipartBody755598531648940837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690162820,"filename":"image_14122025_06_26_04_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aeef8b2bc64c5793df942e6af93c24c6.jpg","text":"TemporaryFile(/tmp/multipartBody7782136010780763017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690162820,"filename":"image_14122025_06_26_14_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8164506a2361d1e8fb3aaaf174d381ec.jpg","text":"TemporaryFile(/tmp/multipartBody1486366828186769286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690162820,"filename":"image_14122025_06_26_23_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0171c37dc1f37b00972ac2c3a2beed51.jpg","text":"TemporaryFile(/tmp/multipartBody5846627323370606489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690162820,"filename":"image_14122025_06_26_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4466d8d849497b0b50b8f4c275261244.jpg","text":"TemporaryFile(/tmp/multipartBody1683443012248012513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690162820,"filename":"image_14122025_06_25_54_10760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329694","file1":"1399329692","file0":"1399329690","file4":"1399329698","file5":"1399329701","file3":"1399329697"},"map_files_photo_id_array":[{"photo_id":"1399329701","filename":"file5"},{"photo_id":"1399329694","filename":"file2"},{"photo_id":"1399329698","filename":"file4"},{"photo_id":"1399329692","filename":"file1"},{"photo_id":"1399329690","filename":"file0"},{"photo_id":"1399329697","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329698":["hashtag1","hashtag2"]},{"1399329692":["hashtag1","hashtag2"]},{"1399329694":["hashtag1","hashtag2"]},{"1399329697":["hashtag1","hashtag2"]},{"1399329701":["hashtag1","hashtag2"]},{"1399329690":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329698, 1399329692, 1399329694, 1399329697, 1399329701, 1399329690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7955584526062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:29:03.227500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/26/image_14122025_06_26_53_9788.jpg', '/home/pi/Desktop/images/14122025/06/26/image_14122025_06_27_04_10625.jpg', '/home/pi/Desktop/images/14122025/06/27/image_14122025_06_27_14_9750.jpg', '/home/pi/Desktop/images/14122025/06/27/image_14122025_06_27_23_9650.jpg', '/home/pi/Desktop/images/14122025/06/27/image_14122025_06_27_44_9660.jpg', '/home/pi/Desktop/images/14122025/06/27/image_14122025_06_27_53_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/26/image_14122025_06_26_53_9788.jpg
/home/pi/Desktop/images/14122025/06/26/image_14122025_06_27_04_10625.jpg
/home/pi/Desktop/images/14122025/06/27/image_14122025_06_27_14_9750.jpg
/home/pi/Desktop/images/14122025/06/27/image_14122025_06_27_23_9650.jpg
/home/pi/Desktop/images/14122025/06/27/image_14122025_06_27_44_9660.jpg
/home/pi/Desktop/images/14122025/06/27/image_14122025_06_27_53_9574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329708","1399329710","1399329704","1399329707","1399329703","1399329706"],"photo_ids_order":["1399329703","1399329704","1399329706","1399329707","1399329708","1399329710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eed094a5591252ca73d079c86b71f454.jpg","text":"TemporaryFile(/tmp/multipartBody7648762061871485922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690204021,"filename":"image_14122025_06_27_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/12/14/bda317319bc72a06ffebfb89cede864f.jpg","text":"TemporaryFile(/tmp/multipartBody4579007859173832387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690204021,"filename":"image_14122025_06_27_53_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ea2825b8ec199487eb7ec9cbc7d4d3e.jpg","text":"TemporaryFile(/tmp/multipartBody5674440771735308521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690204021,"filename":"image_14122025_06_27_04_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b58ec1d3d638dff2ff79b2d89948119.jpg","text":"TemporaryFile(/tmp/multipartBody6598390354066988000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690204021,"filename":"image_14122025_06_27_23_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c3c8db353372ec9ee1848c85b1feaa73.jpg","text":"TemporaryFile(/tmp/multipartBody6195500006853655057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690204021,"filename":"image_14122025_06_26_53_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7b73368c5bda99fe3d8ae4a162129e5.jpg","text":"TemporaryFile(/tmp/multipartBody1306841376571348087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690204021,"filename":"image_14122025_06_27_14_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329706","file1":"1399329704","file0":"1399329703","file4":"1399329708","file5":"1399329710","file3":"1399329707"},"map_files_photo_id_array":[{"photo_id":"1399329710","filename":"file5"},{"photo_id":"1399329706","filename":"file2"},{"photo_id":"1399329708","filename":"file4"},{"photo_id":"1399329704","filename":"file1"},{"photo_id":"1399329703","filename":"file0"},{"photo_id":"1399329707","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329708":["hashtag1","hashtag2"]},{"1399329710":["hashtag1","hashtag2"]},{"1399329704":["hashtag1","hashtag2"]},{"1399329707":["hashtag1","hashtag2"]},{"1399329703":["hashtag1","hashtag2"]},{"1399329706":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329708, 1399329710, 1399329704, 1399329707, 1399329703, 1399329706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89378333091736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:29:42.366266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_20_3743.jpg', '/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_23_2914.jpg', '/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_25_2594.jpg', '/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_29_3674.jpg', '/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_32_2824.jpg', '/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_35_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_20_3743.jpg
/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_23_2914.jpg
/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_25_2594.jpg
/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_29_3674.jpg
/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_32_2824.jpg
/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_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":["1399329720","1399329722","1399329716","1399329721","1399329724","1399329723"],"photo_ids_order":["1399329716","1399329720","1399329721","1399329722","1399329723","1399329724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f75ff598aab5d42a35705cbb5a0db33f.jpg","text":"TemporaryFile(/tmp/multipartBody507855860279903489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690243047,"filename":"image_04112025_11_54_23_2914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a061e82b46e96ea766abf70f174b3abf.jpg","text":"TemporaryFile(/tmp/multipartBody4360995968841739113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690243047,"filename":"image_04112025_11_54_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/12/14/9fad132c21bed366ddb811064c155eb5.jpg","text":"TemporaryFile(/tmp/multipartBody499676968183049017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690243047,"filename":"image_04112025_11_54_20_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/41c020eacd201b3a74dac23d08827fbc.jpg","text":"TemporaryFile(/tmp/multipartBody7224824640289886581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690243047,"filename":"image_04112025_11_54_25_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a52794b85f2183bce0cae6830dfb2e9b.jpg","text":"TemporaryFile(/tmp/multipartBody756538917491749474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690243047,"filename":"image_04112025_11_54_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/12/14/26d4e430f033236779aa9cfbe3d5a0cc.jpg","text":"TemporaryFile(/tmp/multipartBody1117008270649560472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690243047,"filename":"image_04112025_11_54_32_2824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329721","file1":"1399329720","file0":"1399329716","file4":"1399329723","file5":"1399329724","file3":"1399329722"},"map_files_photo_id_array":[{"photo_id":"1399329724","filename":"file5"},{"photo_id":"1399329721","filename":"file2"},{"photo_id":"1399329723","filename":"file4"},{"photo_id":"1399329720","filename":"file1"},{"photo_id":"1399329716","filename":"file0"},{"photo_id":"1399329722","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329720":["hashtag1","hashtag2"]},{"1399329722":["hashtag1","hashtag2"]},{"1399329716":["hashtag1","hashtag2"]},{"1399329721":["hashtag1","hashtag2"]},{"1399329724":["hashtag1","hashtag2"]},{"1399329723":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329720, 1399329722, 1399329716, 1399329721, 1399329724, 1399329723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96088361740112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:30:22.631499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/27/image_14122025_06_28_04_10717.jpg', '/home/pi/Desktop/images/14122025/06/28/image_14122025_06_28_14_9821.jpg', '/home/pi/Desktop/images/14122025/06/28/image_14122025_06_28_24_9745.jpg', '/home/pi/Desktop/images/14122025/06/28/image_14122025_06_28_33_9697.jpg', '/home/pi/Desktop/images/14122025/06/28/image_14122025_06_28_44_10812.jpg', '/home/pi/Desktop/images/14122025/06/28/image_14122025_06_28_54_9880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/27/image_14122025_06_28_04_10717.jpg
/home/pi/Desktop/images/14122025/06/28/image_14122025_06_28_14_9821.jpg
/home/pi/Desktop/images/14122025/06/28/image_14122025_06_28_24_9745.jpg
/home/pi/Desktop/images/14122025/06/28/image_14122025_06_28_33_9697.jpg
/home/pi/Desktop/images/14122025/06/28/image_14122025_06_28_44_10812.jpg
/home/pi/Desktop/images/14122025/06/28/image_14122025_06_28_54_9880.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.570296049118042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:30:32.642482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:30:42.608926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_37_2537.jpg', '/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_41_3586.jpg', '/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_43_2588.jpg', '/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_47_3629.jpg', '/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_50_3063.jpg', '/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_57_3879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_37_2537.jpg
/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_41_3586.jpg
/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_43_2588.jpg
/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_47_3629.jpg
/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_50_3063.jpg
/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_57_3879.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329735","1399329740","1399329739","1399329742","1399329741","1399329738"],"photo_ids_order":["1399329735","1399329738","1399329739","1399329740","1399329741","1399329742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b3a917e6695b227399914274709678a.jpg","text":"TemporaryFile(/tmp/multipartBody5711826524051525781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690303261,"filename":"image_04112025_11_54_37_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f4369a47f5f84d747698ec8031b8570d.jpg","text":"TemporaryFile(/tmp/multipartBody1730027746662794557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690303261,"filename":"image_04112025_11_54_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/12/14/3947c6a993cec65b1a964003318259db.jpg","text":"TemporaryFile(/tmp/multipartBody5010623161078202218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690303261,"filename":"image_04112025_11_54_43_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cb61c4d4508375278cea929966fdbc1e.jpg","text":"TemporaryFile(/tmp/multipartBody4332103338053075771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690303261,"filename":"image_04112025_11_54_57_3879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29457a0ad58be07d4fc56b4fb7071da0.jpg","text":"TemporaryFile(/tmp/multipartBody7044981752094575496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690303261,"filename":"image_04112025_11_54_50_3063.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e25cae5c41a0631fe7feeb5e667cbff2.jpg","text":"TemporaryFile(/tmp/multipartBody8129104741799440689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690303261,"filename":"image_04112025_11_54_41_3586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329739","file1":"1399329738","file0":"1399329735","file4":"1399329741","file5":"1399329742","file3":"1399329740"},"map_files_photo_id_array":[{"photo_id":"1399329742","filename":"file5"},{"photo_id":"1399329739","filename":"file2"},{"photo_id":"1399329741","filename":"file4"},{"photo_id":"1399329738","filename":"file1"},{"photo_id":"1399329735","filename":"file0"},{"photo_id":"1399329740","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329735":["hashtag1","hashtag2"]},{"1399329740":["hashtag1","hashtag2"]},{"1399329739":["hashtag1","hashtag2"]},{"1399329742":["hashtag1","hashtag2"]},{"1399329741":["hashtag1","hashtag2"]},{"1399329738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329735, 1399329740, 1399329739, 1399329742, 1399329741, 1399329738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29965162277222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:31:21.972486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/27/image_14122025_06_28_04_10717.jpg', '/home/pi/Desktop/images/14122025/06/28/image_14122025_06_28_14_9821.jpg', '/home/pi/Desktop/images/14122025/06/28/image_14122025_06_28_24_9745.jpg', '/home/pi/Desktop/images/14122025/06/28/image_14122025_06_28_33_9697.jpg', '/home/pi/Desktop/images/14122025/06/28/image_14122025_06_28_44_10812.jpg', '/home/pi/Desktop/images/14122025/06/28/image_14122025_06_28_54_9880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/27/image_14122025_06_28_04_10717.jpg
/home/pi/Desktop/images/14122025/06/28/image_14122025_06_28_14_9821.jpg
/home/pi/Desktop/images/14122025/06/28/image_14122025_06_28_24_9745.jpg
/home/pi/Desktop/images/14122025/06/28/image_14122025_06_28_33_9697.jpg
/home/pi/Desktop/images/14122025/06/28/image_14122025_06_28_44_10812.jpg
/home/pi/Desktop/images/14122025/06/28/image_14122025_06_28_54_9880.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329747","1399329749","1399329743","1399329751","1399329745","1399329754"],"photo_ids_order":["1399329743","1399329745","1399329747","1399329749","1399329751","1399329754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a00823fd7de165e7ec0bc9dc03968f9d.jpg","text":"TemporaryFile(/tmp/multipartBody8071268270811636604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690342643,"filename":"image_14122025_06_28_24_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8fb268e08330f01341f328840fe7345b.jpg","text":"TemporaryFile(/tmp/multipartBody703827087132587334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690342643,"filename":"image_14122025_06_28_33_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f41f40e6ee9c694b5235886b43319cc.jpg","text":"TemporaryFile(/tmp/multipartBody9222611823302391812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690342643,"filename":"image_14122025_06_28_04_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/503171419ce816cae30f0bf3ce25d343.jpg","text":"TemporaryFile(/tmp/multipartBody961188070215166332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690342643,"filename":"image_14122025_06_28_44_10812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f71034550612256587758976f20d8f4a.jpg","text":"TemporaryFile(/tmp/multipartBody3836834582416022714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690342643,"filename":"image_14122025_06_28_14_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b32e0fd57f3c7d2b8446a3f7ebbdf846.jpg","text":"TemporaryFile(/tmp/multipartBody8144411190535015998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690342643,"filename":"image_14122025_06_28_54_9880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329747","file1":"1399329745","file0":"1399329743","file4":"1399329751","file5":"1399329754","file3":"1399329749"},"map_files_photo_id_array":[{"photo_id":"1399329754","filename":"file5"},{"photo_id":"1399329747","filename":"file2"},{"photo_id":"1399329751","filename":"file4"},{"photo_id":"1399329745","filename":"file1"},{"photo_id":"1399329743","filename":"file0"},{"photo_id":"1399329749","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329747":["hashtag1","hashtag2"]},{"1399329749":["hashtag1","hashtag2"]},{"1399329743":["hashtag1","hashtag2"]},{"1399329751":["hashtag1","hashtag2"]},{"1399329745":["hashtag1","hashtag2"]},{"1399329754":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329747, 1399329749, 1399329743, 1399329751, 1399329745, 1399329754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06360602378845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:32:02.464460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/28/image_14122025_06_29_04_9623.jpg', '/home/pi/Desktop/images/14122025/06/29/image_14122025_06_29_13_9656.jpg', '/home/pi/Desktop/images/14122025/06/29/image_14122025_06_29_24_10756.jpg', '/home/pi/Desktop/images/14122025/06/29/image_14122025_06_29_34_9640.jpg', '/home/pi/Desktop/images/14122025/06/29/image_14122025_06_29_43_9729.jpg', '/home/pi/Desktop/images/14122025/06/29/image_14122025_06_30_04_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/28/image_14122025_06_29_04_9623.jpg
/home/pi/Desktop/images/14122025/06/29/image_14122025_06_29_13_9656.jpg
/home/pi/Desktop/images/14122025/06/29/image_14122025_06_29_24_10756.jpg
/home/pi/Desktop/images/14122025/06/29/image_14122025_06_29_34_9640.jpg
/home/pi/Desktop/images/14122025/06/29/image_14122025_06_29_43_9729.jpg
/home/pi/Desktop/images/14122025/06/29/image_14122025_06_30_04_9751.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5745484828948975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:32:12.002469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:32:22.103246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/28/image_14122025_06_29_04_9623.jpg', '/home/pi/Desktop/images/14122025/06/29/image_14122025_06_29_13_9656.jpg', '/home/pi/Desktop/images/14122025/06/29/image_14122025_06_29_24_10756.jpg', '/home/pi/Desktop/images/14122025/06/29/image_14122025_06_29_34_9640.jpg', '/home/pi/Desktop/images/14122025/06/29/image_14122025_06_29_43_9729.jpg', '/home/pi/Desktop/images/14122025/06/29/image_14122025_06_30_04_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/28/image_14122025_06_29_04_9623.jpg
/home/pi/Desktop/images/14122025/06/29/image_14122025_06_29_13_9656.jpg
/home/pi/Desktop/images/14122025/06/29/image_14122025_06_29_24_10756.jpg
/home/pi/Desktop/images/14122025/06/29/image_14122025_06_29_34_9640.jpg
/home/pi/Desktop/images/14122025/06/29/image_14122025_06_29_43_9729.jpg
/home/pi/Desktop/images/14122025/06/29/image_14122025_06_30_04_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":["1399329767","1399329761","1399329763","1399329769","1399329771","1399329765"],"photo_ids_order":["1399329761","1399329763","1399329765","1399329767","1399329769","1399329771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a7fd9f612943ebb77c84c9f525fdd309.jpg","text":"TemporaryFile(/tmp/multipartBody9207797575111841802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690402737,"filename":"image_14122025_06_29_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f1af508c61e42ac304630b4caf9821f.jpg","text":"TemporaryFile(/tmp/multipartBody3991388055040641802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690402737,"filename":"image_14122025_06_29_04_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/75651e4ddc541896c9fc21825f9966ef.jpg","text":"TemporaryFile(/tmp/multipartBody3366091103837827380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690402737,"filename":"image_14122025_06_29_13_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a4722beda39f3b6d580275b47c292328.jpg","text":"TemporaryFile(/tmp/multipartBody4148706604379389627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690402737,"filename":"image_14122025_06_29_43_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a35a599c0108db22f8d617527c2523f0.jpg","text":"TemporaryFile(/tmp/multipartBody1530199415416226203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690402737,"filename":"image_14122025_06_30_04_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/452f8ff25c45d5ad72a187d18e57d34a.jpg","text":"TemporaryFile(/tmp/multipartBody2588901877769099328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690402737,"filename":"image_14122025_06_29_24_10756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329765","file1":"1399329763","file0":"1399329761","file4":"1399329769","file5":"1399329771","file3":"1399329767"},"map_files_photo_id_array":[{"photo_id":"1399329771","filename":"file5"},{"photo_id":"1399329765","filename":"file2"},{"photo_id":"1399329769","filename":"file4"},{"photo_id":"1399329763","filename":"file1"},{"photo_id":"1399329761","filename":"file0"},{"photo_id":"1399329767","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329767":["hashtag1","hashtag2"]},{"1399329761":["hashtag1","hashtag2"]},{"1399329763":["hashtag1","hashtag2"]},{"1399329769":["hashtag1","hashtag2"]},{"1399329771":["hashtag1","hashtag2"]},{"1399329765":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329767, 1399329761, 1399329763, 1399329769, 1399329771, 1399329765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87876868247986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:33:03.013948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/30/image_14122025_06_30_14_9912.jpg', '/home/pi/Desktop/images/14122025/06/30/image_14122025_06_30_23_9749.jpg', '/home/pi/Desktop/images/14122025/06/30/image_14122025_06_30_34_10717.jpg', '/home/pi/Desktop/images/14122025/06/30/image_14122025_06_30_44_9544.jpg', '/home/pi/Desktop/images/14122025/06/30/image_14122025_06_30_53_9652.jpg', '/home/pi/Desktop/images/14122025/06/30/image_14122025_06_31_04_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/30/image_14122025_06_30_14_9912.jpg
/home/pi/Desktop/images/14122025/06/30/image_14122025_06_30_23_9749.jpg
/home/pi/Desktop/images/14122025/06/30/image_14122025_06_30_34_10717.jpg
/home/pi/Desktop/images/14122025/06/30/image_14122025_06_30_44_9544.jpg
/home/pi/Desktop/images/14122025/06/30/image_14122025_06_30_53_9652.jpg
/home/pi/Desktop/images/14122025/06/30/image_14122025_06_31_04_10652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329779","1399329776","1399329775","1399329772","1399329774","1399329777"],"photo_ids_order":["1399329772","1399329774","1399329775","1399329776","1399329777","1399329779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a103855c5586c94489e906dba47e9dc3.jpg","text":"TemporaryFile(/tmp/multipartBody642418523499716811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690443781,"filename":"image_14122025_06_31_04_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce355a810917aa49582675b9114a076a.jpg","text":"TemporaryFile(/tmp/multipartBody3647971404757660444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690443781,"filename":"image_14122025_06_30_44_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4bfaf5667c4a3d13cf8fba1659e364a3.jpg","text":"TemporaryFile(/tmp/multipartBody842137270737757140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690443781,"filename":"image_14122025_06_30_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/12/14/9f262dae9e3557373967b5056110b2dc.jpg","text":"TemporaryFile(/tmp/multipartBody6865360309599394788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690443781,"filename":"image_14122025_06_30_14_9912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9e39ea27cc21eb951491ba3fd70d409d.jpg","text":"TemporaryFile(/tmp/multipartBody1024670105540691856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690443781,"filename":"image_14122025_06_30_23_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/167cf5b8b20c17246b32a29c4a26a597.jpg","text":"TemporaryFile(/tmp/multipartBody7226949614398519204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690443781,"filename":"image_14122025_06_30_53_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329775","file1":"1399329774","file0":"1399329772","file4":"1399329777","file5":"1399329779","file3":"1399329776"},"map_files_photo_id_array":[{"photo_id":"1399329779","filename":"file5"},{"photo_id":"1399329775","filename":"file2"},{"photo_id":"1399329777","filename":"file4"},{"photo_id":"1399329774","filename":"file1"},{"photo_id":"1399329772","filename":"file0"},{"photo_id":"1399329776","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329779":["hashtag1","hashtag2"]},{"1399329776":["hashtag1","hashtag2"]},{"1399329775":["hashtag1","hashtag2"]},{"1399329772":["hashtag1","hashtag2"]},{"1399329774":["hashtag1","hashtag2"]},{"1399329777":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329779, 1399329776, 1399329775, 1399329772, 1399329774, 1399329777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54211211204529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:33:42.401602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_58_1760.jpg', '/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_08_3836.jpg', '/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_14_5799.jpg', '/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_23_8843.jpg', '/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_24_1637.jpg', '/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_26_1739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/54/image_04112025_11_54_58_1760.jpg
/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_08_3836.jpg
/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_14_5799.jpg
/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_23_8843.jpg
/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_24_1637.jpg
/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_26_1739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329791","1399329785","1399329788","1399329790","1399329787","1399329789"],"photo_ids_order":["1399329785","1399329787","1399329788","1399329789","1399329790","1399329791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce2f6695d0902f045a0f1ae7845eca50.jpg","text":"TemporaryFile(/tmp/multipartBody2890611752155265796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690483061,"filename":"image_04112025_11_55_26_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/89e17c7cec8df1a44cdbd9061c68eb7c.jpg","text":"TemporaryFile(/tmp/multipartBody2029056803107110712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690483061,"filename":"image_04112025_11_54_58_1760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/64bb8d6631288df1f90dac18b2c2ba32.jpg","text":"TemporaryFile(/tmp/multipartBody4189595698478787088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690483061,"filename":"image_04112025_11_55_14_5799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/357ec5ed4f3f44e44b3ab7fc86151797.jpg","text":"TemporaryFile(/tmp/multipartBody2155324297068197406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690483061,"filename":"image_04112025_11_55_24_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54000bfe36ed6bb0217d913e45bb6033.jpg","text":"TemporaryFile(/tmp/multipartBody1870115670402517091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690483061,"filename":"image_04112025_11_55_08_3836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/521bed7e094b9e6a88513fb638c57870.jpg","text":"TemporaryFile(/tmp/multipartBody659233093571456097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690483061,"filename":"image_04112025_11_55_23_8843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329788","file1":"1399329787","file0":"1399329785","file4":"1399329790","file5":"1399329791","file3":"1399329789"},"map_files_photo_id_array":[{"photo_id":"1399329791","filename":"file5"},{"photo_id":"1399329788","filename":"file2"},{"photo_id":"1399329790","filename":"file4"},{"photo_id":"1399329787","filename":"file1"},{"photo_id":"1399329785","filename":"file0"},{"photo_id":"1399329789","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329791":["hashtag1","hashtag2"]},{"1399329785":["hashtag1","hashtag2"]},{"1399329788":["hashtag1","hashtag2"]},{"1399329790":["hashtag1","hashtag2"]},{"1399329787":["hashtag1","hashtag2"]},{"1399329789":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329791, 1399329785, 1399329788, 1399329790, 1399329787, 1399329789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06006073951721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:34:22.640309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/31/image_14122025_06_31_14_9608.jpg', '/home/pi/Desktop/images/14122025/06/31/image_14122025_06_31_34_10680.jpg', '/home/pi/Desktop/images/14122025/06/31/image_14122025_06_31_44_9687.jpg', '/home/pi/Desktop/images/14122025/06/31/image_14122025_06_32_04_10703.jpg', '/home/pi/Desktop/images/14122025/06/32/image_14122025_06_32_14_9706.jpg', '/home/pi/Desktop/images/14122025/06/32/image_14122025_06_32_24_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/31/image_14122025_06_31_14_9608.jpg
/home/pi/Desktop/images/14122025/06/31/image_14122025_06_31_34_10680.jpg
/home/pi/Desktop/images/14122025/06/31/image_14122025_06_31_44_9687.jpg
/home/pi/Desktop/images/14122025/06/31/image_14122025_06_32_04_10703.jpg
/home/pi/Desktop/images/14122025/06/32/image_14122025_06_32_14_9706.jpg
/home/pi/Desktop/images/14122025/06/32/image_14122025_06_32_24_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329803","1399329793","1399329800","1399329792","1399329795","1399329798"],"photo_ids_order":["1399329792","1399329793","1399329795","1399329798","1399329800","1399329803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf8dc19d75fa9ad7fd5e001ec99bfe6a.jpg","text":"TemporaryFile(/tmp/multipartBody1466532104421325430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690523319,"filename":"image_14122025_06_32_24_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/68e3454c9ee5c6ac53a444ddcef1493d.jpg","text":"TemporaryFile(/tmp/multipartBody2071647405128824290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690523319,"filename":"image_14122025_06_31_34_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/30ed50a8740bf2b4aac8f1ca49d6cd58.jpg","text":"TemporaryFile(/tmp/multipartBody896866815921862416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690523319,"filename":"image_14122025_06_32_14_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/029fdff44a3df25a79156358d2c65f6e.jpg","text":"TemporaryFile(/tmp/multipartBody1183580592130415548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690523319,"filename":"image_14122025_06_31_14_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/198669bd4d7932bcefa1ff2b429c4fb9.jpg","text":"TemporaryFile(/tmp/multipartBody8973902207207472570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690523319,"filename":"image_14122025_06_31_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/12/14/235a06f4309661ebed6c4fc44dc8c1fc.jpg","text":"TemporaryFile(/tmp/multipartBody2602369426862890550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690523319,"filename":"image_14122025_06_32_04_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329795","file1":"1399329793","file0":"1399329792","file4":"1399329800","file5":"1399329803","file3":"1399329798"},"map_files_photo_id_array":[{"photo_id":"1399329803","filename":"file5"},{"photo_id":"1399329795","filename":"file2"},{"photo_id":"1399329800","filename":"file4"},{"photo_id":"1399329793","filename":"file1"},{"photo_id":"1399329792","filename":"file0"},{"photo_id":"1399329798","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329803":["hashtag1","hashtag2"]},{"1399329793":["hashtag1","hashtag2"]},{"1399329800":["hashtag1","hashtag2"]},{"1399329792":["hashtag1","hashtag2"]},{"1399329795":["hashtag1","hashtag2"]},{"1399329798":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329803, 1399329793, 1399329800, 1399329792, 1399329795, 1399329798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95688772201538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:35:02.482407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/32/image_14122025_06_32_33_9829.jpg', '/home/pi/Desktop/images/14122025/06/32/image_14122025_06_32_43_9918.jpg', '/home/pi/Desktop/images/14122025/06/32/image_14122025_06_33_04_9757.jpg', '/home/pi/Desktop/images/14122025/06/33/image_14122025_06_33_23_9737.jpg', '/home/pi/Desktop/images/14122025/06/33/image_14122025_06_33_34_10703.jpg', '/home/pi/Desktop/images/14122025/06/33/image_14122025_06_33_44_9572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/32/image_14122025_06_32_33_9829.jpg
/home/pi/Desktop/images/14122025/06/32/image_14122025_06_32_43_9918.jpg
/home/pi/Desktop/images/14122025/06/32/image_14122025_06_33_04_9757.jpg
/home/pi/Desktop/images/14122025/06/33/image_14122025_06_33_23_9737.jpg
/home/pi/Desktop/images/14122025/06/33/image_14122025_06_33_34_10703.jpg
/home/pi/Desktop/images/14122025/06/33/image_14122025_06_33_44_9572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329810","1399329813","1399329815","1399329812","1399329808","1399329817"],"photo_ids_order":["1399329808","1399329810","1399329812","1399329813","1399329815","1399329817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21661a3575eabb2c9b3049a218540a53.jpg","text":"TemporaryFile(/tmp/multipartBody455753320458787434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690563180,"filename":"image_14122025_06_32_43_9918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/77ca05d959dd14636b6bdd29407ddd63.jpg","text":"TemporaryFile(/tmp/multipartBody947090108295240950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690563180,"filename":"image_14122025_06_33_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/12/14/40bdfb93e7debabe977300357f1820c5.jpg","text":"TemporaryFile(/tmp/multipartBody5188155402520134743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690563180,"filename":"image_14122025_06_33_34_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/78ce8230974c03776cc737ffc76fbacb.jpg","text":"TemporaryFile(/tmp/multipartBody5775585116510265169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690563180,"filename":"image_14122025_06_33_04_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88e1d9b837dfb7efe969cdfd7159540b.jpg","text":"TemporaryFile(/tmp/multipartBody5553975871533398946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690563180,"filename":"image_14122025_06_32_33_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/158e1729976ab6f4d46b01baedbbb160.jpg","text":"TemporaryFile(/tmp/multipartBody1290315223647547140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690563180,"filename":"image_14122025_06_33_44_9572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329812","file1":"1399329810","file0":"1399329808","file4":"1399329815","file5":"1399329817","file3":"1399329813"},"map_files_photo_id_array":[{"photo_id":"1399329817","filename":"file5"},{"photo_id":"1399329812","filename":"file2"},{"photo_id":"1399329815","filename":"file4"},{"photo_id":"1399329810","filename":"file1"},{"photo_id":"1399329808","filename":"file0"},{"photo_id":"1399329813","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329810":["hashtag1","hashtag2"]},{"1399329813":["hashtag1","hashtag2"]},{"1399329815":["hashtag1","hashtag2"]},{"1399329812":["hashtag1","hashtag2"]},{"1399329808":["hashtag1","hashtag2"]},{"1399329817":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329810, 1399329813, 1399329815, 1399329812, 1399329808, 1399329817)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.90636491775513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:36:02.616837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/33/image_14122025_06_33_54_10551.jpg', '/home/pi/Desktop/images/14122025/06/33/image_14122025_06_34_04_9688.jpg', '/home/pi/Desktop/images/14122025/06/34/image_14122025_06_34_14_9688.jpg', '/home/pi/Desktop/images/14122025/06/34/image_14122025_06_34_23_9798.jpg', '/home/pi/Desktop/images/14122025/06/34/image_14122025_06_34_34_10625.jpg', '/home/pi/Desktop/images/14122025/06/34/image_14122025_06_34_44_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/33/image_14122025_06_33_54_10551.jpg
/home/pi/Desktop/images/14122025/06/33/image_14122025_06_34_04_9688.jpg
/home/pi/Desktop/images/14122025/06/34/image_14122025_06_34_14_9688.jpg
/home/pi/Desktop/images/14122025/06/34/image_14122025_06_34_23_9798.jpg
/home/pi/Desktop/images/14122025/06/34/image_14122025_06_34_34_10625.jpg
/home/pi/Desktop/images/14122025/06/34/image_14122025_06_34_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":["1399329831","1399329825","1399329828","1399329827","1399329826","1399329829"],"photo_ids_order":["1399329825","1399329826","1399329827","1399329828","1399329829","1399329831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/49a10e5a6f7ebcecdee82ccafc3072ac.jpg","text":"TemporaryFile(/tmp/multipartBody2486682885966669717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690623276,"filename":"image_14122025_06_34_44_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/79d2a75ff8382df23b1ffc416daeef0b.jpg","text":"TemporaryFile(/tmp/multipartBody6232021258222028665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690623276,"filename":"image_14122025_06_33_54_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f0e4395e6102a8a1c0a4e0b596bdb00.jpg","text":"TemporaryFile(/tmp/multipartBody3353876651903601747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690623276,"filename":"image_14122025_06_34_23_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3e25ef88ee6430256acce1ba0d62399.jpg","text":"TemporaryFile(/tmp/multipartBody7326473104467523775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690623276,"filename":"image_14122025_06_34_14_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/43342a9763b33fadc900d1f8365718dc.jpg","text":"TemporaryFile(/tmp/multipartBody2515193559818045284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690623276,"filename":"image_14122025_06_34_04_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cceb952b33f9bae29ee303d5cf65fa2c.jpg","text":"TemporaryFile(/tmp/multipartBody5855311860953938027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690623276,"filename":"image_14122025_06_34_34_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329827","file1":"1399329826","file0":"1399329825","file4":"1399329829","file5":"1399329831","file3":"1399329828"},"map_files_photo_id_array":[{"photo_id":"1399329831","filename":"file5"},{"photo_id":"1399329827","filename":"file2"},{"photo_id":"1399329829","filename":"file4"},{"photo_id":"1399329826","filename":"file1"},{"photo_id":"1399329825","filename":"file0"},{"photo_id":"1399329828","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329831":["hashtag1","hashtag2"]},{"1399329825":["hashtag1","hashtag2"]},{"1399329828":["hashtag1","hashtag2"]},{"1399329827":["hashtag1","hashtag2"]},{"1399329826":["hashtag1","hashtag2"]},{"1399329829":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329831, 1399329825, 1399329828, 1399329827, 1399329826, 1399329829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.553133487701416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:36:42.233386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_28_1671.jpg', '/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_31_2747.jpg', '/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_32_1599.jpg', '/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_34_1755.jpg', '/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_36_2378.jpg', '/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_38_1936.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_28_1671.jpg
/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_31_2747.jpg
/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_32_1599.jpg
/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_34_1755.jpg
/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_36_2378.jpg
/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_38_1936.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329846","1399329848","1399329842","1399329844","1399329840","1399329837"],"photo_ids_order":["1399329837","1399329840","1399329842","1399329844","1399329846","1399329848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e34f731ed1b0fa2444a19e5c29c2d7a4.jpg","text":"TemporaryFile(/tmp/multipartBody5624300387035094822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690662892,"filename":"image_04112025_11_55_36_2378.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f858969c053b1d58bbc6294c63b4273.jpg","text":"TemporaryFile(/tmp/multipartBody3915000838803203613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690662892,"filename":"image_04112025_11_55_38_1936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/80c1be7dddfe8b8fb61a32cf4b8bc35f.jpg","text":"TemporaryFile(/tmp/multipartBody8866154048131355168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690662892,"filename":"image_04112025_11_55_32_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/66285393ef6e8ea4fa1e899b0ebb486d.jpg","text":"TemporaryFile(/tmp/multipartBody6016696811458380445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690662892,"filename":"image_04112025_11_55_34_1755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21701208bfd7805ae3596dde9d64ae0f.jpg","text":"TemporaryFile(/tmp/multipartBody1046504093362240400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690662892,"filename":"image_04112025_11_55_31_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3c977a8c0d9660db5a5840a8b245806d.jpg","text":"TemporaryFile(/tmp/multipartBody5352166389914667146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690662892,"filename":"image_04112025_11_55_28_1671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329842","file1":"1399329840","file0":"1399329837","file4":"1399329846","file5":"1399329848","file3":"1399329844"},"map_files_photo_id_array":[{"photo_id":"1399329848","filename":"file5"},{"photo_id":"1399329842","filename":"file2"},{"photo_id":"1399329846","filename":"file4"},{"photo_id":"1399329840","filename":"file1"},{"photo_id":"1399329837","filename":"file0"},{"photo_id":"1399329844","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329846":["hashtag1","hashtag2"]},{"1399329848":["hashtag1","hashtag2"]},{"1399329842":["hashtag1","hashtag2"]},{"1399329844":["hashtag1","hashtag2"]},{"1399329840":["hashtag1","hashtag2"]},{"1399329837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329846, 1399329848, 1399329842, 1399329844, 1399329840, 1399329837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2477593421936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:37:22.594921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/34/image_14122025_06_34_54_10653.jpg', '/home/pi/Desktop/images/14122025/06/34/image_14122025_06_35_04_9697.jpg', '/home/pi/Desktop/images/14122025/06/35/image_14122025_06_35_14_9925.jpg', '/home/pi/Desktop/images/14122025/06/35/image_14122025_06_35_24_9698.jpg', '/home/pi/Desktop/images/14122025/06/35/image_14122025_06_35_33_9764.jpg', '/home/pi/Desktop/images/14122025/06/35/image_14122025_06_35_44_10777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/34/image_14122025_06_34_54_10653.jpg
/home/pi/Desktop/images/14122025/06/34/image_14122025_06_35_04_9697.jpg
/home/pi/Desktop/images/14122025/06/35/image_14122025_06_35_14_9925.jpg
/home/pi/Desktop/images/14122025/06/35/image_14122025_06_35_24_9698.jpg
/home/pi/Desktop/images/14122025/06/35/image_14122025_06_35_33_9764.jpg
/home/pi/Desktop/images/14122025/06/35/image_14122025_06_35_44_10777.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.533801794052124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:37:32.518712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:37:42.540329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_41_2549.jpg', '/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_43_2766.jpg', '/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_47_3674.jpg', '/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_50_2759.jpg', '/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_53_2578.jpg', '/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_55_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_41_2549.jpg
/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_43_2766.jpg
/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_47_3674.jpg
/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_50_2759.jpg
/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_53_2578.jpg
/home/pi/Desktop/images/04112025/11/55/image_04112025_11_55_55_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":["1399329863","1399329866","1399329860","1399329862","1399329865","1399329864"],"photo_ids_order":["1399329860","1399329862","1399329863","1399329864","1399329865","1399329866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/70007b422f109ac54d55c28daa723a03.jpg","text":"TemporaryFile(/tmp/multipartBody7744158146678539243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690723204,"filename":"image_04112025_11_55_47_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd80a88ca5255a5d1954b5212fa7e219.jpg","text":"TemporaryFile(/tmp/multipartBody8102144622777299741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690723204,"filename":"image_04112025_11_55_55_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5617beffc6b508ac7b78f5ea6157d216.jpg","text":"TemporaryFile(/tmp/multipartBody4843143875137104562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690723204,"filename":"image_04112025_11_55_41_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6cd5164015eb571768a6b26e9e24aea5.jpg","text":"TemporaryFile(/tmp/multipartBody8225431885287822295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690723204,"filename":"image_04112025_11_55_43_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f1f7b92fef856127104c4b24e807ae6.jpg","text":"TemporaryFile(/tmp/multipartBody1405914165038917604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690723204,"filename":"image_04112025_11_55_53_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/34ed7b9b1db17a2e7813842ebda6e85d.jpg","text":"TemporaryFile(/tmp/multipartBody8334248210355454105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690723204,"filename":"image_04112025_11_55_50_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329863","file1":"1399329862","file0":"1399329860","file4":"1399329865","file5":"1399329866","file3":"1399329864"},"map_files_photo_id_array":[{"photo_id":"1399329866","filename":"file5"},{"photo_id":"1399329863","filename":"file2"},{"photo_id":"1399329865","filename":"file4"},{"photo_id":"1399329862","filename":"file1"},{"photo_id":"1399329860","filename":"file0"},{"photo_id":"1399329864","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329863":["hashtag1","hashtag2"]},{"1399329866":["hashtag1","hashtag2"]},{"1399329860":["hashtag1","hashtag2"]},{"1399329862":["hashtag1","hashtag2"]},{"1399329865":["hashtag1","hashtag2"]},{"1399329864":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329863, 1399329866, 1399329860, 1399329862, 1399329865, 1399329864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.462165117263794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:38:22.813110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/34/image_14122025_06_34_54_10653.jpg', '/home/pi/Desktop/images/14122025/06/34/image_14122025_06_35_04_9697.jpg', '/home/pi/Desktop/images/14122025/06/35/image_14122025_06_35_14_9925.jpg', '/home/pi/Desktop/images/14122025/06/35/image_14122025_06_35_24_9698.jpg', '/home/pi/Desktop/images/14122025/06/35/image_14122025_06_35_33_9764.jpg', '/home/pi/Desktop/images/14122025/06/35/image_14122025_06_35_44_10777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/34/image_14122025_06_34_54_10653.jpg
/home/pi/Desktop/images/14122025/06/34/image_14122025_06_35_04_9697.jpg
/home/pi/Desktop/images/14122025/06/35/image_14122025_06_35_14_9925.jpg
/home/pi/Desktop/images/14122025/06/35/image_14122025_06_35_24_9698.jpg
/home/pi/Desktop/images/14122025/06/35/image_14122025_06_35_33_9764.jpg
/home/pi/Desktop/images/14122025/06/35/image_14122025_06_35_44_10777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329872","1399329880","1399329874","1399329868","1399329876","1399329870"],"photo_ids_order":["1399329868","1399329870","1399329872","1399329874","1399329876","1399329880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2670ba4cdb493f47b05eafc3e12b39a6.jpg","text":"TemporaryFile(/tmp/multipartBody2125321923863603319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690763451,"filename":"image_14122025_06_35_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/12/14/a6926a814c08c723fa4d6e5ae9425f48.jpg","text":"TemporaryFile(/tmp/multipartBody5894906835231360027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690763451,"filename":"image_14122025_06_35_44_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2bd0a54016cc6458dfc6cda364d76a74.jpg","text":"TemporaryFile(/tmp/multipartBody6687834484840643838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690763451,"filename":"image_14122025_06_35_24_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5c2a978f3b8c68d99d5f97aa3ff1d5cf.jpg","text":"TemporaryFile(/tmp/multipartBody8444039485570840870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690763451,"filename":"image_14122025_06_34_54_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f9ac8c5aa8e4e3910f96ee23d5cab08a.jpg","text":"TemporaryFile(/tmp/multipartBody4184311647640319649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690763451,"filename":"image_14122025_06_35_33_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/716b283a542ad59db55e10f0f3f7cb4a.jpg","text":"TemporaryFile(/tmp/multipartBody7868497404566615905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690763451,"filename":"image_14122025_06_35_04_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329872","file1":"1399329870","file0":"1399329868","file4":"1399329876","file5":"1399329880","file3":"1399329874"},"map_files_photo_id_array":[{"photo_id":"1399329880","filename":"file5"},{"photo_id":"1399329872","filename":"file2"},{"photo_id":"1399329876","filename":"file4"},{"photo_id":"1399329870","filename":"file1"},{"photo_id":"1399329868","filename":"file0"},{"photo_id":"1399329874","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329872":["hashtag1","hashtag2"]},{"1399329880":["hashtag1","hashtag2"]},{"1399329874":["hashtag1","hashtag2"]},{"1399329868":["hashtag1","hashtag2"]},{"1399329876":["hashtag1","hashtag2"]},{"1399329870":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329872, 1399329880, 1399329874, 1399329868, 1399329876, 1399329870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17859888076782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:39:02.770207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/35/image_14122025_06_35_54_9558.jpg', '/home/pi/Desktop/images/14122025/06/35/image_14122025_06_36_03_9662.jpg', '/home/pi/Desktop/images/14122025/06/36/image_14122025_06_36_14_10647.jpg', '/home/pi/Desktop/images/14122025/06/36/image_14122025_06_36_24_9657.jpg', '/home/pi/Desktop/images/14122025/06/36/image_14122025_06_36_33_9840.jpg', '/home/pi/Desktop/images/14122025/06/36/image_14122025_06_36_43_9875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/35/image_14122025_06_35_54_9558.jpg
/home/pi/Desktop/images/14122025/06/35/image_14122025_06_36_03_9662.jpg
/home/pi/Desktop/images/14122025/06/36/image_14122025_06_36_14_10647.jpg
/home/pi/Desktop/images/14122025/06/36/image_14122025_06_36_24_9657.jpg
/home/pi/Desktop/images/14122025/06/36/image_14122025_06_36_33_9840.jpg
/home/pi/Desktop/images/14122025/06/36/image_14122025_06_36_43_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":["1399329881","1399329884","1399329883","1399329886","1399329885","1399329888"],"photo_ids_order":["1399329881","1399329883","1399329884","1399329885","1399329886","1399329888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/46f70fec383b5345c77a2b4ee04e29c9.jpg","text":"TemporaryFile(/tmp/multipartBody6721803907672261998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690803653,"filename":"image_14122025_06_35_54_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90bc71d910b247b3459cecfef5c202d7.jpg","text":"TemporaryFile(/tmp/multipartBody2884943209507347178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690803653,"filename":"image_14122025_06_36_14_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d4dfe399ec51e7c2329c40252fe9c232.jpg","text":"TemporaryFile(/tmp/multipartBody1946126309455115018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690803653,"filename":"image_14122025_06_36_03_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4cedb54d708ae2c0d099f6aa321e21ff.jpg","text":"TemporaryFile(/tmp/multipartBody4116860081262098757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690803653,"filename":"image_14122025_06_36_33_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d35df8d91e6984407eb5ce22d76d7e9b.jpg","text":"TemporaryFile(/tmp/multipartBody5739613200324318017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690803653,"filename":"image_14122025_06_36_24_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/01f19e155333383474a1ed5221fe10a8.jpg","text":"TemporaryFile(/tmp/multipartBody6287285609413568849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690803653,"filename":"image_14122025_06_36_43_9875.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329884","file1":"1399329883","file0":"1399329881","file4":"1399329886","file5":"1399329888","file3":"1399329885"},"map_files_photo_id_array":[{"photo_id":"1399329888","filename":"file5"},{"photo_id":"1399329884","filename":"file2"},{"photo_id":"1399329886","filename":"file4"},{"photo_id":"1399329883","filename":"file1"},{"photo_id":"1399329881","filename":"file0"},{"photo_id":"1399329885","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329881":["hashtag1","hashtag2"]},{"1399329884":["hashtag1","hashtag2"]},{"1399329883":["hashtag1","hashtag2"]},{"1399329886":["hashtag1","hashtag2"]},{"1399329885":["hashtag1","hashtag2"]},{"1399329888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329881, 1399329884, 1399329883, 1399329886, 1399329885, 1399329888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64396810531616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:39:42.002928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_02_7014.jpg', '/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_04_1561.jpg', '/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_22_18683.jpg', '/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_25_2965.jpg', '/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_27_1644.jpg', '/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_34_7256.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_02_7014.jpg
/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_04_1561.jpg
/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_22_18683.jpg
/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_25_2965.jpg
/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_27_1644.jpg
/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_34_7256.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329900","1399329899","1399329892","1399329895","1399329898","1399329901"],"photo_ids_order":["1399329892","1399329895","1399329898","1399329899","1399329900","1399329901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a2305928ac9d7fbfd0e1fbe25862ba0.jpg","text":"TemporaryFile(/tmp/multipartBody7678610868434793279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690842661,"filename":"image_04112025_11_56_27_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/df18e0d2ee233851d6a98de6bc854bd7.jpg","text":"TemporaryFile(/tmp/multipartBody6724746660622717016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690842661,"filename":"image_04112025_11_56_25_2965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c0b5a08be1f2392604316904fc16c727.jpg","text":"TemporaryFile(/tmp/multipartBody2094048234446816604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690842661,"filename":"image_04112025_11_56_02_7014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7178ac79dddd8ed797e1f50a83b1fe61.jpg","text":"TemporaryFile(/tmp/multipartBody5720668120912061978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690842661,"filename":"image_04112025_11_56_04_1561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8837db09a8a3c926c12377d0a92d9636.jpg","text":"TemporaryFile(/tmp/multipartBody2516491266664639017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690842661,"filename":"image_04112025_11_56_22_18683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76fc0d056581b50df03bf6a95d47e83a.jpg","text":"TemporaryFile(/tmp/multipartBody2267585318806762726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690842661,"filename":"image_04112025_11_56_34_7256.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329898","file1":"1399329895","file0":"1399329892","file4":"1399329900","file5":"1399329901","file3":"1399329899"},"map_files_photo_id_array":[{"photo_id":"1399329901","filename":"file5"},{"photo_id":"1399329898","filename":"file2"},{"photo_id":"1399329900","filename":"file4"},{"photo_id":"1399329895","filename":"file1"},{"photo_id":"1399329892","filename":"file0"},{"photo_id":"1399329899","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329900":["hashtag1","hashtag2"]},{"1399329899":["hashtag1","hashtag2"]},{"1399329892":["hashtag1","hashtag2"]},{"1399329895":["hashtag1","hashtag2"]},{"1399329898":["hashtag1","hashtag2"]},{"1399329901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329900, 1399329899, 1399329892, 1399329895, 1399329898, 1399329901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82732033729553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:40:22.262431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/36/image_14122025_06_36_54_10685.jpg', '/home/pi/Desktop/images/14122025/06/36/image_14122025_06_37_04_9737.jpg', '/home/pi/Desktop/images/14122025/06/37/image_14122025_06_37_13_9728.jpg', '/home/pi/Desktop/images/14122025/06/37/image_14122025_06_37_23_9783.jpg', '/home/pi/Desktop/images/14122025/06/37/image_14122025_06_37_34_10806.jpg', '/home/pi/Desktop/images/14122025/06/37/image_14122025_06_37_44_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/36/image_14122025_06_36_54_10685.jpg
/home/pi/Desktop/images/14122025/06/36/image_14122025_06_37_04_9737.jpg
/home/pi/Desktop/images/14122025/06/37/image_14122025_06_37_13_9728.jpg
/home/pi/Desktop/images/14122025/06/37/image_14122025_06_37_23_9783.jpg
/home/pi/Desktop/images/14122025/06/37/image_14122025_06_37_34_10806.jpg
/home/pi/Desktop/images/14122025/06/37/image_14122025_06_37_44_9736.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5729212760925293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:40:32.259188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:40:42.237062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_36_1645.jpg', '/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_38_1785.jpg', '/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_40_2341.jpg', '/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_42_1702.jpg', '/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_43_1719.jpg', '/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_45_1576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_36_1645.jpg
/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_38_1785.jpg
/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_40_2341.jpg
/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_42_1702.jpg
/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_43_1719.jpg
/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_45_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":["1399329918","1399329912","1399329915","1399329914","1399329917","1399329916"],"photo_ids_order":["1399329912","1399329914","1399329915","1399329916","1399329917","1399329918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/59e35e259a8ccb41d5f6db08865a5649.jpg","text":"TemporaryFile(/tmp/multipartBody7766585190610734669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690902919,"filename":"image_04112025_11_56_45_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b5977476a8497f2601c35c8f12e8ab1.jpg","text":"TemporaryFile(/tmp/multipartBody8671417554474558773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690902919,"filename":"image_04112025_11_56_36_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e092b77a1368822f534f139b57a95b4b.jpg","text":"TemporaryFile(/tmp/multipartBody354092057852238191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690902919,"filename":"image_04112025_11_56_40_2341.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1235da629d57a26fd4b62e5524e79f69.jpg","text":"TemporaryFile(/tmp/multipartBody2712847018495034329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690902919,"filename":"image_04112025_11_56_38_1785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e23ab98f25134eec382769ca1718d323.jpg","text":"TemporaryFile(/tmp/multipartBody3527759950024276764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690902919,"filename":"image_04112025_11_56_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/12/14/ca619c466f568b14d942fa3e175d5211.jpg","text":"TemporaryFile(/tmp/multipartBody8693902751197198060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690902919,"filename":"image_04112025_11_56_42_1702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329915","file1":"1399329914","file0":"1399329912","file4":"1399329917","file5":"1399329918","file3":"1399329916"},"map_files_photo_id_array":[{"photo_id":"1399329918","filename":"file5"},{"photo_id":"1399329915","filename":"file2"},{"photo_id":"1399329917","filename":"file4"},{"photo_id":"1399329914","filename":"file1"},{"photo_id":"1399329912","filename":"file0"},{"photo_id":"1399329916","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329918":["hashtag1","hashtag2"]},{"1399329912":["hashtag1","hashtag2"]},{"1399329915":["hashtag1","hashtag2"]},{"1399329914":["hashtag1","hashtag2"]},{"1399329917":["hashtag1","hashtag2"]},{"1399329916":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329918, 1399329912, 1399329915, 1399329914, 1399329917, 1399329916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.360323905944824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:41:22.490399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/36/image_14122025_06_36_54_10685.jpg', '/home/pi/Desktop/images/14122025/06/36/image_14122025_06_37_04_9737.jpg', '/home/pi/Desktop/images/14122025/06/37/image_14122025_06_37_13_9728.jpg', '/home/pi/Desktop/images/14122025/06/37/image_14122025_06_37_23_9783.jpg', '/home/pi/Desktop/images/14122025/06/37/image_14122025_06_37_34_10806.jpg', '/home/pi/Desktop/images/14122025/06/37/image_14122025_06_37_44_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/36/image_14122025_06_36_54_10685.jpg
/home/pi/Desktop/images/14122025/06/36/image_14122025_06_37_04_9737.jpg
/home/pi/Desktop/images/14122025/06/37/image_14122025_06_37_13_9728.jpg
/home/pi/Desktop/images/14122025/06/37/image_14122025_06_37_23_9783.jpg
/home/pi/Desktop/images/14122025/06/37/image_14122025_06_37_34_10806.jpg
/home/pi/Desktop/images/14122025/06/37/image_14122025_06_37_44_9736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329930","1399329924","1399329926","1399329920","1399329919","1399329922"],"photo_ids_order":["1399329919","1399329920","1399329922","1399329924","1399329926","1399329930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/08930104d1b08fb07c9a3ba62e43c9cf.jpg","text":"TemporaryFile(/tmp/multipartBody7274468060921745537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690943166,"filename":"image_14122025_06_37_44_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f81afa75fc9cee30c5ac3e785433a5fc.jpg","text":"TemporaryFile(/tmp/multipartBody2721572633465271759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690943166,"filename":"image_14122025_06_37_23_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/412cd25e6d4f1724c8e8b88008b55aa2.jpg","text":"TemporaryFile(/tmp/multipartBody8638453901939390101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690943166,"filename":"image_14122025_06_37_34_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/538d54771494cb5edfb697ebb14cfbda.jpg","text":"TemporaryFile(/tmp/multipartBody7350145969902198454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690943166,"filename":"image_14122025_06_37_04_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d9414905883ac366cbac939037a82be2.jpg","text":"TemporaryFile(/tmp/multipartBody2431292239846219451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690943166,"filename":"image_14122025_06_36_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/12/14/871b27badc732ba32e8d4ae37cc03c9b.jpg","text":"TemporaryFile(/tmp/multipartBody8059280050881798497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690943166,"filename":"image_14122025_06_37_13_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329922","file1":"1399329920","file0":"1399329919","file4":"1399329926","file5":"1399329930","file3":"1399329924"},"map_files_photo_id_array":[{"photo_id":"1399329930","filename":"file5"},{"photo_id":"1399329922","filename":"file2"},{"photo_id":"1399329926","filename":"file4"},{"photo_id":"1399329920","filename":"file1"},{"photo_id":"1399329919","filename":"file0"},{"photo_id":"1399329924","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329930":["hashtag1","hashtag2"]},{"1399329924":["hashtag1","hashtag2"]},{"1399329926":["hashtag1","hashtag2"]},{"1399329920":["hashtag1","hashtag2"]},{"1399329919":["hashtag1","hashtag2"]},{"1399329922":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329930, 1399329924, 1399329926, 1399329920, 1399329919, 1399329922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.907023668289185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:42:02.266381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/37/image_14122025_06_37_53_9578.jpg', '/home/pi/Desktop/images/14122025/06/37/image_14122025_06_38_04_10703.jpg', '/home/pi/Desktop/images/14122025/06/38/image_14122025_06_38_14_9737.jpg', '/home/pi/Desktop/images/14122025/06/38/image_14122025_06_38_24_9732.jpg', '/home/pi/Desktop/images/14122025/06/38/image_14122025_06_38_33_9746.jpg', '/home/pi/Desktop/images/14122025/06/38/image_14122025_06_38_44_10727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/37/image_14122025_06_37_53_9578.jpg
/home/pi/Desktop/images/14122025/06/37/image_14122025_06_38_04_10703.jpg
/home/pi/Desktop/images/14122025/06/38/image_14122025_06_38_14_9737.jpg
/home/pi/Desktop/images/14122025/06/38/image_14122025_06_38_24_9732.jpg
/home/pi/Desktop/images/14122025/06/38/image_14122025_06_38_33_9746.jpg
/home/pi/Desktop/images/14122025/06/38/image_14122025_06_38_44_10727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329939","1399329944","1399329941","1399329937","1399329940","1399329942"],"photo_ids_order":["1399329937","1399329939","1399329940","1399329941","1399329942","1399329944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6274a4cdfb0c09acc64437b0ca1d9935.jpg","text":"TemporaryFile(/tmp/multipartBody6790977725322177372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690982933,"filename":"image_14122025_06_38_04_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14cea0d4af8350406a5c24ef1f9b943c.jpg","text":"TemporaryFile(/tmp/multipartBody1919902500752884309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690982933,"filename":"image_14122025_06_38_44_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/40e87c134e17452b0a499e2b5d8bc46e.jpg","text":"TemporaryFile(/tmp/multipartBody6830502959664833295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690982933,"filename":"image_14122025_06_38_24_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d0e437d58f74d68a5f7574aa943084c5.jpg","text":"TemporaryFile(/tmp/multipartBody4581885261936539586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690982933,"filename":"image_14122025_06_37_53_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b585ba183c36faae675b6e3af358655e.jpg","text":"TemporaryFile(/tmp/multipartBody8424411149279348047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690982933,"filename":"image_14122025_06_38_14_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76e1c5a2891f4f3a626bf1e9a6685dad.jpg","text":"TemporaryFile(/tmp/multipartBody2308643186681498188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765690982933,"filename":"image_14122025_06_38_33_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329940","file1":"1399329939","file0":"1399329937","file4":"1399329942","file5":"1399329944","file3":"1399329941"},"map_files_photo_id_array":[{"photo_id":"1399329944","filename":"file5"},{"photo_id":"1399329940","filename":"file2"},{"photo_id":"1399329942","filename":"file4"},{"photo_id":"1399329939","filename":"file1"},{"photo_id":"1399329937","filename":"file0"},{"photo_id":"1399329941","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329939":["hashtag1","hashtag2"]},{"1399329944":["hashtag1","hashtag2"]},{"1399329941":["hashtag1","hashtag2"]},{"1399329937":["hashtag1","hashtag2"]},{"1399329940":["hashtag1","hashtag2"]},{"1399329942":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329939, 1399329944, 1399329941, 1399329937, 1399329940, 1399329942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90569186210632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:42:41.801701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_47_1707.jpg', '/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_50_1568.jpg', '/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_52_1598.jpg', '/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_53_1560.jpg', '/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_55_1718.jpg', '/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_56_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_47_1707.jpg
/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_50_1568.jpg
/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_52_1598.jpg
/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_53_1560.jpg
/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_55_1718.jpg
/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_56_1673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329951","1399329953","1399329956","1399329952","1399329949","1399329954"],"photo_ids_order":["1399329949","1399329951","1399329952","1399329953","1399329954","1399329956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/47d754fa40f7f293d9819a9edc6fd36f.jpg","text":"TemporaryFile(/tmp/multipartBody3598131187085862271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691022459,"filename":"image_04112025_11_56_50_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e0e15292bcf3f4ef5a5950003377d9a5.jpg","text":"TemporaryFile(/tmp/multipartBody2045388157048114787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691022459,"filename":"image_04112025_11_56_53_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/899034b18a429299b7ab401a24e40429.jpg","text":"TemporaryFile(/tmp/multipartBody2941862943858996366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691022459,"filename":"image_04112025_11_56_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/12/14/000cbde9882c43281b7eca2df797c474.jpg","text":"TemporaryFile(/tmp/multipartBody2839752903844106994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691022459,"filename":"image_04112025_11_56_52_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d617014ba489f8570f16f894082177e8.jpg","text":"TemporaryFile(/tmp/multipartBody3457412667690989577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691022459,"filename":"image_04112025_11_56_47_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/de3cbd44e41c8573811388ef44517a92.jpg","text":"TemporaryFile(/tmp/multipartBody9039628109274361143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691022459,"filename":"image_04112025_11_56_55_1718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329952","file1":"1399329951","file0":"1399329949","file4":"1399329954","file5":"1399329956","file3":"1399329953"},"map_files_photo_id_array":[{"photo_id":"1399329956","filename":"file5"},{"photo_id":"1399329952","filename":"file2"},{"photo_id":"1399329954","filename":"file4"},{"photo_id":"1399329951","filename":"file1"},{"photo_id":"1399329949","filename":"file0"},{"photo_id":"1399329953","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399329951":["hashtag1","hashtag2"]},{"1399329953":["hashtag1","hashtag2"]},{"1399329956":["hashtag1","hashtag2"]},{"1399329952":["hashtag1","hashtag2"]},{"1399329949":["hashtag1","hashtag2"]},{"1399329954":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399329951, 1399329953, 1399329956, 1399329952, 1399329949, 1399329954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3835711479187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:43:22.126491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/38/image_14122025_06_38_54_9840.jpg', '/home/pi/Desktop/images/14122025/06/38/image_14122025_06_39_04_9736.jpg', '/home/pi/Desktop/images/14122025/06/39/image_14122025_06_39_13_9648.jpg', '/home/pi/Desktop/images/14122025/06/39/image_14122025_06_39_24_10733.jpg', '/home/pi/Desktop/images/14122025/06/39/image_14122025_06_39_34_9817.jpg', '/home/pi/Desktop/images/14122025/06/39/image_14122025_06_39_43_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/38/image_14122025_06_38_54_9840.jpg
/home/pi/Desktop/images/14122025/06/38/image_14122025_06_39_04_9736.jpg
/home/pi/Desktop/images/14122025/06/39/image_14122025_06_39_13_9648.jpg
/home/pi/Desktop/images/14122025/06/39/image_14122025_06_39_24_10733.jpg
/home/pi/Desktop/images/14122025/06/39/image_14122025_06_39_34_9817.jpg
/home/pi/Desktop/images/14122025/06/39/image_14122025_06_39_43_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399329965","1399329959","1399329961","1399329967","1399329963","1399329957"],"photo_ids_order":["1399329957","1399329959","1399329961","1399329963","1399329965","1399329967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2e248689f559f6fc3e8efd6287145ff2.jpg","text":"TemporaryFile(/tmp/multipartBody8987468840096684563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691062806,"filename":"image_14122025_06_39_34_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba87b33f14b0801eac7540869b3f3f9c.jpg","text":"TemporaryFile(/tmp/multipartBody645503557307366174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691062806,"filename":"image_14122025_06_39_04_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7eda84afd90b4d90d1a5fa47cfefc013.jpg","text":"TemporaryFile(/tmp/multipartBody3675029801456015937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691062806,"filename":"image_14122025_06_39_13_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f6fb518c9a8857a3b8dec1cddd4f26cb.jpg","text":"TemporaryFile(/tmp/multipartBody4660721389590717245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691062806,"filename":"image_14122025_06_39_43_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ece6f7b5babaf2af00a6a93adab97e27.jpg","text":"TemporaryFile(/tmp/multipartBody1891023947366890801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691062806,"filename":"image_14122025_06_39_24_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/294dda14910431749d61250c5920a69a.jpg","text":"TemporaryFile(/tmp/multipartBody317294596497846998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691062806,"filename":"image_14122025_06_38_54_9840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329961","file1":"1399329959","file0":"1399329957","file4":"1399329965","file5":"1399329967","file3":"1399329963"},"map_files_photo_id_array":[{"photo_id":"1399329967","filename":"file5"},{"photo_id":"1399329961","filename":"file2"},{"photo_id":"1399329965","filename":"file4"},{"photo_id":"1399329959","filename":"file1"},{"photo_id":"1399329957","filename":"file0"},{"photo_id":"1399329963","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329965":["hashtag1","hashtag2"]},{"1399329959":["hashtag1","hashtag2"]},{"1399329961":["hashtag1","hashtag2"]},{"1399329967":["hashtag1","hashtag2"]},{"1399329963":["hashtag1","hashtag2"]},{"1399329957":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329965, 1399329959, 1399329961, 1399329967, 1399329963, 1399329957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.898163080215454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:44:03.072939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/39/image_14122025_06_39_53_9963.jpg', '/home/pi/Desktop/images/14122025/06/39/image_14122025_06_40_04_10690.jpg', '/home/pi/Desktop/images/14122025/06/40/image_14122025_06_40_14_9766.jpg', '/home/pi/Desktop/images/14122025/06/40/image_14122025_06_40_24_9757.jpg', '/home/pi/Desktop/images/14122025/06/40/image_14122025_06_40_34_9959.jpg', '/home/pi/Desktop/images/14122025/06/40/image_14122025_06_40_43_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/39/image_14122025_06_39_53_9963.jpg
/home/pi/Desktop/images/14122025/06/39/image_14122025_06_40_04_10690.jpg
/home/pi/Desktop/images/14122025/06/40/image_14122025_06_40_14_9766.jpg
/home/pi/Desktop/images/14122025/06/40/image_14122025_06_40_24_9757.jpg
/home/pi/Desktop/images/14122025/06/40/image_14122025_06_40_34_9959.jpg
/home/pi/Desktop/images/14122025/06/40/image_14122025_06_40_43_9718.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5808322429656982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:44:12.333068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:44:22.285824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/39/image_14122025_06_39_53_9963.jpg', '/home/pi/Desktop/images/14122025/06/39/image_14122025_06_40_04_10690.jpg', '/home/pi/Desktop/images/14122025/06/40/image_14122025_06_40_14_9766.jpg', '/home/pi/Desktop/images/14122025/06/40/image_14122025_06_40_24_9757.jpg', '/home/pi/Desktop/images/14122025/06/40/image_14122025_06_40_34_9959.jpg', '/home/pi/Desktop/images/14122025/06/40/image_14122025_06_40_43_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/39/image_14122025_06_39_53_9963.jpg
/home/pi/Desktop/images/14122025/06/39/image_14122025_06_40_04_10690.jpg
/home/pi/Desktop/images/14122025/06/40/image_14122025_06_40_14_9766.jpg
/home/pi/Desktop/images/14122025/06/40/image_14122025_06_40_24_9757.jpg
/home/pi/Desktop/images/14122025/06/40/image_14122025_06_40_34_9959.jpg
/home/pi/Desktop/images/14122025/06/40/image_14122025_06_40_43_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":["1399329980","1399329977","1399329986","1399329974","1399329982","1399329984"],"photo_ids_order":["1399329974","1399329977","1399329980","1399329982","1399329984","1399329986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6d60ad7ca51acc3bf35d0a3eae40cd94.jpg","text":"TemporaryFile(/tmp/multipartBody8013904371974720264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691122924,"filename":"image_14122025_06_40_14_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d21d97c3421188678115d03618384b88.jpg","text":"TemporaryFile(/tmp/multipartBody1417242793274977396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691122924,"filename":"image_14122025_06_40_04_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36c9d5153bdc1456badd45bf53809336.jpg","text":"TemporaryFile(/tmp/multipartBody5880917728700689248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691122924,"filename":"image_14122025_06_40_43_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/85a4636da847c8ecd9e8ca7b0ec18d60.jpg","text":"TemporaryFile(/tmp/multipartBody2140194345011115786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691122924,"filename":"image_14122025_06_39_53_9963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/47be4677533f042dccf43e1ae3e57c7f.jpg","text":"TemporaryFile(/tmp/multipartBody7028743176322977202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691122924,"filename":"image_14122025_06_40_24_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/edfbdadc128d5c49bd30aef8183a75e3.jpg","text":"TemporaryFile(/tmp/multipartBody3019231743644608799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691122924,"filename":"image_14122025_06_40_34_9959.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329980","file1":"1399329977","file0":"1399329974","file4":"1399329984","file5":"1399329986","file3":"1399329982"},"map_files_photo_id_array":[{"photo_id":"1399329986","filename":"file5"},{"photo_id":"1399329980","filename":"file2"},{"photo_id":"1399329984","filename":"file4"},{"photo_id":"1399329977","filename":"file1"},{"photo_id":"1399329974","filename":"file0"},{"photo_id":"1399329982","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399329980":["hashtag1","hashtag2"]},{"1399329977":["hashtag1","hashtag2"]},{"1399329986":["hashtag1","hashtag2"]},{"1399329974":["hashtag1","hashtag2"]},{"1399329982":["hashtag1","hashtag2"]},{"1399329984":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399329980, 1399329977, 1399329986, 1399329974, 1399329982, 1399329984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33473181724548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:45:03.214625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/40/image_14122025_06_40_54_10734.jpg', '/home/pi/Desktop/images/14122025/06/40/image_14122025_06_41_04_9656.jpg', '/home/pi/Desktop/images/14122025/06/41/image_14122025_06_41_24_10803.jpg', '/home/pi/Desktop/images/14122025/06/41/image_14122025_06_41_34_9612.jpg', '/home/pi/Desktop/images/14122025/06/41/image_14122025_06_41_43_9671.jpg', '/home/pi/Desktop/images/14122025/06/41/image_14122025_06_42_04_9856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/40/image_14122025_06_40_54_10734.jpg
/home/pi/Desktop/images/14122025/06/40/image_14122025_06_41_04_9656.jpg
/home/pi/Desktop/images/14122025/06/41/image_14122025_06_41_24_10803.jpg
/home/pi/Desktop/images/14122025/06/41/image_14122025_06_41_34_9612.jpg
/home/pi/Desktop/images/14122025/06/41/image_14122025_06_41_43_9671.jpg
/home/pi/Desktop/images/14122025/06/41/image_14122025_06_42_04_9856.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6091928482055664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:45:12.476086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:45:22.564814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/40/image_14122025_06_40_54_10734.jpg', '/home/pi/Desktop/images/14122025/06/40/image_14122025_06_41_04_9656.jpg', '/home/pi/Desktop/images/14122025/06/41/image_14122025_06_41_24_10803.jpg', '/home/pi/Desktop/images/14122025/06/41/image_14122025_06_41_34_9612.jpg', '/home/pi/Desktop/images/14122025/06/41/image_14122025_06_41_43_9671.jpg', '/home/pi/Desktop/images/14122025/06/41/image_14122025_06_42_04_9856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/40/image_14122025_06_40_54_10734.jpg
/home/pi/Desktop/images/14122025/06/40/image_14122025_06_41_04_9656.jpg
/home/pi/Desktop/images/14122025/06/41/image_14122025_06_41_24_10803.jpg
/home/pi/Desktop/images/14122025/06/41/image_14122025_06_41_34_9612.jpg
/home/pi/Desktop/images/14122025/06/41/image_14122025_06_41_43_9671.jpg
/home/pi/Desktop/images/14122025/06/41/image_14122025_06_42_04_9856.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399330005","1399330002","1399329997","1399329996","1399329999","1399329993"],"photo_ids_order":["1399329993","1399329996","1399329997","1399329999","1399330002","1399330005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aef1549eb90a82d3aed8891236c5293b.jpg","text":"TemporaryFile(/tmp/multipartBody4684146706197126034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691183207,"filename":"image_14122025_06_42_04_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/08f9a64cd64bfd11e580a6d3154774fe.jpg","text":"TemporaryFile(/tmp/multipartBody2573981022180922253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691183207,"filename":"image_14122025_06_41_43_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/15865c8478888d41bc9cf006d29c27ff.jpg","text":"TemporaryFile(/tmp/multipartBody3791782831459056808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691183207,"filename":"image_14122025_06_41_24_10803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9b786b495f5a3d5d21d98efa3327c540.jpg","text":"TemporaryFile(/tmp/multipartBody384620929508461625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691183207,"filename":"image_14122025_06_41_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2c84f6676105dd6f1ac6ef88d6bb7951.jpg","text":"TemporaryFile(/tmp/multipartBody3844927537891859940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691183207,"filename":"image_14122025_06_41_34_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/77c3e93d4fbdb7420eb1f9ef8d7e31bd.jpg","text":"TemporaryFile(/tmp/multipartBody7266551655906046236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691183207,"filename":"image_14122025_06_40_54_10734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399329997","file1":"1399329996","file0":"1399329993","file4":"1399330002","file5":"1399330005","file3":"1399329999"},"map_files_photo_id_array":[{"photo_id":"1399330005","filename":"file5"},{"photo_id":"1399329997","filename":"file2"},{"photo_id":"1399330002","filename":"file4"},{"photo_id":"1399329996","filename":"file1"},{"photo_id":"1399329993","filename":"file0"},{"photo_id":"1399329999","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399330005":["hashtag1","hashtag2"]},{"1399330002":["hashtag1","hashtag2"]},{"1399329997":["hashtag1","hashtag2"]},{"1399329996":["hashtag1","hashtag2"]},{"1399329999":["hashtag1","hashtag2"]},{"1399329993":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399330005, 1399330002, 1399329997, 1399329996, 1399329999, 1399329993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16023516654968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:46:03.303756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/42/image_14122025_06_42_14_9717.jpg', '/home/pi/Desktop/images/14122025/06/42/image_14122025_06_42_23_9723.jpg', '/home/pi/Desktop/images/14122025/06/42/image_14122025_06_42_34_10571.jpg', '/home/pi/Desktop/images/14122025/06/42/image_14122025_06_42_44_9802.jpg', '/home/pi/Desktop/images/14122025/06/42/image_14122025_06_42_54_9725.jpg', '/home/pi/Desktop/images/14122025/06/42/image_14122025_06_43_03_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/42/image_14122025_06_42_14_9717.jpg
/home/pi/Desktop/images/14122025/06/42/image_14122025_06_42_23_9723.jpg
/home/pi/Desktop/images/14122025/06/42/image_14122025_06_42_34_10571.jpg
/home/pi/Desktop/images/14122025/06/42/image_14122025_06_42_44_9802.jpg
/home/pi/Desktop/images/14122025/06/42/image_14122025_06_42_54_9725.jpg
/home/pi/Desktop/images/14122025/06/42/image_14122025_06_43_03_9751.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5593833923339844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:46:12.751610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:46:22.841428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/42/image_14122025_06_42_14_9717.jpg', '/home/pi/Desktop/images/14122025/06/42/image_14122025_06_42_23_9723.jpg', '/home/pi/Desktop/images/14122025/06/42/image_14122025_06_42_34_10571.jpg', '/home/pi/Desktop/images/14122025/06/42/image_14122025_06_42_44_9802.jpg', '/home/pi/Desktop/images/14122025/06/42/image_14122025_06_42_54_9725.jpg', '/home/pi/Desktop/images/14122025/06/42/image_14122025_06_43_03_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/42/image_14122025_06_42_14_9717.jpg
/home/pi/Desktop/images/14122025/06/42/image_14122025_06_42_23_9723.jpg
/home/pi/Desktop/images/14122025/06/42/image_14122025_06_42_34_10571.jpg
/home/pi/Desktop/images/14122025/06/42/image_14122025_06_42_44_9802.jpg
/home/pi/Desktop/images/14122025/06/42/image_14122025_06_42_54_9725.jpg
/home/pi/Desktop/images/14122025/06/42/image_14122025_06_43_03_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":["1399330017","1399330013","1399330022","1399330019","1399330024","1399330015"],"photo_ids_order":["1399330013","1399330015","1399330017","1399330019","1399330022","1399330024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2e7294d5b62c5cdbb302b216f63b093f.jpg","text":"TemporaryFile(/tmp/multipartBody9016839369932362071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691243529,"filename":"image_14122025_06_42_34_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ff849da2cca7cb0896bf2116bfcbb644.jpg","text":"TemporaryFile(/tmp/multipartBody5415624459666338253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691243529,"filename":"image_14122025_06_42_14_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d60823a535a1ae968ad31f9e5a789246.jpg","text":"TemporaryFile(/tmp/multipartBody6115186109490885297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691243529,"filename":"image_14122025_06_42_54_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/788ad08f5b31b3063222f1f564fa4d8e.jpg","text":"TemporaryFile(/tmp/multipartBody2128505928573025265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691243529,"filename":"image_14122025_06_42_44_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c87dec0bcf8be3b2942ff6f7ea87a0f1.jpg","text":"TemporaryFile(/tmp/multipartBody890677929776607608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691243529,"filename":"image_14122025_06_43_03_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ccb3ded252f16fe2e60d447ec5896694.jpg","text":"TemporaryFile(/tmp/multipartBody6658320817468475570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691243529,"filename":"image_14122025_06_42_23_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399330017","file1":"1399330015","file0":"1399330013","file4":"1399330022","file5":"1399330024","file3":"1399330019"},"map_files_photo_id_array":[{"photo_id":"1399330024","filename":"file5"},{"photo_id":"1399330017","filename":"file2"},{"photo_id":"1399330022","filename":"file4"},{"photo_id":"1399330015","filename":"file1"},{"photo_id":"1399330013","filename":"file0"},{"photo_id":"1399330019","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399330017":["hashtag1","hashtag2"]},{"1399330013":["hashtag1","hashtag2"]},{"1399330022":["hashtag1","hashtag2"]},{"1399330019":["hashtag1","hashtag2"]},{"1399330024":["hashtag1","hashtag2"]},{"1399330015":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399330017, 1399330013, 1399330022, 1399330019, 1399330024, 1399330015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9814133644104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:47:02.810350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/43/image_14122025_06_43_14_10662.jpg', '/home/pi/Desktop/images/14122025/06/43/image_14122025_06_43_24_9563.jpg', '/home/pi/Desktop/images/14122025/06/43/image_14122025_06_43_33_9730.jpg', '/home/pi/Desktop/images/14122025/06/43/image_14122025_06_43_44_10697.jpg', '/home/pi/Desktop/images/14122025/06/43/image_14122025_06_43_54_9850.jpg', '/home/pi/Desktop/images/14122025/06/43/image_14122025_06_44_04_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/43/image_14122025_06_43_14_10662.jpg
/home/pi/Desktop/images/14122025/06/43/image_14122025_06_43_24_9563.jpg
/home/pi/Desktop/images/14122025/06/43/image_14122025_06_43_33_9730.jpg
/home/pi/Desktop/images/14122025/06/43/image_14122025_06_43_44_10697.jpg
/home/pi/Desktop/images/14122025/06/43/image_14122025_06_43_54_9850.jpg
/home/pi/Desktop/images/14122025/06/43/image_14122025_06_44_04_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399330029","1399330026","1399330031","1399330028","1399330025","1399330027"],"photo_ids_order":["1399330025","1399330026","1399330027","1399330028","1399330029","1399330031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1a9cb2d4fdc69bedf945af1073cbd6bc.jpg","text":"TemporaryFile(/tmp/multipartBody14131911277127091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691283514,"filename":"image_14122025_06_43_54_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d6964a24d8e0f8e0d730a83385f3a808.jpg","text":"TemporaryFile(/tmp/multipartBody5657214006356965721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691283514,"filename":"image_14122025_06_43_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/12/14/d02ee39082fa96a59ffd60c3b2a6c4bf.jpg","text":"TemporaryFile(/tmp/multipartBody6729393309597967428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691283514,"filename":"image_14122025_06_44_04_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c9aaf492369e3d5e682db4098a5714a7.jpg","text":"TemporaryFile(/tmp/multipartBody2706121030984841120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691283514,"filename":"image_14122025_06_43_44_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/41f1acad6bca1c5d74cd979167dc6c08.jpg","text":"TemporaryFile(/tmp/multipartBody479230551398119999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691283514,"filename":"image_14122025_06_43_14_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a9db11ad376203277c41adcd598c8245.jpg","text":"TemporaryFile(/tmp/multipartBody4583061105437509192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691283514,"filename":"image_14122025_06_43_33_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399330027","file1":"1399330026","file0":"1399330025","file4":"1399330029","file5":"1399330031","file3":"1399330028"},"map_files_photo_id_array":[{"photo_id":"1399330031","filename":"file5"},{"photo_id":"1399330027","filename":"file2"},{"photo_id":"1399330029","filename":"file4"},{"photo_id":"1399330026","filename":"file1"},{"photo_id":"1399330025","filename":"file0"},{"photo_id":"1399330028","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399330029":["hashtag1","hashtag2"]},{"1399330026":["hashtag1","hashtag2"]},{"1399330031":["hashtag1","hashtag2"]},{"1399330028":["hashtag1","hashtag2"]},{"1399330025":["hashtag1","hashtag2"]},{"1399330027":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399330029, 1399330026, 1399330031, 1399330028, 1399330025, 1399330027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93472599983215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:47:42.060632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_58_1571.jpg', '/home/pi/Desktop/images/04112025/11/56/image_04112025_11_57_00_1600.jpg', '/home/pi/Desktop/images/04112025/11/57/image_04112025_11_57_01_1595.jpg', '/home/pi/Desktop/images/04112025/11/57/image_04112025_11_57_05_4233.jpg', '/home/pi/Desktop/images/04112025/11/57/image_04112025_11_57_07_1618.jpg', '/home/pi/Desktop/images/04112025/11/57/image_04112025_11_57_11_3727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/56/image_04112025_11_56_58_1571.jpg
/home/pi/Desktop/images/04112025/11/56/image_04112025_11_57_00_1600.jpg
/home/pi/Desktop/images/04112025/11/57/image_04112025_11_57_01_1595.jpg
/home/pi/Desktop/images/04112025/11/57/image_04112025_11_57_05_4233.jpg
/home/pi/Desktop/images/04112025/11/57/image_04112025_11_57_07_1618.jpg
/home/pi/Desktop/images/04112025/11/57/image_04112025_11_57_11_3727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399330044","1399330046","1399330043","1399330042","1399330045","1399330036"],"photo_ids_order":["1399330036","1399330042","1399330043","1399330044","1399330045","1399330046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/299d08b31c33ea096c579e2272164650.jpg","text":"TemporaryFile(/tmp/multipartBody800264139599411655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691322717,"filename":"image_04112025_11_57_05_4233.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e39dbc15e3dc0845c82ea33c4011404d.jpg","text":"TemporaryFile(/tmp/multipartBody2875360158520540985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691322717,"filename":"image_04112025_11_57_11_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f9e62a598528645d300297dac1638eed.jpg","text":"TemporaryFile(/tmp/multipartBody8001535168702325963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691322717,"filename":"image_04112025_11_57_01_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69344393ea7470413c4d125dbb317cd6.jpg","text":"TemporaryFile(/tmp/multipartBody5308534221140939943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691322717,"filename":"image_04112025_11_57_00_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/82c938ededc1d99841cbbe6b796bf7a6.jpg","text":"TemporaryFile(/tmp/multipartBody4830826600137821878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691322717,"filename":"image_04112025_11_57_07_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/91d8d4ff386a881efb925ac2258ff7a7.jpg","text":"TemporaryFile(/tmp/multipartBody8234894024138538829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691322717,"filename":"image_04112025_11_56_58_1571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399330043","file1":"1399330042","file0":"1399330036","file4":"1399330045","file5":"1399330046","file3":"1399330044"},"map_files_photo_id_array":[{"photo_id":"1399330046","filename":"file5"},{"photo_id":"1399330043","filename":"file2"},{"photo_id":"1399330045","filename":"file4"},{"photo_id":"1399330042","filename":"file1"},{"photo_id":"1399330036","filename":"file0"},{"photo_id":"1399330044","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399330044":["hashtag1","hashtag2"]},{"1399330046":["hashtag1","hashtag2"]},{"1399330043":["hashtag1","hashtag2"]},{"1399330042":["hashtag1","hashtag2"]},{"1399330045":["hashtag1","hashtag2"]},{"1399330036":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399330044, 1399330046, 1399330043, 1399330042, 1399330045, 1399330036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.537434577941895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:48:22.320582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/44/image_14122025_06_44_13_9891.jpg', '/home/pi/Desktop/images/14122025/06/44/image_14122025_06_44_24_10618.jpg', '/home/pi/Desktop/images/14122025/06/44/image_14122025_06_44_34_9661.jpg', '/home/pi/Desktop/images/14122025/06/44/image_14122025_06_44_43_9778.jpg', '/home/pi/Desktop/images/14122025/06/44/image_14122025_06_44_54_10655.jpg', '/home/pi/Desktop/images/14122025/06/45/image_14122025_06_45_13_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/44/image_14122025_06_44_13_9891.jpg
/home/pi/Desktop/images/14122025/06/44/image_14122025_06_44_24_10618.jpg
/home/pi/Desktop/images/14122025/06/44/image_14122025_06_44_34_9661.jpg
/home/pi/Desktop/images/14122025/06/44/image_14122025_06_44_43_9778.jpg
/home/pi/Desktop/images/14122025/06/44/image_14122025_06_44_54_10655.jpg
/home/pi/Desktop/images/14122025/06/45/image_14122025_06_45_13_9717.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6340866088867188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:48:32.333818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:48:42.285414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/57/image_04112025_11_57_13_2614.jpg', '/home/pi/Desktop/images/04112025/11/57/image_04112025_11_57_22_8676.jpg', '/home/pi/Desktop/images/04112025/11/57/image_04112025_11_57_40_17523.jpg', '/home/pi/Desktop/images/04112025/11/57/image_04112025_11_57_41_1766.jpg', '/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_07_3010.jpg', '/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_10_3507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/57/image_04112025_11_57_13_2614.jpg
/home/pi/Desktop/images/04112025/11/57/image_04112025_11_57_22_8676.jpg
/home/pi/Desktop/images/04112025/11/57/image_04112025_11_57_40_17523.jpg
/home/pi/Desktop/images/04112025/11/57/image_04112025_11_57_41_1766.jpg
/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_07_3010.jpg
/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_10_3507.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399330062","1399330059","1399330061","1399330060","1399330063","1399330057"],"photo_ids_order":["1399330057","1399330059","1399330060","1399330061","1399330062","1399330063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b4a2127028712fd89b19e71bc6bcf61c.jpg","text":"TemporaryFile(/tmp/multipartBody6380822572975922072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691382945,"filename":"image_04112025_11_59_07_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f2d434d94a0acb0fc0aa57d9c250b173.jpg","text":"TemporaryFile(/tmp/multipartBody8679708200091808692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691382945,"filename":"image_04112025_11_57_22_8676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29f2aa467acc68a43f30a966786e4f8a.jpg","text":"TemporaryFile(/tmp/multipartBody9187278910543507612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691382945,"filename":"image_04112025_11_57_41_1766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b0c58eae273fe1af8902281b99567837.jpg","text":"TemporaryFile(/tmp/multipartBody2414344525666976725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691382945,"filename":"image_04112025_11_57_40_17523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d5c9c283b95ddf826327d7e97ea8527.jpg","text":"TemporaryFile(/tmp/multipartBody744109349625394291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691382945,"filename":"image_04112025_11_59_10_3507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8ddafee4f7da70db9408020ce8875847.jpg","text":"TemporaryFile(/tmp/multipartBody5118803745018207507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691382945,"filename":"image_04112025_11_57_13_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399330060","file1":"1399330059","file0":"1399330057","file4":"1399330062","file5":"1399330063","file3":"1399330061"},"map_files_photo_id_array":[{"photo_id":"1399330063","filename":"file5"},{"photo_id":"1399330060","filename":"file2"},{"photo_id":"1399330062","filename":"file4"},{"photo_id":"1399330059","filename":"file1"},{"photo_id":"1399330057","filename":"file0"},{"photo_id":"1399330061","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399330062":["hashtag1","hashtag2"]},{"1399330059":["hashtag1","hashtag2"]},{"1399330061":["hashtag1","hashtag2"]},{"1399330060":["hashtag1","hashtag2"]},{"1399330063":["hashtag1","hashtag2"]},{"1399330057":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399330062, 1399330059, 1399330061, 1399330060, 1399330063, 1399330057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.120476722717285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:49:22.654407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/44/image_14122025_06_44_13_9891.jpg', '/home/pi/Desktop/images/14122025/06/44/image_14122025_06_44_24_10618.jpg', '/home/pi/Desktop/images/14122025/06/44/image_14122025_06_44_34_9661.jpg', '/home/pi/Desktop/images/14122025/06/44/image_14122025_06_44_43_9778.jpg', '/home/pi/Desktop/images/14122025/06/44/image_14122025_06_44_54_10655.jpg', '/home/pi/Desktop/images/14122025/06/45/image_14122025_06_45_13_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/44/image_14122025_06_44_13_9891.jpg
/home/pi/Desktop/images/14122025/06/44/image_14122025_06_44_24_10618.jpg
/home/pi/Desktop/images/14122025/06/44/image_14122025_06_44_34_9661.jpg
/home/pi/Desktop/images/14122025/06/44/image_14122025_06_44_43_9778.jpg
/home/pi/Desktop/images/14122025/06/44/image_14122025_06_44_54_10655.jpg
/home/pi/Desktop/images/14122025/06/45/image_14122025_06_45_13_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399330065","1399330068","1399330070","1399330073","1399330067","1399330075"],"photo_ids_order":["1399330065","1399330067","1399330068","1399330070","1399330073","1399330075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/91e8ab0fa53186039a8109c2cb339928.jpg","text":"TemporaryFile(/tmp/multipartBody2575006584633157793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691423301,"filename":"image_14122025_06_44_13_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b9bd570502feb1fa81504e2d83988ba.jpg","text":"TemporaryFile(/tmp/multipartBody1517847763309258961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691423301,"filename":"image_14122025_06_44_34_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/385ea63f50f24c9373bc35865417443d.jpg","text":"TemporaryFile(/tmp/multipartBody2579365799848064249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691423301,"filename":"image_14122025_06_44_43_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/014da7b7156bb7c427c16d23eb160d82.jpg","text":"TemporaryFile(/tmp/multipartBody907455822409137765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691423301,"filename":"image_14122025_06_44_54_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/783aca5d0f32c3976472fa5bd27cccb1.jpg","text":"TemporaryFile(/tmp/multipartBody5325558423303618896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691423301,"filename":"image_14122025_06_44_24_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef238e3b583b9c1c33df05a359f3a362.jpg","text":"TemporaryFile(/tmp/multipartBody2882713109514765536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691423301,"filename":"image_14122025_06_45_13_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399330068","file1":"1399330067","file0":"1399330065","file4":"1399330073","file5":"1399330075","file3":"1399330070"},"map_files_photo_id_array":[{"photo_id":"1399330075","filename":"file5"},{"photo_id":"1399330068","filename":"file2"},{"photo_id":"1399330073","filename":"file4"},{"photo_id":"1399330067","filename":"file1"},{"photo_id":"1399330065","filename":"file0"},{"photo_id":"1399330070","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399330065":["hashtag1","hashtag2"]},{"1399330068":["hashtag1","hashtag2"]},{"1399330070":["hashtag1","hashtag2"]},{"1399330073":["hashtag1","hashtag2"]},{"1399330067":["hashtag1","hashtag2"]},{"1399330075":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399330065, 1399330068, 1399330070, 1399330073, 1399330067, 1399330075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.572344064712524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:50:03.205832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/45/image_14122025_06_45_24_10755.jpg', '/home/pi/Desktop/images/14122025/06/45/image_14122025_06_45_43_9641.jpg', '/home/pi/Desktop/images/14122025/06/45/image_14122025_06_45_53_9846.jpg', '/home/pi/Desktop/images/14122025/06/45/image_14122025_06_46_04_10744.jpg', '/home/pi/Desktop/images/14122025/06/46/image_14122025_06_46_14_9720.jpg', '/home/pi/Desktop/images/14122025/06/46/image_14122025_06_46_34_10700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/45/image_14122025_06_45_24_10755.jpg
/home/pi/Desktop/images/14122025/06/45/image_14122025_06_45_43_9641.jpg
/home/pi/Desktop/images/14122025/06/45/image_14122025_06_45_53_9846.jpg
/home/pi/Desktop/images/14122025/06/45/image_14122025_06_46_04_10744.jpg
/home/pi/Desktop/images/14122025/06/46/image_14122025_06_46_14_9720.jpg
/home/pi/Desktop/images/14122025/06/46/image_14122025_06_46_34_10700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399330086","1399330082","1399330079","1399330081","1399330078","1399330083"],"photo_ids_order":["1399330078","1399330079","1399330081","1399330082","1399330083","1399330086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f1d1c0a8b7c6e8e4927ab2ab45c7fd2.jpg","text":"TemporaryFile(/tmp/multipartBody5594437413147447659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691463917,"filename":"image_14122025_06_46_34_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ca317eebf3c67672767f1062c65937be.jpg","text":"TemporaryFile(/tmp/multipartBody5276887985710941880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691463917,"filename":"image_14122025_06_46_04_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b44ef754af32a965e6f8d6f73ae7e0a.jpg","text":"TemporaryFile(/tmp/multipartBody4941780128799807421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691463917,"filename":"image_14122025_06_45_43_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a11c7cf7b2dafada50423fa35b1ff17.jpg","text":"TemporaryFile(/tmp/multipartBody642051902645484710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691463917,"filename":"image_14122025_06_45_53_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/77486787bafa045eb00df2ba8ca788f4.jpg","text":"TemporaryFile(/tmp/multipartBody726811423889488549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691463917,"filename":"image_14122025_06_45_24_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/795186a793bee43014738eae1ea9e351.jpg","text":"TemporaryFile(/tmp/multipartBody796081167286196071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691463917,"filename":"image_14122025_06_46_14_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399330081","file1":"1399330079","file0":"1399330078","file4":"1399330083","file5":"1399330086","file3":"1399330082"},"map_files_photo_id_array":[{"photo_id":"1399330086","filename":"file5"},{"photo_id":"1399330081","filename":"file2"},{"photo_id":"1399330083","filename":"file4"},{"photo_id":"1399330079","filename":"file1"},{"photo_id":"1399330078","filename":"file0"},{"photo_id":"1399330082","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399330086":["hashtag1","hashtag2"]},{"1399330082":["hashtag1","hashtag2"]},{"1399330079":["hashtag1","hashtag2"]},{"1399330081":["hashtag1","hashtag2"]},{"1399330078":["hashtag1","hashtag2"]},{"1399330083":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399330086, 1399330082, 1399330079, 1399330081, 1399330078, 1399330083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.617687702178955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:50:42.788118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_13_2603.jpg', '/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_17_3775.jpg', '/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_19_2625.jpg', '/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_29_2638.jpg', '/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_35_3727.jpg', '/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_37_2556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_13_2603.jpg
/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_17_3775.jpg
/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_19_2625.jpg
/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_29_2638.jpg
/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_35_3727.jpg
/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_37_2556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399330097","1399330091","1399330100","1399330096","1399330099","1399330098"],"photo_ids_order":["1399330091","1399330096","1399330097","1399330098","1399330099","1399330100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3bcf79e7bcad286b1a415debfffef19.jpg","text":"TemporaryFile(/tmp/multipartBody7078277618689311209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691503454,"filename":"image_04112025_11_59_19_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a61e7763b776cc21772f6d40b9f5322.jpg","text":"TemporaryFile(/tmp/multipartBody7947685942535768537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691503454,"filename":"image_04112025_11_59_13_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/608c9531a0247b8983037b88b9984906.jpg","text":"TemporaryFile(/tmp/multipartBody5576396591770402235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691503454,"filename":"image_04112025_11_59_37_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/99d791a300d679734caa80bb5cf120df.jpg","text":"TemporaryFile(/tmp/multipartBody1475563324039838170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691503454,"filename":"image_04112025_11_59_17_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d79062e6bb121572582a2e1f6c5b837.jpg","text":"TemporaryFile(/tmp/multipartBody7285585567379616969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691503454,"filename":"image_04112025_11_59_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/12/14/4e52bdf65b8482174d37ed66595a612e.jpg","text":"TemporaryFile(/tmp/multipartBody8247498947178334383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691503454,"filename":"image_04112025_11_59_29_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399330097","file1":"1399330096","file0":"1399330091","file4":"1399330099","file5":"1399330100","file3":"1399330098"},"map_files_photo_id_array":[{"photo_id":"1399330100","filename":"file5"},{"photo_id":"1399330097","filename":"file2"},{"photo_id":"1399330099","filename":"file4"},{"photo_id":"1399330096","filename":"file1"},{"photo_id":"1399330091","filename":"file0"},{"photo_id":"1399330098","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399330097":["hashtag1","hashtag2"]},{"1399330091":["hashtag1","hashtag2"]},{"1399330100":["hashtag1","hashtag2"]},{"1399330096":["hashtag1","hashtag2"]},{"1399330099":["hashtag1","hashtag2"]},{"1399330098":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399330097, 1399330091, 1399330100, 1399330096, 1399330099, 1399330098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54606223106384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:51:22.045077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/46/image_14122025_06_46_44_9640.jpg', '/home/pi/Desktop/images/14122025/06/46/image_14122025_06_46_53_9708.jpg', '/home/pi/Desktop/images/14122025/06/46/image_14122025_06_47_04_10740.jpg', '/home/pi/Desktop/images/14122025/06/47/image_14122025_06_47_14_9659.jpg', '/home/pi/Desktop/images/14122025/06/47/image_14122025_06_47_24_9769.jpg', '/home/pi/Desktop/images/14122025/06/47/image_14122025_06_47_33_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/46/image_14122025_06_46_44_9640.jpg
/home/pi/Desktop/images/14122025/06/46/image_14122025_06_46_53_9708.jpg
/home/pi/Desktop/images/14122025/06/46/image_14122025_06_47_04_10740.jpg
/home/pi/Desktop/images/14122025/06/47/image_14122025_06_47_14_9659.jpg
/home/pi/Desktop/images/14122025/06/47/image_14122025_06_47_24_9769.jpg
/home/pi/Desktop/images/14122025/06/47/image_14122025_06_47_33_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":["1399330107","1399330101","1399330112","1399330109","1399330103","1399330105"],"photo_ids_order":["1399330101","1399330103","1399330105","1399330107","1399330109","1399330112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f614a4944d04f3a3d8d771971831f929.jpg","text":"TemporaryFile(/tmp/multipartBody2938138517979253931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691542685,"filename":"image_14122025_06_47_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56652e8a3aa4eb188f35cc83cec6518d.jpg","text":"TemporaryFile(/tmp/multipartBody7677850782293893894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691542685,"filename":"image_14122025_06_46_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f4d70389bbf4c1e7d81830dd44c0dad8.jpg","text":"TemporaryFile(/tmp/multipartBody1528078911331762290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691542685,"filename":"image_14122025_06_47_33_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e6dd134c07e8f480be736e53047b243.jpg","text":"TemporaryFile(/tmp/multipartBody3388882401375438106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691542685,"filename":"image_14122025_06_47_24_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/750d9ff36760d2a9c720cd043e371038.jpg","text":"TemporaryFile(/tmp/multipartBody9184857434352495425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691542685,"filename":"image_14122025_06_46_53_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1aea1752d339d23c067e60f54e9a68f5.jpg","text":"TemporaryFile(/tmp/multipartBody3881831890276983353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691542685,"filename":"image_14122025_06_47_04_10740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399330105","file1":"1399330103","file0":"1399330101","file4":"1399330109","file5":"1399330112","file3":"1399330107"},"map_files_photo_id_array":[{"photo_id":"1399330112","filename":"file5"},{"photo_id":"1399330105","filename":"file2"},{"photo_id":"1399330109","filename":"file4"},{"photo_id":"1399330103","filename":"file1"},{"photo_id":"1399330101","filename":"file0"},{"photo_id":"1399330107","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399330107":["hashtag1","hashtag2"]},{"1399330101":["hashtag1","hashtag2"]},{"1399330112":["hashtag1","hashtag2"]},{"1399330109":["hashtag1","hashtag2"]},{"1399330103":["hashtag1","hashtag2"]},{"1399330105":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399330107, 1399330101, 1399330112, 1399330109, 1399330103, 1399330105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42146444320679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:52:02.776107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/47/image_14122025_06_47_54_9838.jpg', '/home/pi/Desktop/images/14122025/06/47/image_14122025_06_48_04_9785.jpg', '/home/pi/Desktop/images/14122025/06/48/image_14122025_06_48_13_9645.jpg', '/home/pi/Desktop/images/14122025/06/48/image_14122025_06_48_24_10689.jpg', '/home/pi/Desktop/images/14122025/06/48/image_14122025_06_48_44_9703.jpg', '/home/pi/Desktop/images/14122025/06/48/image_14122025_06_48_53_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/47/image_14122025_06_47_54_9838.jpg
/home/pi/Desktop/images/14122025/06/47/image_14122025_06_48_04_9785.jpg
/home/pi/Desktop/images/14122025/06/48/image_14122025_06_48_13_9645.jpg
/home/pi/Desktop/images/14122025/06/48/image_14122025_06_48_24_10689.jpg
/home/pi/Desktop/images/14122025/06/48/image_14122025_06_48_44_9703.jpg
/home/pi/Desktop/images/14122025/06/48/image_14122025_06_48_53_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":["1399330117","1399330116","1399330119","1399330115","1399330118","1399330114"],"photo_ids_order":["1399330114","1399330115","1399330116","1399330117","1399330118","1399330119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27cc031898d7fd45dccbd30882a402ed.jpg","text":"TemporaryFile(/tmp/multipartBody6213655650958779157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691583454,"filename":"image_14122025_06_48_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/12/14/2d04ea1a28613f805fdbabb6cb58b744.jpg","text":"TemporaryFile(/tmp/multipartBody6882252651413586719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691583454,"filename":"image_14122025_06_48_13_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cddcb4268fea52c9150dc7123d09c520.jpg","text":"TemporaryFile(/tmp/multipartBody1599693581841602966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691583454,"filename":"image_14122025_06_48_53_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9ee014284ba093e79911e60b9e4ac1de.jpg","text":"TemporaryFile(/tmp/multipartBody6494356379587415695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691583454,"filename":"image_14122025_06_48_04_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/571ae3c3a0b7b006cb48cf99184fa145.jpg","text":"TemporaryFile(/tmp/multipartBody5637298420942073485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691583454,"filename":"image_14122025_06_48_44_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/68ffb27c2ffe042ae0beddadb0b3c223.jpg","text":"TemporaryFile(/tmp/multipartBody2985717285086207194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691583454,"filename":"image_14122025_06_47_54_9838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399330116","file1":"1399330115","file0":"1399330114","file4":"1399330118","file5":"1399330119","file3":"1399330117"},"map_files_photo_id_array":[{"photo_id":"1399330119","filename":"file5"},{"photo_id":"1399330116","filename":"file2"},{"photo_id":"1399330118","filename":"file4"},{"photo_id":"1399330115","filename":"file1"},{"photo_id":"1399330114","filename":"file0"},{"photo_id":"1399330117","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399330117":["hashtag1","hashtag2"]},{"1399330116":["hashtag1","hashtag2"]},{"1399330119":["hashtag1","hashtag2"]},{"1399330115":["hashtag1","hashtag2"]},{"1399330118":["hashtag1","hashtag2"]},{"1399330114":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399330117, 1399330116, 1399330119, 1399330115, 1399330118, 1399330114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.520198345184326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:52:42.314150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_40_2631.jpg', '/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_43_3054.jpg', '/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_49_2579.jpg', '/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_53_3558.jpg', '/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_57_4646.jpg', '/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_59_1740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_40_2631.jpg
/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_43_3054.jpg
/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_49_2579.jpg
/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_53_3558.jpg
/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_57_4646.jpg
/home/pi/Desktop/images/04112025/11/59/image_04112025_11_59_59_1740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399330133","1399330127","1399330123","1399330132","1399330135","1399330129"],"photo_ids_order":["1399330123","1399330127","1399330129","1399330132","1399330133","1399330135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/22214523d724229fbec2cdbb1626083f.jpg","text":"TemporaryFile(/tmp/multipartBody7432264234757951355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691623033,"filename":"image_04112025_11_59_57_4646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/743d129e372de6ce08c079575019ac75.jpg","text":"TemporaryFile(/tmp/multipartBody6234485351277203485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691623033,"filename":"image_04112025_11_59_43_3054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c02330bddb1879fe5a027969e5f453a9.jpg","text":"TemporaryFile(/tmp/multipartBody5556465706651847437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691623033,"filename":"image_04112025_11_59_40_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a876e19689473aa0b0a13ec66d39598c.jpg","text":"TemporaryFile(/tmp/multipartBody2072458526147958180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691623033,"filename":"image_04112025_11_59_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/12/14/9d0efcf220a8bcfb36cad8693d68c310.jpg","text":"TemporaryFile(/tmp/multipartBody923864360394001364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691623033,"filename":"image_04112025_11_59_59_1740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/58fe495a2c3e8a2889c0a086f925cce2.jpg","text":"TemporaryFile(/tmp/multipartBody6943867752129025050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691623033,"filename":"image_04112025_11_59_49_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399330129","file1":"1399330127","file0":"1399330123","file4":"1399330133","file5":"1399330135","file3":"1399330132"},"map_files_photo_id_array":[{"photo_id":"1399330135","filename":"file5"},{"photo_id":"1399330129","filename":"file2"},{"photo_id":"1399330133","filename":"file4"},{"photo_id":"1399330127","filename":"file1"},{"photo_id":"1399330123","filename":"file0"},{"photo_id":"1399330132","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399330133":["hashtag1","hashtag2"]},{"1399330127":["hashtag1","hashtag2"]},{"1399330123":["hashtag1","hashtag2"]},{"1399330132":["hashtag1","hashtag2"]},{"1399330135":["hashtag1","hashtag2"]},{"1399330129":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399330133, 1399330127, 1399330123, 1399330132, 1399330135, 1399330129)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.62959575653076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:53:32.603285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:53:42.546772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_10_5849.jpg', '/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_16_5794.jpg', '/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_24_8754.jpg', '/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_42_1610.jpg', '/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_44_1696.jpg', '/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_46_1569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_10_5849.jpg
/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_16_5794.jpg
/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_24_8754.jpg
/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_42_1610.jpg
/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_44_1696.jpg
/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_46_1569.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.634263277053833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:54:03.433160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/48/image_14122025_06_49_04_10694.jpg', '/home/pi/Desktop/images/14122025/06/49/image_14122025_06_49_24_9902.jpg', '/home/pi/Desktop/images/14122025/06/49/image_14122025_06_49_34_9639.jpg', '/home/pi/Desktop/images/14122025/06/49/image_14122025_06_49_43_9804.jpg', '/home/pi/Desktop/images/14122025/06/49/image_14122025_06_49_54_10687.jpg', '/home/pi/Desktop/images/14122025/06/49/image_14122025_06_50_04_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/48/image_14122025_06_49_04_10694.jpg
/home/pi/Desktop/images/14122025/06/49/image_14122025_06_49_24_9902.jpg
/home/pi/Desktop/images/14122025/06/49/image_14122025_06_49_34_9639.jpg
/home/pi/Desktop/images/14122025/06/49/image_14122025_06_49_43_9804.jpg
/home/pi/Desktop/images/14122025/06/49/image_14122025_06_49_54_10687.jpg
/home/pi/Desktop/images/14122025/06/49/image_14122025_06_50_04_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399330152","1399330155","1399330158","1399330154","1399330156","1399330153"],"photo_ids_order":["1399330152","1399330153","1399330154","1399330155","1399330156","1399330158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/848020e22baef7de06d67e5be40659df.jpg","text":"TemporaryFile(/tmp/multipartBody3810624372029348331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691704122,"filename":"image_14122025_06_49_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/12/14/fa84f4237310ec9d3d0c7e6a235e914d.jpg","text":"TemporaryFile(/tmp/multipartBody6777651120422677013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691704122,"filename":"image_14122025_06_49_43_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/842241cb56017ce8433be366ec9745e5.jpg","text":"TemporaryFile(/tmp/multipartBody1004996553759089111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691704122,"filename":"image_14122025_06_50_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13e9eec52674277ed4c1b0130a552848.jpg","text":"TemporaryFile(/tmp/multipartBody2581401659639955402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691704122,"filename":"image_14122025_06_49_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/15a169d35725c38c89b83a1009ba0ea3.jpg","text":"TemporaryFile(/tmp/multipartBody6972953945356504661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691704122,"filename":"image_14122025_06_49_54_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/972ddbba5b3043918c8f69dbe06f2230.jpg","text":"TemporaryFile(/tmp/multipartBody4973194034929306206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691704122,"filename":"image_14122025_06_49_24_9902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399330154","file1":"1399330153","file0":"1399330152","file4":"1399330156","file5":"1399330158","file3":"1399330155"},"map_files_photo_id_array":[{"photo_id":"1399330158","filename":"file5"},{"photo_id":"1399330154","filename":"file2"},{"photo_id":"1399330156","filename":"file4"},{"photo_id":"1399330153","filename":"file1"},{"photo_id":"1399330152","filename":"file0"},{"photo_id":"1399330155","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399330152":["hashtag1","hashtag2"]},{"1399330155":["hashtag1","hashtag2"]},{"1399330158":["hashtag1","hashtag2"]},{"1399330154":["hashtag1","hashtag2"]},{"1399330156":["hashtag1","hashtag2"]},{"1399330153":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399330152, 1399330155, 1399330158, 1399330154, 1399330156, 1399330153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73744440078735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:54:42.860372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_10_5849.jpg', '/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_16_5794.jpg', '/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_24_8754.jpg', '/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_42_1610.jpg', '/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_44_1696.jpg', '/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_46_1569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_10_5849.jpg
/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_16_5794.jpg
/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_24_8754.jpg
/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_42_1610.jpg
/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_44_1696.jpg
/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_46_1569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399330164","1399330167","1399330166","1399330169","1399330168","1399330171"],"photo_ids_order":["1399330164","1399330166","1399330167","1399330168","1399330169","1399330171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c8e2ef3ded61aa22cc7a9312033e474.jpg","text":"TemporaryFile(/tmp/multipartBody4475974450943324060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691743421,"filename":"image_04112025_12_00_10_5849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a73279b9f40389c8ff61c5a5d9bec18f.jpg","text":"TemporaryFile(/tmp/multipartBody644538312523698972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691743421,"filename":"image_04112025_12_00_24_8754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a25e9da1c606a9d4fe314ce2bfd4ae18.jpg","text":"TemporaryFile(/tmp/multipartBody7692404901925170195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691743421,"filename":"image_04112025_12_00_16_5794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d14345da591ca963614d762833e9c8a2.jpg","text":"TemporaryFile(/tmp/multipartBody7604818771827112585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691743421,"filename":"image_04112025_12_00_44_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7143a29b256b8682957937168cf1ae37.jpg","text":"TemporaryFile(/tmp/multipartBody3597781454997529997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691743421,"filename":"image_04112025_12_00_42_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/900544f06fb1a18580931afffdf86a91.jpg","text":"TemporaryFile(/tmp/multipartBody7115956470194631406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691743421,"filename":"image_04112025_12_00_46_1569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399330167","file1":"1399330166","file0":"1399330164","file4":"1399330169","file5":"1399330171","file3":"1399330168"},"map_files_photo_id_array":[{"photo_id":"1399330171","filename":"file5"},{"photo_id":"1399330167","filename":"file2"},{"photo_id":"1399330169","filename":"file4"},{"photo_id":"1399330166","filename":"file1"},{"photo_id":"1399330164","filename":"file0"},{"photo_id":"1399330168","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399330164":["hashtag1","hashtag2"]},{"1399330167":["hashtag1","hashtag2"]},{"1399330166":["hashtag1","hashtag2"]},{"1399330169":["hashtag1","hashtag2"]},{"1399330168":["hashtag1","hashtag2"]},{"1399330171":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399330164, 1399330167, 1399330166, 1399330169, 1399330168, 1399330171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47301244735718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:55:22.193881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/50/image_14122025_06_50_13_9709.jpg', '/home/pi/Desktop/images/14122025/06/50/image_14122025_06_50_24_10748.jpg', '/home/pi/Desktop/images/14122025/06/50/image_14122025_06_50_44_9780.jpg', '/home/pi/Desktop/images/14122025/06/50/image_14122025_06_50_53_9582.jpg', '/home/pi/Desktop/images/14122025/06/50/image_14122025_06_51_04_10871.jpg', '/home/pi/Desktop/images/14122025/06/51/image_14122025_06_51_14_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/50/image_14122025_06_50_13_9709.jpg
/home/pi/Desktop/images/14122025/06/50/image_14122025_06_50_24_10748.jpg
/home/pi/Desktop/images/14122025/06/50/image_14122025_06_50_44_9780.jpg
/home/pi/Desktop/images/14122025/06/50/image_14122025_06_50_53_9582.jpg
/home/pi/Desktop/images/14122025/06/50/image_14122025_06_51_04_10871.jpg
/home/pi/Desktop/images/14122025/06/51/image_14122025_06_51_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":["1399330179","1399330176","1399330181","1399330184","1399330178","1399330180"],"photo_ids_order":["1399330176","1399330178","1399330179","1399330180","1399330181","1399330184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/160f1dcbb1ffa09cc01fadce17b1981b.jpg","text":"TemporaryFile(/tmp/multipartBody646274648512163265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691782839,"filename":"image_14122025_06_50_44_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c6d3e5d1720acd7deefadfb6bb5697e.jpg","text":"TemporaryFile(/tmp/multipartBody4499780484172141742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691782839,"filename":"image_14122025_06_50_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/12/14/350e510f62c052dd63638fdf092258a4.jpg","text":"TemporaryFile(/tmp/multipartBody2605845531552763781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691782839,"filename":"image_14122025_06_51_04_10871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3ca179914c0e53e45a340edb4358b5c7.jpg","text":"TemporaryFile(/tmp/multipartBody8570852365474334548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691782839,"filename":"image_14122025_06_51_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a038f5e2c175b60c17b2eea4f5569ca3.jpg","text":"TemporaryFile(/tmp/multipartBody2683631771888005143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691782839,"filename":"image_14122025_06_50_24_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/470f25c845ffba6e868bc8086abeb7e5.jpg","text":"TemporaryFile(/tmp/multipartBody7057768780934330831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691782839,"filename":"image_14122025_06_50_53_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399330179","file1":"1399330178","file0":"1399330176","file4":"1399330181","file5":"1399330184","file3":"1399330180"},"map_files_photo_id_array":[{"photo_id":"1399330184","filename":"file5"},{"photo_id":"1399330179","filename":"file2"},{"photo_id":"1399330181","filename":"file4"},{"photo_id":"1399330178","filename":"file1"},{"photo_id":"1399330176","filename":"file0"},{"photo_id":"1399330180","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399330179":["hashtag1","hashtag2"]},{"1399330176":["hashtag1","hashtag2"]},{"1399330181":["hashtag1","hashtag2"]},{"1399330184":["hashtag1","hashtag2"]},{"1399330178":["hashtag1","hashtag2"]},{"1399330180":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399330179, 1399330176, 1399330181, 1399330184, 1399330178, 1399330180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54902195930481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:56:03.060002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/51/image_14122025_06_51_24_9604.jpg', '/home/pi/Desktop/images/14122025/06/51/image_14122025_06_51_34_10635.jpg', '/home/pi/Desktop/images/14122025/06/51/image_14122025_06_52_03_9793.jpg', '/home/pi/Desktop/images/14122025/06/52/image_14122025_06_52_14_10591.jpg', '/home/pi/Desktop/images/14122025/06/52/image_14122025_06_52_24_9619.jpg', '/home/pi/Desktop/images/14122025/06/52/image_14122025_06_52_34_10555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/51/image_14122025_06_51_24_9604.jpg
/home/pi/Desktop/images/14122025/06/51/image_14122025_06_51_34_10635.jpg
/home/pi/Desktop/images/14122025/06/51/image_14122025_06_52_03_9793.jpg
/home/pi/Desktop/images/14122025/06/52/image_14122025_06_52_14_10591.jpg
/home/pi/Desktop/images/14122025/06/52/image_14122025_06_52_24_9619.jpg
/home/pi/Desktop/images/14122025/06/52/image_14122025_06_52_34_10555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399330194","1399330193","1399330196","1399330190","1399330192","1399330195"],"photo_ids_order":["1399330190","1399330192","1399330193","1399330194","1399330195","1399330196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2e86a3e135a10e3c0f7cfc8ae2cff9f5.jpg","text":"TemporaryFile(/tmp/multipartBody3382219445824725277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691823719,"filename":"image_14122025_06_52_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/12/14/16a797c5ce96c2b903f5695a7b1b5534.jpg","text":"TemporaryFile(/tmp/multipartBody1519164674588206665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691823719,"filename":"image_14122025_06_52_03_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/808dd90fee735aa83902b81bf7290524.jpg","text":"TemporaryFile(/tmp/multipartBody8058029811476357339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691823719,"filename":"image_14122025_06_52_34_10555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a085dc140f36d131749bbad9926f5cc1.jpg","text":"TemporaryFile(/tmp/multipartBody457317272550104534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691823719,"filename":"image_14122025_06_51_24_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/59f0a7f13f07b8a6151dc580e9cbbe6e.jpg","text":"TemporaryFile(/tmp/multipartBody4995396003491895988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691823719,"filename":"image_14122025_06_51_34_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f8060fca339a17147b618b2a92ff03cf.jpg","text":"TemporaryFile(/tmp/multipartBody3275438561737961359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691823719,"filename":"image_14122025_06_52_24_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399330193","file1":"1399330192","file0":"1399330190","file4":"1399330195","file5":"1399330196","file3":"1399330194"},"map_files_photo_id_array":[{"photo_id":"1399330196","filename":"file5"},{"photo_id":"1399330193","filename":"file2"},{"photo_id":"1399330195","filename":"file4"},{"photo_id":"1399330192","filename":"file1"},{"photo_id":"1399330190","filename":"file0"},{"photo_id":"1399330194","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399330194":["hashtag1","hashtag2"]},{"1399330193":["hashtag1","hashtag2"]},{"1399330196":["hashtag1","hashtag2"]},{"1399330190":["hashtag1","hashtag2"]},{"1399330192":["hashtag1","hashtag2"]},{"1399330195":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399330194, 1399330193, 1399330196, 1399330190, 1399330192, 1399330195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.833123445510864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:56:42.452657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_47_1797.jpg', '/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_49_1597.jpg', '/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_51_1654.jpg', '/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_52_1668.jpg', '/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_54_1608.jpg', '/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_56_1717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_47_1797.jpg
/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_49_1597.jpg
/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_51_1654.jpg
/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_52_1668.jpg
/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_54_1608.jpg
/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_56_1717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399330215","1399330209","1399330218","1399330203","1399330211","1399330213"],"photo_ids_order":["1399330203","1399330209","1399330211","1399330213","1399330215","1399330218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/04f3df5028d2d4eeed058daf868a6a72.jpg","text":"TemporaryFile(/tmp/multipartBody5604428786143352359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691863201,"filename":"image_04112025_12_00_54_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a0c405ddc0dabb214b634bec7b83d49.jpg","text":"TemporaryFile(/tmp/multipartBody8846678884031774626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691863201,"filename":"image_04112025_12_00_49_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/227fb5f74c9eff6cc0be3948257906ad.jpg","text":"TemporaryFile(/tmp/multipartBody6388488106559422455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691863201,"filename":"image_04112025_12_00_56_1717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/78108ce9315999abecde790acc75ecab.jpg","text":"TemporaryFile(/tmp/multipartBody5924898654487408403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691863201,"filename":"image_04112025_12_00_47_1797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1592f56d3dccdb55920f336d561ada6a.jpg","text":"TemporaryFile(/tmp/multipartBody122523328747551412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691863201,"filename":"image_04112025_12_00_51_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a18dba5b20a0137deaf2dbc4eb968c2d.jpg","text":"TemporaryFile(/tmp/multipartBody3450309621490062002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691863201,"filename":"image_04112025_12_00_52_1668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399330211","file1":"1399330209","file0":"1399330203","file4":"1399330215","file5":"1399330218","file3":"1399330213"},"map_files_photo_id_array":[{"photo_id":"1399330218","filename":"file5"},{"photo_id":"1399330211","filename":"file2"},{"photo_id":"1399330215","filename":"file4"},{"photo_id":"1399330209","filename":"file1"},{"photo_id":"1399330203","filename":"file0"},{"photo_id":"1399330213","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399330215":["hashtag1","hashtag2"]},{"1399330209":["hashtag1","hashtag2"]},{"1399330218":["hashtag1","hashtag2"]},{"1399330203":["hashtag1","hashtag2"]},{"1399330211":["hashtag1","hashtag2"]},{"1399330213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399330215, 1399330209, 1399330218, 1399330203, 1399330211, 1399330213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82233023643494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 06:57:22.709865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/52/image_14122025_06_52_44_9681.jpg', '/home/pi/Desktop/images/14122025/06/52/image_14122025_06_52_53_9690.jpg', '/home/pi/Desktop/images/14122025/06/52/image_14122025_06_53_04_10739.jpg', '/home/pi/Desktop/images/14122025/06/53/image_14122025_06_53_14_9717.jpg', '/home/pi/Desktop/images/14122025/06/53/image_14122025_06_53_24_9737.jpg', '/home/pi/Desktop/images/14122025/06/53/image_14122025_06_53_33_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/52/image_14122025_06_52_44_9681.jpg
/home/pi/Desktop/images/14122025/06/52/image_14122025_06_52_53_9690.jpg
/home/pi/Desktop/images/14122025/06/52/image_14122025_06_53_04_10739.jpg
/home/pi/Desktop/images/14122025/06/53/image_14122025_06_53_14_9717.jpg
/home/pi/Desktop/images/14122025/06/53/image_14122025_06_53_24_9737.jpg
/home/pi/Desktop/images/14122025/06/53/image_14122025_06_53_33_9679.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5339293479919434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 06:57:32.666971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:57:42.686209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_57_1625.jpg', '/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_59_1619.jpg', '/home/pi/Desktop/images/04112025/12/01/image_04112025_12_01_11_12027.jpg', '/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_07_3011.jpg', '/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_10_3527.jpg', '/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_13_2915.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_57_1625.jpg
/home/pi/Desktop/images/04112025/12/00/image_04112025_12_00_59_1619.jpg
/home/pi/Desktop/images/04112025/12/01/image_04112025_12_01_11_12027.jpg
/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_07_3011.jpg
/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_10_3527.jpg
/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_13_2915.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399330233","1399330232","1399330235","1399330229","1399330231","1399330234"],"photo_ids_order":["1399330229","1399330231","1399330232","1399330233","1399330234","1399330235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b3e45d0aeb1adbc7bef20c03ca5800a.jpg","text":"TemporaryFile(/tmp/multipartBody7771967639219992696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691923389,"filename":"image_04112025_12_03_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/74c663c37a8b3f5bf8714144fd0b3366.jpg","text":"TemporaryFile(/tmp/multipartBody2882138598324167731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691923389,"filename":"image_04112025_12_01_11_12027.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f236ef9c6ddb57c62ae112f057b42540.jpg","text":"TemporaryFile(/tmp/multipartBody3669894950449431452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691923389,"filename":"image_04112025_12_03_13_2915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a9b610e3f5f7af96393182a14d6f44c.jpg","text":"TemporaryFile(/tmp/multipartBody2479095309196934033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691923389,"filename":"image_04112025_12_00_57_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f5259ce7f6298691b2cdad97a21a98c.jpg","text":"TemporaryFile(/tmp/multipartBody8254621154657220618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691923389,"filename":"image_04112025_12_00_59_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fffdf2fc83bda10fe43f2317f7989570.jpg","text":"TemporaryFile(/tmp/multipartBody7938771669350436759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765691923389,"filename":"image_04112025_12_03_10_3527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399330232","file1":"1399330231","file0":"1399330229","file4":"1399330234","file5":"1399330235","file3":"1399330233"},"map_files_photo_id_array":[{"photo_id":"1399330235","filename":"file5"},{"photo_id":"1399330232","filename":"file2"},{"photo_id":"1399330234","filename":"file4"},{"photo_id":"1399330231","filename":"file1"},{"photo_id":"1399330229","filename":"file0"},{"photo_id":"1399330233","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399330233":["hashtag1","hashtag2"]},{"1399330232":["hashtag1","hashtag2"]},{"1399330235":["hashtag1","hashtag2"]},{"1399330229":["hashtag1","hashtag2"]},{"1399330231":["hashtag1","hashtag2"]},{"1399330234":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399330233, 1399330232, 1399330235, 1399330229, 1399330231, 1399330234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94832992553711 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 06:59:03.139368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/52/image_14122025_06_52_44_9681.jpg', '/home/pi/Desktop/images/14122025/06/52/image_14122025_06_52_53_9690.jpg', '/home/pi/Desktop/images/14122025/06/52/image_14122025_06_53_04_10739.jpg', '/home/pi/Desktop/images/14122025/06/53/image_14122025_06_53_14_9717.jpg', '/home/pi/Desktop/images/14122025/06/53/image_14122025_06_53_24_9737.jpg', '/home/pi/Desktop/images/14122025/06/53/image_14122025_06_53_33_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/52/image_14122025_06_52_44_9681.jpg
/home/pi/Desktop/images/14122025/06/52/image_14122025_06_52_53_9690.jpg
/home/pi/Desktop/images/14122025/06/52/image_14122025_06_53_04_10739.jpg
/home/pi/Desktop/images/14122025/06/53/image_14122025_06_53_14_9717.jpg
/home/pi/Desktop/images/14122025/06/53/image_14122025_06_53_24_9737.jpg
/home/pi/Desktop/images/14122025/06/53/image_14122025_06_53_33_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399330245","1399330236","1399330238","1399330247","1399330241","1399330243"],"photo_ids_order":["1399330236","1399330238","1399330241","1399330243","1399330245","1399330247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6a6c234e066aa286401e0ed0667da3c.jpg","text":"TemporaryFile(/tmp/multipartBody3934577085608559922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692003960,"filename":"image_14122025_06_53_24_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/80c9c1ea7e4b21e5f138d82ef8addfe9.jpg","text":"TemporaryFile(/tmp/multipartBody9030062837990971010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692003960,"filename":"image_14122025_06_52_44_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/42c68899ddebba49a6b226f5987b2a78.jpg","text":"TemporaryFile(/tmp/multipartBody489438300969882971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692003960,"filename":"image_14122025_06_52_53_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f474e07ab335150dae066c7da67b22e.jpg","text":"TemporaryFile(/tmp/multipartBody2313111952251920473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692003960,"filename":"image_14122025_06_53_33_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f7e418dc2851c123643d471ced44e8b0.jpg","text":"TemporaryFile(/tmp/multipartBody1043048982473398949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692003960,"filename":"image_14122025_06_53_04_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/644d6abec9c9f2da37bd46bc282399c6.jpg","text":"TemporaryFile(/tmp/multipartBody4938556881873002894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692003960,"filename":"image_14122025_06_53_14_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399330241","file1":"1399330238","file0":"1399330236","file4":"1399330245","file5":"1399330247","file3":"1399330243"},"map_files_photo_id_array":[{"photo_id":"1399330247","filename":"file5"},{"photo_id":"1399330241","filename":"file2"},{"photo_id":"1399330245","filename":"file4"},{"photo_id":"1399330238","filename":"file1"},{"photo_id":"1399330236","filename":"file0"},{"photo_id":"1399330243","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399330245":["hashtag1","hashtag2"]},{"1399330236":["hashtag1","hashtag2"]},{"1399330238":["hashtag1","hashtag2"]},{"1399330247":["hashtag1","hashtag2"]},{"1399330241":["hashtag1","hashtag2"]},{"1399330243":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399330245, 1399330236, 1399330238, 1399330247, 1399330241, 1399330243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.240806102752686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 06:59:42.142247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_16_2659.jpg', '/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_20_3857.jpg', '/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_23_2669.jpg', '/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_25_2792.jpg', '/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_28_2798.jpg', '/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_32_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_16_2659.jpg
/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_20_3857.jpg
/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_23_2669.jpg
/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_25_2792.jpg
/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_28_2798.jpg
/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_32_3615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399330251","1399330257","1399330259","1399330261","1399330255","1399330258"],"photo_ids_order":["1399330251","1399330255","1399330257","1399330258","1399330259","1399330261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3bfa2a5505999d48486b55840162323.jpg","text":"TemporaryFile(/tmp/multipartBody1239425999816440803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692042787,"filename":"image_04112025_12_03_16_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/524fb059ab66205edb7c1fa0c0f4b613.jpg","text":"TemporaryFile(/tmp/multipartBody7390831405567230937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692042787,"filename":"image_04112025_12_03_23_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9db6bfa49fdb40053910645483718632.jpg","text":"TemporaryFile(/tmp/multipartBody1100387660366872793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692042787,"filename":"image_04112025_12_03_28_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a9ab0e16801811dbe66c2ddd88dfba2b.jpg","text":"TemporaryFile(/tmp/multipartBody691585926141148561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692042787,"filename":"image_04112025_12_03_32_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ac656356bfc1e1f23bbeae88b460c48a.jpg","text":"TemporaryFile(/tmp/multipartBody5859889497638716525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692042787,"filename":"image_04112025_12_03_20_3857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c82a0aaf9ee45f23443623c2a6968982.jpg","text":"TemporaryFile(/tmp/multipartBody5746543111791235658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692042787,"filename":"image_04112025_12_03_25_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399330257","file1":"1399330255","file0":"1399330251","file4":"1399330259","file5":"1399330261","file3":"1399330258"},"map_files_photo_id_array":[{"photo_id":"1399330261","filename":"file5"},{"photo_id":"1399330257","filename":"file2"},{"photo_id":"1399330259","filename":"file4"},{"photo_id":"1399330255","filename":"file1"},{"photo_id":"1399330251","filename":"file0"},{"photo_id":"1399330258","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399330251":["hashtag1","hashtag2"]},{"1399330257":["hashtag1","hashtag2"]},{"1399330259":["hashtag1","hashtag2"]},{"1399330261":["hashtag1","hashtag2"]},{"1399330255":["hashtag1","hashtag2"]},{"1399330258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399330251, 1399330257, 1399330259, 1399330261, 1399330255, 1399330258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01828742027283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:00:22.363265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/53/image_14122025_06_53_44_10889.jpg', '/home/pi/Desktop/images/14122025/06/53/image_14122025_06_54_04_9738.jpg', '/home/pi/Desktop/images/14122025/06/54/image_14122025_06_54_14_10689.jpg', '/home/pi/Desktop/images/14122025/06/54/image_14122025_06_54_24_9875.jpg', '/home/pi/Desktop/images/14122025/06/54/image_14122025_06_54_34_9649.jpg', '/home/pi/Desktop/images/14122025/06/54/image_14122025_06_54_43_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/53/image_14122025_06_53_44_10889.jpg
/home/pi/Desktop/images/14122025/06/53/image_14122025_06_54_04_9738.jpg
/home/pi/Desktop/images/14122025/06/54/image_14122025_06_54_14_10689.jpg
/home/pi/Desktop/images/14122025/06/54/image_14122025_06_54_24_9875.jpg
/home/pi/Desktop/images/14122025/06/54/image_14122025_06_54_34_9649.jpg
/home/pi/Desktop/images/14122025/06/54/image_14122025_06_54_43_9661.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5344092845916748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 07:00:32.533041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:00:42.496579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_34_2698.jpg', '/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_38_3838.jpg', '/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_44_5552.jpg', '/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_58_14526.jpg', '/home/pi/Desktop/images/04112025/12/03/image_04112025_12_04_00_1613.jpg', '/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_02_1697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_34_2698.jpg
/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_38_3838.jpg
/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_44_5552.jpg
/home/pi/Desktop/images/04112025/12/03/image_04112025_12_03_58_14526.jpg
/home/pi/Desktop/images/04112025/12/03/image_04112025_12_04_00_1613.jpg
/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_02_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":["1399330689","1399330725","1399330598","1399330763","1399330645","1399330549"],"photo_ids_order":["1399330549","1399330598","1399330645","1399330689","1399330725","1399330763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f714b76cb4573fee6c041aefc320a0a1.jpg","text":"TemporaryFile(/tmp/multipartBody7745350869749288377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692103169,"filename":"image_04112025_12_03_58_14526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14f37cec3fba8738c87983fe5fe17997.jpg","text":"TemporaryFile(/tmp/multipartBody7597454773611334179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692103169,"filename":"image_04112025_12_04_00_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7748ce74ef3853df3f9fef646d0ad1e1.jpg","text":"TemporaryFile(/tmp/multipartBody5628573786018727003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692103169,"filename":"image_04112025_12_03_38_3838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14b7d0d43e6168e2442f5e3b28635c83.jpg","text":"TemporaryFile(/tmp/multipartBody3067845867346616182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692103169,"filename":"image_04112025_12_04_02_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c7d1e0134cfce9435218f2905889589f.jpg","text":"TemporaryFile(/tmp/multipartBody7296074152400098206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692103169,"filename":"image_04112025_12_03_44_5552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c088ebc5b9ba7a297872ed0969da6bf.jpg","text":"TemporaryFile(/tmp/multipartBody1184393033466567090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692103169,"filename":"image_04112025_12_03_34_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399330645","file1":"1399330598","file0":"1399330549","file4":"1399330725","file5":"1399330763","file3":"1399330689"},"map_files_photo_id_array":[{"photo_id":"1399330763","filename":"file5"},{"photo_id":"1399330645","filename":"file2"},{"photo_id":"1399330725","filename":"file4"},{"photo_id":"1399330598","filename":"file1"},{"photo_id":"1399330549","filename":"file0"},{"photo_id":"1399330689","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399330689":["hashtag1","hashtag2"]},{"1399330725":["hashtag1","hashtag2"]},{"1399330598":["hashtag1","hashtag2"]},{"1399330763":["hashtag1","hashtag2"]},{"1399330645":["hashtag1","hashtag2"]},{"1399330549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399330689, 1399330725, 1399330598, 1399330763, 1399330645, 1399330549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7871630191803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:01:22.715730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/53/image_14122025_06_53_44_10889.jpg', '/home/pi/Desktop/images/14122025/06/53/image_14122025_06_54_04_9738.jpg', '/home/pi/Desktop/images/14122025/06/54/image_14122025_06_54_14_10689.jpg', '/home/pi/Desktop/images/14122025/06/54/image_14122025_06_54_24_9875.jpg', '/home/pi/Desktop/images/14122025/06/54/image_14122025_06_54_34_9649.jpg', '/home/pi/Desktop/images/14122025/06/54/image_14122025_06_54_43_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/53/image_14122025_06_53_44_10889.jpg
/home/pi/Desktop/images/14122025/06/53/image_14122025_06_54_04_9738.jpg
/home/pi/Desktop/images/14122025/06/54/image_14122025_06_54_14_10689.jpg
/home/pi/Desktop/images/14122025/06/54/image_14122025_06_54_24_9875.jpg
/home/pi/Desktop/images/14122025/06/54/image_14122025_06_54_34_9649.jpg
/home/pi/Desktop/images/14122025/06/54/image_14122025_06_54_43_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":["1399331055","1399331357","1399331132","1399331201","1399331275","1399330975"],"photo_ids_order":["1399330975","1399331055","1399331132","1399331201","1399331275","1399331357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63de37c702b989b6e24f7ae1ac13c3da.jpg","text":"TemporaryFile(/tmp/multipartBody6918872823721714594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692143352,"filename":"image_14122025_06_54_04_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3ce0182d9a3be0454137bf1e3c9f3781.jpg","text":"TemporaryFile(/tmp/multipartBody6995648660280676064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692143352,"filename":"image_14122025_06_54_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/12/14/5d5141d6461f8b0df11530e733870e0e.jpg","text":"TemporaryFile(/tmp/multipartBody8288005987168643416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692143352,"filename":"image_14122025_06_54_14_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b8d473d0460bb5bcc6457bf78b4d57b.jpg","text":"TemporaryFile(/tmp/multipartBody6642325697870648790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692143352,"filename":"image_14122025_06_54_24_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d14da4324516d05bb4bd41d120bbb4d1.jpg","text":"TemporaryFile(/tmp/multipartBody3909655134585825222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692143352,"filename":"image_14122025_06_54_34_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/733512f3bac65a05a38bb3e40c250440.jpg","text":"TemporaryFile(/tmp/multipartBody8914609768468178519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692143352,"filename":"image_14122025_06_53_44_10889.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399331132","file1":"1399331055","file0":"1399330975","file4":"1399331275","file5":"1399331357","file3":"1399331201"},"map_files_photo_id_array":[{"photo_id":"1399331357","filename":"file5"},{"photo_id":"1399331132","filename":"file2"},{"photo_id":"1399331275","filename":"file4"},{"photo_id":"1399331055","filename":"file1"},{"photo_id":"1399330975","filename":"file0"},{"photo_id":"1399331201","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399331055":["hashtag1","hashtag2"]},{"1399331357":["hashtag1","hashtag2"]},{"1399331132":["hashtag1","hashtag2"]},{"1399331201":["hashtag1","hashtag2"]},{"1399331275":["hashtag1","hashtag2"]},{"1399330975":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399331055, 1399331357, 1399331132, 1399331201, 1399331275, 1399330975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91003751754761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:02:02.469420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/54/image_14122025_06_54_54_10663.jpg', '/home/pi/Desktop/images/14122025/06/54/image_14122025_06_55_04_9809.jpg', '/home/pi/Desktop/images/14122025/06/55/image_14122025_06_55_14_9716.jpg', '/home/pi/Desktop/images/14122025/06/55/image_14122025_06_56_04_10714.jpg', '/home/pi/Desktop/images/14122025/06/56/image_14122025_06_56_14_9613.jpg', '/home/pi/Desktop/images/14122025/06/56/image_14122025_06_56_23_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/54/image_14122025_06_54_54_10663.jpg
/home/pi/Desktop/images/14122025/06/54/image_14122025_06_55_04_9809.jpg
/home/pi/Desktop/images/14122025/06/55/image_14122025_06_55_14_9716.jpg
/home/pi/Desktop/images/14122025/06/55/image_14122025_06_56_04_10714.jpg
/home/pi/Desktop/images/14122025/06/56/image_14122025_06_56_14_9613.jpg
/home/pi/Desktop/images/14122025/06/56/image_14122025_06_56_23_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":["1399331792","1399331718","1399331645","1399331590","1399331510","1399331551"],"photo_ids_order":["1399331510","1399331551","1399331590","1399331645","1399331718","1399331792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/223c6af73d4090aefb11a015b016edb7.jpg","text":"TemporaryFile(/tmp/multipartBody7298605311710691033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692183134,"filename":"image_14122025_06_56_23_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a09690f1dff07299d3f84b840e938a5.jpg","text":"TemporaryFile(/tmp/multipartBody9087364093437460762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692183134,"filename":"image_14122025_06_56_14_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/724fed06e97220b6818d47305a39c916.jpg","text":"TemporaryFile(/tmp/multipartBody3323884448585984471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692183134,"filename":"image_14122025_06_56_04_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ff50837b610aaf0d83ec89b94bbf637.jpg","text":"TemporaryFile(/tmp/multipartBody5713953839410905091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692183134,"filename":"image_14122025_06_55_14_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/41977a03fa48005e6f6efecdaa615720.jpg","text":"TemporaryFile(/tmp/multipartBody1782393195203691745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692183134,"filename":"image_14122025_06_54_54_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0e6564b9ecc95b3ec205d860d568d1e4.jpg","text":"TemporaryFile(/tmp/multipartBody6224436834159892169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692183134,"filename":"image_14122025_06_55_04_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399331590","file1":"1399331551","file0":"1399331510","file4":"1399331718","file5":"1399331792","file3":"1399331645"},"map_files_photo_id_array":[{"photo_id":"1399331792","filename":"file5"},{"photo_id":"1399331590","filename":"file2"},{"photo_id":"1399331718","filename":"file4"},{"photo_id":"1399331551","filename":"file1"},{"photo_id":"1399331510","filename":"file0"},{"photo_id":"1399331645","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399331792":["hashtag1","hashtag2"]},{"1399331718":["hashtag1","hashtag2"]},{"1399331645":["hashtag1","hashtag2"]},{"1399331590":["hashtag1","hashtag2"]},{"1399331510":["hashtag1","hashtag2"]},{"1399331551":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399331792, 1399331718, 1399331645, 1399331590, 1399331510, 1399331551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9543342590332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:02:41.896918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_03_1679.jpg', '/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_05_1638.jpg', '/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_07_1725.jpg', '/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_09_1920.jpg', '/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_10_1756.jpg', '/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_12_1762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_03_1679.jpg
/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_05_1638.jpg
/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_07_1725.jpg
/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_09_1920.jpg
/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_10_1756.jpg
/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_12_1762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399332299","1399332257","1399332337","1399332127","1399332049","1399332214"],"photo_ids_order":["1399332049","1399332127","1399332214","1399332257","1399332299","1399332337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/efbc1bb565342b9c4bbe4b98597f00c4.jpg","text":"TemporaryFile(/tmp/multipartBody6793560936461277208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692222566,"filename":"image_04112025_12_04_10_1756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/39d6415ab29c608b843c7e42a01d22a7.jpg","text":"TemporaryFile(/tmp/multipartBody454652471197734151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692222566,"filename":"image_04112025_12_04_09_1920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/67463b9fcaddf3c9a685ec85f61010a6.jpg","text":"TemporaryFile(/tmp/multipartBody3705997352314855020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692222566,"filename":"image_04112025_12_04_12_1762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a7a273957e664e7d7973bcdc6a49409.jpg","text":"TemporaryFile(/tmp/multipartBody4091518325754072838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692222566,"filename":"image_04112025_12_04_05_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dab4428a6d8dea7b3cf9d5e133c002a2.jpg","text":"TemporaryFile(/tmp/multipartBody21823993826875917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692222566,"filename":"image_04112025_12_04_03_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/105158074469b47f432af70eba4ef79f.jpg","text":"TemporaryFile(/tmp/multipartBody9101282838282470895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692222566,"filename":"image_04112025_12_04_07_1725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399332214","file1":"1399332127","file0":"1399332049","file4":"1399332299","file5":"1399332337","file3":"1399332257"},"map_files_photo_id_array":[{"photo_id":"1399332337","filename":"file5"},{"photo_id":"1399332214","filename":"file2"},{"photo_id":"1399332299","filename":"file4"},{"photo_id":"1399332127","filename":"file1"},{"photo_id":"1399332049","filename":"file0"},{"photo_id":"1399332257","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399332299":["hashtag1","hashtag2"]},{"1399332257":["hashtag1","hashtag2"]},{"1399332337":["hashtag1","hashtag2"]},{"1399332127":["hashtag1","hashtag2"]},{"1399332049":["hashtag1","hashtag2"]},{"1399332214":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399332299, 1399332257, 1399332337, 1399332127, 1399332049, 1399332214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.852675437927246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:03:22.102780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/56/image_14122025_06_56_34_10719.jpg', '/home/pi/Desktop/images/14122025/06/56/image_14122025_06_56_44_9716.jpg', '/home/pi/Desktop/images/14122025/06/56/image_14122025_06_56_54_9790.jpg', '/home/pi/Desktop/images/14122025/06/56/image_14122025_06_57_03_9682.jpg', '/home/pi/Desktop/images/14122025/06/57/image_14122025_06_57_24_9625.jpg', '/home/pi/Desktop/images/14122025/06/57/image_14122025_06_57_33_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/56/image_14122025_06_56_34_10719.jpg
/home/pi/Desktop/images/14122025/06/56/image_14122025_06_56_44_9716.jpg
/home/pi/Desktop/images/14122025/06/56/image_14122025_06_56_54_9790.jpg
/home/pi/Desktop/images/14122025/06/56/image_14122025_06_57_03_9682.jpg
/home/pi/Desktop/images/14122025/06/57/image_14122025_06_57_24_9625.jpg
/home/pi/Desktop/images/14122025/06/57/image_14122025_06_57_33_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399332734","1399332472","1399332661","1399332591","1399332528","1399332494"],"photo_ids_order":["1399332472","1399332494","1399332528","1399332591","1399332661","1399332734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/65285d20aedeaa6f8c1af3e86a259bb4.jpg","text":"TemporaryFile(/tmp/multipartBody8607833037623360019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692262744,"filename":"image_14122025_06_57_33_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9593a70f9138c867ab7ed6a1124980b8.jpg","text":"TemporaryFile(/tmp/multipartBody4072831022831975458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692262744,"filename":"image_14122025_06_56_34_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cbd1066b80f0190a89ee04822312a15a.jpg","text":"TemporaryFile(/tmp/multipartBody4730616863712152444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692262744,"filename":"image_14122025_06_57_24_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/970de719c209f59a859afe29913c3ac5.jpg","text":"TemporaryFile(/tmp/multipartBody8906887012094334097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692262744,"filename":"image_14122025_06_57_03_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56bc018dcec8075cad456c8e976a6ed3.jpg","text":"TemporaryFile(/tmp/multipartBody1208056342398018776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692262744,"filename":"image_14122025_06_56_54_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/082a66c9d7a55e89d0e3b8ff100a5004.jpg","text":"TemporaryFile(/tmp/multipartBody965015871937372556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692262744,"filename":"image_14122025_06_56_44_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399332528","file1":"1399332494","file0":"1399332472","file4":"1399332661","file5":"1399332734","file3":"1399332591"},"map_files_photo_id_array":[{"photo_id":"1399332734","filename":"file5"},{"photo_id":"1399332528","filename":"file2"},{"photo_id":"1399332661","filename":"file4"},{"photo_id":"1399332494","filename":"file1"},{"photo_id":"1399332472","filename":"file0"},{"photo_id":"1399332591","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399332734":["hashtag1","hashtag2"]},{"1399332472":["hashtag1","hashtag2"]},{"1399332661":["hashtag1","hashtag2"]},{"1399332591":["hashtag1","hashtag2"]},{"1399332528":["hashtag1","hashtag2"]},{"1399332494":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399332734, 1399332472, 1399332661, 1399332591, 1399332528, 1399332494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.419069051742554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:04:03.218206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/57/image_14122025_06_57_44_10679.jpg', '/home/pi/Desktop/images/14122025/06/57/image_14122025_06_58_03_9678.jpg', '/home/pi/Desktop/images/14122025/06/58/image_14122025_06_58_14_10896.jpg', '/home/pi/Desktop/images/14122025/06/58/image_14122025_06_58_24_9708.jpg', '/home/pi/Desktop/images/14122025/06/58/image_14122025_06_58_43_9780.jpg', '/home/pi/Desktop/images/14122025/06/58/image_14122025_06_58_53_9932.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/57/image_14122025_06_57_44_10679.jpg
/home/pi/Desktop/images/14122025/06/57/image_14122025_06_58_03_9678.jpg
/home/pi/Desktop/images/14122025/06/58/image_14122025_06_58_14_10896.jpg
/home/pi/Desktop/images/14122025/06/58/image_14122025_06_58_24_9708.jpg
/home/pi/Desktop/images/14122025/06/58/image_14122025_06_58_43_9780.jpg
/home/pi/Desktop/images/14122025/06/58/image_14122025_06_58_53_9932.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399333253","1399333115","1399333180","1399333321","1399333398","1399333073"],"photo_ids_order":["1399333073","1399333115","1399333180","1399333253","1399333321","1399333398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f2e3a4289fff5bab554df2785ce5cabf.jpg","text":"TemporaryFile(/tmp/multipartBody2271276741743617324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692303911,"filename":"image_14122025_06_58_24_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2c3093fc637f1f39684df798cf7ed02e.jpg","text":"TemporaryFile(/tmp/multipartBody2620941635642564983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692303911,"filename":"image_14122025_06_58_03_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b0f1dc0792db92f37447cec9cdabb843.jpg","text":"TemporaryFile(/tmp/multipartBody8024550780064560550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692303911,"filename":"image_14122025_06_58_14_10896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/879e4c967472ae99ecb2c30988e6f790.jpg","text":"TemporaryFile(/tmp/multipartBody413824077683362034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692303911,"filename":"image_14122025_06_58_43_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/61570b04adb3e980e09ca90f1adaa01a.jpg","text":"TemporaryFile(/tmp/multipartBody97479285972499354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692303911,"filename":"image_14122025_06_58_53_9932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/445d2f14fdceb9e66ce5ba831a7dc8d3.jpg","text":"TemporaryFile(/tmp/multipartBody765658838283356285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692303911,"filename":"image_14122025_06_57_44_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399333180","file1":"1399333115","file0":"1399333073","file4":"1399333321","file5":"1399333398","file3":"1399333253"},"map_files_photo_id_array":[{"photo_id":"1399333398","filename":"file5"},{"photo_id":"1399333180","filename":"file2"},{"photo_id":"1399333321","filename":"file4"},{"photo_id":"1399333115","filename":"file1"},{"photo_id":"1399333073","filename":"file0"},{"photo_id":"1399333253","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399333253":["hashtag1","hashtag2"]},{"1399333115":["hashtag1","hashtag2"]},{"1399333180":["hashtag1","hashtag2"]},{"1399333321":["hashtag1","hashtag2"]},{"1399333398":["hashtag1","hashtag2"]},{"1399333073":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399333253, 1399333115, 1399333180, 1399333321, 1399333398, 1399333073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.521931648254395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:04:42.467104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_14_1828.jpg', '/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_16_1620.jpg', '/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_17_1756.jpg', '/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_21_3723.jpg', '/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_23_2129.jpg', '/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_26_2404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_14_1828.jpg
/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_16_1620.jpg
/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_17_1756.jpg
/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_21_3723.jpg
/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_23_2129.jpg
/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_26_2404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399333699","1399333884","1399333920","1399333775","1399333976","1399333844"],"photo_ids_order":["1399333699","1399333775","1399333844","1399333884","1399333920","1399333976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/87faa8555e15cc7e928cb9aa24e8b206.jpg","text":"TemporaryFile(/tmp/multipartBody3066623474619892200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692343144,"filename":"image_04112025_12_04_14_1828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb148282166293873512a5e5a2ba923d.jpg","text":"TemporaryFile(/tmp/multipartBody2147800991316570424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692343144,"filename":"image_04112025_12_04_21_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f9068dda8a4b8fbdcb09e57ca589610.jpg","text":"TemporaryFile(/tmp/multipartBody697371551055714170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692343144,"filename":"image_04112025_12_04_23_2129.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9539adb7a6f0002ae996b6c7166b5c84.jpg","text":"TemporaryFile(/tmp/multipartBody3012096032192306406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692343144,"filename":"image_04112025_12_04_16_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/30ee1b9c3f76b4c191ec5edd096c3586.jpg","text":"TemporaryFile(/tmp/multipartBody5803718875383526918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692343144,"filename":"image_04112025_12_04_26_2404.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/edefb6176b3f1ea4fa69f755b3a37d40.jpg","text":"TemporaryFile(/tmp/multipartBody2495841855024547449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692343144,"filename":"image_04112025_12_04_17_1756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399333844","file1":"1399333775","file0":"1399333699","file4":"1399333920","file5":"1399333976","file3":"1399333884"},"map_files_photo_id_array":[{"photo_id":"1399333976","filename":"file5"},{"photo_id":"1399333844","filename":"file2"},{"photo_id":"1399333920","filename":"file4"},{"photo_id":"1399333775","filename":"file1"},{"photo_id":"1399333699","filename":"file0"},{"photo_id":"1399333884","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399333699":["hashtag1","hashtag2"]},{"1399333884":["hashtag1","hashtag2"]},{"1399333920":["hashtag1","hashtag2"]},{"1399333775":["hashtag1","hashtag2"]},{"1399333976":["hashtag1","hashtag2"]},{"1399333844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399333699, 1399333884, 1399333920, 1399333775, 1399333976, 1399333844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16247367858887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:05:22.716879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/58/image_14122025_06_59_04_10693.jpg', '/home/pi/Desktop/images/14122025/06/59/image_14122025_06_59_24_9698.jpg', '/home/pi/Desktop/images/14122025/06/59/image_14122025_06_59_33_9814.jpg', '/home/pi/Desktop/images/14122025/06/59/image_14122025_06_59_44_10771.jpg', '/home/pi/Desktop/images/14122025/06/59/image_14122025_06_59_54_9668.jpg', '/home/pi/Desktop/images/14122025/06/59/image_14122025_07_00_04_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/58/image_14122025_06_59_04_10693.jpg
/home/pi/Desktop/images/14122025/06/59/image_14122025_06_59_24_9698.jpg
/home/pi/Desktop/images/14122025/06/59/image_14122025_06_59_33_9814.jpg
/home/pi/Desktop/images/14122025/06/59/image_14122025_06_59_44_10771.jpg
/home/pi/Desktop/images/14122025/06/59/image_14122025_06_59_54_9668.jpg
/home/pi/Desktop/images/14122025/06/59/image_14122025_07_00_04_9670.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5324845314025879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 07:05:32.716738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:05:42.825790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_29_3013.jpg', '/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_31_2858.jpg', '/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_35_3222.jpg', '/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_37_2547.jpg', '/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_40_2633.jpg', '/home/pi/Desktop/images/04112025/12/05/image_04112025_12_05_04_23968.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_29_3013.jpg
/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_31_2858.jpg
/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_35_3222.jpg
/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_37_2547.jpg
/home/pi/Desktop/images/04112025/12/04/image_04112025_12_04_40_2633.jpg
/home/pi/Desktop/images/04112025/12/05/image_04112025_12_05_04_23968.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399334292","1399334295","1399334282","1399334291","1399334294","1399334293"],"photo_ids_order":["1399334282","1399334291","1399334292","1399334293","1399334294","1399334295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f6c8d308cc7e5a990da8abefc4751af.jpg","text":"TemporaryFile(/tmp/multipartBody658776895207335287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692403527,"filename":"image_04112025_12_04_35_3222.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/801a329b2c38adb90901f0dd582aebe9.jpg","text":"TemporaryFile(/tmp/multipartBody1655407064089949173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692403527,"filename":"image_04112025_12_05_04_23968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9348e531b88e9663d4e0b2633bf9f06a.jpg","text":"TemporaryFile(/tmp/multipartBody3497559355916522975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692403527,"filename":"image_04112025_12_04_29_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8684d635a44557741ea22397d1da2fc9.jpg","text":"TemporaryFile(/tmp/multipartBody4351372298757548858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692403527,"filename":"image_04112025_12_04_31_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/30ad6054f19c00ff1b0792dfecfb3213.jpg","text":"TemporaryFile(/tmp/multipartBody360252845584786457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692403527,"filename":"image_04112025_12_04_40_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a94fd875f7aa87e2c66cedb96673140f.jpg","text":"TemporaryFile(/tmp/multipartBody8050808973402033954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692403527,"filename":"image_04112025_12_04_37_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334292","file1":"1399334291","file0":"1399334282","file4":"1399334294","file5":"1399334295","file3":"1399334293"},"map_files_photo_id_array":[{"photo_id":"1399334295","filename":"file5"},{"photo_id":"1399334292","filename":"file2"},{"photo_id":"1399334294","filename":"file4"},{"photo_id":"1399334291","filename":"file1"},{"photo_id":"1399334282","filename":"file0"},{"photo_id":"1399334293","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399334292":["hashtag1","hashtag2"]},{"1399334295":["hashtag1","hashtag2"]},{"1399334282":["hashtag1","hashtag2"]},{"1399334291":["hashtag1","hashtag2"]},{"1399334294":["hashtag1","hashtag2"]},{"1399334293":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399334292, 1399334295, 1399334282, 1399334291, 1399334294, 1399334293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80664563179016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:06:22.120234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/06/58/image_14122025_06_59_04_10693.jpg', '/home/pi/Desktop/images/14122025/06/59/image_14122025_06_59_24_9698.jpg', '/home/pi/Desktop/images/14122025/06/59/image_14122025_06_59_33_9814.jpg', '/home/pi/Desktop/images/14122025/06/59/image_14122025_06_59_44_10771.jpg', '/home/pi/Desktop/images/14122025/06/59/image_14122025_06_59_54_9668.jpg', '/home/pi/Desktop/images/14122025/06/59/image_14122025_07_00_04_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/06/58/image_14122025_06_59_04_10693.jpg
/home/pi/Desktop/images/14122025/06/59/image_14122025_06_59_24_9698.jpg
/home/pi/Desktop/images/14122025/06/59/image_14122025_06_59_33_9814.jpg
/home/pi/Desktop/images/14122025/06/59/image_14122025_06_59_44_10771.jpg
/home/pi/Desktop/images/14122025/06/59/image_14122025_06_59_54_9668.jpg
/home/pi/Desktop/images/14122025/06/59/image_14122025_07_00_04_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399334397","1399334469","1399334322","1399334433","1399334360","1399334296"],"photo_ids_order":["1399334296","1399334322","1399334360","1399334397","1399334433","1399334469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8bc62e44098a0d72e71ae07f13373fd5.jpg","text":"TemporaryFile(/tmp/multipartBody4980170895725415428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692442759,"filename":"image_14122025_06_59_44_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/04a6fe6e87e186133385fe51a52098ab.jpg","text":"TemporaryFile(/tmp/multipartBody2426819228058940997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692442759,"filename":"image_14122025_07_00_04_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f0603545c5a18445cdcd103fea08ddb7.jpg","text":"TemporaryFile(/tmp/multipartBody5912413482273048457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692442759,"filename":"image_14122025_06_59_24_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0be685f4cfc94a12726705ab5486d6aa.jpg","text":"TemporaryFile(/tmp/multipartBody7741662838425701537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692442759,"filename":"image_14122025_06_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/12/14/c6ceec8536fa7465d04aee8893b6921b.jpg","text":"TemporaryFile(/tmp/multipartBody3925660322621412148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692442759,"filename":"image_14122025_06_59_33_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b088eb561d172de239ead9f0574a105a.jpg","text":"TemporaryFile(/tmp/multipartBody6882340493547988881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692442759,"filename":"image_14122025_06_59_04_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334360","file1":"1399334322","file0":"1399334296","file4":"1399334433","file5":"1399334469","file3":"1399334397"},"map_files_photo_id_array":[{"photo_id":"1399334469","filename":"file5"},{"photo_id":"1399334360","filename":"file2"},{"photo_id":"1399334433","filename":"file4"},{"photo_id":"1399334322","filename":"file1"},{"photo_id":"1399334296","filename":"file0"},{"photo_id":"1399334397","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399334397":["hashtag1","hashtag2"]},{"1399334469":["hashtag1","hashtag2"]},{"1399334322":["hashtag1","hashtag2"]},{"1399334433":["hashtag1","hashtag2"]},{"1399334360":["hashtag1","hashtag2"]},{"1399334296":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399334397, 1399334469, 1399334322, 1399334433, 1399334360, 1399334296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20478367805481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:07:02.990230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/00/image_14122025_07_00_13_9881.jpg', '/home/pi/Desktop/images/14122025/07/00/image_14122025_07_00_24_10766.jpg', '/home/pi/Desktop/images/14122025/07/00/image_14122025_07_00_34_9692.jpg', '/home/pi/Desktop/images/14122025/07/00/image_14122025_07_00_43_9563.jpg', '/home/pi/Desktop/images/14122025/07/00/image_14122025_07_00_53_9769.jpg', '/home/pi/Desktop/images/14122025/07/01/image_14122025_07_01_14_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/00/image_14122025_07_00_13_9881.jpg
/home/pi/Desktop/images/14122025/07/00/image_14122025_07_00_24_10766.jpg
/home/pi/Desktop/images/14122025/07/00/image_14122025_07_00_34_9692.jpg
/home/pi/Desktop/images/14122025/07/00/image_14122025_07_00_43_9563.jpg
/home/pi/Desktop/images/14122025/07/00/image_14122025_07_00_53_9769.jpg
/home/pi/Desktop/images/14122025/07/01/image_14122025_07_01_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":["1399334539","1399334598","1399334602","1399334597","1399334570","1399334540"],"photo_ids_order":["1399334539","1399334540","1399334570","1399334597","1399334598","1399334602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f15c9783f4539734df44849b7f93b087.jpg","text":"TemporaryFile(/tmp/multipartBody5374456973018444900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692483717,"filename":"image_14122025_07_00_13_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b854a028807676d2b1c7a849878a5c25.jpg","text":"TemporaryFile(/tmp/multipartBody4472284764441183480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692483717,"filename":"image_14122025_07_00_53_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ed690cc8aa0743732623e3ae0fa26d9e.jpg","text":"TemporaryFile(/tmp/multipartBody4117225313151542843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692483717,"filename":"image_14122025_07_01_14_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4cccf4eb81b69eedc9b46167e846a019.jpg","text":"TemporaryFile(/tmp/multipartBody439252178788745656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692483717,"filename":"image_14122025_07_00_43_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2607e01415f6046fe0baa80e64ae9c69.jpg","text":"TemporaryFile(/tmp/multipartBody2665606106175905606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692483717,"filename":"image_14122025_07_00_34_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d3916391c5dd2b66aebefa14ce91f081.jpg","text":"TemporaryFile(/tmp/multipartBody5224897895239555859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692483717,"filename":"image_14122025_07_00_24_10766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334570","file1":"1399334540","file0":"1399334539","file4":"1399334598","file5":"1399334602","file3":"1399334597"},"map_files_photo_id_array":[{"photo_id":"1399334602","filename":"file5"},{"photo_id":"1399334570","filename":"file2"},{"photo_id":"1399334598","filename":"file4"},{"photo_id":"1399334540","filename":"file1"},{"photo_id":"1399334539","filename":"file0"},{"photo_id":"1399334597","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399334539":["hashtag1","hashtag2"]},{"1399334598":["hashtag1","hashtag2"]},{"1399334602":["hashtag1","hashtag2"]},{"1399334597":["hashtag1","hashtag2"]},{"1399334570":["hashtag1","hashtag2"]},{"1399334540":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399334539, 1399334598, 1399334602, 1399334597, 1399334570, 1399334540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36758351325989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:07:42.378114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/05/image_04112025_12_05_06_1811.jpg', '/home/pi/Desktop/images/04112025/12/05/image_04112025_12_05_25_18833.jpg', '/home/pi/Desktop/images/04112025/12/05/image_04112025_12_05_27_2350.jpg', '/home/pi/Desktop/images/04112025/12/05/image_04112025_12_05_29_2408.jpg', '/home/pi/Desktop/images/04112025/12/05/image_04112025_12_05_31_1682.jpg', '/home/pi/Desktop/images/04112025/12/05/image_04112025_12_05_33_1775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/05/image_04112025_12_05_06_1811.jpg
/home/pi/Desktop/images/04112025/12/05/image_04112025_12_05_25_18833.jpg
/home/pi/Desktop/images/04112025/12/05/image_04112025_12_05_27_2350.jpg
/home/pi/Desktop/images/04112025/12/05/image_04112025_12_05_29_2408.jpg
/home/pi/Desktop/images/04112025/12/05/image_04112025_12_05_31_1682.jpg
/home/pi/Desktop/images/04112025/12/05/image_04112025_12_05_33_1775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399334653","1399334647","1399334650","1399334652","1399334655","1399334654"],"photo_ids_order":["1399334647","1399334650","1399334652","1399334653","1399334654","1399334655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3e7b36a5c64367f28d76b9c2b7896461.jpg","text":"TemporaryFile(/tmp/multipartBody9051708422849969111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692523051,"filename":"image_04112025_12_05_29_2408.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/471547a22d8b0b45f87477bf7815610c.jpg","text":"TemporaryFile(/tmp/multipartBody7628068182957632525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692523051,"filename":"image_04112025_12_05_06_1811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a2e58c823488e6141cfd4fea7a7031ce.jpg","text":"TemporaryFile(/tmp/multipartBody5949630730447368588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692523051,"filename":"image_04112025_12_05_25_18833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5581d3150b78d4f415b6895fadd12a66.jpg","text":"TemporaryFile(/tmp/multipartBody2266947606515829164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692523051,"filename":"image_04112025_12_05_27_2350.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4042376a0c70352b68d3830e371b6d79.jpg","text":"TemporaryFile(/tmp/multipartBody4291755118384324247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692523051,"filename":"image_04112025_12_05_33_1775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/91907e7ea64ef503b9fae2ce301a7f5b.jpg","text":"TemporaryFile(/tmp/multipartBody3727130317845759302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692523051,"filename":"image_04112025_12_05_31_1682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334652","file1":"1399334650","file0":"1399334647","file4":"1399334654","file5":"1399334655","file3":"1399334653"},"map_files_photo_id_array":[{"photo_id":"1399334655","filename":"file5"},{"photo_id":"1399334652","filename":"file2"},{"photo_id":"1399334654","filename":"file4"},{"photo_id":"1399334650","filename":"file1"},{"photo_id":"1399334647","filename":"file0"},{"photo_id":"1399334653","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399334653":["hashtag1","hashtag2"]},{"1399334647":["hashtag1","hashtag2"]},{"1399334650":["hashtag1","hashtag2"]},{"1399334652":["hashtag1","hashtag2"]},{"1399334655":["hashtag1","hashtag2"]},{"1399334654":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399334653, 1399334647, 1399334650, 1399334652, 1399334655, 1399334654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.330756425857544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:08:22.650823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/01/image_14122025_07_01_34_10710.jpg', '/home/pi/Desktop/images/14122025/07/01/image_14122025_07_01_44_9650.jpg', '/home/pi/Desktop/images/14122025/07/01/image_14122025_07_01_53_9732.jpg', '/home/pi/Desktop/images/14122025/07/01/image_14122025_07_02_04_10640.jpg', '/home/pi/Desktop/images/14122025/07/02/image_14122025_07_02_34_10705.jpg', '/home/pi/Desktop/images/14122025/07/02/image_14122025_07_02_44_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/01/image_14122025_07_01_34_10710.jpg
/home/pi/Desktop/images/14122025/07/01/image_14122025_07_01_44_9650.jpg
/home/pi/Desktop/images/14122025/07/01/image_14122025_07_01_53_9732.jpg
/home/pi/Desktop/images/14122025/07/01/image_14122025_07_02_04_10640.jpg
/home/pi/Desktop/images/14122025/07/02/image_14122025_07_02_34_10705.jpg
/home/pi/Desktop/images/14122025/07/02/image_14122025_07_02_44_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.5374829769134521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 07:08:32.620749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:08:42.567798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/05/image_04112025_12_05_53_20545.jpg', '/home/pi/Desktop/images/04112025/12/05/image_04112025_12_05_55_1715.jpg', '/home/pi/Desktop/images/04112025/12/05/image_04112025_12_05_57_1521.jpg', '/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_07_3014.jpg', '/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_10_3477.jpg', '/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_13_2809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/05/image_04112025_12_05_53_20545.jpg
/home/pi/Desktop/images/04112025/12/05/image_04112025_12_05_55_1715.jpg
/home/pi/Desktop/images/04112025/12/05/image_04112025_12_05_57_1521.jpg
/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_07_3014.jpg
/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_10_3477.jpg
/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_13_2809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399334674","1399334677","1399334676","1399334673","1399334675","1399334666"],"photo_ids_order":["1399334666","1399334673","1399334674","1399334675","1399334676","1399334677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/183d56fab4aae248f06d468ca41f616b.jpg","text":"TemporaryFile(/tmp/multipartBody8124920166449792468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692583229,"filename":"image_04112025_12_05_57_1521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/014311f662ec3bf40004fe96fdc82570.jpg","text":"TemporaryFile(/tmp/multipartBody4467298139877897498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692583229,"filename":"image_04112025_12_07_13_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/65d54c3c0e5a0e61eeb130423ccfd879.jpg","text":"TemporaryFile(/tmp/multipartBody4117673322238471427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692583229,"filename":"image_04112025_12_07_10_3477.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/35abc56ad8da672f42d270903c69edee.jpg","text":"TemporaryFile(/tmp/multipartBody7517172909352420528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692583229,"filename":"image_04112025_12_05_55_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4806eee03aa9bef7c892c4b45df3d4e8.jpg","text":"TemporaryFile(/tmp/multipartBody4321203769311872033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692583229,"filename":"image_04112025_12_07_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/12/14/7e92e360554f291ab7ba91eea54310e2.jpg","text":"TemporaryFile(/tmp/multipartBody4847653771836359116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692583229,"filename":"image_04112025_12_05_53_20545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334674","file1":"1399334673","file0":"1399334666","file4":"1399334676","file5":"1399334677","file3":"1399334675"},"map_files_photo_id_array":[{"photo_id":"1399334677","filename":"file5"},{"photo_id":"1399334674","filename":"file2"},{"photo_id":"1399334676","filename":"file4"},{"photo_id":"1399334673","filename":"file1"},{"photo_id":"1399334666","filename":"file0"},{"photo_id":"1399334675","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399334674":["hashtag1","hashtag2"]},{"1399334677":["hashtag1","hashtag2"]},{"1399334676":["hashtag1","hashtag2"]},{"1399334673":["hashtag1","hashtag2"]},{"1399334675":["hashtag1","hashtag2"]},{"1399334666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399334674, 1399334677, 1399334676, 1399334673, 1399334675, 1399334666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.796870470047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:09:22.994809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/01/image_14122025_07_01_34_10710.jpg', '/home/pi/Desktop/images/14122025/07/01/image_14122025_07_01_44_9650.jpg', '/home/pi/Desktop/images/14122025/07/01/image_14122025_07_01_53_9732.jpg', '/home/pi/Desktop/images/14122025/07/01/image_14122025_07_02_04_10640.jpg', '/home/pi/Desktop/images/14122025/07/02/image_14122025_07_02_34_10705.jpg', '/home/pi/Desktop/images/14122025/07/02/image_14122025_07_02_44_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/01/image_14122025_07_01_34_10710.jpg
/home/pi/Desktop/images/14122025/07/01/image_14122025_07_01_44_9650.jpg
/home/pi/Desktop/images/14122025/07/01/image_14122025_07_01_53_9732.jpg
/home/pi/Desktop/images/14122025/07/01/image_14122025_07_02_04_10640.jpg
/home/pi/Desktop/images/14122025/07/02/image_14122025_07_02_34_10705.jpg
/home/pi/Desktop/images/14122025/07/02/image_14122025_07_02_44_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.5834677219390869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 07:09:32.818939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:09:42.743991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_16_2696.jpg', '/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_19_3547.jpg', '/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_22_2668.jpg', '/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_25_3060.jpg', '/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_29_3630.jpg', '/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_31_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_16_2696.jpg
/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_19_3547.jpg
/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_22_2668.jpg
/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_25_3060.jpg
/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_29_3630.jpg
/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_31_2732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399334695","1399334689","1399334694","1399334693","1399334696","1399334692"],"photo_ids_order":["1399334689","1399334692","1399334693","1399334694","1399334695","1399334696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/98112f154d260f18f19ae5921368460a.jpg","text":"TemporaryFile(/tmp/multipartBody2774856294837398416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692643412,"filename":"image_04112025_12_07_29_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/23ff796f32da753a98bdb57d431b1b4f.jpg","text":"TemporaryFile(/tmp/multipartBody4449707906665796957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692643412,"filename":"image_04112025_12_07_16_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3bb50e7edb13c0d32a8128b1fd6f9eae.jpg","text":"TemporaryFile(/tmp/multipartBody3361912287585818910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692643412,"filename":"image_04112025_12_07_25_3060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6185c01280282d35a6140a70e67e979c.jpg","text":"TemporaryFile(/tmp/multipartBody4661395333701154312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692643412,"filename":"image_04112025_12_07_22_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/59f3fca3cd904869e49e9e63b56c9a34.jpg","text":"TemporaryFile(/tmp/multipartBody889094754089827040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692643412,"filename":"image_04112025_12_07_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/12/14/cd099c74cf1e202dfa1d6402286a95ba.jpg","text":"TemporaryFile(/tmp/multipartBody4920972187818477874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692643412,"filename":"image_04112025_12_07_19_3547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334693","file1":"1399334692","file0":"1399334689","file4":"1399334695","file5":"1399334696","file3":"1399334694"},"map_files_photo_id_array":[{"photo_id":"1399334696","filename":"file5"},{"photo_id":"1399334693","filename":"file2"},{"photo_id":"1399334695","filename":"file4"},{"photo_id":"1399334692","filename":"file1"},{"photo_id":"1399334689","filename":"file0"},{"photo_id":"1399334694","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399334695":["hashtag1","hashtag2"]},{"1399334689":["hashtag1","hashtag2"]},{"1399334694":["hashtag1","hashtag2"]},{"1399334693":["hashtag1","hashtag2"]},{"1399334696":["hashtag1","hashtag2"]},{"1399334692":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399334695, 1399334689, 1399334694, 1399334693, 1399334696, 1399334692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.327861070632935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:10:22.018749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/01/image_14122025_07_01_34_10710.jpg', '/home/pi/Desktop/images/14122025/07/01/image_14122025_07_01_44_9650.jpg', '/home/pi/Desktop/images/14122025/07/01/image_14122025_07_01_53_9732.jpg', '/home/pi/Desktop/images/14122025/07/01/image_14122025_07_02_04_10640.jpg', '/home/pi/Desktop/images/14122025/07/02/image_14122025_07_02_34_10705.jpg', '/home/pi/Desktop/images/14122025/07/02/image_14122025_07_02_44_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/01/image_14122025_07_01_34_10710.jpg
/home/pi/Desktop/images/14122025/07/01/image_14122025_07_01_44_9650.jpg
/home/pi/Desktop/images/14122025/07/01/image_14122025_07_01_53_9732.jpg
/home/pi/Desktop/images/14122025/07/01/image_14122025_07_02_04_10640.jpg
/home/pi/Desktop/images/14122025/07/02/image_14122025_07_02_34_10705.jpg
/home/pi/Desktop/images/14122025/07/02/image_14122025_07_02_44_9776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399334697","1399334701","1399334699","1399334703","1399334705","1399334708"],"photo_ids_order":["1399334697","1399334699","1399334701","1399334703","1399334705","1399334708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e5e1444efe1469903bee9e93a8d11579.jpg","text":"TemporaryFile(/tmp/multipartBody2006457286425101706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692682662,"filename":"image_14122025_07_01_34_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d36baec4e8522f3c5efd716c23a5fb3.jpg","text":"TemporaryFile(/tmp/multipartBody1068353301741007831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692682662,"filename":"image_14122025_07_01_53_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6e2beedad4c2edc45cfe20ab735656d.jpg","text":"TemporaryFile(/tmp/multipartBody8074355491832326663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692682662,"filename":"image_14122025_07_01_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/23ccb25812f356fa4efa316a7dac4ef9.jpg","text":"TemporaryFile(/tmp/multipartBody2304791627526515817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692682662,"filename":"image_14122025_07_02_04_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/955b2ec6e6a6cac1d5dad8636fd12d8f.jpg","text":"TemporaryFile(/tmp/multipartBody8175713307098461238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692682662,"filename":"image_14122025_07_02_34_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d55decdcfc1fc95b0f874c72b15ff300.jpg","text":"TemporaryFile(/tmp/multipartBody963549418368175781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692682662,"filename":"image_14122025_07_02_44_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334701","file1":"1399334699","file0":"1399334697","file4":"1399334705","file5":"1399334708","file3":"1399334703"},"map_files_photo_id_array":[{"photo_id":"1399334708","filename":"file5"},{"photo_id":"1399334701","filename":"file2"},{"photo_id":"1399334705","filename":"file4"},{"photo_id":"1399334699","filename":"file1"},{"photo_id":"1399334697","filename":"file0"},{"photo_id":"1399334703","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399334697":["hashtag1","hashtag2"]},{"1399334701":["hashtag1","hashtag2"]},{"1399334699":["hashtag1","hashtag2"]},{"1399334703":["hashtag1","hashtag2"]},{"1399334705":["hashtag1","hashtag2"]},{"1399334708":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399334697, 1399334701, 1399334699, 1399334703, 1399334705, 1399334708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96739363670349 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:11:02.850382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/02/image_14122025_07_02_54_9661.jpg', '/home/pi/Desktop/images/14122025/07/03/image_14122025_07_03_14_10562.jpg', '/home/pi/Desktop/images/14122025/07/03/image_14122025_07_03_34_10628.jpg', '/home/pi/Desktop/images/14122025/07/03/image_14122025_07_03_44_9772.jpg', '/home/pi/Desktop/images/14122025/07/03/image_14122025_07_03_54_9767.jpg', '/home/pi/Desktop/images/14122025/07/03/image_14122025_07_04_03_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/02/image_14122025_07_02_54_9661.jpg
/home/pi/Desktop/images/14122025/07/03/image_14122025_07_03_14_10562.jpg
/home/pi/Desktop/images/14122025/07/03/image_14122025_07_03_34_10628.jpg
/home/pi/Desktop/images/14122025/07/03/image_14122025_07_03_44_9772.jpg
/home/pi/Desktop/images/14122025/07/03/image_14122025_07_03_54_9767.jpg
/home/pi/Desktop/images/14122025/07/03/image_14122025_07_04_03_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":["1399334710","1399334713","1399334712","1399334715","1399334709","1399334711"],"photo_ids_order":["1399334709","1399334710","1399334711","1399334712","1399334713","1399334715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e989d872324746229e2715d3e161a26e.jpg","text":"TemporaryFile(/tmp/multipartBody991985578901502086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692723556,"filename":"image_14122025_07_03_14_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/609bbea729ad447c4419f954d134ea80.jpg","text":"TemporaryFile(/tmp/multipartBody293530840961003545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692723556,"filename":"image_14122025_07_03_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/12/14/c572d0829297829aaf83ccde4756ace3.jpg","text":"TemporaryFile(/tmp/multipartBody3238023307145552939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692723556,"filename":"image_14122025_07_03_44_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d5a83fed318333f1a50f3ed5ef6fa31b.jpg","text":"TemporaryFile(/tmp/multipartBody5154678240720324798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692723556,"filename":"image_14122025_07_04_03_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/04d90dc823fc545995444ce21157dd7b.jpg","text":"TemporaryFile(/tmp/multipartBody2024376613633158771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692723556,"filename":"image_14122025_07_02_54_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/635728abc143dfed50169db717a6f0c1.jpg","text":"TemporaryFile(/tmp/multipartBody6741900353952800784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692723556,"filename":"image_14122025_07_03_34_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334711","file1":"1399334710","file0":"1399334709","file4":"1399334713","file5":"1399334715","file3":"1399334712"},"map_files_photo_id_array":[{"photo_id":"1399334715","filename":"file5"},{"photo_id":"1399334711","filename":"file2"},{"photo_id":"1399334713","filename":"file4"},{"photo_id":"1399334710","filename":"file1"},{"photo_id":"1399334709","filename":"file0"},{"photo_id":"1399334712","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399334710":["hashtag1","hashtag2"]},{"1399334713":["hashtag1","hashtag2"]},{"1399334712":["hashtag1","hashtag2"]},{"1399334715":["hashtag1","hashtag2"]},{"1399334709":["hashtag1","hashtag2"]},{"1399334711":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399334710, 1399334713, 1399334712, 1399334715, 1399334709, 1399334711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.510437965393066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:11:42.183462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_34_2677.jpg', '/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_37_2643.jpg', '/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_40_3746.jpg', '/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_43_2674.jpg', '/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_46_2733.jpg', '/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_55_8748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_34_2677.jpg
/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_37_2643.jpg
/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_40_3746.jpg
/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_43_2674.jpg
/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_46_2733.jpg
/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_55_8748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399334728","1399334731","1399334730","1399334727","1399334729","1399334720"],"photo_ids_order":["1399334720","1399334727","1399334728","1399334729","1399334730","1399334731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/53652adb09a15d556730db5ba4e28b04.jpg","text":"TemporaryFile(/tmp/multipartBody1863780099044853080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692762852,"filename":"image_04112025_12_07_40_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ec82bee8836fc9817c0242c784cfa204.jpg","text":"TemporaryFile(/tmp/multipartBody6058930162599602352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692762852,"filename":"image_04112025_12_07_55_8748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/057f3bcc626b1d9f4dece90a8e618d83.jpg","text":"TemporaryFile(/tmp/multipartBody8668483329999082561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692762852,"filename":"image_04112025_12_07_46_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/899f82f6c5df856f98b6bd94a48d153f.jpg","text":"TemporaryFile(/tmp/multipartBody8353460658987025148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692762852,"filename":"image_04112025_12_07_37_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d9485a58f15a4f64cc4acc88a19a55cc.jpg","text":"TemporaryFile(/tmp/multipartBody2402236243362549261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692762852,"filename":"image_04112025_12_07_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/12/14/9a1caf0a74123fe2e77756cf26c1ba8e.jpg","text":"TemporaryFile(/tmp/multipartBody7267099508041838559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692762852,"filename":"image_04112025_12_07_34_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334728","file1":"1399334727","file0":"1399334720","file4":"1399334730","file5":"1399334731","file3":"1399334729"},"map_files_photo_id_array":[{"photo_id":"1399334731","filename":"file5"},{"photo_id":"1399334728","filename":"file2"},{"photo_id":"1399334730","filename":"file4"},{"photo_id":"1399334727","filename":"file1"},{"photo_id":"1399334720","filename":"file0"},{"photo_id":"1399334729","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399334728":["hashtag1","hashtag2"]},{"1399334731":["hashtag1","hashtag2"]},{"1399334730":["hashtag1","hashtag2"]},{"1399334727":["hashtag1","hashtag2"]},{"1399334729":["hashtag1","hashtag2"]},{"1399334720":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399334728, 1399334731, 1399334730, 1399334727, 1399334729, 1399334720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.63444924354553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 07:12:32.427363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:12:42.471177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_58_3338.jpg', '/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_59_1523.jpg', '/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_11_11497.jpg', '/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_13_1788.jpg', '/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_14_1520.jpg', '/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_16_1735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_58_3338.jpg
/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_59_1523.jpg
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_11_11497.jpg
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_13_1788.jpg
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_14_1520.jpg
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_16_1735.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5654361248016357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:13:03.364788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/04/image_14122025_07_04_14_10651.jpg', '/home/pi/Desktop/images/14122025/07/04/image_14122025_07_04_24_9740.jpg', '/home/pi/Desktop/images/14122025/07/04/image_14122025_07_04_34_9944.jpg', '/home/pi/Desktop/images/14122025/07/04/image_14122025_07_04_43_9626.jpg', '/home/pi/Desktop/images/14122025/07/04/image_14122025_07_04_54_10767.jpg', '/home/pi/Desktop/images/14122025/07/04/image_14122025_07_05_04_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/04/image_14122025_07_04_14_10651.jpg
/home/pi/Desktop/images/14122025/07/04/image_14122025_07_04_24_9740.jpg
/home/pi/Desktop/images/14122025/07/04/image_14122025_07_04_34_9944.jpg
/home/pi/Desktop/images/14122025/07/04/image_14122025_07_04_43_9626.jpg
/home/pi/Desktop/images/14122025/07/04/image_14122025_07_04_54_10767.jpg
/home/pi/Desktop/images/14122025/07/04/image_14122025_07_05_04_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":["1399334746","1399334749","1399334743","1399334745","1399334744","1399334747"],"photo_ids_order":["1399334743","1399334744","1399334745","1399334746","1399334747","1399334749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3e420af986ccb47bbf3e1150a060de1.jpg","text":"TemporaryFile(/tmp/multipartBody5383471213822015761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692844132,"filename":"image_14122025_07_04_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/12/14/8a93b34e35e0058e4a41f02da32069b2.jpg","text":"TemporaryFile(/tmp/multipartBody6106405926101317854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692844132,"filename":"image_14122025_07_05_04_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/207b1ba8018c44ae80cb7e8763b92ab5.jpg","text":"TemporaryFile(/tmp/multipartBody7758223949914433527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692844132,"filename":"image_14122025_07_04_14_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9ae2651eb230d36b1c6870a64eced4de.jpg","text":"TemporaryFile(/tmp/multipartBody7775701875970643370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692844132,"filename":"image_14122025_07_04_34_9944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/58afd86aa651e3afb62f0e1e6cab76d1.jpg","text":"TemporaryFile(/tmp/multipartBody2383107050152121410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692844132,"filename":"image_14122025_07_04_24_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d35a0b1626e40f0a1e5a7a168d1aa526.jpg","text":"TemporaryFile(/tmp/multipartBody5417481209060916181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692844132,"filename":"image_14122025_07_04_54_10767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334745","file1":"1399334744","file0":"1399334743","file4":"1399334747","file5":"1399334749","file3":"1399334746"},"map_files_photo_id_array":[{"photo_id":"1399334749","filename":"file5"},{"photo_id":"1399334745","filename":"file2"},{"photo_id":"1399334747","filename":"file4"},{"photo_id":"1399334744","filename":"file1"},{"photo_id":"1399334743","filename":"file0"},{"photo_id":"1399334746","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399334746":["hashtag1","hashtag2"]},{"1399334749":["hashtag1","hashtag2"]},{"1399334743":["hashtag1","hashtag2"]},{"1399334745":["hashtag1","hashtag2"]},{"1399334744":["hashtag1","hashtag2"]},{"1399334747":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399334746, 1399334749, 1399334743, 1399334745, 1399334744, 1399334747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.966513872146606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:13:42.715098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_58_3338.jpg', '/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_59_1523.jpg', '/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_11_11497.jpg', '/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_13_1788.jpg', '/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_14_1520.jpg', '/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_16_1735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_58_3338.jpg
/home/pi/Desktop/images/04112025/12/07/image_04112025_12_07_59_1523.jpg
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_11_11497.jpg
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_13_1788.jpg
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_14_1520.jpg
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_16_1735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399334758","1399334760","1399334754","1399334762","1399334756","1399334759"],"photo_ids_order":["1399334754","1399334756","1399334758","1399334759","1399334760","1399334762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db7e6c97705d582e15d019202621b28f.jpg","text":"TemporaryFile(/tmp/multipartBody7507579086417006481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692883295,"filename":"image_04112025_12_08_11_11497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a2976cb82c5e23a663890f19deb99f69.jpg","text":"TemporaryFile(/tmp/multipartBody9071385194688019083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692883295,"filename":"image_04112025_12_08_14_1520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/733921eeac3609ae23e5137399b7f17c.jpg","text":"TemporaryFile(/tmp/multipartBody3527679217232677668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692883295,"filename":"image_04112025_12_07_58_3338.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f9ff3eae327d0286c740eaf73d60c96.jpg","text":"TemporaryFile(/tmp/multipartBody6964309677688786003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692883295,"filename":"image_04112025_12_08_16_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/86d516404da010ca8fd16ec9e74213a4.jpg","text":"TemporaryFile(/tmp/multipartBody8194187121211204427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692883295,"filename":"image_04112025_12_07_59_1523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e8c5bb094ad0a0d46e489d945b946f09.jpg","text":"TemporaryFile(/tmp/multipartBody8420778926610152550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692883295,"filename":"image_04112025_12_08_13_1788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334758","file1":"1399334756","file0":"1399334754","file4":"1399334760","file5":"1399334762","file3":"1399334759"},"map_files_photo_id_array":[{"photo_id":"1399334762","filename":"file5"},{"photo_id":"1399334758","filename":"file2"},{"photo_id":"1399334760","filename":"file4"},{"photo_id":"1399334756","filename":"file1"},{"photo_id":"1399334754","filename":"file0"},{"photo_id":"1399334759","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399334758":["hashtag1","hashtag2"]},{"1399334760":["hashtag1","hashtag2"]},{"1399334754":["hashtag1","hashtag2"]},{"1399334762":["hashtag1","hashtag2"]},{"1399334756":["hashtag1","hashtag2"]},{"1399334759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399334758, 1399334760, 1399334754, 1399334762, 1399334756, 1399334759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.962159872055054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:14:21.963555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/05/image_14122025_07_05_14_9782.jpg', '/home/pi/Desktop/images/14122025/07/05/image_14122025_07_05_34_10546.jpg', '/home/pi/Desktop/images/14122025/07/05/image_14122025_07_05_44_9732.jpg', '/home/pi/Desktop/images/14122025/07/05/image_14122025_07_05_53_9633.jpg', '/home/pi/Desktop/images/14122025/07/05/image_14122025_07_06_04_10678.jpg', '/home/pi/Desktop/images/14122025/07/06/image_14122025_07_06_14_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/05/image_14122025_07_05_14_9782.jpg
/home/pi/Desktop/images/14122025/07/05/image_14122025_07_05_34_10546.jpg
/home/pi/Desktop/images/14122025/07/05/image_14122025_07_05_44_9732.jpg
/home/pi/Desktop/images/14122025/07/05/image_14122025_07_05_53_9633.jpg
/home/pi/Desktop/images/14122025/07/05/image_14122025_07_06_04_10678.jpg
/home/pi/Desktop/images/14122025/07/06/image_14122025_07_06_14_9757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399334773","1399334767","1399334778","1399334772","1399334765","1399334770"],"photo_ids_order":["1399334765","1399334767","1399334770","1399334772","1399334773","1399334778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b1c36657e566660599c0b09d367ddfd9.jpg","text":"TemporaryFile(/tmp/multipartBody800079564461726021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692922599,"filename":"image_14122025_07_06_04_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba3ccb7909fc57dffc91c469ec471004.jpg","text":"TemporaryFile(/tmp/multipartBody2734726803445688220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692922599,"filename":"image_14122025_07_05_34_10546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c7357ea267ee499d7aab2b5ee1092db.jpg","text":"TemporaryFile(/tmp/multipartBody7901319246401826620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692922599,"filename":"image_14122025_07_06_14_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad429b1f021f3aee0483e4060de47dc1.jpg","text":"TemporaryFile(/tmp/multipartBody8664966161890900904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692922599,"filename":"image_14122025_07_05_53_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c393c37f95beb82284291d7d32382227.jpg","text":"TemporaryFile(/tmp/multipartBody5946194723118239232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692922599,"filename":"image_14122025_07_05_14_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7bc80ed381f95c38f8a0aa7097372967.jpg","text":"TemporaryFile(/tmp/multipartBody4293382774175667061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692922599,"filename":"image_14122025_07_05_44_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334770","file1":"1399334767","file0":"1399334765","file4":"1399334773","file5":"1399334778","file3":"1399334772"},"map_files_photo_id_array":[{"photo_id":"1399334778","filename":"file5"},{"photo_id":"1399334770","filename":"file2"},{"photo_id":"1399334773","filename":"file4"},{"photo_id":"1399334767","filename":"file1"},{"photo_id":"1399334765","filename":"file0"},{"photo_id":"1399334772","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399334773":["hashtag1","hashtag2"]},{"1399334767":["hashtag1","hashtag2"]},{"1399334778":["hashtag1","hashtag2"]},{"1399334772":["hashtag1","hashtag2"]},{"1399334765":["hashtag1","hashtag2"]},{"1399334770":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399334773, 1399334767, 1399334778, 1399334772, 1399334765, 1399334770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89321231842041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:15:02.922819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/06/image_14122025_07_06_34_10538.jpg', '/home/pi/Desktop/images/14122025/07/06/image_14122025_07_06_44_9873.jpg', '/home/pi/Desktop/images/14122025/07/06/image_14122025_07_06_54_9721.jpg', '/home/pi/Desktop/images/14122025/07/06/image_14122025_07_07_03_9665.jpg', '/home/pi/Desktop/images/14122025/07/07/image_14122025_07_07_14_10697.jpg', '/home/pi/Desktop/images/14122025/07/07/image_14122025_07_07_33_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/06/image_14122025_07_06_34_10538.jpg
/home/pi/Desktop/images/14122025/07/06/image_14122025_07_06_44_9873.jpg
/home/pi/Desktop/images/14122025/07/06/image_14122025_07_06_54_9721.jpg
/home/pi/Desktop/images/14122025/07/06/image_14122025_07_07_03_9665.jpg
/home/pi/Desktop/images/14122025/07/07/image_14122025_07_07_14_10697.jpg
/home/pi/Desktop/images/14122025/07/07/image_14122025_07_07_33_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399334781","1399334784","1399334786","1399334780","1399334783","1399334782"],"photo_ids_order":["1399334780","1399334781","1399334782","1399334783","1399334784","1399334786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e846420aa5e89ed5fffbea3fd6d5a944.jpg","text":"TemporaryFile(/tmp/multipartBody2106819308399973124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692963700,"filename":"image_14122025_07_06_44_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/12fbfc43ac93c82beba2c0a23f458b5c.jpg","text":"TemporaryFile(/tmp/multipartBody2280448756915956074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692963700,"filename":"image_14122025_07_07_14_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2559fb00070a3fd127484d7c54781a91.jpg","text":"TemporaryFile(/tmp/multipartBody5885433198535214795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692963700,"filename":"image_14122025_07_07_33_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d2fc1c6aca3bdb7cff7c76f4a2aeff6.jpg","text":"TemporaryFile(/tmp/multipartBody6518838869720950517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692963700,"filename":"image_14122025_07_06_34_10538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/48d5d5840af7e1e32e2331a9b6b7271c.jpg","text":"TemporaryFile(/tmp/multipartBody8197662455784217276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692963700,"filename":"image_14122025_07_07_03_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cbe8205bf61a436f3253f1812fa14f7f.jpg","text":"TemporaryFile(/tmp/multipartBody5915105348516366160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765692963700,"filename":"image_14122025_07_06_54_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334782","file1":"1399334781","file0":"1399334780","file4":"1399334784","file5":"1399334786","file3":"1399334783"},"map_files_photo_id_array":[{"photo_id":"1399334786","filename":"file5"},{"photo_id":"1399334782","filename":"file2"},{"photo_id":"1399334784","filename":"file4"},{"photo_id":"1399334781","filename":"file1"},{"photo_id":"1399334780","filename":"file0"},{"photo_id":"1399334783","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399334781":["hashtag1","hashtag2"]},{"1399334784":["hashtag1","hashtag2"]},{"1399334786":["hashtag1","hashtag2"]},{"1399334780":["hashtag1","hashtag2"]},{"1399334783":["hashtag1","hashtag2"]},{"1399334782":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399334781, 1399334784, 1399334786, 1399334780, 1399334783, 1399334782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23224854469299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:15:42.204653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_18_1588.jpg', '/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_20_2471.jpg', '/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_24_3889.jpg', '/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_26_1574.jpg', '/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_28_2516.jpg', '/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_30_1626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_18_1588.jpg
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_20_2471.jpg
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_24_3889.jpg
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_26_1574.jpg
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_28_2516.jpg
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_30_1626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399334794","1399334796","1399334799","1399334798","1399334797","1399334791"],"photo_ids_order":["1399334791","1399334794","1399334796","1399334797","1399334798","1399334799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5fd194bd2e441552151dc557b2afa645.jpg","text":"TemporaryFile(/tmp/multipartBody8730361480581153097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693002872,"filename":"image_04112025_12_08_20_2471.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/45c40798e11812b52928743995d240bc.jpg","text":"TemporaryFile(/tmp/multipartBody1798968022438930809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693002872,"filename":"image_04112025_12_08_24_3889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d3241683d1f5dfd37bd301a4641c6453.jpg","text":"TemporaryFile(/tmp/multipartBody1719309500420718552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693002872,"filename":"image_04112025_12_08_30_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4199456b3205d7ad553fdc0e19239320.jpg","text":"TemporaryFile(/tmp/multipartBody1385260973617232560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693002872,"filename":"image_04112025_12_08_28_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fc1ed14bc96030eeedcd93c8b1e97d26.jpg","text":"TemporaryFile(/tmp/multipartBody7175295005938565647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693002872,"filename":"image_04112025_12_08_26_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d0b76d1e3793dfcb3929051834ad0db.jpg","text":"TemporaryFile(/tmp/multipartBody7777994690652557898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693002872,"filename":"image_04112025_12_08_18_1588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334796","file1":"1399334794","file0":"1399334791","file4":"1399334798","file5":"1399334799","file3":"1399334797"},"map_files_photo_id_array":[{"photo_id":"1399334799","filename":"file5"},{"photo_id":"1399334796","filename":"file2"},{"photo_id":"1399334798","filename":"file4"},{"photo_id":"1399334794","filename":"file1"},{"photo_id":"1399334791","filename":"file0"},{"photo_id":"1399334797","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399334794":["hashtag1","hashtag2"]},{"1399334796":["hashtag1","hashtag2"]},{"1399334799":["hashtag1","hashtag2"]},{"1399334798":["hashtag1","hashtag2"]},{"1399334797":["hashtag1","hashtag2"]},{"1399334791":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399334794, 1399334796, 1399334799, 1399334798, 1399334797, 1399334791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45811653137207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:16:22.510800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/07/image_14122025_07_07_54_9774.jpg', '/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_14_10644.jpg', '/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_24_9670.jpg', '/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_34_9689.jpg', '/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_43_9708.jpg', '/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_54_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/07/image_14122025_07_07_54_9774.jpg
/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_14_10644.jpg
/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_24_9670.jpg
/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_34_9689.jpg
/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_43_9708.jpg
/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_54_10730.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5380322933197021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 07:16:32.483772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:16:42.427257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_31_1846.jpg', '/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_33_1716.jpg', '/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_35_1682.jpg', '/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_37_2599.jpg', '/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_40_2086.jpg', '/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_43_3861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_31_1846.jpg
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_33_1716.jpg
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_35_1682.jpg
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_37_2599.jpg
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_40_2086.jpg
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_43_3861.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399334815","1399334814","1399334817","1399334810","1399334813","1399334816"],"photo_ids_order":["1399334810","1399334813","1399334814","1399334815","1399334816","1399334817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4973938a889dfd43eb1aea96e31622c3.jpg","text":"TemporaryFile(/tmp/multipartBody3679113360946031608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693063097,"filename":"image_04112025_12_08_37_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e50312fd005a617ebc087a3ae0524fc.jpg","text":"TemporaryFile(/tmp/multipartBody6984260578276540309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693063097,"filename":"image_04112025_12_08_35_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/660b80e4bbfa93a21af6e3f51b0945f4.jpg","text":"TemporaryFile(/tmp/multipartBody3969147186742021032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693063097,"filename":"image_04112025_12_08_43_3861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56e6f1ece7242e908e960e6f47987c6e.jpg","text":"TemporaryFile(/tmp/multipartBody8435628609493796655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693063097,"filename":"image_04112025_12_08_31_1846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/85a1dde4c64b50eecf5010d7f127d7a1.jpg","text":"TemporaryFile(/tmp/multipartBody4307172048284950945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693063097,"filename":"image_04112025_12_08_33_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14b869765afe282142a818dfe75fae16.jpg","text":"TemporaryFile(/tmp/multipartBody6233310714365762956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693063097,"filename":"image_04112025_12_08_40_2086.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334814","file1":"1399334813","file0":"1399334810","file4":"1399334816","file5":"1399334817","file3":"1399334815"},"map_files_photo_id_array":[{"photo_id":"1399334817","filename":"file5"},{"photo_id":"1399334814","filename":"file2"},{"photo_id":"1399334816","filename":"file4"},{"photo_id":"1399334813","filename":"file1"},{"photo_id":"1399334810","filename":"file0"},{"photo_id":"1399334815","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399334815":["hashtag1","hashtag2"]},{"1399334814":["hashtag1","hashtag2"]},{"1399334817":["hashtag1","hashtag2"]},{"1399334810":["hashtag1","hashtag2"]},{"1399334813":["hashtag1","hashtag2"]},{"1399334816":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399334815, 1399334814, 1399334817, 1399334810, 1399334813, 1399334816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95060873031616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:17:22.687503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/07/image_14122025_07_07_54_9774.jpg', '/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_14_10644.jpg', '/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_24_9670.jpg', '/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_34_9689.jpg', '/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_43_9708.jpg', '/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_54_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/07/image_14122025_07_07_54_9774.jpg
/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_14_10644.jpg
/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_24_9670.jpg
/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_34_9689.jpg
/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_43_9708.jpg
/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_54_10730.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5761871337890625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 07:17:32.686246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:17:42.639638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_47_3448.jpg', '/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_49_2594.jpg', '/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_52_2589.jpg', '/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_55_2640.jpg', '/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_58_3465.jpg', '/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_01_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_47_3448.jpg
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_49_2594.jpg
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_52_2589.jpg
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_55_2640.jpg
/home/pi/Desktop/images/04112025/12/08/image_04112025_12_08_58_3465.jpg
/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_01_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":["1399334833","1399334830","1399334832","1399334826","1399334835","1399334834"],"photo_ids_order":["1399334826","1399334830","1399334832","1399334833","1399334834","1399334835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/41c75e8049495949c9e277e7f5fd378f.jpg","text":"TemporaryFile(/tmp/multipartBody897553123607902394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693123309,"filename":"image_04112025_12_08_55_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/77de50c96b88509d8c7530ad8d845e1e.jpg","text":"TemporaryFile(/tmp/multipartBody7688414311866581461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693123309,"filename":"image_04112025_12_08_49_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eb0ed0c9c48044eba45f9a9bb8bcf62f.jpg","text":"TemporaryFile(/tmp/multipartBody8639591990771174133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693123309,"filename":"image_04112025_12_08_52_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/838a3cc6a25b0b802ffe1161c32c1ed3.jpg","text":"TemporaryFile(/tmp/multipartBody9103946095541883454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693123309,"filename":"image_04112025_12_08_47_3448.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9e69d18df406610e97380d70fd4279f1.jpg","text":"TemporaryFile(/tmp/multipartBody6252584385544104243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693123309,"filename":"image_04112025_12_09_01_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d30de5d80ba299fe25b2c7405c64001b.jpg","text":"TemporaryFile(/tmp/multipartBody2270335265371020488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693123309,"filename":"image_04112025_12_08_58_3465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334832","file1":"1399334830","file0":"1399334826","file4":"1399334834","file5":"1399334835","file3":"1399334833"},"map_files_photo_id_array":[{"photo_id":"1399334835","filename":"file5"},{"photo_id":"1399334832","filename":"file2"},{"photo_id":"1399334834","filename":"file4"},{"photo_id":"1399334830","filename":"file1"},{"photo_id":"1399334826","filename":"file0"},{"photo_id":"1399334833","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399334833":["hashtag1","hashtag2"]},{"1399334830":["hashtag1","hashtag2"]},{"1399334832":["hashtag1","hashtag2"]},{"1399334826":["hashtag1","hashtag2"]},{"1399334835":["hashtag1","hashtag2"]},{"1399334834":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399334833, 1399334830, 1399334832, 1399334826, 1399334835, 1399334834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95857286453247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:18:21.922720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/07/image_14122025_07_07_54_9774.jpg', '/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_14_10644.jpg', '/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_24_9670.jpg', '/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_34_9689.jpg', '/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_43_9708.jpg', '/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_54_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/07/image_14122025_07_07_54_9774.jpg
/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_14_10644.jpg
/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_24_9670.jpg
/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_34_9689.jpg
/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_43_9708.jpg
/home/pi/Desktop/images/14122025/07/08/image_14122025_07_08_54_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":["1399334845","1399334842","1399334836","1399334839","1399334847","1399334840"],"photo_ids_order":["1399334836","1399334839","1399334840","1399334842","1399334845","1399334847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/713b90acaa628e84102ba3c49abd3d72.jpg","text":"TemporaryFile(/tmp/multipartBody4850838393234745729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693162567,"filename":"image_14122025_07_08_43_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7de2e770099367fd7a43da6dd35c7e41.jpg","text":"TemporaryFile(/tmp/multipartBody3186890953343411217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693162567,"filename":"image_14122025_07_08_34_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24a9c5e51543d57837b3807840d79bcb.jpg","text":"TemporaryFile(/tmp/multipartBody4567350877842038554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693162567,"filename":"image_14122025_07_07_54_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/60a2082711002b4a4c1d2114e8b5a271.jpg","text":"TemporaryFile(/tmp/multipartBody6070145586416429855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693162567,"filename":"image_14122025_07_08_14_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/330daaf1a83a167a24cdedaf241a773d.jpg","text":"TemporaryFile(/tmp/multipartBody5917125807132651915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693162567,"filename":"image_14122025_07_08_54_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7eda9a36c2fa06f95d234ca25939cdc0.jpg","text":"TemporaryFile(/tmp/multipartBody1992458973054841573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693162567,"filename":"image_14122025_07_08_24_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334840","file1":"1399334839","file0":"1399334836","file4":"1399334845","file5":"1399334847","file3":"1399334842"},"map_files_photo_id_array":[{"photo_id":"1399334847","filename":"file5"},{"photo_id":"1399334840","filename":"file2"},{"photo_id":"1399334845","filename":"file4"},{"photo_id":"1399334839","filename":"file1"},{"photo_id":"1399334836","filename":"file0"},{"photo_id":"1399334842","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399334845":["hashtag1","hashtag2"]},{"1399334842":["hashtag1","hashtag2"]},{"1399334836":["hashtag1","hashtag2"]},{"1399334839":["hashtag1","hashtag2"]},{"1399334847":["hashtag1","hashtag2"]},{"1399334840":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399334845, 1399334842, 1399334836, 1399334839, 1399334847, 1399334840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.137261629104614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:19:03.098733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/08/image_14122025_07_09_04_9767.jpg', '/home/pi/Desktop/images/14122025/07/09/image_14122025_07_09_24_10746.jpg', '/home/pi/Desktop/images/14122025/07/09/image_14122025_07_09_44_9658.jpg', '/home/pi/Desktop/images/14122025/07/09/image_14122025_07_09_53_9774.jpg', '/home/pi/Desktop/images/14122025/07/09/image_14122025_07_10_04_10696.jpg', '/home/pi/Desktop/images/14122025/07/10/image_14122025_07_10_23_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/08/image_14122025_07_09_04_9767.jpg
/home/pi/Desktop/images/14122025/07/09/image_14122025_07_09_24_10746.jpg
/home/pi/Desktop/images/14122025/07/09/image_14122025_07_09_44_9658.jpg
/home/pi/Desktop/images/14122025/07/09/image_14122025_07_09_53_9774.jpg
/home/pi/Desktop/images/14122025/07/09/image_14122025_07_10_04_10696.jpg
/home/pi/Desktop/images/14122025/07/10/image_14122025_07_10_23_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":["1399334851","1399334854","1399334848","1399334850","1399334852","1399334849"],"photo_ids_order":["1399334848","1399334849","1399334850","1399334851","1399334852","1399334854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a8a67e4140b9c6b453e6ef8025498d99.jpg","text":"TemporaryFile(/tmp/multipartBody4404548240041176577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693203930,"filename":"image_14122025_07_09_53_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7bcffd489196b491eaa1a06eeb07a181.jpg","text":"TemporaryFile(/tmp/multipartBody5930360041098666154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693203930,"filename":"image_14122025_07_10_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/05cf768b1fe54c3b63b9f5c83a38cf8c.jpg","text":"TemporaryFile(/tmp/multipartBody8843829690195068757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693203930,"filename":"image_14122025_07_09_04_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be5a7f14a550526fa8325abfafabe670.jpg","text":"TemporaryFile(/tmp/multipartBody1748835275265371990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693203930,"filename":"image_14122025_07_09_44_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0756e42ff92a304643980addb4727bd3.jpg","text":"TemporaryFile(/tmp/multipartBody5222250911596163042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693203930,"filename":"image_14122025_07_10_04_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f825f260e9d197fcf9f4ed10a2b571f.jpg","text":"TemporaryFile(/tmp/multipartBody811629171554336967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693203930,"filename":"image_14122025_07_09_24_10746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334850","file1":"1399334849","file0":"1399334848","file4":"1399334852","file5":"1399334854","file3":"1399334851"},"map_files_photo_id_array":[{"photo_id":"1399334854","filename":"file5"},{"photo_id":"1399334850","filename":"file2"},{"photo_id":"1399334852","filename":"file4"},{"photo_id":"1399334849","filename":"file1"},{"photo_id":"1399334848","filename":"file0"},{"photo_id":"1399334851","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399334851":["hashtag1","hashtag2"]},{"1399334854":["hashtag1","hashtag2"]},{"1399334848":["hashtag1","hashtag2"]},{"1399334850":["hashtag1","hashtag2"]},{"1399334852":["hashtag1","hashtag2"]},{"1399334849":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399334851, 1399334854, 1399334848, 1399334850, 1399334852, 1399334849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.533451080322266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:19:42.101855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_04_2717.jpg', '/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_07_3699.jpg', '/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_10_2601.jpg', '/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_13_3558.jpg', '/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_16_2592.jpg', '/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_19_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_04_2717.jpg
/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_07_3699.jpg
/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_10_2601.jpg
/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_13_3558.jpg
/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_16_2592.jpg
/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_19_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":["1399334866","1399334862","1399334865","1399334867","1399334864","1399334858"],"photo_ids_order":["1399334858","1399334862","1399334864","1399334865","1399334866","1399334867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ec6ededd4b69c640f3cdb90332007e0.jpg","text":"TemporaryFile(/tmp/multipartBody4524165022021328274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693242775,"filename":"image_04112025_12_09_16_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/55e4164db010134fad42a06a96ce3e52.jpg","text":"TemporaryFile(/tmp/multipartBody2815665388554939788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693242775,"filename":"image_04112025_12_09_07_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/67d94931c9507cdf3ebbbd05c00d7958.jpg","text":"TemporaryFile(/tmp/multipartBody1754990624431354864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693242775,"filename":"image_04112025_12_09_13_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ea4ae26dbd7bed0d3ae31da9fa8ec204.jpg","text":"TemporaryFile(/tmp/multipartBody4882322618706523339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693242775,"filename":"image_04112025_12_09_19_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0da138330c8f2db0e3c8203b10b9121b.jpg","text":"TemporaryFile(/tmp/multipartBody3008996964433617179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693242775,"filename":"image_04112025_12_09_10_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cdee97093996e95b6054bdc72a5ebdec.jpg","text":"TemporaryFile(/tmp/multipartBody4514175382214617225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693242775,"filename":"image_04112025_12_09_04_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334864","file1":"1399334862","file0":"1399334858","file4":"1399334866","file5":"1399334867","file3":"1399334865"},"map_files_photo_id_array":[{"photo_id":"1399334867","filename":"file5"},{"photo_id":"1399334864","filename":"file2"},{"photo_id":"1399334866","filename":"file4"},{"photo_id":"1399334862","filename":"file1"},{"photo_id":"1399334858","filename":"file0"},{"photo_id":"1399334865","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399334866":["hashtag1","hashtag2"]},{"1399334862":["hashtag1","hashtag2"]},{"1399334865":["hashtag1","hashtag2"]},{"1399334867":["hashtag1","hashtag2"]},{"1399334864":["hashtag1","hashtag2"]},{"1399334858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399334866, 1399334862, 1399334865, 1399334867, 1399334864, 1399334858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.144309759140015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:20:22.394567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/10/image_14122025_07_10_34_10701.jpg', '/home/pi/Desktop/images/14122025/07/10/image_14122025_07_10_44_9706.jpg', '/home/pi/Desktop/images/14122025/07/10/image_14122025_07_10_54_9769.jpg', '/home/pi/Desktop/images/14122025/07/10/image_14122025_07_11_03_9776.jpg', '/home/pi/Desktop/images/14122025/07/11/image_14122025_07_11_14_10691.jpg', '/home/pi/Desktop/images/14122025/07/11/image_14122025_07_11_33_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/10/image_14122025_07_10_34_10701.jpg
/home/pi/Desktop/images/14122025/07/10/image_14122025_07_10_44_9706.jpg
/home/pi/Desktop/images/14122025/07/10/image_14122025_07_10_54_9769.jpg
/home/pi/Desktop/images/14122025/07/10/image_14122025_07_11_03_9776.jpg
/home/pi/Desktop/images/14122025/07/11/image_14122025_07_11_14_10691.jpg
/home/pi/Desktop/images/14122025/07/11/image_14122025_07_11_33_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: 0.5302269458770752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 07:20:32.373866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:20:42.423624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_22_3529.jpg', '/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_25_2374.jpg', '/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_28_3812.jpg', '/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_31_2622.jpg', '/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_34_2559.jpg', '/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_37_3109.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_22_3529.jpg
/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_25_2374.jpg
/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_28_3812.jpg
/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_31_2622.jpg
/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_34_2559.jpg
/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_37_3109.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399334887","1399334889","1399334886","1399334879","1399334888","1399334890"],"photo_ids_order":["1399334879","1399334886","1399334887","1399334888","1399334889","1399334890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29a6731c10bb5ff05bae3ccc7e010ecb.jpg","text":"TemporaryFile(/tmp/multipartBody7152240224477035368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693303166,"filename":"image_04112025_12_09_28_3812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c5e6ca91b3de8874f70e0bc6e0878795.jpg","text":"TemporaryFile(/tmp/multipartBody833688305569219864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693303166,"filename":"image_04112025_12_09_34_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fdb8444996fad14babb92683506a0d2e.jpg","text":"TemporaryFile(/tmp/multipartBody3305870258210673914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693303166,"filename":"image_04112025_12_09_25_2374.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a71b29610d5ffb186c97ff97bc746c1.jpg","text":"TemporaryFile(/tmp/multipartBody5826254042528839361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693303166,"filename":"image_04112025_12_09_22_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d5c8ed7c8e4e274318db0a143b069807.jpg","text":"TemporaryFile(/tmp/multipartBody7045689755549920912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693303166,"filename":"image_04112025_12_09_31_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd3d1724ad42755f967fdbd9568a8348.jpg","text":"TemporaryFile(/tmp/multipartBody8045800798673893675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693303166,"filename":"image_04112025_12_09_37_3109.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334887","file1":"1399334886","file0":"1399334879","file4":"1399334889","file5":"1399334890","file3":"1399334888"},"map_files_photo_id_array":[{"photo_id":"1399334890","filename":"file5"},{"photo_id":"1399334887","filename":"file2"},{"photo_id":"1399334889","filename":"file4"},{"photo_id":"1399334886","filename":"file1"},{"photo_id":"1399334879","filename":"file0"},{"photo_id":"1399334888","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399334887":["hashtag1","hashtag2"]},{"1399334889":["hashtag1","hashtag2"]},{"1399334886":["hashtag1","hashtag2"]},{"1399334879":["hashtag1","hashtag2"]},{"1399334888":["hashtag1","hashtag2"]},{"1399334890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399334887, 1399334889, 1399334886, 1399334879, 1399334888, 1399334890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.792930603027344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:21:22.652668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/10/image_14122025_07_10_34_10701.jpg', '/home/pi/Desktop/images/14122025/07/10/image_14122025_07_10_44_9706.jpg', '/home/pi/Desktop/images/14122025/07/10/image_14122025_07_10_54_9769.jpg', '/home/pi/Desktop/images/14122025/07/10/image_14122025_07_11_03_9776.jpg', '/home/pi/Desktop/images/14122025/07/11/image_14122025_07_11_14_10691.jpg', '/home/pi/Desktop/images/14122025/07/11/image_14122025_07_11_33_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/10/image_14122025_07_10_34_10701.jpg
/home/pi/Desktop/images/14122025/07/10/image_14122025_07_10_44_9706.jpg
/home/pi/Desktop/images/14122025/07/10/image_14122025_07_10_54_9769.jpg
/home/pi/Desktop/images/14122025/07/10/image_14122025_07_11_03_9776.jpg
/home/pi/Desktop/images/14122025/07/11/image_14122025_07_11_14_10691.jpg
/home/pi/Desktop/images/14122025/07/11/image_14122025_07_11_33_9763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399334893","1399334892","1399334895","1399334898","1399334900","1399334899"],"photo_ids_order":["1399334892","1399334893","1399334895","1399334898","1399334899","1399334900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/251e8d391166722a31de47f6d291bc8a.jpg","text":"TemporaryFile(/tmp/multipartBody4342620404844636591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693343332,"filename":"image_14122025_07_10_44_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/945f69828e451fb17c0c2ad66a5ba17a.jpg","text":"TemporaryFile(/tmp/multipartBody5918399087483093050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693343332,"filename":"image_14122025_07_10_34_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2dbeecdd9abf3ae9f80cdce51f15ef0b.jpg","text":"TemporaryFile(/tmp/multipartBody4091837263473361926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693343332,"filename":"image_14122025_07_10_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/12/14/828aba5fafce44b89661b0d06c376370.jpg","text":"TemporaryFile(/tmp/multipartBody4314030524361269875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693343332,"filename":"image_14122025_07_11_03_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ffd97f3fe1030bad5de2bf9358c9ab77.jpg","text":"TemporaryFile(/tmp/multipartBody4116530227825804682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693343332,"filename":"image_14122025_07_11_33_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/45debff9dfc666106f8441f56be9ff5a.jpg","text":"TemporaryFile(/tmp/multipartBody1562898728214121822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693343332,"filename":"image_14122025_07_11_14_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334895","file1":"1399334893","file0":"1399334892","file4":"1399334899","file5":"1399334900","file3":"1399334898"},"map_files_photo_id_array":[{"photo_id":"1399334900","filename":"file5"},{"photo_id":"1399334895","filename":"file2"},{"photo_id":"1399334899","filename":"file4"},{"photo_id":"1399334893","filename":"file1"},{"photo_id":"1399334892","filename":"file0"},{"photo_id":"1399334898","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399334893":["hashtag1","hashtag2"]},{"1399334892":["hashtag1","hashtag2"]},{"1399334895":["hashtag1","hashtag2"]},{"1399334898":["hashtag1","hashtag2"]},{"1399334900":["hashtag1","hashtag2"]},{"1399334899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399334893, 1399334892, 1399334895, 1399334898, 1399334900, 1399334899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39387536048889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:22:02.267784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/11/image_14122025_07_11_44_10638.jpg', '/home/pi/Desktop/images/14122025/07/11/image_14122025_07_11_54_9628.jpg', '/home/pi/Desktop/images/14122025/07/11/image_14122025_07_12_03_9654.jpg', '/home/pi/Desktop/images/14122025/07/12/image_14122025_07_12_24_9606.jpg', '/home/pi/Desktop/images/14122025/07/12/image_14122025_07_12_44_10617.jpg', '/home/pi/Desktop/images/14122025/07/12/image_14122025_07_12_54_9885.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/11/image_14122025_07_11_44_10638.jpg
/home/pi/Desktop/images/14122025/07/11/image_14122025_07_11_54_9628.jpg
/home/pi/Desktop/images/14122025/07/11/image_14122025_07_12_03_9654.jpg
/home/pi/Desktop/images/14122025/07/12/image_14122025_07_12_24_9606.jpg
/home/pi/Desktop/images/14122025/07/12/image_14122025_07_12_44_10617.jpg
/home/pi/Desktop/images/14122025/07/12/image_14122025_07_12_54_9885.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399334908","1399334902","1399334910","1399334907","1399334904","1399334906"],"photo_ids_order":["1399334902","1399334904","1399334906","1399334907","1399334908","1399334910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b8eefa8ad8310e69a6708be083b95035.jpg","text":"TemporaryFile(/tmp/multipartBody1264806914661640575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693382942,"filename":"image_14122025_07_12_44_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e0e6524c2282fa8b1c3211c0f295a516.jpg","text":"TemporaryFile(/tmp/multipartBody8455356591646577422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693382942,"filename":"image_14122025_07_11_44_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f71e18fdbb2ced2a190512df7d75b86.jpg","text":"TemporaryFile(/tmp/multipartBody4852717139932402443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693382942,"filename":"image_14122025_07_12_54_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e25bd7890d28abec8a0c7f53d505f7e8.jpg","text":"TemporaryFile(/tmp/multipartBody6105915290511273651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693382942,"filename":"image_14122025_07_12_24_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/779c00653e6a44aee4ff52d7a9440cf6.jpg","text":"TemporaryFile(/tmp/multipartBody9112763969052246979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693382942,"filename":"image_14122025_07_11_54_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d3eb86ac2d7c90b33ccc12af737e4d46.jpg","text":"TemporaryFile(/tmp/multipartBody1854940828129293145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693382942,"filename":"image_14122025_07_12_03_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334906","file1":"1399334904","file0":"1399334902","file4":"1399334908","file5":"1399334910","file3":"1399334907"},"map_files_photo_id_array":[{"photo_id":"1399334910","filename":"file5"},{"photo_id":"1399334906","filename":"file2"},{"photo_id":"1399334908","filename":"file4"},{"photo_id":"1399334904","filename":"file1"},{"photo_id":"1399334902","filename":"file0"},{"photo_id":"1399334907","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399334908":["hashtag1","hashtag2"]},{"1399334902":["hashtag1","hashtag2"]},{"1399334910":["hashtag1","hashtag2"]},{"1399334907":["hashtag1","hashtag2"]},{"1399334904":["hashtag1","hashtag2"]},{"1399334906":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399334908, 1399334902, 1399334910, 1399334907, 1399334904, 1399334906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14881658554077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:22:41.869519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_40_2819.jpg', '/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_43_3202.jpg', '/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_46_3597.jpg', '/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_48_2107.jpg', '/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_52_3775.jpg', '/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_55_2765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_40_2819.jpg
/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_43_3202.jpg
/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_46_3597.jpg
/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_48_2107.jpg
/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_52_3775.jpg
/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_55_2765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399334920","1399334919","1399334922","1399334921","1399334915","1399334918"],"photo_ids_order":["1399334915","1399334918","1399334919","1399334920","1399334921","1399334922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3aa43423d032753b5cd2f11d57b18ecc.jpg","text":"TemporaryFile(/tmp/multipartBody1122477007590631361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693422566,"filename":"image_04112025_12_09_48_2107.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ea84e5967f7d7709dfcd509b73b56043.jpg","text":"TemporaryFile(/tmp/multipartBody8536378087292303624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693422566,"filename":"image_04112025_12_09_46_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7316cbbf20518748713efe7db2ab9a4c.jpg","text":"TemporaryFile(/tmp/multipartBody7022261925422231889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693422566,"filename":"image_04112025_12_09_55_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0457303a1eba2fbdcb21e8de5ed1c4d6.jpg","text":"TemporaryFile(/tmp/multipartBody4942219597443242229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693422566,"filename":"image_04112025_12_09_52_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d4c0543abaeeab109bfb1b9d8f9a6e9d.jpg","text":"TemporaryFile(/tmp/multipartBody6160076977238422437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693422566,"filename":"image_04112025_12_09_40_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7b60dab60873dcab071dbc1bf37f80c7.jpg","text":"TemporaryFile(/tmp/multipartBody373332076469605454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693422566,"filename":"image_04112025_12_09_43_3202.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334919","file1":"1399334918","file0":"1399334915","file4":"1399334921","file5":"1399334922","file3":"1399334920"},"map_files_photo_id_array":[{"photo_id":"1399334922","filename":"file5"},{"photo_id":"1399334919","filename":"file2"},{"photo_id":"1399334921","filename":"file4"},{"photo_id":"1399334918","filename":"file1"},{"photo_id":"1399334915","filename":"file0"},{"photo_id":"1399334920","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399334920":["hashtag1","hashtag2"]},{"1399334919":["hashtag1","hashtag2"]},{"1399334922":["hashtag1","hashtag2"]},{"1399334921":["hashtag1","hashtag2"]},{"1399334915":["hashtag1","hashtag2"]},{"1399334918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399334920, 1399334919, 1399334922, 1399334921, 1399334915, 1399334918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89977979660034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:23:22.111118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/12/image_14122025_07_13_04_9734.jpg', '/home/pi/Desktop/images/14122025/07/13/image_14122025_07_13_24_10742.jpg', '/home/pi/Desktop/images/14122025/07/13/image_14122025_07_13_34_9640.jpg', '/home/pi/Desktop/images/14122025/07/13/image_14122025_07_13_43_9643.jpg', '/home/pi/Desktop/images/14122025/07/13/image_14122025_07_14_04_9694.jpg', '/home/pi/Desktop/images/14122025/07/14/image_14122025_07_14_13_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/12/image_14122025_07_13_04_9734.jpg
/home/pi/Desktop/images/14122025/07/13/image_14122025_07_13_24_10742.jpg
/home/pi/Desktop/images/14122025/07/13/image_14122025_07_13_34_9640.jpg
/home/pi/Desktop/images/14122025/07/13/image_14122025_07_13_43_9643.jpg
/home/pi/Desktop/images/14122025/07/13/image_14122025_07_14_04_9694.jpg
/home/pi/Desktop/images/14122025/07/14/image_14122025_07_14_13_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":["1399334932","1399334926","1399334935","1399334923","1399334928","1399334930"],"photo_ids_order":["1399334923","1399334926","1399334928","1399334930","1399334932","1399334935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ae543b10c9e0d9c7dcca065ae10c8b4.jpg","text":"TemporaryFile(/tmp/multipartBody3280662355842443369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693462755,"filename":"image_14122025_07_14_04_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c7dda52145db8fc3cf828f038a90380.jpg","text":"TemporaryFile(/tmp/multipartBody1353167374601804247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693462755,"filename":"image_14122025_07_13_24_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/08db4c608f8916b15d4d960000a36ba8.jpg","text":"TemporaryFile(/tmp/multipartBody4768127202947212457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693462755,"filename":"image_14122025_07_14_13_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c691e4e2fdca6db1289a6e9abd213b9f.jpg","text":"TemporaryFile(/tmp/multipartBody5101847287292243420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693462755,"filename":"image_14122025_07_13_04_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9d57da10f5c858a824402208de153ef8.jpg","text":"TemporaryFile(/tmp/multipartBody1848660228325124751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693462755,"filename":"image_14122025_07_13_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27efd1b84b7e99d21b6e148f882b13d1.jpg","text":"TemporaryFile(/tmp/multipartBody127365793386574778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693462755,"filename":"image_14122025_07_13_43_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334928","file1":"1399334926","file0":"1399334923","file4":"1399334932","file5":"1399334935","file3":"1399334930"},"map_files_photo_id_array":[{"photo_id":"1399334935","filename":"file5"},{"photo_id":"1399334928","filename":"file2"},{"photo_id":"1399334932","filename":"file4"},{"photo_id":"1399334926","filename":"file1"},{"photo_id":"1399334923","filename":"file0"},{"photo_id":"1399334930","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399334932":["hashtag1","hashtag2"]},{"1399334926":["hashtag1","hashtag2"]},{"1399334935":["hashtag1","hashtag2"]},{"1399334923":["hashtag1","hashtag2"]},{"1399334928":["hashtag1","hashtag2"]},{"1399334930":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399334932, 1399334926, 1399334935, 1399334923, 1399334928, 1399334930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23514151573181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:24:03.031663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/14/image_14122025_07_14_24_10598.jpg', '/home/pi/Desktop/images/14122025/07/14/image_14122025_07_14_43_9650.jpg', '/home/pi/Desktop/images/14122025/07/14/image_14122025_07_14_54_10660.jpg', '/home/pi/Desktop/images/14122025/07/14/image_14122025_07_15_04_9861.jpg', '/home/pi/Desktop/images/14122025/07/15/image_14122025_07_15_14_9691.jpg', '/home/pi/Desktop/images/14122025/07/15/image_14122025_07_15_34_10729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/14/image_14122025_07_14_24_10598.jpg
/home/pi/Desktop/images/14122025/07/14/image_14122025_07_14_43_9650.jpg
/home/pi/Desktop/images/14122025/07/14/image_14122025_07_14_54_10660.jpg
/home/pi/Desktop/images/14122025/07/14/image_14122025_07_15_04_9861.jpg
/home/pi/Desktop/images/14122025/07/15/image_14122025_07_15_14_9691.jpg
/home/pi/Desktop/images/14122025/07/15/image_14122025_07_15_34_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":["1399334941","1399334938","1399334937","1399334940","1399334942","1399334939"],"photo_ids_order":["1399334937","1399334938","1399334939","1399334940","1399334941","1399334942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cb7a41f08bad9a8928b4d746b6169d1f.jpg","text":"TemporaryFile(/tmp/multipartBody7880074812664429690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693503795,"filename":"image_14122025_07_15_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/12/14/a965e7bd46f0125adb2f0ed228b83472.jpg","text":"TemporaryFile(/tmp/multipartBody2612436731380832403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693503795,"filename":"image_14122025_07_14_43_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c0f1ae69b3bacbce94754bc3054f7d84.jpg","text":"TemporaryFile(/tmp/multipartBody6514752380379793195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693503795,"filename":"image_14122025_07_14_24_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e5d58f4578c5420486d81a669ae1e181.jpg","text":"TemporaryFile(/tmp/multipartBody684241507730547932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693503795,"filename":"image_14122025_07_15_04_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/43f5145939c25cb9e2ce05fc93d87ea4.jpg","text":"TemporaryFile(/tmp/multipartBody244040991595312303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693503795,"filename":"image_14122025_07_15_34_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/571265064ae7fcc3d0165334cbaf19ea.jpg","text":"TemporaryFile(/tmp/multipartBody8802091887688583020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693503795,"filename":"image_14122025_07_14_54_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334939","file1":"1399334938","file0":"1399334937","file4":"1399334941","file5":"1399334942","file3":"1399334940"},"map_files_photo_id_array":[{"photo_id":"1399334942","filename":"file5"},{"photo_id":"1399334939","filename":"file2"},{"photo_id":"1399334941","filename":"file4"},{"photo_id":"1399334938","filename":"file1"},{"photo_id":"1399334937","filename":"file0"},{"photo_id":"1399334940","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399334941":["hashtag1","hashtag2"]},{"1399334938":["hashtag1","hashtag2"]},{"1399334937":["hashtag1","hashtag2"]},{"1399334940":["hashtag1","hashtag2"]},{"1399334942":["hashtag1","hashtag2"]},{"1399334939":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399334941, 1399334938, 1399334937, 1399334940, 1399334942, 1399334939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84392833709717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:24:42.303011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_57_2465.jpg', '/home/pi/Desktop/images/04112025/12/09/image_04112025_12_10_01_3676.jpg', '/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_04_2945.jpg', '/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_07_2904.jpg', '/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_15_8109.jpg', '/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_24_9161.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/09/image_04112025_12_09_57_2465.jpg
/home/pi/Desktop/images/04112025/12/09/image_04112025_12_10_01_3676.jpg
/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_04_2945.jpg
/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_07_2904.jpg
/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_15_8109.jpg
/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_24_9161.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399334947","1399334956","1399334958","1399334951","1399334960","1399334954"],"photo_ids_order":["1399334947","1399334951","1399334954","1399334956","1399334958","1399334960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/45c7ec7ebe16fa35942f2f4b259cfa5d.jpg","text":"TemporaryFile(/tmp/multipartBody6564630948200496317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693542983,"filename":"image_04112025_12_09_57_2465.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2aa705319546c0fe9b4905708d529f2e.jpg","text":"TemporaryFile(/tmp/multipartBody7217822866404436969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693542983,"filename":"image_04112025_12_10_07_2904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1935b6b34898e660ffa65c04fbb40c12.jpg","text":"TemporaryFile(/tmp/multipartBody5917002496926288852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693542983,"filename":"image_04112025_12_10_15_8109.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90f6f188a48a73dfd4ac4ca721f04555.jpg","text":"TemporaryFile(/tmp/multipartBody3376749730093443764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693542983,"filename":"image_04112025_12_10_01_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f31b1bf5de19124cbafca2fe5abadf20.jpg","text":"TemporaryFile(/tmp/multipartBody3842652296948660700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693542983,"filename":"image_04112025_12_10_24_9161.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a1390525d168adcf6024ba0c15182c1.jpg","text":"TemporaryFile(/tmp/multipartBody3442321968672553873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693542983,"filename":"image_04112025_12_10_04_2945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334954","file1":"1399334951","file0":"1399334947","file4":"1399334958","file5":"1399334960","file3":"1399334956"},"map_files_photo_id_array":[{"photo_id":"1399334960","filename":"file5"},{"photo_id":"1399334954","filename":"file2"},{"photo_id":"1399334958","filename":"file4"},{"photo_id":"1399334951","filename":"file1"},{"photo_id":"1399334947","filename":"file0"},{"photo_id":"1399334956","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399334947":["hashtag1","hashtag2"]},{"1399334956":["hashtag1","hashtag2"]},{"1399334958":["hashtag1","hashtag2"]},{"1399334951":["hashtag1","hashtag2"]},{"1399334960":["hashtag1","hashtag2"]},{"1399334954":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399334947, 1399334956, 1399334958, 1399334951, 1399334960, 1399334954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63042211532593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:25:22.525393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/15/image_14122025_07_15_44_9814.jpg', '/home/pi/Desktop/images/14122025/07/15/image_14122025_07_16_04_9784.jpg', '/home/pi/Desktop/images/14122025/07/16/image_14122025_07_16_43_9601.jpg', '/home/pi/Desktop/images/14122025/07/16/image_14122025_07_17_04_9833.jpg', '/home/pi/Desktop/images/14122025/07/17/image_14122025_07_17_23_9772.jpg', '/home/pi/Desktop/images/14122025/07/17/image_14122025_07_17_34_10855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/15/image_14122025_07_15_44_9814.jpg
/home/pi/Desktop/images/14122025/07/15/image_14122025_07_16_04_9784.jpg
/home/pi/Desktop/images/14122025/07/16/image_14122025_07_16_43_9601.jpg
/home/pi/Desktop/images/14122025/07/16/image_14122025_07_17_04_9833.jpg
/home/pi/Desktop/images/14122025/07/17/image_14122025_07_17_23_9772.jpg
/home/pi/Desktop/images/14122025/07/17/image_14122025_07_17_34_10855.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399334968","1399334961","1399334964","1399334972","1399334966","1399334962"],"photo_ids_order":["1399334961","1399334962","1399334964","1399334966","1399334968","1399334972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c676606f07072cdc6d6227c9b19dd8ee.jpg","text":"TemporaryFile(/tmp/multipartBody5695358068242864349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693583168,"filename":"image_14122025_07_17_23_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/57ff64b0edb71876f67dc12ee96eb229.jpg","text":"TemporaryFile(/tmp/multipartBody2756126212512185020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693583168,"filename":"image_14122025_07_15_44_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f866397f060d4fab84c1276b91b838a6.jpg","text":"TemporaryFile(/tmp/multipartBody669025782856680843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693583168,"filename":"image_14122025_07_16_43_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1db91295682c333332be0b822bcd5183.jpg","text":"TemporaryFile(/tmp/multipartBody1486766954412093804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693583168,"filename":"image_14122025_07_17_34_10855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/080cea4cb5dcf279be5c5d42a5c40a5c.jpg","text":"TemporaryFile(/tmp/multipartBody4823915259150595582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693583168,"filename":"image_14122025_07_17_04_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/884493ed227f27101d07e9aaa21e9e6f.jpg","text":"TemporaryFile(/tmp/multipartBody5849873063081422180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693583168,"filename":"image_14122025_07_16_04_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334964","file1":"1399334962","file0":"1399334961","file4":"1399334968","file5":"1399334972","file3":"1399334966"},"map_files_photo_id_array":[{"photo_id":"1399334972","filename":"file5"},{"photo_id":"1399334964","filename":"file2"},{"photo_id":"1399334968","filename":"file4"},{"photo_id":"1399334962","filename":"file1"},{"photo_id":"1399334961","filename":"file0"},{"photo_id":"1399334966","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399334968":["hashtag1","hashtag2"]},{"1399334961":["hashtag1","hashtag2"]},{"1399334964":["hashtag1","hashtag2"]},{"1399334972":["hashtag1","hashtag2"]},{"1399334966":["hashtag1","hashtag2"]},{"1399334962":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399334968, 1399334961, 1399334964, 1399334972, 1399334966, 1399334962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.130285024642944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:26:03.206573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/17/image_14122025_07_17_44_9584.jpg', '/home/pi/Desktop/images/14122025/07/17/image_14122025_07_17_54_9777.jpg', '/home/pi/Desktop/images/14122025/07/18/image_14122025_07_18_34_10576.jpg', '/home/pi/Desktop/images/14122025/07/18/image_14122025_07_18_44_9706.jpg', '/home/pi/Desktop/images/14122025/07/18/image_14122025_07_18_54_9835.jpg', '/home/pi/Desktop/images/14122025/07/19/image_14122025_07_19_13_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/17/image_14122025_07_17_44_9584.jpg
/home/pi/Desktop/images/14122025/07/17/image_14122025_07_17_54_9777.jpg
/home/pi/Desktop/images/14122025/07/18/image_14122025_07_18_34_10576.jpg
/home/pi/Desktop/images/14122025/07/18/image_14122025_07_18_44_9706.jpg
/home/pi/Desktop/images/14122025/07/18/image_14122025_07_18_54_9835.jpg
/home/pi/Desktop/images/14122025/07/19/image_14122025_07_19_13_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":["1399334979","1399334984","1399334978","1399334981","1399334980","1399334983"],"photo_ids_order":["1399334978","1399334979","1399334980","1399334981","1399334983","1399334984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76f63386c626788558c11a6ed7ae83cb.jpg","text":"TemporaryFile(/tmp/multipartBody397728168584834293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693623880,"filename":"image_14122025_07_17_54_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e277ea1ca18148bd08aa3c9d2d812209.jpg","text":"TemporaryFile(/tmp/multipartBody3790982421054009448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693623880,"filename":"image_14122025_07_19_13_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b6edec589a795599262889f87e60e03.jpg","text":"TemporaryFile(/tmp/multipartBody1576425230437687437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693623880,"filename":"image_14122025_07_17_44_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e5c777cc79efd03798f9797685386a0e.jpg","text":"TemporaryFile(/tmp/multipartBody7672596232068537040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693623880,"filename":"image_14122025_07_18_44_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24481875c35965d67a5d1b7e894d6dd9.jpg","text":"TemporaryFile(/tmp/multipartBody3876869300067294182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693623880,"filename":"image_14122025_07_18_34_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3eccf71cad0049b9cec8b81f9de5e1d.jpg","text":"TemporaryFile(/tmp/multipartBody4582309715940307726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693623880,"filename":"image_14122025_07_18_54_9835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334980","file1":"1399334979","file0":"1399334978","file4":"1399334983","file5":"1399334984","file3":"1399334981"},"map_files_photo_id_array":[{"photo_id":"1399334984","filename":"file5"},{"photo_id":"1399334980","filename":"file2"},{"photo_id":"1399334983","filename":"file4"},{"photo_id":"1399334979","filename":"file1"},{"photo_id":"1399334978","filename":"file0"},{"photo_id":"1399334981","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399334979":["hashtag1","hashtag2"]},{"1399334984":["hashtag1","hashtag2"]},{"1399334978":["hashtag1","hashtag2"]},{"1399334981":["hashtag1","hashtag2"]},{"1399334980":["hashtag1","hashtag2"]},{"1399334983":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399334979, 1399334984, 1399334978, 1399334981, 1399334980, 1399334983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54532766342163 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:26:42.717911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_26_1625.jpg', '/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_29_2644.jpg', '/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_30_1552.jpg', '/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_32_1592.jpg', '/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_33_1628.jpg', '/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_35_1658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_26_1625.jpg
/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_29_2644.jpg
/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_30_1552.jpg
/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_32_1592.jpg
/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_33_1628.jpg
/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_35_1658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399334997","1399335000","1399334996","1399334995","1399334989","1399334998"],"photo_ids_order":["1399334989","1399334995","1399334996","1399334997","1399334998","1399335000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/82cd44bf4433c797961a8aa41f9a357f.jpg","text":"TemporaryFile(/tmp/multipartBody2285527066196815406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693663379,"filename":"image_04112025_12_10_32_1592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/38a36cfc32f813fd5bd7f2ae77cf0798.jpg","text":"TemporaryFile(/tmp/multipartBody8529190110497843269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693663379,"filename":"image_04112025_12_10_35_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e484858fbac736ff4d3bebcbbf897161.jpg","text":"TemporaryFile(/tmp/multipartBody5258922508666527845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693663379,"filename":"image_04112025_12_10_30_1552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/291b41fe975be546add395efd63171d6.jpg","text":"TemporaryFile(/tmp/multipartBody3404969700804181753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693663379,"filename":"image_04112025_12_10_29_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/368afad9745bb02c4f75eb07c0d5e8bf.jpg","text":"TemporaryFile(/tmp/multipartBody5869683790721907064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693663379,"filename":"image_04112025_12_10_26_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0dcac96da257faa5691989cf4f72d23f.jpg","text":"TemporaryFile(/tmp/multipartBody2629542773934156152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693663379,"filename":"image_04112025_12_10_33_1628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399334996","file1":"1399334995","file0":"1399334989","file4":"1399334998","file5":"1399335000","file3":"1399334997"},"map_files_photo_id_array":[{"photo_id":"1399335000","filename":"file5"},{"photo_id":"1399334996","filename":"file2"},{"photo_id":"1399334998","filename":"file4"},{"photo_id":"1399334995","filename":"file1"},{"photo_id":"1399334989","filename":"file0"},{"photo_id":"1399334997","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399334997":["hashtag1","hashtag2"]},{"1399335000":["hashtag1","hashtag2"]},{"1399334996":["hashtag1","hashtag2"]},{"1399334995":["hashtag1","hashtag2"]},{"1399334989":["hashtag1","hashtag2"]},{"1399334998":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399334997, 1399335000, 1399334996, 1399334995, 1399334989, 1399334998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.3183217048645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 07:27:31.999648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:27:42.023727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_37_1549.jpg', '/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_38_1578.jpg', '/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_40_1544.jpg', '/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_43_3642.jpg', '/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_46_2631.jpg', '/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_54_5537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_37_1549.jpg
/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_38_1578.jpg
/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_40_1544.jpg
/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_43_3642.jpg
/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_46_2631.jpg
/home/pi/Desktop/images/04112025/12/10/image_04112025_12_10_54_5537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335013","1399335010","1399335012","1399335006","1399335011","1399335008"],"photo_ids_order":["1399335006","1399335008","1399335010","1399335011","1399335012","1399335013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fae34f062c6c73a132473d790e6df3d8.jpg","text":"TemporaryFile(/tmp/multipartBody4257776544608538992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693722706,"filename":"image_04112025_12_10_54_5537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f3aef13d96e396229d6abf93e5a7a53.jpg","text":"TemporaryFile(/tmp/multipartBody7314778042211540819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693722706,"filename":"image_04112025_12_10_40_1544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/64264f4f0f9aafab899f29a4b1f66a5e.jpg","text":"TemporaryFile(/tmp/multipartBody5636217955203045910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693722706,"filename":"image_04112025_12_10_46_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a281366e861225f5427fa432cee2f92c.jpg","text":"TemporaryFile(/tmp/multipartBody6299638741436099410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693722706,"filename":"image_04112025_12_10_37_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4430e97b4d8f83af87da11a30a7fbbea.jpg","text":"TemporaryFile(/tmp/multipartBody5811776221559695472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693722706,"filename":"image_04112025_12_10_43_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf4077a238ecd7254c988328bbe80b0c.jpg","text":"TemporaryFile(/tmp/multipartBody4319680573098421972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693722706,"filename":"image_04112025_12_10_38_1578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335010","file1":"1399335008","file0":"1399335006","file4":"1399335012","file5":"1399335013","file3":"1399335011"},"map_files_photo_id_array":[{"photo_id":"1399335013","filename":"file5"},{"photo_id":"1399335010","filename":"file2"},{"photo_id":"1399335012","filename":"file4"},{"photo_id":"1399335008","filename":"file1"},{"photo_id":"1399335006","filename":"file0"},{"photo_id":"1399335011","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335013":["hashtag1","hashtag2"]},{"1399335010":["hashtag1","hashtag2"]},{"1399335012":["hashtag1","hashtag2"]},{"1399335006":["hashtag1","hashtag2"]},{"1399335011":["hashtag1","hashtag2"]},{"1399335008":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335013, 1399335010, 1399335012, 1399335006, 1399335011, 1399335008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.590248346328735 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 07:28:32.289272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:28:42.281079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/11/image_04112025_12_11_04_9491.jpg', '/home/pi/Desktop/images/04112025/12/11/image_04112025_12_11_06_1905.jpg', '/home/pi/Desktop/images/04112025/12/11/image_04112025_12_11_07_1617.jpg', '/home/pi/Desktop/images/04112025/12/11/image_04112025_12_11_24_16701.jpg', '/home/pi/Desktop/images/04112025/12/11/image_04112025_12_11_59_33170.jpg', '/home/pi/Desktop/images/04112025/12/11/image_04112025_12_12_00_1748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/11/image_04112025_12_11_04_9491.jpg
/home/pi/Desktop/images/04112025/12/11/image_04112025_12_11_06_1905.jpg
/home/pi/Desktop/images/04112025/12/11/image_04112025_12_11_07_1617.jpg
/home/pi/Desktop/images/04112025/12/11/image_04112025_12_11_24_16701.jpg
/home/pi/Desktop/images/04112025/12/11/image_04112025_12_11_59_33170.jpg
/home/pi/Desktop/images/04112025/12/11/image_04112025_12_12_00_1748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335028","1399335022","1399335019","1399335024","1399335029","1399335026"],"photo_ids_order":["1399335019","1399335022","1399335024","1399335026","1399335028","1399335029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e47d61ce952e4f88d2fe4e194b44b6f.jpg","text":"TemporaryFile(/tmp/multipartBody2002143910653230774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693782942,"filename":"image_04112025_12_11_59_33170.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b752cec9642affc3123f917ba6b2bde.jpg","text":"TemporaryFile(/tmp/multipartBody6585861520512552764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693782942,"filename":"image_04112025_12_11_06_1905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54c1b3024f4048bf7db80188851556e4.jpg","text":"TemporaryFile(/tmp/multipartBody6767648577218521705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693782942,"filename":"image_04112025_12_11_04_9491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/30f8c6c5db4022bf311070ded720fbab.jpg","text":"TemporaryFile(/tmp/multipartBody4404197164821767036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693782942,"filename":"image_04112025_12_11_07_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa6e14e21266044ca1b933680e214611.jpg","text":"TemporaryFile(/tmp/multipartBody2720830864521258286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693782942,"filename":"image_04112025_12_12_00_1748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c92179a4f9c7850dbb18e4f4fbca636.jpg","text":"TemporaryFile(/tmp/multipartBody8633744436720524018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693782942,"filename":"image_04112025_12_11_24_16701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335024","file1":"1399335022","file0":"1399335019","file4":"1399335028","file5":"1399335029","file3":"1399335026"},"map_files_photo_id_array":[{"photo_id":"1399335029","filename":"file5"},{"photo_id":"1399335024","filename":"file2"},{"photo_id":"1399335028","filename":"file4"},{"photo_id":"1399335022","filename":"file1"},{"photo_id":"1399335019","filename":"file0"},{"photo_id":"1399335026","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335028":["hashtag1","hashtag2"]},{"1399335022":["hashtag1","hashtag2"]},{"1399335019":["hashtag1","hashtag2"]},{"1399335024":["hashtag1","hashtag2"]},{"1399335029":["hashtag1","hashtag2"]},{"1399335026":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335028, 1399335022, 1399335019, 1399335024, 1399335029, 1399335026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13801670074463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:29:22.599707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/19/image_14122025_07_19_24_10691.jpg', '/home/pi/Desktop/images/14122025/07/19/image_14122025_07_19_34_9678.jpg', '/home/pi/Desktop/images/14122025/07/19/image_14122025_07_19_43_9758.jpg', '/home/pi/Desktop/images/14122025/07/19/image_14122025_07_19_54_10718.jpg', '/home/pi/Desktop/images/14122025/07/19/image_14122025_07_20_04_9573.jpg', '/home/pi/Desktop/images/14122025/07/20/image_14122025_07_20_24_10553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/19/image_14122025_07_19_24_10691.jpg
/home/pi/Desktop/images/14122025/07/19/image_14122025_07_19_34_9678.jpg
/home/pi/Desktop/images/14122025/07/19/image_14122025_07_19_43_9758.jpg
/home/pi/Desktop/images/14122025/07/19/image_14122025_07_19_54_10718.jpg
/home/pi/Desktop/images/14122025/07/19/image_14122025_07_20_04_9573.jpg
/home/pi/Desktop/images/14122025/07/20/image_14122025_07_20_24_10553.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5369491577148438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 07:29:32.587799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:29:42.503129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_13_3013.jpg', '/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_17_3799.jpg', '/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_20_2664.jpg', '/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_23_2702.jpg', '/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_26_3622.jpg', '/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_29_2894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_13_3013.jpg
/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_17_3799.jpg
/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_20_2664.jpg
/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_23_2702.jpg
/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_26_3622.jpg
/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_29_2894.jpg
 val : 1 : upload photos 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":["1399335049","1399335042","1399335048","1399335053","1399335047","1399335046"],"photo_ids_order":["1399335042","1399335046","1399335047","1399335048","1399335049","1399335053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aaea9cd2d5d7ee448ef5d3e623c977d5.jpg","text":"TemporaryFile(/tmp/multipartBody350189165383063552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693843222,"filename":"image_04112025_12_13_26_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/682e8a876be4ff900072f4750170b7ab.jpg","text":"TemporaryFile(/tmp/multipartBody2495543284679276622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693843222,"filename":"image_04112025_12_13_13_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/39749b7a48e450af8851d684a5e5496d.jpg","text":"TemporaryFile(/tmp/multipartBody7993786298276420551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693843222,"filename":"image_04112025_12_13_23_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e83935832d17fa18455cc4ecb0451d52.jpg","text":"TemporaryFile(/tmp/multipartBody7300865230192859261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693843222,"filename":"image_04112025_12_13_29_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/73acef873bc8b8457f83435cde72a150.jpg","text":"TemporaryFile(/tmp/multipartBody1135788770164374794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693843222,"filename":"image_04112025_12_13_20_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/383461d42877f36b53b8c98742deed54.jpg","text":"TemporaryFile(/tmp/multipartBody6289616006959304606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693843222,"filename":"image_04112025_12_13_17_3799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335047","file1":"1399335046","file0":"1399335042","file4":"1399335049","file5":"1399335053","file3":"1399335048"},"map_files_photo_id_array":[{"photo_id":"1399335053","filename":"file5"},{"photo_id":"1399335047","filename":"file2"},{"photo_id":"1399335049","filename":"file4"},{"photo_id":"1399335046","filename":"file1"},{"photo_id":"1399335042","filename":"file0"},{"photo_id":"1399335048","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335049":["hashtag1","hashtag2"]},{"1399335042":["hashtag1","hashtag2"]},{"1399335048":["hashtag1","hashtag2"]},{"1399335053":["hashtag1","hashtag2"]},{"1399335047":["hashtag1","hashtag2"]},{"1399335046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335049, 1399335042, 1399335048, 1399335053, 1399335047, 1399335046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.47758173942566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:31:02.718524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/19/image_14122025_07_19_24_10691.jpg', '/home/pi/Desktop/images/14122025/07/19/image_14122025_07_19_34_9678.jpg', '/home/pi/Desktop/images/14122025/07/19/image_14122025_07_19_43_9758.jpg', '/home/pi/Desktop/images/14122025/07/19/image_14122025_07_19_54_10718.jpg', '/home/pi/Desktop/images/14122025/07/19/image_14122025_07_20_04_9573.jpg', '/home/pi/Desktop/images/14122025/07/20/image_14122025_07_20_24_10553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/19/image_14122025_07_19_24_10691.jpg
/home/pi/Desktop/images/14122025/07/19/image_14122025_07_19_34_9678.jpg
/home/pi/Desktop/images/14122025/07/19/image_14122025_07_19_43_9758.jpg
/home/pi/Desktop/images/14122025/07/19/image_14122025_07_19_54_10718.jpg
/home/pi/Desktop/images/14122025/07/19/image_14122025_07_20_04_9573.jpg
/home/pi/Desktop/images/14122025/07/20/image_14122025_07_20_24_10553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335060","1399335059","1399335062","1399335056","1399335064","1399335058"],"photo_ids_order":["1399335056","1399335058","1399335059","1399335060","1399335062","1399335064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a076ed5521e6fbfe3387bb7b5803536.jpg","text":"TemporaryFile(/tmp/multipartBody6750927230028436552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693923449,"filename":"image_14122025_07_19_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/12/14/2f44db1b6782606d189fe59a941930de.jpg","text":"TemporaryFile(/tmp/multipartBody1301692696142456997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693923449,"filename":"image_14122025_07_19_43_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c99dd12569748fe004d119e22fe1a889.jpg","text":"TemporaryFile(/tmp/multipartBody1684629378269792887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693923449,"filename":"image_14122025_07_20_04_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d6f31aedb9c9d2024ed4599ed6e741be.jpg","text":"TemporaryFile(/tmp/multipartBody3776897165570212130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693923449,"filename":"image_14122025_07_19_24_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a7eac8e747345e533044706802a75a3d.jpg","text":"TemporaryFile(/tmp/multipartBody7019505236653713842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693923449,"filename":"image_14122025_07_20_24_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a02121eb59bf35d766c278c8dea836b.jpg","text":"TemporaryFile(/tmp/multipartBody2388187317169814969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765693923449,"filename":"image_14122025_07_19_34_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335059","file1":"1399335058","file0":"1399335056","file4":"1399335062","file5":"1399335064","file3":"1399335060"},"map_files_photo_id_array":[{"photo_id":"1399335064","filename":"file5"},{"photo_id":"1399335059","filename":"file2"},{"photo_id":"1399335062","filename":"file4"},{"photo_id":"1399335058","filename":"file1"},{"photo_id":"1399335056","filename":"file0"},{"photo_id":"1399335060","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335060":["hashtag1","hashtag2"]},{"1399335059":["hashtag1","hashtag2"]},{"1399335062":["hashtag1","hashtag2"]},{"1399335056":["hashtag1","hashtag2"]},{"1399335064":["hashtag1","hashtag2"]},{"1399335058":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335060, 1399335059, 1399335062, 1399335056, 1399335064, 1399335058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.166988134384155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:32:02.805788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/20/image_14122025_07_20_34_9619.jpg', '/home/pi/Desktop/images/14122025/07/20/image_14122025_07_20_43_9724.jpg', '/home/pi/Desktop/images/14122025/07/20/image_14122025_07_20_54_10663.jpg', '/home/pi/Desktop/images/14122025/07/21/image_14122025_07_21_13_9639.jpg', '/home/pi/Desktop/images/14122025/07/21/image_14122025_07_21_24_10709.jpg', '/home/pi/Desktop/images/14122025/07/21/image_14122025_07_21_34_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/20/image_14122025_07_20_34_9619.jpg
/home/pi/Desktop/images/14122025/07/20/image_14122025_07_20_43_9724.jpg
/home/pi/Desktop/images/14122025/07/20/image_14122025_07_20_54_10663.jpg
/home/pi/Desktop/images/14122025/07/21/image_14122025_07_21_13_9639.jpg
/home/pi/Desktop/images/14122025/07/21/image_14122025_07_21_24_10709.jpg
/home/pi/Desktop/images/14122025/07/21/image_14122025_07_21_34_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.5505726337432861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 07:32:12.258615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:32:22.329885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/20/image_14122025_07_20_34_9619.jpg', '/home/pi/Desktop/images/14122025/07/20/image_14122025_07_20_43_9724.jpg', '/home/pi/Desktop/images/14122025/07/20/image_14122025_07_20_54_10663.jpg', '/home/pi/Desktop/images/14122025/07/21/image_14122025_07_21_13_9639.jpg', '/home/pi/Desktop/images/14122025/07/21/image_14122025_07_21_24_10709.jpg', '/home/pi/Desktop/images/14122025/07/21/image_14122025_07_21_34_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/20/image_14122025_07_20_34_9619.jpg
/home/pi/Desktop/images/14122025/07/20/image_14122025_07_20_43_9724.jpg
/home/pi/Desktop/images/14122025/07/20/image_14122025_07_20_54_10663.jpg
/home/pi/Desktop/images/14122025/07/21/image_14122025_07_21_13_9639.jpg
/home/pi/Desktop/images/14122025/07/21/image_14122025_07_21_24_10709.jpg
/home/pi/Desktop/images/14122025/07/21/image_14122025_07_21_34_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335084","1399335089","1399335080","1399335082","1399335076","1399335079"],"photo_ids_order":["1399335076","1399335079","1399335080","1399335082","1399335084","1399335089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9ad7200de6f83edeceba22282795019e.jpg","text":"TemporaryFile(/tmp/multipartBody3245055720424374226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694002969,"filename":"image_14122025_07_21_24_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6414800f6bbdf8889f486661474e78e6.jpg","text":"TemporaryFile(/tmp/multipartBody6634039275199600644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694002969,"filename":"image_14122025_07_21_34_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/41236a4b7bc5bb0cb923cc1b26908b6e.jpg","text":"TemporaryFile(/tmp/multipartBody7309506963396214789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694002969,"filename":"image_14122025_07_20_54_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f5e7fe7e3580e8c53068dc611fd56abd.jpg","text":"TemporaryFile(/tmp/multipartBody2224460469152476758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694002969,"filename":"image_14122025_07_21_13_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/34ebd1675d837e010fa11c327f04f451.jpg","text":"TemporaryFile(/tmp/multipartBody2025029347159388322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694002969,"filename":"image_14122025_07_20_34_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fa4a180d0d97899ed16323280c30feae.jpg","text":"TemporaryFile(/tmp/multipartBody8977492865374343284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694002969,"filename":"image_14122025_07_20_43_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335080","file1":"1399335079","file0":"1399335076","file4":"1399335084","file5":"1399335089","file3":"1399335082"},"map_files_photo_id_array":[{"photo_id":"1399335089","filename":"file5"},{"photo_id":"1399335080","filename":"file2"},{"photo_id":"1399335084","filename":"file4"},{"photo_id":"1399335079","filename":"file1"},{"photo_id":"1399335076","filename":"file0"},{"photo_id":"1399335082","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335084":["hashtag1","hashtag2"]},{"1399335089":["hashtag1","hashtag2"]},{"1399335080":["hashtag1","hashtag2"]},{"1399335082":["hashtag1","hashtag2"]},{"1399335076":["hashtag1","hashtag2"]},{"1399335079":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335084, 1399335089, 1399335080, 1399335082, 1399335076, 1399335079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.764254331588745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:33:03.222602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/21/image_14122025_07_21_43_9662.jpg', '/home/pi/Desktop/images/14122025/07/21/image_14122025_07_21_54_10780.jpg', '/home/pi/Desktop/images/14122025/07/21/image_14122025_07_22_04_9704.jpg', '/home/pi/Desktop/images/14122025/07/22/image_14122025_07_22_14_9751.jpg', '/home/pi/Desktop/images/14122025/07/22/image_14122025_07_22_23_9905.jpg', '/home/pi/Desktop/images/14122025/07/22/image_14122025_07_22_34_10561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/21/image_14122025_07_21_43_9662.jpg
/home/pi/Desktop/images/14122025/07/21/image_14122025_07_21_54_10780.jpg
/home/pi/Desktop/images/14122025/07/21/image_14122025_07_22_04_9704.jpg
/home/pi/Desktop/images/14122025/07/22/image_14122025_07_22_14_9751.jpg
/home/pi/Desktop/images/14122025/07/22/image_14122025_07_22_23_9905.jpg
/home/pi/Desktop/images/14122025/07/22/image_14122025_07_22_34_10561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335093","1399335095","1399335092","1399335094","1399335097","1399335091"],"photo_ids_order":["1399335091","1399335092","1399335093","1399335094","1399335095","1399335097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a732a2e84885e86f6350d8d85d080be6.jpg","text":"TemporaryFile(/tmp/multipartBody7024128869973882309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694043928,"filename":"image_14122025_07_22_04_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/543bdcea0675fffa668d330125d41296.jpg","text":"TemporaryFile(/tmp/multipartBody4513776435077042318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694043928,"filename":"image_14122025_07_22_23_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f614c8b99df791feb8e6c3334f291826.jpg","text":"TemporaryFile(/tmp/multipartBody61465110281460284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694043928,"filename":"image_14122025_07_21_54_10780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e282d8c2912962238cfe7fa7e7eb8938.jpg","text":"TemporaryFile(/tmp/multipartBody3588446901401215101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694043928,"filename":"image_14122025_07_22_14_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc2327c2ab7c7a538bd229d71373bda2.jpg","text":"TemporaryFile(/tmp/multipartBody5038799038598916285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694043928,"filename":"image_14122025_07_22_34_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a3ef56665a98891610eb587cf034c19.jpg","text":"TemporaryFile(/tmp/multipartBody7883562865959881920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694043928,"filename":"image_14122025_07_21_43_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335093","file1":"1399335092","file0":"1399335091","file4":"1399335095","file5":"1399335097","file3":"1399335094"},"map_files_photo_id_array":[{"photo_id":"1399335097","filename":"file5"},{"photo_id":"1399335093","filename":"file2"},{"photo_id":"1399335095","filename":"file4"},{"photo_id":"1399335092","filename":"file1"},{"photo_id":"1399335091","filename":"file0"},{"photo_id":"1399335094","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335093":["hashtag1","hashtag2"]},{"1399335095":["hashtag1","hashtag2"]},{"1399335092":["hashtag1","hashtag2"]},{"1399335094":["hashtag1","hashtag2"]},{"1399335097":["hashtag1","hashtag2"]},{"1399335091":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335093, 1399335095, 1399335092, 1399335094, 1399335097, 1399335091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0044629573822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:33:42.489192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_32_2620.jpg', '/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_36_4432.jpg', '/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_38_1621.jpg', '/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_47_9134.jpg', '/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_51_4008.jpg', '/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_53_1647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_32_2620.jpg
/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_36_4432.jpg
/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_38_1621.jpg
/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_47_9134.jpg
/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_51_4008.jpg
/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_53_1647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335106","1399335109","1399335103","1399335105","1399335108","1399335107"],"photo_ids_order":["1399335103","1399335105","1399335106","1399335107","1399335108","1399335109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f95e11c5a7534b201d8b53cecf584aed.jpg","text":"TemporaryFile(/tmp/multipartBody5697851620121752687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694083185,"filename":"image_04112025_12_13_38_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/57c304f0cf52b9b9378af054584ad9d9.jpg","text":"TemporaryFile(/tmp/multipartBody451935973549715176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694083185,"filename":"image_04112025_12_13_53_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8028e7d220535cfcb1c8aedaaaec5523.jpg","text":"TemporaryFile(/tmp/multipartBody2751126465928160076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694083185,"filename":"image_04112025_12_13_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/12/14/9b7b57c538f9704344e1b2c3536a7345.jpg","text":"TemporaryFile(/tmp/multipartBody8965973231245307931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694083185,"filename":"image_04112025_12_13_36_4432.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5826085959f151c952d79d3adf481fb0.jpg","text":"TemporaryFile(/tmp/multipartBody5501362638419176583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694083185,"filename":"image_04112025_12_13_51_4008.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b0287bb43d0a26169bd0ea732d6dd57.jpg","text":"TemporaryFile(/tmp/multipartBody7355804969860486180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694083185,"filename":"image_04112025_12_13_47_9134.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335106","file1":"1399335105","file0":"1399335103","file4":"1399335108","file5":"1399335109","file3":"1399335107"},"map_files_photo_id_array":[{"photo_id":"1399335109","filename":"file5"},{"photo_id":"1399335106","filename":"file2"},{"photo_id":"1399335108","filename":"file4"},{"photo_id":"1399335105","filename":"file1"},{"photo_id":"1399335103","filename":"file0"},{"photo_id":"1399335107","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335106":["hashtag1","hashtag2"]},{"1399335109":["hashtag1","hashtag2"]},{"1399335103":["hashtag1","hashtag2"]},{"1399335105":["hashtag1","hashtag2"]},{"1399335108":["hashtag1","hashtag2"]},{"1399335107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335106, 1399335109, 1399335103, 1399335105, 1399335108, 1399335107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90900135040283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:34:22.672099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/22/image_14122025_07_23_04_10820.jpg', '/home/pi/Desktop/images/14122025/07/23/image_14122025_07_23_14_9813.jpg', '/home/pi/Desktop/images/14122025/07/23/image_14122025_07_23_24_9836.jpg', '/home/pi/Desktop/images/14122025/07/23/image_14122025_07_23_33_9654.jpg', '/home/pi/Desktop/images/14122025/07/23/image_14122025_07_23_44_10659.jpg', '/home/pi/Desktop/images/14122025/07/23/image_14122025_07_23_54_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/22/image_14122025_07_23_04_10820.jpg
/home/pi/Desktop/images/14122025/07/23/image_14122025_07_23_14_9813.jpg
/home/pi/Desktop/images/14122025/07/23/image_14122025_07_23_24_9836.jpg
/home/pi/Desktop/images/14122025/07/23/image_14122025_07_23_33_9654.jpg
/home/pi/Desktop/images/14122025/07/23/image_14122025_07_23_44_10659.jpg
/home/pi/Desktop/images/14122025/07/23/image_14122025_07_23_54_9687.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5299210548400879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 07:34:32.736127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:34:42.798424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_54_1787.jpg', '/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_07_13080.jpg', '/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_13_5868.jpg', '/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_15_1720.jpg', '/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_17_1686.jpg', '/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_28_10950.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/13/image_04112025_12_13_54_1787.jpg
/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_07_13080.jpg
/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_13_5868.jpg
/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_15_1720.jpg
/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_17_1686.jpg
/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_28_10950.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335121","1399335123","1399335120","1399335122","1399335125","1399335124"],"photo_ids_order":["1399335120","1399335121","1399335122","1399335123","1399335124","1399335125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ea30381da6a94ff81f263351e9fac0f4.jpg","text":"TemporaryFile(/tmp/multipartBody5948502311143157220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694143500,"filename":"image_04112025_12_14_07_13080.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c3eec048a45e0bbe5164ec1eb22c87c.jpg","text":"TemporaryFile(/tmp/multipartBody2435391872330715092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694143500,"filename":"image_04112025_12_14_15_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/61ab4f9b384ac3eb1209d3f6586c8d3e.jpg","text":"TemporaryFile(/tmp/multipartBody3943053722712153120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694143500,"filename":"image_04112025_12_13_54_1787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/072467b0e2b3a08e3e4bd2b057a742eb.jpg","text":"TemporaryFile(/tmp/multipartBody8544827774721923957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694143500,"filename":"image_04112025_12_14_13_5868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2df763335900f066a4eeb5de5f4eb692.jpg","text":"TemporaryFile(/tmp/multipartBody1624936407127164762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694143500,"filename":"image_04112025_12_14_28_10950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e3bdc9367ddf350761574d9c72351648.jpg","text":"TemporaryFile(/tmp/multipartBody4199735700371890940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694143500,"filename":"image_04112025_12_14_17_1686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335122","file1":"1399335121","file0":"1399335120","file4":"1399335124","file5":"1399335125","file3":"1399335123"},"map_files_photo_id_array":[{"photo_id":"1399335125","filename":"file5"},{"photo_id":"1399335122","filename":"file2"},{"photo_id":"1399335124","filename":"file4"},{"photo_id":"1399335121","filename":"file1"},{"photo_id":"1399335120","filename":"file0"},{"photo_id":"1399335123","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335121":["hashtag1","hashtag2"]},{"1399335123":["hashtag1","hashtag2"]},{"1399335120":["hashtag1","hashtag2"]},{"1399335122":["hashtag1","hashtag2"]},{"1399335125":["hashtag1","hashtag2"]},{"1399335124":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335121, 1399335123, 1399335120, 1399335122, 1399335125, 1399335124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.983683824539185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 07:35:32.044288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:35:42.098274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_39_11648.jpg', '/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_45_5845.jpg', '/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_47_1603.jpg', '/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_48_1602.jpg', '/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_50_1713.jpg', '/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_52_1986.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_39_11648.jpg
/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_45_5845.jpg
/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_47_1603.jpg
/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_48_1602.jpg
/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_50_1713.jpg
/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_52_1986.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6227240562438965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:36:02.802082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/22/image_14122025_07_23_04_10820.jpg', '/home/pi/Desktop/images/14122025/07/23/image_14122025_07_23_14_9813.jpg', '/home/pi/Desktop/images/14122025/07/23/image_14122025_07_23_24_9836.jpg', '/home/pi/Desktop/images/14122025/07/23/image_14122025_07_23_33_9654.jpg', '/home/pi/Desktop/images/14122025/07/23/image_14122025_07_23_44_10659.jpg', '/home/pi/Desktop/images/14122025/07/23/image_14122025_07_23_54_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/22/image_14122025_07_23_04_10820.jpg
/home/pi/Desktop/images/14122025/07/23/image_14122025_07_23_14_9813.jpg
/home/pi/Desktop/images/14122025/07/23/image_14122025_07_23_24_9836.jpg
/home/pi/Desktop/images/14122025/07/23/image_14122025_07_23_33_9654.jpg
/home/pi/Desktop/images/14122025/07/23/image_14122025_07_23_44_10659.jpg
/home/pi/Desktop/images/14122025/07/23/image_14122025_07_23_54_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335147","1399335144","1399335140","1399335143","1399335142","1399335145"],"photo_ids_order":["1399335140","1399335142","1399335143","1399335144","1399335145","1399335147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe32a98b7cd7ad7c031a0e59db76120c.jpg","text":"TemporaryFile(/tmp/multipartBody274244190942315726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694223472,"filename":"image_14122025_07_23_54_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/936ea9c6d7001b18560e55005ee8343d.jpg","text":"TemporaryFile(/tmp/multipartBody7635950127220555671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694223472,"filename":"image_14122025_07_23_33_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/911ca59d3a5aa533103fe07f1348b6fa.jpg","text":"TemporaryFile(/tmp/multipartBody654510907847565814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694223472,"filename":"image_14122025_07_23_04_10820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d44b4da95edfbb3d77adbc472d316a7e.jpg","text":"TemporaryFile(/tmp/multipartBody7293958146960783320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694223472,"filename":"image_14122025_07_23_24_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b2f28ea7201a16cce495d7f8f917139.jpg","text":"TemporaryFile(/tmp/multipartBody7376639739871670889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694223472,"filename":"image_14122025_07_23_14_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b460f11836652d252398a996ac4c2f3e.jpg","text":"TemporaryFile(/tmp/multipartBody1969175268816413016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694223472,"filename":"image_14122025_07_23_44_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335143","file1":"1399335142","file0":"1399335140","file4":"1399335145","file5":"1399335147","file3":"1399335144"},"map_files_photo_id_array":[{"photo_id":"1399335147","filename":"file5"},{"photo_id":"1399335143","filename":"file2"},{"photo_id":"1399335145","filename":"file4"},{"photo_id":"1399335142","filename":"file1"},{"photo_id":"1399335140","filename":"file0"},{"photo_id":"1399335144","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335147":["hashtag1","hashtag2"]},{"1399335144":["hashtag1","hashtag2"]},{"1399335140":["hashtag1","hashtag2"]},{"1399335143":["hashtag1","hashtag2"]},{"1399335142":["hashtag1","hashtag2"]},{"1399335145":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335147, 1399335144, 1399335140, 1399335143, 1399335142, 1399335145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.686689138412476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:36:42.368759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_39_11648.jpg', '/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_45_5845.jpg', '/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_47_1603.jpg', '/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_48_1602.jpg', '/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_50_1713.jpg', '/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_52_1986.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_39_11648.jpg
/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_45_5845.jpg
/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_47_1603.jpg
/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_48_1602.jpg
/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_50_1713.jpg
/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_52_1986.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335154","1399335156","1399335159","1399335152","1399335155","1399335157"],"photo_ids_order":["1399335152","1399335154","1399335155","1399335156","1399335157","1399335159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b970b6267bbd583c86ee61d254731ca5.jpg","text":"TemporaryFile(/tmp/multipartBody6005364764845059110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694262940,"filename":"image_04112025_12_14_45_5845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3371f54d7c7e049163ff487a610d2a86.jpg","text":"TemporaryFile(/tmp/multipartBody1382339109154451493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694262940,"filename":"image_04112025_12_14_48_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/01d187a6a8b0af11452e25202ed301ff.jpg","text":"TemporaryFile(/tmp/multipartBody4601805097927122242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694262940,"filename":"image_04112025_12_14_52_1986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9bd455b48a272ca365d1c92265c23c37.jpg","text":"TemporaryFile(/tmp/multipartBody3097265292391632287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694262940,"filename":"image_04112025_12_14_39_11648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ed66dffd6126bb929fe86de12e8f9479.jpg","text":"TemporaryFile(/tmp/multipartBody8675827027606704262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694262940,"filename":"image_04112025_12_14_47_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8aa2deec9b855a6727658bd3e2ba82ae.jpg","text":"TemporaryFile(/tmp/multipartBody8583063447158122403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694262940,"filename":"image_04112025_12_14_50_1713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335155","file1":"1399335154","file0":"1399335152","file4":"1399335157","file5":"1399335159","file3":"1399335156"},"map_files_photo_id_array":[{"photo_id":"1399335159","filename":"file5"},{"photo_id":"1399335155","filename":"file2"},{"photo_id":"1399335157","filename":"file4"},{"photo_id":"1399335154","filename":"file1"},{"photo_id":"1399335152","filename":"file0"},{"photo_id":"1399335156","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335154":["hashtag1","hashtag2"]},{"1399335156":["hashtag1","hashtag2"]},{"1399335159":["hashtag1","hashtag2"]},{"1399335152":["hashtag1","hashtag2"]},{"1399335155":["hashtag1","hashtag2"]},{"1399335157":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335154, 1399335156, 1399335159, 1399335152, 1399335155, 1399335157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87836050987244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:37:22.621979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/23/image_14122025_07_24_03_9740.jpg', '/home/pi/Desktop/images/14122025/07/24/image_14122025_07_24_14_10579.jpg', '/home/pi/Desktop/images/14122025/07/24/image_14122025_07_24_24_9769.jpg', '/home/pi/Desktop/images/14122025/07/24/image_14122025_07_24_34_9741.jpg', '/home/pi/Desktop/images/14122025/07/24/image_14122025_07_24_43_9858.jpg', '/home/pi/Desktop/images/14122025/07/24/image_14122025_07_24_54_10747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/23/image_14122025_07_24_03_9740.jpg
/home/pi/Desktop/images/14122025/07/24/image_14122025_07_24_14_10579.jpg
/home/pi/Desktop/images/14122025/07/24/image_14122025_07_24_24_9769.jpg
/home/pi/Desktop/images/14122025/07/24/image_14122025_07_24_34_9741.jpg
/home/pi/Desktop/images/14122025/07/24/image_14122025_07_24_43_9858.jpg
/home/pi/Desktop/images/14122025/07/24/image_14122025_07_24_54_10747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335165","1399335162","1399335170","1399335167","1399335160","1399335172"],"photo_ids_order":["1399335160","1399335162","1399335165","1399335167","1399335170","1399335172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8f0b4a5d08e980e000a11d3f3bf7193e.jpg","text":"TemporaryFile(/tmp/multipartBody8347192916736608531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694303301,"filename":"image_14122025_07_24_24_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d260c6bd2b1cbff420d3766b86d651a.jpg","text":"TemporaryFile(/tmp/multipartBody5022911668198807335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694303301,"filename":"image_14122025_07_24_14_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f201aaab020d25e31d2d619c087ab83.jpg","text":"TemporaryFile(/tmp/multipartBody4065907494923409965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694303301,"filename":"image_14122025_07_24_43_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/96cdbb5174e92b590d8117c30e6e188d.jpg","text":"TemporaryFile(/tmp/multipartBody999519364542059069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694303301,"filename":"image_14122025_07_24_34_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/37f14da1dc80278338c9da6f0f001961.jpg","text":"TemporaryFile(/tmp/multipartBody7942827607893913606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694303301,"filename":"image_14122025_07_24_03_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba1bed538fc29d1dcce0fe4c8681eaec.jpg","text":"TemporaryFile(/tmp/multipartBody126075223125891258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694303301,"filename":"image_14122025_07_24_54_10747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335165","file1":"1399335162","file0":"1399335160","file4":"1399335170","file5":"1399335172","file3":"1399335167"},"map_files_photo_id_array":[{"photo_id":"1399335172","filename":"file5"},{"photo_id":"1399335165","filename":"file2"},{"photo_id":"1399335170","filename":"file4"},{"photo_id":"1399335162","filename":"file1"},{"photo_id":"1399335160","filename":"file0"},{"photo_id":"1399335167","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335165":["hashtag1","hashtag2"]},{"1399335162":["hashtag1","hashtag2"]},{"1399335170":["hashtag1","hashtag2"]},{"1399335167":["hashtag1","hashtag2"]},{"1399335160":["hashtag1","hashtag2"]},{"1399335172":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335165, 1399335162, 1399335170, 1399335167, 1399335160, 1399335172)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.76333022117615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 07:38:11.769336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:38:21.945747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/24/image_14122025_07_25_04_9779.jpg', '/home/pi/Desktop/images/14122025/07/25/image_14122025_07_25_23_9671.jpg', '/home/pi/Desktop/images/14122025/07/25/image_14122025_07_25_34_10771.jpg', '/home/pi/Desktop/images/14122025/07/25/image_14122025_07_25_44_9641.jpg', '/home/pi/Desktop/images/14122025/07/25/image_14122025_07_25_54_9712.jpg', '/home/pi/Desktop/images/14122025/07/25/image_14122025_07_26_03_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/24/image_14122025_07_25_04_9779.jpg
/home/pi/Desktop/images/14122025/07/25/image_14122025_07_25_23_9671.jpg
/home/pi/Desktop/images/14122025/07/25/image_14122025_07_25_34_10771.jpg
/home/pi/Desktop/images/14122025/07/25/image_14122025_07_25_44_9641.jpg
/home/pi/Desktop/images/14122025/07/25/image_14122025_07_25_54_9712.jpg
/home/pi/Desktop/images/14122025/07/25/image_14122025_07_26_03_9724.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5737450122833252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 07:38:31.901587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:38:41.798258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_54_1512.jpg', '/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_55_1660.jpg', '/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_57_1608.jpg', '/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_59_1675.jpg', '/home/pi/Desktop/images/04112025/12/14/image_04112025_12_15_00_1624.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_02_1581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_54_1512.jpg
/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_55_1660.jpg
/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_57_1608.jpg
/home/pi/Desktop/images/04112025/12/14/image_04112025_12_14_59_1675.jpg
/home/pi/Desktop/images/04112025/12/14/image_04112025_12_15_00_1624.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_02_1581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335195","1399335194","1399335182","1399335191","1399335193","1399335196"],"photo_ids_order":["1399335182","1399335191","1399335193","1399335194","1399335195","1399335196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d6d2aa3bacbd631032cc45d4a1bfcaa3.jpg","text":"TemporaryFile(/tmp/multipartBody6727750005279706127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694382500,"filename":"image_04112025_12_15_00_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1b9811bd3ca548fd9c5aa404cdfb3d4.jpg","text":"TemporaryFile(/tmp/multipartBody8884706820795666702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694382500,"filename":"image_04112025_12_14_59_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e5f55747c5dfb898b4e3f4a110fce4d.jpg","text":"TemporaryFile(/tmp/multipartBody1606759211746387748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694382500,"filename":"image_04112025_12_14_54_1512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7840bd24fea777664ebaf3f6585a8270.jpg","text":"TemporaryFile(/tmp/multipartBody2111418474972502618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694382500,"filename":"image_04112025_12_14_55_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/408510dc04737a7dcad646c767f7e68e.jpg","text":"TemporaryFile(/tmp/multipartBody4096804115732830036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694382500,"filename":"image_04112025_12_14_57_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b50f43ad4400e1773ea31ab660febbb0.jpg","text":"TemporaryFile(/tmp/multipartBody1439739829370801641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694382500,"filename":"image_04112025_12_15_02_1581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335193","file1":"1399335191","file0":"1399335182","file4":"1399335195","file5":"1399335196","file3":"1399335194"},"map_files_photo_id_array":[{"photo_id":"1399335196","filename":"file5"},{"photo_id":"1399335193","filename":"file2"},{"photo_id":"1399335195","filename":"file4"},{"photo_id":"1399335191","filename":"file1"},{"photo_id":"1399335182","filename":"file0"},{"photo_id":"1399335194","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335195":["hashtag1","hashtag2"]},{"1399335194":["hashtag1","hashtag2"]},{"1399335182":["hashtag1","hashtag2"]},{"1399335191":["hashtag1","hashtag2"]},{"1399335193":["hashtag1","hashtag2"]},{"1399335196":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335195, 1399335194, 1399335182, 1399335191, 1399335193, 1399335196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.466965436935425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:39:22.191783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/24/image_14122025_07_25_04_9779.jpg', '/home/pi/Desktop/images/14122025/07/25/image_14122025_07_25_23_9671.jpg', '/home/pi/Desktop/images/14122025/07/25/image_14122025_07_25_34_10771.jpg', '/home/pi/Desktop/images/14122025/07/25/image_14122025_07_25_44_9641.jpg', '/home/pi/Desktop/images/14122025/07/25/image_14122025_07_25_54_9712.jpg', '/home/pi/Desktop/images/14122025/07/25/image_14122025_07_26_03_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/24/image_14122025_07_25_04_9779.jpg
/home/pi/Desktop/images/14122025/07/25/image_14122025_07_25_23_9671.jpg
/home/pi/Desktop/images/14122025/07/25/image_14122025_07_25_34_10771.jpg
/home/pi/Desktop/images/14122025/07/25/image_14122025_07_25_44_9641.jpg
/home/pi/Desktop/images/14122025/07/25/image_14122025_07_25_54_9712.jpg
/home/pi/Desktop/images/14122025/07/25/image_14122025_07_26_03_9724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335205","1399335198","1399335202","1399335207","1399335200","1399335203"],"photo_ids_order":["1399335198","1399335200","1399335202","1399335203","1399335205","1399335207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad515eb61e90e33b1edae81eb41fda6f.jpg","text":"TemporaryFile(/tmp/multipartBody2987813181445356918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694422830,"filename":"image_14122025_07_25_54_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a40b339aab99ca57e3d3035211b461ea.jpg","text":"TemporaryFile(/tmp/multipartBody1736601447157867690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694422830,"filename":"image_14122025_07_25_04_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/62f815967b4d8caf5c8829f0e95f708c.jpg","text":"TemporaryFile(/tmp/multipartBody8091689831570026396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694422830,"filename":"image_14122025_07_25_34_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7521370822c0e62ced0b90bbaf894bf2.jpg","text":"TemporaryFile(/tmp/multipartBody1206956498420340883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694422830,"filename":"image_14122025_07_26_03_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b34769961ac346e8f19d9d2e0a815be.jpg","text":"TemporaryFile(/tmp/multipartBody7401323770415967599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694422830,"filename":"image_14122025_07_25_23_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a68d25dbce6b06a7b2cdc8ba3d903bcc.jpg","text":"TemporaryFile(/tmp/multipartBody894849702939334939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694422830,"filename":"image_14122025_07_25_44_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335202","file1":"1399335200","file0":"1399335198","file4":"1399335205","file5":"1399335207","file3":"1399335203"},"map_files_photo_id_array":[{"photo_id":"1399335207","filename":"file5"},{"photo_id":"1399335202","filename":"file2"},{"photo_id":"1399335205","filename":"file4"},{"photo_id":"1399335200","filename":"file1"},{"photo_id":"1399335198","filename":"file0"},{"photo_id":"1399335203","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335205":["hashtag1","hashtag2"]},{"1399335198":["hashtag1","hashtag2"]},{"1399335202":["hashtag1","hashtag2"]},{"1399335207":["hashtag1","hashtag2"]},{"1399335200":["hashtag1","hashtag2"]},{"1399335203":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335205, 1399335198, 1399335202, 1399335207, 1399335200, 1399335203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.530643939971924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:40:02.712731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/26/image_14122025_07_26_34_9755.jpg', '/home/pi/Desktop/images/14122025/07/26/image_14122025_07_26_43_9855.jpg', '/home/pi/Desktop/images/14122025/07/26/image_14122025_07_26_54_10806.jpg', '/home/pi/Desktop/images/14122025/07/26/image_14122025_07_27_04_9591.jpg', '/home/pi/Desktop/images/14122025/07/27/image_14122025_07_27_14_9865.jpg', '/home/pi/Desktop/images/14122025/07/27/image_14122025_07_27_23_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/26/image_14122025_07_26_34_9755.jpg
/home/pi/Desktop/images/14122025/07/26/image_14122025_07_26_43_9855.jpg
/home/pi/Desktop/images/14122025/07/26/image_14122025_07_26_54_10806.jpg
/home/pi/Desktop/images/14122025/07/26/image_14122025_07_27_04_9591.jpg
/home/pi/Desktop/images/14122025/07/27/image_14122025_07_27_14_9865.jpg
/home/pi/Desktop/images/14122025/07/27/image_14122025_07_27_23_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":["1399335214","1399335216","1399335210","1399335213","1399335215","1399335218"],"photo_ids_order":["1399335210","1399335213","1399335214","1399335215","1399335216","1399335218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/853b1d945569e4b2bb74057ac1d2db94.jpg","text":"TemporaryFile(/tmp/multipartBody3808309022395091462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694463414,"filename":"image_14122025_07_26_54_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/46e2c33354301a4d3a2aa44b6aaf7236.jpg","text":"TemporaryFile(/tmp/multipartBody687016075432776090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694463414,"filename":"image_14122025_07_27_14_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ec16f9ce75baf380d058d2940d0a202.jpg","text":"TemporaryFile(/tmp/multipartBody8152389324846706792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694463414,"filename":"image_14122025_07_26_34_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5bb6a0d1f2ea8868d9849179abd2498d.jpg","text":"TemporaryFile(/tmp/multipartBody9137824319317926109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694463414,"filename":"image_14122025_07_26_43_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c91d4c8567fe4f4f7c7a03cc0589bf2.jpg","text":"TemporaryFile(/tmp/multipartBody6450113288199928903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694463414,"filename":"image_14122025_07_27_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/12/14/5081d7704763a9817d81b55386ca8667.jpg","text":"TemporaryFile(/tmp/multipartBody8492598542778922153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694463414,"filename":"image_14122025_07_27_23_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335214","file1":"1399335213","file0":"1399335210","file4":"1399335216","file5":"1399335218","file3":"1399335215"},"map_files_photo_id_array":[{"photo_id":"1399335218","filename":"file5"},{"photo_id":"1399335214","filename":"file2"},{"photo_id":"1399335216","filename":"file4"},{"photo_id":"1399335213","filename":"file1"},{"photo_id":"1399335210","filename":"file0"},{"photo_id":"1399335215","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335214":["hashtag1","hashtag2"]},{"1399335216":["hashtag1","hashtag2"]},{"1399335210":["hashtag1","hashtag2"]},{"1399335213":["hashtag1","hashtag2"]},{"1399335215":["hashtag1","hashtag2"]},{"1399335218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335214, 1399335216, 1399335210, 1399335213, 1399335215, 1399335218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.642565965652466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:40:42.342883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_04_1901.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_05_1581.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_07_1719.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_09_1769.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_10_1618.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_12_1634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_04_1901.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_05_1581.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_07_1719.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_09_1769.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_10_1618.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_12_1634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335226","1399335229","1399335228","1399335231","1399335227","1399335223"],"photo_ids_order":["1399335223","1399335226","1399335227","1399335228","1399335229","1399335231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8cc937df0b67a7fb44bf48e7a35e018d.jpg","text":"TemporaryFile(/tmp/multipartBody8145598001302270931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694503035,"filename":"image_04112025_12_15_05_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eb7631599ed7682a0df1e31c68a90b8b.jpg","text":"TemporaryFile(/tmp/multipartBody2447253444847601071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694503035,"filename":"image_04112025_12_15_10_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f2b8623b559d80690ded0d7fd46d37cb.jpg","text":"TemporaryFile(/tmp/multipartBody5779989982464651961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694503035,"filename":"image_04112025_12_15_09_1769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b6c43642875a4a253fd4c363180e757.jpg","text":"TemporaryFile(/tmp/multipartBody5388535082427737677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694503035,"filename":"image_04112025_12_15_12_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2720bb2fa1902e63e5c6ec67d92146a5.jpg","text":"TemporaryFile(/tmp/multipartBody782198116704424676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694503035,"filename":"image_04112025_12_15_07_1719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a574dab992c4491e133a152b64e8762.jpg","text":"TemporaryFile(/tmp/multipartBody1209293573674669257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694503035,"filename":"image_04112025_12_15_04_1901.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335227","file1":"1399335226","file0":"1399335223","file4":"1399335229","file5":"1399335231","file3":"1399335228"},"map_files_photo_id_array":[{"photo_id":"1399335231","filename":"file5"},{"photo_id":"1399335227","filename":"file2"},{"photo_id":"1399335229","filename":"file4"},{"photo_id":"1399335226","filename":"file1"},{"photo_id":"1399335223","filename":"file0"},{"photo_id":"1399335228","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335226":["hashtag1","hashtag2"]},{"1399335229":["hashtag1","hashtag2"]},{"1399335228":["hashtag1","hashtag2"]},{"1399335231":["hashtag1","hashtag2"]},{"1399335227":["hashtag1","hashtag2"]},{"1399335223":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335226, 1399335229, 1399335228, 1399335231, 1399335227, 1399335223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07996225357056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:41:22.596297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/27/image_14122025_07_27_33_9900.jpg', '/home/pi/Desktop/images/14122025/07/27/image_14122025_07_27_44_10819.jpg', '/home/pi/Desktop/images/14122025/07/27/image_14122025_07_28_03_9709.jpg', '/home/pi/Desktop/images/14122025/07/28/image_14122025_07_28_14_10602.jpg', '/home/pi/Desktop/images/14122025/07/28/image_14122025_07_28_24_9617.jpg', '/home/pi/Desktop/images/14122025/07/28/image_14122025_07_28_33_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/27/image_14122025_07_27_33_9900.jpg
/home/pi/Desktop/images/14122025/07/27/image_14122025_07_27_44_10819.jpg
/home/pi/Desktop/images/14122025/07/27/image_14122025_07_28_03_9709.jpg
/home/pi/Desktop/images/14122025/07/28/image_14122025_07_28_14_10602.jpg
/home/pi/Desktop/images/14122025/07/28/image_14122025_07_28_24_9617.jpg
/home/pi/Desktop/images/14122025/07/28/image_14122025_07_28_33_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335247","1399335235","1399335240","1399335237","1399335233","1399335242"],"photo_ids_order":["1399335233","1399335235","1399335237","1399335240","1399335242","1399335247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f9ec97aa6e08b35e911a3fbe26b6996a.jpg","text":"TemporaryFile(/tmp/multipartBody6177111653061031733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694543235,"filename":"image_14122025_07_28_33_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/055368f6a7154dd347bf727ecda86f32.jpg","text":"TemporaryFile(/tmp/multipartBody2725124167072729252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694543235,"filename":"image_14122025_07_27_44_10819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c994eca5d68641892bb73400270003f0.jpg","text":"TemporaryFile(/tmp/multipartBody6581358867860535500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694543235,"filename":"image_14122025_07_28_14_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/668d8b7688e358278fedc7b3df3693d7.jpg","text":"TemporaryFile(/tmp/multipartBody8040830431783972446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694543235,"filename":"image_14122025_07_28_03_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e99e8306efad70fdc8983894483323bf.jpg","text":"TemporaryFile(/tmp/multipartBody7292699769613994302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694543235,"filename":"image_14122025_07_27_33_9900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2863dc47a9967f21f47e15892e59cd9f.jpg","text":"TemporaryFile(/tmp/multipartBody7349682576770312437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694543235,"filename":"image_14122025_07_28_24_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335237","file1":"1399335235","file0":"1399335233","file4":"1399335242","file5":"1399335247","file3":"1399335240"},"map_files_photo_id_array":[{"photo_id":"1399335247","filename":"file5"},{"photo_id":"1399335237","filename":"file2"},{"photo_id":"1399335242","filename":"file4"},{"photo_id":"1399335235","filename":"file1"},{"photo_id":"1399335233","filename":"file0"},{"photo_id":"1399335240","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335247":["hashtag1","hashtag2"]},{"1399335235":["hashtag1","hashtag2"]},{"1399335240":["hashtag1","hashtag2"]},{"1399335237":["hashtag1","hashtag2"]},{"1399335233":["hashtag1","hashtag2"]},{"1399335242":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335247, 1399335235, 1399335240, 1399335237, 1399335233, 1399335242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86034846305847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 07:42:11.897363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:42:21.935026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/28/image_14122025_07_28_44_10616.jpg', '/home/pi/Desktop/images/14122025/07/28/image_14122025_07_28_54_9596.jpg', '/home/pi/Desktop/images/14122025/07/28/image_14122025_07_29_03_9705.jpg', '/home/pi/Desktop/images/14122025/07/29/image_14122025_07_29_14_10665.jpg', '/home/pi/Desktop/images/14122025/07/29/image_14122025_07_29_24_9730.jpg', '/home/pi/Desktop/images/14122025/07/29/image_14122025_07_29_33_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/28/image_14122025_07_28_44_10616.jpg
/home/pi/Desktop/images/14122025/07/28/image_14122025_07_28_54_9596.jpg
/home/pi/Desktop/images/14122025/07/28/image_14122025_07_29_03_9705.jpg
/home/pi/Desktop/images/14122025/07/29/image_14122025_07_29_14_10665.jpg
/home/pi/Desktop/images/14122025/07/29/image_14122025_07_29_24_9730.jpg
/home/pi/Desktop/images/14122025/07/29/image_14122025_07_29_33_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335252","1399335249","1399335260","1399335254","1399335256","1399335250"],"photo_ids_order":["1399335249","1399335250","1399335252","1399335254","1399335256","1399335260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ab446ece75dac3b8301c181d81dbebf.jpg","text":"TemporaryFile(/tmp/multipartBody7963567250612477965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694602573,"filename":"image_14122025_07_29_03_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88c3ac7142970e0dc004dbfc406c3077.jpg","text":"TemporaryFile(/tmp/multipartBody2794349704494975825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694602573,"filename":"image_14122025_07_28_44_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fa0a2ea430cf96e9e7cd9beda603d05e.jpg","text":"TemporaryFile(/tmp/multipartBody1006063907039600898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694602573,"filename":"image_14122025_07_29_33_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9d184b8f7acfda5b8de1e59496380e74.jpg","text":"TemporaryFile(/tmp/multipartBody8606651059200359192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694602573,"filename":"image_14122025_07_29_14_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6aa2f45f5e7804dbbb90936d3dbd5829.jpg","text":"TemporaryFile(/tmp/multipartBody4203509986606047113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694602573,"filename":"image_14122025_07_29_24_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf08d35721e9615e16586d28dc352722.jpg","text":"TemporaryFile(/tmp/multipartBody7433348529409585402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694602573,"filename":"image_14122025_07_28_54_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335252","file1":"1399335250","file0":"1399335249","file4":"1399335256","file5":"1399335260","file3":"1399335254"},"map_files_photo_id_array":[{"photo_id":"1399335260","filename":"file5"},{"photo_id":"1399335252","filename":"file2"},{"photo_id":"1399335256","filename":"file4"},{"photo_id":"1399335250","filename":"file1"},{"photo_id":"1399335249","filename":"file0"},{"photo_id":"1399335254","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335252":["hashtag1","hashtag2"]},{"1399335249":["hashtag1","hashtag2"]},{"1399335260":["hashtag1","hashtag2"]},{"1399335254":["hashtag1","hashtag2"]},{"1399335256":["hashtag1","hashtag2"]},{"1399335250":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335252, 1399335249, 1399335260, 1399335254, 1399335256, 1399335250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.590372800827026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:43:02.937301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/29/image_14122025_07_29_44_10617.jpg', '/home/pi/Desktop/images/14122025/07/30/image_14122025_07_30_24_9725.jpg', '/home/pi/Desktop/images/14122025/07/30/image_14122025_07_30_34_9766.jpg', '/home/pi/Desktop/images/14122025/07/30/image_14122025_07_30_43_9827.jpg', '/home/pi/Desktop/images/14122025/07/30/image_14122025_07_30_54_10728.jpg', '/home/pi/Desktop/images/14122025/07/30/image_14122025_07_31_04_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/29/image_14122025_07_29_44_10617.jpg
/home/pi/Desktop/images/14122025/07/30/image_14122025_07_30_24_9725.jpg
/home/pi/Desktop/images/14122025/07/30/image_14122025_07_30_34_9766.jpg
/home/pi/Desktop/images/14122025/07/30/image_14122025_07_30_43_9827.jpg
/home/pi/Desktop/images/14122025/07/30/image_14122025_07_30_54_10728.jpg
/home/pi/Desktop/images/14122025/07/30/image_14122025_07_31_04_9761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335270","1399335267","1399335272","1399335269","1399335271","1399335265"],"photo_ids_order":["1399335265","1399335267","1399335269","1399335270","1399335271","1399335272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13b26516b9d44f9ee75fcd331d0cf02c.jpg","text":"TemporaryFile(/tmp/multipartBody6674780313605803423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694643640,"filename":"image_14122025_07_30_43_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7c5a283b98f11140c9c09c905c5b73aa.jpg","text":"TemporaryFile(/tmp/multipartBody7247269107796739553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694643640,"filename":"image_14122025_07_30_24_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/97fc1ec7e98806716af3789516c3ddb0.jpg","text":"TemporaryFile(/tmp/multipartBody1700487901383017413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694643640,"filename":"image_14122025_07_31_04_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3ae844dbc25dcac0c3a60eafc2a95530.jpg","text":"TemporaryFile(/tmp/multipartBody8641133474168553801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694643640,"filename":"image_14122025_07_30_34_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c09fe8264d88cfdef63d7492ccf8cc8.jpg","text":"TemporaryFile(/tmp/multipartBody7970944539834681373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694643640,"filename":"image_14122025_07_30_54_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6938613b1d9dd8255a116a07b5b0b0bc.jpg","text":"TemporaryFile(/tmp/multipartBody4683964463600565795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694643640,"filename":"image_14122025_07_29_44_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335269","file1":"1399335267","file0":"1399335265","file4":"1399335271","file5":"1399335272","file3":"1399335270"},"map_files_photo_id_array":[{"photo_id":"1399335272","filename":"file5"},{"photo_id":"1399335269","filename":"file2"},{"photo_id":"1399335271","filename":"file4"},{"photo_id":"1399335267","filename":"file1"},{"photo_id":"1399335265","filename":"file0"},{"photo_id":"1399335270","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335270":["hashtag1","hashtag2"]},{"1399335267":["hashtag1","hashtag2"]},{"1399335272":["hashtag1","hashtag2"]},{"1399335269":["hashtag1","hashtag2"]},{"1399335271":["hashtag1","hashtag2"]},{"1399335265":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335270, 1399335267, 1399335272, 1399335269, 1399335271, 1399335265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6007239818573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:43:42.190096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_13_1542.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_15_1672.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_17_1544.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_24_7708.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_26_1667.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_28_1555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_13_1542.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_15_1672.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_17_1544.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_24_7708.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_26_1667.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_28_1555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335282","1399335285","1399335273","1399335276","1399335278","1399335280"],"photo_ids_order":["1399335273","1399335276","1399335278","1399335280","1399335282","1399335285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e3881da058ffba1ca2a0765435f1569e.jpg","text":"TemporaryFile(/tmp/multipartBody990298197591856082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694682858,"filename":"image_04112025_12_15_26_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/344089cc3027c0a96bcf3cb85d7ed0c5.jpg","text":"TemporaryFile(/tmp/multipartBody4331786525746022492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694682858,"filename":"image_04112025_12_15_28_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c3d941f25d17d19bfee0cd0cc9bf48cd.jpg","text":"TemporaryFile(/tmp/multipartBody4833398220908421629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694682858,"filename":"image_04112025_12_15_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/12/14/0658b0c87cfe53cab631671adc2c0975.jpg","text":"TemporaryFile(/tmp/multipartBody4210448908681176017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694682858,"filename":"image_04112025_12_15_15_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/444ccd35100b291ab24714cc031b0161.jpg","text":"TemporaryFile(/tmp/multipartBody5387617927481792914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694682858,"filename":"image_04112025_12_15_17_1544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f8c257d9e88390788ce2d81991aca48.jpg","text":"TemporaryFile(/tmp/multipartBody7106702274027153342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694682858,"filename":"image_04112025_12_15_24_7708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335278","file1":"1399335276","file0":"1399335273","file4":"1399335282","file5":"1399335285","file3":"1399335280"},"map_files_photo_id_array":[{"photo_id":"1399335285","filename":"file5"},{"photo_id":"1399335278","filename":"file2"},{"photo_id":"1399335282","filename":"file4"},{"photo_id":"1399335276","filename":"file1"},{"photo_id":"1399335273","filename":"file0"},{"photo_id":"1399335280","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335282":["hashtag1","hashtag2"]},{"1399335285":["hashtag1","hashtag2"]},{"1399335273":["hashtag1","hashtag2"]},{"1399335276":["hashtag1","hashtag2"]},{"1399335278":["hashtag1","hashtag2"]},{"1399335280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335282, 1399335285, 1399335273, 1399335276, 1399335278, 1399335280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18243408203125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:44:22.597107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/31/image_14122025_07_31_14_9752.jpg', '/home/pi/Desktop/images/14122025/07/31/image_14122025_07_31_24_10073.jpg', '/home/pi/Desktop/images/14122025/07/31/image_14122025_07_31_33_9596.jpg', '/home/pi/Desktop/images/14122025/07/31/image_14122025_07_31_44_10705.jpg', '/home/pi/Desktop/images/14122025/07/31/image_14122025_07_31_54_9654.jpg', '/home/pi/Desktop/images/14122025/07/31/image_14122025_07_32_03_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/31/image_14122025_07_31_14_9752.jpg
/home/pi/Desktop/images/14122025/07/31/image_14122025_07_31_24_10073.jpg
/home/pi/Desktop/images/14122025/07/31/image_14122025_07_31_33_9596.jpg
/home/pi/Desktop/images/14122025/07/31/image_14122025_07_31_44_10705.jpg
/home/pi/Desktop/images/14122025/07/31/image_14122025_07_31_54_9654.jpg
/home/pi/Desktop/images/14122025/07/31/image_14122025_07_32_03_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":["1399335294","1399335300","1399335296","1399335290","1399335292","1399335295"],"photo_ids_order":["1399335290","1399335292","1399335294","1399335295","1399335296","1399335300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b10bf1b2b23a8cc86767a05aee1155a6.jpg","text":"TemporaryFile(/tmp/multipartBody2176541299665377020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694723276,"filename":"image_14122025_07_31_33_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9465dc77a4a6db216bfc2f94a3f5aa96.jpg","text":"TemporaryFile(/tmp/multipartBody4716856987412782623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694723276,"filename":"image_14122025_07_32_03_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/41390f30bd074ab8a6cf7253a16d0a29.jpg","text":"TemporaryFile(/tmp/multipartBody9005281915334958413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694723276,"filename":"image_14122025_07_31_54_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/af92cf141053ea1d77c484c61daadeea.jpg","text":"TemporaryFile(/tmp/multipartBody7750495774568908958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694723276,"filename":"image_14122025_07_31_14_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a7200e7fc4070802582bd4f9f7220952.jpg","text":"TemporaryFile(/tmp/multipartBody1465606334932322547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694723276,"filename":"image_14122025_07_31_24_10073.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e82685fb96e7c74cc85e49084645b970.jpg","text":"TemporaryFile(/tmp/multipartBody2498374643146096168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694723276,"filename":"image_14122025_07_31_44_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335294","file1":"1399335292","file0":"1399335290","file4":"1399335296","file5":"1399335300","file3":"1399335295"},"map_files_photo_id_array":[{"photo_id":"1399335300","filename":"file5"},{"photo_id":"1399335294","filename":"file2"},{"photo_id":"1399335296","filename":"file4"},{"photo_id":"1399335292","filename":"file1"},{"photo_id":"1399335290","filename":"file0"},{"photo_id":"1399335295","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335294":["hashtag1","hashtag2"]},{"1399335300":["hashtag1","hashtag2"]},{"1399335296":["hashtag1","hashtag2"]},{"1399335290":["hashtag1","hashtag2"]},{"1399335292":["hashtag1","hashtag2"]},{"1399335295":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335294, 1399335300, 1399335296, 1399335290, 1399335292, 1399335295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18726658821106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:45:03.356140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/32/image_14122025_07_32_14_10631.jpg', '/home/pi/Desktop/images/14122025/07/32/image_14122025_07_32_24_9685.jpg', '/home/pi/Desktop/images/14122025/07/32/image_14122025_07_32_34_10584.jpg', '/home/pi/Desktop/images/14122025/07/32/image_14122025_07_32_44_9816.jpg', '/home/pi/Desktop/images/14122025/07/32/image_14122025_07_32_54_9751.jpg', '/home/pi/Desktop/images/14122025/07/32/image_14122025_07_33_04_9814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/32/image_14122025_07_32_14_10631.jpg
/home/pi/Desktop/images/14122025/07/32/image_14122025_07_32_24_9685.jpg
/home/pi/Desktop/images/14122025/07/32/image_14122025_07_32_34_10584.jpg
/home/pi/Desktop/images/14122025/07/32/image_14122025_07_32_44_9816.jpg
/home/pi/Desktop/images/14122025/07/32/image_14122025_07_32_54_9751.jpg
/home/pi/Desktop/images/14122025/07/32/image_14122025_07_33_04_9814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335310","1399335313","1399335315","1399335312","1399335314","1399335317"],"photo_ids_order":["1399335310","1399335312","1399335313","1399335314","1399335315","1399335317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d4882ed66f274643cb26bedf2021fb6f.jpg","text":"TemporaryFile(/tmp/multipartBody6920725842344922177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694764068,"filename":"image_14122025_07_32_14_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b0330165a6eb9ef81e518bffe707f4b.jpg","text":"TemporaryFile(/tmp/multipartBody8743457520373219100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694764068,"filename":"image_14122025_07_32_34_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ed388bb9cdecc03d5a4580e169e0888.jpg","text":"TemporaryFile(/tmp/multipartBody665829529188826531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694764068,"filename":"image_14122025_07_32_54_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f0b314807c2c23cc7c3357fb1cbd3d2.jpg","text":"TemporaryFile(/tmp/multipartBody1623406008285437730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694764068,"filename":"image_14122025_07_32_24_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7238896d7b808226141df227af0420ab.jpg","text":"TemporaryFile(/tmp/multipartBody3185706498412189132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694764068,"filename":"image_14122025_07_32_44_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/08dc7ae42ce4ab2f8c948134c72c2967.jpg","text":"TemporaryFile(/tmp/multipartBody4860422425604255270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694764068,"filename":"image_14122025_07_33_04_9814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335313","file1":"1399335312","file0":"1399335310","file4":"1399335315","file5":"1399335317","file3":"1399335314"},"map_files_photo_id_array":[{"photo_id":"1399335317","filename":"file5"},{"photo_id":"1399335313","filename":"file2"},{"photo_id":"1399335315","filename":"file4"},{"photo_id":"1399335312","filename":"file1"},{"photo_id":"1399335310","filename":"file0"},{"photo_id":"1399335314","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335310":["hashtag1","hashtag2"]},{"1399335313":["hashtag1","hashtag2"]},{"1399335315":["hashtag1","hashtag2"]},{"1399335312":["hashtag1","hashtag2"]},{"1399335314":["hashtag1","hashtag2"]},{"1399335317":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335310, 1399335313, 1399335315, 1399335312, 1399335314, 1399335317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73533654212952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:46:02.445713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/33/image_14122025_07_33_13_9774.jpg', '/home/pi/Desktop/images/14122025/07/33/image_14122025_07_33_24_10709.jpg', '/home/pi/Desktop/images/14122025/07/33/image_14122025_07_33_44_9756.jpg', '/home/pi/Desktop/images/14122025/07/33/image_14122025_07_33_53_9745.jpg', '/home/pi/Desktop/images/14122025/07/33/image_14122025_07_34_04_10757.jpg', '/home/pi/Desktop/images/14122025/07/34/image_14122025_07_34_14_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/33/image_14122025_07_33_13_9774.jpg
/home/pi/Desktop/images/14122025/07/33/image_14122025_07_33_24_10709.jpg
/home/pi/Desktop/images/14122025/07/33/image_14122025_07_33_44_9756.jpg
/home/pi/Desktop/images/14122025/07/33/image_14122025_07_33_53_9745.jpg
/home/pi/Desktop/images/14122025/07/33/image_14122025_07_34_04_10757.jpg
/home/pi/Desktop/images/14122025/07/34/image_14122025_07_34_14_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":["1399335325","1399335328","1399335327","1399335330","1399335326","1399335329"],"photo_ids_order":["1399335325","1399335326","1399335327","1399335328","1399335329","1399335330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/672cdfc461807708e9e8e5031e35505b.jpg","text":"TemporaryFile(/tmp/multipartBody5797614176107098926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694823110,"filename":"image_14122025_07_33_13_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e0569ff140b2294c25dcedf0f2f6a07.jpg","text":"TemporaryFile(/tmp/multipartBody8614734950366381450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694823110,"filename":"image_14122025_07_33_53_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76798c015320a18da4db8ecfb19f6386.jpg","text":"TemporaryFile(/tmp/multipartBody8034419408795316979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694823110,"filename":"image_14122025_07_33_44_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/248eaa86d57fdf9763d891476f4e34bd.jpg","text":"TemporaryFile(/tmp/multipartBody545783567780053654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694823110,"filename":"image_14122025_07_34_14_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fbb85f940843769eb9f2f24a4ed21924.jpg","text":"TemporaryFile(/tmp/multipartBody6461611091494334131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694823110,"filename":"image_14122025_07_33_24_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a7ac9768083c1d79ce790f1cb64fba9e.jpg","text":"TemporaryFile(/tmp/multipartBody2382589305295316204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694823110,"filename":"image_14122025_07_34_04_10757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335327","file1":"1399335326","file0":"1399335325","file4":"1399335329","file5":"1399335330","file3":"1399335328"},"map_files_photo_id_array":[{"photo_id":"1399335330","filename":"file5"},{"photo_id":"1399335327","filename":"file2"},{"photo_id":"1399335329","filename":"file4"},{"photo_id":"1399335326","filename":"file1"},{"photo_id":"1399335325","filename":"file0"},{"photo_id":"1399335328","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335325":["hashtag1","hashtag2"]},{"1399335328":["hashtag1","hashtag2"]},{"1399335327":["hashtag1","hashtag2"]},{"1399335330":["hashtag1","hashtag2"]},{"1399335326":["hashtag1","hashtag2"]},{"1399335329":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335325, 1399335328, 1399335327, 1399335330, 1399335326, 1399335329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77901077270508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:46:41.941173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_29_1484.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_31_1667.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_32_1715.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_34_1581.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_36_1494.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_37_1531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_29_1484.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_31_1667.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_32_1715.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_34_1581.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_36_1494.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_37_1531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335346","1399335342","1399335344","1399335338","1399335340","1399335334"],"photo_ids_order":["1399335334","1399335338","1399335340","1399335342","1399335344","1399335346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a669ea16ee966ddbd55aa9da5d2a2f6.jpg","text":"TemporaryFile(/tmp/multipartBody952890144036647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694862616,"filename":"image_04112025_12_15_37_1531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4aa050dd6a7941bedf0e84d558c7e25e.jpg","text":"TemporaryFile(/tmp/multipartBody120103221168709130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694862616,"filename":"image_04112025_12_15_34_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6754849337a5572f0a253dedb0dfbc46.jpg","text":"TemporaryFile(/tmp/multipartBody6175872756645727389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694862616,"filename":"image_04112025_12_15_36_1494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1d7da06fb02b2bb621e5645246e9d7b0.jpg","text":"TemporaryFile(/tmp/multipartBody5912984505366096963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694862616,"filename":"image_04112025_12_15_31_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/15ed1d9deb60d7321d432db6f011c977.jpg","text":"TemporaryFile(/tmp/multipartBody203813541240215666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694862616,"filename":"image_04112025_12_15_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/12/14/fc0e8056722c1051337dfb40b6623327.jpg","text":"TemporaryFile(/tmp/multipartBody3934078488387063553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694862616,"filename":"image_04112025_12_15_29_1484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335340","file1":"1399335338","file0":"1399335334","file4":"1399335344","file5":"1399335346","file3":"1399335342"},"map_files_photo_id_array":[{"photo_id":"1399335346","filename":"file5"},{"photo_id":"1399335340","filename":"file2"},{"photo_id":"1399335344","filename":"file4"},{"photo_id":"1399335338","filename":"file1"},{"photo_id":"1399335334","filename":"file0"},{"photo_id":"1399335342","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335346":["hashtag1","hashtag2"]},{"1399335342":["hashtag1","hashtag2"]},{"1399335344":["hashtag1","hashtag2"]},{"1399335338":["hashtag1","hashtag2"]},{"1399335340":["hashtag1","hashtag2"]},{"1399335334":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335346, 1399335342, 1399335344, 1399335338, 1399335340, 1399335334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92301797866821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:47:22.272015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/34/image_14122025_07_34_23_9725.jpg', '/home/pi/Desktop/images/14122025/07/34/image_14122025_07_34_53_9661.jpg', '/home/pi/Desktop/images/14122025/07/34/image_14122025_07_35_03_9895.jpg', '/home/pi/Desktop/images/14122025/07/35/image_14122025_07_35_14_10619.jpg', '/home/pi/Desktop/images/14122025/07/35/image_14122025_07_35_24_9879.jpg', '/home/pi/Desktop/images/14122025/07/35/image_14122025_07_35_34_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/34/image_14122025_07_34_23_9725.jpg
/home/pi/Desktop/images/14122025/07/34/image_14122025_07_34_53_9661.jpg
/home/pi/Desktop/images/14122025/07/34/image_14122025_07_35_03_9895.jpg
/home/pi/Desktop/images/14122025/07/35/image_14122025_07_35_14_10619.jpg
/home/pi/Desktop/images/14122025/07/35/image_14122025_07_35_24_9879.jpg
/home/pi/Desktop/images/14122025/07/35/image_14122025_07_35_34_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":["1399335348","1399335350","1399335353","1399335352","1399335355","1399335358"],"photo_ids_order":["1399335348","1399335350","1399335352","1399335353","1399335355","1399335358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf86740b5052688e58d40bcbe020daeb.jpg","text":"TemporaryFile(/tmp/multipartBody7802355467076641384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694902902,"filename":"image_14122025_07_34_23_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e448b9f79dbb2d4515e1b3b1c66dcd1.jpg","text":"TemporaryFile(/tmp/multipartBody643296146942228228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694902902,"filename":"image_14122025_07_34_53_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1be7041840fbec755c67d2292d653a8c.jpg","text":"TemporaryFile(/tmp/multipartBody4725788153431676300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694902902,"filename":"image_14122025_07_35_14_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b0e32d8edfef131a10a6bc3d847aeb7.jpg","text":"TemporaryFile(/tmp/multipartBody1749393970235136843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694902902,"filename":"image_14122025_07_35_03_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9b4217d36fba89f4b008ed53bce131da.jpg","text":"TemporaryFile(/tmp/multipartBody4397281574564390995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694902902,"filename":"image_14122025_07_35_24_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/959cac089f6f8790f29aad030b8c7e00.jpg","text":"TemporaryFile(/tmp/multipartBody1106327128844370837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694902902,"filename":"image_14122025_07_35_34_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335352","file1":"1399335350","file0":"1399335348","file4":"1399335355","file5":"1399335358","file3":"1399335353"},"map_files_photo_id_array":[{"photo_id":"1399335358","filename":"file5"},{"photo_id":"1399335352","filename":"file2"},{"photo_id":"1399335355","filename":"file4"},{"photo_id":"1399335350","filename":"file1"},{"photo_id":"1399335348","filename":"file0"},{"photo_id":"1399335353","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335348":["hashtag1","hashtag2"]},{"1399335350":["hashtag1","hashtag2"]},{"1399335353":["hashtag1","hashtag2"]},{"1399335352":["hashtag1","hashtag2"]},{"1399335355":["hashtag1","hashtag2"]},{"1399335358":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335348, 1399335350, 1399335353, 1399335352, 1399335355, 1399335358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18280053138733 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:48:02.856977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/35/image_14122025_07_35_54_9685.jpg', '/home/pi/Desktop/images/14122025/07/36/image_14122025_07_36_13_9704.jpg', '/home/pi/Desktop/images/14122025/07/36/image_14122025_07_36_24_10676.jpg', '/home/pi/Desktop/images/14122025/07/36/image_14122025_07_36_34_9641.jpg', '/home/pi/Desktop/images/14122025/07/36/image_14122025_07_36_54_10698.jpg', '/home/pi/Desktop/images/14122025/07/36/image_14122025_07_37_04_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/35/image_14122025_07_35_54_9685.jpg
/home/pi/Desktop/images/14122025/07/36/image_14122025_07_36_13_9704.jpg
/home/pi/Desktop/images/14122025/07/36/image_14122025_07_36_24_10676.jpg
/home/pi/Desktop/images/14122025/07/36/image_14122025_07_36_34_9641.jpg
/home/pi/Desktop/images/14122025/07/36/image_14122025_07_36_54_10698.jpg
/home/pi/Desktop/images/14122025/07/36/image_14122025_07_37_04_9661.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6050944328308105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 07:48:12.389033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:48:22.444537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/35/image_14122025_07_35_54_9685.jpg', '/home/pi/Desktop/images/14122025/07/36/image_14122025_07_36_13_9704.jpg', '/home/pi/Desktop/images/14122025/07/36/image_14122025_07_36_24_10676.jpg', '/home/pi/Desktop/images/14122025/07/36/image_14122025_07_36_34_9641.jpg', '/home/pi/Desktop/images/14122025/07/36/image_14122025_07_36_54_10698.jpg', '/home/pi/Desktop/images/14122025/07/36/image_14122025_07_37_04_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/35/image_14122025_07_35_54_9685.jpg
/home/pi/Desktop/images/14122025/07/36/image_14122025_07_36_13_9704.jpg
/home/pi/Desktop/images/14122025/07/36/image_14122025_07_36_24_10676.jpg
/home/pi/Desktop/images/14122025/07/36/image_14122025_07_36_34_9641.jpg
/home/pi/Desktop/images/14122025/07/36/image_14122025_07_36_54_10698.jpg
/home/pi/Desktop/images/14122025/07/36/image_14122025_07_37_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":["1399335372","1399335374","1399335365","1399335368","1399335370","1399335373"],"photo_ids_order":["1399335365","1399335368","1399335370","1399335372","1399335373","1399335374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/12618c3ac46ba8fe856a8775a8a02b33.jpg","text":"TemporaryFile(/tmp/multipartBody2625294259487580477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694963116,"filename":"image_14122025_07_36_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef91faf476f59940b0d93fa2838c2f21.jpg","text":"TemporaryFile(/tmp/multipartBody2080045322884377501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694963116,"filename":"image_14122025_07_37_04_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c5c406d8481f3b1962974a334e22d296.jpg","text":"TemporaryFile(/tmp/multipartBody563266325414110441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694963116,"filename":"image_14122025_07_35_54_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/064492e15cfc9dc2f9cb603e1f3095f8.jpg","text":"TemporaryFile(/tmp/multipartBody5592517544512262437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694963116,"filename":"image_14122025_07_36_13_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21ae2a9f93277eff338c1157e6aa744c.jpg","text":"TemporaryFile(/tmp/multipartBody1040755520757869199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694963116,"filename":"image_14122025_07_36_24_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/77a31eba598312286b206f0fba905783.jpg","text":"TemporaryFile(/tmp/multipartBody1773558792633308759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765694963116,"filename":"image_14122025_07_36_54_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335370","file1":"1399335368","file0":"1399335365","file4":"1399335373","file5":"1399335374","file3":"1399335372"},"map_files_photo_id_array":[{"photo_id":"1399335374","filename":"file5"},{"photo_id":"1399335370","filename":"file2"},{"photo_id":"1399335373","filename":"file4"},{"photo_id":"1399335368","filename":"file1"},{"photo_id":"1399335365","filename":"file0"},{"photo_id":"1399335372","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335372":["hashtag1","hashtag2"]},{"1399335374":["hashtag1","hashtag2"]},{"1399335365":["hashtag1","hashtag2"]},{"1399335368":["hashtag1","hashtag2"]},{"1399335370":["hashtag1","hashtag2"]},{"1399335373":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335372, 1399335374, 1399335365, 1399335368, 1399335370, 1399335373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38182282447815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:49:03.529364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/37/image_14122025_07_37_24_9895.jpg', '/home/pi/Desktop/images/14122025/07/37/image_14122025_07_37_44_10629.jpg', '/home/pi/Desktop/images/14122025/07/37/image_14122025_07_37_54_9709.jpg', '/home/pi/Desktop/images/14122025/07/37/image_14122025_07_38_04_9964.jpg', '/home/pi/Desktop/images/14122025/07/38/image_14122025_07_38_14_9931.jpg', '/home/pi/Desktop/images/14122025/07/38/image_14122025_07_38_23_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/37/image_14122025_07_37_24_9895.jpg
/home/pi/Desktop/images/14122025/07/37/image_14122025_07_37_44_10629.jpg
/home/pi/Desktop/images/14122025/07/37/image_14122025_07_37_54_9709.jpg
/home/pi/Desktop/images/14122025/07/37/image_14122025_07_38_04_9964.jpg
/home/pi/Desktop/images/14122025/07/38/image_14122025_07_38_14_9931.jpg
/home/pi/Desktop/images/14122025/07/38/image_14122025_07_38_23_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":["1399335378","1399335375","1399335380","1399335377","1399335382","1399335376"],"photo_ids_order":["1399335375","1399335376","1399335377","1399335378","1399335380","1399335382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c5d6684131198fc968589e3b78c7f18d.jpg","text":"TemporaryFile(/tmp/multipartBody239313909318129536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695004331,"filename":"image_14122025_07_38_04_9964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29e722d8837286622fc8d1bee24ac9bb.jpg","text":"TemporaryFile(/tmp/multipartBody9133771318864556439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695004331,"filename":"image_14122025_07_37_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/12/14/c45a4162c22f855b8f4f3dc2ff150a63.jpg","text":"TemporaryFile(/tmp/multipartBody1826555042018429182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695004331,"filename":"image_14122025_07_38_14_9931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4147df82a92a4f879dd8a36ea3692031.jpg","text":"TemporaryFile(/tmp/multipartBody3561266861971066720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695004331,"filename":"image_14122025_07_37_54_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/107ff7072b2ef61b5b607fc53030646f.jpg","text":"TemporaryFile(/tmp/multipartBody5023829434524497631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695004331,"filename":"image_14122025_07_38_23_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/99f0bda158894db4f8445e2fa0d786b3.jpg","text":"TemporaryFile(/tmp/multipartBody8839755793472926191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695004331,"filename":"image_14122025_07_37_44_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335377","file1":"1399335376","file0":"1399335375","file4":"1399335380","file5":"1399335382","file3":"1399335378"},"map_files_photo_id_array":[{"photo_id":"1399335382","filename":"file5"},{"photo_id":"1399335377","filename":"file2"},{"photo_id":"1399335380","filename":"file4"},{"photo_id":"1399335376","filename":"file1"},{"photo_id":"1399335375","filename":"file0"},{"photo_id":"1399335378","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335378":["hashtag1","hashtag2"]},{"1399335375":["hashtag1","hashtag2"]},{"1399335380":["hashtag1","hashtag2"]},{"1399335377":["hashtag1","hashtag2"]},{"1399335382":["hashtag1","hashtag2"]},{"1399335376":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335378, 1399335375, 1399335380, 1399335377, 1399335382, 1399335376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28207588195801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:49:42.613016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_39_1649.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_40_1530.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_44_3625.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_48_3603.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_50_2602.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_53_2516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_39_1649.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_40_1530.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_44_3625.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_48_3603.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_50_2602.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_53_2516.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335390","1399335387","1399335389","1399335386","1399335391","1399335388"],"photo_ids_order":["1399335386","1399335387","1399335388","1399335389","1399335390","1399335391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/afbe176337b35d570b116e05763b88af.jpg","text":"TemporaryFile(/tmp/multipartBody9119079573749985265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695043285,"filename":"image_04112025_12_15_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/12/14/812637467bc14de55b526e48af3a5a87.jpg","text":"TemporaryFile(/tmp/multipartBody3027293389187386989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695043285,"filename":"image_04112025_12_15_40_1530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36b042a0fce0f2d0df05fed0cc0fc1f8.jpg","text":"TemporaryFile(/tmp/multipartBody2137174204710495992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695043285,"filename":"image_04112025_12_15_48_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0788f2893e7fa9b2e9e8f00124327b3f.jpg","text":"TemporaryFile(/tmp/multipartBody2834409716136377285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695043285,"filename":"image_04112025_12_15_39_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1deaf35f51a1659c0412ddf3c3c815fa.jpg","text":"TemporaryFile(/tmp/multipartBody2675371711061409366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695043285,"filename":"image_04112025_12_15_53_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e4407d0f23bb4c74f2acb7003413f1f5.jpg","text":"TemporaryFile(/tmp/multipartBody3984215249099879374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695043285,"filename":"image_04112025_12_15_44_3625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335388","file1":"1399335387","file0":"1399335386","file4":"1399335390","file5":"1399335391","file3":"1399335389"},"map_files_photo_id_array":[{"photo_id":"1399335391","filename":"file5"},{"photo_id":"1399335388","filename":"file2"},{"photo_id":"1399335390","filename":"file4"},{"photo_id":"1399335387","filename":"file1"},{"photo_id":"1399335386","filename":"file0"},{"photo_id":"1399335389","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335390":["hashtag1","hashtag2"]},{"1399335387":["hashtag1","hashtag2"]},{"1399335389":["hashtag1","hashtag2"]},{"1399335386":["hashtag1","hashtag2"]},{"1399335391":["hashtag1","hashtag2"]},{"1399335388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335390, 1399335387, 1399335389, 1399335386, 1399335391, 1399335388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39959144592285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:50:21.853375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/38/image_14122025_07_38_34_10760.jpg', '/home/pi/Desktop/images/14122025/07/38/image_14122025_07_38_54_9865.jpg', '/home/pi/Desktop/images/14122025/07/38/image_14122025_07_39_03_9802.jpg', '/home/pi/Desktop/images/14122025/07/39/image_14122025_07_39_14_10679.jpg', '/home/pi/Desktop/images/14122025/07/39/image_14122025_07_39_24_9660.jpg', '/home/pi/Desktop/images/14122025/07/39/image_14122025_07_39_34_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/38/image_14122025_07_38_34_10760.jpg
/home/pi/Desktop/images/14122025/07/38/image_14122025_07_38_54_9865.jpg
/home/pi/Desktop/images/14122025/07/38/image_14122025_07_39_03_9802.jpg
/home/pi/Desktop/images/14122025/07/39/image_14122025_07_39_14_10679.jpg
/home/pi/Desktop/images/14122025/07/39/image_14122025_07_39_24_9660.jpg
/home/pi/Desktop/images/14122025/07/39/image_14122025_07_39_34_9791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335396","1399335392","1399335398","1399335401","1399335404","1399335394"],"photo_ids_order":["1399335392","1399335394","1399335396","1399335398","1399335401","1399335404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d61e1f433d4901150104ab7234a61abb.jpg","text":"TemporaryFile(/tmp/multipartBody2577026853942195583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695082528,"filename":"image_14122025_07_39_03_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/981e3599c4c09d94be0b5272bec8aabb.jpg","text":"TemporaryFile(/tmp/multipartBody5577506415797121287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695082528,"filename":"image_14122025_07_38_34_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9867b261995abe092a34a221b3117d8.jpg","text":"TemporaryFile(/tmp/multipartBody3963854085587431093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695082528,"filename":"image_14122025_07_39_14_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21ff0642eee33e19dd809c1ec51cfc91.jpg","text":"TemporaryFile(/tmp/multipartBody4330687484082955593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695082528,"filename":"image_14122025_07_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/12/14/87fcd5a9e76e78b15e96f59224c9022d.jpg","text":"TemporaryFile(/tmp/multipartBody1261768557112317648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695082528,"filename":"image_14122025_07_39_34_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2bbc895d479c0f6199ad3503434a4de7.jpg","text":"TemporaryFile(/tmp/multipartBody1709772471221587944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695082528,"filename":"image_14122025_07_38_54_9865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335396","file1":"1399335394","file0":"1399335392","file4":"1399335401","file5":"1399335404","file3":"1399335398"},"map_files_photo_id_array":[{"photo_id":"1399335404","filename":"file5"},{"photo_id":"1399335396","filename":"file2"},{"photo_id":"1399335401","filename":"file4"},{"photo_id":"1399335394","filename":"file1"},{"photo_id":"1399335392","filename":"file0"},{"photo_id":"1399335398","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335396":["hashtag1","hashtag2"]},{"1399335392":["hashtag1","hashtag2"]},{"1399335398":["hashtag1","hashtag2"]},{"1399335401":["hashtag1","hashtag2"]},{"1399335404":["hashtag1","hashtag2"]},{"1399335394":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335396, 1399335392, 1399335398, 1399335401, 1399335404, 1399335394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.167341232299805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 07:51:12.138694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:51:22.171041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/39/image_14122025_07_39_43_9864.jpg', '/home/pi/Desktop/images/14122025/07/39/image_14122025_07_39_54_10757.jpg', '/home/pi/Desktop/images/14122025/07/39/image_14122025_07_40_04_9683.jpg', '/home/pi/Desktop/images/14122025/07/40/image_14122025_07_40_14_9792.jpg', '/home/pi/Desktop/images/14122025/07/40/image_14122025_07_40_23_9759.jpg', '/home/pi/Desktop/images/14122025/07/40/image_14122025_07_40_34_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/39/image_14122025_07_39_43_9864.jpg
/home/pi/Desktop/images/14122025/07/39/image_14122025_07_39_54_10757.jpg
/home/pi/Desktop/images/14122025/07/39/image_14122025_07_40_04_9683.jpg
/home/pi/Desktop/images/14122025/07/40/image_14122025_07_40_14_9792.jpg
/home/pi/Desktop/images/14122025/07/40/image_14122025_07_40_23_9759.jpg
/home/pi/Desktop/images/14122025/07/40/image_14122025_07_40_34_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":["1399335412","1399335409","1399335420","1399335414","1399335410","1399335416"],"photo_ids_order":["1399335409","1399335410","1399335412","1399335414","1399335416","1399335420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/07e9d1b92a8a1af3cf3d4942141fe465.jpg","text":"TemporaryFile(/tmp/multipartBody5483708202875724305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695142848,"filename":"image_14122025_07_40_04_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54e70e9facd2e15df29771dae2830d25.jpg","text":"TemporaryFile(/tmp/multipartBody3355857910704882343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695142848,"filename":"image_14122025_07_39_43_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7bdad3cd57d503168ad134cdb6e284a7.jpg","text":"TemporaryFile(/tmp/multipartBody1487487818285417752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695142848,"filename":"image_14122025_07_40_34_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/315bfe58f1aba7c06bbad0ea8dd31c1c.jpg","text":"TemporaryFile(/tmp/multipartBody5287151873907583241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695142848,"filename":"image_14122025_07_40_14_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d1090798d75d1aae6b4fb474b8e05563.jpg","text":"TemporaryFile(/tmp/multipartBody3646891881525370551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695142848,"filename":"image_14122025_07_39_54_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ff6e8a96b913a092646d6aef2eff67f1.jpg","text":"TemporaryFile(/tmp/multipartBody2315011039450764072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695142848,"filename":"image_14122025_07_40_23_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335412","file1":"1399335410","file0":"1399335409","file4":"1399335416","file5":"1399335420","file3":"1399335414"},"map_files_photo_id_array":[{"photo_id":"1399335420","filename":"file5"},{"photo_id":"1399335412","filename":"file2"},{"photo_id":"1399335416","filename":"file4"},{"photo_id":"1399335410","filename":"file1"},{"photo_id":"1399335409","filename":"file0"},{"photo_id":"1399335414","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335412":["hashtag1","hashtag2"]},{"1399335409":["hashtag1","hashtag2"]},{"1399335420":["hashtag1","hashtag2"]},{"1399335414":["hashtag1","hashtag2"]},{"1399335410":["hashtag1","hashtag2"]},{"1399335416":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335412, 1399335409, 1399335420, 1399335414, 1399335410, 1399335416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2928466796875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:52:02.900496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/40/image_14122025_07_40_44_9739.jpg', '/home/pi/Desktop/images/14122025/07/40/image_14122025_07_40_54_9945.jpg', '/home/pi/Desktop/images/14122025/07/40/image_14122025_07_41_04_9750.jpg', '/home/pi/Desktop/images/14122025/07/41/image_14122025_07_41_14_10624.jpg', '/home/pi/Desktop/images/14122025/07/41/image_14122025_07_41_24_9664.jpg', '/home/pi/Desktop/images/14122025/07/41/image_14122025_07_41_34_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/40/image_14122025_07_40_44_9739.jpg
/home/pi/Desktop/images/14122025/07/40/image_14122025_07_40_54_9945.jpg
/home/pi/Desktop/images/14122025/07/40/image_14122025_07_41_04_9750.jpg
/home/pi/Desktop/images/14122025/07/41/image_14122025_07_41_14_10624.jpg
/home/pi/Desktop/images/14122025/07/41/image_14122025_07_41_24_9664.jpg
/home/pi/Desktop/images/14122025/07/41/image_14122025_07_41_34_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":["1399335430","1399335427","1399335432","1399335429","1399335431","1399335434"],"photo_ids_order":["1399335427","1399335429","1399335430","1399335431","1399335432","1399335434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51e134941d469f43831c82a761aa2f62.jpg","text":"TemporaryFile(/tmp/multipartBody2732249556550586755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695183577,"filename":"image_14122025_07_41_04_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ccb613f7afb41a41573b7ae2908c194.jpg","text":"TemporaryFile(/tmp/multipartBody4585246544878889016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695183577,"filename":"image_14122025_07_40_44_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e74741f9477f3eaf1b86fbed222cb6af.jpg","text":"TemporaryFile(/tmp/multipartBody2082091411497103930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695183577,"filename":"image_14122025_07_41_24_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28c23c79d1dc3f923b7c01f7a73d9a0b.jpg","text":"TemporaryFile(/tmp/multipartBody5114335749794150810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695183577,"filename":"image_14122025_07_40_54_9945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/34e725351511161459036255fadeb0a7.jpg","text":"TemporaryFile(/tmp/multipartBody7008121837204541593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695183577,"filename":"image_14122025_07_41_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/12/14/46b6cd3592415277ca50cac0609415be.jpg","text":"TemporaryFile(/tmp/multipartBody8310090705124182280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695183577,"filename":"image_14122025_07_41_34_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335430","file1":"1399335429","file0":"1399335427","file4":"1399335432","file5":"1399335434","file3":"1399335431"},"map_files_photo_id_array":[{"photo_id":"1399335434","filename":"file5"},{"photo_id":"1399335430","filename":"file2"},{"photo_id":"1399335432","filename":"file4"},{"photo_id":"1399335429","filename":"file1"},{"photo_id":"1399335427","filename":"file0"},{"photo_id":"1399335431","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335430":["hashtag1","hashtag2"]},{"1399335427":["hashtag1","hashtag2"]},{"1399335432":["hashtag1","hashtag2"]},{"1399335429":["hashtag1","hashtag2"]},{"1399335431":["hashtag1","hashtag2"]},{"1399335434":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335430, 1399335427, 1399335432, 1399335429, 1399335431, 1399335434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60370683670044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:52:42.445480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_55_2677.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_59_3729.jpg', '/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_02_2662.jpg', '/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_08_6590.jpg', '/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_10_1605.jpg', '/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_20_10149.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_55_2677.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_59_3729.jpg
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_02_2662.jpg
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_08_6590.jpg
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_10_1605.jpg
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_20_10149.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.705803632736206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:53:03.314039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/41/image_14122025_07_41_44_9944.jpg', '/home/pi/Desktop/images/14122025/07/41/image_14122025_07_41_53_9735.jpg', '/home/pi/Desktop/images/14122025/07/41/image_14122025_07_42_04_10744.jpg', '/home/pi/Desktop/images/14122025/07/42/image_14122025_07_42_14_9721.jpg', '/home/pi/Desktop/images/14122025/07/42/image_14122025_07_42_23_9651.jpg', '/home/pi/Desktop/images/14122025/07/42/image_14122025_07_42_33_9983.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/41/image_14122025_07_41_44_9944.jpg
/home/pi/Desktop/images/14122025/07/41/image_14122025_07_41_53_9735.jpg
/home/pi/Desktop/images/14122025/07/41/image_14122025_07_42_04_10744.jpg
/home/pi/Desktop/images/14122025/07/42/image_14122025_07_42_14_9721.jpg
/home/pi/Desktop/images/14122025/07/42/image_14122025_07_42_23_9651.jpg
/home/pi/Desktop/images/14122025/07/42/image_14122025_07_42_33_9983.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335453","1399335447","1399335449","1399335446","1399335451","1399335448"],"photo_ids_order":["1399335446","1399335447","1399335448","1399335449","1399335451","1399335453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/96dc7ad5cfbd17206b8ba41d42758b22.jpg","text":"TemporaryFile(/tmp/multipartBody7121923293607065725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695244072,"filename":"image_14122025_07_42_33_9983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/190821cfaf9487953c22b8e3b3505211.jpg","text":"TemporaryFile(/tmp/multipartBody5450108854422520415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695244072,"filename":"image_14122025_07_41_53_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a25df830f79ef63c8a28014b83bb16c9.jpg","text":"TemporaryFile(/tmp/multipartBody6714758056271388294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695244072,"filename":"image_14122025_07_42_14_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1581ba1e010fbec1ae325c5f07dc6ca6.jpg","text":"TemporaryFile(/tmp/multipartBody3546275751239211535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695244072,"filename":"image_14122025_07_41_44_9944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28e7927099274f2c07890c102c1160e6.jpg","text":"TemporaryFile(/tmp/multipartBody8752544487171167778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695244072,"filename":"image_14122025_07_42_23_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/671ee215cedc36c21775dc56cba700df.jpg","text":"TemporaryFile(/tmp/multipartBody3896217871100932445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695244072,"filename":"image_14122025_07_42_04_10744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335448","file1":"1399335447","file0":"1399335446","file4":"1399335451","file5":"1399335453","file3":"1399335449"},"map_files_photo_id_array":[{"photo_id":"1399335453","filename":"file5"},{"photo_id":"1399335448","filename":"file2"},{"photo_id":"1399335451","filename":"file4"},{"photo_id":"1399335447","filename":"file1"},{"photo_id":"1399335446","filename":"file0"},{"photo_id":"1399335449","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335453":["hashtag1","hashtag2"]},{"1399335447":["hashtag1","hashtag2"]},{"1399335449":["hashtag1","hashtag2"]},{"1399335446":["hashtag1","hashtag2"]},{"1399335451":["hashtag1","hashtag2"]},{"1399335448":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335453, 1399335447, 1399335449, 1399335446, 1399335451, 1399335448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60165095329285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:54:02.547089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/42/image_14122025_07_42_44_10597.jpg', '/home/pi/Desktop/images/14122025/07/42/image_14122025_07_42_54_9625.jpg', '/home/pi/Desktop/images/14122025/07/42/image_14122025_07_43_03_9691.jpg', '/home/pi/Desktop/images/14122025/07/43/image_14122025_07_43_14_10607.jpg', '/home/pi/Desktop/images/14122025/07/43/image_14122025_07_43_24_9654.jpg', '/home/pi/Desktop/images/14122025/07/43/image_14122025_07_43_34_9936.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/42/image_14122025_07_42_44_10597.jpg
/home/pi/Desktop/images/14122025/07/42/image_14122025_07_42_54_9625.jpg
/home/pi/Desktop/images/14122025/07/42/image_14122025_07_43_03_9691.jpg
/home/pi/Desktop/images/14122025/07/43/image_14122025_07_43_14_10607.jpg
/home/pi/Desktop/images/14122025/07/43/image_14122025_07_43_24_9654.jpg
/home/pi/Desktop/images/14122025/07/43/image_14122025_07_43_34_9936.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5864696502685547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 07:54:11.920079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:54:21.920189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/42/image_14122025_07_42_44_10597.jpg', '/home/pi/Desktop/images/14122025/07/42/image_14122025_07_42_54_9625.jpg', '/home/pi/Desktop/images/14122025/07/42/image_14122025_07_43_03_9691.jpg', '/home/pi/Desktop/images/14122025/07/43/image_14122025_07_43_14_10607.jpg', '/home/pi/Desktop/images/14122025/07/43/image_14122025_07_43_24_9654.jpg', '/home/pi/Desktop/images/14122025/07/43/image_14122025_07_43_34_9936.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/42/image_14122025_07_42_44_10597.jpg
/home/pi/Desktop/images/14122025/07/42/image_14122025_07_42_54_9625.jpg
/home/pi/Desktop/images/14122025/07/42/image_14122025_07_43_03_9691.jpg
/home/pi/Desktop/images/14122025/07/43/image_14122025_07_43_14_10607.jpg
/home/pi/Desktop/images/14122025/07/43/image_14122025_07_43_24_9654.jpg
/home/pi/Desktop/images/14122025/07/43/image_14122025_07_43_34_9936.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335468","1399335470","1399335464","1399335472","1399335466","1399335475"],"photo_ids_order":["1399335464","1399335466","1399335468","1399335470","1399335472","1399335475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/23920fc3c8d0f899a13a4ddeb5f063fc.jpg","text":"TemporaryFile(/tmp/multipartBody8059283927638622377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695322570,"filename":"image_14122025_07_43_03_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d8c494e8fdcc4a96897867d0219f31c.jpg","text":"TemporaryFile(/tmp/multipartBody5185041969513629500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695322570,"filename":"image_14122025_07_43_14_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9695a4f2ebf87f25f3e041f3df663630.jpg","text":"TemporaryFile(/tmp/multipartBody8079837693441027602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695322570,"filename":"image_14122025_07_42_44_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/671da4807b8b83a33b284ab058879142.jpg","text":"TemporaryFile(/tmp/multipartBody7317120708082614664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695322570,"filename":"image_14122025_07_43_24_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/867ab70f71e5f88cdc7474c416a9e598.jpg","text":"TemporaryFile(/tmp/multipartBody6488692313743180127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695322570,"filename":"image_14122025_07_42_54_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b09cbaede5b7f7f19a193569277d3d79.jpg","text":"TemporaryFile(/tmp/multipartBody7607208465724341288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695322570,"filename":"image_14122025_07_43_34_9936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335468","file1":"1399335466","file0":"1399335464","file4":"1399335472","file5":"1399335475","file3":"1399335470"},"map_files_photo_id_array":[{"photo_id":"1399335475","filename":"file5"},{"photo_id":"1399335468","filename":"file2"},{"photo_id":"1399335472","filename":"file4"},{"photo_id":"1399335466","filename":"file1"},{"photo_id":"1399335464","filename":"file0"},{"photo_id":"1399335470","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335468":["hashtag1","hashtag2"]},{"1399335470":["hashtag1","hashtag2"]},{"1399335464":["hashtag1","hashtag2"]},{"1399335472":["hashtag1","hashtag2"]},{"1399335466":["hashtag1","hashtag2"]},{"1399335475":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335468, 1399335470, 1399335464, 1399335472, 1399335466, 1399335475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.325902700424194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:55:02.733347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/43/image_14122025_07_43_44_10687.jpg', '/home/pi/Desktop/images/14122025/07/43/image_14122025_07_43_54_9716.jpg', '/home/pi/Desktop/images/14122025/07/43/image_14122025_07_44_04_9809.jpg', '/home/pi/Desktop/images/14122025/07/44/image_14122025_07_44_14_9829.jpg', '/home/pi/Desktop/images/14122025/07/44/image_14122025_07_44_23_9727.jpg', '/home/pi/Desktop/images/14122025/07/44/image_14122025_07_44_34_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/43/image_14122025_07_43_44_10687.jpg
/home/pi/Desktop/images/14122025/07/43/image_14122025_07_43_54_9716.jpg
/home/pi/Desktop/images/14122025/07/43/image_14122025_07_44_04_9809.jpg
/home/pi/Desktop/images/14122025/07/44/image_14122025_07_44_14_9829.jpg
/home/pi/Desktop/images/14122025/07/44/image_14122025_07_44_23_9727.jpg
/home/pi/Desktop/images/14122025/07/44/image_14122025_07_44_34_10618.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6567597389221191 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 07:55:12.225480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:55:22.159875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/43/image_14122025_07_43_44_10687.jpg', '/home/pi/Desktop/images/14122025/07/43/image_14122025_07_43_54_9716.jpg', '/home/pi/Desktop/images/14122025/07/43/image_14122025_07_44_04_9809.jpg', '/home/pi/Desktop/images/14122025/07/44/image_14122025_07_44_14_9829.jpg', '/home/pi/Desktop/images/14122025/07/44/image_14122025_07_44_23_9727.jpg', '/home/pi/Desktop/images/14122025/07/44/image_14122025_07_44_34_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/43/image_14122025_07_43_44_10687.jpg
/home/pi/Desktop/images/14122025/07/43/image_14122025_07_43_54_9716.jpg
/home/pi/Desktop/images/14122025/07/43/image_14122025_07_44_04_9809.jpg
/home/pi/Desktop/images/14122025/07/44/image_14122025_07_44_14_9829.jpg
/home/pi/Desktop/images/14122025/07/44/image_14122025_07_44_23_9727.jpg
/home/pi/Desktop/images/14122025/07/44/image_14122025_07_44_34_10618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335486","1399335491","1399335488","1399335482","1399335484","1399335493"],"photo_ids_order":["1399335482","1399335484","1399335486","1399335488","1399335491","1399335493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf57cfd898dc30f8db42e7a8705580e3.jpg","text":"TemporaryFile(/tmp/multipartBody6893740433534246736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695382839,"filename":"image_14122025_07_44_04_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b66c88f21b6e011ca742610cd3c5528.jpg","text":"TemporaryFile(/tmp/multipartBody6041323818630379599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695382839,"filename":"image_14122025_07_44_23_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ea8d706a0e4630c67e1a60bf859ddc97.jpg","text":"TemporaryFile(/tmp/multipartBody2551492236826645065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695382839,"filename":"image_14122025_07_44_14_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3900846d72357e09ab6488f367341435.jpg","text":"TemporaryFile(/tmp/multipartBody5874068428110167228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695382839,"filename":"image_14122025_07_43_44_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ee19337cf848b58c0be750863428b8c4.jpg","text":"TemporaryFile(/tmp/multipartBody2772190306480468520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695382839,"filename":"image_14122025_07_43_54_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ed96dff60e2109acbbdf2946a13475a8.jpg","text":"TemporaryFile(/tmp/multipartBody7107003901319327330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695382839,"filename":"image_14122025_07_44_34_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335486","file1":"1399335484","file0":"1399335482","file4":"1399335491","file5":"1399335493","file3":"1399335488"},"map_files_photo_id_array":[{"photo_id":"1399335493","filename":"file5"},{"photo_id":"1399335486","filename":"file2"},{"photo_id":"1399335491","filename":"file4"},{"photo_id":"1399335484","filename":"file1"},{"photo_id":"1399335482","filename":"file0"},{"photo_id":"1399335488","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335486":["hashtag1","hashtag2"]},{"1399335491":["hashtag1","hashtag2"]},{"1399335488":["hashtag1","hashtag2"]},{"1399335482":["hashtag1","hashtag2"]},{"1399335484":["hashtag1","hashtag2"]},{"1399335493":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335486, 1399335491, 1399335488, 1399335482, 1399335484, 1399335493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.830467224121094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:56:02.824553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/44/image_14122025_07_44_44_9784.jpg', '/home/pi/Desktop/images/14122025/07/44/image_14122025_07_44_53_9608.jpg', '/home/pi/Desktop/images/14122025/07/44/image_14122025_07_45_04_10711.jpg', '/home/pi/Desktop/images/14122025/07/45/image_14122025_07_45_14_9673.jpg', '/home/pi/Desktop/images/14122025/07/45/image_14122025_07_45_23_9657.jpg', '/home/pi/Desktop/images/14122025/07/45/image_14122025_07_45_34_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/44/image_14122025_07_44_44_9784.jpg
/home/pi/Desktop/images/14122025/07/44/image_14122025_07_44_53_9608.jpg
/home/pi/Desktop/images/14122025/07/44/image_14122025_07_45_04_10711.jpg
/home/pi/Desktop/images/14122025/07/45/image_14122025_07_45_14_9673.jpg
/home/pi/Desktop/images/14122025/07/45/image_14122025_07_45_23_9657.jpg
/home/pi/Desktop/images/14122025/07/45/image_14122025_07_45_34_10698.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5678181648254395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 07:56:12.340901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 07:56:22.434043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/44/image_14122025_07_44_44_9784.jpg', '/home/pi/Desktop/images/14122025/07/44/image_14122025_07_44_53_9608.jpg', '/home/pi/Desktop/images/14122025/07/44/image_14122025_07_45_04_10711.jpg', '/home/pi/Desktop/images/14122025/07/45/image_14122025_07_45_14_9673.jpg', '/home/pi/Desktop/images/14122025/07/45/image_14122025_07_45_23_9657.jpg', '/home/pi/Desktop/images/14122025/07/45/image_14122025_07_45_34_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/44/image_14122025_07_44_44_9784.jpg
/home/pi/Desktop/images/14122025/07/44/image_14122025_07_44_53_9608.jpg
/home/pi/Desktop/images/14122025/07/44/image_14122025_07_45_04_10711.jpg
/home/pi/Desktop/images/14122025/07/45/image_14122025_07_45_14_9673.jpg
/home/pi/Desktop/images/14122025/07/45/image_14122025_07_45_23_9657.jpg
/home/pi/Desktop/images/14122025/07/45/image_14122025_07_45_34_10698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335505","1399335507","1399335501","1399335512","1399335509","1399335503"],"photo_ids_order":["1399335501","1399335503","1399335505","1399335507","1399335509","1399335512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4639b58aa9d02ea6336914eedf614a8c.jpg","text":"TemporaryFile(/tmp/multipartBody8999740856567659451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695443068,"filename":"image_14122025_07_45_04_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a18612131a991c1ed267b7d56e10d29.jpg","text":"TemporaryFile(/tmp/multipartBody6668491985448872843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695443068,"filename":"image_14122025_07_45_14_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/99f94796bd4461a29fb0faa94e612cf6.jpg","text":"TemporaryFile(/tmp/multipartBody8378641452408468888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695443068,"filename":"image_14122025_07_44_44_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3dea1a04a17ddaac33eacaa039ec41ab.jpg","text":"TemporaryFile(/tmp/multipartBody268426651417884645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695443068,"filename":"image_14122025_07_45_34_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4be49fbc4b42e4b613eaa8599a0ee840.jpg","text":"TemporaryFile(/tmp/multipartBody5110922640408530621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695443068,"filename":"image_14122025_07_45_23_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e572a6a2b61f0cad4cdf5ba675d450d7.jpg","text":"TemporaryFile(/tmp/multipartBody51773253203162101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695443068,"filename":"image_14122025_07_44_53_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335505","file1":"1399335503","file0":"1399335501","file4":"1399335509","file5":"1399335512","file3":"1399335507"},"map_files_photo_id_array":[{"photo_id":"1399335512","filename":"file5"},{"photo_id":"1399335505","filename":"file2"},{"photo_id":"1399335509","filename":"file4"},{"photo_id":"1399335503","filename":"file1"},{"photo_id":"1399335501","filename":"file0"},{"photo_id":"1399335507","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335505":["hashtag1","hashtag2"]},{"1399335507":["hashtag1","hashtag2"]},{"1399335501":["hashtag1","hashtag2"]},{"1399335512":["hashtag1","hashtag2"]},{"1399335509":["hashtag1","hashtag2"]},{"1399335503":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335505, 1399335507, 1399335501, 1399335512, 1399335509, 1399335503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20282864570618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:57:03.353384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/45/image_14122025_07_45_44_9647.jpg', '/home/pi/Desktop/images/14122025/07/45/image_14122025_07_45_53_9755.jpg', '/home/pi/Desktop/images/14122025/07/45/image_14122025_07_46_04_10653.jpg', '/home/pi/Desktop/images/14122025/07/46/image_14122025_07_46_14_9600.jpg', '/home/pi/Desktop/images/14122025/07/46/image_14122025_07_46_24_9931.jpg', '/home/pi/Desktop/images/14122025/07/46/image_14122025_07_46_44_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/45/image_14122025_07_45_44_9647.jpg
/home/pi/Desktop/images/14122025/07/45/image_14122025_07_45_53_9755.jpg
/home/pi/Desktop/images/14122025/07/45/image_14122025_07_46_04_10653.jpg
/home/pi/Desktop/images/14122025/07/46/image_14122025_07_46_14_9600.jpg
/home/pi/Desktop/images/14122025/07/46/image_14122025_07_46_24_9931.jpg
/home/pi/Desktop/images/14122025/07/46/image_14122025_07_46_44_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335517","1399335516","1399335518","1399335515","1399335520","1399335514"],"photo_ids_order":["1399335514","1399335515","1399335516","1399335517","1399335518","1399335520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/20dfd874b0ade77c05116cdfe23ad0cb.jpg","text":"TemporaryFile(/tmp/multipartBody5824163904720214747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695484058,"filename":"image_14122025_07_46_14_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7abd81b9067ec8791f0965880c818fb0.jpg","text":"TemporaryFile(/tmp/multipartBody7647081747351007868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695484058,"filename":"image_14122025_07_46_04_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/82a57af21fa0ff5db621d1b2f31f7c95.jpg","text":"TemporaryFile(/tmp/multipartBody322796093691060108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695484058,"filename":"image_14122025_07_46_24_9931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b0a6ace4491dbb104de4f83a861c17ec.jpg","text":"TemporaryFile(/tmp/multipartBody5990404945193394481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695484058,"filename":"image_14122025_07_45_53_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f9560a310fb03783ace5240148e57320.jpg","text":"TemporaryFile(/tmp/multipartBody8515469753005890944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695484058,"filename":"image_14122025_07_46_44_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/41d194cf8a279d114b3e33cdbce53560.jpg","text":"TemporaryFile(/tmp/multipartBody6566480378713928347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695484058,"filename":"image_14122025_07_45_44_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335516","file1":"1399335515","file0":"1399335514","file4":"1399335518","file5":"1399335520","file3":"1399335517"},"map_files_photo_id_array":[{"photo_id":"1399335520","filename":"file5"},{"photo_id":"1399335516","filename":"file2"},{"photo_id":"1399335518","filename":"file4"},{"photo_id":"1399335515","filename":"file1"},{"photo_id":"1399335514","filename":"file0"},{"photo_id":"1399335517","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335517":["hashtag1","hashtag2"]},{"1399335516":["hashtag1","hashtag2"]},{"1399335518":["hashtag1","hashtag2"]},{"1399335515":["hashtag1","hashtag2"]},{"1399335520":["hashtag1","hashtag2"]},{"1399335514":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335517, 1399335516, 1399335518, 1399335515, 1399335520, 1399335514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37011480331421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 07:57:42.596180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_55_2677.jpg', '/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_59_3729.jpg', '/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_02_2662.jpg', '/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_08_6590.jpg', '/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_10_1605.jpg', '/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_20_10149.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_55_2677.jpg
/home/pi/Desktop/images/04112025/12/15/image_04112025_12_15_59_3729.jpg
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_02_2662.jpg
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_08_6590.jpg
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_10_1605.jpg
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_20_10149.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335531","1399335525","1399335528","1399335530","1399335533","1399335532"],"photo_ids_order":["1399335525","1399335528","1399335530","1399335531","1399335532","1399335533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/650408041eecf27e908c005410f95d9a.jpg","text":"TemporaryFile(/tmp/multipartBody4822308054450130469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695523167,"filename":"image_04112025_12_16_08_6590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/04dfa0642391eb9b57e3583b6ab9187c.jpg","text":"TemporaryFile(/tmp/multipartBody23857295024354560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695523167,"filename":"image_04112025_12_15_55_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a442717da27f5fdad93722a26260fff0.jpg","text":"TemporaryFile(/tmp/multipartBody1430886005181645401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695523167,"filename":"image_04112025_12_15_59_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/417755be0adc46a72a4186398faa3a25.jpg","text":"TemporaryFile(/tmp/multipartBody4408926160640160039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695523167,"filename":"image_04112025_12_16_02_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be4f24d3900d5e966cf5697786107027.jpg","text":"TemporaryFile(/tmp/multipartBody1793379572029989657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695523167,"filename":"image_04112025_12_16_20_10149.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cbc08205657127a596ff974f308b224e.jpg","text":"TemporaryFile(/tmp/multipartBody2850473171681352001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695523167,"filename":"image_04112025_12_16_10_1605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335530","file1":"1399335528","file0":"1399335525","file4":"1399335532","file5":"1399335533","file3":"1399335531"},"map_files_photo_id_array":[{"photo_id":"1399335533","filename":"file5"},{"photo_id":"1399335530","filename":"file2"},{"photo_id":"1399335532","filename":"file4"},{"photo_id":"1399335528","filename":"file1"},{"photo_id":"1399335525","filename":"file0"},{"photo_id":"1399335531","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335531":["hashtag1","hashtag2"]},{"1399335525":["hashtag1","hashtag2"]},{"1399335528":["hashtag1","hashtag2"]},{"1399335530":["hashtag1","hashtag2"]},{"1399335533":["hashtag1","hashtag2"]},{"1399335532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335531, 1399335525, 1399335528, 1399335530, 1399335533, 1399335532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.981618881225586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 07:59:03.134177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/46/image_14122025_07_47_04_9840.jpg', '/home/pi/Desktop/images/14122025/07/47/image_14122025_07_47_13_9783.jpg', '/home/pi/Desktop/images/14122025/07/47/image_14122025_07_47_23_9827.jpg', '/home/pi/Desktop/images/14122025/07/47/image_14122025_07_47_34_10584.jpg', '/home/pi/Desktop/images/14122025/07/47/image_14122025_07_47_44_9719.jpg', '/home/pi/Desktop/images/14122025/07/47/image_14122025_07_47_53_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/46/image_14122025_07_47_04_9840.jpg
/home/pi/Desktop/images/14122025/07/47/image_14122025_07_47_13_9783.jpg
/home/pi/Desktop/images/14122025/07/47/image_14122025_07_47_23_9827.jpg
/home/pi/Desktop/images/14122025/07/47/image_14122025_07_47_34_10584.jpg
/home/pi/Desktop/images/14122025/07/47/image_14122025_07_47_44_9719.jpg
/home/pi/Desktop/images/14122025/07/47/image_14122025_07_47_53_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":["1399335544","1399335546","1399335537","1399335542","1399335539","1399335535"],"photo_ids_order":["1399335535","1399335537","1399335539","1399335542","1399335544","1399335546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b70c590a2439ddf8d83ad4191fda6825.jpg","text":"TemporaryFile(/tmp/multipartBody3615150778762776052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695603936,"filename":"image_14122025_07_47_44_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d9ef30370bfada6fbfd2587f1a7c198.jpg","text":"TemporaryFile(/tmp/multipartBody362292272512105662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695603936,"filename":"image_14122025_07_47_53_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/39b44854e11c0d0487cdb38eb26a81be.jpg","text":"TemporaryFile(/tmp/multipartBody6947432065710605683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695603936,"filename":"image_14122025_07_47_13_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad3c7e07091939be8ca0faaa7bc36ac7.jpg","text":"TemporaryFile(/tmp/multipartBody3172560561217088946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695603936,"filename":"image_14122025_07_47_34_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8455d22e49738bfb52f0b4779bb44f31.jpg","text":"TemporaryFile(/tmp/multipartBody2656102781990870733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695603936,"filename":"image_14122025_07_47_23_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b915206bd10e0036492c0f517d43563.jpg","text":"TemporaryFile(/tmp/multipartBody4593268261781161403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695603936,"filename":"image_14122025_07_47_04_9840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335539","file1":"1399335537","file0":"1399335535","file4":"1399335544","file5":"1399335546","file3":"1399335542"},"map_files_photo_id_array":[{"photo_id":"1399335546","filename":"file5"},{"photo_id":"1399335539","filename":"file2"},{"photo_id":"1399335544","filename":"file4"},{"photo_id":"1399335537","filename":"file1"},{"photo_id":"1399335535","filename":"file0"},{"photo_id":"1399335542","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335544":["hashtag1","hashtag2"]},{"1399335546":["hashtag1","hashtag2"]},{"1399335537":["hashtag1","hashtag2"]},{"1399335542":["hashtag1","hashtag2"]},{"1399335539":["hashtag1","hashtag2"]},{"1399335535":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335544, 1399335546, 1399335537, 1399335542, 1399335539, 1399335535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.324817419052124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:00:02.803331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/47/image_14122025_07_48_04_10576.jpg', '/home/pi/Desktop/images/14122025/07/48/image_14122025_07_48_14_9738.jpg', '/home/pi/Desktop/images/14122025/07/48/image_14122025_07_48_23_9721.jpg', '/home/pi/Desktop/images/14122025/07/48/image_14122025_07_48_34_10708.jpg', '/home/pi/Desktop/images/14122025/07/48/image_14122025_07_48_44_9562.jpg', '/home/pi/Desktop/images/14122025/07/48/image_14122025_07_48_53_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/47/image_14122025_07_48_04_10576.jpg
/home/pi/Desktop/images/14122025/07/48/image_14122025_07_48_14_9738.jpg
/home/pi/Desktop/images/14122025/07/48/image_14122025_07_48_23_9721.jpg
/home/pi/Desktop/images/14122025/07/48/image_14122025_07_48_34_10708.jpg
/home/pi/Desktop/images/14122025/07/48/image_14122025_07_48_44_9562.jpg
/home/pi/Desktop/images/14122025/07/48/image_14122025_07_48_53_9628.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5611288547515869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:00:12.254158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:00:22.290063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/47/image_14122025_07_48_04_10576.jpg', '/home/pi/Desktop/images/14122025/07/48/image_14122025_07_48_14_9738.jpg', '/home/pi/Desktop/images/14122025/07/48/image_14122025_07_48_23_9721.jpg', '/home/pi/Desktop/images/14122025/07/48/image_14122025_07_48_34_10708.jpg', '/home/pi/Desktop/images/14122025/07/48/image_14122025_07_48_44_9562.jpg', '/home/pi/Desktop/images/14122025/07/48/image_14122025_07_48_53_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/47/image_14122025_07_48_04_10576.jpg
/home/pi/Desktop/images/14122025/07/48/image_14122025_07_48_14_9738.jpg
/home/pi/Desktop/images/14122025/07/48/image_14122025_07_48_23_9721.jpg
/home/pi/Desktop/images/14122025/07/48/image_14122025_07_48_34_10708.jpg
/home/pi/Desktop/images/14122025/07/48/image_14122025_07_48_44_9562.jpg
/home/pi/Desktop/images/14122025/07/48/image_14122025_07_48_53_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":["1399335567","1399335566","1399335563","1399335571","1399335565","1399335568"],"photo_ids_order":["1399335563","1399335565","1399335566","1399335567","1399335568","1399335571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ab7a485b0fb12e2ba81401d91868e4d.jpg","text":"TemporaryFile(/tmp/multipartBody7014570629831048225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695682937,"filename":"image_14122025_07_48_34_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/334dab1c32cafeddeb1124ea86beaff1.jpg","text":"TemporaryFile(/tmp/multipartBody527205276745324897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695682937,"filename":"image_14122025_07_48_23_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/abad36297a260c4d01c6185fc99219f9.jpg","text":"TemporaryFile(/tmp/multipartBody5684753999823975250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695682937,"filename":"image_14122025_07_48_04_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/101e3e3c1b4ddab91c4c2b01fbf8a793.jpg","text":"TemporaryFile(/tmp/multipartBody7008103779804556764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695682937,"filename":"image_14122025_07_48_53_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13a239ad28cc734cc66aec64a9b709aa.jpg","text":"TemporaryFile(/tmp/multipartBody8798256176805051363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695682937,"filename":"image_14122025_07_48_14_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dadd65e2e7c909cc9c365a2f3890dc7a.jpg","text":"TemporaryFile(/tmp/multipartBody6381260079929962002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695682937,"filename":"image_14122025_07_48_44_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335566","file1":"1399335565","file0":"1399335563","file4":"1399335568","file5":"1399335571","file3":"1399335567"},"map_files_photo_id_array":[{"photo_id":"1399335571","filename":"file5"},{"photo_id":"1399335566","filename":"file2"},{"photo_id":"1399335568","filename":"file4"},{"photo_id":"1399335565","filename":"file1"},{"photo_id":"1399335563","filename":"file0"},{"photo_id":"1399335567","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335567":["hashtag1","hashtag2"]},{"1399335566":["hashtag1","hashtag2"]},{"1399335563":["hashtag1","hashtag2"]},{"1399335571":["hashtag1","hashtag2"]},{"1399335565":["hashtag1","hashtag2"]},{"1399335568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335567, 1399335566, 1399335563, 1399335571, 1399335565, 1399335568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91529107093811 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:01:03.272956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/48/image_14122025_07_49_04_10709.jpg', '/home/pi/Desktop/images/14122025/07/49/image_14122025_07_49_14_9663.jpg', '/home/pi/Desktop/images/14122025/07/49/image_14122025_07_49_23_9657.jpg', '/home/pi/Desktop/images/14122025/07/49/image_14122025_07_49_34_10713.jpg', '/home/pi/Desktop/images/14122025/07/49/image_14122025_07_49_53_9703.jpg', '/home/pi/Desktop/images/14122025/07/49/image_14122025_07_50_04_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/48/image_14122025_07_49_04_10709.jpg
/home/pi/Desktop/images/14122025/07/49/image_14122025_07_49_14_9663.jpg
/home/pi/Desktop/images/14122025/07/49/image_14122025_07_49_23_9657.jpg
/home/pi/Desktop/images/14122025/07/49/image_14122025_07_49_34_10713.jpg
/home/pi/Desktop/images/14122025/07/49/image_14122025_07_49_53_9703.jpg
/home/pi/Desktop/images/14122025/07/49/image_14122025_07_50_04_10730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335576","1399335585","1399335579","1399335581","1399335583","1399335580"],"photo_ids_order":["1399335576","1399335579","1399335580","1399335581","1399335583","1399335585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/73914204fc381cb5309cd8c5a3b8a79f.jpg","text":"TemporaryFile(/tmp/multipartBody6380814908949944909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695724126,"filename":"image_14122025_07_49_04_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c48777883190231f10404c67dfa6df41.jpg","text":"TemporaryFile(/tmp/multipartBody7613684564539211148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695724126,"filename":"image_14122025_07_50_04_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e9aaf3eafbb466606c402998436b8898.jpg","text":"TemporaryFile(/tmp/multipartBody619798048339215249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695724126,"filename":"image_14122025_07_49_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a09d5dc69eb3c8a7da90eb1e4b5c80e3.jpg","text":"TemporaryFile(/tmp/multipartBody5436299712657238292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695724126,"filename":"image_14122025_07_49_34_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/11fa945f74a5fbbfedfd80cbe326e5e6.jpg","text":"TemporaryFile(/tmp/multipartBody1641202395394524981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695724126,"filename":"image_14122025_07_49_53_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/145b305a4a626e882b69e0f076c20911.jpg","text":"TemporaryFile(/tmp/multipartBody3821757300339101621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695724126,"filename":"image_14122025_07_49_23_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335580","file1":"1399335579","file0":"1399335576","file4":"1399335583","file5":"1399335585","file3":"1399335581"},"map_files_photo_id_array":[{"photo_id":"1399335585","filename":"file5"},{"photo_id":"1399335580","filename":"file2"},{"photo_id":"1399335583","filename":"file4"},{"photo_id":"1399335579","filename":"file1"},{"photo_id":"1399335576","filename":"file0"},{"photo_id":"1399335581","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335576":["hashtag1","hashtag2"]},{"1399335585":["hashtag1","hashtag2"]},{"1399335579":["hashtag1","hashtag2"]},{"1399335581":["hashtag1","hashtag2"]},{"1399335583":["hashtag1","hashtag2"]},{"1399335580":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335576, 1399335585, 1399335579, 1399335581, 1399335583, 1399335580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94583988189697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:01:42.614343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_22_1587.jpg', '/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_23_1716.jpg', '/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_25_1675.jpg', '/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_31_5762.jpg', '/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_37_5962.jpg', '/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_38_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_22_1587.jpg
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_23_1716.jpg
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_25_1675.jpg
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_31_5762.jpg
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_37_5962.jpg
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_38_1715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335594","1399335597","1399335591","1399335593","1399335592","1399335589"],"photo_ids_order":["1399335589","1399335591","1399335592","1399335593","1399335594","1399335597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b870d6b2a7c718e16986ee2f2c3e1c59.jpg","text":"TemporaryFile(/tmp/multipartBody1479614205001165481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695763287,"filename":"image_04112025_12_16_37_5962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ed54c7800bf84f46dc3f62c42155e3fd.jpg","text":"TemporaryFile(/tmp/multipartBody7140578686044722871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695763287,"filename":"image_04112025_12_16_38_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ff0af4eb4033c8ed9d889a16e136e260.jpg","text":"TemporaryFile(/tmp/multipartBody2219982006401105067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695763287,"filename":"image_04112025_12_16_23_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3545d43cd8c032ef09363ba344728f4f.jpg","text":"TemporaryFile(/tmp/multipartBody371685951668227665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695763287,"filename":"image_04112025_12_16_31_5762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b35656d84f1efe2fcae79251f01d434a.jpg","text":"TemporaryFile(/tmp/multipartBody6596772386514416558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695763287,"filename":"image_04112025_12_16_25_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa6507c9e5ac43bccd1e140d100797bc.jpg","text":"TemporaryFile(/tmp/multipartBody8445702428397203407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695763287,"filename":"image_04112025_12_16_22_1587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335592","file1":"1399335591","file0":"1399335589","file4":"1399335594","file5":"1399335597","file3":"1399335593"},"map_files_photo_id_array":[{"photo_id":"1399335597","filename":"file5"},{"photo_id":"1399335592","filename":"file2"},{"photo_id":"1399335594","filename":"file4"},{"photo_id":"1399335591","filename":"file1"},{"photo_id":"1399335589","filename":"file0"},{"photo_id":"1399335593","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335594":["hashtag1","hashtag2"]},{"1399335597":["hashtag1","hashtag2"]},{"1399335591":["hashtag1","hashtag2"]},{"1399335593":["hashtag1","hashtag2"]},{"1399335592":["hashtag1","hashtag2"]},{"1399335589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335594, 1399335597, 1399335591, 1399335593, 1399335592, 1399335589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00831127166748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:02:31.900705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:02:41.856054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_40_1595.jpg', '/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_42_1700.jpg', '/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_44_1851.jpg', '/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_45_1672.jpg', '/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_47_1660.jpg', '/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_48_1528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_40_1595.jpg
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_42_1700.jpg
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_44_1851.jpg
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_45_1672.jpg
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_47_1660.jpg
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_48_1528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335610","1399335604","1399335606","1399335599","1399335602","1399335608"],"photo_ids_order":["1399335599","1399335602","1399335604","1399335606","1399335608","1399335610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/66b66ca23c69574504634197cdeb09ee.jpg","text":"TemporaryFile(/tmp/multipartBody5253788139649429581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695822528,"filename":"image_04112025_12_16_48_1528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf437cbe2053ab5b84d7ce9f0684b46f.jpg","text":"TemporaryFile(/tmp/multipartBody4240474843149050965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695822528,"filename":"image_04112025_12_16_44_1851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/91d59f16220d09cf6cf114af02806998.jpg","text":"TemporaryFile(/tmp/multipartBody932609860872699922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695822528,"filename":"image_04112025_12_16_45_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1973f16c9ce72987894842ed8b06374f.jpg","text":"TemporaryFile(/tmp/multipartBody6983274584616812107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695822528,"filename":"image_04112025_12_16_40_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e10c00cffaadb1d7f2f3c997f63002b9.jpg","text":"TemporaryFile(/tmp/multipartBody3205467964132386183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695822528,"filename":"image_04112025_12_16_42_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ed6bc77d390bbc110a4965efc5972ffe.jpg","text":"TemporaryFile(/tmp/multipartBody9102749412818999322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695822528,"filename":"image_04112025_12_16_47_1660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335604","file1":"1399335602","file0":"1399335599","file4":"1399335608","file5":"1399335610","file3":"1399335606"},"map_files_photo_id_array":[{"photo_id":"1399335610","filename":"file5"},{"photo_id":"1399335604","filename":"file2"},{"photo_id":"1399335608","filename":"file4"},{"photo_id":"1399335602","filename":"file1"},{"photo_id":"1399335599","filename":"file0"},{"photo_id":"1399335606","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335610":["hashtag1","hashtag2"]},{"1399335604":["hashtag1","hashtag2"]},{"1399335606":["hashtag1","hashtag2"]},{"1399335599":["hashtag1","hashtag2"]},{"1399335602":["hashtag1","hashtag2"]},{"1399335608":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335610, 1399335604, 1399335606, 1399335599, 1399335602, 1399335608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75969171524048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:03:22.119702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/50/image_14122025_07_50_14_9759.jpg', '/home/pi/Desktop/images/14122025/07/50/image_14122025_07_50_24_9793.jpg', '/home/pi/Desktop/images/14122025/07/50/image_14122025_07_50_44_10700.jpg', '/home/pi/Desktop/images/14122025/07/50/image_14122025_07_50_54_9701.jpg', '/home/pi/Desktop/images/14122025/07/50/image_14122025_07_51_04_9702.jpg', '/home/pi/Desktop/images/14122025/07/51/image_14122025_07_51_13_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/50/image_14122025_07_50_14_9759.jpg
/home/pi/Desktop/images/14122025/07/50/image_14122025_07_50_24_9793.jpg
/home/pi/Desktop/images/14122025/07/50/image_14122025_07_50_44_10700.jpg
/home/pi/Desktop/images/14122025/07/50/image_14122025_07_50_54_9701.jpg
/home/pi/Desktop/images/14122025/07/50/image_14122025_07_51_04_9702.jpg
/home/pi/Desktop/images/14122025/07/51/image_14122025_07_51_13_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":["1399335616","1399335615","1399335618","1399335620","1399335617","1399335614"],"photo_ids_order":["1399335614","1399335615","1399335616","1399335617","1399335618","1399335620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a8659fe62938b8a0e1015c48da711d8a.jpg","text":"TemporaryFile(/tmp/multipartBody1249654712973848499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695862758,"filename":"image_14122025_07_50_44_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81a150229accdd34c16f6d2fcdd88bae.jpg","text":"TemporaryFile(/tmp/multipartBody6761779757971271490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695862758,"filename":"image_14122025_07_50_24_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28d399d99ad4e61fc86b4feca73eaee7.jpg","text":"TemporaryFile(/tmp/multipartBody1841445164437896146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695862758,"filename":"image_14122025_07_51_04_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5804b89aae2cdad72a83ff794fec64c6.jpg","text":"TemporaryFile(/tmp/multipartBody8753198979015369769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695862758,"filename":"image_14122025_07_51_13_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/98e3b3606fa67872c84fd9c222a73ab5.jpg","text":"TemporaryFile(/tmp/multipartBody3417724965453785304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695862758,"filename":"image_14122025_07_50_54_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e9cda9dced85c7f6d2f570e83b5bd66b.jpg","text":"TemporaryFile(/tmp/multipartBody5225009539325570879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695862758,"filename":"image_14122025_07_50_14_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335616","file1":"1399335615","file0":"1399335614","file4":"1399335618","file5":"1399335620","file3":"1399335617"},"map_files_photo_id_array":[{"photo_id":"1399335620","filename":"file5"},{"photo_id":"1399335616","filename":"file2"},{"photo_id":"1399335618","filename":"file4"},{"photo_id":"1399335615","filename":"file1"},{"photo_id":"1399335614","filename":"file0"},{"photo_id":"1399335617","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335616":["hashtag1","hashtag2"]},{"1399335615":["hashtag1","hashtag2"]},{"1399335618":["hashtag1","hashtag2"]},{"1399335620":["hashtag1","hashtag2"]},{"1399335617":["hashtag1","hashtag2"]},{"1399335614":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335616, 1399335615, 1399335618, 1399335620, 1399335617, 1399335614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.966583490371704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:04:03.141117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/51/image_14122025_07_51_24_10632.jpg', '/home/pi/Desktop/images/14122025/07/51/image_14122025_07_51_34_9681.jpg', '/home/pi/Desktop/images/14122025/07/51/image_14122025_07_51_43_9729.jpg', '/home/pi/Desktop/images/14122025/07/51/image_14122025_07_51_54_10623.jpg', '/home/pi/Desktop/images/14122025/07/52/image_14122025_07_52_14_10023.jpg', '/home/pi/Desktop/images/14122025/07/52/image_14122025_07_52_23_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/51/image_14122025_07_51_24_10632.jpg
/home/pi/Desktop/images/14122025/07/51/image_14122025_07_51_34_9681.jpg
/home/pi/Desktop/images/14122025/07/51/image_14122025_07_51_43_9729.jpg
/home/pi/Desktop/images/14122025/07/51/image_14122025_07_51_54_10623.jpg
/home/pi/Desktop/images/14122025/07/52/image_14122025_07_52_14_10023.jpg
/home/pi/Desktop/images/14122025/07/52/image_14122025_07_52_23_9763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335630","1399335629","1399335632","1399335626","1399335631","1399335628"],"photo_ids_order":["1399335626","1399335628","1399335629","1399335630","1399335631","1399335632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd45d4041bbd9902596105ddd37cb855.jpg","text":"TemporaryFile(/tmp/multipartBody1320912584769015534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695903919,"filename":"image_14122025_07_51_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/12/14/9bbec1c270b741142cdd65d5dad61e51.jpg","text":"TemporaryFile(/tmp/multipartBody6611647495268474006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695903919,"filename":"image_14122025_07_51_43_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/34bdd465b93c0bb88b69989f5668e9c7.jpg","text":"TemporaryFile(/tmp/multipartBody8362325711853029728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695903919,"filename":"image_14122025_07_52_23_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b8c8ec19db84f5bb536bf60ab5c8cae6.jpg","text":"TemporaryFile(/tmp/multipartBody4448259153026149310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695903919,"filename":"image_14122025_07_51_24_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/85ddce43379038de8d847553d0d932e1.jpg","text":"TemporaryFile(/tmp/multipartBody4462296850093681503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695903919,"filename":"image_14122025_07_52_14_10023.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3defc2555dc6d498c46b5de2802f040.jpg","text":"TemporaryFile(/tmp/multipartBody2068484278848210132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695903919,"filename":"image_14122025_07_51_34_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335629","file1":"1399335628","file0":"1399335626","file4":"1399335631","file5":"1399335632","file3":"1399335630"},"map_files_photo_id_array":[{"photo_id":"1399335632","filename":"file5"},{"photo_id":"1399335629","filename":"file2"},{"photo_id":"1399335631","filename":"file4"},{"photo_id":"1399335628","filename":"file1"},{"photo_id":"1399335626","filename":"file0"},{"photo_id":"1399335630","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335630":["hashtag1","hashtag2"]},{"1399335629":["hashtag1","hashtag2"]},{"1399335632":["hashtag1","hashtag2"]},{"1399335626":["hashtag1","hashtag2"]},{"1399335631":["hashtag1","hashtag2"]},{"1399335628":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335630, 1399335629, 1399335632, 1399335626, 1399335631, 1399335628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.59728169441223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:05:03.391118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/52/image_14122025_07_52_44_9684.jpg', '/home/pi/Desktop/images/14122025/07/52/image_14122025_07_52_54_9710.jpg', '/home/pi/Desktop/images/14122025/07/52/image_14122025_07_53_03_9716.jpg', '/home/pi/Desktop/images/14122025/07/53/image_14122025_07_53_24_9721.jpg', '/home/pi/Desktop/images/14122025/07/53/image_14122025_07_53_44_10724.jpg', '/home/pi/Desktop/images/14122025/07/53/image_14122025_07_54_04_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/52/image_14122025_07_52_44_9684.jpg
/home/pi/Desktop/images/14122025/07/52/image_14122025_07_52_54_9710.jpg
/home/pi/Desktop/images/14122025/07/52/image_14122025_07_53_03_9716.jpg
/home/pi/Desktop/images/14122025/07/53/image_14122025_07_53_24_9721.jpg
/home/pi/Desktop/images/14122025/07/53/image_14122025_07_53_44_10724.jpg
/home/pi/Desktop/images/14122025/07/53/image_14122025_07_54_04_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":["1399335643","1399335645","1399335647","1399335644","1399335649","1399335640"],"photo_ids_order":["1399335640","1399335643","1399335644","1399335645","1399335647","1399335649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c31ba2e3619a925148b8c4454ac8f630.jpg","text":"TemporaryFile(/tmp/multipartBody4568699300572379186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695964090,"filename":"image_14122025_07_52_54_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a19dad527a5c559585c8757cc083a6bc.jpg","text":"TemporaryFile(/tmp/multipartBody14176799168521361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695964090,"filename":"image_14122025_07_53_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/12/14/d3b8cffec3385afc2f61cb2bd0f6fc5e.jpg","text":"TemporaryFile(/tmp/multipartBody5504677900810727290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695964090,"filename":"image_14122025_07_53_44_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/06f8fb5db35e80d75c2bf7571a76b347.jpg","text":"TemporaryFile(/tmp/multipartBody8933004708745942878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695964090,"filename":"image_14122025_07_53_03_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b363a03130d52e965afcdf20b9807707.jpg","text":"TemporaryFile(/tmp/multipartBody6031507919963029869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695964090,"filename":"image_14122025_07_54_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6574a508b2469688681ed00caaf21c79.jpg","text":"TemporaryFile(/tmp/multipartBody7440669248434603177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765695964090,"filename":"image_14122025_07_52_44_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335644","file1":"1399335643","file0":"1399335640","file4":"1399335647","file5":"1399335649","file3":"1399335645"},"map_files_photo_id_array":[{"photo_id":"1399335649","filename":"file5"},{"photo_id":"1399335644","filename":"file2"},{"photo_id":"1399335647","filename":"file4"},{"photo_id":"1399335643","filename":"file1"},{"photo_id":"1399335640","filename":"file0"},{"photo_id":"1399335645","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335643":["hashtag1","hashtag2"]},{"1399335645":["hashtag1","hashtag2"]},{"1399335647":["hashtag1","hashtag2"]},{"1399335644":["hashtag1","hashtag2"]},{"1399335649":["hashtag1","hashtag2"]},{"1399335640":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335643, 1399335645, 1399335647, 1399335644, 1399335649, 1399335640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17121505737305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:05:42.648986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_50_1649.jpg', '/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_53_2770.jpg', '/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_56_2871.jpg', '/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_58_2569.jpg', '/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_01_2677.jpg', '/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_08_6756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_50_1649.jpg
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_53_2770.jpg
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_56_2871.jpg
/home/pi/Desktop/images/04112025/12/16/image_04112025_12_16_58_2569.jpg
/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_01_2677.jpg
/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_08_6756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335660","1399335657","1399335653","1399335656","1399335659","1399335658"],"photo_ids_order":["1399335653","1399335656","1399335657","1399335658","1399335659","1399335660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ab35eaca1d0b013d08a978712cba4c49.jpg","text":"TemporaryFile(/tmp/multipartBody7760712652884581287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696003322,"filename":"image_04112025_12_17_08_6756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/40569d62bb501401cb4a6096c0f0a9e7.jpg","text":"TemporaryFile(/tmp/multipartBody5455950419130399889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696003322,"filename":"image_04112025_12_16_56_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/23446e15f699614caaa15dec95ffd5ed.jpg","text":"TemporaryFile(/tmp/multipartBody3114474032718593855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696003322,"filename":"image_04112025_12_16_50_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9646261107a797182ba46a4d5064d70e.jpg","text":"TemporaryFile(/tmp/multipartBody4975078627848050183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696003322,"filename":"image_04112025_12_16_53_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9790826a59beead4524a1bac778d336a.jpg","text":"TemporaryFile(/tmp/multipartBody4934260983500364381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696003322,"filename":"image_04112025_12_17_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/12/14/a1b7301608b2fe6c568324be858349ce.jpg","text":"TemporaryFile(/tmp/multipartBody5762584071615092430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696003322,"filename":"image_04112025_12_16_58_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335657","file1":"1399335656","file0":"1399335653","file4":"1399335659","file5":"1399335660","file3":"1399335658"},"map_files_photo_id_array":[{"photo_id":"1399335660","filename":"file5"},{"photo_id":"1399335657","filename":"file2"},{"photo_id":"1399335659","filename":"file4"},{"photo_id":"1399335656","filename":"file1"},{"photo_id":"1399335653","filename":"file0"},{"photo_id":"1399335658","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335660":["hashtag1","hashtag2"]},{"1399335657":["hashtag1","hashtag2"]},{"1399335653":["hashtag1","hashtag2"]},{"1399335656":["hashtag1","hashtag2"]},{"1399335659":["hashtag1","hashtag2"]},{"1399335658":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335660, 1399335657, 1399335653, 1399335656, 1399335659, 1399335658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.424640417099 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:06:21.892521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_13_9612.jpg', '/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_24_10707.jpg', '/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_34_9901.jpg', '/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_44_9663.jpg', '/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_53_9679.jpg', '/home/pi/Desktop/images/14122025/07/54/image_14122025_07_55_04_10841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_13_9612.jpg
/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_24_10707.jpg
/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_34_9901.jpg
/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_44_9663.jpg
/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_53_9679.jpg
/home/pi/Desktop/images/14122025/07/54/image_14122025_07_55_04_10841.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5393416881561279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:06:31.994808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:06:41.893250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_09_1677.jpg', '/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_11_1631.jpg', '/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_14_2869.jpg', '/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_17_2704.jpg', '/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_19_2703.jpg', '/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_23_3572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_09_1677.jpg
/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_11_1631.jpg
/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_14_2869.jpg
/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_17_2704.jpg
/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_19_2703.jpg
/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_23_3572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335675","1399335678","1399335677","1399335676","1399335679","1399335670"],"photo_ids_order":["1399335670","1399335675","1399335676","1399335677","1399335678","1399335679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/637245eea6cf4bef51033df41f7999a7.jpg","text":"TemporaryFile(/tmp/multipartBody1970971761165170439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696062570,"filename":"image_04112025_12_17_11_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7c5b8894b1e3b4d41253512cc7f8d3a6.jpg","text":"TemporaryFile(/tmp/multipartBody7284689645649732970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696062570,"filename":"image_04112025_12_17_19_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d561d0e7125db9e2ac5a376e884fbb04.jpg","text":"TemporaryFile(/tmp/multipartBody7694579321623453014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696062570,"filename":"image_04112025_12_17_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/12/14/13fc85e14aea6b5653acc0a2bd420bb5.jpg","text":"TemporaryFile(/tmp/multipartBody3853787121672579643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696062570,"filename":"image_04112025_12_17_14_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/299d7c60a127ae417c49929c7989e42c.jpg","text":"TemporaryFile(/tmp/multipartBody8201013817985380108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696062570,"filename":"image_04112025_12_17_23_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4eb3135a8a5f706e707c137f716a2075.jpg","text":"TemporaryFile(/tmp/multipartBody4031526276671467987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696062570,"filename":"image_04112025_12_17_09_1677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335676","file1":"1399335675","file0":"1399335670","file4":"1399335678","file5":"1399335679","file3":"1399335677"},"map_files_photo_id_array":[{"photo_id":"1399335679","filename":"file5"},{"photo_id":"1399335676","filename":"file2"},{"photo_id":"1399335678","filename":"file4"},{"photo_id":"1399335675","filename":"file1"},{"photo_id":"1399335670","filename":"file0"},{"photo_id":"1399335677","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335675":["hashtag1","hashtag2"]},{"1399335678":["hashtag1","hashtag2"]},{"1399335677":["hashtag1","hashtag2"]},{"1399335676":["hashtag1","hashtag2"]},{"1399335679":["hashtag1","hashtag2"]},{"1399335670":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335675, 1399335678, 1399335677, 1399335676, 1399335679, 1399335670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.122870683670044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:07:22.148482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_13_9612.jpg', '/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_24_10707.jpg', '/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_34_9901.jpg', '/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_44_9663.jpg', '/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_53_9679.jpg', '/home/pi/Desktop/images/14122025/07/54/image_14122025_07_55_04_10841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_13_9612.jpg
/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_24_10707.jpg
/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_34_9901.jpg
/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_44_9663.jpg
/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_53_9679.jpg
/home/pi/Desktop/images/14122025/07/54/image_14122025_07_55_04_10841.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5307562351226807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:07:32.167171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:07:42.130266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_26_2570.jpg', '/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_28_2707.jpg', '/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_32_3589.jpg', '/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_34_2468.jpg', '/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_38_3615.jpg', '/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_41_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_26_2570.jpg
/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_28_2707.jpg
/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_32_3589.jpg
/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_34_2468.jpg
/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_38_3615.jpg
/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_41_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":["1399335693","1399335687","1399335690","1399335692","1399335694","1399335691"],"photo_ids_order":["1399335687","1399335690","1399335691","1399335692","1399335693","1399335694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b73ea4cdbc1fda53e0b806c34fce329f.jpg","text":"TemporaryFile(/tmp/multipartBody4495932185767140992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696122831,"filename":"image_04112025_12_17_38_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/789112a63f31a3330c3887fe26323167.jpg","text":"TemporaryFile(/tmp/multipartBody6803277933794882742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696122831,"filename":"image_04112025_12_17_26_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3916491cfe700a9d07f8014e1cb7aea5.jpg","text":"TemporaryFile(/tmp/multipartBody8331539067716459985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696122831,"filename":"image_04112025_12_17_28_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/783751660815851acaf62257246403cb.jpg","text":"TemporaryFile(/tmp/multipartBody4058546485555548341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696122831,"filename":"image_04112025_12_17_34_2468.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/515ac151c32f677583cd2564bbb1ed35.jpg","text":"TemporaryFile(/tmp/multipartBody6583543807020248660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696122831,"filename":"image_04112025_12_17_41_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5186b113f51e8945176f1f77d24af053.jpg","text":"TemporaryFile(/tmp/multipartBody3222673442903465409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696122831,"filename":"image_04112025_12_17_32_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335691","file1":"1399335690","file0":"1399335687","file4":"1399335693","file5":"1399335694","file3":"1399335692"},"map_files_photo_id_array":[{"photo_id":"1399335694","filename":"file5"},{"photo_id":"1399335691","filename":"file2"},{"photo_id":"1399335693","filename":"file4"},{"photo_id":"1399335690","filename":"file1"},{"photo_id":"1399335687","filename":"file0"},{"photo_id":"1399335692","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335693":["hashtag1","hashtag2"]},{"1399335687":["hashtag1","hashtag2"]},{"1399335690":["hashtag1","hashtag2"]},{"1399335692":["hashtag1","hashtag2"]},{"1399335694":["hashtag1","hashtag2"]},{"1399335691":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335693, 1399335687, 1399335690, 1399335692, 1399335694, 1399335691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33622717857361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:08:22.519121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_13_9612.jpg', '/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_24_10707.jpg', '/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_34_9901.jpg', '/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_44_9663.jpg', '/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_53_9679.jpg', '/home/pi/Desktop/images/14122025/07/54/image_14122025_07_55_04_10841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_13_9612.jpg
/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_24_10707.jpg
/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_34_9901.jpg
/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_44_9663.jpg
/home/pi/Desktop/images/14122025/07/54/image_14122025_07_54_53_9679.jpg
/home/pi/Desktop/images/14122025/07/54/image_14122025_07_55_04_10841.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335699","1399335703","1399335706","1399335696","1399335702","1399335697"],"photo_ids_order":["1399335696","1399335697","1399335699","1399335702","1399335703","1399335706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56f182603470ecc118d79d8f83d56642.jpg","text":"TemporaryFile(/tmp/multipartBody916195532330385636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696163160,"filename":"image_14122025_07_54_34_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9e0ccb7099f2b9b592c83745ee994d1b.jpg","text":"TemporaryFile(/tmp/multipartBody2103145330462774562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696163160,"filename":"image_14122025_07_54_53_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef21ab08f74e1868de72e035dfe690a4.jpg","text":"TemporaryFile(/tmp/multipartBody7603595043760641802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696163160,"filename":"image_14122025_07_55_04_10841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c5fba37b8db062e3838e0e28429d21f7.jpg","text":"TemporaryFile(/tmp/multipartBody3782654125153298486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696163160,"filename":"image_14122025_07_54_13_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f006b206f722dccf37039d06c55f904c.jpg","text":"TemporaryFile(/tmp/multipartBody9098036922254018389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696163160,"filename":"image_14122025_07_54_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c704105564606f266dd095999dc6073a.jpg","text":"TemporaryFile(/tmp/multipartBody5531674157878885999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696163160,"filename":"image_14122025_07_54_24_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335699","file1":"1399335697","file0":"1399335696","file4":"1399335703","file5":"1399335706","file3":"1399335702"},"map_files_photo_id_array":[{"photo_id":"1399335706","filename":"file5"},{"photo_id":"1399335699","filename":"file2"},{"photo_id":"1399335703","filename":"file4"},{"photo_id":"1399335697","filename":"file1"},{"photo_id":"1399335696","filename":"file0"},{"photo_id":"1399335702","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335699":["hashtag1","hashtag2"]},{"1399335703":["hashtag1","hashtag2"]},{"1399335706":["hashtag1","hashtag2"]},{"1399335696":["hashtag1","hashtag2"]},{"1399335702":["hashtag1","hashtag2"]},{"1399335697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335699, 1399335703, 1399335706, 1399335696, 1399335702, 1399335697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95332360267639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:09:03.541243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/55/image_14122025_07_55_14_10033.jpg', '/home/pi/Desktop/images/14122025/07/55/image_14122025_07_55_24_9823.jpg', '/home/pi/Desktop/images/14122025/07/55/image_14122025_07_55_34_9691.jpg', '/home/pi/Desktop/images/14122025/07/55/image_14122025_07_55_43_9712.jpg', '/home/pi/Desktop/images/14122025/07/55/image_14122025_07_55_54_10674.jpg', '/home/pi/Desktop/images/14122025/07/55/image_14122025_07_56_04_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/55/image_14122025_07_55_14_10033.jpg
/home/pi/Desktop/images/14122025/07/55/image_14122025_07_55_24_9823.jpg
/home/pi/Desktop/images/14122025/07/55/image_14122025_07_55_34_9691.jpg
/home/pi/Desktop/images/14122025/07/55/image_14122025_07_55_43_9712.jpg
/home/pi/Desktop/images/14122025/07/55/image_14122025_07_55_54_10674.jpg
/home/pi/Desktop/images/14122025/07/55/image_14122025_07_56_04_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":["1399335715","1399335717","1399335711","1399335708","1399335713","1399335712"],"photo_ids_order":["1399335708","1399335711","1399335712","1399335713","1399335715","1399335717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/78cdf06189c8c860d81ec36236a72141.jpg","text":"TemporaryFile(/tmp/multipartBody1162463152846064104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696204353,"filename":"image_14122025_07_55_54_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/17f13565a6eabac64999a351139885a3.jpg","text":"TemporaryFile(/tmp/multipartBody4875082129159734013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696204353,"filename":"image_14122025_07_56_04_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aadf5d447bac5a5b2791305a11c2ca3b.jpg","text":"TemporaryFile(/tmp/multipartBody450270519368439046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696204353,"filename":"image_14122025_07_55_24_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/83b7d88a55335741130eaf7267a952bb.jpg","text":"TemporaryFile(/tmp/multipartBody6170937242258280736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696204353,"filename":"image_14122025_07_55_14_10033.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f4410b3614ab4a72e6e0dec496aaa85a.jpg","text":"TemporaryFile(/tmp/multipartBody7226686394973189403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696204353,"filename":"image_14122025_07_55_43_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a9b8fe9a9d90c32ad1c0fce85efc093.jpg","text":"TemporaryFile(/tmp/multipartBody3474538052396930028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696204353,"filename":"image_14122025_07_55_34_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335712","file1":"1399335711","file0":"1399335708","file4":"1399335715","file5":"1399335717","file3":"1399335713"},"map_files_photo_id_array":[{"photo_id":"1399335717","filename":"file5"},{"photo_id":"1399335712","filename":"file2"},{"photo_id":"1399335715","filename":"file4"},{"photo_id":"1399335711","filename":"file1"},{"photo_id":"1399335708","filename":"file0"},{"photo_id":"1399335713","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335715":["hashtag1","hashtag2"]},{"1399335717":["hashtag1","hashtag2"]},{"1399335711":["hashtag1","hashtag2"]},{"1399335708":["hashtag1","hashtag2"]},{"1399335713":["hashtag1","hashtag2"]},{"1399335712":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335715, 1399335717, 1399335711, 1399335708, 1399335713, 1399335712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07355761528015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:09:42.506692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_43_2589.jpg', '/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_46_2934.jpg', '/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_50_3603.jpg', '/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_52_2748.jpg', '/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_55_2600.jpg', '/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_59_3844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_43_2589.jpg
/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_46_2934.jpg
/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_50_3603.jpg
/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_52_2748.jpg
/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_55_2600.jpg
/home/pi/Desktop/images/04112025/12/17/image_04112025_12_17_59_3844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335724","1399335723","1399335726","1399335722","1399335725","1399335727"],"photo_ids_order":["1399335722","1399335723","1399335724","1399335725","1399335726","1399335727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ace1794acc243ae9caf35f579a7d5131.jpg","text":"TemporaryFile(/tmp/multipartBody943913928574166326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696243176,"filename":"image_04112025_12_17_50_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b8faf7eb6cff7f047e685ca9500f2e9d.jpg","text":"TemporaryFile(/tmp/multipartBody5542432669630433099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696243176,"filename":"image_04112025_12_17_46_2934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9163c7249e3cb278efd914e2cefa40ca.jpg","text":"TemporaryFile(/tmp/multipartBody89540660069752713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696243176,"filename":"image_04112025_12_17_55_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/85aa9ab7eadafd084c36952b6785cc7e.jpg","text":"TemporaryFile(/tmp/multipartBody4237941482126776369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696243176,"filename":"image_04112025_12_17_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/12/14/afd0e453d267be4cff0def0a7f7cf5c4.jpg","text":"TemporaryFile(/tmp/multipartBody6257397685178929618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696243176,"filename":"image_04112025_12_17_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/12/14/df8a71de4a946b44a8e1f1d3698b7f35.jpg","text":"TemporaryFile(/tmp/multipartBody5729928560052216390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696243176,"filename":"image_04112025_12_17_59_3844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335724","file1":"1399335723","file0":"1399335722","file4":"1399335726","file5":"1399335727","file3":"1399335725"},"map_files_photo_id_array":[{"photo_id":"1399335727","filename":"file5"},{"photo_id":"1399335724","filename":"file2"},{"photo_id":"1399335726","filename":"file4"},{"photo_id":"1399335723","filename":"file1"},{"photo_id":"1399335722","filename":"file0"},{"photo_id":"1399335725","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335724":["hashtag1","hashtag2"]},{"1399335723":["hashtag1","hashtag2"]},{"1399335726":["hashtag1","hashtag2"]},{"1399335722":["hashtag1","hashtag2"]},{"1399335725":["hashtag1","hashtag2"]},{"1399335727":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335724, 1399335723, 1399335726, 1399335722, 1399335725, 1399335727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89944911003113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:10:22.803977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/56/image_14122025_07_56_14_9821.jpg', '/home/pi/Desktop/images/14122025/07/56/image_14122025_07_56_23_9812.jpg', '/home/pi/Desktop/images/14122025/07/56/image_14122025_07_56_33_9829.jpg', '/home/pi/Desktop/images/14122025/07/56/image_14122025_07_56_54_9604.jpg', '/home/pi/Desktop/images/14122025/07/57/image_14122025_07_57_14_10780.jpg', '/home/pi/Desktop/images/14122025/07/57/image_14122025_07_57_24_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/56/image_14122025_07_56_14_9821.jpg
/home/pi/Desktop/images/14122025/07/56/image_14122025_07_56_23_9812.jpg
/home/pi/Desktop/images/14122025/07/56/image_14122025_07_56_33_9829.jpg
/home/pi/Desktop/images/14122025/07/56/image_14122025_07_56_54_9604.jpg
/home/pi/Desktop/images/14122025/07/57/image_14122025_07_57_14_10780.jpg
/home/pi/Desktop/images/14122025/07/57/image_14122025_07_57_24_9689.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5373027324676514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:10:32.811485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:10:42.740743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_02_2728.jpg', '/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_04_2623.jpg', '/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_08_3646.jpg', '/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_15_6734.jpg', '/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_16_1703.jpg', '/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_18_1732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_02_2728.jpg
/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_04_2623.jpg
/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_08_3646.jpg
/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_15_6734.jpg
/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_16_1703.jpg
/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_18_1732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335742","1399335741","1399335744","1399335743","1399335745","1399335739"],"photo_ids_order":["1399335739","1399335741","1399335742","1399335743","1399335744","1399335745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e615a98a341d55e14750a5948d65a910.jpg","text":"TemporaryFile(/tmp/multipartBody4072012647033217920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696303411,"filename":"image_04112025_12_18_08_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a2eb7548c9379ce0da03c923feed758d.jpg","text":"TemporaryFile(/tmp/multipartBody3128429846219827957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696303411,"filename":"image_04112025_12_18_04_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/989568b49db2a1a20848c30a930aee59.jpg","text":"TemporaryFile(/tmp/multipartBody6161343921051084078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696303411,"filename":"image_04112025_12_18_16_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3aa7652a1212fc4326d4d2270419c6b9.jpg","text":"TemporaryFile(/tmp/multipartBody209292515632533156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696303411,"filename":"image_04112025_12_18_15_6734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/976685a8b941eb0c6b7a84ffa25db17f.jpg","text":"TemporaryFile(/tmp/multipartBody9211379679432201546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696303411,"filename":"image_04112025_12_18_18_1732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/841132afe868cf02a585c645f658dc40.jpg","text":"TemporaryFile(/tmp/multipartBody447454583955360568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696303411,"filename":"image_04112025_12_18_02_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335742","file1":"1399335741","file0":"1399335739","file4":"1399335744","file5":"1399335745","file3":"1399335743"},"map_files_photo_id_array":[{"photo_id":"1399335745","filename":"file5"},{"photo_id":"1399335742","filename":"file2"},{"photo_id":"1399335744","filename":"file4"},{"photo_id":"1399335741","filename":"file1"},{"photo_id":"1399335739","filename":"file0"},{"photo_id":"1399335743","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335742":["hashtag1","hashtag2"]},{"1399335741":["hashtag1","hashtag2"]},{"1399335744":["hashtag1","hashtag2"]},{"1399335743":["hashtag1","hashtag2"]},{"1399335745":["hashtag1","hashtag2"]},{"1399335739":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335742, 1399335741, 1399335744, 1399335743, 1399335745, 1399335739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.315890073776245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:11:21.993900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/56/image_14122025_07_56_14_9821.jpg', '/home/pi/Desktop/images/14122025/07/56/image_14122025_07_56_23_9812.jpg', '/home/pi/Desktop/images/14122025/07/56/image_14122025_07_56_33_9829.jpg', '/home/pi/Desktop/images/14122025/07/56/image_14122025_07_56_54_9604.jpg', '/home/pi/Desktop/images/14122025/07/57/image_14122025_07_57_14_10780.jpg', '/home/pi/Desktop/images/14122025/07/57/image_14122025_07_57_24_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/56/image_14122025_07_56_14_9821.jpg
/home/pi/Desktop/images/14122025/07/56/image_14122025_07_56_23_9812.jpg
/home/pi/Desktop/images/14122025/07/56/image_14122025_07_56_33_9829.jpg
/home/pi/Desktop/images/14122025/07/56/image_14122025_07_56_54_9604.jpg
/home/pi/Desktop/images/14122025/07/57/image_14122025_07_57_14_10780.jpg
/home/pi/Desktop/images/14122025/07/57/image_14122025_07_57_24_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335753","1399335750","1399335746","1399335761","1399335755","1399335748"],"photo_ids_order":["1399335746","1399335748","1399335750","1399335753","1399335755","1399335761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/25a7025e9ee05aa4c1ed6d4c6761d9b8.jpg","text":"TemporaryFile(/tmp/multipartBody2797683572990010561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696342634,"filename":"image_14122025_07_56_54_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dfc0f266888e4f9a286befe726fac6db.jpg","text":"TemporaryFile(/tmp/multipartBody909234595509704548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696342634,"filename":"image_14122025_07_56_33_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3c42346911576f63eb7ae73211c48f24.jpg","text":"TemporaryFile(/tmp/multipartBody9033849560725330714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696342634,"filename":"image_14122025_07_56_14_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c32d830b2fcfb4a9fcffb3a3989698b0.jpg","text":"TemporaryFile(/tmp/multipartBody2603376273088903665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696342634,"filename":"image_14122025_07_57_24_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5292b8573c93a9f985f7388e3af6a680.jpg","text":"TemporaryFile(/tmp/multipartBody778533245082451177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696342634,"filename":"image_14122025_07_57_14_10780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd3489475f439e18dc89643b6b11dff7.jpg","text":"TemporaryFile(/tmp/multipartBody6670057740773396459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696342634,"filename":"image_14122025_07_56_23_9812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335750","file1":"1399335748","file0":"1399335746","file4":"1399335755","file5":"1399335761","file3":"1399335753"},"map_files_photo_id_array":[{"photo_id":"1399335761","filename":"file5"},{"photo_id":"1399335750","filename":"file2"},{"photo_id":"1399335755","filename":"file4"},{"photo_id":"1399335748","filename":"file1"},{"photo_id":"1399335746","filename":"file0"},{"photo_id":"1399335753","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335753":["hashtag1","hashtag2"]},{"1399335750":["hashtag1","hashtag2"]},{"1399335746":["hashtag1","hashtag2"]},{"1399335761":["hashtag1","hashtag2"]},{"1399335755":["hashtag1","hashtag2"]},{"1399335748":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335753, 1399335750, 1399335746, 1399335761, 1399335755, 1399335748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9044885635376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:12:02.568015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/57/image_14122025_07_57_34_9740.jpg', '/home/pi/Desktop/images/14122025/07/57/image_14122025_07_57_43_9744.jpg', '/home/pi/Desktop/images/14122025/07/57/image_14122025_07_57_54_10744.jpg', '/home/pi/Desktop/images/14122025/07/57/image_14122025_07_58_04_9644.jpg', '/home/pi/Desktop/images/14122025/07/58/image_14122025_07_58_34_10720.jpg', '/home/pi/Desktop/images/14122025/07/58/image_14122025_07_58_44_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/57/image_14122025_07_57_34_9740.jpg
/home/pi/Desktop/images/14122025/07/57/image_14122025_07_57_43_9744.jpg
/home/pi/Desktop/images/14122025/07/57/image_14122025_07_57_54_10744.jpg
/home/pi/Desktop/images/14122025/07/57/image_14122025_07_58_04_9644.jpg
/home/pi/Desktop/images/14122025/07/58/image_14122025_07_58_34_10720.jpg
/home/pi/Desktop/images/14122025/07/58/image_14122025_07_58_44_9720.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5553948879241943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:12:12.165553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:12:22.154058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/57/image_14122025_07_57_34_9740.jpg', '/home/pi/Desktop/images/14122025/07/57/image_14122025_07_57_43_9744.jpg', '/home/pi/Desktop/images/14122025/07/57/image_14122025_07_57_54_10744.jpg', '/home/pi/Desktop/images/14122025/07/57/image_14122025_07_58_04_9644.jpg', '/home/pi/Desktop/images/14122025/07/58/image_14122025_07_58_34_10720.jpg', '/home/pi/Desktop/images/14122025/07/58/image_14122025_07_58_44_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/57/image_14122025_07_57_34_9740.jpg
/home/pi/Desktop/images/14122025/07/57/image_14122025_07_57_43_9744.jpg
/home/pi/Desktop/images/14122025/07/57/image_14122025_07_57_54_10744.jpg
/home/pi/Desktop/images/14122025/07/57/image_14122025_07_58_04_9644.jpg
/home/pi/Desktop/images/14122025/07/58/image_14122025_07_58_34_10720.jpg
/home/pi/Desktop/images/14122025/07/58/image_14122025_07_58_44_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":["1399335774","1399335777","1399335770","1399335767","1399335769","1399335772"],"photo_ids_order":["1399335767","1399335769","1399335770","1399335772","1399335774","1399335777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba07ea72d994f224f3967f993fbd9892.jpg","text":"TemporaryFile(/tmp/multipartBody1322635708876015741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696402789,"filename":"image_14122025_07_58_34_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dfca6b8051c346fb911c2c2e8e0784b3.jpg","text":"TemporaryFile(/tmp/multipartBody1712131855399414338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696402789,"filename":"image_14122025_07_58_44_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/08a2a403d35fe9088ddb995bc87a55a0.jpg","text":"TemporaryFile(/tmp/multipartBody5978771137452842235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696402789,"filename":"image_14122025_07_57_54_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd2f6a27d6a507b79e703380f98b4dc9.jpg","text":"TemporaryFile(/tmp/multipartBody4017177085744577191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696402789,"filename":"image_14122025_07_57_34_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/617c65601369af9e874127303a52d6d5.jpg","text":"TemporaryFile(/tmp/multipartBody6661477239146251365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696402789,"filename":"image_14122025_07_57_43_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/956d85d36d02713066321b0066241f53.jpg","text":"TemporaryFile(/tmp/multipartBody3184219296195528302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696402789,"filename":"image_14122025_07_58_04_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335770","file1":"1399335769","file0":"1399335767","file4":"1399335774","file5":"1399335777","file3":"1399335772"},"map_files_photo_id_array":[{"photo_id":"1399335777","filename":"file5"},{"photo_id":"1399335770","filename":"file2"},{"photo_id":"1399335774","filename":"file4"},{"photo_id":"1399335769","filename":"file1"},{"photo_id":"1399335767","filename":"file0"},{"photo_id":"1399335772","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335774":["hashtag1","hashtag2"]},{"1399335777":["hashtag1","hashtag2"]},{"1399335770":["hashtag1","hashtag2"]},{"1399335767":["hashtag1","hashtag2"]},{"1399335769":["hashtag1","hashtag2"]},{"1399335772":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335774, 1399335777, 1399335770, 1399335767, 1399335769, 1399335772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51378798484802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:13:03.118241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/58/image_14122025_07_58_54_9751.jpg', '/home/pi/Desktop/images/14122025/07/58/image_14122025_07_59_03_9794.jpg', '/home/pi/Desktop/images/14122025/07/59/image_14122025_07_59_14_10664.jpg', '/home/pi/Desktop/images/14122025/07/59/image_14122025_07_59_24_9690.jpg', '/home/pi/Desktop/images/14122025/07/59/image_14122025_07_59_33_9629.jpg', '/home/pi/Desktop/images/14122025/07/59/image_14122025_07_59_44_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/58/image_14122025_07_58_54_9751.jpg
/home/pi/Desktop/images/14122025/07/58/image_14122025_07_59_03_9794.jpg
/home/pi/Desktop/images/14122025/07/59/image_14122025_07_59_14_10664.jpg
/home/pi/Desktop/images/14122025/07/59/image_14122025_07_59_24_9690.jpg
/home/pi/Desktop/images/14122025/07/59/image_14122025_07_59_33_9629.jpg
/home/pi/Desktop/images/14122025/07/59/image_14122025_07_59_44_10637.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6533322334289551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:13:12.425642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:13:22.555785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/58/image_14122025_07_58_54_9751.jpg', '/home/pi/Desktop/images/14122025/07/58/image_14122025_07_59_03_9794.jpg', '/home/pi/Desktop/images/14122025/07/59/image_14122025_07_59_14_10664.jpg', '/home/pi/Desktop/images/14122025/07/59/image_14122025_07_59_24_9690.jpg', '/home/pi/Desktop/images/14122025/07/59/image_14122025_07_59_33_9629.jpg', '/home/pi/Desktop/images/14122025/07/59/image_14122025_07_59_44_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/58/image_14122025_07_58_54_9751.jpg
/home/pi/Desktop/images/14122025/07/58/image_14122025_07_59_03_9794.jpg
/home/pi/Desktop/images/14122025/07/59/image_14122025_07_59_14_10664.jpg
/home/pi/Desktop/images/14122025/07/59/image_14122025_07_59_24_9690.jpg
/home/pi/Desktop/images/14122025/07/59/image_14122025_07_59_33_9629.jpg
/home/pi/Desktop/images/14122025/07/59/image_14122025_07_59_44_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":["1399335786","1399335795","1399335788","1399335793","1399335790","1399335784"],"photo_ids_order":["1399335784","1399335786","1399335788","1399335790","1399335793","1399335795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/940244c29457ec1bd833ba8c046b43e5.jpg","text":"TemporaryFile(/tmp/multipartBody6621403182397810911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696463194,"filename":"image_14122025_07_59_03_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76932b8fedfe07bdbafd20b9c2881c41.jpg","text":"TemporaryFile(/tmp/multipartBody4670561557534532558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696463194,"filename":"image_14122025_07_59_44_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/efa7b659e7945099ee8825439acd32fd.jpg","text":"TemporaryFile(/tmp/multipartBody7494963989204629736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696463194,"filename":"image_14122025_07_59_14_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a5ffd9e4814478f7f290570de0ef2f2b.jpg","text":"TemporaryFile(/tmp/multipartBody2314831298530741228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696463194,"filename":"image_14122025_07_59_33_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ec58c3ee10381018f4ec652da68b120e.jpg","text":"TemporaryFile(/tmp/multipartBody8329550136326269555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696463194,"filename":"image_14122025_07_59_24_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d3775acde53ed27cefadf92d190af6ee.jpg","text":"TemporaryFile(/tmp/multipartBody6783892851727983456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696463194,"filename":"image_14122025_07_58_54_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335788","file1":"1399335786","file0":"1399335784","file4":"1399335793","file5":"1399335795","file3":"1399335790"},"map_files_photo_id_array":[{"photo_id":"1399335795","filename":"file5"},{"photo_id":"1399335788","filename":"file2"},{"photo_id":"1399335793","filename":"file4"},{"photo_id":"1399335786","filename":"file1"},{"photo_id":"1399335784","filename":"file0"},{"photo_id":"1399335790","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335786":["hashtag1","hashtag2"]},{"1399335795":["hashtag1","hashtag2"]},{"1399335788":["hashtag1","hashtag2"]},{"1399335793":["hashtag1","hashtag2"]},{"1399335790":["hashtag1","hashtag2"]},{"1399335784":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335786, 1399335795, 1399335788, 1399335793, 1399335790, 1399335784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4213707447052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:14:03.463939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/59/image_14122025_07_59_54_9778.jpg', '/home/pi/Desktop/images/14122025/08/00/image_14122025_08_00_14_10056.jpg', '/home/pi/Desktop/images/14122025/08/00/image_14122025_08_00_35_9743.jpg', '/home/pi/Desktop/images/14122025/08/00/image_14122025_08_00_45_9791.jpg', '/home/pi/Desktop/images/14122025/08/00/image_14122025_08_00_54_9637.jpg', '/home/pi/Desktop/images/14122025/08/00/image_14122025_08_01_05_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/59/image_14122025_07_59_54_9778.jpg
/home/pi/Desktop/images/14122025/08/00/image_14122025_08_00_14_10056.jpg
/home/pi/Desktop/images/14122025/08/00/image_14122025_08_00_35_9743.jpg
/home/pi/Desktop/images/14122025/08/00/image_14122025_08_00_45_9791.jpg
/home/pi/Desktop/images/14122025/08/00/image_14122025_08_00_54_9637.jpg
/home/pi/Desktop/images/14122025/08/00/image_14122025_08_01_05_10617.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.626962423324585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:14:12.692507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:14:22.723287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/07/59/image_14122025_07_59_54_9778.jpg', '/home/pi/Desktop/images/14122025/08/00/image_14122025_08_00_14_10056.jpg', '/home/pi/Desktop/images/14122025/08/00/image_14122025_08_00_35_9743.jpg', '/home/pi/Desktop/images/14122025/08/00/image_14122025_08_00_45_9791.jpg', '/home/pi/Desktop/images/14122025/08/00/image_14122025_08_00_54_9637.jpg', '/home/pi/Desktop/images/14122025/08/00/image_14122025_08_01_05_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/07/59/image_14122025_07_59_54_9778.jpg
/home/pi/Desktop/images/14122025/08/00/image_14122025_08_00_14_10056.jpg
/home/pi/Desktop/images/14122025/08/00/image_14122025_08_00_35_9743.jpg
/home/pi/Desktop/images/14122025/08/00/image_14122025_08_00_45_9791.jpg
/home/pi/Desktop/images/14122025/08/00/image_14122025_08_00_54_9637.jpg
/home/pi/Desktop/images/14122025/08/00/image_14122025_08_01_05_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":["1399335819","1399335810","1399335804","1399335813","1399335807","1399335811"],"photo_ids_order":["1399335804","1399335807","1399335810","1399335811","1399335813","1399335819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e76f5ceae729e5e64dd9fd2f2bce4303.jpg","text":"TemporaryFile(/tmp/multipartBody8667849206507073677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696523408,"filename":"image_14122025_08_01_05_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92080410fbd7c76a9419efc691279751.jpg","text":"TemporaryFile(/tmp/multipartBody7855363818068612156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696523408,"filename":"image_14122025_08_00_35_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ed93745d95e4b0f91628689eb185a7ab.jpg","text":"TemporaryFile(/tmp/multipartBody2448573144454293097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696523408,"filename":"image_14122025_07_59_54_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/82fa6752983e6caf955e9b8e98888126.jpg","text":"TemporaryFile(/tmp/multipartBody8615372363635195759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696523408,"filename":"image_14122025_08_00_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/168e53a5de9cb62b6c814cb06094303e.jpg","text":"TemporaryFile(/tmp/multipartBody5056976234845572419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696523408,"filename":"image_14122025_08_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/12/14/b40e87e31c5ce938cf9dca35053860e5.jpg","text":"TemporaryFile(/tmp/multipartBody7837447740317124759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696523408,"filename":"image_14122025_08_00_45_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335810","file1":"1399335807","file0":"1399335804","file4":"1399335813","file5":"1399335819","file3":"1399335811"},"map_files_photo_id_array":[{"photo_id":"1399335819","filename":"file5"},{"photo_id":"1399335810","filename":"file2"},{"photo_id":"1399335813","filename":"file4"},{"photo_id":"1399335807","filename":"file1"},{"photo_id":"1399335804","filename":"file0"},{"photo_id":"1399335811","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335819":["hashtag1","hashtag2"]},{"1399335810":["hashtag1","hashtag2"]},{"1399335804":["hashtag1","hashtag2"]},{"1399335813":["hashtag1","hashtag2"]},{"1399335807":["hashtag1","hashtag2"]},{"1399335811":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335819, 1399335810, 1399335804, 1399335813, 1399335807, 1399335811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34409260749817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:15:02.650247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/01/image_14122025_08_01_14_9670.jpg', '/home/pi/Desktop/images/14122025/08/01/image_14122025_08_01_24_9738.jpg', '/home/pi/Desktop/images/14122025/08/01/image_14122025_08_01_35_10796.jpg', '/home/pi/Desktop/images/14122025/08/01/image_14122025_08_01_45_9869.jpg', '/home/pi/Desktop/images/14122025/08/01/image_14122025_08_01_55_9703.jpg', '/home/pi/Desktop/images/14122025/08/02/image_14122025_08_02_14_10013.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/01/image_14122025_08_01_14_9670.jpg
/home/pi/Desktop/images/14122025/08/01/image_14122025_08_01_24_9738.jpg
/home/pi/Desktop/images/14122025/08/01/image_14122025_08_01_35_10796.jpg
/home/pi/Desktop/images/14122025/08/01/image_14122025_08_01_45_9869.jpg
/home/pi/Desktop/images/14122025/08/01/image_14122025_08_01_55_9703.jpg
/home/pi/Desktop/images/14122025/08/02/image_14122025_08_02_14_10013.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335823","1399335825","1399335828","1399335821","1399335824","1399335826"],"photo_ids_order":["1399335821","1399335823","1399335824","1399335825","1399335826","1399335828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c9f4d64cccecf1cfe8a08609a04725a2.jpg","text":"TemporaryFile(/tmp/multipartBody3576445383281615365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696563362,"filename":"image_14122025_08_01_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/12/14/e29dd19446a4b91f93d41c6aaa831edb.jpg","text":"TemporaryFile(/tmp/multipartBody1877096043241497519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696563362,"filename":"image_14122025_08_01_45_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ec40179739bf1010028e9a227d65c10.jpg","text":"TemporaryFile(/tmp/multipartBody8171183453305770352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696563362,"filename":"image_14122025_08_02_14_10013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/55b973f0fce860a5b254ccfaf39e4094.jpg","text":"TemporaryFile(/tmp/multipartBody3278845992251139765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696563362,"filename":"image_14122025_08_01_14_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d47ed4fcfee4ce5cf56c83e3241fda9b.jpg","text":"TemporaryFile(/tmp/multipartBody6175869782586601632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696563362,"filename":"image_14122025_08_01_35_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7135f98d89b15c25866f5c3326e13754.jpg","text":"TemporaryFile(/tmp/multipartBody1739531252414236616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696563362,"filename":"image_14122025_08_01_55_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335824","file1":"1399335823","file0":"1399335821","file4":"1399335826","file5":"1399335828","file3":"1399335825"},"map_files_photo_id_array":[{"photo_id":"1399335828","filename":"file5"},{"photo_id":"1399335824","filename":"file2"},{"photo_id":"1399335826","filename":"file4"},{"photo_id":"1399335823","filename":"file1"},{"photo_id":"1399335821","filename":"file0"},{"photo_id":"1399335825","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335823":["hashtag1","hashtag2"]},{"1399335825":["hashtag1","hashtag2"]},{"1399335828":["hashtag1","hashtag2"]},{"1399335821":["hashtag1","hashtag2"]},{"1399335824":["hashtag1","hashtag2"]},{"1399335826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335823, 1399335825, 1399335828, 1399335821, 1399335824, 1399335826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32426905632019 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:15:41.904817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_20_1508.jpg', '/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_22_2866.jpg', '/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_38_15400.jpg', '/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_41_3030.jpg', '/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_43_1823.jpg', '/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_50_7249.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_20_1508.jpg
/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_22_2866.jpg
/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_38_15400.jpg
/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_41_3030.jpg
/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_43_1823.jpg
/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_50_7249.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335835","1399335837","1399335833","1399335836","1399335839","1399335838"],"photo_ids_order":["1399335833","1399335835","1399335836","1399335837","1399335838","1399335839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f88f7f05c41241ff3cd7efdf8e6900d5.jpg","text":"TemporaryFile(/tmp/multipartBody7881643675748407650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696602647,"filename":"image_04112025_12_18_22_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1d7257e90aa32e0a84d163dd2e974094.jpg","text":"TemporaryFile(/tmp/multipartBody2933771348230789224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696602647,"filename":"image_04112025_12_18_41_3030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8260dfda187e7584e4e53599ff6b9a33.jpg","text":"TemporaryFile(/tmp/multipartBody7731442486383602523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696602647,"filename":"image_04112025_12_18_20_1508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc644939605e659eeff4e6f75f253543.jpg","text":"TemporaryFile(/tmp/multipartBody3584369126634800044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696602647,"filename":"image_04112025_12_18_38_15400.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ebaf0b3d02db114394eea1fc6084541d.jpg","text":"TemporaryFile(/tmp/multipartBody6385049513660848869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696602647,"filename":"image_04112025_12_18_50_7249.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/32bc0371c48d4155cfb0474ec24b8990.jpg","text":"TemporaryFile(/tmp/multipartBody1735832078907996359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696602647,"filename":"image_04112025_12_18_43_1823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335836","file1":"1399335835","file0":"1399335833","file4":"1399335838","file5":"1399335839","file3":"1399335837"},"map_files_photo_id_array":[{"photo_id":"1399335839","filename":"file5"},{"photo_id":"1399335836","filename":"file2"},{"photo_id":"1399335838","filename":"file4"},{"photo_id":"1399335835","filename":"file1"},{"photo_id":"1399335833","filename":"file0"},{"photo_id":"1399335837","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335835":["hashtag1","hashtag2"]},{"1399335837":["hashtag1","hashtag2"]},{"1399335833":["hashtag1","hashtag2"]},{"1399335836":["hashtag1","hashtag2"]},{"1399335839":["hashtag1","hashtag2"]},{"1399335838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335835, 1399335837, 1399335833, 1399335836, 1399335839, 1399335838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8855414390564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:16:22.180036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/02/image_14122025_08_02_25_10653.jpg', '/home/pi/Desktop/images/14122025/08/02/image_14122025_08_02_35_9741.jpg', '/home/pi/Desktop/images/14122025/08/02/image_14122025_08_02_45_9778.jpg', '/home/pi/Desktop/images/14122025/08/02/image_14122025_08_03_05_9644.jpg', '/home/pi/Desktop/images/14122025/08/03/image_14122025_08_03_15_9912.jpg', '/home/pi/Desktop/images/14122025/08/03/image_14122025_08_03_24_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/02/image_14122025_08_02_25_10653.jpg
/home/pi/Desktop/images/14122025/08/02/image_14122025_08_02_35_9741.jpg
/home/pi/Desktop/images/14122025/08/02/image_14122025_08_02_45_9778.jpg
/home/pi/Desktop/images/14122025/08/02/image_14122025_08_03_05_9644.jpg
/home/pi/Desktop/images/14122025/08/03/image_14122025_08_03_15_9912.jpg
/home/pi/Desktop/images/14122025/08/03/image_14122025_08_03_24_9585.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5364603996276855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:16:32.185085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:16:42.158940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_52_1714.jpg', '/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_53_1548.jpg', '/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_55_1860.jpg', '/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_57_1539.jpg', '/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_58_1516.jpg', '/home/pi/Desktop/images/04112025/12/18/image_04112025_12_19_00_1678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_52_1714.jpg
/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_53_1548.jpg
/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_55_1860.jpg
/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_57_1539.jpg
/home/pi/Desktop/images/04112025/12/18/image_04112025_12_18_58_1516.jpg
/home/pi/Desktop/images/04112025/12/18/image_04112025_12_19_00_1678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335855","1399335858","1399335854","1399335857","1399335856","1399335850"],"photo_ids_order":["1399335850","1399335854","1399335855","1399335856","1399335857","1399335858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ba581e328c274953ea9a894e5f11b9d.jpg","text":"TemporaryFile(/tmp/multipartBody1386666466897686459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696662841,"filename":"image_04112025_12_18_55_1860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a96eb6d2a8e39348e4950be5e629aa06.jpg","text":"TemporaryFile(/tmp/multipartBody6683392454964929283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696662841,"filename":"image_04112025_12_19_00_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8fb4b62ced64f8585f63031aa501d25e.jpg","text":"TemporaryFile(/tmp/multipartBody5886703146774401092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696662841,"filename":"image_04112025_12_18_53_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f0cac2f2052ad5826d7d9cb28a69f55a.jpg","text":"TemporaryFile(/tmp/multipartBody362634983930728013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696662841,"filename":"image_04112025_12_18_58_1516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e280613dd93691ff821b2feac08bfab.jpg","text":"TemporaryFile(/tmp/multipartBody7410441349607405400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696662841,"filename":"image_04112025_12_18_57_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c828b67be5f5e45b0c9ea3382f3dc39.jpg","text":"TemporaryFile(/tmp/multipartBody5967082141957193359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696662841,"filename":"image_04112025_12_18_52_1714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335855","file1":"1399335854","file0":"1399335850","file4":"1399335857","file5":"1399335858","file3":"1399335856"},"map_files_photo_id_array":[{"photo_id":"1399335858","filename":"file5"},{"photo_id":"1399335855","filename":"file2"},{"photo_id":"1399335857","filename":"file4"},{"photo_id":"1399335854","filename":"file1"},{"photo_id":"1399335850","filename":"file0"},{"photo_id":"1399335856","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335855":["hashtag1","hashtag2"]},{"1399335858":["hashtag1","hashtag2"]},{"1399335854":["hashtag1","hashtag2"]},{"1399335857":["hashtag1","hashtag2"]},{"1399335856":["hashtag1","hashtag2"]},{"1399335850":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335855, 1399335858, 1399335854, 1399335857, 1399335856, 1399335850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.940088510513306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:17:22.528441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/02/image_14122025_08_02_25_10653.jpg', '/home/pi/Desktop/images/14122025/08/02/image_14122025_08_02_35_9741.jpg', '/home/pi/Desktop/images/14122025/08/02/image_14122025_08_02_45_9778.jpg', '/home/pi/Desktop/images/14122025/08/02/image_14122025_08_03_05_9644.jpg', '/home/pi/Desktop/images/14122025/08/03/image_14122025_08_03_15_9912.jpg', '/home/pi/Desktop/images/14122025/08/03/image_14122025_08_03_24_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/02/image_14122025_08_02_25_10653.jpg
/home/pi/Desktop/images/14122025/08/02/image_14122025_08_02_35_9741.jpg
/home/pi/Desktop/images/14122025/08/02/image_14122025_08_02_45_9778.jpg
/home/pi/Desktop/images/14122025/08/02/image_14122025_08_03_05_9644.jpg
/home/pi/Desktop/images/14122025/08/03/image_14122025_08_03_15_9912.jpg
/home/pi/Desktop/images/14122025/08/03/image_14122025_08_03_24_9585.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5340986251831055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:17:32.410365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:17:42.368998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_01_1642.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_03_1529.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_05_1705.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_06_1568.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_08_1632.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_11_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_01_1642.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_03_1529.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_05_1705.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_06_1568.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_08_1632.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_11_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":["1399335879","1399335876","1399335878","1399335875","1399335868","1399335877"],"photo_ids_order":["1399335868","1399335875","1399335876","1399335877","1399335878","1399335879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eae0e36b3eeb7d2d5c30a7e883660aea.jpg","text":"TemporaryFile(/tmp/multipartBody1498310379531816135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696723049,"filename":"image_04112025_12_19_11_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f17a3dfe1f2907b1104c66e0f1f07b7.jpg","text":"TemporaryFile(/tmp/multipartBody6453202050668962614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696723049,"filename":"image_04112025_12_19_05_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4901d0fc90068c5cfe0edf12a8cef5fb.jpg","text":"TemporaryFile(/tmp/multipartBody4879288575505916999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696723049,"filename":"image_04112025_12_19_08_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f958eda455634523bcdd4cc31e0434f9.jpg","text":"TemporaryFile(/tmp/multipartBody8239552348464781482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696723049,"filename":"image_04112025_12_19_03_1529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc8476bf52c9205ff3f04b64b191aa80.jpg","text":"TemporaryFile(/tmp/multipartBody2801868794932739312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696723049,"filename":"image_04112025_12_19_01_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9ece182ade84c3079cf2fd1058a43e44.jpg","text":"TemporaryFile(/tmp/multipartBody7210370694190947650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696723049,"filename":"image_04112025_12_19_06_1568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335876","file1":"1399335875","file0":"1399335868","file4":"1399335878","file5":"1399335879","file3":"1399335877"},"map_files_photo_id_array":[{"photo_id":"1399335879","filename":"file5"},{"photo_id":"1399335876","filename":"file2"},{"photo_id":"1399335878","filename":"file4"},{"photo_id":"1399335875","filename":"file1"},{"photo_id":"1399335868","filename":"file0"},{"photo_id":"1399335877","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335879":["hashtag1","hashtag2"]},{"1399335876":["hashtag1","hashtag2"]},{"1399335878":["hashtag1","hashtag2"]},{"1399335875":["hashtag1","hashtag2"]},{"1399335868":["hashtag1","hashtag2"]},{"1399335877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335879, 1399335876, 1399335878, 1399335875, 1399335868, 1399335877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.63752508163452 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:18:32.738494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:18:42.735442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_13_2566.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_17_3701.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_19_2598.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_22_2661.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_26_3535.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_28_2826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_13_2566.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_17_3701.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_19_2598.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_22_2661.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_26_3535.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_28_2826.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5782697200775146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:19:02.926866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/02/image_14122025_08_02_25_10653.jpg', '/home/pi/Desktop/images/14122025/08/02/image_14122025_08_02_35_9741.jpg', '/home/pi/Desktop/images/14122025/08/02/image_14122025_08_02_45_9778.jpg', '/home/pi/Desktop/images/14122025/08/02/image_14122025_08_03_05_9644.jpg', '/home/pi/Desktop/images/14122025/08/03/image_14122025_08_03_15_9912.jpg', '/home/pi/Desktop/images/14122025/08/03/image_14122025_08_03_24_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/02/image_14122025_08_02_25_10653.jpg
/home/pi/Desktop/images/14122025/08/02/image_14122025_08_02_35_9741.jpg
/home/pi/Desktop/images/14122025/08/02/image_14122025_08_02_45_9778.jpg
/home/pi/Desktop/images/14122025/08/02/image_14122025_08_03_05_9644.jpg
/home/pi/Desktop/images/14122025/08/03/image_14122025_08_03_15_9912.jpg
/home/pi/Desktop/images/14122025/08/03/image_14122025_08_03_24_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":["1399335897","1399335894","1399335896","1399335899","1399335893","1399335895"],"photo_ids_order":["1399335893","1399335894","1399335895","1399335896","1399335897","1399335899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e131f8f0c839746f400f3aa895321e61.jpg","text":"TemporaryFile(/tmp/multipartBody7154930218675548070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696803703,"filename":"image_14122025_08_03_15_9912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/50160bd690f6aa609e5e9206e033c160.jpg","text":"TemporaryFile(/tmp/multipartBody531646493895410165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696803703,"filename":"image_14122025_08_02_35_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/040036fa4d9ddbdfc9e74f81dcf6a301.jpg","text":"TemporaryFile(/tmp/multipartBody5162479953068707152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696803703,"filename":"image_14122025_08_03_05_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2e25930e19b11093cacf73cc8fbc6de6.jpg","text":"TemporaryFile(/tmp/multipartBody2559688053179954918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696803703,"filename":"image_14122025_08_03_24_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/08a6f2cfab289cf0ba814b3f1224a66f.jpg","text":"TemporaryFile(/tmp/multipartBody1171911858065605632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696803703,"filename":"image_14122025_08_02_25_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/621457102cd2c94c551b700e5001eec3.jpg","text":"TemporaryFile(/tmp/multipartBody1854388213533921943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696803703,"filename":"image_14122025_08_02_45_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335895","file1":"1399335894","file0":"1399335893","file4":"1399335897","file5":"1399335899","file3":"1399335896"},"map_files_photo_id_array":[{"photo_id":"1399335899","filename":"file5"},{"photo_id":"1399335895","filename":"file2"},{"photo_id":"1399335897","filename":"file4"},{"photo_id":"1399335894","filename":"file1"},{"photo_id":"1399335893","filename":"file0"},{"photo_id":"1399335896","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335897":["hashtag1","hashtag2"]},{"1399335894":["hashtag1","hashtag2"]},{"1399335896":["hashtag1","hashtag2"]},{"1399335899":["hashtag1","hashtag2"]},{"1399335893":["hashtag1","hashtag2"]},{"1399335895":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335897, 1399335894, 1399335896, 1399335899, 1399335893, 1399335895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63905382156372 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:19:41.993490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_13_2566.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_17_3701.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_19_2598.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_22_2661.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_26_3535.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_28_2826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_13_2566.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_17_3701.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_19_2598.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_22_2661.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_26_3535.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_28_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":["1399335903","1399335906","1399335909","1399335908","1399335911","1399335910"],"photo_ids_order":["1399335903","1399335906","1399335908","1399335909","1399335910","1399335911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/efcdff1728198348a05c2a228e320775.jpg","text":"TemporaryFile(/tmp/multipartBody2066871508064778718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696842573,"filename":"image_04112025_12_19_13_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a8f549e54e1ec43f3ab6b308e25ebc3e.jpg","text":"TemporaryFile(/tmp/multipartBody2108985948537850141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696842573,"filename":"image_04112025_12_19_17_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cebad9c385fc537a231b1eb935348b3f.jpg","text":"TemporaryFile(/tmp/multipartBody6137046633942275906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696842573,"filename":"image_04112025_12_19_22_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/137493682d28a6c99292a0dff3e25354.jpg","text":"TemporaryFile(/tmp/multipartBody6931564422526337911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696842573,"filename":"image_04112025_12_19_19_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c319305cc8df0f3f16b80b0fc7575e1f.jpg","text":"TemporaryFile(/tmp/multipartBody2664968558385508588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696842573,"filename":"image_04112025_12_19_28_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d480776cb8e266ffad29226240267aa8.jpg","text":"TemporaryFile(/tmp/multipartBody5938432426159868294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696842573,"filename":"image_04112025_12_19_26_3535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335908","file1":"1399335906","file0":"1399335903","file4":"1399335910","file5":"1399335911","file3":"1399335909"},"map_files_photo_id_array":[{"photo_id":"1399335911","filename":"file5"},{"photo_id":"1399335908","filename":"file2"},{"photo_id":"1399335910","filename":"file4"},{"photo_id":"1399335906","filename":"file1"},{"photo_id":"1399335903","filename":"file0"},{"photo_id":"1399335909","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335903":["hashtag1","hashtag2"]},{"1399335906":["hashtag1","hashtag2"]},{"1399335909":["hashtag1","hashtag2"]},{"1399335908":["hashtag1","hashtag2"]},{"1399335911":["hashtag1","hashtag2"]},{"1399335910":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335903, 1399335906, 1399335909, 1399335908, 1399335911, 1399335910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40081167221069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:20:22.223229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/03/image_14122025_08_03_35_10753.jpg', '/home/pi/Desktop/images/14122025/08/03/image_14122025_08_03_45_9726.jpg', '/home/pi/Desktop/images/14122025/08/03/image_14122025_08_03_55_9754.jpg', '/home/pi/Desktop/images/14122025/08/04/image_14122025_08_04_15_10856.jpg', '/home/pi/Desktop/images/14122025/08/04/image_14122025_08_04_25_9740.jpg', '/home/pi/Desktop/images/14122025/08/04/image_14122025_08_04_35_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/03/image_14122025_08_03_35_10753.jpg
/home/pi/Desktop/images/14122025/08/03/image_14122025_08_03_45_9726.jpg
/home/pi/Desktop/images/14122025/08/03/image_14122025_08_03_55_9754.jpg
/home/pi/Desktop/images/14122025/08/04/image_14122025_08_04_15_10856.jpg
/home/pi/Desktop/images/14122025/08/04/image_14122025_08_04_25_9740.jpg
/home/pi/Desktop/images/14122025/08/04/image_14122025_08_04_35_9782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335913","1399335915","1399335924","1399335912","1399335917","1399335919"],"photo_ids_order":["1399335912","1399335913","1399335915","1399335917","1399335919","1399335924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/802e7e14096f22b45444dac1e0e29d75.jpg","text":"TemporaryFile(/tmp/multipartBody3316068097686047413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696882909,"filename":"image_14122025_08_03_45_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6903e6dd221d792313f34120c315a4e.jpg","text":"TemporaryFile(/tmp/multipartBody5332075410739804364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696882909,"filename":"image_14122025_08_03_55_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c8eabd2a77d6bebe2f6f8f6318a040a2.jpg","text":"TemporaryFile(/tmp/multipartBody8895095289134561569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696882909,"filename":"image_14122025_08_04_35_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1dc6ad76a99b3041fa9dec6c2f9ba03.jpg","text":"TemporaryFile(/tmp/multipartBody1162050033169260167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696882909,"filename":"image_14122025_08_03_35_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/637241e6628ff027582f29dedc60ec47.jpg","text":"TemporaryFile(/tmp/multipartBody6652653400527836813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696882909,"filename":"image_14122025_08_04_15_10856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/780901c557d2ea902947c1bea972612d.jpg","text":"TemporaryFile(/tmp/multipartBody1827965980301125526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696882909,"filename":"image_14122025_08_04_25_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335915","file1":"1399335913","file0":"1399335912","file4":"1399335919","file5":"1399335924","file3":"1399335917"},"map_files_photo_id_array":[{"photo_id":"1399335924","filename":"file5"},{"photo_id":"1399335915","filename":"file2"},{"photo_id":"1399335919","filename":"file4"},{"photo_id":"1399335913","filename":"file1"},{"photo_id":"1399335912","filename":"file0"},{"photo_id":"1399335917","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335913":["hashtag1","hashtag2"]},{"1399335915":["hashtag1","hashtag2"]},{"1399335924":["hashtag1","hashtag2"]},{"1399335912":["hashtag1","hashtag2"]},{"1399335917":["hashtag1","hashtag2"]},{"1399335919":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335913, 1399335915, 1399335924, 1399335912, 1399335917, 1399335919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45940065383911 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:21:03.245005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/04/image_14122025_08_04_44_9602.jpg', '/home/pi/Desktop/images/14122025/08/04/image_14122025_08_04_54_9931.jpg', '/home/pi/Desktop/images/14122025/08/04/image_14122025_08_05_05_10730.jpg', '/home/pi/Desktop/images/14122025/08/05/image_14122025_08_05_15_9662.jpg', '/home/pi/Desktop/images/14122025/08/05/image_14122025_08_05_24_9712.jpg', '/home/pi/Desktop/images/14122025/08/05/image_14122025_08_05_35_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/04/image_14122025_08_04_44_9602.jpg
/home/pi/Desktop/images/14122025/08/04/image_14122025_08_04_54_9931.jpg
/home/pi/Desktop/images/14122025/08/04/image_14122025_08_05_05_10730.jpg
/home/pi/Desktop/images/14122025/08/05/image_14122025_08_05_15_9662.jpg
/home/pi/Desktop/images/14122025/08/05/image_14122025_08_05_24_9712.jpg
/home/pi/Desktop/images/14122025/08/05/image_14122025_08_05_35_10711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335934","1399335936","1399335939","1399335941","1399335938","1399335937"],"photo_ids_order":["1399335934","1399335936","1399335937","1399335938","1399335939","1399335941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d377dd6469a0c260e0a3c86fc7d9aa10.jpg","text":"TemporaryFile(/tmp/multipartBody4559750007278977957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696923953,"filename":"image_14122025_08_04_44_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db2e75076c14c0928401958043249989.jpg","text":"TemporaryFile(/tmp/multipartBody3936426246642543207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696923953,"filename":"image_14122025_08_04_54_9931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ed1c6071bf677cab420610f95eaa465.jpg","text":"TemporaryFile(/tmp/multipartBody5033291519890537336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696923953,"filename":"image_14122025_08_05_24_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3008a0a3bc346a62d9de4087d5e0d24a.jpg","text":"TemporaryFile(/tmp/multipartBody6596161580503834796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696923953,"filename":"image_14122025_08_05_35_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b11646e4d0bf3f3d113d403550dc154f.jpg","text":"TemporaryFile(/tmp/multipartBody5998822444560320997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696923953,"filename":"image_14122025_08_05_15_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6fd76104bb154d0991abc69370392ccb.jpg","text":"TemporaryFile(/tmp/multipartBody5543478883479201186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765696923953,"filename":"image_14122025_08_05_05_10730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335937","file1":"1399335936","file0":"1399335934","file4":"1399335939","file5":"1399335941","file3":"1399335938"},"map_files_photo_id_array":[{"photo_id":"1399335941","filename":"file5"},{"photo_id":"1399335937","filename":"file2"},{"photo_id":"1399335939","filename":"file4"},{"photo_id":"1399335936","filename":"file1"},{"photo_id":"1399335934","filename":"file0"},{"photo_id":"1399335938","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335934":["hashtag1","hashtag2"]},{"1399335936":["hashtag1","hashtag2"]},{"1399335939":["hashtag1","hashtag2"]},{"1399335941":["hashtag1","hashtag2"]},{"1399335938":["hashtag1","hashtag2"]},{"1399335937":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335934, 1399335936, 1399335939, 1399335941, 1399335938, 1399335937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86818075180054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:22:03.295078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/05/image_14122025_08_05_45_9930.jpg', '/home/pi/Desktop/images/14122025/08/05/image_14122025_08_06_05_9926.jpg', '/home/pi/Desktop/images/14122025/08/06/image_14122025_08_06_14_9871.jpg', '/home/pi/Desktop/images/14122025/08/06/image_14122025_08_06_24_9683.jpg', '/home/pi/Desktop/images/14122025/08/06/image_14122025_08_06_35_10682.jpg', '/home/pi/Desktop/images/14122025/08/06/image_14122025_08_06_45_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/05/image_14122025_08_05_45_9930.jpg
/home/pi/Desktop/images/14122025/08/05/image_14122025_08_06_05_9926.jpg
/home/pi/Desktop/images/14122025/08/06/image_14122025_08_06_14_9871.jpg
/home/pi/Desktop/images/14122025/08/06/image_14122025_08_06_24_9683.jpg
/home/pi/Desktop/images/14122025/08/06/image_14122025_08_06_35_10682.jpg
/home/pi/Desktop/images/14122025/08/06/image_14122025_08_06_45_9715.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5936682224273682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:22:12.833688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:22:22.810284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/05/image_14122025_08_05_45_9930.jpg', '/home/pi/Desktop/images/14122025/08/05/image_14122025_08_06_05_9926.jpg', '/home/pi/Desktop/images/14122025/08/06/image_14122025_08_06_14_9871.jpg', '/home/pi/Desktop/images/14122025/08/06/image_14122025_08_06_24_9683.jpg', '/home/pi/Desktop/images/14122025/08/06/image_14122025_08_06_35_10682.jpg', '/home/pi/Desktop/images/14122025/08/06/image_14122025_08_06_45_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/05/image_14122025_08_05_45_9930.jpg
/home/pi/Desktop/images/14122025/08/05/image_14122025_08_06_05_9926.jpg
/home/pi/Desktop/images/14122025/08/06/image_14122025_08_06_14_9871.jpg
/home/pi/Desktop/images/14122025/08/06/image_14122025_08_06_24_9683.jpg
/home/pi/Desktop/images/14122025/08/06/image_14122025_08_06_35_10682.jpg
/home/pi/Desktop/images/14122025/08/06/image_14122025_08_06_45_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":["1399335960","1399335954","1399335963","1399335956","1399335958","1399335952"],"photo_ids_order":["1399335952","1399335954","1399335956","1399335958","1399335960","1399335963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/02f355f493a71c3aad0536275976a518.jpg","text":"TemporaryFile(/tmp/multipartBody1506298126812381699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697003495,"filename":"image_14122025_08_06_35_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/983368082c51cc1f7d54a80bc21845ef.jpg","text":"TemporaryFile(/tmp/multipartBody2125258395606238473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697003495,"filename":"image_14122025_08_06_05_9926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/afc27e37f409b3603e221e274c685a6b.jpg","text":"TemporaryFile(/tmp/multipartBody6912120726702837830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697003495,"filename":"image_14122025_08_06_45_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8f27fd6b91172c28b4e6b910ac8a0912.jpg","text":"TemporaryFile(/tmp/multipartBody3682521992878777620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697003495,"filename":"image_14122025_08_06_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/12/14/ed2b20ba4c9e84f43d82ebd867053122.jpg","text":"TemporaryFile(/tmp/multipartBody8979053664312371819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697003495,"filename":"image_14122025_08_06_24_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/451c1a79e7151b147de8601ade21f8c1.jpg","text":"TemporaryFile(/tmp/multipartBody3174785394189259416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697003495,"filename":"image_14122025_08_05_45_9930.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335956","file1":"1399335954","file0":"1399335952","file4":"1399335960","file5":"1399335963","file3":"1399335958"},"map_files_photo_id_array":[{"photo_id":"1399335963","filename":"file5"},{"photo_id":"1399335956","filename":"file2"},{"photo_id":"1399335960","filename":"file4"},{"photo_id":"1399335954","filename":"file1"},{"photo_id":"1399335952","filename":"file0"},{"photo_id":"1399335958","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335960":["hashtag1","hashtag2"]},{"1399335954":["hashtag1","hashtag2"]},{"1399335963":["hashtag1","hashtag2"]},{"1399335956":["hashtag1","hashtag2"]},{"1399335958":["hashtag1","hashtag2"]},{"1399335952":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335960, 1399335954, 1399335963, 1399335956, 1399335958, 1399335952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.786553144454956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:23:02.605849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/06/image_14122025_08_06_54_9837.jpg', '/home/pi/Desktop/images/14122025/08/06/image_14122025_08_07_04_9801.jpg', '/home/pi/Desktop/images/14122025/08/07/image_14122025_08_07_15_10752.jpg', '/home/pi/Desktop/images/14122025/08/07/image_14122025_08_07_25_9781.jpg', '/home/pi/Desktop/images/14122025/08/07/image_14122025_08_07_34_9632.jpg', '/home/pi/Desktop/images/14122025/08/07/image_14122025_08_07_45_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/06/image_14122025_08_06_54_9837.jpg
/home/pi/Desktop/images/14122025/08/06/image_14122025_08_07_04_9801.jpg
/home/pi/Desktop/images/14122025/08/07/image_14122025_08_07_15_10752.jpg
/home/pi/Desktop/images/14122025/08/07/image_14122025_08_07_25_9781.jpg
/home/pi/Desktop/images/14122025/08/07/image_14122025_08_07_34_9632.jpg
/home/pi/Desktop/images/14122025/08/07/image_14122025_08_07_45_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335972","1399335966","1399335969","1399335968","1399335967","1399335970"],"photo_ids_order":["1399335966","1399335967","1399335968","1399335969","1399335970","1399335972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9cadf5748a572ca0e87f49154a278a74.jpg","text":"TemporaryFile(/tmp/multipartBody7982894232042122927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697043350,"filename":"image_14122025_08_07_45_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ddbdc32d75fb30425c7ee1c23d123cc.jpg","text":"TemporaryFile(/tmp/multipartBody2879972669100864963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697043350,"filename":"image_14122025_08_06_54_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f9f938b76b0fa14a9e016da5d1e35df0.jpg","text":"TemporaryFile(/tmp/multipartBody3054141644234155370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697043350,"filename":"image_14122025_08_07_25_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94baab66789935e44adad763eeec8e2e.jpg","text":"TemporaryFile(/tmp/multipartBody6911463288027807345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697043350,"filename":"image_14122025_08_07_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/12/14/7562ac0b65b459d0e0421c9a3ebb8c84.jpg","text":"TemporaryFile(/tmp/multipartBody8643924292330181879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697043350,"filename":"image_14122025_08_07_04_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90a85e918fe92b81ecd20726c36559b3.jpg","text":"TemporaryFile(/tmp/multipartBody253342315198277335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697043350,"filename":"image_14122025_08_07_34_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335968","file1":"1399335967","file0":"1399335966","file4":"1399335970","file5":"1399335972","file3":"1399335969"},"map_files_photo_id_array":[{"photo_id":"1399335972","filename":"file5"},{"photo_id":"1399335968","filename":"file2"},{"photo_id":"1399335970","filename":"file4"},{"photo_id":"1399335967","filename":"file1"},{"photo_id":"1399335966","filename":"file0"},{"photo_id":"1399335969","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399335972":["hashtag1","hashtag2"]},{"1399335966":["hashtag1","hashtag2"]},{"1399335969":["hashtag1","hashtag2"]},{"1399335968":["hashtag1","hashtag2"]},{"1399335967":["hashtag1","hashtag2"]},{"1399335970":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399335972, 1399335966, 1399335969, 1399335968, 1399335967, 1399335970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63867974281311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:23:42.025813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_31_2640.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_35_3645.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_37_2798.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_40_2698.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_43_2612.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_47_3710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_31_2640.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_35_3645.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_37_2798.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_40_2698.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_43_2612.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_47_3710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335984","1399335980","1399335983","1399335985","1399335982","1399335976"],"photo_ids_order":["1399335976","1399335980","1399335982","1399335983","1399335984","1399335985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/623ad997fcdd53c75134ea5323990814.jpg","text":"TemporaryFile(/tmp/multipartBody8824970003386881008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697082694,"filename":"image_04112025_12_19_43_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/546ff2c0acfc472b8f0f984c96e2e2a4.jpg","text":"TemporaryFile(/tmp/multipartBody8755593543370301555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697082694,"filename":"image_04112025_12_19_35_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a89964c6acf6f437c9f9f3b2ed157a7.jpg","text":"TemporaryFile(/tmp/multipartBody9107149159751751093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697082694,"filename":"image_04112025_12_19_40_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/84fa4fb6c8c4dcdcb36fff71f3b5a6fd.jpg","text":"TemporaryFile(/tmp/multipartBody834323929203383319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697082694,"filename":"image_04112025_12_19_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/12/14/f5d4fdec1cf36c79565aa9e946e9526e.jpg","text":"TemporaryFile(/tmp/multipartBody5300599542183576298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697082694,"filename":"image_04112025_12_19_37_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1477071266757e52215e04d895d8d78f.jpg","text":"TemporaryFile(/tmp/multipartBody6557767833353141462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697082694,"filename":"image_04112025_12_19_31_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399335982","file1":"1399335980","file0":"1399335976","file4":"1399335984","file5":"1399335985","file3":"1399335983"},"map_files_photo_id_array":[{"photo_id":"1399335985","filename":"file5"},{"photo_id":"1399335982","filename":"file2"},{"photo_id":"1399335984","filename":"file4"},{"photo_id":"1399335980","filename":"file1"},{"photo_id":"1399335976","filename":"file0"},{"photo_id":"1399335983","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335984":["hashtag1","hashtag2"]},{"1399335980":["hashtag1","hashtag2"]},{"1399335983":["hashtag1","hashtag2"]},{"1399335985":["hashtag1","hashtag2"]},{"1399335982":["hashtag1","hashtag2"]},{"1399335976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335984, 1399335980, 1399335983, 1399335985, 1399335982, 1399335976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10267877578735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:24:22.333278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/07/image_14122025_08_07_55_9877.jpg', '/home/pi/Desktop/images/14122025/08/07/image_14122025_08_08_05_9618.jpg', '/home/pi/Desktop/images/14122025/08/08/image_14122025_08_08_14_9691.jpg', '/home/pi/Desktop/images/14122025/08/08/image_14122025_08_08_25_10753.jpg', '/home/pi/Desktop/images/14122025/08/08/image_14122025_08_08_35_9641.jpg', '/home/pi/Desktop/images/14122025/08/08/image_14122025_08_08_44_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/07/image_14122025_08_07_55_9877.jpg
/home/pi/Desktop/images/14122025/08/07/image_14122025_08_08_05_9618.jpg
/home/pi/Desktop/images/14122025/08/08/image_14122025_08_08_14_9691.jpg
/home/pi/Desktop/images/14122025/08/08/image_14122025_08_08_25_10753.jpg
/home/pi/Desktop/images/14122025/08/08/image_14122025_08_08_35_9641.jpg
/home/pi/Desktop/images/14122025/08/08/image_14122025_08_08_44_9734.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5385186672210693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:24:32.305622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:24:42.349366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_49_2624.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_53_3555.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_55_2716.jpg', '/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_58_2627.jpg', '/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_01_2750.jpg', '/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_05_3729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_49_2624.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_53_3555.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_55_2716.jpg
/home/pi/Desktop/images/04112025/12/19/image_04112025_12_19_58_2627.jpg
/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_01_2750.jpg
/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_05_3729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399335996","1399335999","1399336002","1399336001","1399336004","1399336000"],"photo_ids_order":["1399335996","1399335999","1399336000","1399336001","1399336002","1399336004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2029b0817e55e971b7bc6c8ab5a931f7.jpg","text":"TemporaryFile(/tmp/multipartBody3066712473442463659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697143020,"filename":"image_04112025_12_19_49_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e6bdae5d4120b79b37a4b7e1d2f49810.jpg","text":"TemporaryFile(/tmp/multipartBody3245844137410634108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697143020,"filename":"image_04112025_12_19_53_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eb3f083a0825d1c55decac09e39efafc.jpg","text":"TemporaryFile(/tmp/multipartBody6108789880858662612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697143020,"filename":"image_04112025_12_20_01_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e1e45746227142a88e365185af78286e.jpg","text":"TemporaryFile(/tmp/multipartBody203700561922079382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697143020,"filename":"image_04112025_12_19_58_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6a00d9d1e5a0c08a4b61cd9fd749137c.jpg","text":"TemporaryFile(/tmp/multipartBody5169960316393211092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697143020,"filename":"image_04112025_12_20_05_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b3ceee6b38281f0e71c2678684a3724.jpg","text":"TemporaryFile(/tmp/multipartBody4820732170613958833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697143020,"filename":"image_04112025_12_19_55_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336000","file1":"1399335999","file0":"1399335996","file4":"1399336002","file5":"1399336004","file3":"1399336001"},"map_files_photo_id_array":[{"photo_id":"1399336004","filename":"file5"},{"photo_id":"1399336000","filename":"file2"},{"photo_id":"1399336002","filename":"file4"},{"photo_id":"1399335999","filename":"file1"},{"photo_id":"1399335996","filename":"file0"},{"photo_id":"1399336001","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399335996":["hashtag1","hashtag2"]},{"1399335999":["hashtag1","hashtag2"]},{"1399336002":["hashtag1","hashtag2"]},{"1399336001":["hashtag1","hashtag2"]},{"1399336004":["hashtag1","hashtag2"]},{"1399336000":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399335996, 1399335999, 1399336002, 1399336001, 1399336004, 1399336000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24139142036438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:25:22.768613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/07/image_14122025_08_07_55_9877.jpg', '/home/pi/Desktop/images/14122025/08/07/image_14122025_08_08_05_9618.jpg', '/home/pi/Desktop/images/14122025/08/08/image_14122025_08_08_14_9691.jpg', '/home/pi/Desktop/images/14122025/08/08/image_14122025_08_08_25_10753.jpg', '/home/pi/Desktop/images/14122025/08/08/image_14122025_08_08_35_9641.jpg', '/home/pi/Desktop/images/14122025/08/08/image_14122025_08_08_44_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/07/image_14122025_08_07_55_9877.jpg
/home/pi/Desktop/images/14122025/08/07/image_14122025_08_08_05_9618.jpg
/home/pi/Desktop/images/14122025/08/08/image_14122025_08_08_14_9691.jpg
/home/pi/Desktop/images/14122025/08/08/image_14122025_08_08_25_10753.jpg
/home/pi/Desktop/images/14122025/08/08/image_14122025_08_08_35_9641.jpg
/home/pi/Desktop/images/14122025/08/08/image_14122025_08_08_44_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":["1399336011","1399336013","1399336007","1399336006","1399336015","1399336009"],"photo_ids_order":["1399336006","1399336007","1399336009","1399336011","1399336013","1399336015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2933a4a0aa06babeab70db5943da177e.jpg","text":"TemporaryFile(/tmp/multipartBody3802280187646049110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697183413,"filename":"image_14122025_08_08_25_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ddf48e7729488d5e2efff93a987fcb0c.jpg","text":"TemporaryFile(/tmp/multipartBody8861533940386832705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697183413,"filename":"image_14122025_08_08_35_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/49f32cfcb3ff7ed3c97246c7564e2d36.jpg","text":"TemporaryFile(/tmp/multipartBody1697270218494339788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697183413,"filename":"image_14122025_08_08_05_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fd96cec1fb15b4b87a62429fd7d76def.jpg","text":"TemporaryFile(/tmp/multipartBody7468320388654663702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697183413,"filename":"image_14122025_08_07_55_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f69907a8596dcf3deec2bb2e2a388fb.jpg","text":"TemporaryFile(/tmp/multipartBody8151204736545056318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697183413,"filename":"image_14122025_08_08_44_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ddcc78cd0f06c52befcf6e3f1c85dbe.jpg","text":"TemporaryFile(/tmp/multipartBody3420968330567545313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697183413,"filename":"image_14122025_08_08_14_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336009","file1":"1399336007","file0":"1399336006","file4":"1399336013","file5":"1399336015","file3":"1399336011"},"map_files_photo_id_array":[{"photo_id":"1399336015","filename":"file5"},{"photo_id":"1399336009","filename":"file2"},{"photo_id":"1399336013","filename":"file4"},{"photo_id":"1399336007","filename":"file1"},{"photo_id":"1399336006","filename":"file0"},{"photo_id":"1399336011","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336011":["hashtag1","hashtag2"]},{"1399336013":["hashtag1","hashtag2"]},{"1399336007":["hashtag1","hashtag2"]},{"1399336006":["hashtag1","hashtag2"]},{"1399336015":["hashtag1","hashtag2"]},{"1399336009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336011, 1399336013, 1399336007, 1399336006, 1399336015, 1399336009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29067015647888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:26:02.220433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/08/image_14122025_08_08_55_10667.jpg', '/home/pi/Desktop/images/14122025/08/08/image_14122025_08_09_05_9734.jpg', '/home/pi/Desktop/images/14122025/08/09/image_14122025_08_09_14_9675.jpg', '/home/pi/Desktop/images/14122025/08/09/image_14122025_08_09_24_9887.jpg', '/home/pi/Desktop/images/14122025/08/09/image_14122025_08_09_34_9880.jpg', '/home/pi/Desktop/images/14122025/08/09/image_14122025_08_09_45_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/08/image_14122025_08_08_55_10667.jpg
/home/pi/Desktop/images/14122025/08/08/image_14122025_08_09_05_9734.jpg
/home/pi/Desktop/images/14122025/08/09/image_14122025_08_09_14_9675.jpg
/home/pi/Desktop/images/14122025/08/09/image_14122025_08_09_24_9887.jpg
/home/pi/Desktop/images/14122025/08/09/image_14122025_08_09_34_9880.jpg
/home/pi/Desktop/images/14122025/08/09/image_14122025_08_09_45_10698.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5622708797454834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:26:11.879038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:26:21.816275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/08/image_14122025_08_08_55_10667.jpg', '/home/pi/Desktop/images/14122025/08/08/image_14122025_08_09_05_9734.jpg', '/home/pi/Desktop/images/14122025/08/09/image_14122025_08_09_14_9675.jpg', '/home/pi/Desktop/images/14122025/08/09/image_14122025_08_09_24_9887.jpg', '/home/pi/Desktop/images/14122025/08/09/image_14122025_08_09_34_9880.jpg', '/home/pi/Desktop/images/14122025/08/09/image_14122025_08_09_45_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/08/image_14122025_08_08_55_10667.jpg
/home/pi/Desktop/images/14122025/08/08/image_14122025_08_09_05_9734.jpg
/home/pi/Desktop/images/14122025/08/09/image_14122025_08_09_14_9675.jpg
/home/pi/Desktop/images/14122025/08/09/image_14122025_08_09_24_9887.jpg
/home/pi/Desktop/images/14122025/08/09/image_14122025_08_09_34_9880.jpg
/home/pi/Desktop/images/14122025/08/09/image_14122025_08_09_45_10698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336035","1399336029","1399336020","1399336023","1399336025","1399336027"],"photo_ids_order":["1399336020","1399336023","1399336025","1399336027","1399336029","1399336035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b44c9a80bc0716d83155df52213f4110.jpg","text":"TemporaryFile(/tmp/multipartBody2023804432972250028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697242655,"filename":"image_14122025_08_09_45_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fcf6ad9aa22f3d58aef70b0366420e1f.jpg","text":"TemporaryFile(/tmp/multipartBody2351507450808493271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697242655,"filename":"image_14122025_08_09_34_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d77cd3d53675a7c79c610ad391c015dd.jpg","text":"TemporaryFile(/tmp/multipartBody5990942496863955873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697242655,"filename":"image_14122025_08_08_55_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f97df9e92a61d9bb9825c4c127e90ab.jpg","text":"TemporaryFile(/tmp/multipartBody8978265705034556488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697242655,"filename":"image_14122025_08_09_05_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ca59cb2260e9157f1d026dfdc6277e10.jpg","text":"TemporaryFile(/tmp/multipartBody6046691358436493581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697242655,"filename":"image_14122025_08_09_14_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a907f1e1c76bf66a0079ab8eea4638b8.jpg","text":"TemporaryFile(/tmp/multipartBody3636681095980529589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697242655,"filename":"image_14122025_08_09_24_9887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336025","file1":"1399336023","file0":"1399336020","file4":"1399336029","file5":"1399336035","file3":"1399336027"},"map_files_photo_id_array":[{"photo_id":"1399336035","filename":"file5"},{"photo_id":"1399336025","filename":"file2"},{"photo_id":"1399336029","filename":"file4"},{"photo_id":"1399336023","filename":"file1"},{"photo_id":"1399336020","filename":"file0"},{"photo_id":"1399336027","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336035":["hashtag1","hashtag2"]},{"1399336029":["hashtag1","hashtag2"]},{"1399336020":["hashtag1","hashtag2"]},{"1399336023":["hashtag1","hashtag2"]},{"1399336025":["hashtag1","hashtag2"]},{"1399336027":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336035, 1399336029, 1399336020, 1399336023, 1399336025, 1399336027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65833759307861 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:27:12.105788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:27:22.089132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/09/image_14122025_08_09_55_9723.jpg', '/home/pi/Desktop/images/14122025/08/09/image_14122025_08_10_04_9881.jpg', '/home/pi/Desktop/images/14122025/08/10/image_14122025_08_10_14_9816.jpg', '/home/pi/Desktop/images/14122025/08/10/image_14122025_08_10_25_10763.jpg', '/home/pi/Desktop/images/14122025/08/10/image_14122025_08_10_35_9754.jpg', '/home/pi/Desktop/images/14122025/08/10/image_14122025_08_10_45_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/09/image_14122025_08_09_55_9723.jpg
/home/pi/Desktop/images/14122025/08/09/image_14122025_08_10_04_9881.jpg
/home/pi/Desktop/images/14122025/08/10/image_14122025_08_10_14_9816.jpg
/home/pi/Desktop/images/14122025/08/10/image_14122025_08_10_25_10763.jpg
/home/pi/Desktop/images/14122025/08/10/image_14122025_08_10_35_9754.jpg
/home/pi/Desktop/images/14122025/08/10/image_14122025_08_10_45_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336047","1399336041","1399336043","1399336036","1399336045","1399336039"],"photo_ids_order":["1399336036","1399336039","1399336041","1399336043","1399336045","1399336047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bee8377ff8117b34c0fbc3a8377f6b0a.jpg","text":"TemporaryFile(/tmp/multipartBody3692822540266000251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697302773,"filename":"image_14122025_08_10_45_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/97090cee2ed2b7bf692376731708693b.jpg","text":"TemporaryFile(/tmp/multipartBody1966224951380395962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697302773,"filename":"image_14122025_08_10_14_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b4a5e94b0ae043a0f02cebd4a961f637.jpg","text":"TemporaryFile(/tmp/multipartBody936565954271581565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697302773,"filename":"image_14122025_08_10_25_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76d7c55dfdfa326abfa04253d0f67868.jpg","text":"TemporaryFile(/tmp/multipartBody2842225035936199337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697302773,"filename":"image_14122025_08_09_55_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8dac144420468950e412b7b832c74be1.jpg","text":"TemporaryFile(/tmp/multipartBody4219614155251960690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697302773,"filename":"image_14122025_08_10_35_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ca55399d43c5bd25ef9f7fb9fd74b6f3.jpg","text":"TemporaryFile(/tmp/multipartBody6422176208424641097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697302773,"filename":"image_14122025_08_10_04_9881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336041","file1":"1399336039","file0":"1399336036","file4":"1399336045","file5":"1399336047","file3":"1399336043"},"map_files_photo_id_array":[{"photo_id":"1399336047","filename":"file5"},{"photo_id":"1399336041","filename":"file2"},{"photo_id":"1399336045","filename":"file4"},{"photo_id":"1399336039","filename":"file1"},{"photo_id":"1399336036","filename":"file0"},{"photo_id":"1399336043","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336047":["hashtag1","hashtag2"]},{"1399336041":["hashtag1","hashtag2"]},{"1399336043":["hashtag1","hashtag2"]},{"1399336036":["hashtag1","hashtag2"]},{"1399336045":["hashtag1","hashtag2"]},{"1399336039":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336047, 1399336041, 1399336043, 1399336036, 1399336045, 1399336039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.514408826828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:28:02.633218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/10/image_14122025_08_10_54_9647.jpg', '/home/pi/Desktop/images/14122025/08/10/image_14122025_08_11_05_10679.jpg', '/home/pi/Desktop/images/14122025/08/11/image_14122025_08_11_15_9790.jpg', '/home/pi/Desktop/images/14122025/08/11/image_14122025_08_11_24_9719.jpg', '/home/pi/Desktop/images/14122025/08/11/image_14122025_08_11_35_10631.jpg', '/home/pi/Desktop/images/14122025/08/11/image_14122025_08_11_45_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/10/image_14122025_08_10_54_9647.jpg
/home/pi/Desktop/images/14122025/08/10/image_14122025_08_11_05_10679.jpg
/home/pi/Desktop/images/14122025/08/11/image_14122025_08_11_15_9790.jpg
/home/pi/Desktop/images/14122025/08/11/image_14122025_08_11_24_9719.jpg
/home/pi/Desktop/images/14122025/08/11/image_14122025_08_11_35_10631.jpg
/home/pi/Desktop/images/14122025/08/11/image_14122025_08_11_45_9868.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336050","1399336053","1399336052","1399336049","1399336048","1399336051"],"photo_ids_order":["1399336048","1399336049","1399336050","1399336051","1399336052","1399336053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2799b40194c2803ffc1cd0bcc5150fbb.jpg","text":"TemporaryFile(/tmp/multipartBody7720055407452193847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697343299,"filename":"image_14122025_08_11_15_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c3fc7dd3202875fc4862c891d86088de.jpg","text":"TemporaryFile(/tmp/multipartBody2916888919070184861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697343299,"filename":"image_14122025_08_11_45_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1bd79d194085400fb9afeac21dc551ad.jpg","text":"TemporaryFile(/tmp/multipartBody944151660010732612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697343299,"filename":"image_14122025_08_11_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/12/14/87b832a40ea33b866d5835610fee6664.jpg","text":"TemporaryFile(/tmp/multipartBody3093895420984085627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697343299,"filename":"image_14122025_08_11_05_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3afa6bf04e28b2118cb65c8b23f210c.jpg","text":"TemporaryFile(/tmp/multipartBody2158722279549039984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697343299,"filename":"image_14122025_08_10_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ae3a1654c63b7417790866b04b19684.jpg","text":"TemporaryFile(/tmp/multipartBody2195935612458384943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697343299,"filename":"image_14122025_08_11_24_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336050","file1":"1399336049","file0":"1399336048","file4":"1399336052","file5":"1399336053","file3":"1399336051"},"map_files_photo_id_array":[{"photo_id":"1399336053","filename":"file5"},{"photo_id":"1399336050","filename":"file2"},{"photo_id":"1399336052","filename":"file4"},{"photo_id":"1399336049","filename":"file1"},{"photo_id":"1399336048","filename":"file0"},{"photo_id":"1399336051","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336050":["hashtag1","hashtag2"]},{"1399336053":["hashtag1","hashtag2"]},{"1399336052":["hashtag1","hashtag2"]},{"1399336049":["hashtag1","hashtag2"]},{"1399336048":["hashtag1","hashtag2"]},{"1399336051":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336050, 1399336053, 1399336052, 1399336049, 1399336048, 1399336051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54466199874878 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:28:42.296119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_07_2859.jpg', '/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_10_2713.jpg', '/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_14_3536.jpg', '/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_35_21517.jpg', '/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_37_1785.jpg', '/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_39_1648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_07_2859.jpg
/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_10_2713.jpg
/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_14_3536.jpg
/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_35_21517.jpg
/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_37_1785.jpg
/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_39_1648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336071","1399336065","1399336059","1399336067","1399336069","1399336063"],"photo_ids_order":["1399336059","1399336063","1399336065","1399336067","1399336069","1399336071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e4f5b1203d7b9de3b928996f94b375ff.jpg","text":"TemporaryFile(/tmp/multipartBody1438183421034682092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697383209,"filename":"image_04112025_12_20_39_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f4245c5d9d52f29eacc017853bf2bfac.jpg","text":"TemporaryFile(/tmp/multipartBody3152669729770553450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697383209,"filename":"image_04112025_12_20_14_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/10bc7449f31911c86ed37648bc243fac.jpg","text":"TemporaryFile(/tmp/multipartBody1803969575269834257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697383209,"filename":"image_04112025_12_20_07_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f44e52b2b5fdc70f01a5feeb7b9a9668.jpg","text":"TemporaryFile(/tmp/multipartBody983297548974148929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697383209,"filename":"image_04112025_12_20_35_21517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5fc257b28987b64f77838673fbcc91f8.jpg","text":"TemporaryFile(/tmp/multipartBody1452493761408791588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697383209,"filename":"image_04112025_12_20_37_1785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/650ac1bc3de9447183a715c06d71f1c6.jpg","text":"TemporaryFile(/tmp/multipartBody6768497194654519163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697383209,"filename":"image_04112025_12_20_10_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336065","file1":"1399336063","file0":"1399336059","file4":"1399336069","file5":"1399336071","file3":"1399336067"},"map_files_photo_id_array":[{"photo_id":"1399336071","filename":"file5"},{"photo_id":"1399336065","filename":"file2"},{"photo_id":"1399336069","filename":"file4"},{"photo_id":"1399336063","filename":"file1"},{"photo_id":"1399336059","filename":"file0"},{"photo_id":"1399336067","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336071":["hashtag1","hashtag2"]},{"1399336065":["hashtag1","hashtag2"]},{"1399336059":["hashtag1","hashtag2"]},{"1399336067":["hashtag1","hashtag2"]},{"1399336069":["hashtag1","hashtag2"]},{"1399336063":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336071, 1399336065, 1399336059, 1399336067, 1399336069, 1399336063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.470518827438354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:29:22.694512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/11/image_14122025_08_11_55_9744.jpg', '/home/pi/Desktop/images/14122025/08/11/image_14122025_08_12_04_9735.jpg', '/home/pi/Desktop/images/14122025/08/12/image_14122025_08_12_15_10786.jpg', '/home/pi/Desktop/images/14122025/08/12/image_14122025_08_12_25_9672.jpg', '/home/pi/Desktop/images/14122025/08/12/image_14122025_08_12_34_9629.jpg', '/home/pi/Desktop/images/14122025/08/12/image_14122025_08_12_45_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/11/image_14122025_08_11_55_9744.jpg
/home/pi/Desktop/images/14122025/08/11/image_14122025_08_12_04_9735.jpg
/home/pi/Desktop/images/14122025/08/12/image_14122025_08_12_15_10786.jpg
/home/pi/Desktop/images/14122025/08/12/image_14122025_08_12_25_9672.jpg
/home/pi/Desktop/images/14122025/08/12/image_14122025_08_12_34_9629.jpg
/home/pi/Desktop/images/14122025/08/12/image_14122025_08_12_45_10620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336079","1399336081","1399336075","1399336095","1399336083","1399336077"],"photo_ids_order":["1399336075","1399336077","1399336079","1399336081","1399336083","1399336095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/34c2c9dabd62cd49a3d04b6d2510c4fb.jpg","text":"TemporaryFile(/tmp/multipartBody8431041052480739191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697423333,"filename":"image_14122025_08_12_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/12/14/209f2bf061955061a22480e535cc9156.jpg","text":"TemporaryFile(/tmp/multipartBody2684271725465395433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697423333,"filename":"image_14122025_08_12_25_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63f365bca54bcb35a0093c06c4fb8e12.jpg","text":"TemporaryFile(/tmp/multipartBody8357400443367578874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697423333,"filename":"image_14122025_08_11_55_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c5ec2418d50795a417b7ff753be11af6.jpg","text":"TemporaryFile(/tmp/multipartBody3886293404510830320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697423333,"filename":"image_14122025_08_12_45_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d7755e0fcb3c6d2927095c36e7473903.jpg","text":"TemporaryFile(/tmp/multipartBody18932298153580655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697423333,"filename":"image_14122025_08_12_34_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d0a8652825f71118005b33b71d93bf3c.jpg","text":"TemporaryFile(/tmp/multipartBody6659218363939810889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697423333,"filename":"image_14122025_08_12_04_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336079","file1":"1399336077","file0":"1399336075","file4":"1399336083","file5":"1399336095","file3":"1399336081"},"map_files_photo_id_array":[{"photo_id":"1399336095","filename":"file5"},{"photo_id":"1399336079","filename":"file2"},{"photo_id":"1399336083","filename":"file4"},{"photo_id":"1399336077","filename":"file1"},{"photo_id":"1399336075","filename":"file0"},{"photo_id":"1399336081","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336079":["hashtag1","hashtag2"]},{"1399336081":["hashtag1","hashtag2"]},{"1399336075":["hashtag1","hashtag2"]},{"1399336095":["hashtag1","hashtag2"]},{"1399336083":["hashtag1","hashtag2"]},{"1399336077":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336079, 1399336081, 1399336075, 1399336095, 1399336083, 1399336077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08241105079651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:30:03.173429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/12/image_14122025_08_12_55_9664.jpg', '/home/pi/Desktop/images/14122025/08/12/image_14122025_08_13_04_9739.jpg', '/home/pi/Desktop/images/14122025/08/13/image_14122025_08_13_15_10582.jpg', '/home/pi/Desktop/images/14122025/08/13/image_14122025_08_13_25_9660.jpg', '/home/pi/Desktop/images/14122025/08/13/image_14122025_08_13_34_9778.jpg', '/home/pi/Desktop/images/14122025/08/13/image_14122025_08_13_44_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/12/image_14122025_08_12_55_9664.jpg
/home/pi/Desktop/images/14122025/08/12/image_14122025_08_13_04_9739.jpg
/home/pi/Desktop/images/14122025/08/13/image_14122025_08_13_15_10582.jpg
/home/pi/Desktop/images/14122025/08/13/image_14122025_08_13_25_9660.jpg
/home/pi/Desktop/images/14122025/08/13/image_14122025_08_13_34_9778.jpg
/home/pi/Desktop/images/14122025/08/13/image_14122025_08_13_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":["1399336101","1399336104","1399336100","1399336099","1399336103","1399336102"],"photo_ids_order":["1399336099","1399336100","1399336101","1399336102","1399336103","1399336104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bfaae7bc4d81ac95df48fc0f010b3dbf.jpg","text":"TemporaryFile(/tmp/multipartBody4524000742667901222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697463846,"filename":"image_14122025_08_13_15_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/977ce6ddd3947aaa62ea735ab81ad34e.jpg","text":"TemporaryFile(/tmp/multipartBody659582816307555696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697463846,"filename":"image_14122025_08_13_44_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a773b477f291fceae1b077ee024d43ef.jpg","text":"TemporaryFile(/tmp/multipartBody2736945303189968676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697463846,"filename":"image_14122025_08_13_04_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8aa08cd601ad5c65e2623b849d138929.jpg","text":"TemporaryFile(/tmp/multipartBody224500169852230814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697463846,"filename":"image_14122025_08_12_55_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4223d0d70d5ef1a4e51b9fd239b1e328.jpg","text":"TemporaryFile(/tmp/multipartBody1631217565331605825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697463846,"filename":"image_14122025_08_13_34_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6165c4edcaf13e6caa879b645cb85171.jpg","text":"TemporaryFile(/tmp/multipartBody8344681256693429344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697463846,"filename":"image_14122025_08_13_25_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336101","file1":"1399336100","file0":"1399336099","file4":"1399336103","file5":"1399336104","file3":"1399336102"},"map_files_photo_id_array":[{"photo_id":"1399336104","filename":"file5"},{"photo_id":"1399336101","filename":"file2"},{"photo_id":"1399336103","filename":"file4"},{"photo_id":"1399336100","filename":"file1"},{"photo_id":"1399336099","filename":"file0"},{"photo_id":"1399336102","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336101":["hashtag1","hashtag2"]},{"1399336104":["hashtag1","hashtag2"]},{"1399336100":["hashtag1","hashtag2"]},{"1399336099":["hashtag1","hashtag2"]},{"1399336103":["hashtag1","hashtag2"]},{"1399336102":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336101, 1399336104, 1399336100, 1399336099, 1399336103, 1399336102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14652180671692 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:30:42.695586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_40_1558.jpg', '/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_46_5728.jpg', '/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_48_1673.jpg', '/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_49_1758.jpg', '/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_51_1512.jpg', '/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_52_1663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_40_1558.jpg
/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_46_5728.jpg
/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_48_1673.jpg
/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_49_1758.jpg
/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_51_1512.jpg
/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_52_1663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336113","1399336116","1399336107","1399336109","1399336111","1399336105"],"photo_ids_order":["1399336105","1399336107","1399336109","1399336111","1399336113","1399336116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b073082f1632c28237a38a0bfff475b.jpg","text":"TemporaryFile(/tmp/multipartBody268439436270809707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697503394,"filename":"image_04112025_12_20_51_1512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a593740e6f58055b3e4a9a03eaac1db6.jpg","text":"TemporaryFile(/tmp/multipartBody5082809582973171526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697503394,"filename":"image_04112025_12_20_52_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e87074f3abca4feb2a5e4fa297e89604.jpg","text":"TemporaryFile(/tmp/multipartBody7217280472470411086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697503394,"filename":"image_04112025_12_20_46_5728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3326694ec5d0383588934b2e6b5b46b7.jpg","text":"TemporaryFile(/tmp/multipartBody8926379394756939605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697503394,"filename":"image_04112025_12_20_48_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/97024c0f294d80722836fbf210b5cb2f.jpg","text":"TemporaryFile(/tmp/multipartBody7831697697217968817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697503394,"filename":"image_04112025_12_20_49_1758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/95b547db3bd3e4a8158f458d883b1129.jpg","text":"TemporaryFile(/tmp/multipartBody4312902381757709388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697503394,"filename":"image_04112025_12_20_40_1558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336109","file1":"1399336107","file0":"1399336105","file4":"1399336113","file5":"1399336116","file3":"1399336111"},"map_files_photo_id_array":[{"photo_id":"1399336116","filename":"file5"},{"photo_id":"1399336109","filename":"file2"},{"photo_id":"1399336113","filename":"file4"},{"photo_id":"1399336107","filename":"file1"},{"photo_id":"1399336105","filename":"file0"},{"photo_id":"1399336111","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336113":["hashtag1","hashtag2"]},{"1399336116":["hashtag1","hashtag2"]},{"1399336107":["hashtag1","hashtag2"]},{"1399336109":["hashtag1","hashtag2"]},{"1399336111":["hashtag1","hashtag2"]},{"1399336105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336113, 1399336116, 1399336107, 1399336109, 1399336111, 1399336105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19907546043396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:31:31.913400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:31:41.891749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_54_1746.jpg', '/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_56_1491.jpg', '/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_57_1654.jpg', '/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_59_1769.jpg', '/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_01_1741.jpg', '/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_03_1784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_54_1746.jpg
/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_56_1491.jpg
/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_57_1654.jpg
/home/pi/Desktop/images/04112025/12/20/image_04112025_12_20_59_1769.jpg
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_01_1741.jpg
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_03_1784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336128","1399336125","1399336124","1399336121","1399336123","1399336126"],"photo_ids_order":["1399336121","1399336123","1399336124","1399336125","1399336126","1399336128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b38acdbff1a0ac48e469b907a88f4d95.jpg","text":"TemporaryFile(/tmp/multipartBody472901159301754631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697562609,"filename":"image_04112025_12_21_03_1784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d6794c8dbadb78acec1bf37aa43e7f8.jpg","text":"TemporaryFile(/tmp/multipartBody1502043389266744318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697562609,"filename":"image_04112025_12_20_59_1769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3851d9bd666d5f3686b432358a0bfa8.jpg","text":"TemporaryFile(/tmp/multipartBody2996544265670618342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697562609,"filename":"image_04112025_12_20_57_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f8dfd2b09c0a5dd60769e0b2756db208.jpg","text":"TemporaryFile(/tmp/multipartBody474850766749387061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697562609,"filename":"image_04112025_12_20_54_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fde956d0b91df1c0e225a01767e7d43b.jpg","text":"TemporaryFile(/tmp/multipartBody8750349489225334968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697562609,"filename":"image_04112025_12_20_56_1491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/457386a30609c2cc0739802389ed0954.jpg","text":"TemporaryFile(/tmp/multipartBody326339818432475627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697562609,"filename":"image_04112025_12_21_01_1741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336124","file1":"1399336123","file0":"1399336121","file4":"1399336126","file5":"1399336128","file3":"1399336125"},"map_files_photo_id_array":[{"photo_id":"1399336128","filename":"file5"},{"photo_id":"1399336124","filename":"file2"},{"photo_id":"1399336126","filename":"file4"},{"photo_id":"1399336123","filename":"file1"},{"photo_id":"1399336121","filename":"file0"},{"photo_id":"1399336125","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336128":["hashtag1","hashtag2"]},{"1399336125":["hashtag1","hashtag2"]},{"1399336124":["hashtag1","hashtag2"]},{"1399336121":["hashtag1","hashtag2"]},{"1399336123":["hashtag1","hashtag2"]},{"1399336126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336128, 1399336125, 1399336124, 1399336121, 1399336123, 1399336126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78292512893677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:32:22.161213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/13/image_14122025_08_13_55_10881.jpg', '/home/pi/Desktop/images/14122025/08/13/image_14122025_08_14_05_9653.jpg', '/home/pi/Desktop/images/14122025/08/14/image_14122025_08_14_15_9758.jpg', '/home/pi/Desktop/images/14122025/08/14/image_14122025_08_14_24_9794.jpg', '/home/pi/Desktop/images/14122025/08/14/image_14122025_08_14_35_10685.jpg', '/home/pi/Desktop/images/14122025/08/14/image_14122025_08_14_45_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/13/image_14122025_08_13_55_10881.jpg
/home/pi/Desktop/images/14122025/08/13/image_14122025_08_14_05_9653.jpg
/home/pi/Desktop/images/14122025/08/14/image_14122025_08_14_15_9758.jpg
/home/pi/Desktop/images/14122025/08/14/image_14122025_08_14_24_9794.jpg
/home/pi/Desktop/images/14122025/08/14/image_14122025_08_14_35_10685.jpg
/home/pi/Desktop/images/14122025/08/14/image_14122025_08_14_45_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":["1399336149","1399336134","1399336139","1399336133","1399336136","1399336135"],"photo_ids_order":["1399336133","1399336134","1399336135","1399336136","1399336139","1399336149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f95b829a36dd25b040cdb180bf4ed6bf.jpg","text":"TemporaryFile(/tmp/multipartBody8754819411374908019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697604290,"filename":"image_14122025_08_14_45_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/955ec47868b4513eb423fb2b13fc73e0.jpg","text":"TemporaryFile(/tmp/multipartBody645732216890084819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697604290,"filename":"image_14122025_08_14_05_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e007ba645ffa10e8768ef4c3bc2b9d3.jpg","text":"TemporaryFile(/tmp/multipartBody7507927954411715005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697604290,"filename":"image_14122025_08_14_35_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f99dd538c1f8d6b57d99f1d8fa6b477c.jpg","text":"TemporaryFile(/tmp/multipartBody1595701143897483660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697604290,"filename":"image_14122025_08_13_55_10881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce0e85b7f97a639b5102b02eae165993.jpg","text":"TemporaryFile(/tmp/multipartBody5063682643924431982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697604290,"filename":"image_14122025_08_14_24_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/72cccc8b5379ae0e9551360783495f06.jpg","text":"TemporaryFile(/tmp/multipartBody1896451621520817735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697604290,"filename":"image_14122025_08_14_15_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336135","file1":"1399336134","file0":"1399336133","file4":"1399336139","file5":"1399336149","file3":"1399336136"},"map_files_photo_id_array":[{"photo_id":"1399336149","filename":"file5"},{"photo_id":"1399336135","filename":"file2"},{"photo_id":"1399336139","filename":"file4"},{"photo_id":"1399336134","filename":"file1"},{"photo_id":"1399336133","filename":"file0"},{"photo_id":"1399336136","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336149":["hashtag1","hashtag2"]},{"1399336134":["hashtag1","hashtag2"]},{"1399336139":["hashtag1","hashtag2"]},{"1399336133":["hashtag1","hashtag2"]},{"1399336136":["hashtag1","hashtag2"]},{"1399336135":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336149, 1399336134, 1399336139, 1399336133, 1399336136, 1399336135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.131112813949585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:33:03.086786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/14/image_14122025_08_14_54_9688.jpg', '/home/pi/Desktop/images/14122025/08/14/image_14122025_08_15_05_10615.jpg', '/home/pi/Desktop/images/14122025/08/15/image_14122025_08_15_15_9787.jpg', '/home/pi/Desktop/images/14122025/08/15/image_14122025_08_15_24_9683.jpg', '/home/pi/Desktop/images/14122025/08/15/image_14122025_08_15_34_10007.jpg', '/home/pi/Desktop/images/14122025/08/15/image_14122025_08_15_45_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/14/image_14122025_08_14_54_9688.jpg
/home/pi/Desktop/images/14122025/08/14/image_14122025_08_15_05_10615.jpg
/home/pi/Desktop/images/14122025/08/15/image_14122025_08_15_15_9787.jpg
/home/pi/Desktop/images/14122025/08/15/image_14122025_08_15_24_9683.jpg
/home/pi/Desktop/images/14122025/08/15/image_14122025_08_15_34_10007.jpg
/home/pi/Desktop/images/14122025/08/15/image_14122025_08_15_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":["1399336155","1399336160","1399336157","1399336153","1399336156","1399336159"],"photo_ids_order":["1399336153","1399336155","1399336156","1399336157","1399336159","1399336160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd4ee2acea823a507d00d87097a8873c.jpg","text":"TemporaryFile(/tmp/multipartBody6805138729453110286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697643855,"filename":"image_14122025_08_15_05_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/67ac34e717bb802eae875966f756e454.jpg","text":"TemporaryFile(/tmp/multipartBody3050202086806123393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697643855,"filename":"image_14122025_08_15_45_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1d5e190f356c5dbfe7b78c8e002e8002.jpg","text":"TemporaryFile(/tmp/multipartBody4052952764564944406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697643855,"filename":"image_14122025_08_15_24_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/813c4c6db5acec3aa9097a09dfdd150a.jpg","text":"TemporaryFile(/tmp/multipartBody7932588852735488231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697643855,"filename":"image_14122025_08_14_54_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/456d7d1b6478ed2a5f1a1186c675e76b.jpg","text":"TemporaryFile(/tmp/multipartBody6505669744836509504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697643855,"filename":"image_14122025_08_15_15_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f19872d667c7aabd4f924768d6da2c6.jpg","text":"TemporaryFile(/tmp/multipartBody5849516313508978702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697643855,"filename":"image_14122025_08_15_34_10007.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336156","file1":"1399336155","file0":"1399336153","file4":"1399336159","file5":"1399336160","file3":"1399336157"},"map_files_photo_id_array":[{"photo_id":"1399336160","filename":"file5"},{"photo_id":"1399336156","filename":"file2"},{"photo_id":"1399336159","filename":"file4"},{"photo_id":"1399336155","filename":"file1"},{"photo_id":"1399336153","filename":"file0"},{"photo_id":"1399336157","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336155":["hashtag1","hashtag2"]},{"1399336160":["hashtag1","hashtag2"]},{"1399336157":["hashtag1","hashtag2"]},{"1399336153":["hashtag1","hashtag2"]},{"1399336156":["hashtag1","hashtag2"]},{"1399336159":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336155, 1399336160, 1399336157, 1399336153, 1399336156, 1399336159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35618710517883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:33:42.479231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_04_1516.jpg', '/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_06_1625.jpg', '/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_08_1721.jpg', '/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_15_7256.jpg', '/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_16_1637.jpg', '/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_18_1572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_04_1516.jpg
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_06_1625.jpg
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_08_1721.jpg
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_15_7256.jpg
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_16_1637.jpg
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_18_1572.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5686423778533936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:34:03.463651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/15/image_14122025_08_15_55_9839.jpg', '/home/pi/Desktop/images/14122025/08/15/image_14122025_08_16_05_9788.jpg', '/home/pi/Desktop/images/14122025/08/16/image_14122025_08_16_14_9806.jpg', '/home/pi/Desktop/images/14122025/08/16/image_14122025_08_16_25_10652.jpg', '/home/pi/Desktop/images/14122025/08/16/image_14122025_08_16_35_9752.jpg', '/home/pi/Desktop/images/14122025/08/16/image_14122025_08_16_45_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/15/image_14122025_08_15_55_9839.jpg
/home/pi/Desktop/images/14122025/08/15/image_14122025_08_16_05_9788.jpg
/home/pi/Desktop/images/14122025/08/16/image_14122025_08_16_14_9806.jpg
/home/pi/Desktop/images/14122025/08/16/image_14122025_08_16_25_10652.jpg
/home/pi/Desktop/images/14122025/08/16/image_14122025_08_16_35_9752.jpg
/home/pi/Desktop/images/14122025/08/16/image_14122025_08_16_45_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336173","1399336175","1399336178","1399336172","1399336174","1399336176"],"photo_ids_order":["1399336172","1399336173","1399336174","1399336175","1399336176","1399336178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/894e755522fcd2e0e0ab5dabeebb0284.jpg","text":"TemporaryFile(/tmp/multipartBody3231398500065459110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697704162,"filename":"image_14122025_08_16_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/12/14/fa835cfa3006c23d1184bd97a5a69095.jpg","text":"TemporaryFile(/tmp/multipartBody3340117056146603830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697704162,"filename":"image_14122025_08_16_25_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef248cec6e7b9dd8d2c069a290496a43.jpg","text":"TemporaryFile(/tmp/multipartBody1332946708379037577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697704162,"filename":"image_14122025_08_16_45_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b27b769e96b0d76dfa46492b67d628e.jpg","text":"TemporaryFile(/tmp/multipartBody5798547854266854724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697704162,"filename":"image_14122025_08_15_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/12/14/ca8251115506b2a1b374d38ddd8c59af.jpg","text":"TemporaryFile(/tmp/multipartBody6251903379802290906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697704162,"filename":"image_14122025_08_16_14_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6922e51b300d130fcdb5d2068985650d.jpg","text":"TemporaryFile(/tmp/multipartBody4243646851664154435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697704162,"filename":"image_14122025_08_16_35_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336174","file1":"1399336173","file0":"1399336172","file4":"1399336176","file5":"1399336178","file3":"1399336175"},"map_files_photo_id_array":[{"photo_id":"1399336178","filename":"file5"},{"photo_id":"1399336174","filename":"file2"},{"photo_id":"1399336176","filename":"file4"},{"photo_id":"1399336173","filename":"file1"},{"photo_id":"1399336172","filename":"file0"},{"photo_id":"1399336175","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336173":["hashtag1","hashtag2"]},{"1399336175":["hashtag1","hashtag2"]},{"1399336178":["hashtag1","hashtag2"]},{"1399336172":["hashtag1","hashtag2"]},{"1399336174":["hashtag1","hashtag2"]},{"1399336176":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336173, 1399336175, 1399336178, 1399336172, 1399336174, 1399336176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89098143577576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:34:42.719423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_04_1516.jpg', '/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_06_1625.jpg', '/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_08_1721.jpg', '/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_15_7256.jpg', '/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_16_1637.jpg', '/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_18_1572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_04_1516.jpg
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_06_1625.jpg
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_08_1721.jpg
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_15_7256.jpg
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_16_1637.jpg
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_18_1572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336185","1399336188","1399336190","1399336184","1399336186","1399336182"],"photo_ids_order":["1399336182","1399336184","1399336185","1399336186","1399336188","1399336190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c80f7b294aaaa59e690fd038c402ecd.jpg","text":"TemporaryFile(/tmp/multipartBody2737473865671720619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697743294,"filename":"image_04112025_12_21_08_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/618bf701a888cc46006e4b0c88c5138c.jpg","text":"TemporaryFile(/tmp/multipartBody3612868759706690733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697743294,"filename":"image_04112025_12_21_16_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9935efee0c345c2cb509fbf0258d3a24.jpg","text":"TemporaryFile(/tmp/multipartBody8947651202554953797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697743294,"filename":"image_04112025_12_21_18_1572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fa031c2ab9512b247ddbb8e9521cafeb.jpg","text":"TemporaryFile(/tmp/multipartBody1921268460970077496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697743294,"filename":"image_04112025_12_21_06_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1448a67eccbf2377f11918c985a7af4.jpg","text":"TemporaryFile(/tmp/multipartBody2051522221470886284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697743294,"filename":"image_04112025_12_21_15_7256.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/050394170d69f56522f2034b87768ada.jpg","text":"TemporaryFile(/tmp/multipartBody6260705218322673237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697743294,"filename":"image_04112025_12_21_04_1516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336185","file1":"1399336184","file0":"1399336182","file4":"1399336188","file5":"1399336190","file3":"1399336186"},"map_files_photo_id_array":[{"photo_id":"1399336190","filename":"file5"},{"photo_id":"1399336185","filename":"file2"},{"photo_id":"1399336188","filename":"file4"},{"photo_id":"1399336184","filename":"file1"},{"photo_id":"1399336182","filename":"file0"},{"photo_id":"1399336186","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336185":["hashtag1","hashtag2"]},{"1399336188":["hashtag1","hashtag2"]},{"1399336190":["hashtag1","hashtag2"]},{"1399336184":["hashtag1","hashtag2"]},{"1399336186":["hashtag1","hashtag2"]},{"1399336182":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336185, 1399336188, 1399336190, 1399336184, 1399336186, 1399336182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.76520252227783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:35:31.925245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:35:41.929883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_20_1644.jpg', '/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_22_1953.jpg', '/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_25_3873.jpg', '/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_28_2710.jpg', '/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_31_2863.jpg', '/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_34_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_20_1644.jpg
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_22_1953.jpg
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_25_3873.jpg
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_28_2710.jpg
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_31_2863.jpg
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_34_2636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336200","1399336203","1399336206","1399336205","1399336202","1399336204"],"photo_ids_order":["1399336200","1399336202","1399336203","1399336204","1399336205","1399336206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88028cbba059f79080e122c73edb8ce6.jpg","text":"TemporaryFile(/tmp/multipartBody7775884014305521532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697813632,"filename":"image_04112025_12_21_20_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fadae2a2977930d1e16e655114216125.jpg","text":"TemporaryFile(/tmp/multipartBody7816530626473358936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697813632,"filename":"image_04112025_12_21_25_3873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51fd61060cf6ef0d516bb77564717277.jpg","text":"TemporaryFile(/tmp/multipartBody2388361363422940063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697813632,"filename":"image_04112025_12_21_34_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0035b2073d7d564805b93c272a43d496.jpg","text":"TemporaryFile(/tmp/multipartBody5415610100575492082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697813632,"filename":"image_04112025_12_21_31_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef601bfc9bd918f4c7a823177a78d705.jpg","text":"TemporaryFile(/tmp/multipartBody330999810148023262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697813632,"filename":"image_04112025_12_21_22_1953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2238bc7627de1b0372de52cf248481e3.jpg","text":"TemporaryFile(/tmp/multipartBody7365367933150563973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697813632,"filename":"image_04112025_12_21_28_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336203","file1":"1399336202","file0":"1399336200","file4":"1399336205","file5":"1399336206","file3":"1399336204"},"map_files_photo_id_array":[{"photo_id":"1399336206","filename":"file5"},{"photo_id":"1399336203","filename":"file2"},{"photo_id":"1399336205","filename":"file4"},{"photo_id":"1399336202","filename":"file1"},{"photo_id":"1399336200","filename":"file0"},{"photo_id":"1399336204","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336200":["hashtag1","hashtag2"]},{"1399336203":["hashtag1","hashtag2"]},{"1399336206":["hashtag1","hashtag2"]},{"1399336205":["hashtag1","hashtag2"]},{"1399336202":["hashtag1","hashtag2"]},{"1399336204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336200, 1399336203, 1399336206, 1399336205, 1399336202, 1399336204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.46603989601135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:36:42.162015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_52_18511.jpg', '/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_55_3208.jpg', '/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_57_1725.jpg', '/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_07_3432.jpg', '/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_10_2724.jpg', '/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_14_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_52_18511.jpg
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_55_3208.jpg
/home/pi/Desktop/images/04112025/12/21/image_04112025_12_21_57_1725.jpg
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_07_3432.jpg
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_10_2724.jpg
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_14_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":["1399336215","1399336218","1399336217","1399336211","1399336220","1399336219"],"photo_ids_order":["1399336211","1399336215","1399336217","1399336218","1399336219","1399336220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/93e76d646b7f5c77af31811acae2ae04.jpg","text":"TemporaryFile(/tmp/multipartBody1398271678102306219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697863034,"filename":"image_04112025_12_21_55_3208.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28804cc5bb0e69490fcdf078537e2c9c.jpg","text":"TemporaryFile(/tmp/multipartBody7511532043692118996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697863034,"filename":"image_04112025_12_23_07_3432.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90825310a672ef76e37edb1aab723f16.jpg","text":"TemporaryFile(/tmp/multipartBody7682745790233091744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697863034,"filename":"image_04112025_12_21_57_1725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f892ce3c3f4ed7fec5257697fb790d1.jpg","text":"TemporaryFile(/tmp/multipartBody6920565170619568748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697863034,"filename":"image_04112025_12_21_52_18511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/643065b0080052177bb4e2f9e71c24b0.jpg","text":"TemporaryFile(/tmp/multipartBody5950266434106135006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697863034,"filename":"image_04112025_12_23_14_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c9e3a56f4a60888fd154d62142c1f4b5.jpg","text":"TemporaryFile(/tmp/multipartBody5516129432014517539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697863034,"filename":"image_04112025_12_23_10_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336217","file1":"1399336215","file0":"1399336211","file4":"1399336219","file5":"1399336220","file3":"1399336218"},"map_files_photo_id_array":[{"photo_id":"1399336220","filename":"file5"},{"photo_id":"1399336217","filename":"file2"},{"photo_id":"1399336219","filename":"file4"},{"photo_id":"1399336215","filename":"file1"},{"photo_id":"1399336211","filename":"file0"},{"photo_id":"1399336218","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336215":["hashtag1","hashtag2"]},{"1399336218":["hashtag1","hashtag2"]},{"1399336217":["hashtag1","hashtag2"]},{"1399336211":["hashtag1","hashtag2"]},{"1399336220":["hashtag1","hashtag2"]},{"1399336219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336215, 1399336218, 1399336217, 1399336211, 1399336220, 1399336219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16839528083801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:37:22.430773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/16/image_14122025_08_16_54_9646.jpg', '/home/pi/Desktop/images/14122025/08/16/image_14122025_08_17_05_10737.jpg', '/home/pi/Desktop/images/14122025/08/17/image_14122025_08_17_15_9926.jpg', '/home/pi/Desktop/images/14122025/08/17/image_14122025_08_17_25_9752.jpg', '/home/pi/Desktop/images/14122025/08/17/image_14122025_08_17_34_9664.jpg', '/home/pi/Desktop/images/14122025/08/17/image_14122025_08_17_45_10582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/16/image_14122025_08_16_54_9646.jpg
/home/pi/Desktop/images/14122025/08/16/image_14122025_08_17_05_10737.jpg
/home/pi/Desktop/images/14122025/08/17/image_14122025_08_17_15_9926.jpg
/home/pi/Desktop/images/14122025/08/17/image_14122025_08_17_25_9752.jpg
/home/pi/Desktop/images/14122025/08/17/image_14122025_08_17_34_9664.jpg
/home/pi/Desktop/images/14122025/08/17/image_14122025_08_17_45_10582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336233","1399336221","1399336224","1399336226","1399336228","1399336222"],"photo_ids_order":["1399336221","1399336222","1399336224","1399336226","1399336228","1399336233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9da0d86135a2ee7785169292af2a0be2.jpg","text":"TemporaryFile(/tmp/multipartBody5557644862883578382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697903112,"filename":"image_14122025_08_17_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/12/14/eaeb96cc7e40de14369c7055e18bacc0.jpg","text":"TemporaryFile(/tmp/multipartBody3082424945256707688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697903112,"filename":"image_14122025_08_16_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5659dfdd25372b046ab117c00b0efbf1.jpg","text":"TemporaryFile(/tmp/multipartBody4280873364498742929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697903112,"filename":"image_14122025_08_17_15_9926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1781e214850b2668bad3c85217a666f.jpg","text":"TemporaryFile(/tmp/multipartBody5984805041857551719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697903112,"filename":"image_14122025_08_17_25_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dcb1b1488ac5176766e5032869ad5bda.jpg","text":"TemporaryFile(/tmp/multipartBody3246997313044724540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697903112,"filename":"image_14122025_08_17_34_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4eaed2ec133b26de239c6a20c0d0e6bb.jpg","text":"TemporaryFile(/tmp/multipartBody317433628763718509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697903112,"filename":"image_14122025_08_17_05_10737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336224","file1":"1399336222","file0":"1399336221","file4":"1399336228","file5":"1399336233","file3":"1399336226"},"map_files_photo_id_array":[{"photo_id":"1399336233","filename":"file5"},{"photo_id":"1399336224","filename":"file2"},{"photo_id":"1399336228","filename":"file4"},{"photo_id":"1399336222","filename":"file1"},{"photo_id":"1399336221","filename":"file0"},{"photo_id":"1399336226","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336233":["hashtag1","hashtag2"]},{"1399336221":["hashtag1","hashtag2"]},{"1399336224":["hashtag1","hashtag2"]},{"1399336226":["hashtag1","hashtag2"]},{"1399336228":["hashtag1","hashtag2"]},{"1399336222":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336233, 1399336221, 1399336224, 1399336226, 1399336228, 1399336222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.773454427719116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:38:03.067028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/17/image_14122025_08_17_54_9599.jpg', '/home/pi/Desktop/images/14122025/08/17/image_14122025_08_18_04_9716.jpg', '/home/pi/Desktop/images/14122025/08/18/image_14122025_08_18_15_10740.jpg', '/home/pi/Desktop/images/14122025/08/18/image_14122025_08_18_34_9532.jpg', '/home/pi/Desktop/images/14122025/08/18/image_14122025_08_18_45_10808.jpg', '/home/pi/Desktop/images/14122025/08/18/image_14122025_08_19_05_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/17/image_14122025_08_17_54_9599.jpg
/home/pi/Desktop/images/14122025/08/17/image_14122025_08_18_04_9716.jpg
/home/pi/Desktop/images/14122025/08/18/image_14122025_08_18_15_10740.jpg
/home/pi/Desktop/images/14122025/08/18/image_14122025_08_18_34_9532.jpg
/home/pi/Desktop/images/14122025/08/18/image_14122025_08_18_45_10808.jpg
/home/pi/Desktop/images/14122025/08/18/image_14122025_08_19_05_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":["1399336245","1399336242","1399336241","1399336238","1399336240","1399336243"],"photo_ids_order":["1399336238","1399336240","1399336241","1399336242","1399336243","1399336245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/141244caf0687242828cb79e63addb91.jpg","text":"TemporaryFile(/tmp/multipartBody5198730853557027579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697943740,"filename":"image_14122025_08_19_05_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/356fe6ccdb80e882fa2bf8505f39103e.jpg","text":"TemporaryFile(/tmp/multipartBody8470863892979993854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697943740,"filename":"image_14122025_08_18_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/12/14/627bd6c7f892a048fac3799f7c115e4d.jpg","text":"TemporaryFile(/tmp/multipartBody6109424148562168268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697943740,"filename":"image_14122025_08_18_15_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/419b21c6ecb967350458e79417f2826a.jpg","text":"TemporaryFile(/tmp/multipartBody7706091304910376269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697943740,"filename":"image_14122025_08_17_54_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/47f38a45750f06b5b1709b60fc694a33.jpg","text":"TemporaryFile(/tmp/multipartBody3532621613912422921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697943740,"filename":"image_14122025_08_18_04_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d6780bc66f8cc690c6a4659e53a8240f.jpg","text":"TemporaryFile(/tmp/multipartBody2049525218589711841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765697943740,"filename":"image_14122025_08_18_45_10808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336241","file1":"1399336240","file0":"1399336238","file4":"1399336243","file5":"1399336245","file3":"1399336242"},"map_files_photo_id_array":[{"photo_id":"1399336245","filename":"file5"},{"photo_id":"1399336241","filename":"file2"},{"photo_id":"1399336243","filename":"file4"},{"photo_id":"1399336240","filename":"file1"},{"photo_id":"1399336238","filename":"file0"},{"photo_id":"1399336242","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336245":["hashtag1","hashtag2"]},{"1399336242":["hashtag1","hashtag2"]},{"1399336241":["hashtag1","hashtag2"]},{"1399336238":["hashtag1","hashtag2"]},{"1399336240":["hashtag1","hashtag2"]},{"1399336243":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336245, 1399336242, 1399336241, 1399336238, 1399336240, 1399336243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41487693786621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:38:42.659059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_16_2603.jpg', '/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_19_2629.jpg', '/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_26_7297.jpg', '/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_28_1719.jpg', '/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_30_2175.jpg', '/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_32_1744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_16_2603.jpg
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_19_2629.jpg
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_26_7297.jpg
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_28_1719.jpg
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_30_2175.jpg
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_32_1744.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5690460205078125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:39:02.822403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/19/image_14122025_08_19_14_9743.jpg', '/home/pi/Desktop/images/14122025/08/19/image_14122025_08_19_24_9737.jpg', '/home/pi/Desktop/images/14122025/08/19/image_14122025_08_19_35_10589.jpg', '/home/pi/Desktop/images/14122025/08/19/image_14122025_08_19_45_9774.jpg', '/home/pi/Desktop/images/14122025/08/19/image_14122025_08_19_54_9664.jpg', '/home/pi/Desktop/images/14122025/08/19/image_14122025_08_20_05_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/19/image_14122025_08_19_14_9743.jpg
/home/pi/Desktop/images/14122025/08/19/image_14122025_08_19_24_9737.jpg
/home/pi/Desktop/images/14122025/08/19/image_14122025_08_19_35_10589.jpg
/home/pi/Desktop/images/14122025/08/19/image_14122025_08_19_45_9774.jpg
/home/pi/Desktop/images/14122025/08/19/image_14122025_08_19_54_9664.jpg
/home/pi/Desktop/images/14122025/08/19/image_14122025_08_20_05_10670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336263","1399336260","1399336262","1399336265","1399336259","1399336261"],"photo_ids_order":["1399336259","1399336260","1399336261","1399336262","1399336263","1399336265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/edb15b2693b0ff57fa7f6c074f11bf71.jpg","text":"TemporaryFile(/tmp/multipartBody1520652739549526923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698003611,"filename":"image_14122025_08_19_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54cc50b28befe1e7139055f2a1644bed.jpg","text":"TemporaryFile(/tmp/multipartBody4993588411707361513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698003611,"filename":"image_14122025_08_19_24_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/697ea6bda34ed887a816a868bd3db3d5.jpg","text":"TemporaryFile(/tmp/multipartBody8397116150252681922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698003611,"filename":"image_14122025_08_19_45_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/601a863ce8d44b9160a686df8b67bd62.jpg","text":"TemporaryFile(/tmp/multipartBody9024930968883710133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698003611,"filename":"image_14122025_08_20_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/12/14/a3729268a1ffada766a9fce0d6d7c909.jpg","text":"TemporaryFile(/tmp/multipartBody4871934723399578744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698003611,"filename":"image_14122025_08_19_14_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf80a6127a2b7b316d43f39860cf2ba4.jpg","text":"TemporaryFile(/tmp/multipartBody2021199861902749266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698003611,"filename":"image_14122025_08_19_35_10589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336261","file1":"1399336260","file0":"1399336259","file4":"1399336263","file5":"1399336265","file3":"1399336262"},"map_files_photo_id_array":[{"photo_id":"1399336265","filename":"file5"},{"photo_id":"1399336261","filename":"file2"},{"photo_id":"1399336263","filename":"file4"},{"photo_id":"1399336260","filename":"file1"},{"photo_id":"1399336259","filename":"file0"},{"photo_id":"1399336262","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336263":["hashtag1","hashtag2"]},{"1399336260":["hashtag1","hashtag2"]},{"1399336262":["hashtag1","hashtag2"]},{"1399336265":["hashtag1","hashtag2"]},{"1399336259":["hashtag1","hashtag2"]},{"1399336261":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336263, 1399336260, 1399336262, 1399336265, 1399336259, 1399336261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.705992460250854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:39:41.871098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_16_2603.jpg', '/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_19_2629.jpg', '/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_26_7297.jpg', '/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_28_1719.jpg', '/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_30_2175.jpg', '/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_32_1744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_16_2603.jpg
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_19_2629.jpg
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_26_7297.jpg
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_28_1719.jpg
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_30_2175.jpg
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_32_1744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336274","1399336277","1399336270","1399336273","1399336276","1399336275"],"photo_ids_order":["1399336270","1399336273","1399336274","1399336275","1399336276","1399336277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76b5a58e50beb102e8f1ead14faa5e35.jpg","text":"TemporaryFile(/tmp/multipartBody9122799056354113166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698042448,"filename":"image_04112025_12_23_26_7297.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/153ab00481ad4581a5a249204e9cc5c6.jpg","text":"TemporaryFile(/tmp/multipartBody5286439224215605416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698042448,"filename":"image_04112025_12_23_32_1744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14cebe798456fe0e282191c7677a7ba2.jpg","text":"TemporaryFile(/tmp/multipartBody5248036724912859159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698042448,"filename":"image_04112025_12_23_16_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1f36557b8c5a1807863c931312211ff.jpg","text":"TemporaryFile(/tmp/multipartBody8780949734407969200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698042448,"filename":"image_04112025_12_23_19_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d5cecc30956fb523ee50fb050979fe48.jpg","text":"TemporaryFile(/tmp/multipartBody5827794167405245763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698042448,"filename":"image_04112025_12_23_30_2175.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/05ee77ffd78e0ca00d033e2e4f25f56e.jpg","text":"TemporaryFile(/tmp/multipartBody8169149567117284434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698042448,"filename":"image_04112025_12_23_28_1719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336274","file1":"1399336273","file0":"1399336270","file4":"1399336276","file5":"1399336277","file3":"1399336275"},"map_files_photo_id_array":[{"photo_id":"1399336277","filename":"file5"},{"photo_id":"1399336274","filename":"file2"},{"photo_id":"1399336276","filename":"file4"},{"photo_id":"1399336273","filename":"file1"},{"photo_id":"1399336270","filename":"file0"},{"photo_id":"1399336275","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336274":["hashtag1","hashtag2"]},{"1399336277":["hashtag1","hashtag2"]},{"1399336270":["hashtag1","hashtag2"]},{"1399336273":["hashtag1","hashtag2"]},{"1399336276":["hashtag1","hashtag2"]},{"1399336275":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336274, 1399336277, 1399336270, 1399336273, 1399336276, 1399336275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18307828903198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:40:22.169729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/20/image_14122025_08_20_25_10679.jpg', '/home/pi/Desktop/images/14122025/08/20/image_14122025_08_20_45_9901.jpg', '/home/pi/Desktop/images/14122025/08/20/image_14122025_08_20_54_9657.jpg', '/home/pi/Desktop/images/14122025/08/20/image_14122025_08_21_05_10652.jpg', '/home/pi/Desktop/images/14122025/08/21/image_14122025_08_21_15_9645.jpg', '/home/pi/Desktop/images/14122025/08/21/image_14122025_08_21_24_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/20/image_14122025_08_20_25_10679.jpg
/home/pi/Desktop/images/14122025/08/20/image_14122025_08_20_45_9901.jpg
/home/pi/Desktop/images/14122025/08/20/image_14122025_08_20_54_9657.jpg
/home/pi/Desktop/images/14122025/08/20/image_14122025_08_21_05_10652.jpg
/home/pi/Desktop/images/14122025/08/21/image_14122025_08_21_15_9645.jpg
/home/pi/Desktop/images/14122025/08/21/image_14122025_08_21_24_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.5613353252410889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:40:32.239812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:40:42.086566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_36_4041.jpg', '/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_38_1574.jpg', '/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_40_2623.jpg', '/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_43_2797.jpg', '/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_47_3667.jpg', '/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_49_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_36_4041.jpg
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_38_1574.jpg
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_40_2623.jpg
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_43_2797.jpg
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_47_3667.jpg
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_49_2638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336290","1399336292","1399336286","1399336291","1399336294","1399336288"],"photo_ids_order":["1399336286","1399336288","1399336290","1399336291","1399336292","1399336294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/772001ea17d54658448fc85a4db95965.jpg","text":"TemporaryFile(/tmp/multipartBody8546320157256140566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698102766,"filename":"image_04112025_12_23_40_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3efe2fd8785269029a5f2a3f2524c4b9.jpg","text":"TemporaryFile(/tmp/multipartBody1261992328204645456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698102766,"filename":"image_04112025_12_23_47_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9e729d4118b01dcb1848265c4d7aef74.jpg","text":"TemporaryFile(/tmp/multipartBody6350471594684695991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698102766,"filename":"image_04112025_12_23_36_4041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1842123a707323852d003eaafb95e5d6.jpg","text":"TemporaryFile(/tmp/multipartBody3418094351915923609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698102766,"filename":"image_04112025_12_23_43_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1fa05b84392d393ef2955ce17bee6c56.jpg","text":"TemporaryFile(/tmp/multipartBody3185930397748088851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698102766,"filename":"image_04112025_12_23_49_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/167df0bbda7ea61baa1bcc64a1e2154f.jpg","text":"TemporaryFile(/tmp/multipartBody3798907840162394230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698102766,"filename":"image_04112025_12_23_38_1574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336290","file1":"1399336288","file0":"1399336286","file4":"1399336292","file5":"1399336294","file3":"1399336291"},"map_files_photo_id_array":[{"photo_id":"1399336294","filename":"file5"},{"photo_id":"1399336290","filename":"file2"},{"photo_id":"1399336292","filename":"file4"},{"photo_id":"1399336288","filename":"file1"},{"photo_id":"1399336286","filename":"file0"},{"photo_id":"1399336291","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336290":["hashtag1","hashtag2"]},{"1399336292":["hashtag1","hashtag2"]},{"1399336286":["hashtag1","hashtag2"]},{"1399336291":["hashtag1","hashtag2"]},{"1399336294":["hashtag1","hashtag2"]},{"1399336288":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336290, 1399336292, 1399336286, 1399336291, 1399336294, 1399336288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08177304267883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:41:22.457158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/20/image_14122025_08_20_25_10679.jpg', '/home/pi/Desktop/images/14122025/08/20/image_14122025_08_20_45_9901.jpg', '/home/pi/Desktop/images/14122025/08/20/image_14122025_08_20_54_9657.jpg', '/home/pi/Desktop/images/14122025/08/20/image_14122025_08_21_05_10652.jpg', '/home/pi/Desktop/images/14122025/08/21/image_14122025_08_21_15_9645.jpg', '/home/pi/Desktop/images/14122025/08/21/image_14122025_08_21_24_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/20/image_14122025_08_20_25_10679.jpg
/home/pi/Desktop/images/14122025/08/20/image_14122025_08_20_45_9901.jpg
/home/pi/Desktop/images/14122025/08/20/image_14122025_08_20_54_9657.jpg
/home/pi/Desktop/images/14122025/08/20/image_14122025_08_21_05_10652.jpg
/home/pi/Desktop/images/14122025/08/21/image_14122025_08_21_15_9645.jpg
/home/pi/Desktop/images/14122025/08/21/image_14122025_08_21_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":["1399336298","1399336302","1399336295","1399336309","1399336300","1399336296"],"photo_ids_order":["1399336295","1399336296","1399336298","1399336300","1399336302","1399336309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc69e15fff677eb9495f21f321e9d938.jpg","text":"TemporaryFile(/tmp/multipartBody101749448302005017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698143089,"filename":"image_14122025_08_20_54_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c23ade4d1787a015b7c1bf4452807dc7.jpg","text":"TemporaryFile(/tmp/multipartBody7614788598408756668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698143089,"filename":"image_14122025_08_21_15_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9ea0137440ca415c394e3298dcefcfaf.jpg","text":"TemporaryFile(/tmp/multipartBody7298626583298931820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698143089,"filename":"image_14122025_08_20_25_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d6362ddb59f48d39652bba07bb3b4fdd.jpg","text":"TemporaryFile(/tmp/multipartBody5006815517066165376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698143089,"filename":"image_14122025_08_21_24_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90890a86c211e5ae0813b62ae20e2311.jpg","text":"TemporaryFile(/tmp/multipartBody6852587399017773819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698143089,"filename":"image_14122025_08_21_05_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a20d92a74fe9ec84b40a43137eb8d207.jpg","text":"TemporaryFile(/tmp/multipartBody7301615305133055914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698143089,"filename":"image_14122025_08_20_45_9901.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336298","file1":"1399336296","file0":"1399336295","file4":"1399336302","file5":"1399336309","file3":"1399336300"},"map_files_photo_id_array":[{"photo_id":"1399336309","filename":"file5"},{"photo_id":"1399336298","filename":"file2"},{"photo_id":"1399336302","filename":"file4"},{"photo_id":"1399336296","filename":"file1"},{"photo_id":"1399336295","filename":"file0"},{"photo_id":"1399336300","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336298":["hashtag1","hashtag2"]},{"1399336302":["hashtag1","hashtag2"]},{"1399336295":["hashtag1","hashtag2"]},{"1399336309":["hashtag1","hashtag2"]},{"1399336300":["hashtag1","hashtag2"]},{"1399336296":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336298, 1399336302, 1399336295, 1399336309, 1399336300, 1399336296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73723816871643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:42:03.199134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/21/image_14122025_08_21_35_10591.jpg', '/home/pi/Desktop/images/14122025/08/21/image_14122025_08_21_45_9761.jpg', '/home/pi/Desktop/images/14122025/08/21/image_14122025_08_21_54_9649.jpg', '/home/pi/Desktop/images/14122025/08/21/image_14122025_08_22_05_10647.jpg', '/home/pi/Desktop/images/14122025/08/22/image_14122025_08_22_15_9752.jpg', '/home/pi/Desktop/images/14122025/08/22/image_14122025_08_22_24_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/21/image_14122025_08_21_35_10591.jpg
/home/pi/Desktop/images/14122025/08/21/image_14122025_08_21_45_9761.jpg
/home/pi/Desktop/images/14122025/08/21/image_14122025_08_21_54_9649.jpg
/home/pi/Desktop/images/14122025/08/21/image_14122025_08_22_05_10647.jpg
/home/pi/Desktop/images/14122025/08/22/image_14122025_08_22_15_9752.jpg
/home/pi/Desktop/images/14122025/08/22/image_14122025_08_22_24_9607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336314","1399336317","1399336316","1399336319","1399336313","1399336315"],"photo_ids_order":["1399336313","1399336314","1399336315","1399336316","1399336317","1399336319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cbae1cc4f29e83e319c91dc80c9f8cc6.jpg","text":"TemporaryFile(/tmp/multipartBody432396651090650861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698183888,"filename":"image_14122025_08_21_45_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fc14680fcf87ab26e97f9c2d9123fc1c.jpg","text":"TemporaryFile(/tmp/multipartBody2230110791052549797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698183888,"filename":"image_14122025_08_22_15_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3335e6ab03bd6bc1d02165ab9eb6bfcb.jpg","text":"TemporaryFile(/tmp/multipartBody1922656141166790386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698183888,"filename":"image_14122025_08_22_05_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/46455904ffb636551837840fc4714d88.jpg","text":"TemporaryFile(/tmp/multipartBody5972206978798357456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698183888,"filename":"image_14122025_08_22_24_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2dfcc9e56dd2572e3fb9e9275b7e6e76.jpg","text":"TemporaryFile(/tmp/multipartBody1629542734759300190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698183888,"filename":"image_14122025_08_21_35_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1149d56f103a9d101c1acbf4b9033ba8.jpg","text":"TemporaryFile(/tmp/multipartBody5839145055573688301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698183888,"filename":"image_14122025_08_21_54_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336315","file1":"1399336314","file0":"1399336313","file4":"1399336317","file5":"1399336319","file3":"1399336316"},"map_files_photo_id_array":[{"photo_id":"1399336319","filename":"file5"},{"photo_id":"1399336315","filename":"file2"},{"photo_id":"1399336317","filename":"file4"},{"photo_id":"1399336314","filename":"file1"},{"photo_id":"1399336313","filename":"file0"},{"photo_id":"1399336316","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336314":["hashtag1","hashtag2"]},{"1399336317":["hashtag1","hashtag2"]},{"1399336316":["hashtag1","hashtag2"]},{"1399336319":["hashtag1","hashtag2"]},{"1399336313":["hashtag1","hashtag2"]},{"1399336315":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336314, 1399336317, 1399336316, 1399336319, 1399336313, 1399336315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30289435386658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:42:42.706393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_52_2665.jpg', '/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_56_3712.jpg', '/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_59_2831.jpg', '/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_02_3023.jpg', '/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_04_2745.jpg', '/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_08_3507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_52_2665.jpg
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_56_3712.jpg
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_59_2831.jpg
/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_02_3023.jpg
/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_04_2745.jpg
/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_08_3507.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6049091815948486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:43:02.449479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/22/image_14122025_08_22_35_10642.jpg', '/home/pi/Desktop/images/14122025/08/22/image_14122025_08_22_45_9824.jpg', '/home/pi/Desktop/images/14122025/08/22/image_14122025_08_22_55_9800.jpg', '/home/pi/Desktop/images/14122025/08/22/image_14122025_08_23_04_9683.jpg', '/home/pi/Desktop/images/14122025/08/23/image_14122025_08_23_15_10561.jpg', '/home/pi/Desktop/images/14122025/08/23/image_14122025_08_23_45_10703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/22/image_14122025_08_22_35_10642.jpg
/home/pi/Desktop/images/14122025/08/22/image_14122025_08_22_45_9824.jpg
/home/pi/Desktop/images/14122025/08/22/image_14122025_08_22_55_9800.jpg
/home/pi/Desktop/images/14122025/08/22/image_14122025_08_23_04_9683.jpg
/home/pi/Desktop/images/14122025/08/23/image_14122025_08_23_15_10561.jpg
/home/pi/Desktop/images/14122025/08/23/image_14122025_08_23_45_10703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336335","1399336334","1399336337","1399336331","1399336333","1399336339"],"photo_ids_order":["1399336331","1399336333","1399336334","1399336335","1399336337","1399336339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ae7ae845b2fe5369d469b2e0f371bcc.jpg","text":"TemporaryFile(/tmp/multipartBody6842710938596350495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698243209,"filename":"image_14122025_08_23_04_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8ffc2178306f2a283296541525e58a7b.jpg","text":"TemporaryFile(/tmp/multipartBody3403981891254036911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698243209,"filename":"image_14122025_08_22_55_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bdcf2719261ab099ad36ad553e55cc1d.jpg","text":"TemporaryFile(/tmp/multipartBody7768473310660917964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698243209,"filename":"image_14122025_08_23_15_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c52292d9dea7ac861f6254b3d1bfac3a.jpg","text":"TemporaryFile(/tmp/multipartBody3010995794264018732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698243209,"filename":"image_14122025_08_22_35_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/66a52c0003e1963bed80559baedfbdba.jpg","text":"TemporaryFile(/tmp/multipartBody2929778246692758570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698243209,"filename":"image_14122025_08_22_45_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dabfb50ee99ad0d42a28d66cf7a8f56e.jpg","text":"TemporaryFile(/tmp/multipartBody9214477275570600973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698243209,"filename":"image_14122025_08_23_45_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336334","file1":"1399336333","file0":"1399336331","file4":"1399336337","file5":"1399336339","file3":"1399336335"},"map_files_photo_id_array":[{"photo_id":"1399336339","filename":"file5"},{"photo_id":"1399336334","filename":"file2"},{"photo_id":"1399336337","filename":"file4"},{"photo_id":"1399336333","filename":"file1"},{"photo_id":"1399336331","filename":"file0"},{"photo_id":"1399336335","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336335":["hashtag1","hashtag2"]},{"1399336334":["hashtag1","hashtag2"]},{"1399336337":["hashtag1","hashtag2"]},{"1399336331":["hashtag1","hashtag2"]},{"1399336333":["hashtag1","hashtag2"]},{"1399336339":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336335, 1399336334, 1399336337, 1399336331, 1399336333, 1399336339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.1488835811615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:44:02.901602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/23/image_14122025_08_23_55_9985.jpg', '/home/pi/Desktop/images/14122025/08/23/image_14122025_08_24_05_9830.jpg', '/home/pi/Desktop/images/14122025/08/24/image_14122025_08_24_14_9729.jpg', '/home/pi/Desktop/images/14122025/08/24/image_14122025_08_24_35_10660.jpg', '/home/pi/Desktop/images/14122025/08/24/image_14122025_08_24_45_9726.jpg', '/home/pi/Desktop/images/14122025/08/24/image_14122025_08_24_54_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/23/image_14122025_08_23_55_9985.jpg
/home/pi/Desktop/images/14122025/08/23/image_14122025_08_24_05_9830.jpg
/home/pi/Desktop/images/14122025/08/24/image_14122025_08_24_14_9729.jpg
/home/pi/Desktop/images/14122025/08/24/image_14122025_08_24_35_10660.jpg
/home/pi/Desktop/images/14122025/08/24/image_14122025_08_24_45_9726.jpg
/home/pi/Desktop/images/14122025/08/24/image_14122025_08_24_54_9787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336350","1399336344","1399336349","1399336346","1399336345","1399336348"],"photo_ids_order":["1399336344","1399336345","1399336346","1399336348","1399336349","1399336350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c4793984c069adc7ae6831b7552d6ba.jpg","text":"TemporaryFile(/tmp/multipartBody5203111514298274056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698303633,"filename":"image_14122025_08_24_54_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2342ea63ce0378d1f4dfaa2fc295fe27.jpg","text":"TemporaryFile(/tmp/multipartBody8489640075116142554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698303633,"filename":"image_14122025_08_23_55_9985.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/110069feeef10554806ef22fef5a91ae.jpg","text":"TemporaryFile(/tmp/multipartBody1528484740841442291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698303633,"filename":"image_14122025_08_24_45_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9bf734a39974c52a46b9bb12397228d1.jpg","text":"TemporaryFile(/tmp/multipartBody8665055869393683210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698303633,"filename":"image_14122025_08_24_14_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b16abe6cd1252d1af8f16e01d1afb112.jpg","text":"TemporaryFile(/tmp/multipartBody4209945444968248334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698303633,"filename":"image_14122025_08_24_05_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/857144cf41981f3807bbd350addeb7eb.jpg","text":"TemporaryFile(/tmp/multipartBody940181403310395295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698303633,"filename":"image_14122025_08_24_35_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336346","file1":"1399336345","file0":"1399336344","file4":"1399336349","file5":"1399336350","file3":"1399336348"},"map_files_photo_id_array":[{"photo_id":"1399336350","filename":"file5"},{"photo_id":"1399336346","filename":"file2"},{"photo_id":"1399336349","filename":"file4"},{"photo_id":"1399336345","filename":"file1"},{"photo_id":"1399336344","filename":"file0"},{"photo_id":"1399336348","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336350":["hashtag1","hashtag2"]},{"1399336344":["hashtag1","hashtag2"]},{"1399336349":["hashtag1","hashtag2"]},{"1399336346":["hashtag1","hashtag2"]},{"1399336345":["hashtag1","hashtag2"]},{"1399336348":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336350, 1399336344, 1399336349, 1399336346, 1399336345, 1399336348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94433808326721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:44:42.239397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_52_2665.jpg', '/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_56_3712.jpg', '/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_59_2831.jpg', '/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_02_3023.jpg', '/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_04_2745.jpg', '/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_08_3507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_52_2665.jpg
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_56_3712.jpg
/home/pi/Desktop/images/04112025/12/23/image_04112025_12_23_59_2831.jpg
/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_02_3023.jpg
/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_04_2745.jpg
/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_08_3507.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336379","1399336370","1399336376","1399336355","1399336372","1399336374"],"photo_ids_order":["1399336355","1399336370","1399336372","1399336374","1399336376","1399336379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f8059e9b4f064a0e086cbc33fb6dc54f.jpg","text":"TemporaryFile(/tmp/multipartBody3345111107720634912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698342839,"filename":"image_04112025_12_24_08_3507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/44f3711599b3946d21bb2461ee481083.jpg","text":"TemporaryFile(/tmp/multipartBody6375299720658864859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698342839,"filename":"image_04112025_12_23_56_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e611f11b129d54e76caa0bd20c33ff9d.jpg","text":"TemporaryFile(/tmp/multipartBody9141952463398112442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698342839,"filename":"image_04112025_12_24_04_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/220c699223458f5ad9dcecf21433de52.jpg","text":"TemporaryFile(/tmp/multipartBody3019358232213053371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698342839,"filename":"image_04112025_12_23_52_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f385c1ba6770e6c8516f41bccc4dc06.jpg","text":"TemporaryFile(/tmp/multipartBody2099726980432635013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698342839,"filename":"image_04112025_12_23_59_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4dc6f431c8471821ed7307c58ad0d000.jpg","text":"TemporaryFile(/tmp/multipartBody5437512093911087418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698342839,"filename":"image_04112025_12_24_02_3023.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336372","file1":"1399336370","file0":"1399336355","file4":"1399336376","file5":"1399336379","file3":"1399336374"},"map_files_photo_id_array":[{"photo_id":"1399336379","filename":"file5"},{"photo_id":"1399336372","filename":"file2"},{"photo_id":"1399336376","filename":"file4"},{"photo_id":"1399336370","filename":"file1"},{"photo_id":"1399336355","filename":"file0"},{"photo_id":"1399336374","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336379":["hashtag1","hashtag2"]},{"1399336370":["hashtag1","hashtag2"]},{"1399336376":["hashtag1","hashtag2"]},{"1399336355":["hashtag1","hashtag2"]},{"1399336372":["hashtag1","hashtag2"]},{"1399336374":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336379, 1399336370, 1399336376, 1399336355, 1399336372, 1399336374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62415909767151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:45:22.491924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/24/image_14122025_08_25_05_10590.jpg', '/home/pi/Desktop/images/14122025/08/25/image_14122025_08_25_15_9693.jpg', '/home/pi/Desktop/images/14122025/08/25/image_14122025_08_25_45_10608.jpg', '/home/pi/Desktop/images/14122025/08/25/image_14122025_08_25_55_9705.jpg', '/home/pi/Desktop/images/14122025/08/25/image_14122025_08_26_04_9704.jpg', '/home/pi/Desktop/images/14122025/08/26/image_14122025_08_26_25_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/24/image_14122025_08_25_05_10590.jpg
/home/pi/Desktop/images/14122025/08/25/image_14122025_08_25_15_9693.jpg
/home/pi/Desktop/images/14122025/08/25/image_14122025_08_25_45_10608.jpg
/home/pi/Desktop/images/14122025/08/25/image_14122025_08_25_55_9705.jpg
/home/pi/Desktop/images/14122025/08/25/image_14122025_08_26_04_9704.jpg
/home/pi/Desktop/images/14122025/08/26/image_14122025_08_26_25_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336383","1399336385","1399336381","1399336390","1399336387","1399336380"],"photo_ids_order":["1399336380","1399336381","1399336383","1399336385","1399336387","1399336390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3affff673b60aa3dd7016b3624950245.jpg","text":"TemporaryFile(/tmp/multipartBody7661607469290471387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698383241,"filename":"image_14122025_08_25_45_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/66236c7b8782e725a722e98f61b15d28.jpg","text":"TemporaryFile(/tmp/multipartBody886575906019133432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698383241,"filename":"image_14122025_08_25_55_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/33d9ed6a8d21dfcbf99966eb4af44d94.jpg","text":"TemporaryFile(/tmp/multipartBody3702609493895405694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698383241,"filename":"image_14122025_08_25_15_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/219c5ade08a80cda6e7cd9b67de04f0e.jpg","text":"TemporaryFile(/tmp/multipartBody1526908195330205425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698383241,"filename":"image_14122025_08_26_25_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6d044c4eed6ea01eb480792d9b252f9c.jpg","text":"TemporaryFile(/tmp/multipartBody7925612692282138494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698383241,"filename":"image_14122025_08_26_04_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3cc29e73a869868f485cbdc3a8818906.jpg","text":"TemporaryFile(/tmp/multipartBody2896819583306512613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698383241,"filename":"image_14122025_08_25_05_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336383","file1":"1399336381","file0":"1399336380","file4":"1399336387","file5":"1399336390","file3":"1399336385"},"map_files_photo_id_array":[{"photo_id":"1399336390","filename":"file5"},{"photo_id":"1399336383","filename":"file2"},{"photo_id":"1399336387","filename":"file4"},{"photo_id":"1399336381","filename":"file1"},{"photo_id":"1399336380","filename":"file0"},{"photo_id":"1399336385","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336383":["hashtag1","hashtag2"]},{"1399336385":["hashtag1","hashtag2"]},{"1399336381":["hashtag1","hashtag2"]},{"1399336390":["hashtag1","hashtag2"]},{"1399336387":["hashtag1","hashtag2"]},{"1399336380":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336383, 1399336385, 1399336381, 1399336390, 1399336387, 1399336380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.066657304763794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:46:03.051965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/26/image_14122025_08_26_34_9614.jpg', '/home/pi/Desktop/images/14122025/08/26/image_14122025_08_26_45_10609.jpg', '/home/pi/Desktop/images/14122025/08/26/image_14122025_08_26_55_9896.jpg', '/home/pi/Desktop/images/14122025/08/27/image_14122025_08_27_14_9687.jpg', '/home/pi/Desktop/images/14122025/08/27/image_14122025_08_27_35_9625.jpg', '/home/pi/Desktop/images/14122025/08/27/image_14122025_08_28_05_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/26/image_14122025_08_26_34_9614.jpg
/home/pi/Desktop/images/14122025/08/26/image_14122025_08_26_45_10609.jpg
/home/pi/Desktop/images/14122025/08/26/image_14122025_08_26_55_9896.jpg
/home/pi/Desktop/images/14122025/08/27/image_14122025_08_27_14_9687.jpg
/home/pi/Desktop/images/14122025/08/27/image_14122025_08_27_35_9625.jpg
/home/pi/Desktop/images/14122025/08/27/image_14122025_08_28_05_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":["1399336398","1399336401","1399336403","1399336396","1399336400","1399336399"],"photo_ids_order":["1399336396","1399336398","1399336399","1399336400","1399336401","1399336403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a282c49cc020246c32edce37ea586c8.jpg","text":"TemporaryFile(/tmp/multipartBody610120270340982173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698423699,"filename":"image_14122025_08_26_45_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e74da1df30e045b073057e13069d60c7.jpg","text":"TemporaryFile(/tmp/multipartBody8382051153950538688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698423699,"filename":"image_14122025_08_27_35_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/331a3cc6e924807ee3eb4b22672cab04.jpg","text":"TemporaryFile(/tmp/multipartBody7056625364812486381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698423699,"filename":"image_14122025_08_28_05_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf5c2db5780709b457d642c680009855.jpg","text":"TemporaryFile(/tmp/multipartBody564631820948464901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698423699,"filename":"image_14122025_08_26_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cdaf2ab6b46ac297391c368a5f97b0e4.jpg","text":"TemporaryFile(/tmp/multipartBody6913317799324214795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698423699,"filename":"image_14122025_08_27_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6d9eb66e2d70c0d54b6b1c88821938f9.jpg","text":"TemporaryFile(/tmp/multipartBody1046588857527325099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698423699,"filename":"image_14122025_08_26_55_9896.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336399","file1":"1399336398","file0":"1399336396","file4":"1399336401","file5":"1399336403","file3":"1399336400"},"map_files_photo_id_array":[{"photo_id":"1399336403","filename":"file5"},{"photo_id":"1399336399","filename":"file2"},{"photo_id":"1399336401","filename":"file4"},{"photo_id":"1399336398","filename":"file1"},{"photo_id":"1399336396","filename":"file0"},{"photo_id":"1399336400","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336398":["hashtag1","hashtag2"]},{"1399336401":["hashtag1","hashtag2"]},{"1399336403":["hashtag1","hashtag2"]},{"1399336396":["hashtag1","hashtag2"]},{"1399336400":["hashtag1","hashtag2"]},{"1399336399":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336398, 1399336401, 1399336403, 1399336396, 1399336400, 1399336399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53410983085632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:46:42.770329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_10_2603.jpg', '/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_13_2676.jpg', '/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_19_2510.jpg', '/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_23_3584.jpg', '/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_47_24431.jpg', '/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_49_1674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_10_2603.jpg
/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_13_2676.jpg
/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_19_2510.jpg
/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_23_3584.jpg
/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_47_24431.jpg
/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_49_1674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336410","1399336413","1399336412","1399336409","1399336408","1399336411"],"photo_ids_order":["1399336408","1399336409","1399336410","1399336411","1399336412","1399336413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a680f8f8c11fd2221c9c6fc4d4b2bc13.jpg","text":"TemporaryFile(/tmp/multipartBody20635767925050701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698463452,"filename":"image_04112025_12_24_19_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/17a5962f8494e22c047d391d2fb86b84.jpg","text":"TemporaryFile(/tmp/multipartBody1734729750100654004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698463452,"filename":"image_04112025_12_24_49_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/150fe3c6d277afdc810cee4d51cae2f1.jpg","text":"TemporaryFile(/tmp/multipartBody2285674207977386169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698463452,"filename":"image_04112025_12_24_47_24431.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/322142163655edd5b316ea524158215a.jpg","text":"TemporaryFile(/tmp/multipartBody3639231167841069731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698463452,"filename":"image_04112025_12_24_13_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/914c16c9a99f78fdc8b01a6a53956897.jpg","text":"TemporaryFile(/tmp/multipartBody238969231207880097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698463452,"filename":"image_04112025_12_24_10_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/129817350b9c85f898a6376c65911b4f.jpg","text":"TemporaryFile(/tmp/multipartBody7428916926428517269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698463452,"filename":"image_04112025_12_24_23_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336410","file1":"1399336409","file0":"1399336408","file4":"1399336412","file5":"1399336413","file3":"1399336411"},"map_files_photo_id_array":[{"photo_id":"1399336413","filename":"file5"},{"photo_id":"1399336410","filename":"file2"},{"photo_id":"1399336412","filename":"file4"},{"photo_id":"1399336409","filename":"file1"},{"photo_id":"1399336408","filename":"file0"},{"photo_id":"1399336411","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336410":["hashtag1","hashtag2"]},{"1399336413":["hashtag1","hashtag2"]},{"1399336412":["hashtag1","hashtag2"]},{"1399336409":["hashtag1","hashtag2"]},{"1399336408":["hashtag1","hashtag2"]},{"1399336411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336410, 1399336413, 1399336412, 1399336409, 1399336408, 1399336411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34678244590759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:47:31.964712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:47:41.952274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_53_4164.jpg', '/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_55_1625.jpg', '/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_56_1651.jpg', '/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_58_1596.jpg', '/home/pi/Desktop/images/04112025/12/24/image_04112025_12_25_00_1718.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_01_1551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_53_4164.jpg
/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_55_1625.jpg
/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_56_1651.jpg
/home/pi/Desktop/images/04112025/12/24/image_04112025_12_24_58_1596.jpg
/home/pi/Desktop/images/04112025/12/24/image_04112025_12_25_00_1718.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_01_1551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336431","1399336419","1399336434","1399336433","1399336432","1399336420"],"photo_ids_order":["1399336419","1399336420","1399336431","1399336432","1399336433","1399336434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/834e383bec2d0b3fbae7c5199138d8b9.jpg","text":"TemporaryFile(/tmp/multipartBody5295505270483871654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698522638,"filename":"image_04112025_12_24_56_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/daa51a34c418b1633806b384bfdd9e9b.jpg","text":"TemporaryFile(/tmp/multipartBody966372548579380639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698522638,"filename":"image_04112025_12_24_53_4164.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/814a1cdf41173e17b8425db82a27cb24.jpg","text":"TemporaryFile(/tmp/multipartBody1795259107669339770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698522638,"filename":"image_04112025_12_25_01_1551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/12a0c2c1fd390466d16080770ab0bbef.jpg","text":"TemporaryFile(/tmp/multipartBody4256703954232434035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698522638,"filename":"image_04112025_12_25_00_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/de28f95e97ae4bfca3ab4680a1f2648a.jpg","text":"TemporaryFile(/tmp/multipartBody1023078104095699740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698522638,"filename":"image_04112025_12_24_58_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e93d3090a7ffcd2250132344126f2bdb.jpg","text":"TemporaryFile(/tmp/multipartBody4217948062260721555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698522638,"filename":"image_04112025_12_24_55_1625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336431","file1":"1399336420","file0":"1399336419","file4":"1399336433","file5":"1399336434","file3":"1399336432"},"map_files_photo_id_array":[{"photo_id":"1399336434","filename":"file5"},{"photo_id":"1399336431","filename":"file2"},{"photo_id":"1399336433","filename":"file4"},{"photo_id":"1399336420","filename":"file1"},{"photo_id":"1399336419","filename":"file0"},{"photo_id":"1399336432","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336431":["hashtag1","hashtag2"]},{"1399336419":["hashtag1","hashtag2"]},{"1399336434":["hashtag1","hashtag2"]},{"1399336433":["hashtag1","hashtag2"]},{"1399336432":["hashtag1","hashtag2"]},{"1399336420":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336431, 1399336419, 1399336434, 1399336433, 1399336432, 1399336420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.574684381484985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:48:22.180099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/28/image_14122025_08_28_15_9715.jpg', '/home/pi/Desktop/images/14122025/08/28/image_14122025_08_28_24_9802.jpg', '/home/pi/Desktop/images/14122025/08/28/image_14122025_08_28_35_10743.jpg', '/home/pi/Desktop/images/14122025/08/28/image_14122025_08_28_45_9584.jpg', '/home/pi/Desktop/images/14122025/08/28/image_14122025_08_28_55_9881.jpg', '/home/pi/Desktop/images/14122025/08/28/image_14122025_08_29_04_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/28/image_14122025_08_28_15_9715.jpg
/home/pi/Desktop/images/14122025/08/28/image_14122025_08_28_24_9802.jpg
/home/pi/Desktop/images/14122025/08/28/image_14122025_08_28_35_10743.jpg
/home/pi/Desktop/images/14122025/08/28/image_14122025_08_28_45_9584.jpg
/home/pi/Desktop/images/14122025/08/28/image_14122025_08_28_55_9881.jpg
/home/pi/Desktop/images/14122025/08/28/image_14122025_08_29_04_9759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336446","1399336440","1399336442","1399336436","1399336435","1399336438"],"photo_ids_order":["1399336435","1399336436","1399336438","1399336440","1399336442","1399336446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76c7e4d08a208f44fbf70fe31ebb7f64.jpg","text":"TemporaryFile(/tmp/multipartBody459732325812321527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698562810,"filename":"image_14122025_08_29_04_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f38f33a75d600ae445690f9ab70f2365.jpg","text":"TemporaryFile(/tmp/multipartBody7215900433248656512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698562810,"filename":"image_14122025_08_28_45_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7e43ff7184edc53b711a3ed85077fa19.jpg","text":"TemporaryFile(/tmp/multipartBody6711401531342028640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698562810,"filename":"image_14122025_08_28_55_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/413174badd64835acb31d46b678e8576.jpg","text":"TemporaryFile(/tmp/multipartBody890721516182609950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698562810,"filename":"image_14122025_08_28_24_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b2da99bda7ae201c9d12e3bc8fb04666.jpg","text":"TemporaryFile(/tmp/multipartBody1123883596316141890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698562810,"filename":"image_14122025_08_28_15_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e8ddcf656ab4d2f2724126ce7d6e6dd4.jpg","text":"TemporaryFile(/tmp/multipartBody149585254097304825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698562810,"filename":"image_14122025_08_28_35_10743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336438","file1":"1399336436","file0":"1399336435","file4":"1399336442","file5":"1399336446","file3":"1399336440"},"map_files_photo_id_array":[{"photo_id":"1399336446","filename":"file5"},{"photo_id":"1399336438","filename":"file2"},{"photo_id":"1399336442","filename":"file4"},{"photo_id":"1399336436","filename":"file1"},{"photo_id":"1399336435","filename":"file0"},{"photo_id":"1399336440","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336446":["hashtag1","hashtag2"]},{"1399336440":["hashtag1","hashtag2"]},{"1399336442":["hashtag1","hashtag2"]},{"1399336436":["hashtag1","hashtag2"]},{"1399336435":["hashtag1","hashtag2"]},{"1399336438":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336446, 1399336440, 1399336442, 1399336436, 1399336435, 1399336438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61095380783081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:49:03.507665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/29/image_14122025_08_29_25_9607.jpg', '/home/pi/Desktop/images/14122025/08/29/image_14122025_08_29_34_9662.jpg', '/home/pi/Desktop/images/14122025/08/29/image_14122025_08_29_45_10691.jpg', '/home/pi/Desktop/images/14122025/08/29/image_14122025_08_29_55_9720.jpg', '/home/pi/Desktop/images/14122025/08/30/image_14122025_08_30_15_10056.jpg', '/home/pi/Desktop/images/14122025/08/30/image_14122025_08_30_25_10746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/29/image_14122025_08_29_25_9607.jpg
/home/pi/Desktop/images/14122025/08/29/image_14122025_08_29_34_9662.jpg
/home/pi/Desktop/images/14122025/08/29/image_14122025_08_29_45_10691.jpg
/home/pi/Desktop/images/14122025/08/29/image_14122025_08_29_55_9720.jpg
/home/pi/Desktop/images/14122025/08/30/image_14122025_08_30_15_10056.jpg
/home/pi/Desktop/images/14122025/08/30/image_14122025_08_30_25_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":["1399336461","1399336455","1399336457","1399336459","1399336453","1399336456"],"photo_ids_order":["1399336453","1399336455","1399336456","1399336457","1399336459","1399336461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2e5131f8aa77540d3a1fcabd67edd079.jpg","text":"TemporaryFile(/tmp/multipartBody4774095000646157270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698604315,"filename":"image_14122025_08_30_25_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c2c408c7980651bbba1577dc7f5fe1c3.jpg","text":"TemporaryFile(/tmp/multipartBody1342951267430707378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698604315,"filename":"image_14122025_08_29_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/12/14/6b448bd73de5dbedc0e505c65a19385e.jpg","text":"TemporaryFile(/tmp/multipartBody1708788725703163301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698604315,"filename":"image_14122025_08_29_55_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe75737d35d71a2bfc5c6ca2a2e6557e.jpg","text":"TemporaryFile(/tmp/multipartBody4077924804526711971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698604315,"filename":"image_14122025_08_30_15_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4799bd2fff2d6b8715210522c5fd866f.jpg","text":"TemporaryFile(/tmp/multipartBody1862493030561626252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698604315,"filename":"image_14122025_08_29_25_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/773c0197a8f634273a936a3ca2d4c3a9.jpg","text":"TemporaryFile(/tmp/multipartBody6761144283817694522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698604315,"filename":"image_14122025_08_29_45_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336456","file1":"1399336455","file0":"1399336453","file4":"1399336459","file5":"1399336461","file3":"1399336457"},"map_files_photo_id_array":[{"photo_id":"1399336461","filename":"file5"},{"photo_id":"1399336456","filename":"file2"},{"photo_id":"1399336459","filename":"file4"},{"photo_id":"1399336455","filename":"file1"},{"photo_id":"1399336453","filename":"file0"},{"photo_id":"1399336457","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336461":["hashtag1","hashtag2"]},{"1399336455":["hashtag1","hashtag2"]},{"1399336457":["hashtag1","hashtag2"]},{"1399336459":["hashtag1","hashtag2"]},{"1399336453":["hashtag1","hashtag2"]},{"1399336456":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336461, 1399336455, 1399336457, 1399336459, 1399336453, 1399336456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.548118114471436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:50:03.042868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/30/image_14122025_08_30_35_9648.jpg', '/home/pi/Desktop/images/14122025/08/30/image_14122025_08_30_45_9667.jpg', '/home/pi/Desktop/images/14122025/08/30/image_14122025_08_30_55_10650.jpg', '/home/pi/Desktop/images/14122025/08/30/image_14122025_08_31_05_9887.jpg', '/home/pi/Desktop/images/14122025/08/31/image_14122025_08_31_15_9846.jpg', '/home/pi/Desktop/images/14122025/08/31/image_14122025_08_31_25_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/30/image_14122025_08_30_35_9648.jpg
/home/pi/Desktop/images/14122025/08/30/image_14122025_08_30_45_9667.jpg
/home/pi/Desktop/images/14122025/08/30/image_14122025_08_30_55_10650.jpg
/home/pi/Desktop/images/14122025/08/30/image_14122025_08_31_05_9887.jpg
/home/pi/Desktop/images/14122025/08/31/image_14122025_08_31_15_9846.jpg
/home/pi/Desktop/images/14122025/08/31/image_14122025_08_31_25_9601.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5355587005615234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:50:12.655902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:50:22.685791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/30/image_14122025_08_30_35_9648.jpg', '/home/pi/Desktop/images/14122025/08/30/image_14122025_08_30_45_9667.jpg', '/home/pi/Desktop/images/14122025/08/30/image_14122025_08_30_55_10650.jpg', '/home/pi/Desktop/images/14122025/08/30/image_14122025_08_31_05_9887.jpg', '/home/pi/Desktop/images/14122025/08/31/image_14122025_08_31_15_9846.jpg', '/home/pi/Desktop/images/14122025/08/31/image_14122025_08_31_25_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/30/image_14122025_08_30_35_9648.jpg
/home/pi/Desktop/images/14122025/08/30/image_14122025_08_30_45_9667.jpg
/home/pi/Desktop/images/14122025/08/30/image_14122025_08_30_55_10650.jpg
/home/pi/Desktop/images/14122025/08/30/image_14122025_08_31_05_9887.jpg
/home/pi/Desktop/images/14122025/08/31/image_14122025_08_31_15_9846.jpg
/home/pi/Desktop/images/14122025/08/31/image_14122025_08_31_25_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":["1399336482","1399336470","1399336475","1399336480","1399336477","1399336473"],"photo_ids_order":["1399336470","1399336473","1399336475","1399336477","1399336480","1399336482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1effa9f64676c64750b89053a2a1befc.jpg","text":"TemporaryFile(/tmp/multipartBody2149204619466744691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698683311,"filename":"image_14122025_08_31_25_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fc98bb5f9f0378347a53b206061765be.jpg","text":"TemporaryFile(/tmp/multipartBody8235708530431517021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698683311,"filename":"image_14122025_08_30_35_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e89e6a869e4ae7c2a444d649beee1de.jpg","text":"TemporaryFile(/tmp/multipartBody2975860723987136151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698683311,"filename":"image_14122025_08_30_55_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f7bf07ba3d4285680b7664da594c7c79.jpg","text":"TemporaryFile(/tmp/multipartBody3536052440888782549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698683311,"filename":"image_14122025_08_31_15_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d44b8b85fe8d9ea29f07da89d39cd16e.jpg","text":"TemporaryFile(/tmp/multipartBody3139785536481688389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698683311,"filename":"image_14122025_08_31_05_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b46b8ce2e6780ddb8212f5492398aef.jpg","text":"TemporaryFile(/tmp/multipartBody8320837741851147984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698683311,"filename":"image_14122025_08_30_45_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336475","file1":"1399336473","file0":"1399336470","file4":"1399336480","file5":"1399336482","file3":"1399336477"},"map_files_photo_id_array":[{"photo_id":"1399336482","filename":"file5"},{"photo_id":"1399336475","filename":"file2"},{"photo_id":"1399336480","filename":"file4"},{"photo_id":"1399336473","filename":"file1"},{"photo_id":"1399336470","filename":"file0"},{"photo_id":"1399336477","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336482":["hashtag1","hashtag2"]},{"1399336470":["hashtag1","hashtag2"]},{"1399336475":["hashtag1","hashtag2"]},{"1399336480":["hashtag1","hashtag2"]},{"1399336477":["hashtag1","hashtag2"]},{"1399336473":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336482, 1399336470, 1399336475, 1399336480, 1399336477, 1399336473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.018686056137085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:51:02.613766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/31/image_14122025_08_31_35_10614.jpg', '/home/pi/Desktop/images/14122025/08/31/image_14122025_08_31_45_9706.jpg', '/home/pi/Desktop/images/14122025/08/31/image_14122025_08_31_55_9711.jpg', '/home/pi/Desktop/images/14122025/08/31/image_14122025_08_32_05_10806.jpg', '/home/pi/Desktop/images/14122025/08/32/image_14122025_08_32_15_10047.jpg', '/home/pi/Desktop/images/14122025/08/32/image_14122025_08_32_25_9924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/31/image_14122025_08_31_35_10614.jpg
/home/pi/Desktop/images/14122025/08/31/image_14122025_08_31_45_9706.jpg
/home/pi/Desktop/images/14122025/08/31/image_14122025_08_31_55_9711.jpg
/home/pi/Desktop/images/14122025/08/31/image_14122025_08_32_05_10806.jpg
/home/pi/Desktop/images/14122025/08/32/image_14122025_08_32_15_10047.jpg
/home/pi/Desktop/images/14122025/08/32/image_14122025_08_32_25_9924.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336497","1399336496","1399336499","1399336493","1399336495","1399336494"],"photo_ids_order":["1399336493","1399336494","1399336495","1399336496","1399336497","1399336499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7eab7a76de3c85c8db0e5442e03b92d.jpg","text":"TemporaryFile(/tmp/multipartBody8730485922414950619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698723321,"filename":"image_14122025_08_32_15_10047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2779859eacdddceb875001f0847a46e9.jpg","text":"TemporaryFile(/tmp/multipartBody6667013548969410900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698723321,"filename":"image_14122025_08_32_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/12/14/0e00d167f8f5b5ef2e3d9e8ab23d8c52.jpg","text":"TemporaryFile(/tmp/multipartBody8904278440769563354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698723321,"filename":"image_14122025_08_32_25_9924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e4ed4874c416d91412299cf8bc547aa.jpg","text":"TemporaryFile(/tmp/multipartBody5070969645997652538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698723321,"filename":"image_14122025_08_31_35_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d336488ab4d74070b9cc75beeef1fd17.jpg","text":"TemporaryFile(/tmp/multipartBody8330455107768558645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698723321,"filename":"image_14122025_08_31_55_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3c4d3cf7c29d0ac96028f6d4c851c80d.jpg","text":"TemporaryFile(/tmp/multipartBody3635424253359757238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698723321,"filename":"image_14122025_08_31_45_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336495","file1":"1399336494","file0":"1399336493","file4":"1399336497","file5":"1399336499","file3":"1399336496"},"map_files_photo_id_array":[{"photo_id":"1399336499","filename":"file5"},{"photo_id":"1399336495","filename":"file2"},{"photo_id":"1399336497","filename":"file4"},{"photo_id":"1399336494","filename":"file1"},{"photo_id":"1399336493","filename":"file0"},{"photo_id":"1399336496","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336497":["hashtag1","hashtag2"]},{"1399336496":["hashtag1","hashtag2"]},{"1399336499":["hashtag1","hashtag2"]},{"1399336493":["hashtag1","hashtag2"]},{"1399336495":["hashtag1","hashtag2"]},{"1399336494":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336497, 1399336496, 1399336499, 1399336493, 1399336495, 1399336494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20512938499451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:51:42.006359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_03_1975.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_05_1774.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_07_1723.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_08_1540.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_12_1594.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_22_10062.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_03_1975.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_05_1774.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_07_1723.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_08_1540.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_12_1594.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_22_10062.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336509","1399336511","1399336508","1399336507","1399336510","1399336504"],"photo_ids_order":["1399336504","1399336507","1399336508","1399336509","1399336510","1399336511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d0c09ec7dea38d60aaef1daa4ebfc51.jpg","text":"TemporaryFile(/tmp/multipartBody2067569207169208633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698762702,"filename":"image_04112025_12_25_08_1540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d5de01431a7cb2ae2b1087864f0db1ea.jpg","text":"TemporaryFile(/tmp/multipartBody6195658444676108180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698762702,"filename":"image_04112025_12_25_22_10062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d59799539273b25f09de187c82babb4c.jpg","text":"TemporaryFile(/tmp/multipartBody2365945826693054460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698762702,"filename":"image_04112025_12_25_07_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f8c701f877c7a71a9c2fe1a329e57572.jpg","text":"TemporaryFile(/tmp/multipartBody7010640995884804979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698762702,"filename":"image_04112025_12_25_05_1774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0cc056edc699b1cbb54b1624a73fcd91.jpg","text":"TemporaryFile(/tmp/multipartBody9031134421598427788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698762702,"filename":"image_04112025_12_25_12_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9b472bec2cad8cc695fbac0a7f0083d9.jpg","text":"TemporaryFile(/tmp/multipartBody1725694013686553297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698762702,"filename":"image_04112025_12_25_03_1975.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336508","file1":"1399336507","file0":"1399336504","file4":"1399336510","file5":"1399336511","file3":"1399336509"},"map_files_photo_id_array":[{"photo_id":"1399336511","filename":"file5"},{"photo_id":"1399336508","filename":"file2"},{"photo_id":"1399336510","filename":"file4"},{"photo_id":"1399336507","filename":"file1"},{"photo_id":"1399336504","filename":"file0"},{"photo_id":"1399336509","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336509":["hashtag1","hashtag2"]},{"1399336511":["hashtag1","hashtag2"]},{"1399336508":["hashtag1","hashtag2"]},{"1399336507":["hashtag1","hashtag2"]},{"1399336510":["hashtag1","hashtag2"]},{"1399336504":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336509, 1399336511, 1399336508, 1399336507, 1399336510, 1399336504)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.02629232406616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:52:32.224342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:52:42.231655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_23_1582.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_25_1570.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_26_1501.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_28_1578.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_35_7629.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_37_1740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_23_1582.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_25_1570.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_26_1501.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_28_1578.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_35_7629.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_37_1740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336521","1399336518","1399336515","1399336517","1399336519","1399336516"],"photo_ids_order":["1399336515","1399336516","1399336517","1399336518","1399336519","1399336521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4639970058b9a9b15c65d409a0d2ec6a.jpg","text":"TemporaryFile(/tmp/multipartBody4561062104384747097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698825767,"filename":"image_04112025_12_25_37_1740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a7bec7d342bfc96c2f0c5879e45be4f5.jpg","text":"TemporaryFile(/tmp/multipartBody1170493541290959867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698825767,"filename":"image_04112025_12_25_28_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f7d3178e4448d3af41a865323da002a.jpg","text":"TemporaryFile(/tmp/multipartBody7669430108545346414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698825767,"filename":"image_04112025_12_25_23_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e17c82d1116ee42ca15c4eb5c6d0747.jpg","text":"TemporaryFile(/tmp/multipartBody6465249675283684954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698825767,"filename":"image_04112025_12_25_26_1501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2143f73a703d8befa4e17a7b8bdb1d5.jpg","text":"TemporaryFile(/tmp/multipartBody5468811503994827990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698825767,"filename":"image_04112025_12_25_35_7629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6984f638a20dcea7954e5c51a16dbc6a.jpg","text":"TemporaryFile(/tmp/multipartBody9171133827304286825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698825767,"filename":"image_04112025_12_25_25_1570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336517","file1":"1399336516","file0":"1399336515","file4":"1399336519","file5":"1399336521","file3":"1399336518"},"map_files_photo_id_array":[{"photo_id":"1399336521","filename":"file5"},{"photo_id":"1399336517","filename":"file2"},{"photo_id":"1399336519","filename":"file4"},{"photo_id":"1399336516","filename":"file1"},{"photo_id":"1399336515","filename":"file0"},{"photo_id":"1399336518","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336521":["hashtag1","hashtag2"]},{"1399336518":["hashtag1","hashtag2"]},{"1399336515":["hashtag1","hashtag2"]},{"1399336517":["hashtag1","hashtag2"]},{"1399336519":["hashtag1","hashtag2"]},{"1399336516":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336521, 1399336518, 1399336515, 1399336517, 1399336519, 1399336516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36674976348877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:53:22.459719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/32/image_14122025_08_32_35_9664.jpg', '/home/pi/Desktop/images/14122025/08/32/image_14122025_08_32_45_9711.jpg', '/home/pi/Desktop/images/14122025/08/32/image_14122025_08_32_55_10604.jpg', '/home/pi/Desktop/images/14122025/08/32/image_14122025_08_33_05_9780.jpg', '/home/pi/Desktop/images/14122025/08/33/image_14122025_08_33_15_9765.jpg', '/home/pi/Desktop/images/14122025/08/33/image_14122025_08_33_25_9914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/32/image_14122025_08_32_35_9664.jpg
/home/pi/Desktop/images/14122025/08/32/image_14122025_08_32_45_9711.jpg
/home/pi/Desktop/images/14122025/08/32/image_14122025_08_32_55_10604.jpg
/home/pi/Desktop/images/14122025/08/32/image_14122025_08_33_05_9780.jpg
/home/pi/Desktop/images/14122025/08/33/image_14122025_08_33_15_9765.jpg
/home/pi/Desktop/images/14122025/08/33/image_14122025_08_33_25_9914.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336530","1399336524","1399336532","1399336523","1399336526","1399336528"],"photo_ids_order":["1399336523","1399336524","1399336526","1399336528","1399336530","1399336532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2c5a5dc3d85727618c30e8d77245dae.jpg","text":"TemporaryFile(/tmp/multipartBody5314403347851342007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698863083,"filename":"image_14122025_08_33_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/12/14/c1f2f18048829b3a265c1f1e401b8218.jpg","text":"TemporaryFile(/tmp/multipartBody7151589843822848670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698863083,"filename":"image_14122025_08_32_45_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bcbf85b0b488e03c0885d8df4213632a.jpg","text":"TemporaryFile(/tmp/multipartBody1116569336571779937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698863083,"filename":"image_14122025_08_33_25_9914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ac6a37dd5f46fda6efbaf1d1222408ee.jpg","text":"TemporaryFile(/tmp/multipartBody5369642816160051282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698863083,"filename":"image_14122025_08_32_35_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a603c5a5d54b4690fc1d671c7d71b49a.jpg","text":"TemporaryFile(/tmp/multipartBody4161919671989707696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698863083,"filename":"image_14122025_08_32_55_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/926a432db7204f4aa3e7821713eb51b8.jpg","text":"TemporaryFile(/tmp/multipartBody7013941804704010699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698863083,"filename":"image_14122025_08_33_05_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336526","file1":"1399336524","file0":"1399336523","file4":"1399336530","file5":"1399336532","file3":"1399336528"},"map_files_photo_id_array":[{"photo_id":"1399336532","filename":"file5"},{"photo_id":"1399336526","filename":"file2"},{"photo_id":"1399336530","filename":"file4"},{"photo_id":"1399336524","filename":"file1"},{"photo_id":"1399336523","filename":"file0"},{"photo_id":"1399336528","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336530":["hashtag1","hashtag2"]},{"1399336524":["hashtag1","hashtag2"]},{"1399336532":["hashtag1","hashtag2"]},{"1399336523":["hashtag1","hashtag2"]},{"1399336526":["hashtag1","hashtag2"]},{"1399336528":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336530, 1399336524, 1399336532, 1399336523, 1399336526, 1399336528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72607707977295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:54:03.372092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/33/image_14122025_08_33_45_10750.jpg', '/home/pi/Desktop/images/14122025/08/33/image_14122025_08_33_55_9623.jpg', '/home/pi/Desktop/images/14122025/08/33/image_14122025_08_34_05_9725.jpg', '/home/pi/Desktop/images/14122025/08/34/image_14122025_08_34_15_10652.jpg', '/home/pi/Desktop/images/14122025/08/34/image_14122025_08_34_25_9719.jpg', '/home/pi/Desktop/images/14122025/08/34/image_14122025_08_34_35_9555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/33/image_14122025_08_33_45_10750.jpg
/home/pi/Desktop/images/14122025/08/33/image_14122025_08_33_55_9623.jpg
/home/pi/Desktop/images/14122025/08/33/image_14122025_08_34_05_9725.jpg
/home/pi/Desktop/images/14122025/08/34/image_14122025_08_34_15_10652.jpg
/home/pi/Desktop/images/14122025/08/34/image_14122025_08_34_25_9719.jpg
/home/pi/Desktop/images/14122025/08/34/image_14122025_08_34_35_9555.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5684638023376465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:54:12.604946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 08:54:22.667731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/33/image_14122025_08_33_45_10750.jpg', '/home/pi/Desktop/images/14122025/08/33/image_14122025_08_33_55_9623.jpg', '/home/pi/Desktop/images/14122025/08/33/image_14122025_08_34_05_9725.jpg', '/home/pi/Desktop/images/14122025/08/34/image_14122025_08_34_15_10652.jpg', '/home/pi/Desktop/images/14122025/08/34/image_14122025_08_34_25_9719.jpg', '/home/pi/Desktop/images/14122025/08/34/image_14122025_08_34_35_9555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/33/image_14122025_08_33_45_10750.jpg
/home/pi/Desktop/images/14122025/08/33/image_14122025_08_33_55_9623.jpg
/home/pi/Desktop/images/14122025/08/33/image_14122025_08_34_05_9725.jpg
/home/pi/Desktop/images/14122025/08/34/image_14122025_08_34_15_10652.jpg
/home/pi/Desktop/images/14122025/08/34/image_14122025_08_34_25_9719.jpg
/home/pi/Desktop/images/14122025/08/34/image_14122025_08_34_35_9555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336551","1399336559","1399336553","1399336547","1399336556","1399336549"],"photo_ids_order":["1399336547","1399336549","1399336551","1399336553","1399336556","1399336559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/849f6cde1eb2b753b07def33ff168e12.jpg","text":"TemporaryFile(/tmp/multipartBody5659816634757503285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698923292,"filename":"image_14122025_08_34_05_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/35dfc1eb5f3db3c7d25b312f8a0d19db.jpg","text":"TemporaryFile(/tmp/multipartBody735048474663496706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698923292,"filename":"image_14122025_08_34_35_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/836ea474a60957d5d9459216e393e645.jpg","text":"TemporaryFile(/tmp/multipartBody3924024996851090666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698923292,"filename":"image_14122025_08_34_15_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7efb8b0f5597e40cb81760ed9937e415.jpg","text":"TemporaryFile(/tmp/multipartBody3768016930218910680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698923292,"filename":"image_14122025_08_33_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/12/14/8c427dfe83dafaccc50fbbd315edd0b6.jpg","text":"TemporaryFile(/tmp/multipartBody7758157140341748624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698923292,"filename":"image_14122025_08_34_25_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e0b413b72ab0a0ab4492dba15c10e170.jpg","text":"TemporaryFile(/tmp/multipartBody6239268853722141305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698923292,"filename":"image_14122025_08_33_55_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336551","file1":"1399336549","file0":"1399336547","file4":"1399336556","file5":"1399336559","file3":"1399336553"},"map_files_photo_id_array":[{"photo_id":"1399336559","filename":"file5"},{"photo_id":"1399336551","filename":"file2"},{"photo_id":"1399336556","filename":"file4"},{"photo_id":"1399336549","filename":"file1"},{"photo_id":"1399336547","filename":"file0"},{"photo_id":"1399336553","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336551":["hashtag1","hashtag2"]},{"1399336559":["hashtag1","hashtag2"]},{"1399336553":["hashtag1","hashtag2"]},{"1399336547":["hashtag1","hashtag2"]},{"1399336556":["hashtag1","hashtag2"]},{"1399336549":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336551, 1399336559, 1399336553, 1399336547, 1399336556, 1399336549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.428136348724365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:55:02.675918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/34/image_14122025_08_34_45_10713.jpg', '/home/pi/Desktop/images/14122025/08/34/image_14122025_08_34_55_9598.jpg', '/home/pi/Desktop/images/14122025/08/34/image_14122025_08_35_05_9822.jpg', '/home/pi/Desktop/images/14122025/08/35/image_14122025_08_35_15_9756.jpg', '/home/pi/Desktop/images/14122025/08/35/image_14122025_08_35_25_10635.jpg', '/home/pi/Desktop/images/14122025/08/35/image_14122025_08_35_35_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/34/image_14122025_08_34_45_10713.jpg
/home/pi/Desktop/images/14122025/08/34/image_14122025_08_34_55_9598.jpg
/home/pi/Desktop/images/14122025/08/34/image_14122025_08_35_05_9822.jpg
/home/pi/Desktop/images/14122025/08/35/image_14122025_08_35_15_9756.jpg
/home/pi/Desktop/images/14122025/08/35/image_14122025_08_35_25_10635.jpg
/home/pi/Desktop/images/14122025/08/35/image_14122025_08_35_35_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":["1399336560","1399336563","1399336562","1399336561","1399336564","1399336566"],"photo_ids_order":["1399336560","1399336561","1399336562","1399336563","1399336564","1399336566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0a06917f2c7aafce7ff89033a3da9241.jpg","text":"TemporaryFile(/tmp/multipartBody8818913990857748246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698963347,"filename":"image_14122025_08_34_45_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5eb8e60b3953551ea351aa112d105175.jpg","text":"TemporaryFile(/tmp/multipartBody105790664630191313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698963347,"filename":"image_14122025_08_35_15_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/45e9485a0c3ede0368f350b4db2c4f9f.jpg","text":"TemporaryFile(/tmp/multipartBody3935598253614558109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698963347,"filename":"image_14122025_08_35_05_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b633fcaddeac5d0478896372fa58d89.jpg","text":"TemporaryFile(/tmp/multipartBody685583253710699847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698963347,"filename":"image_14122025_08_34_55_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f3ed9dcdca4a85422baaa694250666a.jpg","text":"TemporaryFile(/tmp/multipartBody9039715247254528489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698963347,"filename":"image_14122025_08_35_25_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f088027b939153e25ff7e5bed0346402.jpg","text":"TemporaryFile(/tmp/multipartBody1251749448247176434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765698963347,"filename":"image_14122025_08_35_35_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336562","file1":"1399336561","file0":"1399336560","file4":"1399336564","file5":"1399336566","file3":"1399336563"},"map_files_photo_id_array":[{"photo_id":"1399336566","filename":"file5"},{"photo_id":"1399336562","filename":"file2"},{"photo_id":"1399336564","filename":"file4"},{"photo_id":"1399336561","filename":"file1"},{"photo_id":"1399336560","filename":"file0"},{"photo_id":"1399336563","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336560":["hashtag1","hashtag2"]},{"1399336563":["hashtag1","hashtag2"]},{"1399336562":["hashtag1","hashtag2"]},{"1399336561":["hashtag1","hashtag2"]},{"1399336564":["hashtag1","hashtag2"]},{"1399336566":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336560, 1399336563, 1399336562, 1399336561, 1399336564, 1399336566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58923649787903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:55:41.943435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_39_1745.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_41_1809.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_42_1539.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_44_1719.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_46_1635.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_47_1622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_39_1745.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_41_1809.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_42_1539.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_44_1719.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_46_1635.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_47_1622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336575","1399336578","1399336577","1399336571","1399336574","1399336576"],"photo_ids_order":["1399336571","1399336574","1399336575","1399336576","1399336577","1399336578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6236c516d95973d89b9ecd418df6f202.jpg","text":"TemporaryFile(/tmp/multipartBody8414429016113081361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699002655,"filename":"image_04112025_12_25_42_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f6e7ac9528c9d5f29b2a5ae5c07dc7aa.jpg","text":"TemporaryFile(/tmp/multipartBody9203854288706796238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699002655,"filename":"image_04112025_12_25_47_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b9f271780d0db882062b3698e720e62.jpg","text":"TemporaryFile(/tmp/multipartBody8772636002372648953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699002655,"filename":"image_04112025_12_25_46_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/867bddc1ed90944696d9190ae4c93e99.jpg","text":"TemporaryFile(/tmp/multipartBody5316517465092638757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699002655,"filename":"image_04112025_12_25_39_1745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e02db816798c9daabc61135423b1dce8.jpg","text":"TemporaryFile(/tmp/multipartBody5623492281293372073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699002655,"filename":"image_04112025_12_25_41_1809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b021d742904ce4044306a7103425206.jpg","text":"TemporaryFile(/tmp/multipartBody6669459242032985948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699002655,"filename":"image_04112025_12_25_44_1719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336575","file1":"1399336574","file0":"1399336571","file4":"1399336577","file5":"1399336578","file3":"1399336576"},"map_files_photo_id_array":[{"photo_id":"1399336578","filename":"file5"},{"photo_id":"1399336575","filename":"file2"},{"photo_id":"1399336577","filename":"file4"},{"photo_id":"1399336574","filename":"file1"},{"photo_id":"1399336571","filename":"file0"},{"photo_id":"1399336576","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336575":["hashtag1","hashtag2"]},{"1399336578":["hashtag1","hashtag2"]},{"1399336577":["hashtag1","hashtag2"]},{"1399336571":["hashtag1","hashtag2"]},{"1399336574":["hashtag1","hashtag2"]},{"1399336576":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336575, 1399336578, 1399336577, 1399336571, 1399336574, 1399336576)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.538196086883545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 08:56:32.298326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:56:42.267712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_49_1723.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_51_1660.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_52_1721.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_55_2674.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_58_2797.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_26_02_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_49_1723.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_51_1660.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_52_1721.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_55_2674.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_58_2797.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_26_02_3696.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6272289752960205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:57:03.105465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/35/image_14122025_08_35_45_9570.jpg', '/home/pi/Desktop/images/14122025/08/35/image_14122025_08_35_55_10618.jpg', '/home/pi/Desktop/images/14122025/08/35/image_14122025_08_36_05_9679.jpg', '/home/pi/Desktop/images/14122025/08/36/image_14122025_08_36_15_9733.jpg', '/home/pi/Desktop/images/14122025/08/36/image_14122025_08_36_25_10593.jpg', '/home/pi/Desktop/images/14122025/08/36/image_14122025_08_36_55_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/35/image_14122025_08_35_45_9570.jpg
/home/pi/Desktop/images/14122025/08/35/image_14122025_08_35_55_10618.jpg
/home/pi/Desktop/images/14122025/08/35/image_14122025_08_36_05_9679.jpg
/home/pi/Desktop/images/14122025/08/36/image_14122025_08_36_15_9733.jpg
/home/pi/Desktop/images/14122025/08/36/image_14122025_08_36_25_10593.jpg
/home/pi/Desktop/images/14122025/08/36/image_14122025_08_36_55_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":["1399336596","1399336595","1399336598","1399336594","1399336597","1399336600"],"photo_ids_order":["1399336594","1399336595","1399336596","1399336597","1399336598","1399336600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b763bee33fe3e70a9d5aa16c002d330.jpg","text":"TemporaryFile(/tmp/multipartBody2347551532022292619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699084253,"filename":"image_14122025_08_36_05_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cac9cf456e87cfc60b4507088458bb49.jpg","text":"TemporaryFile(/tmp/multipartBody1308885275397938324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699084253,"filename":"image_14122025_08_35_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/12/14/a1dbdd20e9522e619ee0dc724ee8c52c.jpg","text":"TemporaryFile(/tmp/multipartBody4736451974437002829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699084253,"filename":"image_14122025_08_36_25_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c4570eb938238b445d7c0bbc4da0d4d6.jpg","text":"TemporaryFile(/tmp/multipartBody6977139315343236705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699084253,"filename":"image_14122025_08_35_45_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1ed26148bc26991cbc0ffb28d4fbe41.jpg","text":"TemporaryFile(/tmp/multipartBody8685465799670217463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699084253,"filename":"image_14122025_08_36_15_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/421965372d9a77a299bb140e2048c3e4.jpg","text":"TemporaryFile(/tmp/multipartBody3412529400638060373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699084253,"filename":"image_14122025_08_36_55_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336596","file1":"1399336595","file0":"1399336594","file4":"1399336598","file5":"1399336600","file3":"1399336597"},"map_files_photo_id_array":[{"photo_id":"1399336600","filename":"file5"},{"photo_id":"1399336596","filename":"file2"},{"photo_id":"1399336598","filename":"file4"},{"photo_id":"1399336595","filename":"file1"},{"photo_id":"1399336594","filename":"file0"},{"photo_id":"1399336597","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336596":["hashtag1","hashtag2"]},{"1399336595":["hashtag1","hashtag2"]},{"1399336598":["hashtag1","hashtag2"]},{"1399336594":["hashtag1","hashtag2"]},{"1399336597":["hashtag1","hashtag2"]},{"1399336600":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336596, 1399336595, 1399336598, 1399336594, 1399336597, 1399336600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35227847099304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 08:57:42.506915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_49_1723.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_51_1660.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_52_1721.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_55_2674.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_58_2797.jpg', '/home/pi/Desktop/images/04112025/12/25/image_04112025_12_26_02_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_49_1723.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_51_1660.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_52_1721.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_55_2674.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_25_58_2797.jpg
/home/pi/Desktop/images/04112025/12/25/image_04112025_12_26_02_3696.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336608","1399336610","1399336604","1399336607","1399336606","1399336609"],"photo_ids_order":["1399336604","1399336606","1399336607","1399336608","1399336609","1399336610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14561e584a18c369d1d0f0f901799cf6.jpg","text":"TemporaryFile(/tmp/multipartBody301417882233261682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699123094,"filename":"image_04112025_12_25_55_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/93942068c0e9819e6ded8e5fbfe4e19e.jpg","text":"TemporaryFile(/tmp/multipartBody497297835847316446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699123094,"filename":"image_04112025_12_26_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/12/14/1fab127c30fc0d98f523b7db0c323a72.jpg","text":"TemporaryFile(/tmp/multipartBody7997321953638942814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699123094,"filename":"image_04112025_12_25_49_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0808f7c57b4d775f05643b42680b29ac.jpg","text":"TemporaryFile(/tmp/multipartBody2952397523605876486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699123094,"filename":"image_04112025_12_25_52_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f0f4c812c878965fe11cbbfd34e85cf.jpg","text":"TemporaryFile(/tmp/multipartBody2462278432851600110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699123094,"filename":"image_04112025_12_25_51_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fc9b83a4fd9baa0b82258c3f4682c5ab.jpg","text":"TemporaryFile(/tmp/multipartBody2394530877412886030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699123094,"filename":"image_04112025_12_25_58_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336607","file1":"1399336606","file0":"1399336604","file4":"1399336609","file5":"1399336610","file3":"1399336608"},"map_files_photo_id_array":[{"photo_id":"1399336610","filename":"file5"},{"photo_id":"1399336607","filename":"file2"},{"photo_id":"1399336609","filename":"file4"},{"photo_id":"1399336606","filename":"file1"},{"photo_id":"1399336604","filename":"file0"},{"photo_id":"1399336608","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336608":["hashtag1","hashtag2"]},{"1399336610":["hashtag1","hashtag2"]},{"1399336604":["hashtag1","hashtag2"]},{"1399336607":["hashtag1","hashtag2"]},{"1399336606":["hashtag1","hashtag2"]},{"1399336609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336608, 1399336610, 1399336604, 1399336607, 1399336606, 1399336609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46503448486328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 08:59:02.908723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/36/image_14122025_08_37_05_9675.jpg', '/home/pi/Desktop/images/14122025/08/37/image_14122025_08_37_15_10642.jpg', '/home/pi/Desktop/images/14122025/08/37/image_14122025_08_37_25_9702.jpg', '/home/pi/Desktop/images/14122025/08/37/image_14122025_08_37_35_9813.jpg', '/home/pi/Desktop/images/14122025/08/37/image_14122025_08_37_45_9768.jpg', '/home/pi/Desktop/images/14122025/08/37/image_14122025_08_37_55_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/36/image_14122025_08_37_05_9675.jpg
/home/pi/Desktop/images/14122025/08/37/image_14122025_08_37_15_10642.jpg
/home/pi/Desktop/images/14122025/08/37/image_14122025_08_37_25_9702.jpg
/home/pi/Desktop/images/14122025/08/37/image_14122025_08_37_35_9813.jpg
/home/pi/Desktop/images/14122025/08/37/image_14122025_08_37_45_9768.jpg
/home/pi/Desktop/images/14122025/08/37/image_14122025_08_37_55_9787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336620","1399336611","1399336614","1399336622","1399336616","1399336618"],"photo_ids_order":["1399336611","1399336614","1399336616","1399336618","1399336620","1399336622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/30282310977777497824173da0c24ea9.jpg","text":"TemporaryFile(/tmp/multipartBody8882563825170139323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699203718,"filename":"image_14122025_08_37_45_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ebcedf9ec3a40d2c01905ccfdb4d3fb.jpg","text":"TemporaryFile(/tmp/multipartBody8524878845863126258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699203718,"filename":"image_14122025_08_37_05_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/85f37b4315fc2439fc9a10b8c76c2813.jpg","text":"TemporaryFile(/tmp/multipartBody6300915275657949712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699203718,"filename":"image_14122025_08_37_15_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0abda82e25c05957eda7ad41ddb37a21.jpg","text":"TemporaryFile(/tmp/multipartBody9182414240878671419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699203718,"filename":"image_14122025_08_37_55_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7f7a87f00ef83e4e07c9528734d5145.jpg","text":"TemporaryFile(/tmp/multipartBody2009925574260943370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699203718,"filename":"image_14122025_08_37_25_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/05c854156044a8ebec7dd5a41ed076f0.jpg","text":"TemporaryFile(/tmp/multipartBody8825196060896083711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699203718,"filename":"image_14122025_08_37_35_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336616","file1":"1399336614","file0":"1399336611","file4":"1399336620","file5":"1399336622","file3":"1399336618"},"map_files_photo_id_array":[{"photo_id":"1399336622","filename":"file5"},{"photo_id":"1399336616","filename":"file2"},{"photo_id":"1399336620","filename":"file4"},{"photo_id":"1399336614","filename":"file1"},{"photo_id":"1399336611","filename":"file0"},{"photo_id":"1399336618","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336620":["hashtag1","hashtag2"]},{"1399336611":["hashtag1","hashtag2"]},{"1399336614":["hashtag1","hashtag2"]},{"1399336622":["hashtag1","hashtag2"]},{"1399336616":["hashtag1","hashtag2"]},{"1399336618":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336620, 1399336611, 1399336614, 1399336622, 1399336616, 1399336618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.161624908447266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:00:02.628743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/37/image_14122025_08_38_05_10629.jpg', '/home/pi/Desktop/images/14122025/08/38/image_14122025_08_38_25_9784.jpg', '/home/pi/Desktop/images/14122025/08/38/image_14122025_08_38_35_10729.jpg', '/home/pi/Desktop/images/14122025/08/38/image_14122025_08_38_45_9722.jpg', '/home/pi/Desktop/images/14122025/08/38/image_14122025_08_38_55_9824.jpg', '/home/pi/Desktop/images/14122025/08/38/image_14122025_08_39_05_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/37/image_14122025_08_38_05_10629.jpg
/home/pi/Desktop/images/14122025/08/38/image_14122025_08_38_25_9784.jpg
/home/pi/Desktop/images/14122025/08/38/image_14122025_08_38_35_10729.jpg
/home/pi/Desktop/images/14122025/08/38/image_14122025_08_38_45_9722.jpg
/home/pi/Desktop/images/14122025/08/38/image_14122025_08_38_55_9824.jpg
/home/pi/Desktop/images/14122025/08/38/image_14122025_08_39_05_9796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336629","1399336631","1399336628","1399336637","1399336639","1399336633"],"photo_ids_order":["1399336628","1399336629","1399336631","1399336633","1399336637","1399336639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a180350aaa43a1a7421976e5d030d6f3.jpg","text":"TemporaryFile(/tmp/multipartBody73367245656962155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699263264,"filename":"image_14122025_08_38_25_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5cd86815523e4658c5b0c2740b018766.jpg","text":"TemporaryFile(/tmp/multipartBody3689188619171892690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699263264,"filename":"image_14122025_08_38_35_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e1827575f10fe514bb3ef3a586f8529.jpg","text":"TemporaryFile(/tmp/multipartBody4336465151402748654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699263264,"filename":"image_14122025_08_38_05_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb6c93d5789696356cfd311f88a91ece.jpg","text":"TemporaryFile(/tmp/multipartBody2706944829088594303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699263264,"filename":"image_14122025_08_38_55_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba48ff59018723c476c7a43e056b909c.jpg","text":"TemporaryFile(/tmp/multipartBody1251592303533138789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699263264,"filename":"image_14122025_08_39_05_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f6457129e7ef28ada3d2a38a9bb56768.jpg","text":"TemporaryFile(/tmp/multipartBody2012262466357843422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699263264,"filename":"image_14122025_08_38_45_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336631","file1":"1399336629","file0":"1399336628","file4":"1399336637","file5":"1399336639","file3":"1399336633"},"map_files_photo_id_array":[{"photo_id":"1399336639","filename":"file5"},{"photo_id":"1399336631","filename":"file2"},{"photo_id":"1399336637","filename":"file4"},{"photo_id":"1399336629","filename":"file1"},{"photo_id":"1399336628","filename":"file0"},{"photo_id":"1399336633","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336629":["hashtag1","hashtag2"]},{"1399336631":["hashtag1","hashtag2"]},{"1399336628":["hashtag1","hashtag2"]},{"1399336637":["hashtag1","hashtag2"]},{"1399336639":["hashtag1","hashtag2"]},{"1399336633":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336629, 1399336631, 1399336628, 1399336637, 1399336639, 1399336633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35412120819092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:00:42.063748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_04_2547.jpg', '/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_07_2670.jpg', '/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_10_3634.jpg', '/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_13_2546.jpg', '/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_16_3110.jpg', '/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_20_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_04_2547.jpg
/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_07_2670.jpg
/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_10_3634.jpg
/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_13_2546.jpg
/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_16_3110.jpg
/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_20_3620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336647","1399336644","1399336646","1399336649","1399336651","1399336648"],"photo_ids_order":["1399336644","1399336646","1399336647","1399336648","1399336649","1399336651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e867f294e456b7719f84ec49ef69fa6.jpg","text":"TemporaryFile(/tmp/multipartBody8445241521682864311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699302766,"filename":"image_04112025_12_26_10_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e476b745f1970f0e89ff5581b3ae419b.jpg","text":"TemporaryFile(/tmp/multipartBody6291721168644246528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699302766,"filename":"image_04112025_12_26_04_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8209affaaaa9e074d4bebd03260dbb3a.jpg","text":"TemporaryFile(/tmp/multipartBody204198112209356234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699302766,"filename":"image_04112025_12_26_07_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe39a7172fb47d314ee6ae229f874474.jpg","text":"TemporaryFile(/tmp/multipartBody6920209846930344078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699302766,"filename":"image_04112025_12_26_16_3110.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/74876a15de1eabb7b353f6ea00c2a746.jpg","text":"TemporaryFile(/tmp/multipartBody9202308060240350639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699302766,"filename":"image_04112025_12_26_20_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/900e56dd8c200e730cca5a00502de0d5.jpg","text":"TemporaryFile(/tmp/multipartBody8709851383470399606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699302766,"filename":"image_04112025_12_26_13_2546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336647","file1":"1399336646","file0":"1399336644","file4":"1399336649","file5":"1399336651","file3":"1399336648"},"map_files_photo_id_array":[{"photo_id":"1399336651","filename":"file5"},{"photo_id":"1399336647","filename":"file2"},{"photo_id":"1399336649","filename":"file4"},{"photo_id":"1399336646","filename":"file1"},{"photo_id":"1399336644","filename":"file0"},{"photo_id":"1399336648","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336647":["hashtag1","hashtag2"]},{"1399336644":["hashtag1","hashtag2"]},{"1399336646":["hashtag1","hashtag2"]},{"1399336649":["hashtag1","hashtag2"]},{"1399336651":["hashtag1","hashtag2"]},{"1399336648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336647, 1399336644, 1399336646, 1399336649, 1399336651, 1399336648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.846375703811646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:01:22.277618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/39/image_14122025_08_39_15_10625.jpg', '/home/pi/Desktop/images/14122025/08/39/image_14122025_08_39_25_9728.jpg', '/home/pi/Desktop/images/14122025/08/39/image_14122025_08_39_35_9653.jpg', '/home/pi/Desktop/images/14122025/08/39/image_14122025_08_39_45_9846.jpg', '/home/pi/Desktop/images/14122025/08/39/image_14122025_08_39_55_10562.jpg', '/home/pi/Desktop/images/14122025/08/39/image_14122025_08_40_05_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/39/image_14122025_08_39_15_10625.jpg
/home/pi/Desktop/images/14122025/08/39/image_14122025_08_39_25_9728.jpg
/home/pi/Desktop/images/14122025/08/39/image_14122025_08_39_35_9653.jpg
/home/pi/Desktop/images/14122025/08/39/image_14122025_08_39_45_9846.jpg
/home/pi/Desktop/images/14122025/08/39/image_14122025_08_39_55_10562.jpg
/home/pi/Desktop/images/14122025/08/39/image_14122025_08_40_05_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336662","1399336656","1399336659","1399336658","1399336655","1399336657"],"photo_ids_order":["1399336655","1399336656","1399336657","1399336658","1399336659","1399336662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9707d5c4df2b792c1d0aff2f26a6d847.jpg","text":"TemporaryFile(/tmp/multipartBody7159841837531680781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699342888,"filename":"image_14122025_08_40_05_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1fce9b7022d6862eec5806d8cfd1085f.jpg","text":"TemporaryFile(/tmp/multipartBody5769184375622538016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699342888,"filename":"image_14122025_08_39_25_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/130be4d4f51f8cb22c9cd09abac80b0b.jpg","text":"TemporaryFile(/tmp/multipartBody7907909817241521061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699342888,"filename":"image_14122025_08_39_55_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/20bf37e93d9a191fa915c7235720f17c.jpg","text":"TemporaryFile(/tmp/multipartBody8499531028419583880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699342888,"filename":"image_14122025_08_39_45_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd9c6cdde8bdaacc841021d1285c700b.jpg","text":"TemporaryFile(/tmp/multipartBody7371439448794192922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699342888,"filename":"image_14122025_08_39_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/12/14/e5acb776bdf1e03f0f41f54aaf20a047.jpg","text":"TemporaryFile(/tmp/multipartBody7549023451393020092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699342888,"filename":"image_14122025_08_39_35_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336657","file1":"1399336656","file0":"1399336655","file4":"1399336659","file5":"1399336662","file3":"1399336658"},"map_files_photo_id_array":[{"photo_id":"1399336662","filename":"file5"},{"photo_id":"1399336657","filename":"file2"},{"photo_id":"1399336659","filename":"file4"},{"photo_id":"1399336656","filename":"file1"},{"photo_id":"1399336655","filename":"file0"},{"photo_id":"1399336658","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336662":["hashtag1","hashtag2"]},{"1399336656":["hashtag1","hashtag2"]},{"1399336659":["hashtag1","hashtag2"]},{"1399336658":["hashtag1","hashtag2"]},{"1399336655":["hashtag1","hashtag2"]},{"1399336657":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336662, 1399336656, 1399336659, 1399336658, 1399336655, 1399336657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99872326850891 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:02:02.912986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/40/image_14122025_08_40_25_9679.jpg', '/home/pi/Desktop/images/14122025/08/40/image_14122025_08_40_35_9792.jpg', '/home/pi/Desktop/images/14122025/08/40/image_14122025_08_40_46_10646.jpg', '/home/pi/Desktop/images/14122025/08/40/image_14122025_08_40_55_9725.jpg', '/home/pi/Desktop/images/14122025/08/40/image_14122025_08_41_05_9781.jpg', '/home/pi/Desktop/images/14122025/08/41/image_14122025_08_41_15_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/40/image_14122025_08_40_25_9679.jpg
/home/pi/Desktop/images/14122025/08/40/image_14122025_08_40_35_9792.jpg
/home/pi/Desktop/images/14122025/08/40/image_14122025_08_40_46_10646.jpg
/home/pi/Desktop/images/14122025/08/40/image_14122025_08_40_55_9725.jpg
/home/pi/Desktop/images/14122025/08/40/image_14122025_08_41_05_9781.jpg
/home/pi/Desktop/images/14122025/08/41/image_14122025_08_41_15_9746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336674","1399336670","1399336667","1399336672","1399336669","1399336671"],"photo_ids_order":["1399336667","1399336669","1399336670","1399336671","1399336672","1399336674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bc9ba6a3a185a70c6ce18a356eea5c66.jpg","text":"TemporaryFile(/tmp/multipartBody3044100729091231996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699383541,"filename":"image_14122025_08_41_15_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/786b441ec5e9141adeb5333411c8d512.jpg","text":"TemporaryFile(/tmp/multipartBody6886246715775058642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699383541,"filename":"image_14122025_08_40_46_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94b23b3b0f3153226d1fac160c07f2b8.jpg","text":"TemporaryFile(/tmp/multipartBody5410363606192210936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699383541,"filename":"image_14122025_08_40_25_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2728d34c64cce77866cc2e54535e216.jpg","text":"TemporaryFile(/tmp/multipartBody5205833144288801451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699383541,"filename":"image_14122025_08_41_05_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/459c76de4699e15537569cc93281d851.jpg","text":"TemporaryFile(/tmp/multipartBody3432001382932377881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699383541,"filename":"image_14122025_08_40_35_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ee1880b5082e00621182241fef3cd04.jpg","text":"TemporaryFile(/tmp/multipartBody8378891248227557237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699383541,"filename":"image_14122025_08_40_55_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336670","file1":"1399336669","file0":"1399336667","file4":"1399336672","file5":"1399336674","file3":"1399336671"},"map_files_photo_id_array":[{"photo_id":"1399336674","filename":"file5"},{"photo_id":"1399336670","filename":"file2"},{"photo_id":"1399336672","filename":"file4"},{"photo_id":"1399336669","filename":"file1"},{"photo_id":"1399336667","filename":"file0"},{"photo_id":"1399336671","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336674":["hashtag1","hashtag2"]},{"1399336670":["hashtag1","hashtag2"]},{"1399336667":["hashtag1","hashtag2"]},{"1399336672":["hashtag1","hashtag2"]},{"1399336669":["hashtag1","hashtag2"]},{"1399336671":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336674, 1399336670, 1399336667, 1399336672, 1399336669, 1399336671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.544254779815674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:02:42.479313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_22_2703.jpg', '/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_25_2706.jpg', '/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_41_16398.jpg', '/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_43_1628.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_05_21610.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_08_3132.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_22_2703.jpg
/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_25_2706.jpg
/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_41_16398.jpg
/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_43_1628.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_05_21610.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_08_3132.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6071968078613281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:03:03.422277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/41/image_14122025_08_41_25_9890.jpg', '/home/pi/Desktop/images/14122025/08/41/image_14122025_08_41_35_10754.jpg', '/home/pi/Desktop/images/14122025/08/41/image_14122025_08_41_45_10031.jpg', '/home/pi/Desktop/images/14122025/08/41/image_14122025_08_41_55_9713.jpg', '/home/pi/Desktop/images/14122025/08/41/image_14122025_08_42_05_9681.jpg', '/home/pi/Desktop/images/14122025/08/42/image_14122025_08_42_15_9932.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/41/image_14122025_08_41_25_9890.jpg
/home/pi/Desktop/images/14122025/08/41/image_14122025_08_41_35_10754.jpg
/home/pi/Desktop/images/14122025/08/41/image_14122025_08_41_45_10031.jpg
/home/pi/Desktop/images/14122025/08/41/image_14122025_08_41_55_9713.jpg
/home/pi/Desktop/images/14122025/08/41/image_14122025_08_42_05_9681.jpg
/home/pi/Desktop/images/14122025/08/42/image_14122025_08_42_15_9932.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336689","1399336688","1399336690","1399336687","1399336692","1399336686"],"photo_ids_order":["1399336686","1399336687","1399336688","1399336689","1399336690","1399336692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/62bb1e14c3ca2b33fe8e4bbbdfe691f0.jpg","text":"TemporaryFile(/tmp/multipartBody8906946529380492463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699444138,"filename":"image_14122025_08_41_55_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28669073803a90a1f40c19a70bb540fc.jpg","text":"TemporaryFile(/tmp/multipartBody1538026692151915321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699444138,"filename":"image_14122025_08_41_45_10031.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d2a2c9788e8e36fdf6f81eb1019b52f.jpg","text":"TemporaryFile(/tmp/multipartBody5100757731993204581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699444138,"filename":"image_14122025_08_42_05_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae56e915f1fc2843946803812b6384e1.jpg","text":"TemporaryFile(/tmp/multipartBody5878959418860240381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699444138,"filename":"image_14122025_08_41_35_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c9b837f0a0c7f5e75e909061c1621f75.jpg","text":"TemporaryFile(/tmp/multipartBody5765438292237620910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699444138,"filename":"image_14122025_08_42_15_9932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e92dc4ea5a86aaf321bd9de8bfe15f3f.jpg","text":"TemporaryFile(/tmp/multipartBody3665775553602850450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699444138,"filename":"image_14122025_08_41_25_9890.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336688","file1":"1399336687","file0":"1399336686","file4":"1399336690","file5":"1399336692","file3":"1399336689"},"map_files_photo_id_array":[{"photo_id":"1399336692","filename":"file5"},{"photo_id":"1399336688","filename":"file2"},{"photo_id":"1399336690","filename":"file4"},{"photo_id":"1399336687","filename":"file1"},{"photo_id":"1399336686","filename":"file0"},{"photo_id":"1399336689","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336689":["hashtag1","hashtag2"]},{"1399336688":["hashtag1","hashtag2"]},{"1399336690":["hashtag1","hashtag2"]},{"1399336687":["hashtag1","hashtag2"]},{"1399336692":["hashtag1","hashtag2"]},{"1399336686":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336689, 1399336688, 1399336690, 1399336687, 1399336692, 1399336686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.312530755996704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:03:42.767490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_22_2703.jpg', '/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_25_2706.jpg', '/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_41_16398.jpg', '/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_43_1628.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_05_21610.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_08_3132.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_22_2703.jpg
/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_25_2706.jpg
/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_41_16398.jpg
/home/pi/Desktop/images/04112025/12/26/image_04112025_12_26_43_1628.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_05_21610.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_08_3132.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336701","1399336704","1399336703","1399336705","1399336698","1399336702"],"photo_ids_order":["1399336698","1399336701","1399336702","1399336703","1399336704","1399336705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e48dbb82a10b3982b7d720f10ec449e.jpg","text":"TemporaryFile(/tmp/multipartBody193566735950119123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699483351,"filename":"image_04112025_12_26_25_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c708e1a944cef0011d92a073d138e2a2.jpg","text":"TemporaryFile(/tmp/multipartBody1865372722777213527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699483351,"filename":"image_04112025_12_27_05_21610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f65b78e9662258170ce00bdf63ade97.jpg","text":"TemporaryFile(/tmp/multipartBody4228261796329275868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699483351,"filename":"image_04112025_12_26_43_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/86ef902c671968e2b4e0c24d360a15aa.jpg","text":"TemporaryFile(/tmp/multipartBody7418923974778632423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699483351,"filename":"image_04112025_12_27_08_3132.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a2d11003f00165c2f0b9371bbfb4ccb.jpg","text":"TemporaryFile(/tmp/multipartBody392646002226312952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699483351,"filename":"image_04112025_12_26_22_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8d2eeee859cd1190a287da0df6ec385e.jpg","text":"TemporaryFile(/tmp/multipartBody3460354348679231782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699483351,"filename":"image_04112025_12_26_41_16398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336702","file1":"1399336701","file0":"1399336698","file4":"1399336704","file5":"1399336705","file3":"1399336703"},"map_files_photo_id_array":[{"photo_id":"1399336705","filename":"file5"},{"photo_id":"1399336702","filename":"file2"},{"photo_id":"1399336704","filename":"file4"},{"photo_id":"1399336701","filename":"file1"},{"photo_id":"1399336698","filename":"file0"},{"photo_id":"1399336703","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336701":["hashtag1","hashtag2"]},{"1399336704":["hashtag1","hashtag2"]},{"1399336703":["hashtag1","hashtag2"]},{"1399336705":["hashtag1","hashtag2"]},{"1399336698":["hashtag1","hashtag2"]},{"1399336702":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336701, 1399336704, 1399336703, 1399336705, 1399336698, 1399336702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5867383480072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:04:22.145046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/42/image_14122025_08_42_25_10699.jpg', '/home/pi/Desktop/images/14122025/08/42/image_14122025_08_42_35_9693.jpg', '/home/pi/Desktop/images/14122025/08/42/image_14122025_08_42_45_9680.jpg', '/home/pi/Desktop/images/14122025/08/42/image_14122025_08_42_55_9790.jpg', '/home/pi/Desktop/images/14122025/08/42/image_14122025_08_43_05_10736.jpg', '/home/pi/Desktop/images/14122025/08/43/image_14122025_08_43_15_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/42/image_14122025_08_42_25_10699.jpg
/home/pi/Desktop/images/14122025/08/42/image_14122025_08_42_35_9693.jpg
/home/pi/Desktop/images/14122025/08/42/image_14122025_08_42_45_9680.jpg
/home/pi/Desktop/images/14122025/08/42/image_14122025_08_42_55_9790.jpg
/home/pi/Desktop/images/14122025/08/42/image_14122025_08_43_05_10736.jpg
/home/pi/Desktop/images/14122025/08/43/image_14122025_08_43_15_9680.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5036647319793701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 09:04:32.018561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:04:41.951243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_10_1710.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_11_1774.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_13_1493.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_14_1699.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_16_1583.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_18_1591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_10_1710.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_11_1774.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_13_1493.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_14_1699.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_16_1583.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_18_1591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336719","1399336721","1399336715","1399336718","1399336717","1399336720"],"photo_ids_order":["1399336715","1399336717","1399336718","1399336719","1399336720","1399336721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/655c07c57dce6c0cfbb16e254dcd47e2.jpg","text":"TemporaryFile(/tmp/multipartBody9174312000611462218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699542633,"filename":"image_04112025_12_27_14_1699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e6a84640e207ecc06e0405dd0bc68928.jpg","text":"TemporaryFile(/tmp/multipartBody8862000407577843281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699542633,"filename":"image_04112025_12_27_18_1591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f4c8ff1340840ef68de0f1a90471f54e.jpg","text":"TemporaryFile(/tmp/multipartBody6029823441233448056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699542633,"filename":"image_04112025_12_27_10_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6a05d4799d822b6873acb49b0ee29497.jpg","text":"TemporaryFile(/tmp/multipartBody7258190853329106640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699542633,"filename":"image_04112025_12_27_13_1493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21e3fb0ebe8de1ebf10a9c17bd95f5bd.jpg","text":"TemporaryFile(/tmp/multipartBody649730498215039557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699542633,"filename":"image_04112025_12_27_11_1774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92407324ddbac3f7bcbfafc5aea5aada.jpg","text":"TemporaryFile(/tmp/multipartBody1928861329284888705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699542633,"filename":"image_04112025_12_27_16_1583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336718","file1":"1399336717","file0":"1399336715","file4":"1399336720","file5":"1399336721","file3":"1399336719"},"map_files_photo_id_array":[{"photo_id":"1399336721","filename":"file5"},{"photo_id":"1399336718","filename":"file2"},{"photo_id":"1399336720","filename":"file4"},{"photo_id":"1399336717","filename":"file1"},{"photo_id":"1399336715","filename":"file0"},{"photo_id":"1399336719","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336719":["hashtag1","hashtag2"]},{"1399336721":["hashtag1","hashtag2"]},{"1399336715":["hashtag1","hashtag2"]},{"1399336718":["hashtag1","hashtag2"]},{"1399336717":["hashtag1","hashtag2"]},{"1399336720":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336719, 1399336721, 1399336715, 1399336718, 1399336717, 1399336720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.249942779541016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:05:22.252756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/42/image_14122025_08_42_25_10699.jpg', '/home/pi/Desktop/images/14122025/08/42/image_14122025_08_42_35_9693.jpg', '/home/pi/Desktop/images/14122025/08/42/image_14122025_08_42_45_9680.jpg', '/home/pi/Desktop/images/14122025/08/42/image_14122025_08_42_55_9790.jpg', '/home/pi/Desktop/images/14122025/08/42/image_14122025_08_43_05_10736.jpg', '/home/pi/Desktop/images/14122025/08/43/image_14122025_08_43_15_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/42/image_14122025_08_42_25_10699.jpg
/home/pi/Desktop/images/14122025/08/42/image_14122025_08_42_35_9693.jpg
/home/pi/Desktop/images/14122025/08/42/image_14122025_08_42_45_9680.jpg
/home/pi/Desktop/images/14122025/08/42/image_14122025_08_42_55_9790.jpg
/home/pi/Desktop/images/14122025/08/42/image_14122025_08_43_05_10736.jpg
/home/pi/Desktop/images/14122025/08/43/image_14122025_08_43_15_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":["1399336722","1399336725","1399336733","1399336727","1399336723","1399336729"],"photo_ids_order":["1399336722","1399336723","1399336725","1399336727","1399336729","1399336733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aeb6d2390ac7f1dd276c72236f43ee14.jpg","text":"TemporaryFile(/tmp/multipartBody1383049645726863836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699582855,"filename":"image_14122025_08_42_25_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b3fa231aea6b9b56bc15832c6043edc.jpg","text":"TemporaryFile(/tmp/multipartBody4270298046355732540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699582855,"filename":"image_14122025_08_42_45_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce6ee2be4497feaf1c7d6cfcdaaed2cd.jpg","text":"TemporaryFile(/tmp/multipartBody7963305310193699666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699582855,"filename":"image_14122025_08_43_15_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7acf6181677c6fe018c067496e949a77.jpg","text":"TemporaryFile(/tmp/multipartBody1722669274855708264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699582855,"filename":"image_14122025_08_42_55_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ab75bfa0de796d9963e7df2bb72ca7e4.jpg","text":"TemporaryFile(/tmp/multipartBody5082845979609236135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699582855,"filename":"image_14122025_08_42_35_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/00367d7ab56816c7336e7e5066c61d1b.jpg","text":"TemporaryFile(/tmp/multipartBody1708533747948131417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699582855,"filename":"image_14122025_08_43_05_10736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336725","file1":"1399336723","file0":"1399336722","file4":"1399336729","file5":"1399336733","file3":"1399336727"},"map_files_photo_id_array":[{"photo_id":"1399336733","filename":"file5"},{"photo_id":"1399336725","filename":"file2"},{"photo_id":"1399336729","filename":"file4"},{"photo_id":"1399336723","filename":"file1"},{"photo_id":"1399336722","filename":"file0"},{"photo_id":"1399336727","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336722":["hashtag1","hashtag2"]},{"1399336725":["hashtag1","hashtag2"]},{"1399336733":["hashtag1","hashtag2"]},{"1399336727":["hashtag1","hashtag2"]},{"1399336723":["hashtag1","hashtag2"]},{"1399336729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336722, 1399336725, 1399336733, 1399336727, 1399336723, 1399336729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84592270851135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:06:03.060856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/43/image_14122025_08_43_35_9851.jpg', '/home/pi/Desktop/images/14122025/08/43/image_14122025_08_43_45_10711.jpg', '/home/pi/Desktop/images/14122025/08/43/image_14122025_08_43_55_9823.jpg', '/home/pi/Desktop/images/14122025/08/43/image_14122025_08_44_05_9908.jpg', '/home/pi/Desktop/images/14122025/08/44/image_14122025_08_44_15_9633.jpg', '/home/pi/Desktop/images/14122025/08/44/image_14122025_08_44_25_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/43/image_14122025_08_43_35_9851.jpg
/home/pi/Desktop/images/14122025/08/43/image_14122025_08_43_45_10711.jpg
/home/pi/Desktop/images/14122025/08/43/image_14122025_08_43_55_9823.jpg
/home/pi/Desktop/images/14122025/08/43/image_14122025_08_44_05_9908.jpg
/home/pi/Desktop/images/14122025/08/44/image_14122025_08_44_15_9633.jpg
/home/pi/Desktop/images/14122025/08/44/image_14122025_08_44_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":["1399336740","1399336743","1399336745","1399336739","1399336742","1399336741"],"photo_ids_order":["1399336739","1399336740","1399336741","1399336742","1399336743","1399336745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ffb54f69d3ce9bbc98733e91d99cada.jpg","text":"TemporaryFile(/tmp/multipartBody5493867413828851998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699623724,"filename":"image_14122025_08_43_45_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8aa6d2a1f324dd1bf7551962c549da80.jpg","text":"TemporaryFile(/tmp/multipartBody1204629338894763666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699623724,"filename":"image_14122025_08_44_15_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f80faf465a7709baa46d20b68f1bf8d.jpg","text":"TemporaryFile(/tmp/multipartBody1205858615148381531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699623724,"filename":"image_14122025_08_44_25_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1715d3f4da3d60c70549cf712ae87ca.jpg","text":"TemporaryFile(/tmp/multipartBody6784230505984521139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699623724,"filename":"image_14122025_08_43_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/12/14/db7ba93928c661e1d4e25ba3d7adcc0c.jpg","text":"TemporaryFile(/tmp/multipartBody8113460436478007033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699623724,"filename":"image_14122025_08_44_05_9908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6473dfbf4b65bfacea72f2a18346cf37.jpg","text":"TemporaryFile(/tmp/multipartBody4460624147948745780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699623724,"filename":"image_14122025_08_43_55_9823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336741","file1":"1399336740","file0":"1399336739","file4":"1399336743","file5":"1399336745","file3":"1399336742"},"map_files_photo_id_array":[{"photo_id":"1399336745","filename":"file5"},{"photo_id":"1399336741","filename":"file2"},{"photo_id":"1399336743","filename":"file4"},{"photo_id":"1399336740","filename":"file1"},{"photo_id":"1399336739","filename":"file0"},{"photo_id":"1399336742","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336740":["hashtag1","hashtag2"]},{"1399336743":["hashtag1","hashtag2"]},{"1399336745":["hashtag1","hashtag2"]},{"1399336739":["hashtag1","hashtag2"]},{"1399336742":["hashtag1","hashtag2"]},{"1399336741":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336740, 1399336743, 1399336745, 1399336739, 1399336742, 1399336741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82764554023743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:06:42.546603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_19_1650.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_21_1768.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_23_1719.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_24_1581.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_26_1533.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_28_1664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_19_1650.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_21_1768.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_23_1719.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_24_1581.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_26_1533.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_28_1664.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5745730400085449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:07:03.368887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/44/image_14122025_08_44_35_9598.jpg', '/home/pi/Desktop/images/14122025/08/44/image_14122025_08_44_45_9677.jpg', '/home/pi/Desktop/images/14122025/08/44/image_14122025_08_44_55_10739.jpg', '/home/pi/Desktop/images/14122025/08/45/image_14122025_08_45_15_9852.jpg', '/home/pi/Desktop/images/14122025/08/45/image_14122025_08_45_25_9561.jpg', '/home/pi/Desktop/images/14122025/08/45/image_14122025_08_45_35_10567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/44/image_14122025_08_44_35_9598.jpg
/home/pi/Desktop/images/14122025/08/44/image_14122025_08_44_45_9677.jpg
/home/pi/Desktop/images/14122025/08/44/image_14122025_08_44_55_10739.jpg
/home/pi/Desktop/images/14122025/08/45/image_14122025_08_45_15_9852.jpg
/home/pi/Desktop/images/14122025/08/45/image_14122025_08_45_25_9561.jpg
/home/pi/Desktop/images/14122025/08/45/image_14122025_08_45_35_10567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336761","1399336755","1399336758","1399336757","1399336756","1399336759"],"photo_ids_order":["1399336755","1399336756","1399336757","1399336758","1399336759","1399336761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/512fc6f949a882ead65d60e7e9f100fb.jpg","text":"TemporaryFile(/tmp/multipartBody4199382436669088919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699684044,"filename":"image_14122025_08_45_35_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/73149a2e37857f4fdfb57b3d933538f0.jpg","text":"TemporaryFile(/tmp/multipartBody967898906585490113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699684044,"filename":"image_14122025_08_44_35_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c987f3cc5f49ce8a3edcedd25d23c70.jpg","text":"TemporaryFile(/tmp/multipartBody6263876994613088596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699684044,"filename":"image_14122025_08_45_15_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce991f93799ddbc50fd3e5dfce4064a0.jpg","text":"TemporaryFile(/tmp/multipartBody8405120596083832104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699684044,"filename":"image_14122025_08_44_55_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/219cd8adde20280b23b273607a2829c4.jpg","text":"TemporaryFile(/tmp/multipartBody6476295524037640088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699684044,"filename":"image_14122025_08_44_45_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/199fea561e788b3962e53c615b6787ba.jpg","text":"TemporaryFile(/tmp/multipartBody8445644656686453788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699684044,"filename":"image_14122025_08_45_25_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336757","file1":"1399336756","file0":"1399336755","file4":"1399336759","file5":"1399336761","file3":"1399336758"},"map_files_photo_id_array":[{"photo_id":"1399336761","filename":"file5"},{"photo_id":"1399336757","filename":"file2"},{"photo_id":"1399336759","filename":"file4"},{"photo_id":"1399336756","filename":"file1"},{"photo_id":"1399336755","filename":"file0"},{"photo_id":"1399336758","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336761":["hashtag1","hashtag2"]},{"1399336755":["hashtag1","hashtag2"]},{"1399336758":["hashtag1","hashtag2"]},{"1399336757":["hashtag1","hashtag2"]},{"1399336756":["hashtag1","hashtag2"]},{"1399336759":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336761, 1399336755, 1399336758, 1399336757, 1399336756, 1399336759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.080954790115356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:07:42.841763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_19_1650.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_21_1768.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_23_1719.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_24_1581.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_26_1533.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_28_1664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_19_1650.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_21_1768.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_23_1719.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_24_1581.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_26_1533.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_28_1664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336772","1399336766","1399336771","1399336774","1399336768","1399336770"],"photo_ids_order":["1399336766","1399336768","1399336770","1399336771","1399336772","1399336774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bfe02c0bf42e61cd4abb863be2a5a1fa.jpg","text":"TemporaryFile(/tmp/multipartBody8143823800589034806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699723449,"filename":"image_04112025_12_27_26_1533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f18d146a22707ed1e05b911b07006740.jpg","text":"TemporaryFile(/tmp/multipartBody8131070788549409791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699723449,"filename":"image_04112025_12_27_19_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3ab79a3d6f0a16b598ee451924503567.jpg","text":"TemporaryFile(/tmp/multipartBody2770555034510749197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699723449,"filename":"image_04112025_12_27_24_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0e8c7e882b0ce0180f1d385d5de6fa08.jpg","text":"TemporaryFile(/tmp/multipartBody6568692951772389700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699723449,"filename":"image_04112025_12_27_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/12/14/c4b07c858b96761e26eda57ca62296dc.jpg","text":"TemporaryFile(/tmp/multipartBody8173222131870582952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699723449,"filename":"image_04112025_12_27_21_1768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1018abd35f253747c46215d221a41ad.jpg","text":"TemporaryFile(/tmp/multipartBody2912669514748175966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699723449,"filename":"image_04112025_12_27_23_1719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336770","file1":"1399336768","file0":"1399336766","file4":"1399336772","file5":"1399336774","file3":"1399336771"},"map_files_photo_id_array":[{"photo_id":"1399336774","filename":"file5"},{"photo_id":"1399336770","filename":"file2"},{"photo_id":"1399336772","filename":"file4"},{"photo_id":"1399336768","filename":"file1"},{"photo_id":"1399336766","filename":"file0"},{"photo_id":"1399336771","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336772":["hashtag1","hashtag2"]},{"1399336766":["hashtag1","hashtag2"]},{"1399336771":["hashtag1","hashtag2"]},{"1399336774":["hashtag1","hashtag2"]},{"1399336768":["hashtag1","hashtag2"]},{"1399336770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336772, 1399336766, 1399336771, 1399336774, 1399336768, 1399336770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73757815361023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:08:22.051918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/45/image_14122025_08_45_45_9649.jpg', '/home/pi/Desktop/images/14122025/08/45/image_14122025_08_45_55_9697.jpg', '/home/pi/Desktop/images/14122025/08/45/image_14122025_08_46_05_9848.jpg', '/home/pi/Desktop/images/14122025/08/46/image_14122025_08_46_15_10717.jpg', '/home/pi/Desktop/images/14122025/08/46/image_14122025_08_46_25_9699.jpg', '/home/pi/Desktop/images/14122025/08/46/image_14122025_08_46_35_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/45/image_14122025_08_45_45_9649.jpg
/home/pi/Desktop/images/14122025/08/45/image_14122025_08_45_55_9697.jpg
/home/pi/Desktop/images/14122025/08/45/image_14122025_08_46_05_9848.jpg
/home/pi/Desktop/images/14122025/08/46/image_14122025_08_46_15_10717.jpg
/home/pi/Desktop/images/14122025/08/46/image_14122025_08_46_25_9699.jpg
/home/pi/Desktop/images/14122025/08/46/image_14122025_08_46_35_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336776","1399336787","1399336784","1399336778","1399336780","1399336782"],"photo_ids_order":["1399336776","1399336778","1399336780","1399336782","1399336784","1399336787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d4b96204a7a2e7d75287c991257a771.jpg","text":"TemporaryFile(/tmp/multipartBody5484807284617391872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699762676,"filename":"image_14122025_08_45_45_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/44e5bd30c248a75a513ec0a532a9034e.jpg","text":"TemporaryFile(/tmp/multipartBody1172382340260449719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699762676,"filename":"image_14122025_08_46_35_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/278c91409dd17515c22663c45a23fa4f.jpg","text":"TemporaryFile(/tmp/multipartBody7758261675319774684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699762676,"filename":"image_14122025_08_46_25_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b725ed3e6ac709b58110e875d659f41.jpg","text":"TemporaryFile(/tmp/multipartBody2132509620313193776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699762676,"filename":"image_14122025_08_45_55_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9478421ac2e4e3b34981d64e961ac512.jpg","text":"TemporaryFile(/tmp/multipartBody8440032920236774213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699762676,"filename":"image_14122025_08_46_05_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b8f3da05fa3084c46bc7e641a8c17152.jpg","text":"TemporaryFile(/tmp/multipartBody3404974198672377981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699762676,"filename":"image_14122025_08_46_15_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336780","file1":"1399336778","file0":"1399336776","file4":"1399336784","file5":"1399336787","file3":"1399336782"},"map_files_photo_id_array":[{"photo_id":"1399336787","filename":"file5"},{"photo_id":"1399336780","filename":"file2"},{"photo_id":"1399336784","filename":"file4"},{"photo_id":"1399336778","filename":"file1"},{"photo_id":"1399336776","filename":"file0"},{"photo_id":"1399336782","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336776":["hashtag1","hashtag2"]},{"1399336787":["hashtag1","hashtag2"]},{"1399336784":["hashtag1","hashtag2"]},{"1399336778":["hashtag1","hashtag2"]},{"1399336780":["hashtag1","hashtag2"]},{"1399336782":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336776, 1399336787, 1399336784, 1399336778, 1399336780, 1399336782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6493194103241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:09:03.199597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/46/image_14122025_08_46_45_9991.jpg', '/home/pi/Desktop/images/14122025/08/46/image_14122025_08_46_55_10549.jpg', '/home/pi/Desktop/images/14122025/08/46/image_14122025_08_47_05_9600.jpg', '/home/pi/Desktop/images/14122025/08/47/image_14122025_08_47_15_10638.jpg', '/home/pi/Desktop/images/14122025/08/47/image_14122025_08_47_25_9751.jpg', '/home/pi/Desktop/images/14122025/08/47/image_14122025_08_47_35_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/46/image_14122025_08_46_45_9991.jpg
/home/pi/Desktop/images/14122025/08/46/image_14122025_08_46_55_10549.jpg
/home/pi/Desktop/images/14122025/08/46/image_14122025_08_47_05_9600.jpg
/home/pi/Desktop/images/14122025/08/47/image_14122025_08_47_15_10638.jpg
/home/pi/Desktop/images/14122025/08/47/image_14122025_08_47_25_9751.jpg
/home/pi/Desktop/images/14122025/08/47/image_14122025_08_47_35_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":["1399336793","1399336790","1399336792","1399336795","1399336789","1399336791"],"photo_ids_order":["1399336789","1399336790","1399336791","1399336792","1399336793","1399336795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd5c862f724a92eb053d557b59223b14.jpg","text":"TemporaryFile(/tmp/multipartBody7023904840445172592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699803910,"filename":"image_14122025_08_47_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/12/14/7e37fa2a0cf3629f8822582f7abfee1b.jpg","text":"TemporaryFile(/tmp/multipartBody2496790098558915588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699803910,"filename":"image_14122025_08_46_55_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f2fb8909477e5ecfef19e01ca23586d.jpg","text":"TemporaryFile(/tmp/multipartBody7629007986313541534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699803910,"filename":"image_14122025_08_47_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/12/14/665b07b9bc8a6b579bab59f7cd5ccd14.jpg","text":"TemporaryFile(/tmp/multipartBody8667266719408709639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699803910,"filename":"image_14122025_08_47_35_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/53a0e3cda995d7a53707b9f6228aad1f.jpg","text":"TemporaryFile(/tmp/multipartBody982147539923862472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699803910,"filename":"image_14122025_08_46_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/12/14/5d21278c3caa27fd269c4bfbbdd67211.jpg","text":"TemporaryFile(/tmp/multipartBody1032653804750534316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699803910,"filename":"image_14122025_08_47_05_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336791","file1":"1399336790","file0":"1399336789","file4":"1399336793","file5":"1399336795","file3":"1399336792"},"map_files_photo_id_array":[{"photo_id":"1399336795","filename":"file5"},{"photo_id":"1399336791","filename":"file2"},{"photo_id":"1399336793","filename":"file4"},{"photo_id":"1399336790","filename":"file1"},{"photo_id":"1399336789","filename":"file0"},{"photo_id":"1399336792","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336793":["hashtag1","hashtag2"]},{"1399336790":["hashtag1","hashtag2"]},{"1399336792":["hashtag1","hashtag2"]},{"1399336795":["hashtag1","hashtag2"]},{"1399336789":["hashtag1","hashtag2"]},{"1399336791":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336793, 1399336790, 1399336792, 1399336795, 1399336789, 1399336791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.060994148254395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:09:42.283189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_29_1552.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_33_3697.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_35_1781.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_42_7045.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_43_1694.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_56_12982.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_29_1552.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_33_3697.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_35_1781.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_42_7045.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_43_1694.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_56_12982.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336800","1399336803","1399336806","1399336805","1399336808","1399336807"],"photo_ids_order":["1399336800","1399336803","1399336805","1399336806","1399336807","1399336808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a2d207deaec5c63a20a5b992ce6ae843.jpg","text":"TemporaryFile(/tmp/multipartBody5861514126389782481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699842968,"filename":"image_04112025_12_27_29_1552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b337fb37d0ec8acb8a825b4233f46ab.jpg","text":"TemporaryFile(/tmp/multipartBody4169689681607224230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699842968,"filename":"image_04112025_12_27_33_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/47d41166788c01f83dc42d3ef320bf5e.jpg","text":"TemporaryFile(/tmp/multipartBody4984144525741525746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699842968,"filename":"image_04112025_12_27_42_7045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ca50915c0a18f446b7ae60be967530e9.jpg","text":"TemporaryFile(/tmp/multipartBody1819599241608019015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699842968,"filename":"image_04112025_12_27_35_1781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f7ea569dfc39635327f2b65070c1b431.jpg","text":"TemporaryFile(/tmp/multipartBody946998736257248785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699842968,"filename":"image_04112025_12_27_56_12982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d80a95825ab72295111754658a2ffa24.jpg","text":"TemporaryFile(/tmp/multipartBody2303623591811239971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699842968,"filename":"image_04112025_12_27_43_1694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336805","file1":"1399336803","file0":"1399336800","file4":"1399336807","file5":"1399336808","file3":"1399336806"},"map_files_photo_id_array":[{"photo_id":"1399336808","filename":"file5"},{"photo_id":"1399336805","filename":"file2"},{"photo_id":"1399336807","filename":"file4"},{"photo_id":"1399336803","filename":"file1"},{"photo_id":"1399336800","filename":"file0"},{"photo_id":"1399336806","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336800":["hashtag1","hashtag2"]},{"1399336803":["hashtag1","hashtag2"]},{"1399336806":["hashtag1","hashtag2"]},{"1399336805":["hashtag1","hashtag2"]},{"1399336808":["hashtag1","hashtag2"]},{"1399336807":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336800, 1399336803, 1399336806, 1399336805, 1399336808, 1399336807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96486449241638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:10:22.594586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/47/image_14122025_08_47_45_9812.jpg', '/home/pi/Desktop/images/14122025/08/47/image_14122025_08_47_55_10767.jpg', '/home/pi/Desktop/images/14122025/08/47/image_14122025_08_48_05_9721.jpg', '/home/pi/Desktop/images/14122025/08/48/image_14122025_08_48_15_9715.jpg', '/home/pi/Desktop/images/14122025/08/48/image_14122025_08_48_25_10661.jpg', '/home/pi/Desktop/images/14122025/08/48/image_14122025_08_48_35_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/47/image_14122025_08_47_45_9812.jpg
/home/pi/Desktop/images/14122025/08/47/image_14122025_08_47_55_10767.jpg
/home/pi/Desktop/images/14122025/08/47/image_14122025_08_48_05_9721.jpg
/home/pi/Desktop/images/14122025/08/48/image_14122025_08_48_15_9715.jpg
/home/pi/Desktop/images/14122025/08/48/image_14122025_08_48_25_10661.jpg
/home/pi/Desktop/images/14122025/08/48/image_14122025_08_48_35_9688.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.48398256301879883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 09:10:32.565157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:10:42.493275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_58_1587.jpg', '/home/pi/Desktop/images/04112025/12/27/image_04112025_12_28_00_1735.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_01_1665.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_03_1635.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_05_1566.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_06_1570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_27_58_1587.jpg
/home/pi/Desktop/images/04112025/12/27/image_04112025_12_28_00_1735.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_01_1665.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_03_1635.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_05_1566.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_06_1570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336824","1399336823","1399336826","1399336820","1399336822","1399336825"],"photo_ids_order":["1399336820","1399336822","1399336823","1399336824","1399336825","1399336826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/edc577596ccf515354743e1b0c5bac8a.jpg","text":"TemporaryFile(/tmp/multipartBody8790824120750474289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699903192,"filename":"image_04112025_12_28_03_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/620a8c6d72a0f290f51ca5199c3797b2.jpg","text":"TemporaryFile(/tmp/multipartBody4139168277583582872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699903192,"filename":"image_04112025_12_28_01_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/17d26b72275b344ff04802a5a396abfc.jpg","text":"TemporaryFile(/tmp/multipartBody6176228148263948264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699903192,"filename":"image_04112025_12_28_06_1570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2474227ffc0ac051376d5aeb8208fd1d.jpg","text":"TemporaryFile(/tmp/multipartBody7441632154416832331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699903192,"filename":"image_04112025_12_27_58_1587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b66b390392109dde21e2653ab1299fd.jpg","text":"TemporaryFile(/tmp/multipartBody9096370278419853076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699903192,"filename":"image_04112025_12_28_00_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/416d619a2ec9dc304406a77ba88f536c.jpg","text":"TemporaryFile(/tmp/multipartBody2358644663630668475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699903192,"filename":"image_04112025_12_28_05_1566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336823","file1":"1399336822","file0":"1399336820","file4":"1399336825","file5":"1399336826","file3":"1399336824"},"map_files_photo_id_array":[{"photo_id":"1399336826","filename":"file5"},{"photo_id":"1399336823","filename":"file2"},{"photo_id":"1399336825","filename":"file4"},{"photo_id":"1399336822","filename":"file1"},{"photo_id":"1399336820","filename":"file0"},{"photo_id":"1399336824","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336824":["hashtag1","hashtag2"]},{"1399336823":["hashtag1","hashtag2"]},{"1399336826":["hashtag1","hashtag2"]},{"1399336820":["hashtag1","hashtag2"]},{"1399336822":["hashtag1","hashtag2"]},{"1399336825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336824, 1399336823, 1399336826, 1399336820, 1399336822, 1399336825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15397310256958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:11:22.730372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/47/image_14122025_08_47_45_9812.jpg', '/home/pi/Desktop/images/14122025/08/47/image_14122025_08_47_55_10767.jpg', '/home/pi/Desktop/images/14122025/08/47/image_14122025_08_48_05_9721.jpg', '/home/pi/Desktop/images/14122025/08/48/image_14122025_08_48_15_9715.jpg', '/home/pi/Desktop/images/14122025/08/48/image_14122025_08_48_25_10661.jpg', '/home/pi/Desktop/images/14122025/08/48/image_14122025_08_48_35_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/47/image_14122025_08_47_45_9812.jpg
/home/pi/Desktop/images/14122025/08/47/image_14122025_08_47_55_10767.jpg
/home/pi/Desktop/images/14122025/08/47/image_14122025_08_48_05_9721.jpg
/home/pi/Desktop/images/14122025/08/48/image_14122025_08_48_15_9715.jpg
/home/pi/Desktop/images/14122025/08/48/image_14122025_08_48_25_10661.jpg
/home/pi/Desktop/images/14122025/08/48/image_14122025_08_48_35_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336836","1399336830","1399336838","1399336832","1399336834","1399336828"],"photo_ids_order":["1399336828","1399336830","1399336832","1399336834","1399336836","1399336838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a248c2b5de863d2d9941122ca12b71b6.jpg","text":"TemporaryFile(/tmp/multipartBody8260213481682857273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699943318,"filename":"image_14122025_08_48_25_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/502963302a6a665c82febeda269589fa.jpg","text":"TemporaryFile(/tmp/multipartBody5290939995935529943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699943318,"filename":"image_14122025_08_47_55_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e3e0029bb615a761ca6d3ba89457ae0.jpg","text":"TemporaryFile(/tmp/multipartBody6593606594774713956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699943318,"filename":"image_14122025_08_48_35_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/884e7346f86c72f1e87d805e853ebf1f.jpg","text":"TemporaryFile(/tmp/multipartBody4164322067753842606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699943318,"filename":"image_14122025_08_48_05_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fa29eda206ac67e0a371c92842dc5aa5.jpg","text":"TemporaryFile(/tmp/multipartBody4026597380881453283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699943318,"filename":"image_14122025_08_48_15_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/73d2aef47f589b8550242e8ebf665cb5.jpg","text":"TemporaryFile(/tmp/multipartBody4074502312468724215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699943318,"filename":"image_14122025_08_47_45_9812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336832","file1":"1399336830","file0":"1399336828","file4":"1399336836","file5":"1399336838","file3":"1399336834"},"map_files_photo_id_array":[{"photo_id":"1399336838","filename":"file5"},{"photo_id":"1399336832","filename":"file2"},{"photo_id":"1399336836","filename":"file4"},{"photo_id":"1399336830","filename":"file1"},{"photo_id":"1399336828","filename":"file0"},{"photo_id":"1399336834","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336836":["hashtag1","hashtag2"]},{"1399336830":["hashtag1","hashtag2"]},{"1399336838":["hashtag1","hashtag2"]},{"1399336832":["hashtag1","hashtag2"]},{"1399336834":["hashtag1","hashtag2"]},{"1399336828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336836, 1399336830, 1399336838, 1399336832, 1399336834, 1399336828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.867820024490356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:12:02.373590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/48/image_14122025_08_48_45_9720.jpg', '/home/pi/Desktop/images/14122025/08/48/image_14122025_08_48_55_9854.jpg', '/home/pi/Desktop/images/14122025/08/48/image_14122025_08_49_05_10727.jpg', '/home/pi/Desktop/images/14122025/08/49/image_14122025_08_49_15_9694.jpg', '/home/pi/Desktop/images/14122025/08/49/image_14122025_08_49_25_9803.jpg', '/home/pi/Desktop/images/14122025/08/49/image_14122025_08_49_35_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/48/image_14122025_08_48_45_9720.jpg
/home/pi/Desktop/images/14122025/08/48/image_14122025_08_48_55_9854.jpg
/home/pi/Desktop/images/14122025/08/48/image_14122025_08_49_05_10727.jpg
/home/pi/Desktop/images/14122025/08/49/image_14122025_08_49_15_9694.jpg
/home/pi/Desktop/images/14122025/08/49/image_14122025_08_49_25_9803.jpg
/home/pi/Desktop/images/14122025/08/49/image_14122025_08_49_35_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":["1399336845","1399336848","1399336842","1399336844","1399336840","1399336846"],"photo_ids_order":["1399336840","1399336842","1399336844","1399336845","1399336846","1399336848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/383a9d7d39ed87b116572d1644b6cc8d.jpg","text":"TemporaryFile(/tmp/multipartBody20078198390954514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699982997,"filename":"image_14122025_08_49_15_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5406dbdf1eb79037bc00bd8eaa298988.jpg","text":"TemporaryFile(/tmp/multipartBody2343031799487569331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699982997,"filename":"image_14122025_08_49_35_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/42373989e90aa9a429fd1dea624194d9.jpg","text":"TemporaryFile(/tmp/multipartBody7087775698862834302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699982997,"filename":"image_14122025_08_48_55_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/223e9ac3235fa7383249bd29849feb9e.jpg","text":"TemporaryFile(/tmp/multipartBody612749948445883209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699982997,"filename":"image_14122025_08_49_05_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94969355a9d707fefe60e5d5c91492a7.jpg","text":"TemporaryFile(/tmp/multipartBody4967750134289420326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699982997,"filename":"image_14122025_08_48_45_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9b5945aa7b05c023c64729de9f36c2d9.jpg","text":"TemporaryFile(/tmp/multipartBody3050443843244171277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765699982997,"filename":"image_14122025_08_49_25_9803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336844","file1":"1399336842","file0":"1399336840","file4":"1399336846","file5":"1399336848","file3":"1399336845"},"map_files_photo_id_array":[{"photo_id":"1399336848","filename":"file5"},{"photo_id":"1399336844","filename":"file2"},{"photo_id":"1399336846","filename":"file4"},{"photo_id":"1399336842","filename":"file1"},{"photo_id":"1399336840","filename":"file0"},{"photo_id":"1399336845","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336845":["hashtag1","hashtag2"]},{"1399336848":["hashtag1","hashtag2"]},{"1399336842":["hashtag1","hashtag2"]},{"1399336844":["hashtag1","hashtag2"]},{"1399336840":["hashtag1","hashtag2"]},{"1399336846":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336845, 1399336848, 1399336842, 1399336844, 1399336840, 1399336846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05199098587036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:12:41.932566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_08_1720.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_09_1634.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_11_1542.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_13_1638.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_14_1793.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_18_3372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_08_1720.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_09_1634.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_11_1542.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_13_1638.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_14_1793.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_18_3372.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":["1399336860","1399336857","1399336856","1399336859","1399336853","1399336858"],"photo_ids_order":["1399336853","1399336856","1399336857","1399336858","1399336859","1399336860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7403674096ec4120fec487dba5bc6b32.jpg","text":"TemporaryFile(/tmp/multipartBody1179452376043743332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700022630,"filename":"image_04112025_12_28_18_3372.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c03a6ab520d43e008dfc29cc64769a7a.jpg","text":"TemporaryFile(/tmp/multipartBody2967782755434357179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700022630,"filename":"image_04112025_12_28_11_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6c8157216d18ff08221bbcd39199773.jpg","text":"TemporaryFile(/tmp/multipartBody7025970278548046068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700022630,"filename":"image_04112025_12_28_09_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/34d78dccc76fc2032c2905cecd786d2d.jpg","text":"TemporaryFile(/tmp/multipartBody5843391362266435451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700022630,"filename":"image_04112025_12_28_14_1793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ea78366603c4032dca2ae3323a99884.jpg","text":"TemporaryFile(/tmp/multipartBody7354653239436296419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700022630,"filename":"image_04112025_12_28_08_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd85d2ee8f3ac2f9667be625a541b99a.jpg","text":"TemporaryFile(/tmp/multipartBody986746272255290526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700022630,"filename":"image_04112025_12_28_13_1638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336857","file1":"1399336856","file0":"1399336853","file4":"1399336859","file5":"1399336860","file3":"1399336858"},"map_files_photo_id_array":[{"photo_id":"1399336860","filename":"file5"},{"photo_id":"1399336857","filename":"file2"},{"photo_id":"1399336859","filename":"file4"},{"photo_id":"1399336856","filename":"file1"},{"photo_id":"1399336853","filename":"file0"},{"photo_id":"1399336858","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336860":["hashtag1","hashtag2"]},{"1399336857":["hashtag1","hashtag2"]},{"1399336856":["hashtag1","hashtag2"]},{"1399336859":["hashtag1","hashtag2"]},{"1399336853":["hashtag1","hashtag2"]},{"1399336858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336860, 1399336857, 1399336856, 1399336859, 1399336853, 1399336858)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 54.74443578720093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:13:42.302276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_19_1611.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_21_1657.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_23_1663.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_24_1687.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_26_1651.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_28_1537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_19_1611.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_21_1657.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_23_1663.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_24_1687.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_26_1651.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_28_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":["1399336872","1399336866","1399336869","1399336871","1399336870","1399336867"],"photo_ids_order":["1399336866","1399336867","1399336869","1399336870","1399336871","1399336872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c0dddfbbef32dbc36b11e5913f61297c.jpg","text":"TemporaryFile(/tmp/multipartBody1048722847399482397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700083027,"filename":"image_04112025_12_28_28_1537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a838c10060b64a3669dab4d79dc57445.jpg","text":"TemporaryFile(/tmp/multipartBody4179388142431327240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700083027,"filename":"image_04112025_12_28_19_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ab89132573151efcadb24a0815e92fed.jpg","text":"TemporaryFile(/tmp/multipartBody3196454580684218511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700083027,"filename":"image_04112025_12_28_23_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6a92fcbaf9aeb90410bb10fabd8220ab.jpg","text":"TemporaryFile(/tmp/multipartBody7136821797819624725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700083027,"filename":"image_04112025_12_28_26_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2874c48c43815f7d8cf93175e43e8aeb.jpg","text":"TemporaryFile(/tmp/multipartBody7184572021924080292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700083027,"filename":"image_04112025_12_28_24_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e2654bfe5c22927c7e1cf6b48b4ec8a.jpg","text":"TemporaryFile(/tmp/multipartBody8035170529776250064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700083027,"filename":"image_04112025_12_28_21_1657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336869","file1":"1399336867","file0":"1399336866","file4":"1399336871","file5":"1399336872","file3":"1399336870"},"map_files_photo_id_array":[{"photo_id":"1399336872","filename":"file5"},{"photo_id":"1399336869","filename":"file2"},{"photo_id":"1399336871","filename":"file4"},{"photo_id":"1399336867","filename":"file1"},{"photo_id":"1399336866","filename":"file0"},{"photo_id":"1399336870","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336872":["hashtag1","hashtag2"]},{"1399336866":["hashtag1","hashtag2"]},{"1399336869":["hashtag1","hashtag2"]},{"1399336871":["hashtag1","hashtag2"]},{"1399336870":["hashtag1","hashtag2"]},{"1399336867":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336872, 1399336866, 1399336869, 1399336871, 1399336870, 1399336867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7805392742157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:14:22.520867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/49/image_14122025_08_49_45_10759.jpg', '/home/pi/Desktop/images/14122025/08/49/image_14122025_08_49_55_9731.jpg', '/home/pi/Desktop/images/14122025/08/49/image_14122025_08_50_05_9782.jpg', '/home/pi/Desktop/images/14122025/08/50/image_14122025_08_50_15_10579.jpg', '/home/pi/Desktop/images/14122025/08/50/image_14122025_08_50_25_9704.jpg', '/home/pi/Desktop/images/14122025/08/50/image_14122025_08_50_35_9553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/49/image_14122025_08_49_45_10759.jpg
/home/pi/Desktop/images/14122025/08/49/image_14122025_08_49_55_9731.jpg
/home/pi/Desktop/images/14122025/08/49/image_14122025_08_50_05_9782.jpg
/home/pi/Desktop/images/14122025/08/50/image_14122025_08_50_15_10579.jpg
/home/pi/Desktop/images/14122025/08/50/image_14122025_08_50_25_9704.jpg
/home/pi/Desktop/images/14122025/08/50/image_14122025_08_50_35_9553.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5160646438598633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 09:14:32.494770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:14:42.562956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_29_1579.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_31_1569.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_34_3648.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_37_2530.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_40_3007.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_43_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_29_1579.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_31_1569.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_34_3648.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_37_2530.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_40_3007.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_43_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399336887","1399336886","1399336889","1399336885","1399336888","1399336884"],"photo_ids_order":["1399336884","1399336885","1399336886","1399336887","1399336888","1399336889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eae34739bfbb592b3b8bfaf5bdd36f05.jpg","text":"TemporaryFile(/tmp/multipartBody3460674164061693860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700143262,"filename":"image_04112025_12_28_37_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1db516bdfdbf050b3daa53e925c8040b.jpg","text":"TemporaryFile(/tmp/multipartBody3412266442110292561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700143262,"filename":"image_04112025_12_28_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/12/14/85e429df83bbc7e10b40dc100a13988d.jpg","text":"TemporaryFile(/tmp/multipartBody673037082032390841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700143262,"filename":"image_04112025_12_28_43_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81a84943b0fd18a4ced73a8dc52d679e.jpg","text":"TemporaryFile(/tmp/multipartBody5672557501752921328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700143262,"filename":"image_04112025_12_28_31_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/781a7ade0cda3fecbf9702b43f59c168.jpg","text":"TemporaryFile(/tmp/multipartBody3691489001559878644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700143262,"filename":"image_04112025_12_28_40_3007.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c3f614cc8a92075b180cd1a779e50b9e.jpg","text":"TemporaryFile(/tmp/multipartBody4056820537774407786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700143262,"filename":"image_04112025_12_28_29_1579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336886","file1":"1399336885","file0":"1399336884","file4":"1399336888","file5":"1399336889","file3":"1399336887"},"map_files_photo_id_array":[{"photo_id":"1399336889","filename":"file5"},{"photo_id":"1399336886","filename":"file2"},{"photo_id":"1399336888","filename":"file4"},{"photo_id":"1399336885","filename":"file1"},{"photo_id":"1399336884","filename":"file0"},{"photo_id":"1399336887","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336887":["hashtag1","hashtag2"]},{"1399336886":["hashtag1","hashtag2"]},{"1399336889":["hashtag1","hashtag2"]},{"1399336885":["hashtag1","hashtag2"]},{"1399336888":["hashtag1","hashtag2"]},{"1399336884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336887, 1399336886, 1399336889, 1399336885, 1399336888, 1399336884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84786796569824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 09:15:31.800267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:15:41.775100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_46_3556.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_49_2609.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_52_2726.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_58_6222.jpg', '/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_24_26149.jpg', '/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_41_17367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_46_3556.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_49_2609.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_52_2726.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_58_6222.jpg
/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_24_26149.jpg
/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_41_17367.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.922277450561523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:16:02.524859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/49/image_14122025_08_49_45_10759.jpg', '/home/pi/Desktop/images/14122025/08/49/image_14122025_08_49_55_9731.jpg', '/home/pi/Desktop/images/14122025/08/49/image_14122025_08_50_05_9782.jpg', '/home/pi/Desktop/images/14122025/08/50/image_14122025_08_50_15_10579.jpg', '/home/pi/Desktop/images/14122025/08/50/image_14122025_08_50_25_9704.jpg', '/home/pi/Desktop/images/14122025/08/50/image_14122025_08_50_35_9553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/49/image_14122025_08_49_45_10759.jpg
/home/pi/Desktop/images/14122025/08/49/image_14122025_08_49_55_9731.jpg
/home/pi/Desktop/images/14122025/08/49/image_14122025_08_50_05_9782.jpg
/home/pi/Desktop/images/14122025/08/50/image_14122025_08_50_15_10579.jpg
/home/pi/Desktop/images/14122025/08/50/image_14122025_08_50_25_9704.jpg
/home/pi/Desktop/images/14122025/08/50/image_14122025_08_50_35_9553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336905","1399336904","1399336907","1399336897","1399336901","1399336899"],"photo_ids_order":["1399336897","1399336899","1399336901","1399336904","1399336905","1399336907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19d8037c3b6f34de7e1cdc29c056cc38.jpg","text":"TemporaryFile(/tmp/multipartBody6772362995154423154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700223305,"filename":"image_14122025_08_50_25_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9bd34a8a82ba3aba3c17e1e0b0592a3.jpg","text":"TemporaryFile(/tmp/multipartBody7184559022825525323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700223305,"filename":"image_14122025_08_50_15_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c26e349a601572b4ca9718d4be5ca513.jpg","text":"TemporaryFile(/tmp/multipartBody877718143097167017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700223305,"filename":"image_14122025_08_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/12/14/8ab7e6c2edb8e28ef42140b9fc87e93c.jpg","text":"TemporaryFile(/tmp/multipartBody5163682444694552180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700223305,"filename":"image_14122025_08_49_45_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d9c4b5cff3f3df3b0f1167e3fa6e7274.jpg","text":"TemporaryFile(/tmp/multipartBody1534436420377162832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700223305,"filename":"image_14122025_08_50_05_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c979e9e918747a9e9c69ff58585baef.jpg","text":"TemporaryFile(/tmp/multipartBody7175589803328388730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700223305,"filename":"image_14122025_08_49_55_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336901","file1":"1399336899","file0":"1399336897","file4":"1399336905","file5":"1399336907","file3":"1399336904"},"map_files_photo_id_array":[{"photo_id":"1399336907","filename":"file5"},{"photo_id":"1399336901","filename":"file2"},{"photo_id":"1399336905","filename":"file4"},{"photo_id":"1399336899","filename":"file1"},{"photo_id":"1399336897","filename":"file0"},{"photo_id":"1399336904","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336905":["hashtag1","hashtag2"]},{"1399336904":["hashtag1","hashtag2"]},{"1399336907":["hashtag1","hashtag2"]},{"1399336897":["hashtag1","hashtag2"]},{"1399336901":["hashtag1","hashtag2"]},{"1399336899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336905, 1399336904, 1399336907, 1399336897, 1399336901, 1399336899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.808186292648315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:16:41.987842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_46_3556.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_49_2609.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_52_2726.jpg', '/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_58_6222.jpg', '/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_24_26149.jpg', '/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_41_17367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_46_3556.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_49_2609.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_52_2726.jpg
/home/pi/Desktop/images/04112025/12/28/image_04112025_12_28_58_6222.jpg
/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_24_26149.jpg
/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_41_17367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336914","1399336917","1399336916","1399336915","1399336918","1399336912"],"photo_ids_order":["1399336912","1399336914","1399336915","1399336916","1399336917","1399336918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/df2201c4a848f4aedeacba5b3f562958.jpg","text":"TemporaryFile(/tmp/multipartBody5424346289362593258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700262607,"filename":"image_04112025_12_28_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/12/14/cc5ede150c0fd82b0fab523d4d7dbc24.jpg","text":"TemporaryFile(/tmp/multipartBody1562411557421527246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700262607,"filename":"image_04112025_12_29_24_26149.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f9948c850cf4f7dad1f5313252c8612a.jpg","text":"TemporaryFile(/tmp/multipartBody3891518556144361929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700262607,"filename":"image_04112025_12_28_58_6222.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/947a7b6e140bfb3db0f5316bf22a0e7c.jpg","text":"TemporaryFile(/tmp/multipartBody4040084944079299376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700262607,"filename":"image_04112025_12_28_52_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94e7a7a4567080eec6472160b2a7e824.jpg","text":"TemporaryFile(/tmp/multipartBody1618555700931992803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700262607,"filename":"image_04112025_12_29_41_17367.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ccdecd82d73830e1fdd2593f3bc6601c.jpg","text":"TemporaryFile(/tmp/multipartBody2545082952848456248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700262607,"filename":"image_04112025_12_28_46_3556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336915","file1":"1399336914","file0":"1399336912","file4":"1399336917","file5":"1399336918","file3":"1399336916"},"map_files_photo_id_array":[{"photo_id":"1399336918","filename":"file5"},{"photo_id":"1399336915","filename":"file2"},{"photo_id":"1399336917","filename":"file4"},{"photo_id":"1399336914","filename":"file1"},{"photo_id":"1399336912","filename":"file0"},{"photo_id":"1399336916","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336914":["hashtag1","hashtag2"]},{"1399336917":["hashtag1","hashtag2"]},{"1399336916":["hashtag1","hashtag2"]},{"1399336915":["hashtag1","hashtag2"]},{"1399336918":["hashtag1","hashtag2"]},{"1399336912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336914, 1399336917, 1399336916, 1399336915, 1399336918, 1399336912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.203622817993164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:17:22.256622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/50/image_14122025_08_50_45_10660.jpg', '/home/pi/Desktop/images/14122025/08/50/image_14122025_08_50_55_9573.jpg', '/home/pi/Desktop/images/14122025/08/51/image_14122025_08_51_15_10689.jpg', '/home/pi/Desktop/images/14122025/08/51/image_14122025_08_51_25_9509.jpg', '/home/pi/Desktop/images/14122025/08/51/image_14122025_08_51_35_9738.jpg', '/home/pi/Desktop/images/14122025/08/51/image_14122025_08_51_45_10755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/50/image_14122025_08_50_45_10660.jpg
/home/pi/Desktop/images/14122025/08/50/image_14122025_08_50_55_9573.jpg
/home/pi/Desktop/images/14122025/08/51/image_14122025_08_51_15_10689.jpg
/home/pi/Desktop/images/14122025/08/51/image_14122025_08_51_25_9509.jpg
/home/pi/Desktop/images/14122025/08/51/image_14122025_08_51_35_9738.jpg
/home/pi/Desktop/images/14122025/08/51/image_14122025_08_51_45_10755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336923","1399336925","1399336919","1399336921","1399336930","1399336927"],"photo_ids_order":["1399336919","1399336921","1399336923","1399336925","1399336927","1399336930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4dcd915c2906c53cdc9b033af6ae74be.jpg","text":"TemporaryFile(/tmp/multipartBody2181340010353949518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700302886,"filename":"image_14122025_08_51_15_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/65133ac8bdfff73eac1fbe6e8ce1b60f.jpg","text":"TemporaryFile(/tmp/multipartBody7460090892017121334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700302886,"filename":"image_14122025_08_51_25_9509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e1903f17deb378960f433736492f33d1.jpg","text":"TemporaryFile(/tmp/multipartBody7694894264402442412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700302886,"filename":"image_14122025_08_50_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/12/14/13575d48dd334c3e2cdbf9113386b235.jpg","text":"TemporaryFile(/tmp/multipartBody1239538432453965496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700302886,"filename":"image_14122025_08_50_55_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6badd6d0d39ff41cfd31f3d4784c9687.jpg","text":"TemporaryFile(/tmp/multipartBody7332582218110358979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700302886,"filename":"image_14122025_08_51_45_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1dca2f70b424ed4c68f0ea7052422907.jpg","text":"TemporaryFile(/tmp/multipartBody4517643661841000310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700302886,"filename":"image_14122025_08_51_35_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336923","file1":"1399336921","file0":"1399336919","file4":"1399336927","file5":"1399336930","file3":"1399336925"},"map_files_photo_id_array":[{"photo_id":"1399336930","filename":"file5"},{"photo_id":"1399336923","filename":"file2"},{"photo_id":"1399336927","filename":"file4"},{"photo_id":"1399336921","filename":"file1"},{"photo_id":"1399336919","filename":"file0"},{"photo_id":"1399336925","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336923":["hashtag1","hashtag2"]},{"1399336925":["hashtag1","hashtag2"]},{"1399336919":["hashtag1","hashtag2"]},{"1399336921":["hashtag1","hashtag2"]},{"1399336930":["hashtag1","hashtag2"]},{"1399336927":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336923, 1399336925, 1399336919, 1399336921, 1399336930, 1399336927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.403889656066895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:18:03.026575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/51/image_14122025_08_51_55_9743.jpg', '/home/pi/Desktop/images/14122025/08/51/image_14122025_08_52_05_9899.jpg', '/home/pi/Desktop/images/14122025/08/52/image_14122025_08_52_15_9758.jpg', '/home/pi/Desktop/images/14122025/08/52/image_14122025_08_52_25_9772.jpg', '/home/pi/Desktop/images/14122025/08/52/image_14122025_08_52_35_10522.jpg', '/home/pi/Desktop/images/14122025/08/52/image_14122025_08_52_45_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/51/image_14122025_08_51_55_9743.jpg
/home/pi/Desktop/images/14122025/08/51/image_14122025_08_52_05_9899.jpg
/home/pi/Desktop/images/14122025/08/52/image_14122025_08_52_15_9758.jpg
/home/pi/Desktop/images/14122025/08/52/image_14122025_08_52_25_9772.jpg
/home/pi/Desktop/images/14122025/08/52/image_14122025_08_52_35_10522.jpg
/home/pi/Desktop/images/14122025/08/52/image_14122025_08_52_45_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336932","1399336935","1399336937","1399336934","1399336933","1399336936"],"photo_ids_order":["1399336932","1399336933","1399336934","1399336935","1399336936","1399336937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/46d99a558bcefee168a49508851b878d.jpg","text":"TemporaryFile(/tmp/multipartBody4268260832330111003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700343656,"filename":"image_14122025_08_51_55_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/901789e6ae53566d472fe89e95e6f460.jpg","text":"TemporaryFile(/tmp/multipartBody4572574061970243131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700343656,"filename":"image_14122025_08_52_25_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d3d7e64eaf7b6a3577937c3c2378021b.jpg","text":"TemporaryFile(/tmp/multipartBody9173982094041994028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700343656,"filename":"image_14122025_08_52_45_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e8edf558adf65f0d7184b7e79c2bab40.jpg","text":"TemporaryFile(/tmp/multipartBody1207284631070677313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700343656,"filename":"image_14122025_08_52_15_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/904f6c400048867ca62a5528020196ae.jpg","text":"TemporaryFile(/tmp/multipartBody544760855212489067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700343656,"filename":"image_14122025_08_52_05_9899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81c276be914996d3fcd486c0712a4920.jpg","text":"TemporaryFile(/tmp/multipartBody3958103098323867003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700343656,"filename":"image_14122025_08_52_35_10522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336934","file1":"1399336933","file0":"1399336932","file4":"1399336936","file5":"1399336937","file3":"1399336935"},"map_files_photo_id_array":[{"photo_id":"1399336937","filename":"file5"},{"photo_id":"1399336934","filename":"file2"},{"photo_id":"1399336936","filename":"file4"},{"photo_id":"1399336933","filename":"file1"},{"photo_id":"1399336932","filename":"file0"},{"photo_id":"1399336935","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336932":["hashtag1","hashtag2"]},{"1399336935":["hashtag1","hashtag2"]},{"1399336937":["hashtag1","hashtag2"]},{"1399336934":["hashtag1","hashtag2"]},{"1399336933":["hashtag1","hashtag2"]},{"1399336936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336932, 1399336935, 1399336937, 1399336934, 1399336933, 1399336936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.135443449020386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:18:42.525576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_43_1595.jpg', '/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_44_1617.jpg', '/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_47_2681.jpg', '/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_49_1665.jpg', '/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_50_1684.jpg', '/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_52_1645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_43_1595.jpg
/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_44_1617.jpg
/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_47_2681.jpg
/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_49_1665.jpg
/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_50_1684.jpg
/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_52_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":["1399336950","1399336947","1399336949","1399336943","1399336951","1399336945"],"photo_ids_order":["1399336943","1399336945","1399336947","1399336949","1399336950","1399336951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/97054cc13c6d82f38a0df7437860a216.jpg","text":"TemporaryFile(/tmp/multipartBody5975148363323047380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700383326,"filename":"image_04112025_12_29_50_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28d5920550e02a4ffad0e4299860a41c.jpg","text":"TemporaryFile(/tmp/multipartBody2476109292133259696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700383326,"filename":"image_04112025_12_29_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/12/14/dfda724da937c690d5841f046deee022.jpg","text":"TemporaryFile(/tmp/multipartBody5259545467203923816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700383326,"filename":"image_04112025_12_29_49_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1796c925fc071718d52b5717da3f5e88.jpg","text":"TemporaryFile(/tmp/multipartBody2729855298636988442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700383326,"filename":"image_04112025_12_29_43_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef7e5cef32bc8b36f93a4cc2375147a2.jpg","text":"TemporaryFile(/tmp/multipartBody4720506970795837271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700383326,"filename":"image_04112025_12_29_52_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d546ca79f7b779cb6f73346092d23616.jpg","text":"TemporaryFile(/tmp/multipartBody6944209601759280966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700383326,"filename":"image_04112025_12_29_44_1617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336947","file1":"1399336945","file0":"1399336943","file4":"1399336950","file5":"1399336951","file3":"1399336949"},"map_files_photo_id_array":[{"photo_id":"1399336951","filename":"file5"},{"photo_id":"1399336947","filename":"file2"},{"photo_id":"1399336950","filename":"file4"},{"photo_id":"1399336945","filename":"file1"},{"photo_id":"1399336943","filename":"file0"},{"photo_id":"1399336949","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336950":["hashtag1","hashtag2"]},{"1399336947":["hashtag1","hashtag2"]},{"1399336949":["hashtag1","hashtag2"]},{"1399336943":["hashtag1","hashtag2"]},{"1399336951":["hashtag1","hashtag2"]},{"1399336945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336950, 1399336947, 1399336949, 1399336943, 1399336951, 1399336945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98439383506775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:19:22.860645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/52/image_14122025_08_52_55_9752.jpg', '/home/pi/Desktop/images/14122025/08/52/image_14122025_08_53_05_10756.jpg', '/home/pi/Desktop/images/14122025/08/53/image_14122025_08_53_15_9799.jpg', '/home/pi/Desktop/images/14122025/08/53/image_14122025_08_53_25_9817.jpg', '/home/pi/Desktop/images/14122025/08/53/image_14122025_08_53_35_9644.jpg', '/home/pi/Desktop/images/14122025/08/53/image_14122025_08_53_45_10579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/52/image_14122025_08_52_55_9752.jpg
/home/pi/Desktop/images/14122025/08/52/image_14122025_08_53_05_10756.jpg
/home/pi/Desktop/images/14122025/08/53/image_14122025_08_53_15_9799.jpg
/home/pi/Desktop/images/14122025/08/53/image_14122025_08_53_25_9817.jpg
/home/pi/Desktop/images/14122025/08/53/image_14122025_08_53_35_9644.jpg
/home/pi/Desktop/images/14122025/08/53/image_14122025_08_53_45_10579.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46204090118408203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 09:19:32.835924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:19:42.717151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_54_1704.jpg', '/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_55_1597.jpg', '/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_57_1543.jpg', '/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_59_1532.jpg', '/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_07_3011.jpg', '/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_11_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_54_1704.jpg
/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_55_1597.jpg
/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_57_1543.jpg
/home/pi/Desktop/images/04112025/12/29/image_04112025_12_29_59_1532.jpg
/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_07_3011.jpg
/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_11_3587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336968","1399336967","1399336970","1399336966","1399336969","1399336963"],"photo_ids_order":["1399336963","1399336966","1399336967","1399336968","1399336969","1399336970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8d3107ca2f99685efb55561345ecf25e.jpg","text":"TemporaryFile(/tmp/multipartBody7175985530150116755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700443410,"filename":"image_04112025_12_29_59_1532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8aa82a0622b02c2449c7e2e651622400.jpg","text":"TemporaryFile(/tmp/multipartBody3045156219464002217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700443410,"filename":"image_04112025_12_29_57_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90b213f34f2f588282ec6eefaac2f83f.jpg","text":"TemporaryFile(/tmp/multipartBody8429273656185951815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700443410,"filename":"image_04112025_12_31_11_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f8e7cf6c10abd6f99a68c04396163c6.jpg","text":"TemporaryFile(/tmp/multipartBody3632691717783470342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700443410,"filename":"image_04112025_12_29_55_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ee1119c3e5f87ebc4d42212695bae43.jpg","text":"TemporaryFile(/tmp/multipartBody3797820449657342648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700443410,"filename":"image_04112025_12_31_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/421601f83090f10680544082dae95ffd.jpg","text":"TemporaryFile(/tmp/multipartBody6573462861971080109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700443410,"filename":"image_04112025_12_29_54_1704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336967","file1":"1399336966","file0":"1399336963","file4":"1399336969","file5":"1399336970","file3":"1399336968"},"map_files_photo_id_array":[{"photo_id":"1399336970","filename":"file5"},{"photo_id":"1399336967","filename":"file2"},{"photo_id":"1399336969","filename":"file4"},{"photo_id":"1399336966","filename":"file1"},{"photo_id":"1399336963","filename":"file0"},{"photo_id":"1399336968","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336968":["hashtag1","hashtag2"]},{"1399336967":["hashtag1","hashtag2"]},{"1399336970":["hashtag1","hashtag2"]},{"1399336966":["hashtag1","hashtag2"]},{"1399336969":["hashtag1","hashtag2"]},{"1399336963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336968, 1399336967, 1399336970, 1399336966, 1399336969, 1399336963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38366770744324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:20:22.012705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/52/image_14122025_08_52_55_9752.jpg', '/home/pi/Desktop/images/14122025/08/52/image_14122025_08_53_05_10756.jpg', '/home/pi/Desktop/images/14122025/08/53/image_14122025_08_53_15_9799.jpg', '/home/pi/Desktop/images/14122025/08/53/image_14122025_08_53_25_9817.jpg', '/home/pi/Desktop/images/14122025/08/53/image_14122025_08_53_35_9644.jpg', '/home/pi/Desktop/images/14122025/08/53/image_14122025_08_53_45_10579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/52/image_14122025_08_52_55_9752.jpg
/home/pi/Desktop/images/14122025/08/52/image_14122025_08_53_05_10756.jpg
/home/pi/Desktop/images/14122025/08/53/image_14122025_08_53_15_9799.jpg
/home/pi/Desktop/images/14122025/08/53/image_14122025_08_53_25_9817.jpg
/home/pi/Desktop/images/14122025/08/53/image_14122025_08_53_35_9644.jpg
/home/pi/Desktop/images/14122025/08/53/image_14122025_08_53_45_10579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336971","1399336973","1399336979","1399336978","1399336981","1399336975"],"photo_ids_order":["1399336971","1399336973","1399336975","1399336978","1399336979","1399336981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5384e242bfde12608227b422d0076daa.jpg","text":"TemporaryFile(/tmp/multipartBody6639660972112131450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700482656,"filename":"image_14122025_08_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/12/14/ffb56da9b9493ebf04dd9533fb4f69b9.jpg","text":"TemporaryFile(/tmp/multipartBody1544330928009770291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700482656,"filename":"image_14122025_08_53_05_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/39280180417e27e2c4a6786726a6fd64.jpg","text":"TemporaryFile(/tmp/multipartBody6657111856831371323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700482656,"filename":"image_14122025_08_53_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/12/14/0d1151154d02e9d11fc56bb7ad3b3553.jpg","text":"TemporaryFile(/tmp/multipartBody4249639068010071623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700482656,"filename":"image_14122025_08_53_25_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f0451685b710f718818df975ede4db7.jpg","text":"TemporaryFile(/tmp/multipartBody3933320661768857204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700482656,"filename":"image_14122025_08_53_45_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6841b3ca77bfd8b28b399c5a911bf2be.jpg","text":"TemporaryFile(/tmp/multipartBody8078571691433307079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700482656,"filename":"image_14122025_08_53_15_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336975","file1":"1399336973","file0":"1399336971","file4":"1399336979","file5":"1399336981","file3":"1399336978"},"map_files_photo_id_array":[{"photo_id":"1399336981","filename":"file5"},{"photo_id":"1399336975","filename":"file2"},{"photo_id":"1399336979","filename":"file4"},{"photo_id":"1399336973","filename":"file1"},{"photo_id":"1399336971","filename":"file0"},{"photo_id":"1399336978","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336971":["hashtag1","hashtag2"]},{"1399336973":["hashtag1","hashtag2"]},{"1399336979":["hashtag1","hashtag2"]},{"1399336978":["hashtag1","hashtag2"]},{"1399336981":["hashtag1","hashtag2"]},{"1399336975":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336971, 1399336973, 1399336979, 1399336978, 1399336981, 1399336975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.393622159957886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:21:02.883943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/53/image_14122025_08_53_55_9708.jpg', '/home/pi/Desktop/images/14122025/08/53/image_14122025_08_54_05_9742.jpg', '/home/pi/Desktop/images/14122025/08/54/image_14122025_08_54_15_10648.jpg', '/home/pi/Desktop/images/14122025/08/54/image_14122025_08_54_25_9730.jpg', '/home/pi/Desktop/images/14122025/08/54/image_14122025_08_54_35_9589.jpg', '/home/pi/Desktop/images/14122025/08/54/image_14122025_08_54_45_10696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/53/image_14122025_08_53_55_9708.jpg
/home/pi/Desktop/images/14122025/08/53/image_14122025_08_54_05_9742.jpg
/home/pi/Desktop/images/14122025/08/54/image_14122025_08_54_15_10648.jpg
/home/pi/Desktop/images/14122025/08/54/image_14122025_08_54_25_9730.jpg
/home/pi/Desktop/images/14122025/08/54/image_14122025_08_54_35_9589.jpg
/home/pi/Desktop/images/14122025/08/54/image_14122025_08_54_45_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":["1399336986","1399336985","1399336988","1399336982","1399336984","1399336983"],"photo_ids_order":["1399336982","1399336983","1399336984","1399336985","1399336986","1399336988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e1076ebc1b6f370cd3ac26749f92fd03.jpg","text":"TemporaryFile(/tmp/multipartBody3130815060971676287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700523542,"filename":"image_14122025_08_54_35_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db36aec740e80f2fb2ae7f674c605a5b.jpg","text":"TemporaryFile(/tmp/multipartBody9129074933293622797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700523542,"filename":"image_14122025_08_54_25_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4dd67f15b3c20ac47e00a35802aa5197.jpg","text":"TemporaryFile(/tmp/multipartBody8173325070380581496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700523542,"filename":"image_14122025_08_54_45_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/11c3c76cba29c220509b78afa39870a3.jpg","text":"TemporaryFile(/tmp/multipartBody8563531837338629677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700523542,"filename":"image_14122025_08_53_55_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/977b4d6712959ee28f9805b5dbf388c7.jpg","text":"TemporaryFile(/tmp/multipartBody5787803959170581322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700523542,"filename":"image_14122025_08_54_15_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3afbeef96d438e3341c3572dc2dc2f3a.jpg","text":"TemporaryFile(/tmp/multipartBody3671204618422027046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700523542,"filename":"image_14122025_08_54_05_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336984","file1":"1399336983","file0":"1399336982","file4":"1399336986","file5":"1399336988","file3":"1399336985"},"map_files_photo_id_array":[{"photo_id":"1399336988","filename":"file5"},{"photo_id":"1399336984","filename":"file2"},{"photo_id":"1399336986","filename":"file4"},{"photo_id":"1399336983","filename":"file1"},{"photo_id":"1399336982","filename":"file0"},{"photo_id":"1399336985","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399336986":["hashtag1","hashtag2"]},{"1399336985":["hashtag1","hashtag2"]},{"1399336988":["hashtag1","hashtag2"]},{"1399336982":["hashtag1","hashtag2"]},{"1399336984":["hashtag1","hashtag2"]},{"1399336983":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399336986, 1399336985, 1399336988, 1399336982, 1399336984, 1399336983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33026075363159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:21:42.155484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_13_2535.jpg', '/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_17_3570.jpg', '/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_19_2642.jpg', '/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_22_2635.jpg', '/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_26_3620.jpg', '/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_28_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_13_2535.jpg
/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_17_3570.jpg
/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_19_2642.jpg
/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_22_2635.jpg
/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_26_3620.jpg
/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_28_2632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399336997","1399336996","1399336999","1399336993","1399336995","1399336998"],"photo_ids_order":["1399336993","1399336995","1399336996","1399336997","1399336998","1399336999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/946657a2d7e337e486d4b3ac00037f2f.jpg","text":"TemporaryFile(/tmp/multipartBody2094489238525910192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700562845,"filename":"image_04112025_12_31_22_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94a6b1c97e458c95c441c7923e73582c.jpg","text":"TemporaryFile(/tmp/multipartBody7865501017130169855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700562845,"filename":"image_04112025_12_31_19_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ebc7f0af6cd7d25ef57f3c26a1c711f.jpg","text":"TemporaryFile(/tmp/multipartBody8212575819257559878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700562845,"filename":"image_04112025_12_31_28_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3dc52c694c93020c0340aea353c0f919.jpg","text":"TemporaryFile(/tmp/multipartBody2146831694951804522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700562845,"filename":"image_04112025_12_31_13_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9dfaa7c4c3d02c168ece234c98e322fe.jpg","text":"TemporaryFile(/tmp/multipartBody3425131459983341340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700562845,"filename":"image_04112025_12_31_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/12/14/27fae5e5868363f04eea5e8d1897f8d3.jpg","text":"TemporaryFile(/tmp/multipartBody1802059772615439948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700562845,"filename":"image_04112025_12_31_26_3620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399336996","file1":"1399336995","file0":"1399336993","file4":"1399336998","file5":"1399336999","file3":"1399336997"},"map_files_photo_id_array":[{"photo_id":"1399336999","filename":"file5"},{"photo_id":"1399336996","filename":"file2"},{"photo_id":"1399336998","filename":"file4"},{"photo_id":"1399336995","filename":"file1"},{"photo_id":"1399336993","filename":"file0"},{"photo_id":"1399336997","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399336997":["hashtag1","hashtag2"]},{"1399336996":["hashtag1","hashtag2"]},{"1399336999":["hashtag1","hashtag2"]},{"1399336993":["hashtag1","hashtag2"]},{"1399336995":["hashtag1","hashtag2"]},{"1399336998":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399336997, 1399336996, 1399336999, 1399336993, 1399336995, 1399336998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15887403488159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:22:22.406127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/54/image_14122025_08_54_55_9769.jpg', '/home/pi/Desktop/images/14122025/08/54/image_14122025_08_55_05_9622.jpg', '/home/pi/Desktop/images/14122025/08/55/image_14122025_08_55_15_10632.jpg', '/home/pi/Desktop/images/14122025/08/55/image_14122025_08_55_25_9592.jpg', '/home/pi/Desktop/images/14122025/08/55/image_14122025_08_55_35_10583.jpg', '/home/pi/Desktop/images/14122025/08/55/image_14122025_08_55_45_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/54/image_14122025_08_54_55_9769.jpg
/home/pi/Desktop/images/14122025/08/54/image_14122025_08_55_05_9622.jpg
/home/pi/Desktop/images/14122025/08/55/image_14122025_08_55_15_10632.jpg
/home/pi/Desktop/images/14122025/08/55/image_14122025_08_55_25_9592.jpg
/home/pi/Desktop/images/14122025/08/55/image_14122025_08_55_35_10583.jpg
/home/pi/Desktop/images/14122025/08/55/image_14122025_08_55_45_9686.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5043888092041016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 09:22:32.407040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:22:42.372316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_51_23256.jpg', '/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_53_1664.jpg', '/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_55_1707.jpg', '/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_56_1668.jpg', '/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_58_1506.jpg', '/home/pi/Desktop/images/04112025/12/31/image_04112025_12_32_00_1638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_51_23256.jpg
/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_53_1664.jpg
/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_55_1707.jpg
/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_56_1668.jpg
/home/pi/Desktop/images/04112025/12/31/image_04112025_12_31_58_1506.jpg
/home/pi/Desktop/images/04112025/12/31/image_04112025_12_32_00_1638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337013","1399337016","1399337015","1399337014","1399337017","1399337011"],"photo_ids_order":["1399337011","1399337013","1399337014","1399337015","1399337016","1399337017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8e4d7620cd2cb3432892e8fd98b459db.jpg","text":"TemporaryFile(/tmp/multipartBody4870080230606818461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700623083,"filename":"image_04112025_12_31_53_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/86ee6a7f7461df6db0fd57eb3a941052.jpg","text":"TemporaryFile(/tmp/multipartBody7603441949160351756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700623083,"filename":"image_04112025_12_31_58_1506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a5167820516215bb4aa61244eba83fb.jpg","text":"TemporaryFile(/tmp/multipartBody5874933519855033342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700623083,"filename":"image_04112025_12_31_56_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b30b8b50b55a2dd07de92810cc5a32a.jpg","text":"TemporaryFile(/tmp/multipartBody8535310544131023241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700623083,"filename":"image_04112025_12_31_55_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/96723a347e72ef2a61bd1ef65bd59066.jpg","text":"TemporaryFile(/tmp/multipartBody4754485346572216382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700623083,"filename":"image_04112025_12_32_00_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/227a5b92bbaa16d17b95e0df931f44ce.jpg","text":"TemporaryFile(/tmp/multipartBody6781013805559480994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700623083,"filename":"image_04112025_12_31_51_23256.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337014","file1":"1399337013","file0":"1399337011","file4":"1399337016","file5":"1399337017","file3":"1399337015"},"map_files_photo_id_array":[{"photo_id":"1399337017","filename":"file5"},{"photo_id":"1399337014","filename":"file2"},{"photo_id":"1399337016","filename":"file4"},{"photo_id":"1399337013","filename":"file1"},{"photo_id":"1399337011","filename":"file0"},{"photo_id":"1399337015","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337013":["hashtag1","hashtag2"]},{"1399337016":["hashtag1","hashtag2"]},{"1399337015":["hashtag1","hashtag2"]},{"1399337014":["hashtag1","hashtag2"]},{"1399337017":["hashtag1","hashtag2"]},{"1399337011":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337013, 1399337016, 1399337015, 1399337014, 1399337017, 1399337011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97881007194519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:23:22.723037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/54/image_14122025_08_54_55_9769.jpg', '/home/pi/Desktop/images/14122025/08/54/image_14122025_08_55_05_9622.jpg', '/home/pi/Desktop/images/14122025/08/55/image_14122025_08_55_15_10632.jpg', '/home/pi/Desktop/images/14122025/08/55/image_14122025_08_55_25_9592.jpg', '/home/pi/Desktop/images/14122025/08/55/image_14122025_08_55_35_10583.jpg', '/home/pi/Desktop/images/14122025/08/55/image_14122025_08_55_45_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/54/image_14122025_08_54_55_9769.jpg
/home/pi/Desktop/images/14122025/08/54/image_14122025_08_55_05_9622.jpg
/home/pi/Desktop/images/14122025/08/55/image_14122025_08_55_15_10632.jpg
/home/pi/Desktop/images/14122025/08/55/image_14122025_08_55_25_9592.jpg
/home/pi/Desktop/images/14122025/08/55/image_14122025_08_55_35_10583.jpg
/home/pi/Desktop/images/14122025/08/55/image_14122025_08_55_45_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":["1399337027","1399337029","1399337020","1399337023","1399337025","1399337019"],"photo_ids_order":["1399337019","1399337020","1399337023","1399337025","1399337027","1399337029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/55340962c9ff56b62f073e19c8dcea3d.jpg","text":"TemporaryFile(/tmp/multipartBody7073574785853477483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700663337,"filename":"image_14122025_08_55_35_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e1c15efd665a3ba4c8e4a6f7b66c7dc6.jpg","text":"TemporaryFile(/tmp/multipartBody1030641551522806951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700663337,"filename":"image_14122025_08_55_45_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e870cb70ac898f52fcd99434b33150f.jpg","text":"TemporaryFile(/tmp/multipartBody3843712991129938707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700663337,"filename":"image_14122025_08_55_05_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dfafa2365778d039ad3f0c4f8e938896.jpg","text":"TemporaryFile(/tmp/multipartBody2807658215118532113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700663337,"filename":"image_14122025_08_55_15_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b0f12508d630876ac16f1d624ac1d0a.jpg","text":"TemporaryFile(/tmp/multipartBody2857704375937338610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700663337,"filename":"image_14122025_08_55_25_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/098ee9feb1dcace18a719595750a41b9.jpg","text":"TemporaryFile(/tmp/multipartBody9139328856435247803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700663337,"filename":"image_14122025_08_54_55_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337023","file1":"1399337020","file0":"1399337019","file4":"1399337027","file5":"1399337029","file3":"1399337025"},"map_files_photo_id_array":[{"photo_id":"1399337029","filename":"file5"},{"photo_id":"1399337023","filename":"file2"},{"photo_id":"1399337027","filename":"file4"},{"photo_id":"1399337020","filename":"file1"},{"photo_id":"1399337019","filename":"file0"},{"photo_id":"1399337025","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337027":["hashtag1","hashtag2"]},{"1399337029":["hashtag1","hashtag2"]},{"1399337020":["hashtag1","hashtag2"]},{"1399337023":["hashtag1","hashtag2"]},{"1399337025":["hashtag1","hashtag2"]},{"1399337019":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337027, 1399337029, 1399337020, 1399337023, 1399337025, 1399337019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84214782714844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:24:02.568853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/55/image_14122025_08_55_55_9647.jpg', '/home/pi/Desktop/images/14122025/08/55/image_14122025_08_56_05_9769.jpg', '/home/pi/Desktop/images/14122025/08/56/image_14122025_08_56_15_10561.jpg', '/home/pi/Desktop/images/14122025/08/56/image_14122025_08_56_25_9648.jpg', '/home/pi/Desktop/images/14122025/08/56/image_14122025_08_56_35_9798.jpg', '/home/pi/Desktop/images/14122025/08/56/image_14122025_08_56_45_10280.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/55/image_14122025_08_55_55_9647.jpg
/home/pi/Desktop/images/14122025/08/55/image_14122025_08_56_05_9769.jpg
/home/pi/Desktop/images/14122025/08/56/image_14122025_08_56_15_10561.jpg
/home/pi/Desktop/images/14122025/08/56/image_14122025_08_56_25_9648.jpg
/home/pi/Desktop/images/14122025/08/56/image_14122025_08_56_35_9798.jpg
/home/pi/Desktop/images/14122025/08/56/image_14122025_08_56_45_10280.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337036","1399337039","1399337033","1399337035","1399337037","1399337031"],"photo_ids_order":["1399337031","1399337033","1399337035","1399337036","1399337037","1399337039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/985583c24ced9530cbd9e70329d0b271.jpg","text":"TemporaryFile(/tmp/multipartBody8183798043054546051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700703323,"filename":"image_14122025_08_56_25_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/22685d7f53bc3cc5c409154d59558379.jpg","text":"TemporaryFile(/tmp/multipartBody9157941946061498189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700703323,"filename":"image_14122025_08_56_45_10280.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/023f4bd80323b6e311bd501e16fa34b2.jpg","text":"TemporaryFile(/tmp/multipartBody5327656579354063801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700703323,"filename":"image_14122025_08_56_05_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2448feb1484c326859e41251f892bccf.jpg","text":"TemporaryFile(/tmp/multipartBody5049528204119422890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700703323,"filename":"image_14122025_08_56_15_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d0812bb667a5133b925f77eb682aa8b7.jpg","text":"TemporaryFile(/tmp/multipartBody1297639368011109392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700703323,"filename":"image_14122025_08_56_35_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/97ca98b11aabdbb20a9b4db5b106dc9d.jpg","text":"TemporaryFile(/tmp/multipartBody8760396826610243665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700703323,"filename":"image_14122025_08_55_55_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337035","file1":"1399337033","file0":"1399337031","file4":"1399337037","file5":"1399337039","file3":"1399337036"},"map_files_photo_id_array":[{"photo_id":"1399337039","filename":"file5"},{"photo_id":"1399337035","filename":"file2"},{"photo_id":"1399337037","filename":"file4"},{"photo_id":"1399337033","filename":"file1"},{"photo_id":"1399337031","filename":"file0"},{"photo_id":"1399337036","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337036":["hashtag1","hashtag2"]},{"1399337039":["hashtag1","hashtag2"]},{"1399337033":["hashtag1","hashtag2"]},{"1399337035":["hashtag1","hashtag2"]},{"1399337037":["hashtag1","hashtag2"]},{"1399337031":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337036, 1399337039, 1399337033, 1399337035, 1399337037, 1399337031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72307372093201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:24:41.829945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_01_1897.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_03_1682.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_05_1652.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_10_5529.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_12_1534.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_13_1604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_01_1897.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_03_1682.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_05_1652.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_10_5529.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_12_1534.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_13_1604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337049","1399337048","1399337050","1399337047","1399337043","1399337046"],"photo_ids_order":["1399337043","1399337046","1399337047","1399337048","1399337049","1399337050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd9ccffbfa071db712109cf8fe6a023b.jpg","text":"TemporaryFile(/tmp/multipartBody4799200035900321972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700742533,"filename":"image_04112025_12_32_12_1534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e21d0412cffd14568ab535de1f927ce4.jpg","text":"TemporaryFile(/tmp/multipartBody5182544905571187943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700742533,"filename":"image_04112025_12_32_10_5529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ff86496322e0a2c9dad7a6274a45133.jpg","text":"TemporaryFile(/tmp/multipartBody4158253771344762223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700742533,"filename":"image_04112025_12_32_13_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88b164baf924d850de6b65e1593d1dda.jpg","text":"TemporaryFile(/tmp/multipartBody81949856102867517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700742533,"filename":"image_04112025_12_32_05_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/91d17eba7a4aceb5e44e6e556b2778c4.jpg","text":"TemporaryFile(/tmp/multipartBody2185143156156896393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700742533,"filename":"image_04112025_12_32_01_1897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8d584ac14c7194ed910ec4000bfdec6e.jpg","text":"TemporaryFile(/tmp/multipartBody1716960847127532955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700742533,"filename":"image_04112025_12_32_03_1682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337047","file1":"1399337046","file0":"1399337043","file4":"1399337049","file5":"1399337050","file3":"1399337048"},"map_files_photo_id_array":[{"photo_id":"1399337050","filename":"file5"},{"photo_id":"1399337047","filename":"file2"},{"photo_id":"1399337049","filename":"file4"},{"photo_id":"1399337046","filename":"file1"},{"photo_id":"1399337043","filename":"file0"},{"photo_id":"1399337048","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337049":["hashtag1","hashtag2"]},{"1399337048":["hashtag1","hashtag2"]},{"1399337050":["hashtag1","hashtag2"]},{"1399337047":["hashtag1","hashtag2"]},{"1399337043":["hashtag1","hashtag2"]},{"1399337046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337049, 1399337048, 1399337050, 1399337047, 1399337043, 1399337046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61522173881531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:25:22.051037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/56/image_14122025_08_56_56_10647.jpg', '/home/pi/Desktop/images/14122025/08/56/image_14122025_08_57_05_9526.jpg', '/home/pi/Desktop/images/14122025/08/57/image_14122025_08_57_15_9674.jpg', '/home/pi/Desktop/images/14122025/08/57/image_14122025_08_57_25_10567.jpg', '/home/pi/Desktop/images/14122025/08/57/image_14122025_08_57_35_9839.jpg', '/home/pi/Desktop/images/14122025/08/57/image_14122025_08_57_45_9557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/56/image_14122025_08_56_56_10647.jpg
/home/pi/Desktop/images/14122025/08/56/image_14122025_08_57_05_9526.jpg
/home/pi/Desktop/images/14122025/08/57/image_14122025_08_57_15_9674.jpg
/home/pi/Desktop/images/14122025/08/57/image_14122025_08_57_25_10567.jpg
/home/pi/Desktop/images/14122025/08/57/image_14122025_08_57_35_9839.jpg
/home/pi/Desktop/images/14122025/08/57/image_14122025_08_57_45_9557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337063","1399337057","1399337051","1399337059","1399337053","1399337055"],"photo_ids_order":["1399337051","1399337053","1399337055","1399337057","1399337059","1399337063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81a2675cddbc6a8a30fd69794ec2c511.jpg","text":"TemporaryFile(/tmp/multipartBody6524633411837800905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700782664,"filename":"image_14122025_08_57_45_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/11aa3db81416bcd9d65ea8121e33b0e4.jpg","text":"TemporaryFile(/tmp/multipartBody2403208269885948343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700782664,"filename":"image_14122025_08_57_25_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36a94f204c010b60a92ad33f5dbbbd64.jpg","text":"TemporaryFile(/tmp/multipartBody26882624406385556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700782664,"filename":"image_14122025_08_56_56_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/083500f49cc9aa828746164eaac628a6.jpg","text":"TemporaryFile(/tmp/multipartBody4838534810188279415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700782664,"filename":"image_14122025_08_57_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/12/14/1abae6a361088c11e5273d5233e10855.jpg","text":"TemporaryFile(/tmp/multipartBody236471223578538559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700782664,"filename":"image_14122025_08_57_05_9526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e9d40dc329b9018c67b4533fd15a7278.jpg","text":"TemporaryFile(/tmp/multipartBody8769966126630938702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700782664,"filename":"image_14122025_08_57_15_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337055","file1":"1399337053","file0":"1399337051","file4":"1399337059","file5":"1399337063","file3":"1399337057"},"map_files_photo_id_array":[{"photo_id":"1399337063","filename":"file5"},{"photo_id":"1399337055","filename":"file2"},{"photo_id":"1399337059","filename":"file4"},{"photo_id":"1399337053","filename":"file1"},{"photo_id":"1399337051","filename":"file0"},{"photo_id":"1399337057","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337063":["hashtag1","hashtag2"]},{"1399337057":["hashtag1","hashtag2"]},{"1399337051":["hashtag1","hashtag2"]},{"1399337059":["hashtag1","hashtag2"]},{"1399337053":["hashtag1","hashtag2"]},{"1399337055":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337063, 1399337057, 1399337051, 1399337059, 1399337053, 1399337055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31278204917908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:26:02.673514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/57/image_14122025_08_57_55_10636.jpg', '/home/pi/Desktop/images/14122025/08/57/image_14122025_08_58_05_9748.jpg', '/home/pi/Desktop/images/14122025/08/58/image_14122025_08_58_15_9834.jpg', '/home/pi/Desktop/images/14122025/08/58/image_14122025_08_58_25_9666.jpg', '/home/pi/Desktop/images/14122025/08/58/image_14122025_08_58_35_10639.jpg', '/home/pi/Desktop/images/14122025/08/58/image_14122025_08_58_45_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/57/image_14122025_08_57_55_10636.jpg
/home/pi/Desktop/images/14122025/08/57/image_14122025_08_58_05_9748.jpg
/home/pi/Desktop/images/14122025/08/58/image_14122025_08_58_15_9834.jpg
/home/pi/Desktop/images/14122025/08/58/image_14122025_08_58_25_9666.jpg
/home/pi/Desktop/images/14122025/08/58/image_14122025_08_58_35_10639.jpg
/home/pi/Desktop/images/14122025/08/58/image_14122025_08_58_45_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":["1399337066","1399337069","1399337065","1399337068","1399337070","1399337067"],"photo_ids_order":["1399337065","1399337066","1399337067","1399337068","1399337069","1399337070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2c99b774ae470433dff6d0ce9e97385.jpg","text":"TemporaryFile(/tmp/multipartBody2811761677382290063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700823307,"filename":"image_14122025_08_58_05_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/973a690106d69cbf9bc8485fd41d46f8.jpg","text":"TemporaryFile(/tmp/multipartBody432687527722577102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700823307,"filename":"image_14122025_08_58_35_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ba53ee3a95c823c23a309a1ceda1853.jpg","text":"TemporaryFile(/tmp/multipartBody2524150970659260342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700823307,"filename":"image_14122025_08_57_55_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c096f5d18554c4d55cf243976e18be93.jpg","text":"TemporaryFile(/tmp/multipartBody7660366355238136068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700823307,"filename":"image_14122025_08_58_25_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/851f890b19db127499902e1abf73cf00.jpg","text":"TemporaryFile(/tmp/multipartBody5343814906048240649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700823307,"filename":"image_14122025_08_58_45_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/588924fbce4c17295720355f2171b39e.jpg","text":"TemporaryFile(/tmp/multipartBody2698346179168604885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700823307,"filename":"image_14122025_08_58_15_9834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337067","file1":"1399337066","file0":"1399337065","file4":"1399337069","file5":"1399337070","file3":"1399337068"},"map_files_photo_id_array":[{"photo_id":"1399337070","filename":"file5"},{"photo_id":"1399337067","filename":"file2"},{"photo_id":"1399337069","filename":"file4"},{"photo_id":"1399337066","filename":"file1"},{"photo_id":"1399337065","filename":"file0"},{"photo_id":"1399337068","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337066":["hashtag1","hashtag2"]},{"1399337069":["hashtag1","hashtag2"]},{"1399337065":["hashtag1","hashtag2"]},{"1399337068":["hashtag1","hashtag2"]},{"1399337070":["hashtag1","hashtag2"]},{"1399337067":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337066, 1399337069, 1399337065, 1399337068, 1399337070, 1399337067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31644868850708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:26:42.262946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_15_1638.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_17_1488.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_18_1623.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_20_1622.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_22_1694.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_24_2928.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_15_1638.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_17_1488.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_18_1623.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_20_1622.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_22_1694.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_24_2928.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337087","1399337081","1399337083","1399337076","1399337085","1399337079"],"photo_ids_order":["1399337076","1399337079","1399337081","1399337083","1399337085","1399337087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f59370dd899cbe641703d8c2b6163c1.jpg","text":"TemporaryFile(/tmp/multipartBody6211001971567745013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700862958,"filename":"image_04112025_12_32_24_2928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a948216dc0daf8e3c5d7b336e54be33.jpg","text":"TemporaryFile(/tmp/multipartBody860105075289018133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700862958,"filename":"image_04112025_12_32_18_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/99fed577bde2bcbf6fc2cfa22b45b46f.jpg","text":"TemporaryFile(/tmp/multipartBody4728821132485558310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700862958,"filename":"image_04112025_12_32_20_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6071eda6fa3692772c40d9883d2c9c9.jpg","text":"TemporaryFile(/tmp/multipartBody8952823509722311743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700862958,"filename":"image_04112025_12_32_15_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/11b745a61ff19ce3df9982df7fd545d9.jpg","text":"TemporaryFile(/tmp/multipartBody6630755686026368989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700862958,"filename":"image_04112025_12_32_22_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76aacb2b425899949dcf3b56294a2efc.jpg","text":"TemporaryFile(/tmp/multipartBody5959738068228161452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700862958,"filename":"image_04112025_12_32_17_1488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337081","file1":"1399337079","file0":"1399337076","file4":"1399337085","file5":"1399337087","file3":"1399337083"},"map_files_photo_id_array":[{"photo_id":"1399337087","filename":"file5"},{"photo_id":"1399337081","filename":"file2"},{"photo_id":"1399337085","filename":"file4"},{"photo_id":"1399337079","filename":"file1"},{"photo_id":"1399337076","filename":"file0"},{"photo_id":"1399337083","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337087":["hashtag1","hashtag2"]},{"1399337081":["hashtag1","hashtag2"]},{"1399337083":["hashtag1","hashtag2"]},{"1399337076":["hashtag1","hashtag2"]},{"1399337085":["hashtag1","hashtag2"]},{"1399337079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337087, 1399337081, 1399337083, 1399337076, 1399337085, 1399337079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39823865890503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:27:22.540747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/58/image_14122025_08_58_55_9606.jpg', '/home/pi/Desktop/images/14122025/08/58/image_14122025_08_59_05_10668.jpg', '/home/pi/Desktop/images/14122025/08/59/image_14122025_08_59_15_9654.jpg', '/home/pi/Desktop/images/14122025/08/59/image_14122025_08_59_25_9762.jpg', '/home/pi/Desktop/images/14122025/08/59/image_14122025_08_59_35_10659.jpg', '/home/pi/Desktop/images/14122025/08/59/image_14122025_08_59_45_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/58/image_14122025_08_58_55_9606.jpg
/home/pi/Desktop/images/14122025/08/58/image_14122025_08_59_05_10668.jpg
/home/pi/Desktop/images/14122025/08/59/image_14122025_08_59_15_9654.jpg
/home/pi/Desktop/images/14122025/08/59/image_14122025_08_59_25_9762.jpg
/home/pi/Desktop/images/14122025/08/59/image_14122025_08_59_35_10659.jpg
/home/pi/Desktop/images/14122025/08/59/image_14122025_08_59_45_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":["1399337090","1399337096","1399337098","1399337092","1399337101","1399337094"],"photo_ids_order":["1399337090","1399337092","1399337094","1399337096","1399337098","1399337101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/616b459dcc438ad13a7024606b7dd7f4.jpg","text":"TemporaryFile(/tmp/multipartBody6783590126793750181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700903155,"filename":"image_14122025_08_58_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a608fa3bc8cc3378ed65d16ae9dc9b5.jpg","text":"TemporaryFile(/tmp/multipartBody8549594758342957209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700903155,"filename":"image_14122025_08_59_25_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/562c974688102fec1948e4e5519aab33.jpg","text":"TemporaryFile(/tmp/multipartBody2584719280578787266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700903155,"filename":"image_14122025_08_59_35_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/418c5605c1a54c1d5f8a11f8b6cb89ca.jpg","text":"TemporaryFile(/tmp/multipartBody5005131934211487258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700903155,"filename":"image_14122025_08_59_05_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ff0db1ff38a05546fdda5a4ed2f53ef.jpg","text":"TemporaryFile(/tmp/multipartBody5155596280257102739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700903155,"filename":"image_14122025_08_59_45_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d465a7a3d0ce89fc8256cf5d99e5e06.jpg","text":"TemporaryFile(/tmp/multipartBody6660556252901826548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700903155,"filename":"image_14122025_08_59_15_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337094","file1":"1399337092","file0":"1399337090","file4":"1399337098","file5":"1399337101","file3":"1399337096"},"map_files_photo_id_array":[{"photo_id":"1399337101","filename":"file5"},{"photo_id":"1399337094","filename":"file2"},{"photo_id":"1399337098","filename":"file4"},{"photo_id":"1399337092","filename":"file1"},{"photo_id":"1399337090","filename":"file0"},{"photo_id":"1399337096","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337090":["hashtag1","hashtag2"]},{"1399337096":["hashtag1","hashtag2"]},{"1399337098":["hashtag1","hashtag2"]},{"1399337092":["hashtag1","hashtag2"]},{"1399337101":["hashtag1","hashtag2"]},{"1399337094":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337090, 1399337096, 1399337098, 1399337092, 1399337101, 1399337094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55610370635986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:28:03.247586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/59/image_14122025_08_59_55_10057.jpg', '/home/pi/Desktop/images/14122025/09/00/image_14122025_09_00_14_10056.jpg', '/home/pi/Desktop/images/14122025/09/00/image_14122025_09_00_25_10574.jpg', '/home/pi/Desktop/images/14122025/09/00/image_14122025_09_00_34_9709.jpg', '/home/pi/Desktop/images/14122025/09/00/image_14122025_09_00_45_10664.jpg', '/home/pi/Desktop/images/14122025/09/00/image_14122025_09_00_55_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/59/image_14122025_08_59_55_10057.jpg
/home/pi/Desktop/images/14122025/09/00/image_14122025_09_00_14_10056.jpg
/home/pi/Desktop/images/14122025/09/00/image_14122025_09_00_25_10574.jpg
/home/pi/Desktop/images/14122025/09/00/image_14122025_09_00_34_9709.jpg
/home/pi/Desktop/images/14122025/09/00/image_14122025_09_00_45_10664.jpg
/home/pi/Desktop/images/14122025/09/00/image_14122025_09_00_55_9711.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5294735431671143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 09:28:12.875789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:28:22.870968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/08/59/image_14122025_08_59_55_10057.jpg', '/home/pi/Desktop/images/14122025/09/00/image_14122025_09_00_14_10056.jpg', '/home/pi/Desktop/images/14122025/09/00/image_14122025_09_00_25_10574.jpg', '/home/pi/Desktop/images/14122025/09/00/image_14122025_09_00_34_9709.jpg', '/home/pi/Desktop/images/14122025/09/00/image_14122025_09_00_45_10664.jpg', '/home/pi/Desktop/images/14122025/09/00/image_14122025_09_00_55_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/08/59/image_14122025_08_59_55_10057.jpg
/home/pi/Desktop/images/14122025/09/00/image_14122025_09_00_14_10056.jpg
/home/pi/Desktop/images/14122025/09/00/image_14122025_09_00_25_10574.jpg
/home/pi/Desktop/images/14122025/09/00/image_14122025_09_00_34_9709.jpg
/home/pi/Desktop/images/14122025/09/00/image_14122025_09_00_45_10664.jpg
/home/pi/Desktop/images/14122025/09/00/image_14122025_09_00_55_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":["1399337112","1399337114","1399337108","1399337116","1399337110","1399337118"],"photo_ids_order":["1399337108","1399337110","1399337112","1399337114","1399337116","1399337118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0afe1ee15a946fa227eb2ccdc97f6914.jpg","text":"TemporaryFile(/tmp/multipartBody531714616103450566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700963498,"filename":"image_14122025_09_00_25_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b3c71d406d38b12c93d2a9a96b5cde40.jpg","text":"TemporaryFile(/tmp/multipartBody3526598146607892707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700963498,"filename":"image_14122025_09_00_34_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/808fa8c170db104892a9528f78522b67.jpg","text":"TemporaryFile(/tmp/multipartBody4287120907468906057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700963498,"filename":"image_14122025_08_59_55_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/17d5d6449572eb47e6d1430088a70337.jpg","text":"TemporaryFile(/tmp/multipartBody1078497494550170300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700963498,"filename":"image_14122025_09_00_45_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/141d84e6bdebd91c96f39c1553f53b11.jpg","text":"TemporaryFile(/tmp/multipartBody5741846882107913609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700963498,"filename":"image_14122025_09_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/12/14/7f57c47d3b7aee594c465db2ea99ab14.jpg","text":"TemporaryFile(/tmp/multipartBody2667947655306440141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765700963498,"filename":"image_14122025_09_00_55_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337112","file1":"1399337110","file0":"1399337108","file4":"1399337116","file5":"1399337118","file3":"1399337114"},"map_files_photo_id_array":[{"photo_id":"1399337118","filename":"file5"},{"photo_id":"1399337112","filename":"file2"},{"photo_id":"1399337116","filename":"file4"},{"photo_id":"1399337110","filename":"file1"},{"photo_id":"1399337108","filename":"file0"},{"photo_id":"1399337114","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337112":["hashtag1","hashtag2"]},{"1399337114":["hashtag1","hashtag2"]},{"1399337108":["hashtag1","hashtag2"]},{"1399337116":["hashtag1","hashtag2"]},{"1399337110":["hashtag1","hashtag2"]},{"1399337118":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337112, 1399337114, 1399337108, 1399337116, 1399337110, 1399337118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47744345664978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:29:03.136150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/00/image_14122025_09_01_04_9592.jpg', '/home/pi/Desktop/images/14122025/09/01/image_14122025_09_01_14_9745.jpg', '/home/pi/Desktop/images/14122025/09/01/image_14122025_09_01_25_10596.jpg', '/home/pi/Desktop/images/14122025/09/01/image_14122025_09_01_35_9810.jpg', '/home/pi/Desktop/images/14122025/09/01/image_14122025_09_01_44_9700.jpg', '/home/pi/Desktop/images/14122025/09/01/image_14122025_09_02_05_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/00/image_14122025_09_01_04_9592.jpg
/home/pi/Desktop/images/14122025/09/01/image_14122025_09_01_14_9745.jpg
/home/pi/Desktop/images/14122025/09/01/image_14122025_09_01_25_10596.jpg
/home/pi/Desktop/images/14122025/09/01/image_14122025_09_01_35_9810.jpg
/home/pi/Desktop/images/14122025/09/01/image_14122025_09_01_44_9700.jpg
/home/pi/Desktop/images/14122025/09/01/image_14122025_09_02_05_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":["1399337121","1399337123","1399337126","1399337122","1399337119","1399337124"],"photo_ids_order":["1399337119","1399337121","1399337122","1399337123","1399337124","1399337126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/41d3493728a947d85e44d9ff42e26195.jpg","text":"TemporaryFile(/tmp/multipartBody8615713601047468135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701003930,"filename":"image_14122025_09_01_14_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a36c8f177e42cfcaa300e84170794b92.jpg","text":"TemporaryFile(/tmp/multipartBody3399667758527527950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701003930,"filename":"image_14122025_09_01_35_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21895f74c25bd040626b13ed3125c85f.jpg","text":"TemporaryFile(/tmp/multipartBody7618862036572364717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701003930,"filename":"image_14122025_09_02_05_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c13dd980a392077f8967114ac7d2e4d8.jpg","text":"TemporaryFile(/tmp/multipartBody2634129279930053892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701003930,"filename":"image_14122025_09_01_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/12/14/004ef628e767e32a2da3a42033a70eca.jpg","text":"TemporaryFile(/tmp/multipartBody422043059867774696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701003930,"filename":"image_14122025_09_01_04_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/061f2bf944e85df018dc6ceedcaba542.jpg","text":"TemporaryFile(/tmp/multipartBody4226853308592998653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701003930,"filename":"image_14122025_09_01_44_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337122","file1":"1399337121","file0":"1399337119","file4":"1399337124","file5":"1399337126","file3":"1399337123"},"map_files_photo_id_array":[{"photo_id":"1399337126","filename":"file5"},{"photo_id":"1399337122","filename":"file2"},{"photo_id":"1399337124","filename":"file4"},{"photo_id":"1399337121","filename":"file1"},{"photo_id":"1399337119","filename":"file0"},{"photo_id":"1399337123","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337121":["hashtag1","hashtag2"]},{"1399337123":["hashtag1","hashtag2"]},{"1399337126":["hashtag1","hashtag2"]},{"1399337122":["hashtag1","hashtag2"]},{"1399337119":["hashtag1","hashtag2"]},{"1399337124":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337121, 1399337123, 1399337126, 1399337122, 1399337119, 1399337124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.191781997680664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:29:42.136951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_26_1616.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_28_1774.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_41_13203.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_43_1716.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_44_1545.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_46_1811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_26_1616.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_28_1774.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_41_13203.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_43_1716.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_44_1545.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_46_1811.jpg
 val : 1 : upload photos 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":["1399337141","1399337132","1399337140","1399337137","1399337136","1399337139"],"photo_ids_order":["1399337132","1399337136","1399337137","1399337139","1399337140","1399337141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/09d1b585292afcf1cbd446957d18e7a8.jpg","text":"TemporaryFile(/tmp/multipartBody3125258181888846051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701042825,"filename":"image_04112025_12_32_46_1811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ab0f922feafe4335c805c13f414a3b8.jpg","text":"TemporaryFile(/tmp/multipartBody503367900176771180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701042825,"filename":"image_04112025_12_32_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/12/14/b6de498008f1d7581c91d82db931c1a6.jpg","text":"TemporaryFile(/tmp/multipartBody4609178137348892231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701042825,"filename":"image_04112025_12_32_44_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bbadbcf13baf072a024cf45475acdc23.jpg","text":"TemporaryFile(/tmp/multipartBody2947508123920551629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701042825,"filename":"image_04112025_12_32_41_13203.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ed9158b6f399219d8713ca58930bc90.jpg","text":"TemporaryFile(/tmp/multipartBody11467286443564494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701042825,"filename":"image_04112025_12_32_28_1774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cfcd29ba81e37ae0f0cf6dcbae4d4060.jpg","text":"TemporaryFile(/tmp/multipartBody3137846461261069551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701042825,"filename":"image_04112025_12_32_43_1716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337137","file1":"1399337136","file0":"1399337132","file4":"1399337140","file5":"1399337141","file3":"1399337139"},"map_files_photo_id_array":[{"photo_id":"1399337141","filename":"file5"},{"photo_id":"1399337137","filename":"file2"},{"photo_id":"1399337140","filename":"file4"},{"photo_id":"1399337136","filename":"file1"},{"photo_id":"1399337132","filename":"file0"},{"photo_id":"1399337139","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337141":["hashtag1","hashtag2"]},{"1399337132":["hashtag1","hashtag2"]},{"1399337140":["hashtag1","hashtag2"]},{"1399337137":["hashtag1","hashtag2"]},{"1399337136":["hashtag1","hashtag2"]},{"1399337139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337141, 1399337132, 1399337140, 1399337137, 1399337136, 1399337139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.19327783584595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:31:03.225021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/02/image_14122025_09_02_14_9771.jpg', '/home/pi/Desktop/images/14122025/09/02/image_14122025_09_02_35_9586.jpg', '/home/pi/Desktop/images/14122025/09/02/image_14122025_09_02_55_10703.jpg', '/home/pi/Desktop/images/14122025/09/02/image_14122025_09_03_05_9752.jpg', '/home/pi/Desktop/images/14122025/09/03/image_14122025_09_03_24_9815.jpg', '/home/pi/Desktop/images/14122025/09/03/image_14122025_09_03_45_9855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/02/image_14122025_09_02_14_9771.jpg
/home/pi/Desktop/images/14122025/09/02/image_14122025_09_02_35_9586.jpg
/home/pi/Desktop/images/14122025/09/02/image_14122025_09_02_55_10703.jpg
/home/pi/Desktop/images/14122025/09/02/image_14122025_09_03_05_9752.jpg
/home/pi/Desktop/images/14122025/09/03/image_14122025_09_03_24_9815.jpg
/home/pi/Desktop/images/14122025/09/03/image_14122025_09_03_45_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":["1399337148","1399337153","1399337155","1399337149","1399337157","1399337151"],"photo_ids_order":["1399337148","1399337149","1399337151","1399337153","1399337155","1399337157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b2f9e751fd1f2f66e9d3daa59b3c34e.jpg","text":"TemporaryFile(/tmp/multipartBody4160366755072508712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701123969,"filename":"image_14122025_09_02_14_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28ff2190e6b6a8e4313f18005f795ac4.jpg","text":"TemporaryFile(/tmp/multipartBody4306081328976347461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701123969,"filename":"image_14122025_09_03_05_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd1ec93589934a4b1e6a10e7d369c7ff.jpg","text":"TemporaryFile(/tmp/multipartBody3033349012311642356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701123969,"filename":"image_14122025_09_03_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/12/14/63a0c5ada05adf090a9ba8a14b84475b.jpg","text":"TemporaryFile(/tmp/multipartBody7961272961601569696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701123969,"filename":"image_14122025_09_02_35_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b961a97db3bdffeb6111044304e663b2.jpg","text":"TemporaryFile(/tmp/multipartBody4550371312703724591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701123969,"filename":"image_14122025_09_03_45_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c7822aff6d2510597807bc46bfe8aef.jpg","text":"TemporaryFile(/tmp/multipartBody2502804676382590414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701123969,"filename":"image_14122025_09_02_55_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337151","file1":"1399337149","file0":"1399337148","file4":"1399337155","file5":"1399337157","file3":"1399337153"},"map_files_photo_id_array":[{"photo_id":"1399337157","filename":"file5"},{"photo_id":"1399337151","filename":"file2"},{"photo_id":"1399337155","filename":"file4"},{"photo_id":"1399337149","filename":"file1"},{"photo_id":"1399337148","filename":"file0"},{"photo_id":"1399337153","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337148":["hashtag1","hashtag2"]},{"1399337153":["hashtag1","hashtag2"]},{"1399337155":["hashtag1","hashtag2"]},{"1399337149":["hashtag1","hashtag2"]},{"1399337157":["hashtag1","hashtag2"]},{"1399337151":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337148, 1399337153, 1399337155, 1399337149, 1399337157, 1399337151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.420356035232544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:31:42.606182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_48_1505.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_49_1762.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_51_1541.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_53_1822.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_55_2687.jpg', '/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_48_1505.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_49_1762.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_51_1541.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_53_1822.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_55_2687.jpg
/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_07_3011.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5757236480712891 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:32:02.230209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/03/image_14122025_09_03_54_9602.jpg', '/home/pi/Desktop/images/14122025/09/03/image_14122025_09_04_05_10658.jpg', '/home/pi/Desktop/images/14122025/09/04/image_14122025_09_04_15_9795.jpg', '/home/pi/Desktop/images/14122025/09/04/image_14122025_09_04_25_9748.jpg', '/home/pi/Desktop/images/14122025/09/04/image_14122025_09_04_34_9803.jpg', '/home/pi/Desktop/images/14122025/09/04/image_14122025_09_04_45_10564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/03/image_14122025_09_03_54_9602.jpg
/home/pi/Desktop/images/14122025/09/03/image_14122025_09_04_05_10658.jpg
/home/pi/Desktop/images/14122025/09/04/image_14122025_09_04_15_9795.jpg
/home/pi/Desktop/images/14122025/09/04/image_14122025_09_04_25_9748.jpg
/home/pi/Desktop/images/14122025/09/04/image_14122025_09_04_34_9803.jpg
/home/pi/Desktop/images/14122025/09/04/image_14122025_09_04_45_10564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337174","1399337177","1399337170","1399337173","1399337172","1399337175"],"photo_ids_order":["1399337170","1399337172","1399337173","1399337174","1399337175","1399337177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0110a0ca4f343b68b35da1deb8d9ef58.jpg","text":"TemporaryFile(/tmp/multipartBody3737284441120467213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701182859,"filename":"image_14122025_09_04_25_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e126bb5aa9cc9602d15d1a26e99ae72.jpg","text":"TemporaryFile(/tmp/multipartBody8111616407850876884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701182859,"filename":"image_14122025_09_04_45_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/16f2e083043ee5a64e15d08e3824f9ca.jpg","text":"TemporaryFile(/tmp/multipartBody867339495343663117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701182859,"filename":"image_14122025_09_03_54_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/abfc471c041b77471d2d7aad11227b76.jpg","text":"TemporaryFile(/tmp/multipartBody1525822706397155786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701182859,"filename":"image_14122025_09_04_15_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d8b50905a574765231a20df874fd7fba.jpg","text":"TemporaryFile(/tmp/multipartBody3012404434819857768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701182859,"filename":"image_14122025_09_04_05_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/108d9ac5ec4682795bd9eb55ac5b48ce.jpg","text":"TemporaryFile(/tmp/multipartBody1528926186891625213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701182859,"filename":"image_14122025_09_04_34_9803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337173","file1":"1399337172","file0":"1399337170","file4":"1399337175","file5":"1399337177","file3":"1399337174"},"map_files_photo_id_array":[{"photo_id":"1399337177","filename":"file5"},{"photo_id":"1399337173","filename":"file2"},{"photo_id":"1399337175","filename":"file4"},{"photo_id":"1399337172","filename":"file1"},{"photo_id":"1399337170","filename":"file0"},{"photo_id":"1399337174","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337174":["hashtag1","hashtag2"]},{"1399337177":["hashtag1","hashtag2"]},{"1399337170":["hashtag1","hashtag2"]},{"1399337173":["hashtag1","hashtag2"]},{"1399337172":["hashtag1","hashtag2"]},{"1399337175":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337174, 1399337177, 1399337170, 1399337173, 1399337172, 1399337175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00139594078064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:32:41.812967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_48_1505.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_49_1762.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_51_1541.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_53_1822.jpg', '/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_55_2687.jpg', '/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_48_1505.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_49_1762.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_51_1541.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_53_1822.jpg
/home/pi/Desktop/images/04112025/12/32/image_04112025_12_32_55_2687.jpg
/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_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":["1399337186","1399337189","1399337188","1399337182","1399337185","1399337187"],"photo_ids_order":["1399337182","1399337185","1399337186","1399337187","1399337188","1399337189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c8b8f7cf87e1bb4858f66f6f553b13d5.jpg","text":"TemporaryFile(/tmp/multipartBody4438213268137681180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701222396,"filename":"image_04112025_12_32_51_1541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aaa8d84e63989b84f9ba0a28f4373d35.jpg","text":"TemporaryFile(/tmp/multipartBody8516306558295150673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701222396,"filename":"image_04112025_12_35_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3db0cdce98674380f703428681919121.jpg","text":"TemporaryFile(/tmp/multipartBody7189919196151919762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701222396,"filename":"image_04112025_12_32_55_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fcabb5dd2f4eb073df2468897164142d.jpg","text":"TemporaryFile(/tmp/multipartBody2644357785740038487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701222396,"filename":"image_04112025_12_32_48_1505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/de6728b9049de783642177e19aa8d738.jpg","text":"TemporaryFile(/tmp/multipartBody353634789178684371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701222396,"filename":"image_04112025_12_32_49_1762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b70eccec8c0abbae4822ca25fb1fff1d.jpg","text":"TemporaryFile(/tmp/multipartBody7889000475234005864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701222396,"filename":"image_04112025_12_32_53_1822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337186","file1":"1399337185","file0":"1399337182","file4":"1399337188","file5":"1399337189","file3":"1399337187"},"map_files_photo_id_array":[{"photo_id":"1399337189","filename":"file5"},{"photo_id":"1399337186","filename":"file2"},{"photo_id":"1399337188","filename":"file4"},{"photo_id":"1399337185","filename":"file1"},{"photo_id":"1399337182","filename":"file0"},{"photo_id":"1399337187","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337186":["hashtag1","hashtag2"]},{"1399337189":["hashtag1","hashtag2"]},{"1399337188":["hashtag1","hashtag2"]},{"1399337182":["hashtag1","hashtag2"]},{"1399337185":["hashtag1","hashtag2"]},{"1399337187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337186, 1399337189, 1399337188, 1399337182, 1399337185, 1399337187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59811854362488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:33:22.032238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/04/image_14122025_09_04_55_9740.jpg', '/home/pi/Desktop/images/14122025/09/04/image_14122025_09_05_04_9668.jpg', '/home/pi/Desktop/images/14122025/09/05/image_14122025_09_05_15_10596.jpg', '/home/pi/Desktop/images/14122025/09/05/image_14122025_09_05_25_9766.jpg', '/home/pi/Desktop/images/14122025/09/05/image_14122025_09_05_35_9893.jpg', '/home/pi/Desktop/images/14122025/09/05/image_14122025_09_05_44_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/04/image_14122025_09_04_55_9740.jpg
/home/pi/Desktop/images/14122025/09/04/image_14122025_09_05_04_9668.jpg
/home/pi/Desktop/images/14122025/09/05/image_14122025_09_05_15_10596.jpg
/home/pi/Desktop/images/14122025/09/05/image_14122025_09_05_25_9766.jpg
/home/pi/Desktop/images/14122025/09/05/image_14122025_09_05_35_9893.jpg
/home/pi/Desktop/images/14122025/09/05/image_14122025_09_05_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":["1399337198","1399337192","1399337201","1399337194","1399337190","1399337196"],"photo_ids_order":["1399337190","1399337192","1399337194","1399337196","1399337198","1399337201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4008b5a2e37c2f56d975097672715ccd.jpg","text":"TemporaryFile(/tmp/multipartBody7885488427596447340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701262681,"filename":"image_14122025_09_05_35_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/75d93ac262133ed2a35ed3bcd6590e4d.jpg","text":"TemporaryFile(/tmp/multipartBody448543173329745475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701262681,"filename":"image_14122025_09_05_04_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/698a80e189e337a89b5984a5dd3dc756.jpg","text":"TemporaryFile(/tmp/multipartBody7090198732156753627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701262681,"filename":"image_14122025_09_05_44_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81ce30c7b00a98598f53da055e03b430.jpg","text":"TemporaryFile(/tmp/multipartBody3938111616270643594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701262681,"filename":"image_14122025_09_05_15_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/959a5c5d267521def3ee3c0a710caa15.jpg","text":"TemporaryFile(/tmp/multipartBody7533387667879314870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701262681,"filename":"image_14122025_09_04_55_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8975834486318151042b9c7b611c65a1.jpg","text":"TemporaryFile(/tmp/multipartBody1163650983772556135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701262681,"filename":"image_14122025_09_05_25_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337194","file1":"1399337192","file0":"1399337190","file4":"1399337198","file5":"1399337201","file3":"1399337196"},"map_files_photo_id_array":[{"photo_id":"1399337201","filename":"file5"},{"photo_id":"1399337194","filename":"file2"},{"photo_id":"1399337198","filename":"file4"},{"photo_id":"1399337192","filename":"file1"},{"photo_id":"1399337190","filename":"file0"},{"photo_id":"1399337196","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337198":["hashtag1","hashtag2"]},{"1399337192":["hashtag1","hashtag2"]},{"1399337201":["hashtag1","hashtag2"]},{"1399337194":["hashtag1","hashtag2"]},{"1399337190":["hashtag1","hashtag2"]},{"1399337196":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337198, 1399337192, 1399337201, 1399337194, 1399337190, 1399337196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90671110153198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:34:02.962121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/05/image_14122025_09_05_54_9850.jpg', '/home/pi/Desktop/images/14122025/09/05/image_14122025_09_06_05_10670.jpg', '/home/pi/Desktop/images/14122025/09/06/image_14122025_09_06_15_9765.jpg', '/home/pi/Desktop/images/14122025/09/06/image_14122025_09_06_24_9708.jpg', '/home/pi/Desktop/images/14122025/09/06/image_14122025_09_06_35_10723.jpg', '/home/pi/Desktop/images/14122025/09/06/image_14122025_09_06_45_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/05/image_14122025_09_05_54_9850.jpg
/home/pi/Desktop/images/14122025/09/05/image_14122025_09_06_05_10670.jpg
/home/pi/Desktop/images/14122025/09/06/image_14122025_09_06_15_9765.jpg
/home/pi/Desktop/images/14122025/09/06/image_14122025_09_06_24_9708.jpg
/home/pi/Desktop/images/14122025/09/06/image_14122025_09_06_35_10723.jpg
/home/pi/Desktop/images/14122025/09/06/image_14122025_09_06_45_9587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337205","1399337208","1399337204","1399337207","1399337209","1399337206"],"photo_ids_order":["1399337204","1399337205","1399337206","1399337207","1399337208","1399337209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0658da075430ce76f97d9a4bc55cc368.jpg","text":"TemporaryFile(/tmp/multipartBody2376228681364995147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701303706,"filename":"image_14122025_09_06_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/12/14/ca42855ae5c7d3e3176f06967c1d7efb.jpg","text":"TemporaryFile(/tmp/multipartBody4663882182459691284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701303706,"filename":"image_14122025_09_06_35_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/402d337599a8b64ff91250aff7cae9fb.jpg","text":"TemporaryFile(/tmp/multipartBody1841083097526007638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701303706,"filename":"image_14122025_09_05_54_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d600eabe7fb6bae1fa4cd6fa0cc064a.jpg","text":"TemporaryFile(/tmp/multipartBody1864987358135978188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701303706,"filename":"image_14122025_09_06_24_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c777f0497c66c17a4b436ce296517ba4.jpg","text":"TemporaryFile(/tmp/multipartBody1569183541776068671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701303706,"filename":"image_14122025_09_06_45_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/16f2c141e109b0ea11280e0901303a16.jpg","text":"TemporaryFile(/tmp/multipartBody7427465653148768397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701303706,"filename":"image_14122025_09_06_15_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337206","file1":"1399337205","file0":"1399337204","file4":"1399337208","file5":"1399337209","file3":"1399337207"},"map_files_photo_id_array":[{"photo_id":"1399337209","filename":"file5"},{"photo_id":"1399337206","filename":"file2"},{"photo_id":"1399337208","filename":"file4"},{"photo_id":"1399337205","filename":"file1"},{"photo_id":"1399337204","filename":"file0"},{"photo_id":"1399337207","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337205":["hashtag1","hashtag2"]},{"1399337208":["hashtag1","hashtag2"]},{"1399337204":["hashtag1","hashtag2"]},{"1399337207":["hashtag1","hashtag2"]},{"1399337209":["hashtag1","hashtag2"]},{"1399337206":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337205, 1399337208, 1399337204, 1399337207, 1399337209, 1399337206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51619744300842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:34:42.371673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_10_3490.jpg', '/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_26_15354.jpg', '/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_27_1685.jpg', '/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_29_1818.jpg', '/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_31_1515.jpg', '/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_40_9328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_10_3490.jpg
/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_26_15354.jpg
/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_27_1685.jpg
/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_29_1818.jpg
/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_31_1515.jpg
/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_40_9328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337226","1399337220","1399337214","1399337222","1399337225","1399337218"],"photo_ids_order":["1399337214","1399337218","1399337220","1399337222","1399337225","1399337226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c16bce91593205b88dfe4528d63a539c.jpg","text":"TemporaryFile(/tmp/multipartBody6217520550125449059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701343123,"filename":"image_04112025_12_35_40_9328.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ccb72b72c5ff9413359d513c8a73c82.jpg","text":"TemporaryFile(/tmp/multipartBody4853087050179730276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701343123,"filename":"image_04112025_12_35_27_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f73523cdb32bc7d2cd815085aa8837d.jpg","text":"TemporaryFile(/tmp/multipartBody866633671883853773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701343123,"filename":"image_04112025_12_35_10_3490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b45b708f4ccbbe242b2fb2abbfbe5593.jpg","text":"TemporaryFile(/tmp/multipartBody325893612231202887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701343123,"filename":"image_04112025_12_35_29_1818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/589a45c86c0c89581c506172f9212f82.jpg","text":"TemporaryFile(/tmp/multipartBody6713729059237075201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701343123,"filename":"image_04112025_12_35_31_1515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/440e17796491ef9eebbedf1689067d27.jpg","text":"TemporaryFile(/tmp/multipartBody3826959292453606071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701343123,"filename":"image_04112025_12_35_26_15354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337220","file1":"1399337218","file0":"1399337214","file4":"1399337225","file5":"1399337226","file3":"1399337222"},"map_files_photo_id_array":[{"photo_id":"1399337226","filename":"file5"},{"photo_id":"1399337220","filename":"file2"},{"photo_id":"1399337225","filename":"file4"},{"photo_id":"1399337218","filename":"file1"},{"photo_id":"1399337214","filename":"file0"},{"photo_id":"1399337222","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337226":["hashtag1","hashtag2"]},{"1399337220":["hashtag1","hashtag2"]},{"1399337214":["hashtag1","hashtag2"]},{"1399337222":["hashtag1","hashtag2"]},{"1399337225":["hashtag1","hashtag2"]},{"1399337218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337226, 1399337220, 1399337214, 1399337222, 1399337225, 1399337218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80932140350342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:35:22.718423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/06/image_14122025_09_06_54_9567.jpg', '/home/pi/Desktop/images/14122025/09/06/image_14122025_09_07_05_10767.jpg', '/home/pi/Desktop/images/14122025/09/07/image_14122025_09_07_15_9743.jpg', '/home/pi/Desktop/images/14122025/09/07/image_14122025_09_07_24_9663.jpg', '/home/pi/Desktop/images/14122025/09/07/image_14122025_09_07_34_9787.jpg', '/home/pi/Desktop/images/14122025/09/07/image_14122025_09_07_45_10738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/06/image_14122025_09_06_54_9567.jpg
/home/pi/Desktop/images/14122025/09/06/image_14122025_09_07_05_10767.jpg
/home/pi/Desktop/images/14122025/09/07/image_14122025_09_07_15_9743.jpg
/home/pi/Desktop/images/14122025/09/07/image_14122025_09_07_24_9663.jpg
/home/pi/Desktop/images/14122025/09/07/image_14122025_09_07_34_9787.jpg
/home/pi/Desktop/images/14122025/09/07/image_14122025_09_07_45_10738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337229","1399337234","1399337231","1399337239","1399337233","1399337236"],"photo_ids_order":["1399337229","1399337231","1399337233","1399337234","1399337236","1399337239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d39473310618a398e41a75cf6aeb5cec.jpg","text":"TemporaryFile(/tmp/multipartBody8314046484320438128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701383330,"filename":"image_14122025_09_06_54_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b2a867556843209464efacf53daefec8.jpg","text":"TemporaryFile(/tmp/multipartBody9217706542792259390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701383330,"filename":"image_14122025_09_07_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/12/14/aaad7d8bc33524afb5dd4265b648de0a.jpg","text":"TemporaryFile(/tmp/multipartBody4281088657055311390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701383330,"filename":"image_14122025_09_07_05_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/282746407d793a51554f5dfc3cc82f37.jpg","text":"TemporaryFile(/tmp/multipartBody1693877765454472494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701383330,"filename":"image_14122025_09_07_45_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/584d3963b5f2a227534d49acd54b411c.jpg","text":"TemporaryFile(/tmp/multipartBody5400067050937202190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701383330,"filename":"image_14122025_09_07_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/12/14/30c4d9476fdca9c9905629da30ba4543.jpg","text":"TemporaryFile(/tmp/multipartBody1991889187304673805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701383330,"filename":"image_14122025_09_07_34_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337233","file1":"1399337231","file0":"1399337229","file4":"1399337236","file5":"1399337239","file3":"1399337234"},"map_files_photo_id_array":[{"photo_id":"1399337239","filename":"file5"},{"photo_id":"1399337233","filename":"file2"},{"photo_id":"1399337236","filename":"file4"},{"photo_id":"1399337231","filename":"file1"},{"photo_id":"1399337229","filename":"file0"},{"photo_id":"1399337234","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337229":["hashtag1","hashtag2"]},{"1399337234":["hashtag1","hashtag2"]},{"1399337231":["hashtag1","hashtag2"]},{"1399337239":["hashtag1","hashtag2"]},{"1399337233":["hashtag1","hashtag2"]},{"1399337236":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337229, 1399337234, 1399337231, 1399337239, 1399337233, 1399337236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83877730369568 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:36:02.293605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/07/image_14122025_09_07_55_9908.jpg', '/home/pi/Desktop/images/14122025/09/07/image_14122025_09_08_04_9671.jpg', '/home/pi/Desktop/images/14122025/09/08/image_14122025_09_08_14_9732.jpg', '/home/pi/Desktop/images/14122025/09/08/image_14122025_09_08_35_9672.jpg', '/home/pi/Desktop/images/14122025/09/08/image_14122025_09_08_44_9560.jpg', '/home/pi/Desktop/images/14122025/09/08/image_14122025_09_08_55_10871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/07/image_14122025_09_07_55_9908.jpg
/home/pi/Desktop/images/14122025/09/07/image_14122025_09_08_04_9671.jpg
/home/pi/Desktop/images/14122025/09/08/image_14122025_09_08_14_9732.jpg
/home/pi/Desktop/images/14122025/09/08/image_14122025_09_08_35_9672.jpg
/home/pi/Desktop/images/14122025/09/08/image_14122025_09_08_44_9560.jpg
/home/pi/Desktop/images/14122025/09/08/image_14122025_09_08_55_10871.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337247","1399337246","1399337249","1399337243","1399337245","1399337241"],"photo_ids_order":["1399337241","1399337243","1399337245","1399337246","1399337247","1399337249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/109bceb744c881010414b6c40c6d0f29.jpg","text":"TemporaryFile(/tmp/multipartBody3106212796832879921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701422918,"filename":"image_14122025_09_08_44_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/86a222c02b95aa0793ccd8c8e8b3f65d.jpg","text":"TemporaryFile(/tmp/multipartBody2020348773325397212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701422918,"filename":"image_14122025_09_08_35_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24c0333ac890baf712f548adfa6e395b.jpg","text":"TemporaryFile(/tmp/multipartBody7405482115016281847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701422918,"filename":"image_14122025_09_08_55_10871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ccc7db278e772b687815e3712ec483be.jpg","text":"TemporaryFile(/tmp/multipartBody1879034599723555554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701422918,"filename":"image_14122025_09_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/12/14/e95f117a7f2bf474a1a783ad2ee65109.jpg","text":"TemporaryFile(/tmp/multipartBody9124063458631765316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701422918,"filename":"image_14122025_09_08_14_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c68e6d5513b3db7621e8a1b4a7b5b1f7.jpg","text":"TemporaryFile(/tmp/multipartBody8967573161597255289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701422918,"filename":"image_14122025_09_07_55_9908.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337245","file1":"1399337243","file0":"1399337241","file4":"1399337247","file5":"1399337249","file3":"1399337246"},"map_files_photo_id_array":[{"photo_id":"1399337249","filename":"file5"},{"photo_id":"1399337245","filename":"file2"},{"photo_id":"1399337247","filename":"file4"},{"photo_id":"1399337243","filename":"file1"},{"photo_id":"1399337241","filename":"file0"},{"photo_id":"1399337246","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337247":["hashtag1","hashtag2"]},{"1399337246":["hashtag1","hashtag2"]},{"1399337249":["hashtag1","hashtag2"]},{"1399337243":["hashtag1","hashtag2"]},{"1399337245":["hashtag1","hashtag2"]},{"1399337241":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337247, 1399337246, 1399337249, 1399337243, 1399337245, 1399337241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13143825531006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:36:41.920859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_44_3682.jpg', '/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_47_3298.jpg', '/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_49_1590.jpg', '/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_50_1803.jpg', '/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_54_1605.jpg', '/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_55_1748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_44_3682.jpg
/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_47_3298.jpg
/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_49_1590.jpg
/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_50_1803.jpg
/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_54_1605.jpg
/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_55_1748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337261","1399337258","1399337257","1399337260","1399337254","1399337259"],"photo_ids_order":["1399337254","1399337257","1399337258","1399337259","1399337260","1399337261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19c424c46b7963e24a44f11e1ebf13a7.jpg","text":"TemporaryFile(/tmp/multipartBody7139254906609698956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701462603,"filename":"image_04112025_12_35_55_1748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/537e9fae255b00f2fdd01c59ebcf3c43.jpg","text":"TemporaryFile(/tmp/multipartBody3057968404980702630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701462603,"filename":"image_04112025_12_35_49_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/53e84656881b5a6005558191cb155478.jpg","text":"TemporaryFile(/tmp/multipartBody7979494308653086612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701462603,"filename":"image_04112025_12_35_47_3298.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c9ceb97f22cb1b8ed62701914f2a7e50.jpg","text":"TemporaryFile(/tmp/multipartBody1595474746060076573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701462603,"filename":"image_04112025_12_35_54_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/91b2e325dc139bec9919e148f7c3c9b6.jpg","text":"TemporaryFile(/tmp/multipartBody2482713163872353784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701462603,"filename":"image_04112025_12_35_44_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/42725ded6d633499ed5d40bd8f1459ff.jpg","text":"TemporaryFile(/tmp/multipartBody4491961354699311020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701462603,"filename":"image_04112025_12_35_50_1803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337258","file1":"1399337257","file0":"1399337254","file4":"1399337260","file5":"1399337261","file3":"1399337259"},"map_files_photo_id_array":[{"photo_id":"1399337261","filename":"file5"},{"photo_id":"1399337258","filename":"file2"},{"photo_id":"1399337260","filename":"file4"},{"photo_id":"1399337257","filename":"file1"},{"photo_id":"1399337254","filename":"file0"},{"photo_id":"1399337259","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337261":["hashtag1","hashtag2"]},{"1399337258":["hashtag1","hashtag2"]},{"1399337257":["hashtag1","hashtag2"]},{"1399337260":["hashtag1","hashtag2"]},{"1399337254":["hashtag1","hashtag2"]},{"1399337259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337261, 1399337258, 1399337257, 1399337260, 1399337254, 1399337259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73793864250183 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:37:22.259701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/08/image_14122025_09_09_05_9661.jpg', '/home/pi/Desktop/images/14122025/09/09/image_14122025_09_09_14_9769.jpg', '/home/pi/Desktop/images/14122025/09/09/image_14122025_09_09_24_9783.jpg', '/home/pi/Desktop/images/14122025/09/09/image_14122025_09_09_35_10730.jpg', '/home/pi/Desktop/images/14122025/09/09/image_14122025_09_09_45_9839.jpg', '/home/pi/Desktop/images/14122025/09/09/image_14122025_09_09_55_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/08/image_14122025_09_09_05_9661.jpg
/home/pi/Desktop/images/14122025/09/09/image_14122025_09_09_14_9769.jpg
/home/pi/Desktop/images/14122025/09/09/image_14122025_09_09_24_9783.jpg
/home/pi/Desktop/images/14122025/09/09/image_14122025_09_09_35_10730.jpg
/home/pi/Desktop/images/14122025/09/09/image_14122025_09_09_45_9839.jpg
/home/pi/Desktop/images/14122025/09/09/image_14122025_09_09_55_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337270","1399337273","1399337263","1399337266","1399337268","1399337265"],"photo_ids_order":["1399337263","1399337265","1399337266","1399337268","1399337270","1399337273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1986bfee1b61fbd3fd5c4a2675c1214d.jpg","text":"TemporaryFile(/tmp/multipartBody1174264659606643262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701503082,"filename":"image_14122025_09_09_45_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4927548118ebebc7216cc54343530eff.jpg","text":"TemporaryFile(/tmp/multipartBody6803814902228629603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701503082,"filename":"image_14122025_09_09_55_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6a30b1e3bed6d1c16dd28efbd8509137.jpg","text":"TemporaryFile(/tmp/multipartBody6199374790668715601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701503082,"filename":"image_14122025_09_09_05_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/59aec53b6413be85e60853815fe947f3.jpg","text":"TemporaryFile(/tmp/multipartBody7943328681260511444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701503082,"filename":"image_14122025_09_09_24_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13227c01c6d17582da6333039f0ead9e.jpg","text":"TemporaryFile(/tmp/multipartBody6871907738881956030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701503082,"filename":"image_14122025_09_09_35_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ac8136cc8ac414fd6890407d31a9f62.jpg","text":"TemporaryFile(/tmp/multipartBody3130474672222880413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701503082,"filename":"image_14122025_09_09_14_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337266","file1":"1399337265","file0":"1399337263","file4":"1399337270","file5":"1399337273","file3":"1399337268"},"map_files_photo_id_array":[{"photo_id":"1399337273","filename":"file5"},{"photo_id":"1399337266","filename":"file2"},{"photo_id":"1399337270","filename":"file4"},{"photo_id":"1399337265","filename":"file1"},{"photo_id":"1399337263","filename":"file0"},{"photo_id":"1399337268","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337270":["hashtag1","hashtag2"]},{"1399337273":["hashtag1","hashtag2"]},{"1399337263":["hashtag1","hashtag2"]},{"1399337266":["hashtag1","hashtag2"]},{"1399337268":["hashtag1","hashtag2"]},{"1399337265":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337270, 1399337273, 1399337263, 1399337266, 1399337268, 1399337265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03300428390503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:38:02.934425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/09/image_14122025_09_10_04_9626.jpg', '/home/pi/Desktop/images/14122025/09/10/image_14122025_09_10_15_10641.jpg', '/home/pi/Desktop/images/14122025/09/10/image_14122025_09_10_24_9557.jpg', '/home/pi/Desktop/images/14122025/09/10/image_14122025_09_10_35_10673.jpg', '/home/pi/Desktop/images/14122025/09/10/image_14122025_09_10_45_9677.jpg', '/home/pi/Desktop/images/14122025/09/10/image_14122025_09_11_04_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/09/image_14122025_09_10_04_9626.jpg
/home/pi/Desktop/images/14122025/09/10/image_14122025_09_10_15_10641.jpg
/home/pi/Desktop/images/14122025/09/10/image_14122025_09_10_24_9557.jpg
/home/pi/Desktop/images/14122025/09/10/image_14122025_09_10_35_10673.jpg
/home/pi/Desktop/images/14122025/09/10/image_14122025_09_10_45_9677.jpg
/home/pi/Desktop/images/14122025/09/10/image_14122025_09_11_04_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337279","1399337276","1399337281","1399337278","1399337280","1399337277"],"photo_ids_order":["1399337276","1399337277","1399337278","1399337279","1399337280","1399337281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/09399b8c1dd8b146ab676a31e47c2c8c.jpg","text":"TemporaryFile(/tmp/multipartBody2291314058919248005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701543577,"filename":"image_14122025_09_10_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/12/14/ce95627b89317650b704ae1b6a93f8d1.jpg","text":"TemporaryFile(/tmp/multipartBody1664998287653777101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701543577,"filename":"image_14122025_09_10_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/12/14/8b0207d6fe0bf646925c4db2dd943a21.jpg","text":"TemporaryFile(/tmp/multipartBody618147465630541843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701543577,"filename":"image_14122025_09_11_04_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e3f845d5ad77a77dac753150987c5124.jpg","text":"TemporaryFile(/tmp/multipartBody4754850156705409779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701543577,"filename":"image_14122025_09_10_24_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5c5293a52cdb6650dfde2a275b28a551.jpg","text":"TemporaryFile(/tmp/multipartBody5077962517914088581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701543577,"filename":"image_14122025_09_10_45_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/753bd717158cd0fd545b8b0fb19846e8.jpg","text":"TemporaryFile(/tmp/multipartBody4493875103608955630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701543577,"filename":"image_14122025_09_10_15_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337278","file1":"1399337277","file0":"1399337276","file4":"1399337280","file5":"1399337281","file3":"1399337279"},"map_files_photo_id_array":[{"photo_id":"1399337281","filename":"file5"},{"photo_id":"1399337278","filename":"file2"},{"photo_id":"1399337280","filename":"file4"},{"photo_id":"1399337277","filename":"file1"},{"photo_id":"1399337276","filename":"file0"},{"photo_id":"1399337279","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337279":["hashtag1","hashtag2"]},{"1399337276":["hashtag1","hashtag2"]},{"1399337281":["hashtag1","hashtag2"]},{"1399337278":["hashtag1","hashtag2"]},{"1399337280":["hashtag1","hashtag2"]},{"1399337277":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337279, 1399337276, 1399337281, 1399337278, 1399337280, 1399337277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78304648399353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:38:42.594140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_57_1561.jpg', '/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_59_1644.jpg', '/home/pi/Desktop/images/04112025/12/35/image_04112025_12_36_00_1580.jpg', '/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_02_1620.jpg', '/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_04_1821.jpg', '/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_06_1873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_57_1561.jpg
/home/pi/Desktop/images/04112025/12/35/image_04112025_12_35_59_1644.jpg
/home/pi/Desktop/images/04112025/12/35/image_04112025_12_36_00_1580.jpg
/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_02_1620.jpg
/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_04_1821.jpg
/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_06_1873.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337297","1399337294","1399337287","1399337290","1399337292","1399337295"],"photo_ids_order":["1399337287","1399337290","1399337292","1399337294","1399337295","1399337297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/02f0bb588fdb05c35a6975f8077ae761.jpg","text":"TemporaryFile(/tmp/multipartBody9093325039873096267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701583289,"filename":"image_04112025_12_36_06_1873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0049c14e415a93ddcac3eae79c5953c5.jpg","text":"TemporaryFile(/tmp/multipartBody7583628180271819694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701583289,"filename":"image_04112025_12_36_02_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5c6b637fe5c4e3ab2bd77dbf739cf17c.jpg","text":"TemporaryFile(/tmp/multipartBody1997114765418126209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701583289,"filename":"image_04112025_12_35_57_1561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/841c31cb8c0695801a2500273f4d02b5.jpg","text":"TemporaryFile(/tmp/multipartBody6456903051092121163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701583289,"filename":"image_04112025_12_35_59_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/595dfc4d8ceeb0afcdb57fae1413ece4.jpg","text":"TemporaryFile(/tmp/multipartBody1289878234230413448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701583289,"filename":"image_04112025_12_36_00_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb68d49cb56e4eea5b71f7bef38362c2.jpg","text":"TemporaryFile(/tmp/multipartBody8286922896172612721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701583289,"filename":"image_04112025_12_36_04_1821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337292","file1":"1399337290","file0":"1399337287","file4":"1399337295","file5":"1399337297","file3":"1399337294"},"map_files_photo_id_array":[{"photo_id":"1399337297","filename":"file5"},{"photo_id":"1399337292","filename":"file2"},{"photo_id":"1399337295","filename":"file4"},{"photo_id":"1399337290","filename":"file1"},{"photo_id":"1399337287","filename":"file0"},{"photo_id":"1399337294","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337297":["hashtag1","hashtag2"]},{"1399337294":["hashtag1","hashtag2"]},{"1399337287":["hashtag1","hashtag2"]},{"1399337290":["hashtag1","hashtag2"]},{"1399337292":["hashtag1","hashtag2"]},{"1399337295":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337297, 1399337294, 1399337287, 1399337290, 1399337292, 1399337295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24482822418213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 09:39:31.993697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:39:41.872927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_07_1869.jpg', '/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_10_2594.jpg', '/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_14_3623.jpg', '/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_16_2679.jpg', '/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_19_2646.jpg', '/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_23_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_07_1869.jpg
/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_10_2594.jpg
/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_14_3623.jpg
/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_16_2679.jpg
/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_19_2646.jpg
/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_23_3657.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.572472095489502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:40:02.531067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/11/image_14122025_09_11_14_9857.jpg', '/home/pi/Desktop/images/14122025/09/11/image_14122025_09_11_25_10704.jpg', '/home/pi/Desktop/images/14122025/09/11/image_14122025_09_11_35_9720.jpg', '/home/pi/Desktop/images/14122025/09/11/image_14122025_09_11_44_9792.jpg', '/home/pi/Desktop/images/14122025/09/11/image_14122025_09_11_55_10618.jpg', '/home/pi/Desktop/images/14122025/09/12/image_14122025_09_12_35_10803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/11/image_14122025_09_11_14_9857.jpg
/home/pi/Desktop/images/14122025/09/11/image_14122025_09_11_25_10704.jpg
/home/pi/Desktop/images/14122025/09/11/image_14122025_09_11_35_9720.jpg
/home/pi/Desktop/images/14122025/09/11/image_14122025_09_11_44_9792.jpg
/home/pi/Desktop/images/14122025/09/11/image_14122025_09_11_55_10618.jpg
/home/pi/Desktop/images/14122025/09/12/image_14122025_09_12_35_10803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337313","1399337315","1399337312","1399337311","1399337314","1399337317"],"photo_ids_order":["1399337311","1399337312","1399337313","1399337314","1399337315","1399337317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b4e5e3eb2608eb73f124d6f274a4784d.jpg","text":"TemporaryFile(/tmp/multipartBody413934580140090764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701663171,"filename":"image_14122025_09_11_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/12/14/56d25a22312cda09d594ed673daaec72.jpg","text":"TemporaryFile(/tmp/multipartBody6619174875198855796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701663171,"filename":"image_14122025_09_11_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/12/14/c95303cf10d9ce88f1a624dacefc578e.jpg","text":"TemporaryFile(/tmp/multipartBody707513766433198807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701663171,"filename":"image_14122025_09_11_25_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b19e66d983398a797d5457603cbc0d32.jpg","text":"TemporaryFile(/tmp/multipartBody2689005872715883886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701663171,"filename":"image_14122025_09_11_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/12/14/2bdffcca72baa472a206a3bd0636d530.jpg","text":"TemporaryFile(/tmp/multipartBody6243358683044893316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701663171,"filename":"image_14122025_09_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/12/14/ab81b57ace1c08077bfed41f3ad892ac.jpg","text":"TemporaryFile(/tmp/multipartBody6710470074780511956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701663171,"filename":"image_14122025_09_12_35_10803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337313","file1":"1399337312","file0":"1399337311","file4":"1399337315","file5":"1399337317","file3":"1399337314"},"map_files_photo_id_array":[{"photo_id":"1399337317","filename":"file5"},{"photo_id":"1399337313","filename":"file2"},{"photo_id":"1399337315","filename":"file4"},{"photo_id":"1399337312","filename":"file1"},{"photo_id":"1399337311","filename":"file0"},{"photo_id":"1399337314","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337313":["hashtag1","hashtag2"]},{"1399337315":["hashtag1","hashtag2"]},{"1399337312":["hashtag1","hashtag2"]},{"1399337311":["hashtag1","hashtag2"]},{"1399337314":["hashtag1","hashtag2"]},{"1399337317":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337313, 1399337315, 1399337312, 1399337311, 1399337314, 1399337317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3072075843811 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:40:42.094026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_07_1869.jpg', '/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_10_2594.jpg', '/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_14_3623.jpg', '/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_16_2679.jpg', '/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_19_2646.jpg', '/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_23_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_07_1869.jpg
/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_10_2594.jpg
/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_14_3623.jpg
/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_16_2679.jpg
/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_19_2646.jpg
/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_23_3657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337325","1399337327","1399337323","1399337326","1399337329","1399337322"],"photo_ids_order":["1399337322","1399337323","1399337325","1399337326","1399337327","1399337329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/25aa4f07c059ca6d7ed20d3fee81bdd9.jpg","text":"TemporaryFile(/tmp/multipartBody9039249418306365162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701702694,"filename":"image_04112025_12_36_14_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fcf6b3acc463dd9c1da28b77e87a19ac.jpg","text":"TemporaryFile(/tmp/multipartBody2996243166327940153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701702694,"filename":"image_04112025_12_36_19_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/366b85ff7106f01b4979e27c60cf94a6.jpg","text":"TemporaryFile(/tmp/multipartBody6251096411424101260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701702694,"filename":"image_04112025_12_36_10_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/502aa7196f40b77d3775098ba2c96f98.jpg","text":"TemporaryFile(/tmp/multipartBody1420945562571890775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701702694,"filename":"image_04112025_12_36_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/12/14/95757c0de6cf2b4f8380a5be816ede18.jpg","text":"TemporaryFile(/tmp/multipartBody3476219643685960870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701702694,"filename":"image_04112025_12_36_23_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/35cfb5169cc1dfb8181ad4fd7d6efa98.jpg","text":"TemporaryFile(/tmp/multipartBody1039493470663496215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701702694,"filename":"image_04112025_12_36_07_1869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337325","file1":"1399337323","file0":"1399337322","file4":"1399337327","file5":"1399337329","file3":"1399337326"},"map_files_photo_id_array":[{"photo_id":"1399337329","filename":"file5"},{"photo_id":"1399337325","filename":"file2"},{"photo_id":"1399337327","filename":"file4"},{"photo_id":"1399337323","filename":"file1"},{"photo_id":"1399337322","filename":"file0"},{"photo_id":"1399337326","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337325":["hashtag1","hashtag2"]},{"1399337327":["hashtag1","hashtag2"]},{"1399337323":["hashtag1","hashtag2"]},{"1399337326":["hashtag1","hashtag2"]},{"1399337329":["hashtag1","hashtag2"]},{"1399337322":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337325, 1399337327, 1399337323, 1399337326, 1399337329, 1399337322)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.63741064071655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 09:41:32.320700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:41:42.263747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_53_30317.jpg', '/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_54_1519.jpg', '/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_58_1578.jpg', '/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_59_1613.jpg', '/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_01_1688.jpg', '/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_03_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_53_30317.jpg
/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_54_1519.jpg
/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_58_1578.jpg
/home/pi/Desktop/images/04112025/12/36/image_04112025_12_36_59_1613.jpg
/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_01_1688.jpg
/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_03_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":["1399337336","1399337339","1399337341","1399337338","1399337335","1399337340"],"photo_ids_order":["1399337335","1399337336","1399337338","1399337339","1399337340","1399337341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e60f888afd01ef3ad3a5aebc7c5be56.jpg","text":"TemporaryFile(/tmp/multipartBody8028125516890858160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701762960,"filename":"image_04112025_12_36_54_1519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f983de44d4f7b05b0c5464d3ac75605.jpg","text":"TemporaryFile(/tmp/multipartBody1904208210410060248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701762960,"filename":"image_04112025_12_36_59_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5152134069bf807e46c66ee8016d1645.jpg","text":"TemporaryFile(/tmp/multipartBody5724620388980889110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701762960,"filename":"image_04112025_12_37_03_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f1eed3602918b08376f787983e097df.jpg","text":"TemporaryFile(/tmp/multipartBody4137400607186584435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701762960,"filename":"image_04112025_12_36_58_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba2f744acc4be9b35aa7c72c2d4527b3.jpg","text":"TemporaryFile(/tmp/multipartBody8371176564956470726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701762960,"filename":"image_04112025_12_36_53_30317.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21bc9c37bb0238657336ed1431e6121d.jpg","text":"TemporaryFile(/tmp/multipartBody232094419947911138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701762960,"filename":"image_04112025_12_37_01_1688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337338","file1":"1399337336","file0":"1399337335","file4":"1399337340","file5":"1399337341","file3":"1399337339"},"map_files_photo_id_array":[{"photo_id":"1399337341","filename":"file5"},{"photo_id":"1399337338","filename":"file2"},{"photo_id":"1399337340","filename":"file4"},{"photo_id":"1399337336","filename":"file1"},{"photo_id":"1399337335","filename":"file0"},{"photo_id":"1399337339","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337336":["hashtag1","hashtag2"]},{"1399337339":["hashtag1","hashtag2"]},{"1399337341":["hashtag1","hashtag2"]},{"1399337338":["hashtag1","hashtag2"]},{"1399337335":["hashtag1","hashtag2"]},{"1399337340":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337336, 1399337339, 1399337341, 1399337338, 1399337335, 1399337340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79962944984436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:42:22.590580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/12/image_14122025_09_12_45_9961.jpg', '/home/pi/Desktop/images/14122025/09/13/image_14122025_09_13_35_9559.jpg', '/home/pi/Desktop/images/14122025/09/13/image_14122025_09_13_44_9657.jpg', '/home/pi/Desktop/images/14122025/09/13/image_14122025_09_14_05_9622.jpg', '/home/pi/Desktop/images/14122025/09/14/image_14122025_09_14_14_9702.jpg', '/home/pi/Desktop/images/14122025/09/14/image_14122025_09_14_25_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/12/image_14122025_09_12_45_9961.jpg
/home/pi/Desktop/images/14122025/09/13/image_14122025_09_13_35_9559.jpg
/home/pi/Desktop/images/14122025/09/13/image_14122025_09_13_44_9657.jpg
/home/pi/Desktop/images/14122025/09/13/image_14122025_09_14_05_9622.jpg
/home/pi/Desktop/images/14122025/09/14/image_14122025_09_14_14_9702.jpg
/home/pi/Desktop/images/14122025/09/14/image_14122025_09_14_25_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":["1399337346","1399337351","1399337354","1399337344","1399337353","1399337349"],"photo_ids_order":["1399337344","1399337346","1399337349","1399337351","1399337353","1399337354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d5b03c10cecab1d8ee26c2bdfd73cb69.jpg","text":"TemporaryFile(/tmp/multipartBody1853633370244239612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701803191,"filename":"image_14122025_09_13_35_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a3b532785b476d1cd11b735bd26b59c.jpg","text":"TemporaryFile(/tmp/multipartBody5514592713032632068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701803191,"filename":"image_14122025_09_14_05_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c3783568b4fe97444a6fdfbc95c5db25.jpg","text":"TemporaryFile(/tmp/multipartBody2387764314357302106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701803191,"filename":"image_14122025_09_14_25_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7e0d8970f42d62f2e24a827e53d64cd1.jpg","text":"TemporaryFile(/tmp/multipartBody6665666075193605646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701803191,"filename":"image_14122025_09_12_45_9961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5c94bd6366fc3f0954b3907ff1e6f196.jpg","text":"TemporaryFile(/tmp/multipartBody6599819467005585524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701803191,"filename":"image_14122025_09_14_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b49de143b0913320c1921e53e2f1ad2d.jpg","text":"TemporaryFile(/tmp/multipartBody2202203909343806735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701803191,"filename":"image_14122025_09_13_44_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337349","file1":"1399337346","file0":"1399337344","file4":"1399337353","file5":"1399337354","file3":"1399337351"},"map_files_photo_id_array":[{"photo_id":"1399337354","filename":"file5"},{"photo_id":"1399337349","filename":"file2"},{"photo_id":"1399337353","filename":"file4"},{"photo_id":"1399337346","filename":"file1"},{"photo_id":"1399337344","filename":"file0"},{"photo_id":"1399337351","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337346":["hashtag1","hashtag2"]},{"1399337351":["hashtag1","hashtag2"]},{"1399337354":["hashtag1","hashtag2"]},{"1399337344":["hashtag1","hashtag2"]},{"1399337353":["hashtag1","hashtag2"]},{"1399337349":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337346, 1399337351, 1399337354, 1399337344, 1399337353, 1399337349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16179966926575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:43:03.328606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/14/image_14122025_09_14_55_9650.jpg', '/home/pi/Desktop/images/14122025/09/14/image_14122025_09_15_04_9681.jpg', '/home/pi/Desktop/images/14122025/09/15/image_14122025_09_15_14_9836.jpg', '/home/pi/Desktop/images/14122025/09/15/image_14122025_09_15_25_10661.jpg', '/home/pi/Desktop/images/14122025/09/15/image_14122025_09_15_34_9544.jpg', '/home/pi/Desktop/images/14122025/09/15/image_14122025_09_15_45_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/14/image_14122025_09_14_55_9650.jpg
/home/pi/Desktop/images/14122025/09/14/image_14122025_09_15_04_9681.jpg
/home/pi/Desktop/images/14122025/09/15/image_14122025_09_15_14_9836.jpg
/home/pi/Desktop/images/14122025/09/15/image_14122025_09_15_25_10661.jpg
/home/pi/Desktop/images/14122025/09/15/image_14122025_09_15_34_9544.jpg
/home/pi/Desktop/images/14122025/09/15/image_14122025_09_15_45_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":["1399337357","1399337356","1399337359","1399337361","1399337355","1399337358"],"photo_ids_order":["1399337355","1399337356","1399337357","1399337358","1399337359","1399337361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92b34ef1363c47de9c72426170159dc4.jpg","text":"TemporaryFile(/tmp/multipartBody8169828792026886733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701844038,"filename":"image_14122025_09_15_14_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2caee146cecbbbffac3f2d074087cce9.jpg","text":"TemporaryFile(/tmp/multipartBody5965107979389289473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701844038,"filename":"image_14122025_09_15_04_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/60bdefac5d2406c6d28fb1f7bf68623f.jpg","text":"TemporaryFile(/tmp/multipartBody6179354451646994102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701844038,"filename":"image_14122025_09_15_34_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d3d3cda8b4acc57663bc393c0200c63.jpg","text":"TemporaryFile(/tmp/multipartBody3650883855419477929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701844038,"filename":"image_14122025_09_15_45_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3fbeb06d4a394ffe99f993f6fbe06a0c.jpg","text":"TemporaryFile(/tmp/multipartBody7518680142874617536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701844038,"filename":"image_14122025_09_14_55_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cdd9c21502a3a7912c5173027e580b10.jpg","text":"TemporaryFile(/tmp/multipartBody1905604824039212400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701844038,"filename":"image_14122025_09_15_25_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337357","file1":"1399337356","file0":"1399337355","file4":"1399337359","file5":"1399337361","file3":"1399337358"},"map_files_photo_id_array":[{"photo_id":"1399337361","filename":"file5"},{"photo_id":"1399337357","filename":"file2"},{"photo_id":"1399337359","filename":"file4"},{"photo_id":"1399337356","filename":"file1"},{"photo_id":"1399337355","filename":"file0"},{"photo_id":"1399337358","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337357":["hashtag1","hashtag2"]},{"1399337356":["hashtag1","hashtag2"]},{"1399337359":["hashtag1","hashtag2"]},{"1399337361":["hashtag1","hashtag2"]},{"1399337355":["hashtag1","hashtag2"]},{"1399337358":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337357, 1399337356, 1399337359, 1399337361, 1399337355, 1399337358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41073250770569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:43:42.690555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_04_1625.jpg', '/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_06_1602.jpg', '/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_08_1618.jpg', '/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_09_1624.jpg', '/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_11_1590.jpg', '/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_12_1647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_04_1625.jpg
/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_06_1602.jpg
/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_08_1618.jpg
/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_09_1624.jpg
/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_11_1590.jpg
/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_12_1647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337372","1399337374","1399337371","1399337370","1399337373","1399337367"],"photo_ids_order":["1399337367","1399337370","1399337371","1399337372","1399337373","1399337374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/412e7aacd9fe094c97a4833b77b5fc2b.jpg","text":"TemporaryFile(/tmp/multipartBody5185583247748997786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701883390,"filename":"image_04112025_12_37_09_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/985fe297ae577bdecbffedea86d81fa3.jpg","text":"TemporaryFile(/tmp/multipartBody7080281816020816317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701883390,"filename":"image_04112025_12_37_12_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/712c48b22f75865866976a55f7c08c30.jpg","text":"TemporaryFile(/tmp/multipartBody1956271888617137740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701883390,"filename":"image_04112025_12_37_08_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ac3f2cd869e5f711eb6f145b3c310a93.jpg","text":"TemporaryFile(/tmp/multipartBody2148897902074767167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701883390,"filename":"image_04112025_12_37_06_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b8cfa4a6aa852517d9ae061278a4e9c6.jpg","text":"TemporaryFile(/tmp/multipartBody4900201686966492836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701883390,"filename":"image_04112025_12_37_11_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d3fe1986bee81a1de740cc10da7c587.jpg","text":"TemporaryFile(/tmp/multipartBody8698109322421837738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701883390,"filename":"image_04112025_12_37_04_1625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337371","file1":"1399337370","file0":"1399337367","file4":"1399337373","file5":"1399337374","file3":"1399337372"},"map_files_photo_id_array":[{"photo_id":"1399337374","filename":"file5"},{"photo_id":"1399337371","filename":"file2"},{"photo_id":"1399337373","filename":"file4"},{"photo_id":"1399337370","filename":"file1"},{"photo_id":"1399337367","filename":"file0"},{"photo_id":"1399337372","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337372":["hashtag1","hashtag2"]},{"1399337374":["hashtag1","hashtag2"]},{"1399337371":["hashtag1","hashtag2"]},{"1399337370":["hashtag1","hashtag2"]},{"1399337373":["hashtag1","hashtag2"]},{"1399337367":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337372, 1399337374, 1399337371, 1399337370, 1399337373, 1399337367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02377367019653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:44:22.053087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/15/image_14122025_09_15_55_9692.jpg', '/home/pi/Desktop/images/14122025/09/15/image_14122025_09_16_04_9613.jpg', '/home/pi/Desktop/images/14122025/09/16/image_14122025_09_16_14_9747.jpg', '/home/pi/Desktop/images/14122025/09/16/image_14122025_09_16_25_10803.jpg', '/home/pi/Desktop/images/14122025/09/16/image_14122025_09_16_35_9853.jpg', '/home/pi/Desktop/images/14122025/09/16/image_14122025_09_16_44_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/15/image_14122025_09_15_55_9692.jpg
/home/pi/Desktop/images/14122025/09/15/image_14122025_09_16_04_9613.jpg
/home/pi/Desktop/images/14122025/09/16/image_14122025_09_16_14_9747.jpg
/home/pi/Desktop/images/14122025/09/16/image_14122025_09_16_25_10803.jpg
/home/pi/Desktop/images/14122025/09/16/image_14122025_09_16_35_9853.jpg
/home/pi/Desktop/images/14122025/09/16/image_14122025_09_16_44_9588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337380","1399337377","1399337385","1399337388","1399337382","1399337376"],"photo_ids_order":["1399337376","1399337377","1399337380","1399337382","1399337385","1399337388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f6c6c4d44a9d515bb01a555d3567d54.jpg","text":"TemporaryFile(/tmp/multipartBody7835174357350523398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701922692,"filename":"image_14122025_09_16_14_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3cb73ccf5874855a9bf4b85a472bf455.jpg","text":"TemporaryFile(/tmp/multipartBody7469079939231970154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701922692,"filename":"image_14122025_09_16_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/12/14/48d491fb8441da0097d59857ede64a51.jpg","text":"TemporaryFile(/tmp/multipartBody8643843911479598357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701922692,"filename":"image_14122025_09_16_35_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/38f6be206e12ffdfae5334683c0fbac4.jpg","text":"TemporaryFile(/tmp/multipartBody1529447534816949489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701922692,"filename":"image_14122025_09_16_44_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76dc60ad382d4a87d3878d9c97c93904.jpg","text":"TemporaryFile(/tmp/multipartBody2812782188086029019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701922692,"filename":"image_14122025_09_16_25_10803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9df34141111025e54889959c19c9a452.jpg","text":"TemporaryFile(/tmp/multipartBody6926845157236903304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701922692,"filename":"image_14122025_09_15_55_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337380","file1":"1399337377","file0":"1399337376","file4":"1399337385","file5":"1399337388","file3":"1399337382"},"map_files_photo_id_array":[{"photo_id":"1399337388","filename":"file5"},{"photo_id":"1399337380","filename":"file2"},{"photo_id":"1399337385","filename":"file4"},{"photo_id":"1399337377","filename":"file1"},{"photo_id":"1399337376","filename":"file0"},{"photo_id":"1399337382","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337380":["hashtag1","hashtag2"]},{"1399337377":["hashtag1","hashtag2"]},{"1399337385":["hashtag1","hashtag2"]},{"1399337388":["hashtag1","hashtag2"]},{"1399337382":["hashtag1","hashtag2"]},{"1399337376":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337380, 1399337377, 1399337385, 1399337388, 1399337382, 1399337376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18609428405762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:45:03.079991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/16/image_14122025_09_16_59_14336.jpg', '/home/pi/Desktop/images/14122025/09/17/image_14122025_09_17_04_5663.jpg', '/home/pi/Desktop/images/14122025/09/17/image_14122025_09_17_15_10542.jpg', '/home/pi/Desktop/images/14122025/09/17/image_14122025_09_17_25_9570.jpg', '/home/pi/Desktop/images/14122025/09/17/image_14122025_09_17_34_9607.jpg', '/home/pi/Desktop/images/14122025/09/17/image_14122025_09_17_55_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/16/image_14122025_09_16_59_14336.jpg
/home/pi/Desktop/images/14122025/09/17/image_14122025_09_17_04_5663.jpg
/home/pi/Desktop/images/14122025/09/17/image_14122025_09_17_15_10542.jpg
/home/pi/Desktop/images/14122025/09/17/image_14122025_09_17_25_9570.jpg
/home/pi/Desktop/images/14122025/09/17/image_14122025_09_17_34_9607.jpg
/home/pi/Desktop/images/14122025/09/17/image_14122025_09_17_55_9806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337393","1399337396","1399337399","1399337395","1399337397","1399337394"],"photo_ids_order":["1399337393","1399337394","1399337395","1399337396","1399337397","1399337399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/48739dd88e936bc0ef6682810f7ed84a.jpg","text":"TemporaryFile(/tmp/multipartBody5640335245919752578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701963787,"filename":"image_14122025_09_16_59_14336.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6623ef07a461b80e39b3e7d2c5e64a35.jpg","text":"TemporaryFile(/tmp/multipartBody4234156604536669325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701963787,"filename":"image_14122025_09_17_25_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc06b80a65dbda3850b0c6888664705c.jpg","text":"TemporaryFile(/tmp/multipartBody636793527998331628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701963787,"filename":"image_14122025_09_17_55_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1297e2d8d82f4a6524f67344a1040000.jpg","text":"TemporaryFile(/tmp/multipartBody1250237799377774903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701963787,"filename":"image_14122025_09_17_15_10542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf299849e2055b1c1f158985b91e4445.jpg","text":"TemporaryFile(/tmp/multipartBody2029644378460343175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701963787,"filename":"image_14122025_09_17_34_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9163605d179a4f239c22fce043ead06.jpg","text":"TemporaryFile(/tmp/multipartBody2282665656437410356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765701963787,"filename":"image_14122025_09_17_04_5663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337395","file1":"1399337394","file0":"1399337393","file4":"1399337397","file5":"1399337399","file3":"1399337396"},"map_files_photo_id_array":[{"photo_id":"1399337399","filename":"file5"},{"photo_id":"1399337395","filename":"file2"},{"photo_id":"1399337397","filename":"file4"},{"photo_id":"1399337394","filename":"file1"},{"photo_id":"1399337393","filename":"file0"},{"photo_id":"1399337396","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337393":["hashtag1","hashtag2"]},{"1399337396":["hashtag1","hashtag2"]},{"1399337399":["hashtag1","hashtag2"]},{"1399337395":["hashtag1","hashtag2"]},{"1399337397":["hashtag1","hashtag2"]},{"1399337394":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337393, 1399337396, 1399337399, 1399337395, 1399337397, 1399337394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13248538970947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:45:42.187592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_14_1618.jpg', '/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_16_1719.jpg', '/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_17_1615.jpg', '/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_19_1577.jpg', '/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_21_1559.jpg', '/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_22_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_14_1618.jpg
/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_16_1719.jpg
/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_17_1615.jpg
/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_19_1577.jpg
/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_21_1559.jpg
/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_22_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399337406","1399337408","1399337405","1399337410","1399337404","1399337407"],"photo_ids_order":["1399337404","1399337405","1399337406","1399337407","1399337408","1399337410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf5938823efe69f9f3ed9b14257ac57c.jpg","text":"TemporaryFile(/tmp/multipartBody1199688387352319761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702004019,"filename":"image_04112025_12_37_17_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/65e929ceccd7f96d36649e77b54f847f.jpg","text":"TemporaryFile(/tmp/multipartBody8219262726018910121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702004019,"filename":"image_04112025_12_37_21_1559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7174bf2c90e2c172880b86dd2793a538.jpg","text":"TemporaryFile(/tmp/multipartBody1567817826546464298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702004019,"filename":"image_04112025_12_37_16_1719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/09565a457ed4cfacad7b690937608cbb.jpg","text":"TemporaryFile(/tmp/multipartBody7275071659400501419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702004019,"filename":"image_04112025_12_37_22_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa4cb196d7d33071eda1387035b0fcf1.jpg","text":"TemporaryFile(/tmp/multipartBody7467317471576970538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702004019,"filename":"image_04112025_12_37_14_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d05d28682e1c6acae4fc5dd2343fa5e2.jpg","text":"TemporaryFile(/tmp/multipartBody1767325155941816955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702004019,"filename":"image_04112025_12_37_19_1577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337406","file1":"1399337405","file0":"1399337404","file4":"1399337408","file5":"1399337410","file3":"1399337407"},"map_files_photo_id_array":[{"photo_id":"1399337410","filename":"file5"},{"photo_id":"1399337406","filename":"file2"},{"photo_id":"1399337408","filename":"file4"},{"photo_id":"1399337405","filename":"file1"},{"photo_id":"1399337404","filename":"file0"},{"photo_id":"1399337407","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337406":["hashtag1","hashtag2"]},{"1399337408":["hashtag1","hashtag2"]},{"1399337405":["hashtag1","hashtag2"]},{"1399337410":["hashtag1","hashtag2"]},{"1399337404":["hashtag1","hashtag2"]},{"1399337407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337406, 1399337408, 1399337405, 1399337410, 1399337404, 1399337407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.28837203979492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 09:46:32.442887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:46:42.386487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_24_1743.jpg', '/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_26_1652.jpg', '/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_28_2564.jpg', '/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_47_18940.jpg', '/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_49_1697.jpg', '/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_50_1615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_24_1743.jpg
/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_26_1652.jpg
/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_28_2564.jpg
/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_47_18940.jpg
/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_49_1697.jpg
/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_50_1615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337418","1399337420","1399337422","1399337419","1399337416","1399337421"],"photo_ids_order":["1399337416","1399337418","1399337419","1399337420","1399337421","1399337422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/95d7155a6d332562860dc60ff1b2c9bb.jpg","text":"TemporaryFile(/tmp/multipartBody731510895042659351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702063087,"filename":"image_04112025_12_37_26_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6df86d886b71cf84729fd8b66d8fd778.jpg","text":"TemporaryFile(/tmp/multipartBody3863769165793929587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702063087,"filename":"image_04112025_12_37_47_18940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d684fb50b83cfb645cd576ae9308e961.jpg","text":"TemporaryFile(/tmp/multipartBody3915607841511201099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702063087,"filename":"image_04112025_12_37_50_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2356dae2a824a98b1f3d2b0f1b4221ce.jpg","text":"TemporaryFile(/tmp/multipartBody5428276512943094302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702063087,"filename":"image_04112025_12_37_28_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0cc7e8c20ac76a54dd71c72367b1adf7.jpg","text":"TemporaryFile(/tmp/multipartBody3769393607809760567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702063087,"filename":"image_04112025_12_37_24_1743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/544d95d6177fd5b5b21217705ffc925d.jpg","text":"TemporaryFile(/tmp/multipartBody6170125898423529916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702063087,"filename":"image_04112025_12_37_49_1697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337419","file1":"1399337418","file0":"1399337416","file4":"1399337421","file5":"1399337422","file3":"1399337420"},"map_files_photo_id_array":[{"photo_id":"1399337422","filename":"file5"},{"photo_id":"1399337419","filename":"file2"},{"photo_id":"1399337421","filename":"file4"},{"photo_id":"1399337418","filename":"file1"},{"photo_id":"1399337416","filename":"file0"},{"photo_id":"1399337420","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337418":["hashtag1","hashtag2"]},{"1399337420":["hashtag1","hashtag2"]},{"1399337422":["hashtag1","hashtag2"]},{"1399337419":["hashtag1","hashtag2"]},{"1399337416":["hashtag1","hashtag2"]},{"1399337421":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337418, 1399337420, 1399337422, 1399337419, 1399337416, 1399337421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.226136207580566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 09:47:32.663748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:47:46.035722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_54_3223.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_14_20176.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_15_1640.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_17_1589.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_19_1617.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_20_1713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/37/image_04112025_12_37_54_3223.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_14_20176.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_15_1640.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_17_1589.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_19_1617.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_20_1713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337432","1399337435","1399337431","1399337434","1399337433","1399337436"],"photo_ids_order":["1399337431","1399337432","1399337433","1399337434","1399337435","1399337436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d630cce786f7287b4778c6bcf2e48dbd.jpg","text":"TemporaryFile(/tmp/multipartBody5933000231629620660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702126738,"filename":"image_04112025_12_38_14_20176.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f018f5dc712f0ee41fccc51646a5dcf.jpg","text":"TemporaryFile(/tmp/multipartBody9036264938369906770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702126738,"filename":"image_04112025_12_38_19_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d97ab9355ad9c94fc3714eeb0c0c51e9.jpg","text":"TemporaryFile(/tmp/multipartBody4931576500174326052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702126738,"filename":"image_04112025_12_37_54_3223.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d8b86c6f6db501b3b94c631e3208ccb3.jpg","text":"TemporaryFile(/tmp/multipartBody1358034940324174985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702126738,"filename":"image_04112025_12_38_17_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f8cdb1853d616b2f78359487c0e93ce.jpg","text":"TemporaryFile(/tmp/multipartBody584493842722699473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702126738,"filename":"image_04112025_12_38_15_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f461389d7ae6637fef7c24f616dd0023.jpg","text":"TemporaryFile(/tmp/multipartBody1842818901772338774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702126738,"filename":"image_04112025_12_38_20_1713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337433","file1":"1399337432","file0":"1399337431","file4":"1399337435","file5":"1399337436","file3":"1399337434"},"map_files_photo_id_array":[{"photo_id":"1399337436","filename":"file5"},{"photo_id":"1399337433","filename":"file2"},{"photo_id":"1399337435","filename":"file4"},{"photo_id":"1399337432","filename":"file1"},{"photo_id":"1399337431","filename":"file0"},{"photo_id":"1399337434","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337432":["hashtag1","hashtag2"]},{"1399337435":["hashtag1","hashtag2"]},{"1399337431":["hashtag1","hashtag2"]},{"1399337434":["hashtag1","hashtag2"]},{"1399337433":["hashtag1","hashtag2"]},{"1399337436":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337432, 1399337435, 1399337431, 1399337434, 1399337433, 1399337436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.660775899887085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 09:48:32.229671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:48:42.199580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_22_1618.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_24_1707.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_25_1593.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_27_1638.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_29_2103.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_31_1722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_22_1618.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_24_1707.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_25_1593.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_27_1638.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_29_2103.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_31_1722.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5833652019500732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:49:07.953342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/17/image_14122025_09_18_04_9680.jpg', '/home/pi/Desktop/images/14122025/09/18/image_14122025_09_18_15_10636.jpg', '/home/pi/Desktop/images/14122025/09/18/image_14122025_09_18_25_9766.jpg', '/home/pi/Desktop/images/14122025/09/18/image_14122025_09_18_34_9566.jpg', '/home/pi/Desktop/images/14122025/09/18/image_14122025_09_18_44_9830.jpg', '/home/pi/Desktop/images/14122025/09/18/image_14122025_09_18_55_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/17/image_14122025_09_18_04_9680.jpg
/home/pi/Desktop/images/14122025/09/18/image_14122025_09_18_15_10636.jpg
/home/pi/Desktop/images/14122025/09/18/image_14122025_09_18_25_9766.jpg
/home/pi/Desktop/images/14122025/09/18/image_14122025_09_18_34_9566.jpg
/home/pi/Desktop/images/14122025/09/18/image_14122025_09_18_44_9830.jpg
/home/pi/Desktop/images/14122025/09/18/image_14122025_09_18_55_10704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337450","1399337449","1399337452","1399337451","1399337454","1399337457"],"photo_ids_order":["1399337449","1399337450","1399337451","1399337452","1399337454","1399337457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b924088430228ad61d97033b54320d57.jpg","text":"TemporaryFile(/tmp/multipartBody614742919786466715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702208567,"filename":"image_14122025_09_18_15_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1bec19dd142a31e0df1a17105720e02.jpg","text":"TemporaryFile(/tmp/multipartBody1086567006130374965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702208567,"filename":"image_14122025_09_18_04_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7fbb382d5e980f4e6f6dab280bd86027.jpg","text":"TemporaryFile(/tmp/multipartBody7599282171498322001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702208567,"filename":"image_14122025_09_18_34_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/616d7b52d8bd08ec84c5f66eff839b6d.jpg","text":"TemporaryFile(/tmp/multipartBody4435046309027579560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702208567,"filename":"image_14122025_09_18_25_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/683341f24b7a9b4251790e6e66b05955.jpg","text":"TemporaryFile(/tmp/multipartBody2282266228957937748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702208567,"filename":"image_14122025_09_18_44_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d9ae72734a172c6cdd462e4c73834094.jpg","text":"TemporaryFile(/tmp/multipartBody6938513228002850097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702208567,"filename":"image_14122025_09_18_55_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337451","file1":"1399337450","file0":"1399337449","file4":"1399337454","file5":"1399337457","file3":"1399337452"},"map_files_photo_id_array":[{"photo_id":"1399337457","filename":"file5"},{"photo_id":"1399337451","filename":"file2"},{"photo_id":"1399337454","filename":"file4"},{"photo_id":"1399337450","filename":"file1"},{"photo_id":"1399337449","filename":"file0"},{"photo_id":"1399337452","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337450":["hashtag1","hashtag2"]},{"1399337449":["hashtag1","hashtag2"]},{"1399337452":["hashtag1","hashtag2"]},{"1399337451":["hashtag1","hashtag2"]},{"1399337454":["hashtag1","hashtag2"]},{"1399337457":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337450, 1399337449, 1399337452, 1399337451, 1399337454, 1399337457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.579994201660156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:50:03.152866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/18/image_14122025_09_19_05_9686.jpg', '/home/pi/Desktop/images/14122025/09/19/image_14122025_09_19_14_9725.jpg', '/home/pi/Desktop/images/14122025/09/19/image_14122025_09_19_25_10582.jpg', '/home/pi/Desktop/images/14122025/09/19/image_14122025_09_19_34_9618.jpg', '/home/pi/Desktop/images/14122025/09/19/image_14122025_09_19_44_9663.jpg', '/home/pi/Desktop/images/14122025/09/19/image_14122025_09_19_55_10741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/18/image_14122025_09_19_05_9686.jpg
/home/pi/Desktop/images/14122025/09/19/image_14122025_09_19_14_9725.jpg
/home/pi/Desktop/images/14122025/09/19/image_14122025_09_19_25_10582.jpg
/home/pi/Desktop/images/14122025/09/19/image_14122025_09_19_34_9618.jpg
/home/pi/Desktop/images/14122025/09/19/image_14122025_09_19_44_9663.jpg
/home/pi/Desktop/images/14122025/09/19/image_14122025_09_19_55_10741.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5394213199615479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 09:50:12.645255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:50:22.706569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/18/image_14122025_09_19_05_9686.jpg', '/home/pi/Desktop/images/14122025/09/19/image_14122025_09_19_14_9725.jpg', '/home/pi/Desktop/images/14122025/09/19/image_14122025_09_19_25_10582.jpg', '/home/pi/Desktop/images/14122025/09/19/image_14122025_09_19_34_9618.jpg', '/home/pi/Desktop/images/14122025/09/19/image_14122025_09_19_44_9663.jpg', '/home/pi/Desktop/images/14122025/09/19/image_14122025_09_19_55_10741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/18/image_14122025_09_19_05_9686.jpg
/home/pi/Desktop/images/14122025/09/19/image_14122025_09_19_14_9725.jpg
/home/pi/Desktop/images/14122025/09/19/image_14122025_09_19_25_10582.jpg
/home/pi/Desktop/images/14122025/09/19/image_14122025_09_19_34_9618.jpg
/home/pi/Desktop/images/14122025/09/19/image_14122025_09_19_44_9663.jpg
/home/pi/Desktop/images/14122025/09/19/image_14122025_09_19_55_10741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337471","1399337473","1399337467","1399337479","1399337475","1399337469"],"photo_ids_order":["1399337467","1399337469","1399337471","1399337473","1399337475","1399337479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f6b21652598f74380a65287c00e387b1.jpg","text":"TemporaryFile(/tmp/multipartBody4352104821932816216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702283307,"filename":"image_14122025_09_19_25_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/651bf65738b791c5f14f6d1f6b0a501c.jpg","text":"TemporaryFile(/tmp/multipartBody66896457207659833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702283307,"filename":"image_14122025_09_19_34_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d1e5347a38a77b6326e181fec56f33e.jpg","text":"TemporaryFile(/tmp/multipartBody3229705447430646311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702283307,"filename":"image_14122025_09_19_05_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d8913f0c1220b4a400fca55933689d0f.jpg","text":"TemporaryFile(/tmp/multipartBody2036155450408700704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702283307,"filename":"image_14122025_09_19_55_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3690613d84fd31f35f35416e10ef2d29.jpg","text":"TemporaryFile(/tmp/multipartBody2602337429785127416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702283307,"filename":"image_14122025_09_19_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c3b9f7b37061618f5fec97db97b5de5.jpg","text":"TemporaryFile(/tmp/multipartBody372610504233466197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702283307,"filename":"image_14122025_09_19_14_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337471","file1":"1399337469","file0":"1399337467","file4":"1399337475","file5":"1399337479","file3":"1399337473"},"map_files_photo_id_array":[{"photo_id":"1399337479","filename":"file5"},{"photo_id":"1399337471","filename":"file2"},{"photo_id":"1399337475","filename":"file4"},{"photo_id":"1399337469","filename":"file1"},{"photo_id":"1399337467","filename":"file0"},{"photo_id":"1399337473","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337471":["hashtag1","hashtag2"]},{"1399337473":["hashtag1","hashtag2"]},{"1399337467":["hashtag1","hashtag2"]},{"1399337479":["hashtag1","hashtag2"]},{"1399337475":["hashtag1","hashtag2"]},{"1399337469":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337471, 1399337473, 1399337467, 1399337479, 1399337475, 1399337469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71885871887207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:51:02.603609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/19/image_14122025_09_20_04_9561.jpg', '/home/pi/Desktop/images/14122025/09/20/image_14122025_09_20_15_10660.jpg', '/home/pi/Desktop/images/14122025/09/20/image_14122025_09_20_25_9618.jpg', '/home/pi/Desktop/images/14122025/09/20/image_14122025_09_20_34_9613.jpg', '/home/pi/Desktop/images/14122025/09/20/image_14122025_09_20_45_10759.jpg', '/home/pi/Desktop/images/14122025/09/20/image_14122025_09_20_55_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/19/image_14122025_09_20_04_9561.jpg
/home/pi/Desktop/images/14122025/09/20/image_14122025_09_20_15_10660.jpg
/home/pi/Desktop/images/14122025/09/20/image_14122025_09_20_25_9618.jpg
/home/pi/Desktop/images/14122025/09/20/image_14122025_09_20_34_9613.jpg
/home/pi/Desktop/images/14122025/09/20/image_14122025_09_20_45_10759.jpg
/home/pi/Desktop/images/14122025/09/20/image_14122025_09_20_55_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":["1399337480","1399337483","1399337486","1399337482","1399337484","1399337481"],"photo_ids_order":["1399337480","1399337481","1399337482","1399337483","1399337484","1399337486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81a30ae34a4c8fd4568b0570e67a8172.jpg","text":"TemporaryFile(/tmp/multipartBody1289605975435690158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702323277,"filename":"image_14122025_09_20_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/12/14/d5fc057dbfe0295e548aadc82b66dde8.jpg","text":"TemporaryFile(/tmp/multipartBody528449698985243257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702323277,"filename":"image_14122025_09_20_34_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7643d93d02ebe510418abaeaee434913.jpg","text":"TemporaryFile(/tmp/multipartBody5321998465693774224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702323277,"filename":"image_14122025_09_20_55_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/10b9d6da8d184c051d40fc8545f4fdf6.jpg","text":"TemporaryFile(/tmp/multipartBody7356220717403187650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702323277,"filename":"image_14122025_09_20_25_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/335255b22a8d0b41de7db4847b27c395.jpg","text":"TemporaryFile(/tmp/multipartBody6628557406748407552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702323277,"filename":"image_14122025_09_20_45_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/49f28374d001dd1d3b968dcb8e27de5a.jpg","text":"TemporaryFile(/tmp/multipartBody7184245230117708135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702323277,"filename":"image_14122025_09_20_15_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337482","file1":"1399337481","file0":"1399337480","file4":"1399337484","file5":"1399337486","file3":"1399337483"},"map_files_photo_id_array":[{"photo_id":"1399337486","filename":"file5"},{"photo_id":"1399337482","filename":"file2"},{"photo_id":"1399337484","filename":"file4"},{"photo_id":"1399337481","filename":"file1"},{"photo_id":"1399337480","filename":"file0"},{"photo_id":"1399337483","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337480":["hashtag1","hashtag2"]},{"1399337483":["hashtag1","hashtag2"]},{"1399337486":["hashtag1","hashtag2"]},{"1399337482":["hashtag1","hashtag2"]},{"1399337484":["hashtag1","hashtag2"]},{"1399337481":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337480, 1399337483, 1399337486, 1399337482, 1399337484, 1399337481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14626431465149 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:51:41.970902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_22_1618.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_24_1707.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_25_1593.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_27_1638.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_29_2103.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_31_1722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_22_1618.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_24_1707.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_25_1593.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_27_1638.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_29_2103.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_31_1722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337498","1399337491","1399337494","1399337497","1399337496","1399337499"],"photo_ids_order":["1399337491","1399337494","1399337496","1399337497","1399337498","1399337499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c2985765146fddf81736a1b8f1c69347.jpg","text":"TemporaryFile(/tmp/multipartBody2037781625472724788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702362558,"filename":"image_04112025_12_38_29_2103.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b29537974766d9fbde8557427c86d6e.jpg","text":"TemporaryFile(/tmp/multipartBody2462402635700881336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702362558,"filename":"image_04112025_12_38_22_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92aaad97d942f942dec5799be269ab39.jpg","text":"TemporaryFile(/tmp/multipartBody985739097821774580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702362558,"filename":"image_04112025_12_38_24_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6555cfe206095105b74c41823fece774.jpg","text":"TemporaryFile(/tmp/multipartBody3873980728402948644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702362558,"filename":"image_04112025_12_38_27_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/402bc92a8ca0bbaf1392393fc7402c16.jpg","text":"TemporaryFile(/tmp/multipartBody726064687747482382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702362558,"filename":"image_04112025_12_38_25_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8bd1f0a023c01f94a7e54d6e51951c5d.jpg","text":"TemporaryFile(/tmp/multipartBody1037987877360422584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702362558,"filename":"image_04112025_12_38_31_1722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337496","file1":"1399337494","file0":"1399337491","file4":"1399337498","file5":"1399337499","file3":"1399337497"},"map_files_photo_id_array":[{"photo_id":"1399337499","filename":"file5"},{"photo_id":"1399337496","filename":"file2"},{"photo_id":"1399337498","filename":"file4"},{"photo_id":"1399337494","filename":"file1"},{"photo_id":"1399337491","filename":"file0"},{"photo_id":"1399337497","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337498":["hashtag1","hashtag2"]},{"1399337491":["hashtag1","hashtag2"]},{"1399337494":["hashtag1","hashtag2"]},{"1399337497":["hashtag1","hashtag2"]},{"1399337496":["hashtag1","hashtag2"]},{"1399337499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337498, 1399337491, 1399337494, 1399337497, 1399337496, 1399337499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.661086082458496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:52:22.216356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/21/image_14122025_09_21_14_9702.jpg', '/home/pi/Desktop/images/14122025/09/21/image_14122025_09_21_25_10674.jpg', '/home/pi/Desktop/images/14122025/09/21/image_14122025_09_21_55_10806.jpg', '/home/pi/Desktop/images/14122025/09/21/image_14122025_09_22_05_9583.jpg', '/home/pi/Desktop/images/14122025/09/22/image_14122025_09_22_14_9678.jpg', '/home/pi/Desktop/images/14122025/09/22/image_14122025_09_22_25_10832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/21/image_14122025_09_21_14_9702.jpg
/home/pi/Desktop/images/14122025/09/21/image_14122025_09_21_25_10674.jpg
/home/pi/Desktop/images/14122025/09/21/image_14122025_09_21_55_10806.jpg
/home/pi/Desktop/images/14122025/09/21/image_14122025_09_22_05_9583.jpg
/home/pi/Desktop/images/14122025/09/22/image_14122025_09_22_14_9678.jpg
/home/pi/Desktop/images/14122025/09/22/image_14122025_09_22_25_10832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337511","1399337505","1399337507","1399337501","1399337503","1399337500"],"photo_ids_order":["1399337500","1399337501","1399337503","1399337505","1399337507","1399337511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9e1d4487add404b58c2b5310a035a95c.jpg","text":"TemporaryFile(/tmp/multipartBody406947209641132017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702402810,"filename":"image_14122025_09_22_25_10832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/49a7a73ecb3943a7425cbe5ad6233039.jpg","text":"TemporaryFile(/tmp/multipartBody3757165310461619364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702402810,"filename":"image_14122025_09_22_05_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7458b6ffa4534d84d5ec9ebc197b0874.jpg","text":"TemporaryFile(/tmp/multipartBody221576215447091512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702402810,"filename":"image_14122025_09_22_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/12/14/70e8ca71a57b9b1fe5be7123516973f0.jpg","text":"TemporaryFile(/tmp/multipartBody8556545801858558350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702402810,"filename":"image_14122025_09_21_25_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/07e1fce118172418767ff8312bc352ff.jpg","text":"TemporaryFile(/tmp/multipartBody6193669697205726348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702402810,"filename":"image_14122025_09_21_55_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3adb65c0448a41dd5bea01d4ab36db11.jpg","text":"TemporaryFile(/tmp/multipartBody1173980324560225509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702402810,"filename":"image_14122025_09_21_14_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337503","file1":"1399337501","file0":"1399337500","file4":"1399337507","file5":"1399337511","file3":"1399337505"},"map_files_photo_id_array":[{"photo_id":"1399337511","filename":"file5"},{"photo_id":"1399337503","filename":"file2"},{"photo_id":"1399337507","filename":"file4"},{"photo_id":"1399337501","filename":"file1"},{"photo_id":"1399337500","filename":"file0"},{"photo_id":"1399337505","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337511":["hashtag1","hashtag2"]},{"1399337505":["hashtag1","hashtag2"]},{"1399337507":["hashtag1","hashtag2"]},{"1399337501":["hashtag1","hashtag2"]},{"1399337503":["hashtag1","hashtag2"]},{"1399337500":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337511, 1399337505, 1399337507, 1399337501, 1399337503, 1399337500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85316443443298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:53:03.139115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/22/image_14122025_09_22_55_10656.jpg', '/home/pi/Desktop/images/14122025/09/22/image_14122025_09_23_05_9709.jpg', '/home/pi/Desktop/images/14122025/09/23/image_14122025_09_24_05_9679.jpg', '/home/pi/Desktop/images/14122025/09/24/image_14122025_09_25_05_10698.jpg', '/home/pi/Desktop/images/14122025/09/25/image_14122025_09_25_15_9693.jpg', '/home/pi/Desktop/images/14122025/09/25/image_14122025_09_25_24_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/22/image_14122025_09_22_55_10656.jpg
/home/pi/Desktop/images/14122025/09/22/image_14122025_09_23_05_9709.jpg
/home/pi/Desktop/images/14122025/09/23/image_14122025_09_24_05_9679.jpg
/home/pi/Desktop/images/14122025/09/24/image_14122025_09_25_05_10698.jpg
/home/pi/Desktop/images/14122025/09/25/image_14122025_09_25_15_9693.jpg
/home/pi/Desktop/images/14122025/09/25/image_14122025_09_25_24_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":["1399337517","1399337519","1399337522","1399337521","1399337524","1399337520"],"photo_ids_order":["1399337517","1399337519","1399337520","1399337521","1399337522","1399337524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8318c860d0a4c6a89c6136fee29f7179.jpg","text":"TemporaryFile(/tmp/multipartBody5563601512809358535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702443823,"filename":"image_14122025_09_22_55_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/47748d52997cb662cbf69a52e67ecc19.jpg","text":"TemporaryFile(/tmp/multipartBody6467894584730296761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702443823,"filename":"image_14122025_09_23_05_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e15ed8d1252df82d58caf345a6ce5f09.jpg","text":"TemporaryFile(/tmp/multipartBody8194551188135970003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702443823,"filename":"image_14122025_09_25_15_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f2cf881f7f864deb52dfdd84e94a1dbe.jpg","text":"TemporaryFile(/tmp/multipartBody8166588804816814067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702443823,"filename":"image_14122025_09_25_05_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a3efdefdf93e8fe5e6c156906be0896.jpg","text":"TemporaryFile(/tmp/multipartBody1691148536243435670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702443823,"filename":"image_14122025_09_25_24_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b150137814a2e5c7d95624b7501bdaf.jpg","text":"TemporaryFile(/tmp/multipartBody3676788953580534914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702443823,"filename":"image_14122025_09_24_05_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337520","file1":"1399337519","file0":"1399337517","file4":"1399337522","file5":"1399337524","file3":"1399337521"},"map_files_photo_id_array":[{"photo_id":"1399337524","filename":"file5"},{"photo_id":"1399337520","filename":"file2"},{"photo_id":"1399337522","filename":"file4"},{"photo_id":"1399337519","filename":"file1"},{"photo_id":"1399337517","filename":"file0"},{"photo_id":"1399337521","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337517":["hashtag1","hashtag2"]},{"1399337519":["hashtag1","hashtag2"]},{"1399337522":["hashtag1","hashtag2"]},{"1399337521":["hashtag1","hashtag2"]},{"1399337524":["hashtag1","hashtag2"]},{"1399337520":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337517, 1399337519, 1399337522, 1399337521, 1399337524, 1399337520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12484002113342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:53:42.652539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_32_1686.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_34_1706.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_36_1638.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_37_1579.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_49_11337.jpg', '/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_03_14560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_32_1686.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_34_1706.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_36_1638.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_37_1579.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_49_11337.jpg
/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_03_14560.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5806076526641846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:54:02.460792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/25/image_14122025_09_25_45_9656.jpg', '/home/pi/Desktop/images/14122025/09/25/image_14122025_09_25_54_9692.jpg', '/home/pi/Desktop/images/14122025/09/25/image_14122025_09_26_04_9724.jpg', '/home/pi/Desktop/images/14122025/09/26/image_14122025_09_26_25_9722.jpg', '/home/pi/Desktop/images/14122025/09/26/image_14122025_09_26_34_9700.jpg', '/home/pi/Desktop/images/14122025/09/26/image_14122025_09_26_45_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/25/image_14122025_09_25_45_9656.jpg
/home/pi/Desktop/images/14122025/09/25/image_14122025_09_25_54_9692.jpg
/home/pi/Desktop/images/14122025/09/25/image_14122025_09_26_04_9724.jpg
/home/pi/Desktop/images/14122025/09/26/image_14122025_09_26_25_9722.jpg
/home/pi/Desktop/images/14122025/09/26/image_14122025_09_26_34_9700.jpg
/home/pi/Desktop/images/14122025/09/26/image_14122025_09_26_45_10713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337538","1399337543","1399337537","1399337540","1399337539","1399337541"],"photo_ids_order":["1399337537","1399337538","1399337539","1399337540","1399337541","1399337543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a9b4d06814784a3ffcb1e8499f756b8.jpg","text":"TemporaryFile(/tmp/multipartBody6622004675995598000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702503315,"filename":"image_14122025_09_25_54_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f0836d401a0080649eb5ba5c7a08ae8.jpg","text":"TemporaryFile(/tmp/multipartBody4236629037160322152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702503315,"filename":"image_14122025_09_26_45_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/387be91d42ea1f21028c57fc82c28d95.jpg","text":"TemporaryFile(/tmp/multipartBody4649050953314671121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702503315,"filename":"image_14122025_09_25_45_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e1ffaa4fdb6bca66d51683de53677620.jpg","text":"TemporaryFile(/tmp/multipartBody4529556190759572644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702503315,"filename":"image_14122025_09_26_25_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81043bb50fcbd5d8027bec130843819f.jpg","text":"TemporaryFile(/tmp/multipartBody6630860327687479912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702503315,"filename":"image_14122025_09_26_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/12/14/b47b7812a3d232af89ccc500d31327bf.jpg","text":"TemporaryFile(/tmp/multipartBody9160552962311197275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702503315,"filename":"image_14122025_09_26_34_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337539","file1":"1399337538","file0":"1399337537","file4":"1399337541","file5":"1399337543","file3":"1399337540"},"map_files_photo_id_array":[{"photo_id":"1399337543","filename":"file5"},{"photo_id":"1399337539","filename":"file2"},{"photo_id":"1399337541","filename":"file4"},{"photo_id":"1399337538","filename":"file1"},{"photo_id":"1399337537","filename":"file0"},{"photo_id":"1399337540","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337538":["hashtag1","hashtag2"]},{"1399337543":["hashtag1","hashtag2"]},{"1399337537":["hashtag1","hashtag2"]},{"1399337540":["hashtag1","hashtag2"]},{"1399337539":["hashtag1","hashtag2"]},{"1399337541":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337538, 1399337543, 1399337537, 1399337540, 1399337539, 1399337541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29154396057129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:54:41.824661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_32_1686.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_34_1706.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_36_1638.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_37_1579.jpg', '/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_49_11337.jpg', '/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_03_14560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_32_1686.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_34_1706.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_36_1638.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_37_1579.jpg
/home/pi/Desktop/images/04112025/12/38/image_04112025_12_38_49_11337.jpg
/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_03_14560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337552","1399337549","1399337554","1399337551","1399337550","1399337547"],"photo_ids_order":["1399337547","1399337549","1399337550","1399337551","1399337552","1399337554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d63f80280999dc7b883f6f0b0dce19a0.jpg","text":"TemporaryFile(/tmp/multipartBody3959426430625320011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702542409,"filename":"image_04112025_12_38_49_11337.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/685eb5f5784ce3413fbdb71ecf4fe38e.jpg","text":"TemporaryFile(/tmp/multipartBody3483242182585901246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702542409,"filename":"image_04112025_12_38_34_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/25f3eeb7dcaedcb9d5cd6ae8ff13c78e.jpg","text":"TemporaryFile(/tmp/multipartBody2734919256263805694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702542409,"filename":"image_04112025_12_39_03_14560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fa63615b6d2251faf86b66ce9655c2cf.jpg","text":"TemporaryFile(/tmp/multipartBody224184921119632570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702542409,"filename":"image_04112025_12_38_37_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4699b7a9554b38433ba4e12ec28b8a8c.jpg","text":"TemporaryFile(/tmp/multipartBody428440250935056445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702542409,"filename":"image_04112025_12_38_36_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3fd5e9cec9f3cb6ca124fda594cb269d.jpg","text":"TemporaryFile(/tmp/multipartBody7094113123973179748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702542409,"filename":"image_04112025_12_38_32_1686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337550","file1":"1399337549","file0":"1399337547","file4":"1399337552","file5":"1399337554","file3":"1399337551"},"map_files_photo_id_array":[{"photo_id":"1399337554","filename":"file5"},{"photo_id":"1399337550","filename":"file2"},{"photo_id":"1399337552","filename":"file4"},{"photo_id":"1399337549","filename":"file1"},{"photo_id":"1399337547","filename":"file0"},{"photo_id":"1399337551","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337552":["hashtag1","hashtag2"]},{"1399337549":["hashtag1","hashtag2"]},{"1399337554":["hashtag1","hashtag2"]},{"1399337551":["hashtag1","hashtag2"]},{"1399337550":["hashtag1","hashtag2"]},{"1399337547":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337552, 1399337549, 1399337554, 1399337551, 1399337550, 1399337547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62695026397705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:55:22.089090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/26/image_14122025_09_26_55_9598.jpg', '/home/pi/Desktop/images/14122025/09/26/image_14122025_09_27_04_9799.jpg', '/home/pi/Desktop/images/14122025/09/27/image_14122025_09_27_15_10643.jpg', '/home/pi/Desktop/images/14122025/09/27/image_14122025_09_27_25_9726.jpg', '/home/pi/Desktop/images/14122025/09/27/image_14122025_09_27_34_9692.jpg', '/home/pi/Desktop/images/14122025/09/27/image_14122025_09_27_44_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/26/image_14122025_09_26_55_9598.jpg
/home/pi/Desktop/images/14122025/09/26/image_14122025_09_27_04_9799.jpg
/home/pi/Desktop/images/14122025/09/27/image_14122025_09_27_15_10643.jpg
/home/pi/Desktop/images/14122025/09/27/image_14122025_09_27_25_9726.jpg
/home/pi/Desktop/images/14122025/09/27/image_14122025_09_27_34_9692.jpg
/home/pi/Desktop/images/14122025/09/27/image_14122025_09_27_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":["1399337561","1399337555","1399337563","1399337557","1399337565","1399337559"],"photo_ids_order":["1399337555","1399337557","1399337559","1399337561","1399337563","1399337565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3483b6d3d872a737d0a0a5e2aa0c407.jpg","text":"TemporaryFile(/tmp/multipartBody3626230007425537800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702582708,"filename":"image_14122025_09_27_25_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd7a1709be5725edcc3c71e857e65dd3.jpg","text":"TemporaryFile(/tmp/multipartBody912630661322246868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702582708,"filename":"image_14122025_09_26_55_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0bbf88cb94a2808bdb77dec2dbb2b320.jpg","text":"TemporaryFile(/tmp/multipartBody4257648337859475816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702582708,"filename":"image_14122025_09_27_34_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e137cde5bc9c3339424c2e26e5295264.jpg","text":"TemporaryFile(/tmp/multipartBody5087619063461818303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702582708,"filename":"image_14122025_09_27_04_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fbf04e2853e0a3af65a2d4e470e5e5bc.jpg","text":"TemporaryFile(/tmp/multipartBody1450722454509883476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702582708,"filename":"image_14122025_09_27_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/12/14/ac760fc0d99c908e7696fd858dd00805.jpg","text":"TemporaryFile(/tmp/multipartBody6441984056568860857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702582708,"filename":"image_14122025_09_27_15_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337559","file1":"1399337557","file0":"1399337555","file4":"1399337563","file5":"1399337565","file3":"1399337561"},"map_files_photo_id_array":[{"photo_id":"1399337565","filename":"file5"},{"photo_id":"1399337559","filename":"file2"},{"photo_id":"1399337563","filename":"file4"},{"photo_id":"1399337557","filename":"file1"},{"photo_id":"1399337555","filename":"file0"},{"photo_id":"1399337561","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337561":["hashtag1","hashtag2"]},{"1399337555":["hashtag1","hashtag2"]},{"1399337563":["hashtag1","hashtag2"]},{"1399337557":["hashtag1","hashtag2"]},{"1399337565":["hashtag1","hashtag2"]},{"1399337559":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337561, 1399337555, 1399337563, 1399337557, 1399337565, 1399337559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06096005439758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:56:02.859026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/27/image_14122025_09_27_55_10561.jpg', '/home/pi/Desktop/images/14122025/09/27/image_14122025_09_28_04_9632.jpg', '/home/pi/Desktop/images/14122025/09/28/image_14122025_09_28_14_9697.jpg', '/home/pi/Desktop/images/14122025/09/28/image_14122025_09_28_34_9709.jpg', '/home/pi/Desktop/images/14122025/09/28/image_14122025_09_29_05_9646.jpg', '/home/pi/Desktop/images/14122025/09/29/image_14122025_09_29_14_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/27/image_14122025_09_27_55_10561.jpg
/home/pi/Desktop/images/14122025/09/27/image_14122025_09_28_04_9632.jpg
/home/pi/Desktop/images/14122025/09/28/image_14122025_09_28_14_9697.jpg
/home/pi/Desktop/images/14122025/09/28/image_14122025_09_28_34_9709.jpg
/home/pi/Desktop/images/14122025/09/28/image_14122025_09_29_05_9646.jpg
/home/pi/Desktop/images/14122025/09/29/image_14122025_09_29_14_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":["1399337570","1399337567","1399337572","1399337569","1399337571","1399337568"],"photo_ids_order":["1399337567","1399337568","1399337569","1399337570","1399337571","1399337572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2c0b205adfaf1295426a069cd7da1747.jpg","text":"TemporaryFile(/tmp/multipartBody6140664501358125452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702623490,"filename":"image_14122025_09_28_34_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ddf49d24432f954fd2ef0a7f4d0ba4e.jpg","text":"TemporaryFile(/tmp/multipartBody1748918468870731051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702623490,"filename":"image_14122025_09_27_55_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0af766f3a74e2824bed18320d8991359.jpg","text":"TemporaryFile(/tmp/multipartBody2620919098406703628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702623490,"filename":"image_14122025_09_29_14_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/86f226d82f80ca5ba8073485e44fe619.jpg","text":"TemporaryFile(/tmp/multipartBody4491459238037717021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702623490,"filename":"image_14122025_09_28_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ca307d9c4dabca57f12bc0e2e49ad8c1.jpg","text":"TemporaryFile(/tmp/multipartBody5272830981873694777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702623490,"filename":"image_14122025_09_29_05_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c528cfd8a964b9b02bd9fa4e2367d28.jpg","text":"TemporaryFile(/tmp/multipartBody9051665396083929266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702623490,"filename":"image_14122025_09_28_04_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337569","file1":"1399337568","file0":"1399337567","file4":"1399337571","file5":"1399337572","file3":"1399337570"},"map_files_photo_id_array":[{"photo_id":"1399337572","filename":"file5"},{"photo_id":"1399337569","filename":"file2"},{"photo_id":"1399337571","filename":"file4"},{"photo_id":"1399337568","filename":"file1"},{"photo_id":"1399337567","filename":"file0"},{"photo_id":"1399337570","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337570":["hashtag1","hashtag2"]},{"1399337567":["hashtag1","hashtag2"]},{"1399337572":["hashtag1","hashtag2"]},{"1399337569":["hashtag1","hashtag2"]},{"1399337571":["hashtag1","hashtag2"]},{"1399337568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337570, 1399337567, 1399337572, 1399337569, 1399337571, 1399337568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49681806564331 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 09:56:42.319049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_05_1739.jpg', '/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_07_1559.jpg', '/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_08_1751.jpg', '/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_10_1614.jpg', '/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_12_1660.jpg', '/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_13_1704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_05_1739.jpg
/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_07_1559.jpg
/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_08_1751.jpg
/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_10_1614.jpg
/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_12_1660.jpg
/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_13_1704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337582","1399337579","1399337590","1399337584","1399337587","1399337586"],"photo_ids_order":["1399337579","1399337582","1399337584","1399337586","1399337587","1399337590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f557620cf8823fbc7e5a19fb1e2957c2.jpg","text":"TemporaryFile(/tmp/multipartBody1993442473828246521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702663825,"filename":"image_04112025_12_39_07_1559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e781f2c1269c6091123c708710e81462.jpg","text":"TemporaryFile(/tmp/multipartBody8144746109992424991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702663825,"filename":"image_04112025_12_39_05_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2be0801061e6d414c2a0dd0a6bbe5eb.jpg","text":"TemporaryFile(/tmp/multipartBody8814076251885928874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702663825,"filename":"image_04112025_12_39_13_1704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cb4acdb2813f4750520941fba755d4e5.jpg","text":"TemporaryFile(/tmp/multipartBody109696069123061811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702663825,"filename":"image_04112025_12_39_08_1751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e102e7d768784a181f7d14e1b925020f.jpg","text":"TemporaryFile(/tmp/multipartBody6808847756511506030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702663825,"filename":"image_04112025_12_39_12_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14654ba92ff4313d92ee0bb56b3aef35.jpg","text":"TemporaryFile(/tmp/multipartBody8903320357261645272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702663825,"filename":"image_04112025_12_39_10_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337584","file1":"1399337582","file0":"1399337579","file4":"1399337587","file5":"1399337590","file3":"1399337586"},"map_files_photo_id_array":[{"photo_id":"1399337590","filename":"file5"},{"photo_id":"1399337584","filename":"file2"},{"photo_id":"1399337587","filename":"file4"},{"photo_id":"1399337582","filename":"file1"},{"photo_id":"1399337579","filename":"file0"},{"photo_id":"1399337586","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337582":["hashtag1","hashtag2"]},{"1399337579":["hashtag1","hashtag2"]},{"1399337590":["hashtag1","hashtag2"]},{"1399337584":["hashtag1","hashtag2"]},{"1399337587":["hashtag1","hashtag2"]},{"1399337586":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337582, 1399337579, 1399337590, 1399337584, 1399337587, 1399337586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15449237823486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 09:57:22.538228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/29/image_14122025_09_29_25_10847.jpg', '/home/pi/Desktop/images/14122025/09/29/image_14122025_09_29_54_9787.jpg', '/home/pi/Desktop/images/14122025/09/30/image_14122025_09_30_14_10057.jpg', '/home/pi/Desktop/images/14122025/09/30/image_14122025_09_30_25_10754.jpg', '/home/pi/Desktop/images/14122025/09/30/image_14122025_09_30_35_9790.jpg', '/home/pi/Desktop/images/14122025/09/30/image_14122025_09_30_45_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/29/image_14122025_09_29_25_10847.jpg
/home/pi/Desktop/images/14122025/09/29/image_14122025_09_29_54_9787.jpg
/home/pi/Desktop/images/14122025/09/30/image_14122025_09_30_14_10057.jpg
/home/pi/Desktop/images/14122025/09/30/image_14122025_09_30_25_10754.jpg
/home/pi/Desktop/images/14122025/09/30/image_14122025_09_30_35_9790.jpg
/home/pi/Desktop/images/14122025/09/30/image_14122025_09_30_45_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":["1399337601","1399337597","1399337599","1399337596","1399337595","1399337598"],"photo_ids_order":["1399337595","1399337596","1399337597","1399337598","1399337599","1399337601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a8baf1e1f162873e224ff9e9a05025d4.jpg","text":"TemporaryFile(/tmp/multipartBody4427704839018472306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702703196,"filename":"image_14122025_09_30_45_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/656e5a1be61008c7d0b6bd7d2fa52754.jpg","text":"TemporaryFile(/tmp/multipartBody8435990205316266002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702703196,"filename":"image_14122025_09_30_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/71fa01626a1e14fd3fb6dc855b7c0e7c.jpg","text":"TemporaryFile(/tmp/multipartBody4075385769969983450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702703196,"filename":"image_14122025_09_30_35_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b039b253f673c3dade84ffecc44bcfc7.jpg","text":"TemporaryFile(/tmp/multipartBody1509586262962944118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702703196,"filename":"image_14122025_09_29_54_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f712ae6d1bba4941f6ba6d9f1e84fa3.jpg","text":"TemporaryFile(/tmp/multipartBody1719664608619401832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702703196,"filename":"image_14122025_09_29_25_10847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ccac3103fea0ee893448aa8b66bdd59a.jpg","text":"TemporaryFile(/tmp/multipartBody6987911914553673424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702703196,"filename":"image_14122025_09_30_25_10754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337597","file1":"1399337596","file0":"1399337595","file4":"1399337599","file5":"1399337601","file3":"1399337598"},"map_files_photo_id_array":[{"photo_id":"1399337601","filename":"file5"},{"photo_id":"1399337597","filename":"file2"},{"photo_id":"1399337599","filename":"file4"},{"photo_id":"1399337596","filename":"file1"},{"photo_id":"1399337595","filename":"file0"},{"photo_id":"1399337598","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337601":["hashtag1","hashtag2"]},{"1399337597":["hashtag1","hashtag2"]},{"1399337599":["hashtag1","hashtag2"]},{"1399337596":["hashtag1","hashtag2"]},{"1399337595":["hashtag1","hashtag2"]},{"1399337598":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337601, 1399337597, 1399337599, 1399337596, 1399337595, 1399337598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54927444458008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 09:59:03.131837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/30/image_14122025_09_30_54_9682.jpg', '/home/pi/Desktop/images/14122025/09/30/image_14122025_09_31_05_10975.jpg', '/home/pi/Desktop/images/14122025/09/31/image_14122025_09_31_25_9646.jpg', '/home/pi/Desktop/images/14122025/09/31/image_14122025_09_31_34_9629.jpg', '/home/pi/Desktop/images/14122025/09/31/image_14122025_09_31_45_10834.jpg', '/home/pi/Desktop/images/14122025/09/31/image_14122025_09_31_55_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/30/image_14122025_09_30_54_9682.jpg
/home/pi/Desktop/images/14122025/09/30/image_14122025_09_31_05_10975.jpg
/home/pi/Desktop/images/14122025/09/31/image_14122025_09_31_25_9646.jpg
/home/pi/Desktop/images/14122025/09/31/image_14122025_09_31_34_9629.jpg
/home/pi/Desktop/images/14122025/09/31/image_14122025_09_31_45_10834.jpg
/home/pi/Desktop/images/14122025/09/31/image_14122025_09_31_55_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337616","1399337610","1399337618","1399337609","1399337620","1399337613"],"photo_ids_order":["1399337609","1399337610","1399337613","1399337616","1399337618","1399337620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/363992bf36e50d1487b0ede0a4df2cf5.jpg","text":"TemporaryFile(/tmp/multipartBody9017840640878495064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702803847,"filename":"image_14122025_09_31_34_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e400a4c96f2f106235fd53f23bee7629.jpg","text":"TemporaryFile(/tmp/multipartBody5114539861630500886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702803847,"filename":"image_14122025_09_31_05_10975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/090d7f767ae15bcd962600685e4c1c82.jpg","text":"TemporaryFile(/tmp/multipartBody8908180644985681551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702803847,"filename":"image_14122025_09_31_45_10834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f94b22e4d109aa270388788a92de437.jpg","text":"TemporaryFile(/tmp/multipartBody6110110835115916126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702803847,"filename":"image_14122025_09_30_54_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b721fc2350330a222c2f53d1d9ddaa89.jpg","text":"TemporaryFile(/tmp/multipartBody4800592062300675091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702803847,"filename":"image_14122025_09_31_55_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0e833bc775fc6da92101fbf8ea614a25.jpg","text":"TemporaryFile(/tmp/multipartBody7912881307212352677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702803847,"filename":"image_14122025_09_31_25_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337613","file1":"1399337610","file0":"1399337609","file4":"1399337618","file5":"1399337620","file3":"1399337616"},"map_files_photo_id_array":[{"photo_id":"1399337620","filename":"file5"},{"photo_id":"1399337613","filename":"file2"},{"photo_id":"1399337618","filename":"file4"},{"photo_id":"1399337610","filename":"file1"},{"photo_id":"1399337609","filename":"file0"},{"photo_id":"1399337616","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337616":["hashtag1","hashtag2"]},{"1399337610":["hashtag1","hashtag2"]},{"1399337618":["hashtag1","hashtag2"]},{"1399337609":["hashtag1","hashtag2"]},{"1399337620":["hashtag1","hashtag2"]},{"1399337613":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337616, 1399337610, 1399337618, 1399337609, 1399337620, 1399337613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83817148208618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:00:02.784222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/31/image_14122025_09_32_05_9960.jpg', '/home/pi/Desktop/images/14122025/09/32/image_14122025_09_32_35_10626.jpg', '/home/pi/Desktop/images/14122025/09/32/image_14122025_09_32_55_9775.jpg', '/home/pi/Desktop/images/14122025/09/33/image_14122025_09_33_15_10701.jpg', '/home/pi/Desktop/images/14122025/09/33/image_14122025_09_33_34_9640.jpg', '/home/pi/Desktop/images/14122025/09/33/image_14122025_09_33_45_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/31/image_14122025_09_32_05_9960.jpg
/home/pi/Desktop/images/14122025/09/32/image_14122025_09_32_35_10626.jpg
/home/pi/Desktop/images/14122025/09/32/image_14122025_09_32_55_9775.jpg
/home/pi/Desktop/images/14122025/09/33/image_14122025_09_33_15_10701.jpg
/home/pi/Desktop/images/14122025/09/33/image_14122025_09_33_34_9640.jpg
/home/pi/Desktop/images/14122025/09/33/image_14122025_09_33_45_10690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337633","1399337635","1399337629","1399337632","1399337631","1399337634"],"photo_ids_order":["1399337629","1399337631","1399337632","1399337633","1399337634","1399337635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a33090af4f839c48a6ed2e3b54d88fd4.jpg","text":"TemporaryFile(/tmp/multipartBody4482290471543120918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702863422,"filename":"image_14122025_09_33_15_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f82e3cee5fa195ebbbdb71fb35cdd1fe.jpg","text":"TemporaryFile(/tmp/multipartBody5769048009271876153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702863422,"filename":"image_14122025_09_33_45_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8e25ec6923470e70c29702de0b3c2d13.jpg","text":"TemporaryFile(/tmp/multipartBody2252442115721351865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702863422,"filename":"image_14122025_09_32_05_9960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d86a88f13b597b2f78b2da8858370993.jpg","text":"TemporaryFile(/tmp/multipartBody2033463178061060629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702863422,"filename":"image_14122025_09_32_55_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63b0bffafc648a02b13429cf21363192.jpg","text":"TemporaryFile(/tmp/multipartBody7830804103762165594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702863422,"filename":"image_14122025_09_32_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/12/14/ad601f4094781831ebeb9999be3657ca.jpg","text":"TemporaryFile(/tmp/multipartBody682714288295842115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702863422,"filename":"image_14122025_09_33_34_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337632","file1":"1399337631","file0":"1399337629","file4":"1399337634","file5":"1399337635","file3":"1399337633"},"map_files_photo_id_array":[{"photo_id":"1399337635","filename":"file5"},{"photo_id":"1399337632","filename":"file2"},{"photo_id":"1399337634","filename":"file4"},{"photo_id":"1399337631","filename":"file1"},{"photo_id":"1399337629","filename":"file0"},{"photo_id":"1399337633","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337633":["hashtag1","hashtag2"]},{"1399337635":["hashtag1","hashtag2"]},{"1399337629":["hashtag1","hashtag2"]},{"1399337632":["hashtag1","hashtag2"]},{"1399337631":["hashtag1","hashtag2"]},{"1399337634":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337633, 1399337635, 1399337629, 1399337632, 1399337631, 1399337634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.849048137664795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:00:42.389287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_29_16094.jpg', '/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_44_14587.jpg', '/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_46_1578.jpg', '/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_47_1662.jpg', '/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_49_1547.jpg', '/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_50_1624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_29_16094.jpg
/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_44_14587.jpg
/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_46_1578.jpg
/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_47_1662.jpg
/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_49_1547.jpg
/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_50_1624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337647","1399337643","1399337652","1399337646","1399337649","1399337640"],"photo_ids_order":["1399337640","1399337643","1399337646","1399337647","1399337649","1399337652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e328e367bdd037d4060fb93954671ea1.jpg","text":"TemporaryFile(/tmp/multipartBody2758679069641881354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702903081,"filename":"image_04112025_12_39_47_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/608bdc0e0f7535343f451bda9963a68c.jpg","text":"TemporaryFile(/tmp/multipartBody4647432131673579774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702903081,"filename":"image_04112025_12_39_44_14587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b462bad0cd4b426ba7a3670443947c7f.jpg","text":"TemporaryFile(/tmp/multipartBody4428331608946867113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702903081,"filename":"image_04112025_12_39_50_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7cfe6fa400e46bde47ba853393ed8ec5.jpg","text":"TemporaryFile(/tmp/multipartBody6635218080937611428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702903081,"filename":"image_04112025_12_39_46_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1d63c6c8303f18445bd9fcc72440556f.jpg","text":"TemporaryFile(/tmp/multipartBody4466836196014656312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702903081,"filename":"image_04112025_12_39_49_1547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/43e8e655142d53b45c0faffb2bf99eda.jpg","text":"TemporaryFile(/tmp/multipartBody2182332606309329688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702903081,"filename":"image_04112025_12_39_29_16094.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337646","file1":"1399337643","file0":"1399337640","file4":"1399337649","file5":"1399337652","file3":"1399337647"},"map_files_photo_id_array":[{"photo_id":"1399337652","filename":"file5"},{"photo_id":"1399337646","filename":"file2"},{"photo_id":"1399337649","filename":"file4"},{"photo_id":"1399337643","filename":"file1"},{"photo_id":"1399337640","filename":"file0"},{"photo_id":"1399337647","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337647":["hashtag1","hashtag2"]},{"1399337643":["hashtag1","hashtag2"]},{"1399337652":["hashtag1","hashtag2"]},{"1399337646":["hashtag1","hashtag2"]},{"1399337649":["hashtag1","hashtag2"]},{"1399337640":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337647, 1399337643, 1399337652, 1399337646, 1399337649, 1399337640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7348313331604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:01:22.604729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/33/image_14122025_09_34_04_9682.jpg', '/home/pi/Desktop/images/14122025/09/34/image_14122025_09_35_04_9727.jpg', '/home/pi/Desktop/images/14122025/09/35/image_14122025_09_35_25_9725.jpg', '/home/pi/Desktop/images/14122025/09/35/image_14122025_09_35_45_10705.jpg', '/home/pi/Desktop/images/14122025/09/35/image_14122025_09_35_55_9761.jpg', '/home/pi/Desktop/images/14122025/09/35/image_14122025_09_36_04_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/33/image_14122025_09_34_04_9682.jpg
/home/pi/Desktop/images/14122025/09/34/image_14122025_09_35_04_9727.jpg
/home/pi/Desktop/images/14122025/09/35/image_14122025_09_35_25_9725.jpg
/home/pi/Desktop/images/14122025/09/35/image_14122025_09_35_45_10705.jpg
/home/pi/Desktop/images/14122025/09/35/image_14122025_09_35_55_9761.jpg
/home/pi/Desktop/images/14122025/09/35/image_14122025_09_36_04_9674.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4777836799621582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 10:01:32.641911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:01:42.574252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_52_1713.jpg', '/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_54_1768.jpg', '/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_55_1554.jpg', '/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_57_1725.jpg', '/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_59_1786.jpg', '/home/pi/Desktop/images/04112025/12/40/image_04112025_12_40_01_1732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_52_1713.jpg
/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_54_1768.jpg
/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_55_1554.jpg
/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_57_1725.jpg
/home/pi/Desktop/images/04112025/12/39/image_04112025_12_39_59_1786.jpg
/home/pi/Desktop/images/04112025/12/40/image_04112025_12_40_01_1732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337669","1399337666","1399337671","1399337668","1399337664","1399337667"],"photo_ids_order":["1399337664","1399337666","1399337667","1399337668","1399337669","1399337671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ee7d87c29fc41f5bffbe48403edd0d6.jpg","text":"TemporaryFile(/tmp/multipartBody2945473282672682992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702963267,"filename":"image_04112025_12_39_59_1786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c655a55d100a9ff7cafdd8c75616530.jpg","text":"TemporaryFile(/tmp/multipartBody7798745974518884842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702963267,"filename":"image_04112025_12_39_54_1768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/08e26ebb9c81486ff003adfc38036ac5.jpg","text":"TemporaryFile(/tmp/multipartBody3374752473242647750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702963267,"filename":"image_04112025_12_40_01_1732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92604c51a166bfcf88e91acb59daa347.jpg","text":"TemporaryFile(/tmp/multipartBody3892172113656486066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702963267,"filename":"image_04112025_12_39_57_1725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce58ac4e34f75b2d09e9b561ef6f48e9.jpg","text":"TemporaryFile(/tmp/multipartBody1151259356622990447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702963267,"filename":"image_04112025_12_39_52_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/143ff76a24cef60ccc94d030fb4585c7.jpg","text":"TemporaryFile(/tmp/multipartBody4211616157084040058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765702963267,"filename":"image_04112025_12_39_55_1554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337667","file1":"1399337666","file0":"1399337664","file4":"1399337669","file5":"1399337671","file3":"1399337668"},"map_files_photo_id_array":[{"photo_id":"1399337671","filename":"file5"},{"photo_id":"1399337667","filename":"file2"},{"photo_id":"1399337669","filename":"file4"},{"photo_id":"1399337666","filename":"file1"},{"photo_id":"1399337664","filename":"file0"},{"photo_id":"1399337668","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337669":["hashtag1","hashtag2"]},{"1399337666":["hashtag1","hashtag2"]},{"1399337671":["hashtag1","hashtag2"]},{"1399337668":["hashtag1","hashtag2"]},{"1399337664":["hashtag1","hashtag2"]},{"1399337667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337669, 1399337666, 1399337671, 1399337668, 1399337664, 1399337667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.225624561309814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:02:21.896826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/33/image_14122025_09_34_04_9682.jpg', '/home/pi/Desktop/images/14122025/09/34/image_14122025_09_35_04_9727.jpg', '/home/pi/Desktop/images/14122025/09/35/image_14122025_09_35_25_9725.jpg', '/home/pi/Desktop/images/14122025/09/35/image_14122025_09_35_45_10705.jpg', '/home/pi/Desktop/images/14122025/09/35/image_14122025_09_35_55_9761.jpg', '/home/pi/Desktop/images/14122025/09/35/image_14122025_09_36_04_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/33/image_14122025_09_34_04_9682.jpg
/home/pi/Desktop/images/14122025/09/34/image_14122025_09_35_04_9727.jpg
/home/pi/Desktop/images/14122025/09/35/image_14122025_09_35_25_9725.jpg
/home/pi/Desktop/images/14122025/09/35/image_14122025_09_35_45_10705.jpg
/home/pi/Desktop/images/14122025/09/35/image_14122025_09_35_55_9761.jpg
/home/pi/Desktop/images/14122025/09/35/image_14122025_09_36_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":["1399337678","1399337680","1399337677","1399337682","1399337676","1399337679"],"photo_ids_order":["1399337676","1399337677","1399337678","1399337679","1399337680","1399337682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f8a9c96fd83c2b7296b0e1c1760be23.jpg","text":"TemporaryFile(/tmp/multipartBody3399574386679994714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703002508,"filename":"image_14122025_09_35_25_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/adbf0a630ec7264e6ef417bf4bae5360.jpg","text":"TemporaryFile(/tmp/multipartBody1883823215768536932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703002508,"filename":"image_14122025_09_35_55_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/436a7922cd9b7b8ac09a0736b6f90902.jpg","text":"TemporaryFile(/tmp/multipartBody7407156651679230319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703002508,"filename":"image_14122025_09_35_04_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c12581d22c380590f07f4a5de06dccdc.jpg","text":"TemporaryFile(/tmp/multipartBody5570681294809408812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703002508,"filename":"image_14122025_09_36_04_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d1f0ca9530d23221316ae024b5d55378.jpg","text":"TemporaryFile(/tmp/multipartBody445810568950522650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703002508,"filename":"image_14122025_09_34_04_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1234f8dad97c1a6194cd0744bb9d0dd4.jpg","text":"TemporaryFile(/tmp/multipartBody37810736868084067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703002508,"filename":"image_14122025_09_35_45_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337678","file1":"1399337677","file0":"1399337676","file4":"1399337680","file5":"1399337682","file3":"1399337679"},"map_files_photo_id_array":[{"photo_id":"1399337682","filename":"file5"},{"photo_id":"1399337678","filename":"file2"},{"photo_id":"1399337680","filename":"file4"},{"photo_id":"1399337677","filename":"file1"},{"photo_id":"1399337676","filename":"file0"},{"photo_id":"1399337679","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337678":["hashtag1","hashtag2"]},{"1399337680":["hashtag1","hashtag2"]},{"1399337677":["hashtag1","hashtag2"]},{"1399337682":["hashtag1","hashtag2"]},{"1399337676":["hashtag1","hashtag2"]},{"1399337679":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337678, 1399337680, 1399337677, 1399337682, 1399337676, 1399337679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88683605194092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:03:02.691423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/36/image_14122025_09_36_14_9795.jpg', '/home/pi/Desktop/images/14122025/09/36/image_14122025_09_36_25_10784.jpg', '/home/pi/Desktop/images/14122025/09/36/image_14122025_09_36_35_9744.jpg', '/home/pi/Desktop/images/14122025/09/36/image_14122025_09_36_45_9769.jpg', '/home/pi/Desktop/images/14122025/09/36/image_14122025_09_36_54_9766.jpg', '/home/pi/Desktop/images/14122025/09/36/image_14122025_09_37_05_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/36/image_14122025_09_36_14_9795.jpg
/home/pi/Desktop/images/14122025/09/36/image_14122025_09_36_25_10784.jpg
/home/pi/Desktop/images/14122025/09/36/image_14122025_09_36_35_9744.jpg
/home/pi/Desktop/images/14122025/09/36/image_14122025_09_36_45_9769.jpg
/home/pi/Desktop/images/14122025/09/36/image_14122025_09_36_54_9766.jpg
/home/pi/Desktop/images/14122025/09/36/image_14122025_09_37_05_10643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337690","1399337693","1399337687","1399337692","1399337695","1399337691"],"photo_ids_order":["1399337687","1399337690","1399337691","1399337692","1399337693","1399337695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d471d4e60c5a2f1fe2d0fa561ec3088.jpg","text":"TemporaryFile(/tmp/multipartBody8996412775250866363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703043353,"filename":"image_14122025_09_36_25_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dabad893f78ddf4d02f788fde6c5f00f.jpg","text":"TemporaryFile(/tmp/multipartBody953590509503936307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703043353,"filename":"image_14122025_09_36_54_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c1875c600358732fa7371f930aa869b.jpg","text":"TemporaryFile(/tmp/multipartBody4008737524371473001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703043353,"filename":"image_14122025_09_36_14_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e9bb0a2facd8fd338ecde344c461acb8.jpg","text":"TemporaryFile(/tmp/multipartBody1672513891918292855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703043353,"filename":"image_14122025_09_36_45_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f162d76e4d9ac86f79a7dd88ed32fbc.jpg","text":"TemporaryFile(/tmp/multipartBody5345386338510653629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703043353,"filename":"image_14122025_09_37_05_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/786dd9432a888172d929af075a083b6a.jpg","text":"TemporaryFile(/tmp/multipartBody336539115006272316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703043353,"filename":"image_14122025_09_36_35_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337691","file1":"1399337690","file0":"1399337687","file4":"1399337693","file5":"1399337695","file3":"1399337692"},"map_files_photo_id_array":[{"photo_id":"1399337695","filename":"file5"},{"photo_id":"1399337691","filename":"file2"},{"photo_id":"1399337693","filename":"file4"},{"photo_id":"1399337690","filename":"file1"},{"photo_id":"1399337687","filename":"file0"},{"photo_id":"1399337692","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337690":["hashtag1","hashtag2"]},{"1399337693":["hashtag1","hashtag2"]},{"1399337687":["hashtag1","hashtag2"]},{"1399337692":["hashtag1","hashtag2"]},{"1399337695":["hashtag1","hashtag2"]},{"1399337691":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337690, 1399337693, 1399337687, 1399337692, 1399337695, 1399337691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96778440475464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:03:42.128503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/40/image_04112025_12_40_02_1704.jpg', '/home/pi/Desktop/images/04112025/12/40/image_04112025_12_40_27_24975.jpg', '/home/pi/Desktop/images/04112025/12/40/image_04112025_12_40_29_1621.jpg', '/home/pi/Desktop/images/04112025/12/40/image_04112025_12_40_31_1583.jpg', '/home/pi/Desktop/images/04112025/12/40/image_04112025_12_40_32_1621.jpg', '/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/40/image_04112025_12_40_02_1704.jpg
/home/pi/Desktop/images/04112025/12/40/image_04112025_12_40_27_24975.jpg
/home/pi/Desktop/images/04112025/12/40/image_04112025_12_40_29_1621.jpg
/home/pi/Desktop/images/04112025/12/40/image_04112025_12_40_31_1583.jpg
/home/pi/Desktop/images/04112025/12/40/image_04112025_12_40_32_1621.jpg
/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_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":["1399337700","1399337705","1399337708","1399337704","1399337707","1399337706"],"photo_ids_order":["1399337700","1399337704","1399337705","1399337706","1399337707","1399337708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bca41467327f67bca0023818f5567522.jpg","text":"TemporaryFile(/tmp/multipartBody9102772426110889520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703082890,"filename":"image_04112025_12_40_02_1704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c9a9f89629179c1aa4096cfd15535969.jpg","text":"TemporaryFile(/tmp/multipartBody1781814698529377475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703082890,"filename":"image_04112025_12_40_29_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e452179b6ea2adb411ff405078b395df.jpg","text":"TemporaryFile(/tmp/multipartBody3295340945323496727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703082890,"filename":"image_04112025_12_42_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4fc3024707b367ddbef99e1cc2f11567.jpg","text":"TemporaryFile(/tmp/multipartBody8122754876057450223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703082890,"filename":"image_04112025_12_40_27_24975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4572e4f7755ef2c20aa21283bd5752f6.jpg","text":"TemporaryFile(/tmp/multipartBody4496068147047540899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703082890,"filename":"image_04112025_12_40_32_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0a009eed1517204f9ea312f67edf58b6.jpg","text":"TemporaryFile(/tmp/multipartBody6976488700126406924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703082890,"filename":"image_04112025_12_40_31_1583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337705","file1":"1399337704","file0":"1399337700","file4":"1399337707","file5":"1399337708","file3":"1399337706"},"map_files_photo_id_array":[{"photo_id":"1399337708","filename":"file5"},{"photo_id":"1399337705","filename":"file2"},{"photo_id":"1399337707","filename":"file4"},{"photo_id":"1399337704","filename":"file1"},{"photo_id":"1399337700","filename":"file0"},{"photo_id":"1399337706","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337700":["hashtag1","hashtag2"]},{"1399337705":["hashtag1","hashtag2"]},{"1399337708":["hashtag1","hashtag2"]},{"1399337704":["hashtag1","hashtag2"]},{"1399337707":["hashtag1","hashtag2"]},{"1399337706":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337700, 1399337705, 1399337708, 1399337704, 1399337707, 1399337706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93132567405701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:04:22.423567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/37/image_14122025_09_37_15_9551.jpg', '/home/pi/Desktop/images/14122025/09/37/image_14122025_09_37_24_9712.jpg', '/home/pi/Desktop/images/14122025/09/37/image_14122025_09_37_45_9653.jpg', '/home/pi/Desktop/images/14122025/09/37/image_14122025_09_37_55_10608.jpg', '/home/pi/Desktop/images/14122025/09/37/image_14122025_09_38_05_9547.jpg', '/home/pi/Desktop/images/14122025/09/38/image_14122025_09_38_24_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/37/image_14122025_09_37_15_9551.jpg
/home/pi/Desktop/images/14122025/09/37/image_14122025_09_37_24_9712.jpg
/home/pi/Desktop/images/14122025/09/37/image_14122025_09_37_45_9653.jpg
/home/pi/Desktop/images/14122025/09/37/image_14122025_09_37_55_10608.jpg
/home/pi/Desktop/images/14122025/09/37/image_14122025_09_38_05_9547.jpg
/home/pi/Desktop/images/14122025/09/38/image_14122025_09_38_24_9787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337715","1399337709","1399337717","1399337711","1399337720","1399337713"],"photo_ids_order":["1399337709","1399337711","1399337713","1399337715","1399337717","1399337720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/332ce9ef60de7e1583e59268b3226cd8.jpg","text":"TemporaryFile(/tmp/multipartBody5106621985481506039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703123034,"filename":"image_14122025_09_37_55_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3b48ab7e1f039a0782dcea034eecbda.jpg","text":"TemporaryFile(/tmp/multipartBody4800311195403185214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703123034,"filename":"image_14122025_09_37_15_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bfcf55205c24b1cb54c6158f9577bd41.jpg","text":"TemporaryFile(/tmp/multipartBody4372503464686786420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703123034,"filename":"image_14122025_09_38_05_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/15f1347f7f5e3c0b849fc3334e71e6c6.jpg","text":"TemporaryFile(/tmp/multipartBody7736507303937268738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703123034,"filename":"image_14122025_09_37_24_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d1969a502fbd8d062e25663ea0e133d8.jpg","text":"TemporaryFile(/tmp/multipartBody6511756880801392903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703123034,"filename":"image_14122025_09_38_24_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0a9b3a683deb3abd0a9265bc276c5e55.jpg","text":"TemporaryFile(/tmp/multipartBody1312306405017814340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703123034,"filename":"image_14122025_09_37_45_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337713","file1":"1399337711","file0":"1399337709","file4":"1399337717","file5":"1399337720","file3":"1399337715"},"map_files_photo_id_array":[{"photo_id":"1399337720","filename":"file5"},{"photo_id":"1399337713","filename":"file2"},{"photo_id":"1399337717","filename":"file4"},{"photo_id":"1399337711","filename":"file1"},{"photo_id":"1399337709","filename":"file0"},{"photo_id":"1399337715","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337715":["hashtag1","hashtag2"]},{"1399337709":["hashtag1","hashtag2"]},{"1399337717":["hashtag1","hashtag2"]},{"1399337711":["hashtag1","hashtag2"]},{"1399337720":["hashtag1","hashtag2"]},{"1399337713":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337715, 1399337709, 1399337717, 1399337711, 1399337720, 1399337713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.222283124923706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:05:03.406368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/38/image_14122025_09_39_05_10676.jpg', '/home/pi/Desktop/images/14122025/09/39/image_14122025_09_39_24_9751.jpg', '/home/pi/Desktop/images/14122025/09/39/image_14122025_09_39_45_9657.jpg', '/home/pi/Desktop/images/14122025/09/39/image_14122025_09_39_54_9676.jpg', '/home/pi/Desktop/images/14122025/09/39/image_14122025_09_40_05_10727.jpg', '/home/pi/Desktop/images/14122025/09/40/image_14122025_09_40_15_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/38/image_14122025_09_39_05_10676.jpg
/home/pi/Desktop/images/14122025/09/39/image_14122025_09_39_24_9751.jpg
/home/pi/Desktop/images/14122025/09/39/image_14122025_09_39_45_9657.jpg
/home/pi/Desktop/images/14122025/09/39/image_14122025_09_39_54_9676.jpg
/home/pi/Desktop/images/14122025/09/39/image_14122025_09_40_05_10727.jpg
/home/pi/Desktop/images/14122025/09/40/image_14122025_09_40_15_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337726","1399337729","1399337728","1399337731","1399337725","1399337727"],"photo_ids_order":["1399337725","1399337726","1399337727","1399337728","1399337729","1399337731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/562e7131c1edfcfa3614f5f03d6e6744.jpg","text":"TemporaryFile(/tmp/multipartBody5908121407223413623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703164074,"filename":"image_14122025_09_39_24_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/293c50a411c20fd35214d53e1997e12d.jpg","text":"TemporaryFile(/tmp/multipartBody4311390876892344398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703164074,"filename":"image_14122025_09_40_05_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bc9cdc0e42512fee7dbdd90b6976e5af.jpg","text":"TemporaryFile(/tmp/multipartBody7222575507533285868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703164074,"filename":"image_14122025_09_39_54_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/305cb4823ede87b1c8acab30feb6068a.jpg","text":"TemporaryFile(/tmp/multipartBody1272717050185693505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703164074,"filename":"image_14122025_09_40_15_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2779b72aa26cc7d24d8eea201f0d31b5.jpg","text":"TemporaryFile(/tmp/multipartBody7614328409145723033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703164074,"filename":"image_14122025_09_39_05_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/316911d3c1201a3b42c9e665fd4a1cd7.jpg","text":"TemporaryFile(/tmp/multipartBody2693388477913482382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703164074,"filename":"image_14122025_09_39_45_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337727","file1":"1399337726","file0":"1399337725","file4":"1399337729","file5":"1399337731","file3":"1399337728"},"map_files_photo_id_array":[{"photo_id":"1399337731","filename":"file5"},{"photo_id":"1399337727","filename":"file2"},{"photo_id":"1399337729","filename":"file4"},{"photo_id":"1399337726","filename":"file1"},{"photo_id":"1399337725","filename":"file0"},{"photo_id":"1399337728","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337726":["hashtag1","hashtag2"]},{"1399337729":["hashtag1","hashtag2"]},{"1399337728":["hashtag1","hashtag2"]},{"1399337731":["hashtag1","hashtag2"]},{"1399337725":["hashtag1","hashtag2"]},{"1399337727":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337726, 1399337729, 1399337728, 1399337731, 1399337725, 1399337727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69714140892029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:05:42.730883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_10_3687.jpg', '/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_13_2677.jpg', '/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_32_19380.jpg', '/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_34_1660.jpg', '/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_36_1541.jpg', '/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_37_1760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_10_3687.jpg
/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_13_2677.jpg
/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_32_19380.jpg
/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_34_1660.jpg
/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_36_1541.jpg
/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_37_1760.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5926563739776611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:06:02.451171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/40/image_14122025_09_40_24_9683.jpg', '/home/pi/Desktop/images/14122025/09/40/image_14122025_09_40_35_10570.jpg', '/home/pi/Desktop/images/14122025/09/40/image_14122025_09_40_45_9629.jpg', '/home/pi/Desktop/images/14122025/09/40/image_14122025_09_40_54_9643.jpg', '/home/pi/Desktop/images/14122025/09/40/image_14122025_09_41_05_10688.jpg', '/home/pi/Desktop/images/14122025/09/41/image_14122025_09_41_15_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/40/image_14122025_09_40_24_9683.jpg
/home/pi/Desktop/images/14122025/09/40/image_14122025_09_40_35_10570.jpg
/home/pi/Desktop/images/14122025/09/40/image_14122025_09_40_45_9629.jpg
/home/pi/Desktop/images/14122025/09/40/image_14122025_09_40_54_9643.jpg
/home/pi/Desktop/images/14122025/09/40/image_14122025_09_41_05_10688.jpg
/home/pi/Desktop/images/14122025/09/41/image_14122025_09_41_15_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":["1399337744","1399337747","1399337746","1399337749","1399337743","1399337745"],"photo_ids_order":["1399337743","1399337744","1399337745","1399337746","1399337747","1399337749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a790a55f6453d4f145f6565d472b9ab5.jpg","text":"TemporaryFile(/tmp/multipartBody6877800285840965103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703223095,"filename":"image_14122025_09_40_35_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4323676a50fe9b691fb5018536ce1314.jpg","text":"TemporaryFile(/tmp/multipartBody3112627748163967925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703223095,"filename":"image_14122025_09_41_05_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3e814bc8da32e0095b454a5e5a957c79.jpg","text":"TemporaryFile(/tmp/multipartBody5569599490824029828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703223095,"filename":"image_14122025_09_40_54_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/458bd80c240a62c64a51e0b1688e64d0.jpg","text":"TemporaryFile(/tmp/multipartBody315940546390532949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703223095,"filename":"image_14122025_09_41_15_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b764a60334e219a138dda8b3e8b9cf7c.jpg","text":"TemporaryFile(/tmp/multipartBody7379035958824041337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703223095,"filename":"image_14122025_09_40_24_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5fd640afda076e723f6ff0dc5d5d2d47.jpg","text":"TemporaryFile(/tmp/multipartBody6934914314439765017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703223095,"filename":"image_14122025_09_40_45_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337745","file1":"1399337744","file0":"1399337743","file4":"1399337747","file5":"1399337749","file3":"1399337746"},"map_files_photo_id_array":[{"photo_id":"1399337749","filename":"file5"},{"photo_id":"1399337745","filename":"file2"},{"photo_id":"1399337747","filename":"file4"},{"photo_id":"1399337744","filename":"file1"},{"photo_id":"1399337743","filename":"file0"},{"photo_id":"1399337746","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337744":["hashtag1","hashtag2"]},{"1399337747":["hashtag1","hashtag2"]},{"1399337746":["hashtag1","hashtag2"]},{"1399337749":["hashtag1","hashtag2"]},{"1399337743":["hashtag1","hashtag2"]},{"1399337745":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337744, 1399337747, 1399337746, 1399337749, 1399337743, 1399337745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.211108684539795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:06:42.005569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_10_3687.jpg', '/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_13_2677.jpg', '/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_32_19380.jpg', '/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_34_1660.jpg', '/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_36_1541.jpg', '/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_37_1760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_10_3687.jpg
/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_13_2677.jpg
/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_32_19380.jpg
/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_34_1660.jpg
/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_36_1541.jpg
/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_37_1760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337759","1399337758","1399337761","1399337760","1399337757","1399337754"],"photo_ids_order":["1399337754","1399337757","1399337758","1399337759","1399337760","1399337761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/57b4a15751c66ac852fa17273cf98990.jpg","text":"TemporaryFile(/tmp/multipartBody2419663963569504715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703262599,"filename":"image_04112025_12_42_34_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/37b2ad7d5b118abd7ea5dd1f004e868e.jpg","text":"TemporaryFile(/tmp/multipartBody992612415180941324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703262599,"filename":"image_04112025_12_42_32_19380.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8fb9c5c1fc2780e4fa1500f46f24220b.jpg","text":"TemporaryFile(/tmp/multipartBody2637470960498883507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703262599,"filename":"image_04112025_12_42_37_1760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9a7b1a398b4896039088b7b2b59a98f.jpg","text":"TemporaryFile(/tmp/multipartBody317884035720611411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703262599,"filename":"image_04112025_12_42_36_1541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/20478884c2a2eae12df85360177efaaa.jpg","text":"TemporaryFile(/tmp/multipartBody5323776748216970806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703262599,"filename":"image_04112025_12_42_13_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27978fe892a32f5fd5a1beed33f62603.jpg","text":"TemporaryFile(/tmp/multipartBody3455889092284687158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703262599,"filename":"image_04112025_12_42_10_3687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337758","file1":"1399337757","file0":"1399337754","file4":"1399337760","file5":"1399337761","file3":"1399337759"},"map_files_photo_id_array":[{"photo_id":"1399337761","filename":"file5"},{"photo_id":"1399337758","filename":"file2"},{"photo_id":"1399337760","filename":"file4"},{"photo_id":"1399337757","filename":"file1"},{"photo_id":"1399337754","filename":"file0"},{"photo_id":"1399337759","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337759":["hashtag1","hashtag2"]},{"1399337758":["hashtag1","hashtag2"]},{"1399337761":["hashtag1","hashtag2"]},{"1399337760":["hashtag1","hashtag2"]},{"1399337757":["hashtag1","hashtag2"]},{"1399337754":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337759, 1399337758, 1399337761, 1399337760, 1399337757, 1399337754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96768546104431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:07:25.222366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/41/image_14122025_09_41_24_9541.jpg', '/home/pi/Desktop/images/14122025/09/41/image_14122025_09_42_05_10773.jpg', '/home/pi/Desktop/images/14122025/09/42/image_14122025_09_42_15_9668.jpg', '/home/pi/Desktop/images/14122025/09/42/image_14122025_09_42_25_9846.jpg', '/home/pi/Desktop/images/14122025/09/42/image_14122025_09_42_35_10638.jpg', '/home/pi/Desktop/images/14122025/09/42/image_14122025_09_42_54_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/41/image_14122025_09_41_24_9541.jpg
/home/pi/Desktop/images/14122025/09/41/image_14122025_09_42_05_10773.jpg
/home/pi/Desktop/images/14122025/09/42/image_14122025_09_42_15_9668.jpg
/home/pi/Desktop/images/14122025/09/42/image_14122025_09_42_25_9846.jpg
/home/pi/Desktop/images/14122025/09/42/image_14122025_09_42_35_10638.jpg
/home/pi/Desktop/images/14122025/09/42/image_14122025_09_42_54_9722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337765","1399337767","1399337775","1399337769","1399337763","1399337772"],"photo_ids_order":["1399337763","1399337765","1399337767","1399337769","1399337772","1399337775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c5e3bd3047d96b3809373418ffaef86.jpg","text":"TemporaryFile(/tmp/multipartBody5712020867485685290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703305818,"filename":"image_14122025_09_42_05_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/046a782402eb277bdeb5decf8ca41931.jpg","text":"TemporaryFile(/tmp/multipartBody486199381860400379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703305818,"filename":"image_14122025_09_42_15_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1a9f5c9aba58cc457f1463f161eef84c.jpg","text":"TemporaryFile(/tmp/multipartBody7702882541016555786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703305818,"filename":"image_14122025_09_42_54_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/64850d0d0f8beb0f159f698c4dd5e792.jpg","text":"TemporaryFile(/tmp/multipartBody2138496645010789835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703305818,"filename":"image_14122025_09_42_25_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9bacaff5bab78a9433cb8799f23f06da.jpg","text":"TemporaryFile(/tmp/multipartBody5529442537052695912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703305818,"filename":"image_14122025_09_41_24_9541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/93c8c30bc8c15e48837a0af74d2d40c7.jpg","text":"TemporaryFile(/tmp/multipartBody8162741178420131647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703305818,"filename":"image_14122025_09_42_35_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337767","file1":"1399337765","file0":"1399337763","file4":"1399337772","file5":"1399337775","file3":"1399337769"},"map_files_photo_id_array":[{"photo_id":"1399337775","filename":"file5"},{"photo_id":"1399337767","filename":"file2"},{"photo_id":"1399337772","filename":"file4"},{"photo_id":"1399337765","filename":"file1"},{"photo_id":"1399337763","filename":"file0"},{"photo_id":"1399337769","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337765":["hashtag1","hashtag2"]},{"1399337767":["hashtag1","hashtag2"]},{"1399337775":["hashtag1","hashtag2"]},{"1399337769":["hashtag1","hashtag2"]},{"1399337763":["hashtag1","hashtag2"]},{"1399337772":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337765, 1399337767, 1399337775, 1399337769, 1399337763, 1399337772)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.245004415512085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 10:08:18.890330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:08:22.252415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/42/image_14122025_09_43_04_9753.jpg', '/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_25_9603.jpg', '/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_34_9675.jpg', '/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_45_10652.jpg', '/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_55_9657.jpg', '/home/pi/Desktop/images/14122025/09/43/image_14122025_09_44_04_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/42/image_14122025_09_43_04_9753.jpg
/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_25_9603.jpg
/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_34_9675.jpg
/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_45_10652.jpg
/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_55_9657.jpg
/home/pi/Desktop/images/14122025/09/43/image_14122025_09_44_04_9815.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5092146396636963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 10:08:32.233660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:08:42.364217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_39_1601.jpg', '/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_41_1777.jpg', '/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_42_1533.jpg', '/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_54_11638.jpg', '/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_56_1666.jpg', '/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_08_12230.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_39_1601.jpg
/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_41_1777.jpg
/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_42_1533.jpg
/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_54_11638.jpg
/home/pi/Desktop/images/04112025/12/42/image_04112025_12_42_56_1666.jpg
/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_08_12230.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337786","1399337789","1399337785","1399337788","1399337787","1399337790"],"photo_ids_order":["1399337785","1399337786","1399337787","1399337788","1399337789","1399337790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cdad9a71a3b5ce12d6789f3c730d02e9.jpg","text":"TemporaryFile(/tmp/multipartBody8523135944010724996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703383056,"filename":"image_04112025_12_42_41_1777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/73f677e5f1603f4eadb2d8886fd1933f.jpg","text":"TemporaryFile(/tmp/multipartBody460808959166825440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703383056,"filename":"image_04112025_12_42_56_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cb0bda510729f176065d557460e7aa49.jpg","text":"TemporaryFile(/tmp/multipartBody3065610643248335857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703383056,"filename":"image_04112025_12_42_39_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b34a161ea619756aa0fd1e033f615553.jpg","text":"TemporaryFile(/tmp/multipartBody2698493268420260930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703383056,"filename":"image_04112025_12_42_54_11638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7fc8ed3a6ae29e4f399f582527ee6a5f.jpg","text":"TemporaryFile(/tmp/multipartBody4554207575676677588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703383056,"filename":"image_04112025_12_42_42_1533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/396ae2a5fd14d5cbfb11f2fe97e89285.jpg","text":"TemporaryFile(/tmp/multipartBody4482378189225249267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703383056,"filename":"image_04112025_12_43_08_12230.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337787","file1":"1399337786","file0":"1399337785","file4":"1399337789","file5":"1399337790","file3":"1399337788"},"map_files_photo_id_array":[{"photo_id":"1399337790","filename":"file5"},{"photo_id":"1399337787","filename":"file2"},{"photo_id":"1399337789","filename":"file4"},{"photo_id":"1399337786","filename":"file1"},{"photo_id":"1399337785","filename":"file0"},{"photo_id":"1399337788","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337786":["hashtag1","hashtag2"]},{"1399337789":["hashtag1","hashtag2"]},{"1399337785":["hashtag1","hashtag2"]},{"1399337788":["hashtag1","hashtag2"]},{"1399337787":["hashtag1","hashtag2"]},{"1399337790":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337786, 1399337789, 1399337785, 1399337788, 1399337787, 1399337790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02828001976013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:09:22.563790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/42/image_14122025_09_43_04_9753.jpg', '/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_25_9603.jpg', '/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_34_9675.jpg', '/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_45_10652.jpg', '/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_55_9657.jpg', '/home/pi/Desktop/images/14122025/09/43/image_14122025_09_44_04_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/42/image_14122025_09_43_04_9753.jpg
/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_25_9603.jpg
/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_34_9675.jpg
/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_45_10652.jpg
/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_55_9657.jpg
/home/pi/Desktop/images/14122025/09/43/image_14122025_09_44_04_9815.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.48976588249206543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 10:09:32.586176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:09:42.690438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_09_1667.jpg', '/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_11_1628.jpg', '/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_13_1537.jpg', '/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_14_1627.jpg', '/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_16_1647.jpg', '/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_18_1708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_09_1667.jpg
/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_11_1628.jpg
/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_13_1537.jpg
/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_14_1627.jpg
/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_16_1647.jpg
/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_18_1708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399337802","1399337804","1399337807","1399337809","1399337806","1399337805"],"photo_ids_order":["1399337802","1399337804","1399337805","1399337806","1399337807","1399337809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f71c552cd85b3fa643f75ffcac0d3341.jpg","text":"TemporaryFile(/tmp/multipartBody3701797092013113191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703443469,"filename":"image_04112025_12_43_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/12/14/f3d06e83e0ba709c7917ecd107d847cd.jpg","text":"TemporaryFile(/tmp/multipartBody2978687166306326780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703443469,"filename":"image_04112025_12_43_11_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e573b3402c114917eb9781b61f47417b.jpg","text":"TemporaryFile(/tmp/multipartBody3722215497905717760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703443469,"filename":"image_04112025_12_43_16_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e4d7ba7515b7e44cd003e258212752a5.jpg","text":"TemporaryFile(/tmp/multipartBody4075372374101002642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703443469,"filename":"image_04112025_12_43_18_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/61fe8f37eedeb028c62dd2e731c61f58.jpg","text":"TemporaryFile(/tmp/multipartBody2461401039811522993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703443469,"filename":"image_04112025_12_43_14_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d633552e54c7c1ced8f2bd8b0518c5c5.jpg","text":"TemporaryFile(/tmp/multipartBody8604474285221263511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703443469,"filename":"image_04112025_12_43_13_1537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337805","file1":"1399337804","file0":"1399337802","file4":"1399337807","file5":"1399337809","file3":"1399337806"},"map_files_photo_id_array":[{"photo_id":"1399337809","filename":"file5"},{"photo_id":"1399337805","filename":"file2"},{"photo_id":"1399337807","filename":"file4"},{"photo_id":"1399337804","filename":"file1"},{"photo_id":"1399337802","filename":"file0"},{"photo_id":"1399337806","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337802":["hashtag1","hashtag2"]},{"1399337804":["hashtag1","hashtag2"]},{"1399337807":["hashtag1","hashtag2"]},{"1399337809":["hashtag1","hashtag2"]},{"1399337806":["hashtag1","hashtag2"]},{"1399337805":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337802, 1399337804, 1399337807, 1399337809, 1399337806, 1399337805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95135140419006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 10:10:35.323020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:10:41.820574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_19_1637.jpg', '/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_21_1522.jpg', '/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_22_1678.jpg', '/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_24_1610.jpg', '/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_26_1610.jpg', '/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_27_1529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_19_1637.jpg
/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_21_1522.jpg
/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_22_1678.jpg
/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_24_1610.jpg
/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_26_1610.jpg
/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_27_1529.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6291346549987793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:11:02.682503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:11:21.961022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/42/image_14122025_09_43_04_9753.jpg', '/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_25_9603.jpg', '/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_34_9675.jpg', '/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_45_10652.jpg', '/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_55_9657.jpg', '/home/pi/Desktop/images/14122025/09/43/image_14122025_09_44_04_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/42/image_14122025_09_43_04_9753.jpg
/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_25_9603.jpg
/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_34_9675.jpg
/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_45_10652.jpg
/home/pi/Desktop/images/14122025/09/43/image_14122025_09_43_55_9657.jpg
/home/pi/Desktop/images/14122025/09/43/image_14122025_09_44_04_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":["1399337825","1399337819","1399337827","1399337821","1399337830","1399337823"],"photo_ids_order":["1399337819","1399337821","1399337823","1399337825","1399337827","1399337830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6392361068b39a2fb6a6ea2324bbfe5a.jpg","text":"TemporaryFile(/tmp/multipartBody7672919329567743190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703542552,"filename":"image_14122025_09_43_45_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/05fb4a584bf29b0185706893a912bfd9.jpg","text":"TemporaryFile(/tmp/multipartBody6003760086826608061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703542552,"filename":"image_14122025_09_43_04_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2159e88444bbcd05e3fb9637906176e.jpg","text":"TemporaryFile(/tmp/multipartBody2267958015666223000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703542552,"filename":"image_14122025_09_43_55_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d14423b3e7f36a7f9df7d17ce6790d90.jpg","text":"TemporaryFile(/tmp/multipartBody1269666565504778879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703542552,"filename":"image_14122025_09_43_25_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b5bcc8d89f479469ecfeaca3a165fbc3.jpg","text":"TemporaryFile(/tmp/multipartBody351350973115975246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703542552,"filename":"image_14122025_09_44_04_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/61509ce83532fe25c801c3fa14f50cf4.jpg","text":"TemporaryFile(/tmp/multipartBody8036038540720219976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703542552,"filename":"image_14122025_09_43_34_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337823","file1":"1399337821","file0":"1399337819","file4":"1399337827","file5":"1399337830","file3":"1399337825"},"map_files_photo_id_array":[{"photo_id":"1399337830","filename":"file5"},{"photo_id":"1399337823","filename":"file2"},{"photo_id":"1399337827","filename":"file4"},{"photo_id":"1399337821","filename":"file1"},{"photo_id":"1399337819","filename":"file0"},{"photo_id":"1399337825","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337825":["hashtag1","hashtag2"]},{"1399337819":["hashtag1","hashtag2"]},{"1399337827":["hashtag1","hashtag2"]},{"1399337821":["hashtag1","hashtag2"]},{"1399337830":["hashtag1","hashtag2"]},{"1399337823":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337825, 1399337819, 1399337827, 1399337821, 1399337830, 1399337823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42129111289978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:12:02.634405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/44/image_14122025_09_44_15_10644.jpg', '/home/pi/Desktop/images/14122025/09/44/image_14122025_09_44_25_9701.jpg', '/home/pi/Desktop/images/14122025/09/44/image_14122025_09_44_45_10674.jpg', '/home/pi/Desktop/images/14122025/09/44/image_14122025_09_44_55_9652.jpg', '/home/pi/Desktop/images/14122025/09/44/image_14122025_09_45_04_9718.jpg', '/home/pi/Desktop/images/14122025/09/45/image_14122025_09_45_15_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/44/image_14122025_09_44_15_10644.jpg
/home/pi/Desktop/images/14122025/09/44/image_14122025_09_44_25_9701.jpg
/home/pi/Desktop/images/14122025/09/44/image_14122025_09_44_45_10674.jpg
/home/pi/Desktop/images/14122025/09/44/image_14122025_09_44_55_9652.jpg
/home/pi/Desktop/images/14122025/09/44/image_14122025_09_45_04_9718.jpg
/home/pi/Desktop/images/14122025/09/45/image_14122025_09_45_15_10677.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5370364189147949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 10:12:12.105995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:12:22.193692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/44/image_14122025_09_44_15_10644.jpg', '/home/pi/Desktop/images/14122025/09/44/image_14122025_09_44_25_9701.jpg', '/home/pi/Desktop/images/14122025/09/44/image_14122025_09_44_45_10674.jpg', '/home/pi/Desktop/images/14122025/09/44/image_14122025_09_44_55_9652.jpg', '/home/pi/Desktop/images/14122025/09/44/image_14122025_09_45_04_9718.jpg', '/home/pi/Desktop/images/14122025/09/45/image_14122025_09_45_15_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/44/image_14122025_09_44_15_10644.jpg
/home/pi/Desktop/images/14122025/09/44/image_14122025_09_44_25_9701.jpg
/home/pi/Desktop/images/14122025/09/44/image_14122025_09_44_45_10674.jpg
/home/pi/Desktop/images/14122025/09/44/image_14122025_09_44_55_9652.jpg
/home/pi/Desktop/images/14122025/09/44/image_14122025_09_45_04_9718.jpg
/home/pi/Desktop/images/14122025/09/45/image_14122025_09_45_15_10677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337843","1399337845","1399337839","1399337848","1399337836","1399337841"],"photo_ids_order":["1399337836","1399337839","1399337841","1399337843","1399337845","1399337848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dcf2ed26769102d06329532ba621387f.jpg","text":"TemporaryFile(/tmp/multipartBody5219523954141282278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703602814,"filename":"image_14122025_09_44_55_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f2f4a856a244760764b3e1700f855018.jpg","text":"TemporaryFile(/tmp/multipartBody4364353839830133156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703602814,"filename":"image_14122025_09_45_04_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a5168d20b9476918afeea565d87af1ba.jpg","text":"TemporaryFile(/tmp/multipartBody779629299930440787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703602814,"filename":"image_14122025_09_44_25_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/17cbab26274b7215b6c8bdacd6f4b8bf.jpg","text":"TemporaryFile(/tmp/multipartBody4799513354992380548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703602814,"filename":"image_14122025_09_45_15_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ef4fe34e11c854269bd48e9d2c16105.jpg","text":"TemporaryFile(/tmp/multipartBody733757030596011861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703602814,"filename":"image_14122025_09_44_15_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/71e1dff347d2a229dc29a95b9d38351c.jpg","text":"TemporaryFile(/tmp/multipartBody8787727055357008773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703602814,"filename":"image_14122025_09_44_45_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337841","file1":"1399337839","file0":"1399337836","file4":"1399337845","file5":"1399337848","file3":"1399337843"},"map_files_photo_id_array":[{"photo_id":"1399337848","filename":"file5"},{"photo_id":"1399337841","filename":"file2"},{"photo_id":"1399337845","filename":"file4"},{"photo_id":"1399337839","filename":"file1"},{"photo_id":"1399337836","filename":"file0"},{"photo_id":"1399337843","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337843":["hashtag1","hashtag2"]},{"1399337845":["hashtag1","hashtag2"]},{"1399337839":["hashtag1","hashtag2"]},{"1399337848":["hashtag1","hashtag2"]},{"1399337836":["hashtag1","hashtag2"]},{"1399337841":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337843, 1399337845, 1399337839, 1399337848, 1399337836, 1399337841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.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
2025-12-14 10:13:03.024600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/45/image_14122025_09_45_25_9624.jpg', '/home/pi/Desktop/images/14122025/09/45/image_14122025_09_45_34_9733.jpg', '/home/pi/Desktop/images/14122025/09/45/image_14122025_09_45_44_9909.jpg', '/home/pi/Desktop/images/14122025/09/45/image_14122025_09_45_55_10768.jpg', '/home/pi/Desktop/images/14122025/09/45/image_14122025_09_46_05_9870.jpg', '/home/pi/Desktop/images/14122025/09/46/image_14122025_09_46_15_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/45/image_14122025_09_45_25_9624.jpg
/home/pi/Desktop/images/14122025/09/45/image_14122025_09_45_34_9733.jpg
/home/pi/Desktop/images/14122025/09/45/image_14122025_09_45_44_9909.jpg
/home/pi/Desktop/images/14122025/09/45/image_14122025_09_45_55_10768.jpg
/home/pi/Desktop/images/14122025/09/45/image_14122025_09_46_05_9870.jpg
/home/pi/Desktop/images/14122025/09/46/image_14122025_09_46_15_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337852","1399337851","1399337854","1399337856","1399337850","1399337853"],"photo_ids_order":["1399337850","1399337851","1399337852","1399337853","1399337854","1399337856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/77b4f52e21ec23a8f78207c6a897e691.jpg","text":"TemporaryFile(/tmp/multipartBody3407296638294795524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703643742,"filename":"image_14122025_09_45_44_9909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29d41ccbebc3871c490cdbd357c98c89.jpg","text":"TemporaryFile(/tmp/multipartBody7661061058243736158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703643742,"filename":"image_14122025_09_45_34_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/33646bff419483434dc24a20339ae329.jpg","text":"TemporaryFile(/tmp/multipartBody2281947116609642284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703643742,"filename":"image_14122025_09_46_05_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e989b5ae6f210f8039471380dc37312d.jpg","text":"TemporaryFile(/tmp/multipartBody6370003480477187370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703643742,"filename":"image_14122025_09_46_15_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/486f0166b514654cc6affd00d2b40c2e.jpg","text":"TemporaryFile(/tmp/multipartBody5221162831299992576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703643742,"filename":"image_14122025_09_45_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/12/14/90d7f4836ea5e2164e00070af91e3a33.jpg","text":"TemporaryFile(/tmp/multipartBody330011633627725175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703643742,"filename":"image_14122025_09_45_55_10768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337852","file1":"1399337851","file0":"1399337850","file4":"1399337854","file5":"1399337856","file3":"1399337853"},"map_files_photo_id_array":[{"photo_id":"1399337856","filename":"file5"},{"photo_id":"1399337852","filename":"file2"},{"photo_id":"1399337854","filename":"file4"},{"photo_id":"1399337851","filename":"file1"},{"photo_id":"1399337850","filename":"file0"},{"photo_id":"1399337853","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337852":["hashtag1","hashtag2"]},{"1399337851":["hashtag1","hashtag2"]},{"1399337854":["hashtag1","hashtag2"]},{"1399337856":["hashtag1","hashtag2"]},{"1399337850":["hashtag1","hashtag2"]},{"1399337853":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337852, 1399337851, 1399337854, 1399337856, 1399337850, 1399337853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.855008363723755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:13:42.603671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_19_1637.jpg', '/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_21_1522.jpg', '/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_22_1678.jpg', '/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_24_1610.jpg', '/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_26_1610.jpg', '/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_27_1529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_19_1637.jpg
/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_21_1522.jpg
/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_22_1678.jpg
/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_24_1610.jpg
/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_26_1610.jpg
/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_27_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":["1399337867","1399337861","1399337864","1399337866","1399337869","1399337868"],"photo_ids_order":["1399337861","1399337864","1399337866","1399337867","1399337868","1399337869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/23b9376317fd1282de8f18e6384461af.jpg","text":"TemporaryFile(/tmp/multipartBody6612834168743478431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703683181,"filename":"image_04112025_12_43_24_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b5973e2135ddc316b4119ed5e2327764.jpg","text":"TemporaryFile(/tmp/multipartBody5083901300965642900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703683181,"filename":"image_04112025_12_43_19_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c2fb2507c3d8c46a712f2ab4d11b4f7.jpg","text":"TemporaryFile(/tmp/multipartBody1196351651446349436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703683181,"filename":"image_04112025_12_43_21_1522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9d444f14f8f2d853094db12dce38526f.jpg","text":"TemporaryFile(/tmp/multipartBody2699310561085355785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703683181,"filename":"image_04112025_12_43_22_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/debf2d2b3961a60b751f43775572411d.jpg","text":"TemporaryFile(/tmp/multipartBody3036116641519577920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703683181,"filename":"image_04112025_12_43_27_1529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3515c38900fe64f77559c1775d45929b.jpg","text":"TemporaryFile(/tmp/multipartBody249199116317587517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703683181,"filename":"image_04112025_12_43_26_1610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337866","file1":"1399337864","file0":"1399337861","file4":"1399337868","file5":"1399337869","file3":"1399337867"},"map_files_photo_id_array":[{"photo_id":"1399337869","filename":"file5"},{"photo_id":"1399337866","filename":"file2"},{"photo_id":"1399337868","filename":"file4"},{"photo_id":"1399337864","filename":"file1"},{"photo_id":"1399337861","filename":"file0"},{"photo_id":"1399337867","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337867":["hashtag1","hashtag2"]},{"1399337861":["hashtag1","hashtag2"]},{"1399337864":["hashtag1","hashtag2"]},{"1399337866":["hashtag1","hashtag2"]},{"1399337869":["hashtag1","hashtag2"]},{"1399337868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337867, 1399337861, 1399337864, 1399337866, 1399337869, 1399337868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75385355949402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:14:21.887595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/46/image_14122025_09_46_24_9661.jpg', '/home/pi/Desktop/images/14122025/09/46/image_14122025_09_46_35_10565.jpg', '/home/pi/Desktop/images/14122025/09/46/image_14122025_09_46_45_9623.jpg', '/home/pi/Desktop/images/14122025/09/46/image_14122025_09_47_05_10650.jpg', '/home/pi/Desktop/images/14122025/09/47/image_14122025_09_47_35_9957.jpg', '/home/pi/Desktop/images/14122025/09/47/image_14122025_09_47_45_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/46/image_14122025_09_46_24_9661.jpg
/home/pi/Desktop/images/14122025/09/46/image_14122025_09_46_35_10565.jpg
/home/pi/Desktop/images/14122025/09/46/image_14122025_09_46_45_9623.jpg
/home/pi/Desktop/images/14122025/09/46/image_14122025_09_47_05_10650.jpg
/home/pi/Desktop/images/14122025/09/47/image_14122025_09_47_35_9957.jpg
/home/pi/Desktop/images/14122025/09/47/image_14122025_09_47_45_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":["1399337879","1399337875","1399337872","1399337883","1399337877","1399337871"],"photo_ids_order":["1399337871","1399337872","1399337875","1399337877","1399337879","1399337883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8545a81870344161b035b66da8e4f8b4.jpg","text":"TemporaryFile(/tmp/multipartBody1673526766671828879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703722541,"filename":"image_14122025_09_47_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/12/14/abc8b79c9be91221217b251a1fb864dc.jpg","text":"TemporaryFile(/tmp/multipartBody2308541827144162183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703722541,"filename":"image_14122025_09_46_45_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fdf07b1aacd34078a39b286055da172e.jpg","text":"TemporaryFile(/tmp/multipartBody629341754782151195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703722541,"filename":"image_14122025_09_46_35_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/49f48d3b370cebec8a782f630286112d.jpg","text":"TemporaryFile(/tmp/multipartBody6343498958521629212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703722541,"filename":"image_14122025_09_47_45_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a0806651781165cafff7e6b8b48393c1.jpg","text":"TemporaryFile(/tmp/multipartBody8413962511823193279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703722541,"filename":"image_14122025_09_47_05_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f164f7952f7afbfadbebfac0f0abe2f3.jpg","text":"TemporaryFile(/tmp/multipartBody4055763387781136201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703722541,"filename":"image_14122025_09_46_24_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337875","file1":"1399337872","file0":"1399337871","file4":"1399337879","file5":"1399337883","file3":"1399337877"},"map_files_photo_id_array":[{"photo_id":"1399337883","filename":"file5"},{"photo_id":"1399337875","filename":"file2"},{"photo_id":"1399337879","filename":"file4"},{"photo_id":"1399337872","filename":"file1"},{"photo_id":"1399337871","filename":"file0"},{"photo_id":"1399337877","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337879":["hashtag1","hashtag2"]},{"1399337875":["hashtag1","hashtag2"]},{"1399337872":["hashtag1","hashtag2"]},{"1399337883":["hashtag1","hashtag2"]},{"1399337877":["hashtag1","hashtag2"]},{"1399337871":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337879, 1399337875, 1399337872, 1399337883, 1399337877, 1399337871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.483201026916504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:15:02.606499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/47/image_14122025_09_47_55_9788.jpg', '/home/pi/Desktop/images/14122025/09/47/image_14122025_09_48_05_10654.jpg', '/home/pi/Desktop/images/14122025/09/48/image_14122025_09_48_15_9691.jpg', '/home/pi/Desktop/images/14122025/09/48/image_14122025_09_48_24_9616.jpg', '/home/pi/Desktop/images/14122025/09/48/image_14122025_09_48_34_9717.jpg', '/home/pi/Desktop/images/14122025/09/48/image_14122025_09_48_55_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/47/image_14122025_09_47_55_9788.jpg
/home/pi/Desktop/images/14122025/09/47/image_14122025_09_48_05_10654.jpg
/home/pi/Desktop/images/14122025/09/48/image_14122025_09_48_15_9691.jpg
/home/pi/Desktop/images/14122025/09/48/image_14122025_09_48_24_9616.jpg
/home/pi/Desktop/images/14122025/09/48/image_14122025_09_48_34_9717.jpg
/home/pi/Desktop/images/14122025/09/48/image_14122025_09_48_55_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":["1399337891","1399337894","1399337893","1399337896","1399337892","1399337889"],"photo_ids_order":["1399337889","1399337891","1399337892","1399337893","1399337894","1399337896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8dd115dd5daa570bf94940b6f21e9eae.jpg","text":"TemporaryFile(/tmp/multipartBody1266866332366604559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703763331,"filename":"image_14122025_09_48_05_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d6eaac80880bf6b2aa3c04613e05fb69.jpg","text":"TemporaryFile(/tmp/multipartBody8520236407039323449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703763331,"filename":"image_14122025_09_48_34_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24ea7755893a1410bff195ef7ea3fd56.jpg","text":"TemporaryFile(/tmp/multipartBody99943181937511023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703763331,"filename":"image_14122025_09_48_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/12/14/f5b70aec48cb6811d641baff0655b70a.jpg","text":"TemporaryFile(/tmp/multipartBody5251331852360458737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703763331,"filename":"image_14122025_09_48_55_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd435f2196a79abc157e0501dfc69280.jpg","text":"TemporaryFile(/tmp/multipartBody4237174134161752746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703763331,"filename":"image_14122025_09_48_15_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/089ac1047ffe2ed3a614cbd88d20d737.jpg","text":"TemporaryFile(/tmp/multipartBody3719135482121391163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703763331,"filename":"image_14122025_09_47_55_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337892","file1":"1399337891","file0":"1399337889","file4":"1399337894","file5":"1399337896","file3":"1399337893"},"map_files_photo_id_array":[{"photo_id":"1399337896","filename":"file5"},{"photo_id":"1399337892","filename":"file2"},{"photo_id":"1399337894","filename":"file4"},{"photo_id":"1399337891","filename":"file1"},{"photo_id":"1399337889","filename":"file0"},{"photo_id":"1399337893","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337891":["hashtag1","hashtag2"]},{"1399337894":["hashtag1","hashtag2"]},{"1399337893":["hashtag1","hashtag2"]},{"1399337896":["hashtag1","hashtag2"]},{"1399337892":["hashtag1","hashtag2"]},{"1399337889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337891, 1399337894, 1399337893, 1399337896, 1399337892, 1399337889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77617812156677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:15:42.159767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_29_1628.jpg', '/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_31_1749.jpg', '/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_36_5272.jpg', '/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_07_3011.jpg', '/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_10_3644.jpg', '/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_13_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_29_1628.jpg
/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_31_1749.jpg
/home/pi/Desktop/images/04112025/12/43/image_04112025_12_43_36_5272.jpg
/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_07_3011.jpg
/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_10_3644.jpg
/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_13_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":["1399337907","1399337906","1399337909","1399337900","1399337902","1399337905"],"photo_ids_order":["1399337900","1399337902","1399337905","1399337906","1399337907","1399337909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/285bae78ef346700326aa2834eb3a74f.jpg","text":"TemporaryFile(/tmp/multipartBody1354336043465927240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703802841,"filename":"image_04112025_12_45_10_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ede74f0d9d9f20b95a88d5cae869c61.jpg","text":"TemporaryFile(/tmp/multipartBody3429962158437492576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703802841,"filename":"image_04112025_12_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/12/14/865c84d34e312ece5a4ccef01612ec35.jpg","text":"TemporaryFile(/tmp/multipartBody6385729902542933186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703802841,"filename":"image_04112025_12_45_13_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9ccadbf0bf568e4f53c93118aa8e37e1.jpg","text":"TemporaryFile(/tmp/multipartBody3472970011662187946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703802841,"filename":"image_04112025_12_43_29_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/268c175e056ea7523dca6d746b71c54e.jpg","text":"TemporaryFile(/tmp/multipartBody4727294949715946485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703802841,"filename":"image_04112025_12_43_31_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/58e102a2c8b5897860c4f51eb71cd044.jpg","text":"TemporaryFile(/tmp/multipartBody3639378513545510684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703802841,"filename":"image_04112025_12_43_36_5272.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337905","file1":"1399337902","file0":"1399337900","file4":"1399337907","file5":"1399337909","file3":"1399337906"},"map_files_photo_id_array":[{"photo_id":"1399337909","filename":"file5"},{"photo_id":"1399337905","filename":"file2"},{"photo_id":"1399337907","filename":"file4"},{"photo_id":"1399337902","filename":"file1"},{"photo_id":"1399337900","filename":"file0"},{"photo_id":"1399337906","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337907":["hashtag1","hashtag2"]},{"1399337906":["hashtag1","hashtag2"]},{"1399337909":["hashtag1","hashtag2"]},{"1399337900":["hashtag1","hashtag2"]},{"1399337902":["hashtag1","hashtag2"]},{"1399337905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337907, 1399337906, 1399337909, 1399337900, 1399337902, 1399337905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95903182029724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:16:22.417843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/48/image_14122025_09_49_04_9690.jpg', '/home/pi/Desktop/images/14122025/09/49/image_14122025_09_49_15_10597.jpg', '/home/pi/Desktop/images/14122025/09/49/image_14122025_09_49_24_9642.jpg', '/home/pi/Desktop/images/14122025/09/49/image_14122025_09_49_35_10748.jpg', '/home/pi/Desktop/images/14122025/09/49/image_14122025_09_49_45_9772.jpg', '/home/pi/Desktop/images/14122025/09/49/image_14122025_09_49_55_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/48/image_14122025_09_49_04_9690.jpg
/home/pi/Desktop/images/14122025/09/49/image_14122025_09_49_15_10597.jpg
/home/pi/Desktop/images/14122025/09/49/image_14122025_09_49_24_9642.jpg
/home/pi/Desktop/images/14122025/09/49/image_14122025_09_49_35_10748.jpg
/home/pi/Desktop/images/14122025/09/49/image_14122025_09_49_45_9772.jpg
/home/pi/Desktop/images/14122025/09/49/image_14122025_09_49_55_9712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337916","1399337918","1399337912","1399337920","1399337914","1399337922"],"photo_ids_order":["1399337912","1399337914","1399337916","1399337918","1399337920","1399337922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c664f36a27745f70e6f86b6145bb3203.jpg","text":"TemporaryFile(/tmp/multipartBody314168163579132697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703843042,"filename":"image_14122025_09_49_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da2ff834b44b3dd3ef3bf5261c58f02e.jpg","text":"TemporaryFile(/tmp/multipartBody2502157556385001339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703843042,"filename":"image_14122025_09_49_35_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1b66569b91b240f830ab3869120a685.jpg","text":"TemporaryFile(/tmp/multipartBody8377503995944826190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703843042,"filename":"image_14122025_09_49_04_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7066a6ad607616eab83318ef74eb04c6.jpg","text":"TemporaryFile(/tmp/multipartBody8714183863892435212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703843042,"filename":"image_14122025_09_49_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/12/14/99c796e59c64ef74b2cd88965c51c21e.jpg","text":"TemporaryFile(/tmp/multipartBody5679745209144643435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703843042,"filename":"image_14122025_09_49_15_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dda3d559d67eda3884ba72a211dec6e1.jpg","text":"TemporaryFile(/tmp/multipartBody6280796388480556310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703843042,"filename":"image_14122025_09_49_55_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337916","file1":"1399337914","file0":"1399337912","file4":"1399337920","file5":"1399337922","file3":"1399337918"},"map_files_photo_id_array":[{"photo_id":"1399337922","filename":"file5"},{"photo_id":"1399337916","filename":"file2"},{"photo_id":"1399337920","filename":"file4"},{"photo_id":"1399337914","filename":"file1"},{"photo_id":"1399337912","filename":"file0"},{"photo_id":"1399337918","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337916":["hashtag1","hashtag2"]},{"1399337918":["hashtag1","hashtag2"]},{"1399337912":["hashtag1","hashtag2"]},{"1399337920":["hashtag1","hashtag2"]},{"1399337914":["hashtag1","hashtag2"]},{"1399337922":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337916, 1399337918, 1399337912, 1399337920, 1399337914, 1399337922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.509644508361816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:17:03.265559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/49/image_14122025_09_50_04_9721.jpg', '/home/pi/Desktop/images/14122025/09/50/image_14122025_09_50_15_10426.jpg', '/home/pi/Desktop/images/14122025/09/50/image_14122025_09_50_25_9741.jpg', '/home/pi/Desktop/images/14122025/09/50/image_14122025_09_50_34_9834.jpg', '/home/pi/Desktop/images/14122025/09/50/image_14122025_09_50_45_10590.jpg', '/home/pi/Desktop/images/14122025/09/50/image_14122025_09_50_55_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/49/image_14122025_09_50_04_9721.jpg
/home/pi/Desktop/images/14122025/09/50/image_14122025_09_50_15_10426.jpg
/home/pi/Desktop/images/14122025/09/50/image_14122025_09_50_25_9741.jpg
/home/pi/Desktop/images/14122025/09/50/image_14122025_09_50_34_9834.jpg
/home/pi/Desktop/images/14122025/09/50/image_14122025_09_50_45_10590.jpg
/home/pi/Desktop/images/14122025/09/50/image_14122025_09_50_55_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":["1399337924","1399337927","1399337926","1399337929","1399337931","1399337925"],"photo_ids_order":["1399337924","1399337925","1399337926","1399337927","1399337929","1399337931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2742eaa29b1297acd1ada761ad1d9c4e.jpg","text":"TemporaryFile(/tmp/multipartBody4128370150698080422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703883932,"filename":"image_14122025_09_50_04_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4da499cb6ccd2705f6c8cfd639b25cfa.jpg","text":"TemporaryFile(/tmp/multipartBody3647022416043907211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703883932,"filename":"image_14122025_09_50_34_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c07b39413e02d766780153d7f7751f2.jpg","text":"TemporaryFile(/tmp/multipartBody2812748841700571792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703883932,"filename":"image_14122025_09_50_25_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7703d29aae02d3be7e1577d42f722d46.jpg","text":"TemporaryFile(/tmp/multipartBody5930880112104786335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703883932,"filename":"image_14122025_09_50_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/12/14/94fc3a2a4c1247e800ed55c21988d45e.jpg","text":"TemporaryFile(/tmp/multipartBody1911741559568274720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703883932,"filename":"image_14122025_09_50_55_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/739adb3027efbd52dc1ab245073a2456.jpg","text":"TemporaryFile(/tmp/multipartBody6343865365991989297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703883932,"filename":"image_14122025_09_50_15_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337926","file1":"1399337925","file0":"1399337924","file4":"1399337929","file5":"1399337931","file3":"1399337927"},"map_files_photo_id_array":[{"photo_id":"1399337931","filename":"file5"},{"photo_id":"1399337926","filename":"file2"},{"photo_id":"1399337929","filename":"file4"},{"photo_id":"1399337925","filename":"file1"},{"photo_id":"1399337924","filename":"file0"},{"photo_id":"1399337927","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337924":["hashtag1","hashtag2"]},{"1399337927":["hashtag1","hashtag2"]},{"1399337926":["hashtag1","hashtag2"]},{"1399337929":["hashtag1","hashtag2"]},{"1399337931":["hashtag1","hashtag2"]},{"1399337925":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337924, 1399337927, 1399337926, 1399337929, 1399337931, 1399337925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84991216659546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:17:42.579236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_25_2729.jpg', '/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_29_3768.jpg', '/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_31_2693.jpg', '/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_34_3067.jpg', '/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_37_2812.jpg', '/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_40_2951.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_25_2729.jpg
/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_29_3768.jpg
/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_31_2693.jpg
/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_34_3067.jpg
/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_37_2812.jpg
/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_40_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":["1399337939","1399337938","1399337941","1399337935","1399337940","1399337937"],"photo_ids_order":["1399337935","1399337937","1399337938","1399337939","1399337940","1399337941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7180f2f694b1c40c01c6d687f51606e7.jpg","text":"TemporaryFile(/tmp/multipartBody1981281287595576682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703923288,"filename":"image_04112025_12_45_34_3067.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/292311ddd0f31a4627f5ba0bb189eae5.jpg","text":"TemporaryFile(/tmp/multipartBody7055344028969951225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703923288,"filename":"image_04112025_12_45_31_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e55c41db6c042e5922f2a3721ebcaa17.jpg","text":"TemporaryFile(/tmp/multipartBody1725806480306516253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703923288,"filename":"image_04112025_12_45_40_2951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ca96344833ba33484a0ff0554da41a8b.jpg","text":"TemporaryFile(/tmp/multipartBody8263807276165983001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703923288,"filename":"image_04112025_12_45_25_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba34c048e29c0028eebe5ff3ccfb971d.jpg","text":"TemporaryFile(/tmp/multipartBody6534129478078494601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703923288,"filename":"image_04112025_12_45_37_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/11f56cb1b17830cea3e3ac92779548f1.jpg","text":"TemporaryFile(/tmp/multipartBody4342430926158346731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703923288,"filename":"image_04112025_12_45_29_3768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337938","file1":"1399337937","file0":"1399337935","file4":"1399337940","file5":"1399337941","file3":"1399337939"},"map_files_photo_id_array":[{"photo_id":"1399337941","filename":"file5"},{"photo_id":"1399337938","filename":"file2"},{"photo_id":"1399337940","filename":"file4"},{"photo_id":"1399337937","filename":"file1"},{"photo_id":"1399337935","filename":"file0"},{"photo_id":"1399337939","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337939":["hashtag1","hashtag2"]},{"1399337938":["hashtag1","hashtag2"]},{"1399337941":["hashtag1","hashtag2"]},{"1399337935":["hashtag1","hashtag2"]},{"1399337940":["hashtag1","hashtag2"]},{"1399337937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337939, 1399337938, 1399337941, 1399337935, 1399337940, 1399337937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59271717071533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:18:21.917713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/50/image_14122025_09_51_05_9758.jpg', '/home/pi/Desktop/images/14122025/09/51/image_14122025_09_51_15_10622.jpg', '/home/pi/Desktop/images/14122025/09/51/image_14122025_09_51_25_9666.jpg', '/home/pi/Desktop/images/14122025/09/51/image_14122025_09_51_34_9659.jpg', '/home/pi/Desktop/images/14122025/09/51/image_14122025_09_51_45_10616.jpg', '/home/pi/Desktop/images/14122025/09/51/image_14122025_09_51_55_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/50/image_14122025_09_51_05_9758.jpg
/home/pi/Desktop/images/14122025/09/51/image_14122025_09_51_15_10622.jpg
/home/pi/Desktop/images/14122025/09/51/image_14122025_09_51_25_9666.jpg
/home/pi/Desktop/images/14122025/09/51/image_14122025_09_51_34_9659.jpg
/home/pi/Desktop/images/14122025/09/51/image_14122025_09_51_45_10616.jpg
/home/pi/Desktop/images/14122025/09/51/image_14122025_09_51_55_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":["1399337942","1399337945","1399337947","1399337949","1399337943","1399337952"],"photo_ids_order":["1399337942","1399337943","1399337945","1399337947","1399337949","1399337952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f760f6d13f423965a889f0d097e0185b.jpg","text":"TemporaryFile(/tmp/multipartBody2740404267597803335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703962556,"filename":"image_14122025_09_51_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/12/14/a78d4ce8383e2b4fe2899d251645d761.jpg","text":"TemporaryFile(/tmp/multipartBody7385646209525978865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703962556,"filename":"image_14122025_09_51_25_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/534139900888d8f506c32d90f95e2618.jpg","text":"TemporaryFile(/tmp/multipartBody3761052888251635972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703962556,"filename":"image_14122025_09_51_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/818d0f0fca64a8ddf23d78338ed277ff.jpg","text":"TemporaryFile(/tmp/multipartBody7122444161340306311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703962556,"filename":"image_14122025_09_51_45_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cfcc3af588d3c01409d33ec788bb3171.jpg","text":"TemporaryFile(/tmp/multipartBody586303536498163688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703962556,"filename":"image_14122025_09_51_15_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/873fa5df79a82fd710b5bd707714b682.jpg","text":"TemporaryFile(/tmp/multipartBody6269674630286921868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765703962556,"filename":"image_14122025_09_51_55_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337945","file1":"1399337943","file0":"1399337942","file4":"1399337949","file5":"1399337952","file3":"1399337947"},"map_files_photo_id_array":[{"photo_id":"1399337952","filename":"file5"},{"photo_id":"1399337945","filename":"file2"},{"photo_id":"1399337949","filename":"file4"},{"photo_id":"1399337943","filename":"file1"},{"photo_id":"1399337942","filename":"file0"},{"photo_id":"1399337947","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337942":["hashtag1","hashtag2"]},{"1399337945":["hashtag1","hashtag2"]},{"1399337947":["hashtag1","hashtag2"]},{"1399337949":["hashtag1","hashtag2"]},{"1399337943":["hashtag1","hashtag2"]},{"1399337952":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337942, 1399337945, 1399337947, 1399337949, 1399337943, 1399337952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1351113319397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:19:02.667674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/51/image_14122025_09_52_04_9706.jpg', '/home/pi/Desktop/images/14122025/09/52/image_14122025_09_52_14_9799.jpg', '/home/pi/Desktop/images/14122025/09/52/image_14122025_09_52_25_10768.jpg', '/home/pi/Desktop/images/14122025/09/52/image_14122025_09_52_35_9635.jpg', '/home/pi/Desktop/images/14122025/09/52/image_14122025_09_52_45_9850.jpg', '/home/pi/Desktop/images/14122025/09/52/image_14122025_09_52_55_10000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/51/image_14122025_09_52_04_9706.jpg
/home/pi/Desktop/images/14122025/09/52/image_14122025_09_52_14_9799.jpg
/home/pi/Desktop/images/14122025/09/52/image_14122025_09_52_25_10768.jpg
/home/pi/Desktop/images/14122025/09/52/image_14122025_09_52_35_9635.jpg
/home/pi/Desktop/images/14122025/09/52/image_14122025_09_52_45_9850.jpg
/home/pi/Desktop/images/14122025/09/52/image_14122025_09_52_55_10000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337960","1399337957","1399337962","1399337956","1399337959","1399337958"],"photo_ids_order":["1399337956","1399337957","1399337958","1399337959","1399337960","1399337962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4eff7249ce65ce19c1131b8d663b8fca.jpg","text":"TemporaryFile(/tmp/multipartBody1307475692721402418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704003430,"filename":"image_14122025_09_52_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/12/14/6cae9ebeb3c9bfde45fd95f8e4a07fa8.jpg","text":"TemporaryFile(/tmp/multipartBody1591700893946989120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704003430,"filename":"image_14122025_09_52_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/12/14/4246bb98c828ae4e9030eed3e3e8b93e.jpg","text":"TemporaryFile(/tmp/multipartBody3512042409795175801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704003430,"filename":"image_14122025_09_52_55_10000.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8082843dbece3f5d2f3b44c1b6ee5998.jpg","text":"TemporaryFile(/tmp/multipartBody7299119440405389335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704003430,"filename":"image_14122025_09_52_04_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb11158f1a992ea8ad9c65bd48d2af89.jpg","text":"TemporaryFile(/tmp/multipartBody989353247502539640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704003430,"filename":"image_14122025_09_52_35_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b3d798eb2112a8d6d7ee9bafdfb1f6f4.jpg","text":"TemporaryFile(/tmp/multipartBody5393967142863546917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704003430,"filename":"image_14122025_09_52_25_10768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337958","file1":"1399337957","file0":"1399337956","file4":"1399337960","file5":"1399337962","file3":"1399337959"},"map_files_photo_id_array":[{"photo_id":"1399337962","filename":"file5"},{"photo_id":"1399337958","filename":"file2"},{"photo_id":"1399337960","filename":"file4"},{"photo_id":"1399337957","filename":"file1"},{"photo_id":"1399337956","filename":"file0"},{"photo_id":"1399337959","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337960":["hashtag1","hashtag2"]},{"1399337957":["hashtag1","hashtag2"]},{"1399337962":["hashtag1","hashtag2"]},{"1399337956":["hashtag1","hashtag2"]},{"1399337959":["hashtag1","hashtag2"]},{"1399337958":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337960, 1399337957, 1399337962, 1399337956, 1399337959, 1399337958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.492780447006226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:19:42.194946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_43_2723.jpg', '/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_48_4732.jpg', '/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_49_1722.jpg', '/home/pi/Desktop/images/04112025/12/46/image_04112025_12_46_08_18685.jpg', '/home/pi/Desktop/images/04112025/12/46/image_04112025_12_46_10_1664.jpg', '/home/pi/Desktop/images/04112025/12/46/image_04112025_12_46_12_1969.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_43_2723.jpg
/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_48_4732.jpg
/home/pi/Desktop/images/04112025/12/45/image_04112025_12_45_49_1722.jpg
/home/pi/Desktop/images/04112025/12/46/image_04112025_12_46_08_18685.jpg
/home/pi/Desktop/images/04112025/12/46/image_04112025_12_46_10_1664.jpg
/home/pi/Desktop/images/04112025/12/46/image_04112025_12_46_12_1969.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337972","1399337969","1399337971","1399337973","1399337967","1399337976"],"photo_ids_order":["1399337967","1399337969","1399337971","1399337972","1399337973","1399337976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/09ad5b5aa13d9a33702db2d05c0e1468.jpg","text":"TemporaryFile(/tmp/multipartBody4505964062822160614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704042885,"filename":"image_04112025_12_46_08_18685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb221c55cb64b3885a98b3708d3a568a.jpg","text":"TemporaryFile(/tmp/multipartBody1337344878129293271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704042885,"filename":"image_04112025_12_45_48_4732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba7858cedd5ed375a46c16fd20b965f4.jpg","text":"TemporaryFile(/tmp/multipartBody9072238812055580682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704042885,"filename":"image_04112025_12_45_49_1722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e1a608df1c11ddbc781780a5d88b4a1a.jpg","text":"TemporaryFile(/tmp/multipartBody8554794841679039161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704042885,"filename":"image_04112025_12_46_10_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e78dbba8fe99a617beab48b364adaa23.jpg","text":"TemporaryFile(/tmp/multipartBody3967214278453739581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704042885,"filename":"image_04112025_12_45_43_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/267d03eff001eaad8603ac9efc71b321.jpg","text":"TemporaryFile(/tmp/multipartBody4360247279793825241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704042885,"filename":"image_04112025_12_46_12_1969.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337971","file1":"1399337969","file0":"1399337967","file4":"1399337973","file5":"1399337976","file3":"1399337972"},"map_files_photo_id_array":[{"photo_id":"1399337976","filename":"file5"},{"photo_id":"1399337971","filename":"file2"},{"photo_id":"1399337973","filename":"file4"},{"photo_id":"1399337969","filename":"file1"},{"photo_id":"1399337967","filename":"file0"},{"photo_id":"1399337972","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399337972":["hashtag1","hashtag2"]},{"1399337969":["hashtag1","hashtag2"]},{"1399337971":["hashtag1","hashtag2"]},{"1399337973":["hashtag1","hashtag2"]},{"1399337967":["hashtag1","hashtag2"]},{"1399337976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399337972, 1399337969, 1399337971, 1399337973, 1399337967, 1399337976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.069353103637695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:20:22.397533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/52/image_14122025_09_53_04_9744.jpg', '/home/pi/Desktop/images/14122025/09/53/image_14122025_09_53_15_10625.jpg', '/home/pi/Desktop/images/14122025/09/53/image_14122025_09_53_25_9645.jpg', '/home/pi/Desktop/images/14122025/09/53/image_14122025_09_53_55_9683.jpg', '/home/pi/Desktop/images/14122025/09/53/image_14122025_09_54_04_9668.jpg', '/home/pi/Desktop/images/14122025/09/54/image_14122025_09_54_15_10886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/52/image_14122025_09_53_04_9744.jpg
/home/pi/Desktop/images/14122025/09/53/image_14122025_09_53_15_10625.jpg
/home/pi/Desktop/images/14122025/09/53/image_14122025_09_53_25_9645.jpg
/home/pi/Desktop/images/14122025/09/53/image_14122025_09_53_55_9683.jpg
/home/pi/Desktop/images/14122025/09/53/image_14122025_09_54_04_9668.jpg
/home/pi/Desktop/images/14122025/09/54/image_14122025_09_54_15_10886.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337984","1399337978","1399337989","1399337980","1399337983","1399337986"],"photo_ids_order":["1399337978","1399337980","1399337983","1399337984","1399337986","1399337989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da74903f4474bce13364a76d651e45a4.jpg","text":"TemporaryFile(/tmp/multipartBody1588738236010390992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704083022,"filename":"image_14122025_09_53_55_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/986bc5b30da3c30224c0bf45bb51ad2b.jpg","text":"TemporaryFile(/tmp/multipartBody3112549079037495301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704083022,"filename":"image_14122025_09_53_04_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ca220de312d1d33893dc97570c0cdc43.jpg","text":"TemporaryFile(/tmp/multipartBody8151397906588744843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704083022,"filename":"image_14122025_09_54_15_10886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ff725ced0f676ef59de3e462d0cdf60.jpg","text":"TemporaryFile(/tmp/multipartBody9195550403762327903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704083022,"filename":"image_14122025_09_53_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/12/14/79786aa27b0da5ce5140eaff7112bae7.jpg","text":"TemporaryFile(/tmp/multipartBody4969746203956788019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704083022,"filename":"image_14122025_09_53_25_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc5c62c0b1c6d07073094a9d7f023592.jpg","text":"TemporaryFile(/tmp/multipartBody8884522768395246940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704083022,"filename":"image_14122025_09_54_04_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337983","file1":"1399337980","file0":"1399337978","file4":"1399337986","file5":"1399337989","file3":"1399337984"},"map_files_photo_id_array":[{"photo_id":"1399337989","filename":"file5"},{"photo_id":"1399337983","filename":"file2"},{"photo_id":"1399337986","filename":"file4"},{"photo_id":"1399337980","filename":"file1"},{"photo_id":"1399337978","filename":"file0"},{"photo_id":"1399337984","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337984":["hashtag1","hashtag2"]},{"1399337978":["hashtag1","hashtag2"]},{"1399337989":["hashtag1","hashtag2"]},{"1399337980":["hashtag1","hashtag2"]},{"1399337983":["hashtag1","hashtag2"]},{"1399337986":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337984, 1399337978, 1399337989, 1399337980, 1399337983, 1399337986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65458035469055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:21:03.297710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/54/image_14122025_09_54_25_9561.jpg', '/home/pi/Desktop/images/14122025/09/54/image_14122025_09_54_34_9727.jpg', '/home/pi/Desktop/images/14122025/09/54/image_14122025_09_54_55_9732.jpg', '/home/pi/Desktop/images/14122025/09/54/image_14122025_09_55_04_9693.jpg', '/home/pi/Desktop/images/14122025/09/55/image_14122025_09_55_15_10724.jpg', '/home/pi/Desktop/images/14122025/09/55/image_14122025_09_55_25_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/54/image_14122025_09_54_25_9561.jpg
/home/pi/Desktop/images/14122025/09/54/image_14122025_09_54_34_9727.jpg
/home/pi/Desktop/images/14122025/09/54/image_14122025_09_54_55_9732.jpg
/home/pi/Desktop/images/14122025/09/54/image_14122025_09_55_04_9693.jpg
/home/pi/Desktop/images/14122025/09/55/image_14122025_09_55_15_10724.jpg
/home/pi/Desktop/images/14122025/09/55/image_14122025_09_55_25_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399337990","1399337993","1399337992","1399337991","1399337994","1399337997"],"photo_ids_order":["1399337990","1399337991","1399337992","1399337993","1399337994","1399337997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a43ea756a38f6755bfda1baca35f8cf.jpg","text":"TemporaryFile(/tmp/multipartBody4590585437361029604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704123946,"filename":"image_14122025_09_54_25_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2fcaa0926ccc41de4e2a4ceb8de3322.jpg","text":"TemporaryFile(/tmp/multipartBody2069945477128113776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704123946,"filename":"image_14122025_09_55_04_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/619741218e8ed3e8bb18a6ca2ba7e6e8.jpg","text":"TemporaryFile(/tmp/multipartBody2287980745865914020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704123946,"filename":"image_14122025_09_54_55_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/20f8a6f857173d6b95d3693383bb5a5c.jpg","text":"TemporaryFile(/tmp/multipartBody5511990657896728256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704123946,"filename":"image_14122025_09_54_34_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c39fabda9b4c7af5ff0ebc2b80dfff5.jpg","text":"TemporaryFile(/tmp/multipartBody7564989777323029704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704123946,"filename":"image_14122025_09_55_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/12/14/73595a91365aa64f5ac0aef6f7514842.jpg","text":"TemporaryFile(/tmp/multipartBody7584509522650573780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704123946,"filename":"image_14122025_09_55_25_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399337992","file1":"1399337991","file0":"1399337990","file4":"1399337994","file5":"1399337997","file3":"1399337993"},"map_files_photo_id_array":[{"photo_id":"1399337997","filename":"file5"},{"photo_id":"1399337992","filename":"file2"},{"photo_id":"1399337994","filename":"file4"},{"photo_id":"1399337991","filename":"file1"},{"photo_id":"1399337990","filename":"file0"},{"photo_id":"1399337993","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399337990":["hashtag1","hashtag2"]},{"1399337993":["hashtag1","hashtag2"]},{"1399337992":["hashtag1","hashtag2"]},{"1399337991":["hashtag1","hashtag2"]},{"1399337994":["hashtag1","hashtag2"]},{"1399337997":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399337990, 1399337993, 1399337992, 1399337991, 1399337994, 1399337997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.048813343048096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:21:42.690979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/46/image_04112025_12_46_13_1633.jpg', '/home/pi/Desktop/images/04112025/12/46/image_04112025_12_46_40_26539.jpg', '/home/pi/Desktop/images/04112025/12/46/image_04112025_12_46_41_1642.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_03_21689.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_05_2015.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_07_1669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/46/image_04112025_12_46_13_1633.jpg
/home/pi/Desktop/images/04112025/12/46/image_04112025_12_46_40_26539.jpg
/home/pi/Desktop/images/04112025/12/46/image_04112025_12_46_41_1642.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_03_21689.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_05_2015.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_07_1669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338002","1399338005","1399338008","1399338007","1399338004","1399338006"],"photo_ids_order":["1399338002","1399338004","1399338005","1399338006","1399338007","1399338008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a22fc4ab4cb91186c423a0b7905a032.jpg","text":"TemporaryFile(/tmp/multipartBody7474153419057639903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704163427,"filename":"image_04112025_12_46_13_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e74618114c8d74ace590fcb4a3d2187.jpg","text":"TemporaryFile(/tmp/multipartBody8972015363484565303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704163427,"filename":"image_04112025_12_46_41_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/55a5935fc7bc5ece60d810a43d85ca90.jpg","text":"TemporaryFile(/tmp/multipartBody6006005749259398450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704163427,"filename":"image_04112025_12_47_07_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c35886481aa624cac7b61fbe7605d197.jpg","text":"TemporaryFile(/tmp/multipartBody8208735470930022706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704163427,"filename":"image_04112025_12_47_05_2015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/46742e190ce037c201b8da3662f5acb6.jpg","text":"TemporaryFile(/tmp/multipartBody3379398556147970443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704163427,"filename":"image_04112025_12_46_40_26539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b304b4e959c9b6147657ce2a7ceaf90a.jpg","text":"TemporaryFile(/tmp/multipartBody7357395970460284935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704163427,"filename":"image_04112025_12_47_03_21689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338005","file1":"1399338004","file0":"1399338002","file4":"1399338007","file5":"1399338008","file3":"1399338006"},"map_files_photo_id_array":[{"photo_id":"1399338008","filename":"file5"},{"photo_id":"1399338005","filename":"file2"},{"photo_id":"1399338007","filename":"file4"},{"photo_id":"1399338004","filename":"file1"},{"photo_id":"1399338002","filename":"file0"},{"photo_id":"1399338006","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399338002":["hashtag1","hashtag2"]},{"1399338005":["hashtag1","hashtag2"]},{"1399338008":["hashtag1","hashtag2"]},{"1399338007":["hashtag1","hashtag2"]},{"1399338004":["hashtag1","hashtag2"]},{"1399338006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399338002, 1399338005, 1399338008, 1399338007, 1399338004, 1399338006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85949444770813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:22:21.913527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/55/image_14122025_09_55_34_9648.jpg', '/home/pi/Desktop/images/14122025/09/55/image_14122025_09_55_45_10772.jpg', '/home/pi/Desktop/images/14122025/09/55/image_14122025_09_56_04_9656.jpg', '/home/pi/Desktop/images/14122025/09/56/image_14122025_09_56_14_9743.jpg', '/home/pi/Desktop/images/14122025/09/56/image_14122025_09_56_25_10840.jpg', '/home/pi/Desktop/images/14122025/09/56/image_14122025_09_56_35_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/55/image_14122025_09_55_34_9648.jpg
/home/pi/Desktop/images/14122025/09/55/image_14122025_09_55_45_10772.jpg
/home/pi/Desktop/images/14122025/09/55/image_14122025_09_56_04_9656.jpg
/home/pi/Desktop/images/14122025/09/56/image_14122025_09_56_14_9743.jpg
/home/pi/Desktop/images/14122025/09/56/image_14122025_09_56_25_10840.jpg
/home/pi/Desktop/images/14122025/09/56/image_14122025_09_56_35_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338017","1399338013","1399338022","1399338010","1399338015","1399338009"],"photo_ids_order":["1399338009","1399338010","1399338013","1399338015","1399338017","1399338022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/65b1e7731a7cf43a4b1db2fade1c7387.jpg","text":"TemporaryFile(/tmp/multipartBody2267349758679476415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704202538,"filename":"image_14122025_09_56_25_10840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b0426877814586d1b55edd9d21929aba.jpg","text":"TemporaryFile(/tmp/multipartBody4157237642290020004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704202538,"filename":"image_14122025_09_56_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf6e92e7e37a486cf2e5269719932c8b.jpg","text":"TemporaryFile(/tmp/multipartBody5318277885180235066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704202538,"filename":"image_14122025_09_56_35_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63d2b3d5dd5bc884f1234909166d89de.jpg","text":"TemporaryFile(/tmp/multipartBody5044464439691333586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704202538,"filename":"image_14122025_09_55_45_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d969f5ffe04968006d227f105d1b22a7.jpg","text":"TemporaryFile(/tmp/multipartBody4277520511906018871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704202538,"filename":"image_14122025_09_56_14_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0a14967fdc6639e317da25746650e6af.jpg","text":"TemporaryFile(/tmp/multipartBody5725238998963828128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704202538,"filename":"image_14122025_09_55_34_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338013","file1":"1399338010","file0":"1399338009","file4":"1399338017","file5":"1399338022","file3":"1399338015"},"map_files_photo_id_array":[{"photo_id":"1399338022","filename":"file5"},{"photo_id":"1399338013","filename":"file2"},{"photo_id":"1399338017","filename":"file4"},{"photo_id":"1399338010","filename":"file1"},{"photo_id":"1399338009","filename":"file0"},{"photo_id":"1399338015","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338017":["hashtag1","hashtag2"]},{"1399338013":["hashtag1","hashtag2"]},{"1399338022":["hashtag1","hashtag2"]},{"1399338010":["hashtag1","hashtag2"]},{"1399338015":["hashtag1","hashtag2"]},{"1399338009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338017, 1399338013, 1399338022, 1399338010, 1399338015, 1399338009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.92449164390564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 10:23:12.289646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:23:22.273390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/56/image_14122025_09_56_44_9644.jpg', '/home/pi/Desktop/images/14122025/09/56/image_14122025_09_56_55_10685.jpg', '/home/pi/Desktop/images/14122025/09/56/image_14122025_09_57_05_9764.jpg', '/home/pi/Desktop/images/14122025/09/57/image_14122025_09_57_14_9625.jpg', '/home/pi/Desktop/images/14122025/09/57/image_14122025_09_57_24_9790.jpg', '/home/pi/Desktop/images/14122025/09/57/image_14122025_09_57_35_10696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/56/image_14122025_09_56_44_9644.jpg
/home/pi/Desktop/images/14122025/09/56/image_14122025_09_56_55_10685.jpg
/home/pi/Desktop/images/14122025/09/56/image_14122025_09_57_05_9764.jpg
/home/pi/Desktop/images/14122025/09/57/image_14122025_09_57_14_9625.jpg
/home/pi/Desktop/images/14122025/09/57/image_14122025_09_57_24_9790.jpg
/home/pi/Desktop/images/14122025/09/57/image_14122025_09_57_35_10696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338029","1399338031","1399338028","1399338030","1399338033","1399338027"],"photo_ids_order":["1399338027","1399338028","1399338029","1399338030","1399338031","1399338033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/72769f59b0c8fc66ddee5e511f702648.jpg","text":"TemporaryFile(/tmp/multipartBody6122211369255226089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704264220,"filename":"image_14122025_09_57_05_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4dea563acb1d8eecd330a754f10572b5.jpg","text":"TemporaryFile(/tmp/multipartBody673757588496189809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704264220,"filename":"image_14122025_09_57_24_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa5811cf1463460d0243d04daa39c84d.jpg","text":"TemporaryFile(/tmp/multipartBody5354379822294530533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704264220,"filename":"image_14122025_09_56_55_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ab68919c322ada97b20056089575801.jpg","text":"TemporaryFile(/tmp/multipartBody240915571957483932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704264220,"filename":"image_14122025_09_57_14_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f168b5a66beab835284d45989e54fa65.jpg","text":"TemporaryFile(/tmp/multipartBody8158208961291918075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704264220,"filename":"image_14122025_09_57_35_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/620cc20e4cc97fb05996cb3107eee945.jpg","text":"TemporaryFile(/tmp/multipartBody2493941176145247130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704264220,"filename":"image_14122025_09_56_44_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338029","file1":"1399338028","file0":"1399338027","file4":"1399338031","file5":"1399338033","file3":"1399338030"},"map_files_photo_id_array":[{"photo_id":"1399338033","filename":"file5"},{"photo_id":"1399338029","filename":"file2"},{"photo_id":"1399338031","filename":"file4"},{"photo_id":"1399338028","filename":"file1"},{"photo_id":"1399338027","filename":"file0"},{"photo_id":"1399338030","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338029":["hashtag1","hashtag2"]},{"1399338031":["hashtag1","hashtag2"]},{"1399338028":["hashtag1","hashtag2"]},{"1399338030":["hashtag1","hashtag2"]},{"1399338033":["hashtag1","hashtag2"]},{"1399338027":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338029, 1399338031, 1399338028, 1399338030, 1399338033, 1399338027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08723568916321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:24:03.173069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/57/image_14122025_09_57_45_9632.jpg', '/home/pi/Desktop/images/14122025/09/57/image_14122025_09_57_55_10569.jpg', '/home/pi/Desktop/images/14122025/09/57/image_14122025_09_58_05_9633.jpg', '/home/pi/Desktop/images/14122025/09/58/image_14122025_09_58_14_9615.jpg', '/home/pi/Desktop/images/14122025/09/58/image_14122025_09_58_25_10742.jpg', '/home/pi/Desktop/images/14122025/09/58/image_14122025_09_58_35_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/57/image_14122025_09_57_45_9632.jpg
/home/pi/Desktop/images/14122025/09/57/image_14122025_09_57_55_10569.jpg
/home/pi/Desktop/images/14122025/09/57/image_14122025_09_58_05_9633.jpg
/home/pi/Desktop/images/14122025/09/58/image_14122025_09_58_14_9615.jpg
/home/pi/Desktop/images/14122025/09/58/image_14122025_09_58_25_10742.jpg
/home/pi/Desktop/images/14122025/09/58/image_14122025_09_58_35_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":["1399338047","1399338043","1399338049","1399338040","1399338051","1399338045"],"photo_ids_order":["1399338040","1399338043","1399338045","1399338047","1399338049","1399338051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/82c9114a89c7e4d5076121f467abcb3f.jpg","text":"TemporaryFile(/tmp/multipartBody5828569055911158687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704303822,"filename":"image_14122025_09_58_14_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9af1f9f304a46b76fcd6e20878c844e5.jpg","text":"TemporaryFile(/tmp/multipartBody1743278173803851122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704303822,"filename":"image_14122025_09_57_55_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c480e669d81ceb22f51f05c6dc54e318.jpg","text":"TemporaryFile(/tmp/multipartBody3842605276650267864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704303822,"filename":"image_14122025_09_58_25_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f2717e2c68f96476620b6d52f18133de.jpg","text":"TemporaryFile(/tmp/multipartBody5065045629824544766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704303822,"filename":"image_14122025_09_57_45_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba876697cce04e0b8480e5b8b2c0b5d5.jpg","text":"TemporaryFile(/tmp/multipartBody5886076476678280040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704303822,"filename":"image_14122025_09_58_35_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a467022fc0006e738676b7a9c1d1fd3f.jpg","text":"TemporaryFile(/tmp/multipartBody860948734668985351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704303822,"filename":"image_14122025_09_58_05_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338045","file1":"1399338043","file0":"1399338040","file4":"1399338049","file5":"1399338051","file3":"1399338047"},"map_files_photo_id_array":[{"photo_id":"1399338051","filename":"file5"},{"photo_id":"1399338045","filename":"file2"},{"photo_id":"1399338049","filename":"file4"},{"photo_id":"1399338043","filename":"file1"},{"photo_id":"1399338040","filename":"file0"},{"photo_id":"1399338047","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338047":["hashtag1","hashtag2"]},{"1399338043":["hashtag1","hashtag2"]},{"1399338049":["hashtag1","hashtag2"]},{"1399338040":["hashtag1","hashtag2"]},{"1399338051":["hashtag1","hashtag2"]},{"1399338045":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338047, 1399338043, 1399338049, 1399338040, 1399338051, 1399338045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34962058067322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:24:42.371860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_08_1501.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_10_1743.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_12_1790.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_13_1599.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_15_1653.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_17_1840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_08_1501.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_10_1743.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_12_1790.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_13_1599.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_15_1653.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_17_1840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338059","1399338053","1399338061","1399338054","1399338063","1399338057"],"photo_ids_order":["1399338053","1399338054","1399338057","1399338059","1399338061","1399338063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c353031e57dad91a603e5e47bfe8326f.jpg","text":"TemporaryFile(/tmp/multipartBody1491056827709747891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704343074,"filename":"image_04112025_12_47_13_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54ec59791cc3fed9f32e96ba2c6ae428.jpg","text":"TemporaryFile(/tmp/multipartBody3511362005165831217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704343074,"filename":"image_04112025_12_47_08_1501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0a2fb4ae4fb4036d8c922e5fa76a8b97.jpg","text":"TemporaryFile(/tmp/multipartBody8954259170258990381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704343074,"filename":"image_04112025_12_47_15_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/908cdaf6ff6d9eb3d7533957d006f1e0.jpg","text":"TemporaryFile(/tmp/multipartBody6422728254238161138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704343074,"filename":"image_04112025_12_47_10_1743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ffa2673e7d13fc1b52102734c3b7f86.jpg","text":"TemporaryFile(/tmp/multipartBody5861724258243848910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704343074,"filename":"image_04112025_12_47_17_1840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f4a23aa18da481e37aad2b90f4539ac1.jpg","text":"TemporaryFile(/tmp/multipartBody2205106722101514955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704343074,"filename":"image_04112025_12_47_12_1790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338057","file1":"1399338054","file0":"1399338053","file4":"1399338061","file5":"1399338063","file3":"1399338059"},"map_files_photo_id_array":[{"photo_id":"1399338063","filename":"file5"},{"photo_id":"1399338057","filename":"file2"},{"photo_id":"1399338061","filename":"file4"},{"photo_id":"1399338054","filename":"file1"},{"photo_id":"1399338053","filename":"file0"},{"photo_id":"1399338059","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399338059":["hashtag1","hashtag2"]},{"1399338053":["hashtag1","hashtag2"]},{"1399338061":["hashtag1","hashtag2"]},{"1399338054":["hashtag1","hashtag2"]},{"1399338063":["hashtag1","hashtag2"]},{"1399338057":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399338059, 1399338053, 1399338061, 1399338054, 1399338063, 1399338057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2661714553833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:25:22.611371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/58/image_14122025_09_58_44_9609.jpg', '/home/pi/Desktop/images/14122025/09/58/image_14122025_09_58_55_10736.jpg', '/home/pi/Desktop/images/14122025/09/58/image_14122025_09_59_05_9701.jpg', '/home/pi/Desktop/images/14122025/09/59/image_14122025_09_59_15_9777.jpg', '/home/pi/Desktop/images/14122025/09/59/image_14122025_09_59_24_9686.jpg', '/home/pi/Desktop/images/14122025/09/59/image_14122025_09_59_35_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/58/image_14122025_09_58_44_9609.jpg
/home/pi/Desktop/images/14122025/09/58/image_14122025_09_58_55_10736.jpg
/home/pi/Desktop/images/14122025/09/58/image_14122025_09_59_05_9701.jpg
/home/pi/Desktop/images/14122025/09/59/image_14122025_09_59_15_9777.jpg
/home/pi/Desktop/images/14122025/09/59/image_14122025_09_59_24_9686.jpg
/home/pi/Desktop/images/14122025/09/59/image_14122025_09_59_35_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":["1399338071","1399338074","1399338068","1399338076","1399338066","1399338069"],"photo_ids_order":["1399338066","1399338068","1399338069","1399338071","1399338074","1399338076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7e469dd427f345737c1f45baaad9be9a.jpg","text":"TemporaryFile(/tmp/multipartBody2609617319609897949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704383230,"filename":"image_14122025_09_59_15_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81cf5a0afe53eec851b280e58af1ab37.jpg","text":"TemporaryFile(/tmp/multipartBody4127570303902516450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704383230,"filename":"image_14122025_09_59_24_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cdeb4f3a21d99e0a94c86949bacec373.jpg","text":"TemporaryFile(/tmp/multipartBody1995198602228674939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704383230,"filename":"image_14122025_09_58_55_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1deea16aa0c4822e728e052267fe1f18.jpg","text":"TemporaryFile(/tmp/multipartBody5397415672444797474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704383230,"filename":"image_14122025_09_59_35_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/89120549f3af300bc6c4b9be45f7511c.jpg","text":"TemporaryFile(/tmp/multipartBody3032582450377843324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704383230,"filename":"image_14122025_09_58_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/12/14/0c8a2df7245456a480eaf32af12c21fe.jpg","text":"TemporaryFile(/tmp/multipartBody2415715657336269249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704383230,"filename":"image_14122025_09_59_05_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338069","file1":"1399338068","file0":"1399338066","file4":"1399338074","file5":"1399338076","file3":"1399338071"},"map_files_photo_id_array":[{"photo_id":"1399338076","filename":"file5"},{"photo_id":"1399338069","filename":"file2"},{"photo_id":"1399338074","filename":"file4"},{"photo_id":"1399338068","filename":"file1"},{"photo_id":"1399338066","filename":"file0"},{"photo_id":"1399338071","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338071":["hashtag1","hashtag2"]},{"1399338074":["hashtag1","hashtag2"]},{"1399338068":["hashtag1","hashtag2"]},{"1399338076":["hashtag1","hashtag2"]},{"1399338066":["hashtag1","hashtag2"]},{"1399338069":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338071, 1399338074, 1399338068, 1399338076, 1399338066, 1399338069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00727367401123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:26:02.268276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/59/image_14122025_09_59_45_9627.jpg', '/home/pi/Desktop/images/14122025/09/59/image_14122025_09_59_55_10572.jpg', '/home/pi/Desktop/images/14122025/10/00/image_14122025_10_00_14_10055.jpg', '/home/pi/Desktop/images/14122025/10/00/image_14122025_10_00_25_10770.jpg', '/home/pi/Desktop/images/14122025/10/00/image_14122025_10_00_35_9756.jpg', '/home/pi/Desktop/images/14122025/10/00/image_14122025_10_00_44_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/59/image_14122025_09_59_45_9627.jpg
/home/pi/Desktop/images/14122025/09/59/image_14122025_09_59_55_10572.jpg
/home/pi/Desktop/images/14122025/10/00/image_14122025_10_00_14_10055.jpg
/home/pi/Desktop/images/14122025/10/00/image_14122025_10_00_25_10770.jpg
/home/pi/Desktop/images/14122025/10/00/image_14122025_10_00_35_9756.jpg
/home/pi/Desktop/images/14122025/10/00/image_14122025_10_00_44_9667.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5394477844238281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 10:26:11.809504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:26:21.910841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/09/59/image_14122025_09_59_45_9627.jpg', '/home/pi/Desktop/images/14122025/09/59/image_14122025_09_59_55_10572.jpg', '/home/pi/Desktop/images/14122025/10/00/image_14122025_10_00_14_10055.jpg', '/home/pi/Desktop/images/14122025/10/00/image_14122025_10_00_25_10770.jpg', '/home/pi/Desktop/images/14122025/10/00/image_14122025_10_00_35_9756.jpg', '/home/pi/Desktop/images/14122025/10/00/image_14122025_10_00_44_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/09/59/image_14122025_09_59_45_9627.jpg
/home/pi/Desktop/images/14122025/09/59/image_14122025_09_59_55_10572.jpg
/home/pi/Desktop/images/14122025/10/00/image_14122025_10_00_14_10055.jpg
/home/pi/Desktop/images/14122025/10/00/image_14122025_10_00_25_10770.jpg
/home/pi/Desktop/images/14122025/10/00/image_14122025_10_00_35_9756.jpg
/home/pi/Desktop/images/14122025/10/00/image_14122025_10_00_44_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338091","1399338088","1399338085","1399338090","1399338096","1399338083"],"photo_ids_order":["1399338083","1399338085","1399338088","1399338090","1399338091","1399338096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/38e69aa6dd539ea75ddefca95c6fe070.jpg","text":"TemporaryFile(/tmp/multipartBody8261740324268742053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704442546,"filename":"image_14122025_10_00_35_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13c9ae8d0f90885c7636d154add8a5dc.jpg","text":"TemporaryFile(/tmp/multipartBody204020363584797302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704442546,"filename":"image_14122025_10_00_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8f86b9466a3fe55e2fdd998818353645.jpg","text":"TemporaryFile(/tmp/multipartBody4431981389668720558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704442546,"filename":"image_14122025_09_59_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/12/14/12d42b840a58e1e6b15b3d0b6569b2a7.jpg","text":"TemporaryFile(/tmp/multipartBody478023130192434228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704442546,"filename":"image_14122025_10_00_25_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/87f90623fffb4d3580ee64cb9ab1201a.jpg","text":"TemporaryFile(/tmp/multipartBody1809992209809763683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704442546,"filename":"image_14122025_10_00_44_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3c2c7bbea24a2ff3fa5ad215d4fa3625.jpg","text":"TemporaryFile(/tmp/multipartBody919680127965029115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704442546,"filename":"image_14122025_09_59_45_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338088","file1":"1399338085","file0":"1399338083","file4":"1399338091","file5":"1399338096","file3":"1399338090"},"map_files_photo_id_array":[{"photo_id":"1399338096","filename":"file5"},{"photo_id":"1399338088","filename":"file2"},{"photo_id":"1399338091","filename":"file4"},{"photo_id":"1399338085","filename":"file1"},{"photo_id":"1399338083","filename":"file0"},{"photo_id":"1399338090","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338091":["hashtag1","hashtag2"]},{"1399338088":["hashtag1","hashtag2"]},{"1399338085":["hashtag1","hashtag2"]},{"1399338090":["hashtag1","hashtag2"]},{"1399338096":["hashtag1","hashtag2"]},{"1399338083":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338091, 1399338088, 1399338085, 1399338090, 1399338096, 1399338083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26586675643921 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:27:02.726141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/00/image_14122025_10_00_55_10678.jpg', '/home/pi/Desktop/images/14122025/10/00/image_14122025_10_01_05_9893.jpg', '/home/pi/Desktop/images/14122025/10/01/image_14122025_10_01_15_9762.jpg', '/home/pi/Desktop/images/14122025/10/01/image_14122025_10_01_24_9614.jpg', '/home/pi/Desktop/images/14122025/10/01/image_14122025_10_01_35_10673.jpg', '/home/pi/Desktop/images/14122025/10/01/image_14122025_10_01_44_9284.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/00/image_14122025_10_00_55_10678.jpg
/home/pi/Desktop/images/14122025/10/00/image_14122025_10_01_05_9893.jpg
/home/pi/Desktop/images/14122025/10/01/image_14122025_10_01_15_9762.jpg
/home/pi/Desktop/images/14122025/10/01/image_14122025_10_01_24_9614.jpg
/home/pi/Desktop/images/14122025/10/01/image_14122025_10_01_35_10673.jpg
/home/pi/Desktop/images/14122025/10/01/image_14122025_10_01_44_9284.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338101","1399338097","1399338099","1399338103","1399338102","1399338105"],"photo_ids_order":["1399338097","1399338099","1399338101","1399338102","1399338103","1399338105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9e955a01139365f18c5a899da1ecd7ed.jpg","text":"TemporaryFile(/tmp/multipartBody4205258594022236961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704483405,"filename":"image_14122025_10_01_15_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/648a7e014a3672bc89c167373304b3bd.jpg","text":"TemporaryFile(/tmp/multipartBody6124392096975629648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704483405,"filename":"image_14122025_10_00_55_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f6a408899ece03e81f636e53cf94b7b.jpg","text":"TemporaryFile(/tmp/multipartBody4559301344886075955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704483405,"filename":"image_14122025_10_01_05_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/671a6713dfc75dfa7b53b6185cf9cee0.jpg","text":"TemporaryFile(/tmp/multipartBody3702233062655217866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704483405,"filename":"image_14122025_10_01_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/12/14/7a413eac75583ec040aac8a99eb9d845.jpg","text":"TemporaryFile(/tmp/multipartBody6940705085657798785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704483405,"filename":"image_14122025_10_01_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/12/14/5ba39a0ace14faa50dc7d7596649e4a0.jpg","text":"TemporaryFile(/tmp/multipartBody4340423661609653205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704483405,"filename":"image_14122025_10_01_44_9284.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338101","file1":"1399338099","file0":"1399338097","file4":"1399338103","file5":"1399338105","file3":"1399338102"},"map_files_photo_id_array":[{"photo_id":"1399338105","filename":"file5"},{"photo_id":"1399338101","filename":"file2"},{"photo_id":"1399338103","filename":"file4"},{"photo_id":"1399338099","filename":"file1"},{"photo_id":"1399338097","filename":"file0"},{"photo_id":"1399338102","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338101":["hashtag1","hashtag2"]},{"1399338097":["hashtag1","hashtag2"]},{"1399338099":["hashtag1","hashtag2"]},{"1399338103":["hashtag1","hashtag2"]},{"1399338102":["hashtag1","hashtag2"]},{"1399338105":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338101, 1399338097, 1399338099, 1399338103, 1399338102, 1399338105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44223666191101 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:27:42.045569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_19_1625.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_20_1598.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_22_1507.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_23_1614.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_25_1893.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_27_1526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_19_1625.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_20_1598.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_22_1507.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_23_1614.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_25_1893.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_27_1526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338113","1399338116","1399338110","1399338112","1399338115","1399338114"],"photo_ids_order":["1399338110","1399338112","1399338113","1399338114","1399338115","1399338116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/152748c7807a4e38505b91513724975c.jpg","text":"TemporaryFile(/tmp/multipartBody241208268836357582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704522747,"filename":"image_04112025_12_47_22_1507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fcc46bc386f9e65423341f07d9170e28.jpg","text":"TemporaryFile(/tmp/multipartBody4148569391966528290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704522747,"filename":"image_04112025_12_47_27_1526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6003ea3f9c92fc7bef8bcb6582c01b39.jpg","text":"TemporaryFile(/tmp/multipartBody7777585326769876696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704522747,"filename":"image_04112025_12_47_19_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ade3644f46cf68629902ea2e23300841.jpg","text":"TemporaryFile(/tmp/multipartBody3666472581169625375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704522747,"filename":"image_04112025_12_47_20_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e483c195b402d1c440513c0dd7687a89.jpg","text":"TemporaryFile(/tmp/multipartBody2753690635970818953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704522747,"filename":"image_04112025_12_47_25_1893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/691d04d8ed89cf496139f31026303f6e.jpg","text":"TemporaryFile(/tmp/multipartBody3852387066523376555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704522747,"filename":"image_04112025_12_47_23_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338113","file1":"1399338112","file0":"1399338110","file4":"1399338115","file5":"1399338116","file3":"1399338114"},"map_files_photo_id_array":[{"photo_id":"1399338116","filename":"file5"},{"photo_id":"1399338113","filename":"file2"},{"photo_id":"1399338115","filename":"file4"},{"photo_id":"1399338112","filename":"file1"},{"photo_id":"1399338110","filename":"file0"},{"photo_id":"1399338114","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399338113":["hashtag1","hashtag2"]},{"1399338116":["hashtag1","hashtag2"]},{"1399338110":["hashtag1","hashtag2"]},{"1399338112":["hashtag1","hashtag2"]},{"1399338115":["hashtag1","hashtag2"]},{"1399338114":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399338113, 1399338116, 1399338110, 1399338112, 1399338115, 1399338114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36065983772278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:28:22.296688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/01/image_14122025_10_01_55_10639.jpg', '/home/pi/Desktop/images/14122025/10/01/image_14122025_10_02_05_9720.jpg', '/home/pi/Desktop/images/14122025/10/02/image_14122025_10_02_14_9642.jpg', '/home/pi/Desktop/images/14122025/10/02/image_14122025_10_02_25_10663.jpg', '/home/pi/Desktop/images/14122025/10/02/image_14122025_10_02_35_9706.jpg', '/home/pi/Desktop/images/14122025/10/02/image_14122025_10_02_44_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/01/image_14122025_10_01_55_10639.jpg
/home/pi/Desktop/images/14122025/10/01/image_14122025_10_02_05_9720.jpg
/home/pi/Desktop/images/14122025/10/02/image_14122025_10_02_14_9642.jpg
/home/pi/Desktop/images/14122025/10/02/image_14122025_10_02_25_10663.jpg
/home/pi/Desktop/images/14122025/10/02/image_14122025_10_02_35_9706.jpg
/home/pi/Desktop/images/14122025/10/02/image_14122025_10_02_44_9580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338118","1399338121","1399338129","1399338123","1399338117","1399338126"],"photo_ids_order":["1399338117","1399338118","1399338121","1399338123","1399338126","1399338129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1a5a10eaa6073981f76778c3a598e91d.jpg","text":"TemporaryFile(/tmp/multipartBody4970828086323851506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704562962,"filename":"image_14122025_10_02_05_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d5d0336516341b16e658ed134071f9d1.jpg","text":"TemporaryFile(/tmp/multipartBody7001014739237608717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704562962,"filename":"image_14122025_10_02_14_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e51cfb21c92a0819e3f87e4b483f4ce1.jpg","text":"TemporaryFile(/tmp/multipartBody1659906153888260707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704562962,"filename":"image_14122025_10_02_44_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3ea5c7606d55aab8ec4ff57f31786e23.jpg","text":"TemporaryFile(/tmp/multipartBody6851744001850061301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704562962,"filename":"image_14122025_10_02_25_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d1a0aaf36f8269b88ae0040b1c7ec8cf.jpg","text":"TemporaryFile(/tmp/multipartBody184088442432341630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704562962,"filename":"image_14122025_10_01_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/12/14/5d75eeed51b975aed096514ff178b37b.jpg","text":"TemporaryFile(/tmp/multipartBody9025300723524472888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704562962,"filename":"image_14122025_10_02_35_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338121","file1":"1399338118","file0":"1399338117","file4":"1399338126","file5":"1399338129","file3":"1399338123"},"map_files_photo_id_array":[{"photo_id":"1399338129","filename":"file5"},{"photo_id":"1399338121","filename":"file2"},{"photo_id":"1399338126","filename":"file4"},{"photo_id":"1399338118","filename":"file1"},{"photo_id":"1399338117","filename":"file0"},{"photo_id":"1399338123","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338118":["hashtag1","hashtag2"]},{"1399338121":["hashtag1","hashtag2"]},{"1399338129":["hashtag1","hashtag2"]},{"1399338123":["hashtag1","hashtag2"]},{"1399338117":["hashtag1","hashtag2"]},{"1399338126":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338118, 1399338121, 1399338129, 1399338123, 1399338117, 1399338126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04982113838196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:29:03.738415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/02/image_14122025_10_02_55_10765.jpg', '/home/pi/Desktop/images/14122025/10/02/image_14122025_10_03_05_9779.jpg', '/home/pi/Desktop/images/14122025/10/03/image_14122025_10_03_15_9747.jpg', '/home/pi/Desktop/images/14122025/10/03/image_14122025_10_03_24_9746.jpg', '/home/pi/Desktop/images/14122025/10/03/image_14122025_10_03_35_10767.jpg', '/home/pi/Desktop/images/14122025/10/03/image_14122025_10_03_45_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/02/image_14122025_10_02_55_10765.jpg
/home/pi/Desktop/images/14122025/10/02/image_14122025_10_03_05_9779.jpg
/home/pi/Desktop/images/14122025/10/03/image_14122025_10_03_15_9747.jpg
/home/pi/Desktop/images/14122025/10/03/image_14122025_10_03_24_9746.jpg
/home/pi/Desktop/images/14122025/10/03/image_14122025_10_03_35_10767.jpg
/home/pi/Desktop/images/14122025/10/03/image_14122025_10_03_45_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338143","1399338134","1399338137","1399338136","1399338139","1399338141"],"photo_ids_order":["1399338134","1399338136","1399338137","1399338139","1399338141","1399338143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe01ecf4c946c7d45b5ed50673dad3ba.jpg","text":"TemporaryFile(/tmp/multipartBody996852670168510204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704605287,"filename":"image_14122025_10_03_45_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db1a8def1118ba30cb2b0bae555da9b6.jpg","text":"TemporaryFile(/tmp/multipartBody6741818079152304574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704605287,"filename":"image_14122025_10_02_55_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4733a7c6a71fd64dd9441ba45713659e.jpg","text":"TemporaryFile(/tmp/multipartBody4431313968944662161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704605287,"filename":"image_14122025_10_03_15_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/40bdcf7236a86178e0fdae80055ed0fb.jpg","text":"TemporaryFile(/tmp/multipartBody5596510339479836506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704605287,"filename":"image_14122025_10_03_05_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eb0ae9f37d36a62513feeb5fd8c3dd88.jpg","text":"TemporaryFile(/tmp/multipartBody2869095779288707442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704605287,"filename":"image_14122025_10_03_24_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8e68123db918ba6c95a712df13a1ebc4.jpg","text":"TemporaryFile(/tmp/multipartBody2312281593600564625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704605287,"filename":"image_14122025_10_03_35_10767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338137","file1":"1399338136","file0":"1399338134","file4":"1399338141","file5":"1399338143","file3":"1399338139"},"map_files_photo_id_array":[{"photo_id":"1399338143","filename":"file5"},{"photo_id":"1399338137","filename":"file2"},{"photo_id":"1399338141","filename":"file4"},{"photo_id":"1399338136","filename":"file1"},{"photo_id":"1399338134","filename":"file0"},{"photo_id":"1399338139","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338143":["hashtag1","hashtag2"]},{"1399338134":["hashtag1","hashtag2"]},{"1399338137":["hashtag1","hashtag2"]},{"1399338136":["hashtag1","hashtag2"]},{"1399338139":["hashtag1","hashtag2"]},{"1399338141":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338143, 1399338134, 1399338137, 1399338136, 1399338139, 1399338141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83488488197327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:29:42.610196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_28_1598.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_30_1557.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_31_1643.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_33_1644.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_35_1521.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_36_1632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_28_1598.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_30_1557.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_31_1643.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_33_1644.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_35_1521.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_36_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":["1399338158","1399338149","1399338160","1399338162","1399338159","1399338161"],"photo_ids_order":["1399338149","1399338158","1399338159","1399338160","1399338161","1399338162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d09b03c62e88f8fe7132a3e2a7793ebb.jpg","text":"TemporaryFile(/tmp/multipartBody3378924750287912977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704643322,"filename":"image_04112025_12_47_30_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69d245665ee34b3e47a1bf076ae00253.jpg","text":"TemporaryFile(/tmp/multipartBody7883153504247401817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704643322,"filename":"image_04112025_12_47_28_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54868fabb9b64d760fba2cb522d789ac.jpg","text":"TemporaryFile(/tmp/multipartBody5324699234729577613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704643322,"filename":"image_04112025_12_47_33_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/791531e7af3e95925bc2573801471cd9.jpg","text":"TemporaryFile(/tmp/multipartBody4483060586991098995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704643322,"filename":"image_04112025_12_47_36_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/00d68e1a4db98f7a338a2312cc51cd3a.jpg","text":"TemporaryFile(/tmp/multipartBody352032036852325741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704643322,"filename":"image_04112025_12_47_31_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ebfc1592b30f6927fce07653ccfd4b99.jpg","text":"TemporaryFile(/tmp/multipartBody5934770776497277656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704643322,"filename":"image_04112025_12_47_35_1521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338159","file1":"1399338158","file0":"1399338149","file4":"1399338161","file5":"1399338162","file3":"1399338160"},"map_files_photo_id_array":[{"photo_id":"1399338162","filename":"file5"},{"photo_id":"1399338159","filename":"file2"},{"photo_id":"1399338161","filename":"file4"},{"photo_id":"1399338158","filename":"file1"},{"photo_id":"1399338149","filename":"file0"},{"photo_id":"1399338160","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399338158":["hashtag1","hashtag2"]},{"1399338149":["hashtag1","hashtag2"]},{"1399338160":["hashtag1","hashtag2"]},{"1399338162":["hashtag1","hashtag2"]},{"1399338159":["hashtag1","hashtag2"]},{"1399338161":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399338158, 1399338149, 1399338160, 1399338162, 1399338159, 1399338161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.870885372161865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:30:21.882757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/03/image_14122025_10_03_55_9840.jpg', '/home/pi/Desktop/images/14122025/10/03/image_14122025_10_04_04_9714.jpg', '/home/pi/Desktop/images/14122025/10/04/image_14122025_10_04_15_10664.jpg', '/home/pi/Desktop/images/14122025/10/04/image_14122025_10_04_25_9706.jpg', '/home/pi/Desktop/images/14122025/10/04/image_14122025_10_04_34_9612.jpg', '/home/pi/Desktop/images/14122025/10/04/image_14122025_10_04_45_10714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/03/image_14122025_10_03_55_9840.jpg
/home/pi/Desktop/images/14122025/10/03/image_14122025_10_04_04_9714.jpg
/home/pi/Desktop/images/14122025/10/04/image_14122025_10_04_15_10664.jpg
/home/pi/Desktop/images/14122025/10/04/image_14122025_10_04_25_9706.jpg
/home/pi/Desktop/images/14122025/10/04/image_14122025_10_04_34_9612.jpg
/home/pi/Desktop/images/14122025/10/04/image_14122025_10_04_45_10714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338173","1399338167","1399338169","1399338163","1399338171","1399338165"],"photo_ids_order":["1399338163","1399338165","1399338167","1399338169","1399338171","1399338173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/238f6d3ece94319e1dfc6f735f648136.jpg","text":"TemporaryFile(/tmp/multipartBody7601704001139393584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704682498,"filename":"image_14122025_10_04_45_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/40207cd058aa4b50e43477775d23ce83.jpg","text":"TemporaryFile(/tmp/multipartBody1676860961494732386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704682498,"filename":"image_14122025_10_04_15_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/becc4176bae0695259babcdb0848da8c.jpg","text":"TemporaryFile(/tmp/multipartBody7962751366962807950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704682498,"filename":"image_14122025_10_04_25_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e729d60f0c38abbcfdd86178e74c74e8.jpg","text":"TemporaryFile(/tmp/multipartBody4154368587518995903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704682498,"filename":"image_14122025_10_03_55_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/25a76880f319f16040e74892d5dffd4d.jpg","text":"TemporaryFile(/tmp/multipartBody8936367503640746448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704682498,"filename":"image_14122025_10_04_34_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b19685e69eb39e893d2a38b14af5e203.jpg","text":"TemporaryFile(/tmp/multipartBody2382529791626761382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704682498,"filename":"image_14122025_10_04_04_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338167","file1":"1399338165","file0":"1399338163","file4":"1399338171","file5":"1399338173","file3":"1399338169"},"map_files_photo_id_array":[{"photo_id":"1399338173","filename":"file5"},{"photo_id":"1399338167","filename":"file2"},{"photo_id":"1399338171","filename":"file4"},{"photo_id":"1399338165","filename":"file1"},{"photo_id":"1399338163","filename":"file0"},{"photo_id":"1399338169","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338173":["hashtag1","hashtag2"]},{"1399338167":["hashtag1","hashtag2"]},{"1399338169":["hashtag1","hashtag2"]},{"1399338163":["hashtag1","hashtag2"]},{"1399338171":["hashtag1","hashtag2"]},{"1399338165":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338173, 1399338167, 1399338169, 1399338163, 1399338171, 1399338165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.634912967681885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:31:02.853549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/04/image_14122025_10_04_55_9622.jpg', '/home/pi/Desktop/images/14122025/10/05/image_14122025_10_05_14_10061.jpg', '/home/pi/Desktop/images/14122025/10/05/image_14122025_10_05_25_10699.jpg', '/home/pi/Desktop/images/14122025/10/05/image_14122025_10_05_34_9554.jpg', '/home/pi/Desktop/images/14122025/10/05/image_14122025_10_05_44_9840.jpg', '/home/pi/Desktop/images/14122025/10/05/image_14122025_10_05_55_10826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/04/image_14122025_10_04_55_9622.jpg
/home/pi/Desktop/images/14122025/10/05/image_14122025_10_05_14_10061.jpg
/home/pi/Desktop/images/14122025/10/05/image_14122025_10_05_25_10699.jpg
/home/pi/Desktop/images/14122025/10/05/image_14122025_10_05_34_9554.jpg
/home/pi/Desktop/images/14122025/10/05/image_14122025_10_05_44_9840.jpg
/home/pi/Desktop/images/14122025/10/05/image_14122025_10_05_55_10826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338179","1399338175","1399338178","1399338180","1399338177","1399338182"],"photo_ids_order":["1399338175","1399338177","1399338178","1399338179","1399338180","1399338182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aaaf1f02ad7eadfcf5b468749e62ec3c.jpg","text":"TemporaryFile(/tmp/multipartBody1649515022276856910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704723579,"filename":"image_14122025_10_05_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/12/14/8e552557e5856e007408d3f8d523af33.jpg","text":"TemporaryFile(/tmp/multipartBody8765208233685876595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704723579,"filename":"image_14122025_10_04_55_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7fea773f6d680393cbeee77ebd2cbbd0.jpg","text":"TemporaryFile(/tmp/multipartBody4420036556769485656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704723579,"filename":"image_14122025_10_05_25_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7fb251f397547fabde5a5eb02ad05609.jpg","text":"TemporaryFile(/tmp/multipartBody4163193971915560152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704723579,"filename":"image_14122025_10_05_44_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ae76f72f9358b80a60d22c5c839dca8.jpg","text":"TemporaryFile(/tmp/multipartBody857156813879827720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704723579,"filename":"image_14122025_10_05_14_10061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a201c52adf5d8b8767e21b59dd71048.jpg","text":"TemporaryFile(/tmp/multipartBody4728391386199260648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704723579,"filename":"image_14122025_10_05_55_10826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338178","file1":"1399338177","file0":"1399338175","file4":"1399338180","file5":"1399338182","file3":"1399338179"},"map_files_photo_id_array":[{"photo_id":"1399338182","filename":"file5"},{"photo_id":"1399338178","filename":"file2"},{"photo_id":"1399338180","filename":"file4"},{"photo_id":"1399338177","filename":"file1"},{"photo_id":"1399338175","filename":"file0"},{"photo_id":"1399338179","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338179":["hashtag1","hashtag2"]},{"1399338175":["hashtag1","hashtag2"]},{"1399338178":["hashtag1","hashtag2"]},{"1399338180":["hashtag1","hashtag2"]},{"1399338177":["hashtag1","hashtag2"]},{"1399338182":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338179, 1399338175, 1399338178, 1399338180, 1399338177, 1399338182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.890610456466675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:31:42.136671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_38_1543.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_49_11039.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_50_1660.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_55_4453.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_57_1629.jpg', '/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_58_1625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_38_1543.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_49_11039.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_50_1660.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_55_4453.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_57_1629.jpg
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_47_58_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":["1399338190","1399338193","1399338187","1399338192","1399338195","1399338194"],"photo_ids_order":["1399338187","1399338190","1399338192","1399338193","1399338194","1399338195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24b5f092bdfe062efcc262cdf0e7a47d.jpg","text":"TemporaryFile(/tmp/multipartBody8195956882997660374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704762851,"filename":"image_04112025_12_47_49_11039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/26c8a35c71303c671e993cac4860a673.jpg","text":"TemporaryFile(/tmp/multipartBody5520064953340512142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704762851,"filename":"image_04112025_12_47_55_4453.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/59c567f4e893fb51c2c6f215a8e77ade.jpg","text":"TemporaryFile(/tmp/multipartBody4444050352787397956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704762851,"filename":"image_04112025_12_47_38_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2151b860e547487a285ec6540434653f.jpg","text":"TemporaryFile(/tmp/multipartBody2887148559394176952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704762851,"filename":"image_04112025_12_47_50_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bdc0f34b9bf2304432d2f0fefdc33119.jpg","text":"TemporaryFile(/tmp/multipartBody2824423016814573506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704762851,"filename":"image_04112025_12_47_58_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6cff54d335d9cf5d5d381812f02bbf76.jpg","text":"TemporaryFile(/tmp/multipartBody6212308677480206975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704762851,"filename":"image_04112025_12_47_57_1629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338192","file1":"1399338190","file0":"1399338187","file4":"1399338194","file5":"1399338195","file3":"1399338193"},"map_files_photo_id_array":[{"photo_id":"1399338195","filename":"file5"},{"photo_id":"1399338192","filename":"file2"},{"photo_id":"1399338194","filename":"file4"},{"photo_id":"1399338190","filename":"file1"},{"photo_id":"1399338187","filename":"file0"},{"photo_id":"1399338193","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399338190":["hashtag1","hashtag2"]},{"1399338193":["hashtag1","hashtag2"]},{"1399338187":["hashtag1","hashtag2"]},{"1399338192":["hashtag1","hashtag2"]},{"1399338195":["hashtag1","hashtag2"]},{"1399338194":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399338190, 1399338193, 1399338187, 1399338192, 1399338195, 1399338194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98571538925171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:32:22.484406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/05/image_14122025_10_06_05_9780.jpg', '/home/pi/Desktop/images/14122025/10/06/image_14122025_10_06_14_9647.jpg', '/home/pi/Desktop/images/14122025/10/06/image_14122025_10_06_24_9778.jpg', '/home/pi/Desktop/images/14122025/10/06/image_14122025_10_06_35_10656.jpg', '/home/pi/Desktop/images/14122025/10/06/image_14122025_10_06_44_9679.jpg', '/home/pi/Desktop/images/14122025/10/06/image_14122025_10_06_54_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/05/image_14122025_10_06_05_9780.jpg
/home/pi/Desktop/images/14122025/10/06/image_14122025_10_06_14_9647.jpg
/home/pi/Desktop/images/14122025/10/06/image_14122025_10_06_24_9778.jpg
/home/pi/Desktop/images/14122025/10/06/image_14122025_10_06_35_10656.jpg
/home/pi/Desktop/images/14122025/10/06/image_14122025_10_06_44_9679.jpg
/home/pi/Desktop/images/14122025/10/06/image_14122025_10_06_54_9761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338199","1399338203","1399338205","1399338201","1399338213","1399338197"],"photo_ids_order":["1399338197","1399338199","1399338201","1399338203","1399338205","1399338213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ed579178c396248e414c59ed35c721f.jpg","text":"TemporaryFile(/tmp/multipartBody8163965946023857442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704803127,"filename":"image_14122025_10_06_14_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dec1336f14aa7ad4c7310ba2d2799f91.jpg","text":"TemporaryFile(/tmp/multipartBody1180214677040145611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704803127,"filename":"image_14122025_10_06_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f25ce8e8428ac35a9a453dc9aee57e85.jpg","text":"TemporaryFile(/tmp/multipartBody7851170804484062600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704803127,"filename":"image_14122025_10_06_44_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/201b9a6cbfa40750f548aed2941330c2.jpg","text":"TemporaryFile(/tmp/multipartBody4118987825572093818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704803127,"filename":"image_14122025_10_06_24_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/57805a0b9321a521ab5d86addb632d22.jpg","text":"TemporaryFile(/tmp/multipartBody2668315218201448663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704803127,"filename":"image_14122025_10_06_54_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eaccbf420bac14c400729870978f5ece.jpg","text":"TemporaryFile(/tmp/multipartBody7954552062245734654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704803127,"filename":"image_14122025_10_06_05_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338201","file1":"1399338199","file0":"1399338197","file4":"1399338205","file5":"1399338213","file3":"1399338203"},"map_files_photo_id_array":[{"photo_id":"1399338213","filename":"file5"},{"photo_id":"1399338201","filename":"file2"},{"photo_id":"1399338205","filename":"file4"},{"photo_id":"1399338199","filename":"file1"},{"photo_id":"1399338197","filename":"file0"},{"photo_id":"1399338203","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338199":["hashtag1","hashtag2"]},{"1399338203":["hashtag1","hashtag2"]},{"1399338205":["hashtag1","hashtag2"]},{"1399338201":["hashtag1","hashtag2"]},{"1399338213":["hashtag1","hashtag2"]},{"1399338197":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338199, 1399338203, 1399338205, 1399338201, 1399338213, 1399338197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.770813941955566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:33:03.367252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/06/image_14122025_10_07_04_9772.jpg', '/home/pi/Desktop/images/14122025/10/07/image_14122025_10_07_15_10685.jpg', '/home/pi/Desktop/images/14122025/10/07/image_14122025_10_07_24_9728.jpg', '/home/pi/Desktop/images/14122025/10/07/image_14122025_10_07_34_9680.jpg', '/home/pi/Desktop/images/14122025/10/07/image_14122025_10_07_45_10793.jpg', '/home/pi/Desktop/images/14122025/10/07/image_14122025_10_07_55_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/06/image_14122025_10_07_04_9772.jpg
/home/pi/Desktop/images/14122025/10/07/image_14122025_10_07_15_10685.jpg
/home/pi/Desktop/images/14122025/10/07/image_14122025_10_07_24_9728.jpg
/home/pi/Desktop/images/14122025/10/07/image_14122025_10_07_34_9680.jpg
/home/pi/Desktop/images/14122025/10/07/image_14122025_10_07_45_10793.jpg
/home/pi/Desktop/images/14122025/10/07/image_14122025_10_07_55_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":["1399338221","1399338215","1399338218","1399338217","1399338214","1399338216"],"photo_ids_order":["1399338214","1399338215","1399338216","1399338217","1399338218","1399338221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8fd2d54297531f5d0ed31572462a5506.jpg","text":"TemporaryFile(/tmp/multipartBody5677280803862089665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704844111,"filename":"image_14122025_10_07_55_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/04e98c2f42a75bd9a9c38085ebf98ca1.jpg","text":"TemporaryFile(/tmp/multipartBody6696114506099526950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704844111,"filename":"image_14122025_10_07_15_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e353b6c019cfd167862cb6e020e4537.jpg","text":"TemporaryFile(/tmp/multipartBody8882026670449836449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704844111,"filename":"image_14122025_10_07_45_10793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eecc7ab6cc083b26a207a1dfdb232c14.jpg","text":"TemporaryFile(/tmp/multipartBody3261471292680205151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704844111,"filename":"image_14122025_10_07_34_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eec27a3b747645cb65d66caaa39e2b18.jpg","text":"TemporaryFile(/tmp/multipartBody3621541925446588075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704844111,"filename":"image_14122025_10_07_04_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc5e6cb0bcfa6844b4259f015989ce8e.jpg","text":"TemporaryFile(/tmp/multipartBody455184392947979398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704844111,"filename":"image_14122025_10_07_24_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338216","file1":"1399338215","file0":"1399338214","file4":"1399338218","file5":"1399338221","file3":"1399338217"},"map_files_photo_id_array":[{"photo_id":"1399338221","filename":"file5"},{"photo_id":"1399338216","filename":"file2"},{"photo_id":"1399338218","filename":"file4"},{"photo_id":"1399338215","filename":"file1"},{"photo_id":"1399338214","filename":"file0"},{"photo_id":"1399338217","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338221":["hashtag1","hashtag2"]},{"1399338215":["hashtag1","hashtag2"]},{"1399338218":["hashtag1","hashtag2"]},{"1399338217":["hashtag1","hashtag2"]},{"1399338214":["hashtag1","hashtag2"]},{"1399338216":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338221, 1399338215, 1399338218, 1399338217, 1399338214, 1399338216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.280518531799316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:33:42.718479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/47/image_04112025_12_48_00_1576.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_01_1598.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_10_8698.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_15_4655.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_16_1625.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_18_1688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/47/image_04112025_12_48_00_1576.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_01_1598.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_10_8698.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_15_4655.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_16_1625.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_18_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":["1399338230","1399338233","1399338232","1399338226","1399338229","1399338231"],"photo_ids_order":["1399338226","1399338229","1399338230","1399338231","1399338232","1399338233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d64d5b72a709688f7631752aa40aaee4.jpg","text":"TemporaryFile(/tmp/multipartBody3294172701949969853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704883409,"filename":"image_04112025_12_48_10_8698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2029e9140343a3f2c8f69474fa02ba3.jpg","text":"TemporaryFile(/tmp/multipartBody5532787639717160208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704883409,"filename":"image_04112025_12_48_18_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db019d75ffba4ba5697321d3c39ad432.jpg","text":"TemporaryFile(/tmp/multipartBody6000924848638396915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704883409,"filename":"image_04112025_12_48_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/12/14/9cf69c2cafcb244e3288bd02166e501e.jpg","text":"TemporaryFile(/tmp/multipartBody7143460556064441533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704883409,"filename":"image_04112025_12_48_00_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/46ffc7550e4bb364b4a506ac905732b7.jpg","text":"TemporaryFile(/tmp/multipartBody1055294735501791964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704883409,"filename":"image_04112025_12_48_01_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0710e1c3590679b55a865877383978e0.jpg","text":"TemporaryFile(/tmp/multipartBody8970160722945007230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704883409,"filename":"image_04112025_12_48_15_4655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338230","file1":"1399338229","file0":"1399338226","file4":"1399338232","file5":"1399338233","file3":"1399338231"},"map_files_photo_id_array":[{"photo_id":"1399338233","filename":"file5"},{"photo_id":"1399338230","filename":"file2"},{"photo_id":"1399338232","filename":"file4"},{"photo_id":"1399338229","filename":"file1"},{"photo_id":"1399338226","filename":"file0"},{"photo_id":"1399338231","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399338230":["hashtag1","hashtag2"]},{"1399338233":["hashtag1","hashtag2"]},{"1399338232":["hashtag1","hashtag2"]},{"1399338226":["hashtag1","hashtag2"]},{"1399338229":["hashtag1","hashtag2"]},{"1399338231":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399338230, 1399338233, 1399338232, 1399338226, 1399338229, 1399338231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.817622900009155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:34:21.955443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/07/image_14122025_10_08_04_9468.jpg', '/home/pi/Desktop/images/14122025/10/08/image_14122025_10_08_15_10703.jpg', '/home/pi/Desktop/images/14122025/10/08/image_14122025_10_08_24_9708.jpg', '/home/pi/Desktop/images/14122025/10/08/image_14122025_10_08_34_9596.jpg', '/home/pi/Desktop/images/14122025/10/08/image_14122025_10_08_45_10623.jpg', '/home/pi/Desktop/images/14122025/10/08/image_14122025_10_08_54_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/07/image_14122025_10_08_04_9468.jpg
/home/pi/Desktop/images/14122025/10/08/image_14122025_10_08_15_10703.jpg
/home/pi/Desktop/images/14122025/10/08/image_14122025_10_08_24_9708.jpg
/home/pi/Desktop/images/14122025/10/08/image_14122025_10_08_34_9596.jpg
/home/pi/Desktop/images/14122025/10/08/image_14122025_10_08_45_10623.jpg
/home/pi/Desktop/images/14122025/10/08/image_14122025_10_08_54_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":["1399338245","1399338239","1399338236","1399338241","1399338238","1399338234"],"photo_ids_order":["1399338234","1399338236","1399338238","1399338239","1399338241","1399338245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/748d698e1496d4c55b5cac03301c356e.jpg","text":"TemporaryFile(/tmp/multipartBody5281396449318576322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704922584,"filename":"image_14122025_10_08_54_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b3ef0b34ae83ba942d14a3f89a5132b.jpg","text":"TemporaryFile(/tmp/multipartBody6189030194564344364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704922584,"filename":"image_14122025_10_08_34_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d5d0388be457ffa5a821e20911e0f09f.jpg","text":"TemporaryFile(/tmp/multipartBody5633065452181276736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704922584,"filename":"image_14122025_10_08_15_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e535774fd0cb4e5b3ceb9650715aad67.jpg","text":"TemporaryFile(/tmp/multipartBody2902711151937547043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704922584,"filename":"image_14122025_10_08_45_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8364ae05d4fdcd6336f040bd271d84e8.jpg","text":"TemporaryFile(/tmp/multipartBody2147464740380280378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704922584,"filename":"image_14122025_10_08_24_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69e5dac74ee2cb3d9cc7f37b9d65543c.jpg","text":"TemporaryFile(/tmp/multipartBody4267415668687446937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704922584,"filename":"image_14122025_10_08_04_9468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338238","file1":"1399338236","file0":"1399338234","file4":"1399338241","file5":"1399338245","file3":"1399338239"},"map_files_photo_id_array":[{"photo_id":"1399338245","filename":"file5"},{"photo_id":"1399338238","filename":"file2"},{"photo_id":"1399338241","filename":"file4"},{"photo_id":"1399338236","filename":"file1"},{"photo_id":"1399338234","filename":"file0"},{"photo_id":"1399338239","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338245":["hashtag1","hashtag2"]},{"1399338239":["hashtag1","hashtag2"]},{"1399338236":["hashtag1","hashtag2"]},{"1399338241":["hashtag1","hashtag2"]},{"1399338238":["hashtag1","hashtag2"]},{"1399338234":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338245, 1399338239, 1399338236, 1399338241, 1399338238, 1399338234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43883299827576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:35:02.938579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/08/image_14122025_10_09_04_9622.jpg', '/home/pi/Desktop/images/14122025/10/09/image_14122025_10_09_14_10350.jpg', '/home/pi/Desktop/images/14122025/10/09/image_14122025_10_09_24_9509.jpg', '/home/pi/Desktop/images/14122025/10/09/image_14122025_10_09_35_10707.jpg', '/home/pi/Desktop/images/14122025/10/09/image_14122025_10_09_44_9706.jpg', '/home/pi/Desktop/images/14122025/10/09/image_14122025_10_09_54_9891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/08/image_14122025_10_09_04_9622.jpg
/home/pi/Desktop/images/14122025/10/09/image_14122025_10_09_14_10350.jpg
/home/pi/Desktop/images/14122025/10/09/image_14122025_10_09_24_9509.jpg
/home/pi/Desktop/images/14122025/10/09/image_14122025_10_09_35_10707.jpg
/home/pi/Desktop/images/14122025/10/09/image_14122025_10_09_44_9706.jpg
/home/pi/Desktop/images/14122025/10/09/image_14122025_10_09_54_9891.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338257","1399338251","1399338254","1399338256","1399338258","1399338260"],"photo_ids_order":["1399338251","1399338254","1399338256","1399338257","1399338258","1399338260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b4e7750a3e9dd6a3f71d0d96b5a95aef.jpg","text":"TemporaryFile(/tmp/multipartBody7600429176288109990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704963704,"filename":"image_14122025_10_09_35_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4bdc0f71a54be585c927e8f85c831517.jpg","text":"TemporaryFile(/tmp/multipartBody3272504701026882360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704963704,"filename":"image_14122025_10_09_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/12/14/fcdb3da5b29877a1662678fe804cf32c.jpg","text":"TemporaryFile(/tmp/multipartBody1124214494652815448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704963704,"filename":"image_14122025_10_09_14_10350.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7b5023a6b120ce36d9b4c671547f8d8e.jpg","text":"TemporaryFile(/tmp/multipartBody5273056674146723482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704963704,"filename":"image_14122025_10_09_24_9509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe3b91e9d6b139d6054aad9336e50e89.jpg","text":"TemporaryFile(/tmp/multipartBody969312168512524038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704963704,"filename":"image_14122025_10_09_44_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a45a1514fedc9a5c20fee2ea2b97092b.jpg","text":"TemporaryFile(/tmp/multipartBody601194836030156905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765704963704,"filename":"image_14122025_10_09_54_9891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338256","file1":"1399338254","file0":"1399338251","file4":"1399338258","file5":"1399338260","file3":"1399338257"},"map_files_photo_id_array":[{"photo_id":"1399338260","filename":"file5"},{"photo_id":"1399338256","filename":"file2"},{"photo_id":"1399338258","filename":"file4"},{"photo_id":"1399338254","filename":"file1"},{"photo_id":"1399338251","filename":"file0"},{"photo_id":"1399338257","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338257":["hashtag1","hashtag2"]},{"1399338251":["hashtag1","hashtag2"]},{"1399338254":["hashtag1","hashtag2"]},{"1399338256":["hashtag1","hashtag2"]},{"1399338258":["hashtag1","hashtag2"]},{"1399338260":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338257, 1399338251, 1399338254, 1399338256, 1399338258, 1399338260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.591806173324585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:35:42.181836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_20_1530.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_21_1823.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_23_1555.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_25_1707.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_26_1582.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_28_1648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_20_1530.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_21_1823.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_23_1555.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_25_1707.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_26_1582.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_28_1648.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5897793769836426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:36:02.815490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/10/image_14122025_10_10_14_10049.jpg', '/home/pi/Desktop/images/14122025/10/10/image_14122025_10_10_25_10836.jpg', '/home/pi/Desktop/images/14122025/10/10/image_14122025_10_10_34_9116.jpg', '/home/pi/Desktop/images/14122025/10/10/image_14122025_10_10_44_10303.jpg', '/home/pi/Desktop/images/14122025/10/10/image_14122025_10_10_54_9811.jpg', '/home/pi/Desktop/images/14122025/10/10/image_14122025_10_11_04_10171.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/10/image_14122025_10_10_14_10049.jpg
/home/pi/Desktop/images/14122025/10/10/image_14122025_10_10_25_10836.jpg
/home/pi/Desktop/images/14122025/10/10/image_14122025_10_10_34_9116.jpg
/home/pi/Desktop/images/14122025/10/10/image_14122025_10_10_44_10303.jpg
/home/pi/Desktop/images/14122025/10/10/image_14122025_10_10_54_9811.jpg
/home/pi/Desktop/images/14122025/10/10/image_14122025_10_11_04_10171.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338278","1399338280","1399338277","1399338282","1399338279","1399338275"],"photo_ids_order":["1399338275","1399338277","1399338278","1399338279","1399338280","1399338282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/58bbfa255a7f63d5c5f6ec823cb75945.jpg","text":"TemporaryFile(/tmp/multipartBody3253480029210382471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705023478,"filename":"image_14122025_10_10_34_9116.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/80e70986c8b78bcb4e4908813da2f2f7.jpg","text":"TemporaryFile(/tmp/multipartBody8979317638909688517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705023478,"filename":"image_14122025_10_10_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/12/14/f4ac5135b7fc85a3ef069929ad703e54.jpg","text":"TemporaryFile(/tmp/multipartBody8999028669917917532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705023478,"filename":"image_14122025_10_10_25_10836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d6c68b18edb809ecdb52dd4517f57ed4.jpg","text":"TemporaryFile(/tmp/multipartBody335949798752366265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705023478,"filename":"image_14122025_10_11_04_10171.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/726173c1de6e7c3781a3b0f7962cea78.jpg","text":"TemporaryFile(/tmp/multipartBody2898468444687274824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705023478,"filename":"image_14122025_10_10_44_10303.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a24d9dfe0ac70757aaf05c05c799405e.jpg","text":"TemporaryFile(/tmp/multipartBody8467848928348158769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705023478,"filename":"image_14122025_10_10_14_10049.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338278","file1":"1399338277","file0":"1399338275","file4":"1399338280","file5":"1399338282","file3":"1399338279"},"map_files_photo_id_array":[{"photo_id":"1399338282","filename":"file5"},{"photo_id":"1399338278","filename":"file2"},{"photo_id":"1399338280","filename":"file4"},{"photo_id":"1399338277","filename":"file1"},{"photo_id":"1399338275","filename":"file0"},{"photo_id":"1399338279","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338278":["hashtag1","hashtag2"]},{"1399338280":["hashtag1","hashtag2"]},{"1399338277":["hashtag1","hashtag2"]},{"1399338282":["hashtag1","hashtag2"]},{"1399338279":["hashtag1","hashtag2"]},{"1399338275":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338278, 1399338280, 1399338277, 1399338282, 1399338279, 1399338275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.828439235687256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:36:42.458028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_20_1530.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_21_1823.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_23_1555.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_25_1707.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_26_1582.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_28_1648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_20_1530.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_21_1823.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_23_1555.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_25_1707.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_26_1582.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_28_1648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338290","1399338289","1399338291","1399338288","1399338293","1399338287"],"photo_ids_order":["1399338287","1399338288","1399338289","1399338290","1399338291","1399338293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb329ad11fb33606a615bbe01b37fa18.jpg","text":"TemporaryFile(/tmp/multipartBody4530153610156380965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705063076,"filename":"image_04112025_12_48_25_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14e19180189bb9c0bfe5b33fd98c8a9e.jpg","text":"TemporaryFile(/tmp/multipartBody3050909537580428984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705063076,"filename":"image_04112025_12_48_23_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7db400d086e5a5864ede145f3fe99c42.jpg","text":"TemporaryFile(/tmp/multipartBody484149994068855813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705063076,"filename":"image_04112025_12_48_26_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/df67fc4a826bc591a9471e670b66b5a5.jpg","text":"TemporaryFile(/tmp/multipartBody3270243739896768060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705063076,"filename":"image_04112025_12_48_21_1823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c86f94179f67e765f7dfd66177a6c02d.jpg","text":"TemporaryFile(/tmp/multipartBody8449511430777361357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705063076,"filename":"image_04112025_12_48_28_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/80de94401893a94d3b1d9f02707a6a5e.jpg","text":"TemporaryFile(/tmp/multipartBody2386257810495412197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705063076,"filename":"image_04112025_12_48_20_1530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338289","file1":"1399338288","file0":"1399338287","file4":"1399338291","file5":"1399338293","file3":"1399338290"},"map_files_photo_id_array":[{"photo_id":"1399338293","filename":"file5"},{"photo_id":"1399338289","filename":"file2"},{"photo_id":"1399338291","filename":"file4"},{"photo_id":"1399338288","filename":"file1"},{"photo_id":"1399338287","filename":"file0"},{"photo_id":"1399338290","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399338290":["hashtag1","hashtag2"]},{"1399338289":["hashtag1","hashtag2"]},{"1399338291":["hashtag1","hashtag2"]},{"1399338288":["hashtag1","hashtag2"]},{"1399338293":["hashtag1","hashtag2"]},{"1399338287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399338290, 1399338289, 1399338291, 1399338288, 1399338293, 1399338287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11503624916077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:37:22.807246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/11/image_14122025_10_11_14_9799.jpg', '/home/pi/Desktop/images/14122025/10/11/image_14122025_10_11_25_10655.jpg', '/home/pi/Desktop/images/14122025/10/11/image_14122025_10_11_34_9572.jpg', '/home/pi/Desktop/images/14122025/10/11/image_14122025_10_11_44_9699.jpg', '/home/pi/Desktop/images/14122025/10/11/image_14122025_10_11_54_10381.jpg', '/home/pi/Desktop/images/14122025/10/11/image_14122025_10_12_04_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/11/image_14122025_10_11_14_9799.jpg
/home/pi/Desktop/images/14122025/10/11/image_14122025_10_11_25_10655.jpg
/home/pi/Desktop/images/14122025/10/11/image_14122025_10_11_34_9572.jpg
/home/pi/Desktop/images/14122025/10/11/image_14122025_10_11_44_9699.jpg
/home/pi/Desktop/images/14122025/10/11/image_14122025_10_11_54_10381.jpg
/home/pi/Desktop/images/14122025/10/11/image_14122025_10_12_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":["1399338299","1399338302","1399338295","1399338304","1399338297","1399338301"],"photo_ids_order":["1399338295","1399338297","1399338299","1399338301","1399338302","1399338304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f216276d6d04f669f2f6c3af6955214.jpg","text":"TemporaryFile(/tmp/multipartBody4154118023914627990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705103468,"filename":"image_14122025_10_11_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/12/14/ffeb6e288138d3bf9ef63820620feb3a.jpg","text":"TemporaryFile(/tmp/multipartBody5155798909164190332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705103468,"filename":"image_14122025_10_11_54_10381.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/afa2b947559ac639b5ee20aa0298863a.jpg","text":"TemporaryFile(/tmp/multipartBody8522948837518962885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705103468,"filename":"image_14122025_10_11_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/12/14/fac927e59fd0d78881254bb89f0b5da1.jpg","text":"TemporaryFile(/tmp/multipartBody3742137268079040201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705103468,"filename":"image_14122025_10_12_04_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2db7c43f7cccf255803a951f2105fc71.jpg","text":"TemporaryFile(/tmp/multipartBody4869291706035714634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705103468,"filename":"image_14122025_10_11_25_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d6b3d897e4703278b1bcb52be78b4de2.jpg","text":"TemporaryFile(/tmp/multipartBody9161635374835029395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705103468,"filename":"image_14122025_10_11_44_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338299","file1":"1399338297","file0":"1399338295","file4":"1399338302","file5":"1399338304","file3":"1399338301"},"map_files_photo_id_array":[{"photo_id":"1399338304","filename":"file5"},{"photo_id":"1399338299","filename":"file2"},{"photo_id":"1399338302","filename":"file4"},{"photo_id":"1399338297","filename":"file1"},{"photo_id":"1399338295","filename":"file0"},{"photo_id":"1399338301","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338299":["hashtag1","hashtag2"]},{"1399338302":["hashtag1","hashtag2"]},{"1399338295":["hashtag1","hashtag2"]},{"1399338304":["hashtag1","hashtag2"]},{"1399338297":["hashtag1","hashtag2"]},{"1399338301":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338299, 1399338302, 1399338295, 1399338304, 1399338297, 1399338301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09936785697937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:38:02.278944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/12/image_14122025_10_12_25_9696.jpg', '/home/pi/Desktop/images/14122025/10/12/image_14122025_10_12_34_9700.jpg', '/home/pi/Desktop/images/14122025/10/12/image_14122025_10_12_44_9666.jpg', '/home/pi/Desktop/images/14122025/10/12/image_14122025_10_12_55_10839.jpg', '/home/pi/Desktop/images/14122025/10/12/image_14122025_10_13_05_9600.jpg', '/home/pi/Desktop/images/14122025/10/13/image_14122025_10_13_14_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/12/image_14122025_10_12_25_9696.jpg
/home/pi/Desktop/images/14122025/10/12/image_14122025_10_12_34_9700.jpg
/home/pi/Desktop/images/14122025/10/12/image_14122025_10_12_44_9666.jpg
/home/pi/Desktop/images/14122025/10/12/image_14122025_10_12_55_10839.jpg
/home/pi/Desktop/images/14122025/10/12/image_14122025_10_13_05_9600.jpg
/home/pi/Desktop/images/14122025/10/13/image_14122025_10_13_14_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338305","1399338308","1399338310","1399338307","1399338309","1399338306"],"photo_ids_order":["1399338305","1399338306","1399338307","1399338308","1399338309","1399338310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/55f5b88c535241cdfc61656b115a5fda.jpg","text":"TemporaryFile(/tmp/multipartBody2209202379888834954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705142935,"filename":"image_14122025_10_12_25_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/930724f1f570f39a15b9b2680f0fdb2f.jpg","text":"TemporaryFile(/tmp/multipartBody5340604348198482466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705142935,"filename":"image_14122025_10_12_55_10839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a59d56b54895b84d4d62d27a7c5e3262.jpg","text":"TemporaryFile(/tmp/multipartBody1485782575846431683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705142935,"filename":"image_14122025_10_13_14_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c891256cfabece48646e299db7c39fc.jpg","text":"TemporaryFile(/tmp/multipartBody6398273429599928649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705142935,"filename":"image_14122025_10_12_44_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/71a63ad7922602ebe7081986982fdc5b.jpg","text":"TemporaryFile(/tmp/multipartBody5065464655499131121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705142935,"filename":"image_14122025_10_13_05_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/166f35d3458cddff55f459551ffe5730.jpg","text":"TemporaryFile(/tmp/multipartBody1305885212590171237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705142935,"filename":"image_14122025_10_12_34_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338307","file1":"1399338306","file0":"1399338305","file4":"1399338309","file5":"1399338310","file3":"1399338308"},"map_files_photo_id_array":[{"photo_id":"1399338310","filename":"file5"},{"photo_id":"1399338307","filename":"file2"},{"photo_id":"1399338309","filename":"file4"},{"photo_id":"1399338306","filename":"file1"},{"photo_id":"1399338305","filename":"file0"},{"photo_id":"1399338308","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338305":["hashtag1","hashtag2"]},{"1399338308":["hashtag1","hashtag2"]},{"1399338310":["hashtag1","hashtag2"]},{"1399338307":["hashtag1","hashtag2"]},{"1399338309":["hashtag1","hashtag2"]},{"1399338306":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338305, 1399338308, 1399338310, 1399338307, 1399338309, 1399338306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09438943862915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:38:41.858293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_30_1732.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_31_1689.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_33_1663.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_35_1659.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_36_1556.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_38_1632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_30_1732.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_31_1689.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_33_1663.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_35_1659.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_36_1556.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_38_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":["1399338323","1399338320","1399338314","1399338322","1399338316","1399338318"],"photo_ids_order":["1399338314","1399338316","1399338318","1399338320","1399338322","1399338323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/de9dc4be66611bfaf6558a2b6c99bd7c.jpg","text":"TemporaryFile(/tmp/multipartBody5563308791320168075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705182588,"filename":"image_04112025_12_48_38_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f669b36cde87038ce6f14bbad8b8117.jpg","text":"TemporaryFile(/tmp/multipartBody7099604240669418866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705182588,"filename":"image_04112025_12_48_35_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/71f1282c12704a05fab2449ac134666c.jpg","text":"TemporaryFile(/tmp/multipartBody793858054204128103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705182588,"filename":"image_04112025_12_48_30_1732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/86669c2eb570863406c0fd9d05680c64.jpg","text":"TemporaryFile(/tmp/multipartBody6317646413803331235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705182588,"filename":"image_04112025_12_48_36_1556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88337cd53a47c8e52d418a73d5b7ce27.jpg","text":"TemporaryFile(/tmp/multipartBody8526247060024988984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705182588,"filename":"image_04112025_12_48_31_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d610bd1dd94809c1e6753417de35321d.jpg","text":"TemporaryFile(/tmp/multipartBody8413345971461978636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705182588,"filename":"image_04112025_12_48_33_1663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338318","file1":"1399338316","file0":"1399338314","file4":"1399338322","file5":"1399338323","file3":"1399338320"},"map_files_photo_id_array":[{"photo_id":"1399338323","filename":"file5"},{"photo_id":"1399338318","filename":"file2"},{"photo_id":"1399338322","filename":"file4"},{"photo_id":"1399338316","filename":"file1"},{"photo_id":"1399338314","filename":"file0"},{"photo_id":"1399338320","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399338323":["hashtag1","hashtag2"]},{"1399338320":["hashtag1","hashtag2"]},{"1399338314":["hashtag1","hashtag2"]},{"1399338322":["hashtag1","hashtag2"]},{"1399338316":["hashtag1","hashtag2"]},{"1399338318":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399338323, 1399338320, 1399338314, 1399338322, 1399338316, 1399338318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23118710517883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:39:22.100482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/13/image_14122025_10_13_25_10738.jpg', '/home/pi/Desktop/images/14122025/10/13/image_14122025_10_13_35_9672.jpg', '/home/pi/Desktop/images/14122025/10/13/image_14122025_10_13_44_9738.jpg', '/home/pi/Desktop/images/14122025/10/13/image_14122025_10_13_54_9707.jpg', '/home/pi/Desktop/images/14122025/10/13/image_14122025_10_14_05_10567.jpg', '/home/pi/Desktop/images/14122025/10/14/image_14122025_10_14_14_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/13/image_14122025_10_13_25_10738.jpg
/home/pi/Desktop/images/14122025/10/13/image_14122025_10_13_35_9672.jpg
/home/pi/Desktop/images/14122025/10/13/image_14122025_10_13_44_9738.jpg
/home/pi/Desktop/images/14122025/10/13/image_14122025_10_13_54_9707.jpg
/home/pi/Desktop/images/14122025/10/13/image_14122025_10_14_05_10567.jpg
/home/pi/Desktop/images/14122025/10/14/image_14122025_10_14_14_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":["1399338332","1399338326","1399338329","1399338334","1399338330","1399338324"],"photo_ids_order":["1399338324","1399338326","1399338329","1399338330","1399338332","1399338334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/95d23aa781c5c89b7959a42c0a8f0805.jpg","text":"TemporaryFile(/tmp/multipartBody610301693373002526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705222767,"filename":"image_14122025_10_14_05_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/82931a0690abe022478ad7cdd5e4cea4.jpg","text":"TemporaryFile(/tmp/multipartBody7266757654254054381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705222767,"filename":"image_14122025_10_13_35_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/471cbcf5e06fcde3f1a15796ce7170ab.jpg","text":"TemporaryFile(/tmp/multipartBody1442969423888671545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705222767,"filename":"image_14122025_10_13_44_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/460e6e60339aa9dc567d5f0584c23e52.jpg","text":"TemporaryFile(/tmp/multipartBody106721267592235372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705222767,"filename":"image_14122025_10_14_14_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1332dcc4c379c98f7e5e3a8803f1bc4b.jpg","text":"TemporaryFile(/tmp/multipartBody1795939828569357925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705222767,"filename":"image_14122025_10_13_54_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/498ce9087eec72d3c23900bdcea95615.jpg","text":"TemporaryFile(/tmp/multipartBody7652997387633075553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705222767,"filename":"image_14122025_10_13_25_10738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338329","file1":"1399338326","file0":"1399338324","file4":"1399338332","file5":"1399338334","file3":"1399338330"},"map_files_photo_id_array":[{"photo_id":"1399338334","filename":"file5"},{"photo_id":"1399338329","filename":"file2"},{"photo_id":"1399338332","filename":"file4"},{"photo_id":"1399338326","filename":"file1"},{"photo_id":"1399338324","filename":"file0"},{"photo_id":"1399338330","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338332":["hashtag1","hashtag2"]},{"1399338326":["hashtag1","hashtag2"]},{"1399338329":["hashtag1","hashtag2"]},{"1399338334":["hashtag1","hashtag2"]},{"1399338330":["hashtag1","hashtag2"]},{"1399338324":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338332, 1399338326, 1399338329, 1399338334, 1399338330, 1399338324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37936735153198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:40:02.994668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/14/image_14122025_10_14_24_9803.jpg', '/home/pi/Desktop/images/14122025/10/14/image_14122025_10_14_35_10570.jpg', '/home/pi/Desktop/images/14122025/10/14/image_14122025_10_14_44_9737.jpg', '/home/pi/Desktop/images/14122025/10/14/image_14122025_10_14_54_9555.jpg', '/home/pi/Desktop/images/14122025/10/15/image_14122025_10_15_13_10056.jpg', '/home/pi/Desktop/images/14122025/10/15/image_14122025_10_15_24_10744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/14/image_14122025_10_14_24_9803.jpg
/home/pi/Desktop/images/14122025/10/14/image_14122025_10_14_35_10570.jpg
/home/pi/Desktop/images/14122025/10/14/image_14122025_10_14_44_9737.jpg
/home/pi/Desktop/images/14122025/10/14/image_14122025_10_14_54_9555.jpg
/home/pi/Desktop/images/14122025/10/15/image_14122025_10_15_13_10056.jpg
/home/pi/Desktop/images/14122025/10/15/image_14122025_10_15_24_10744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338341","1399338343","1399338337","1399338345","1399338339","1399338342"],"photo_ids_order":["1399338337","1399338339","1399338341","1399338342","1399338343","1399338345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9e4392bc8ec99d8de432940b3765820a.jpg","text":"TemporaryFile(/tmp/multipartBody758502016722899899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705263639,"filename":"image_14122025_10_14_44_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/53c6b88ba534465090de17f92838d960.jpg","text":"TemporaryFile(/tmp/multipartBody970642541965530580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705263639,"filename":"image_14122025_10_15_13_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ddc115367e3f2742caa232c4e21b057.jpg","text":"TemporaryFile(/tmp/multipartBody7228456621130988535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705263639,"filename":"image_14122025_10_14_24_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5bfe9bb3adb36b442d6730c11846af3f.jpg","text":"TemporaryFile(/tmp/multipartBody7240403154092343014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705263639,"filename":"image_14122025_10_15_24_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e843d8486ca4f8333cc843f7476b0ef7.jpg","text":"TemporaryFile(/tmp/multipartBody859990772985829857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705263639,"filename":"image_14122025_10_14_35_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9fbb1b228a9fe94a3963c13966a6020f.jpg","text":"TemporaryFile(/tmp/multipartBody9021160016810652751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705263639,"filename":"image_14122025_10_14_54_9555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338341","file1":"1399338339","file0":"1399338337","file4":"1399338343","file5":"1399338345","file3":"1399338342"},"map_files_photo_id_array":[{"photo_id":"1399338345","filename":"file5"},{"photo_id":"1399338341","filename":"file2"},{"photo_id":"1399338343","filename":"file4"},{"photo_id":"1399338339","filename":"file1"},{"photo_id":"1399338337","filename":"file0"},{"photo_id":"1399338342","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338341":["hashtag1","hashtag2"]},{"1399338343":["hashtag1","hashtag2"]},{"1399338337":["hashtag1","hashtag2"]},{"1399338345":["hashtag1","hashtag2"]},{"1399338339":["hashtag1","hashtag2"]},{"1399338342":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338341, 1399338343, 1399338337, 1399338345, 1399338339, 1399338342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19343638420105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:40:42.399055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_40_1741.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_41_1666.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_43_1887.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_45_1650.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_50_4831.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_51_1588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_40_1741.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_41_1666.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_43_1887.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_45_1650.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_50_4831.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_51_1588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338353","1399338352","1399338355","1399338349","1399338351","1399338354"],"photo_ids_order":["1399338349","1399338351","1399338352","1399338353","1399338354","1399338355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/23eeee1dda0fb44b243fb1b49e62a8e3.jpg","text":"TemporaryFile(/tmp/multipartBody7563987924526504957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705303130,"filename":"image_04112025_12_48_45_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a35f7f003a9f288f1b4c7e1495e61a78.jpg","text":"TemporaryFile(/tmp/multipartBody480586579607427252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705303130,"filename":"image_04112025_12_48_43_1887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/523ba78edd3212b0ec191b1585eee2a5.jpg","text":"TemporaryFile(/tmp/multipartBody3047011809836646517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705303130,"filename":"image_04112025_12_48_51_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a0c1c79be2b4f4857433204a0f035df.jpg","text":"TemporaryFile(/tmp/multipartBody8193410831222635254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705303130,"filename":"image_04112025_12_48_40_1741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ebd668ef5356b0526f5518eb07f0c1b8.jpg","text":"TemporaryFile(/tmp/multipartBody2877699662960441060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705303130,"filename":"image_04112025_12_48_41_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/93f911eff43e6764910e8c834a0c6d75.jpg","text":"TemporaryFile(/tmp/multipartBody493275371988146830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705303130,"filename":"image_04112025_12_48_50_4831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338352","file1":"1399338351","file0":"1399338349","file4":"1399338354","file5":"1399338355","file3":"1399338353"},"map_files_photo_id_array":[{"photo_id":"1399338355","filename":"file5"},{"photo_id":"1399338352","filename":"file2"},{"photo_id":"1399338354","filename":"file4"},{"photo_id":"1399338351","filename":"file1"},{"photo_id":"1399338349","filename":"file0"},{"photo_id":"1399338353","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399338353":["hashtag1","hashtag2"]},{"1399338352":["hashtag1","hashtag2"]},{"1399338355":["hashtag1","hashtag2"]},{"1399338349":["hashtag1","hashtag2"]},{"1399338351":["hashtag1","hashtag2"]},{"1399338354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399338353, 1399338352, 1399338355, 1399338349, 1399338351, 1399338354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44807004928589 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:41:22.674088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/15/image_14122025_10_15_34_9736.jpg', '/home/pi/Desktop/images/14122025/10/15/image_14122025_10_15_44_9669.jpg', '/home/pi/Desktop/images/14122025/10/15/image_14122025_10_15_54_10586.jpg', '/home/pi/Desktop/images/14122025/10/15/image_14122025_10_16_04_9748.jpg', '/home/pi/Desktop/images/14122025/10/16/image_14122025_10_16_14_9686.jpg', '/home/pi/Desktop/images/14122025/10/16/image_14122025_10_16_23_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/15/image_14122025_10_15_34_9736.jpg
/home/pi/Desktop/images/14122025/10/15/image_14122025_10_15_44_9669.jpg
/home/pi/Desktop/images/14122025/10/15/image_14122025_10_15_54_10586.jpg
/home/pi/Desktop/images/14122025/10/15/image_14122025_10_16_04_9748.jpg
/home/pi/Desktop/images/14122025/10/16/image_14122025_10_16_14_9686.jpg
/home/pi/Desktop/images/14122025/10/16/image_14122025_10_16_23_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":["1399338365","1399338359","1399338361","1399338363","1399338357","1399338368"],"photo_ids_order":["1399338357","1399338359","1399338361","1399338363","1399338365","1399338368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/900ccee32c1f756c36194248f5c970c0.jpg","text":"TemporaryFile(/tmp/multipartBody2888473947519444598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705343318,"filename":"image_14122025_10_16_14_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/35b49251c5eab6c1c17023f507e02924.jpg","text":"TemporaryFile(/tmp/multipartBody8941170045961795160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705343318,"filename":"image_14122025_10_15_44_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7642924de091c3ae6d9735efb0488350.jpg","text":"TemporaryFile(/tmp/multipartBody2879386000717977943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705343318,"filename":"image_14122025_10_15_54_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db6bb1021d1dee554ac242d62ce33c2f.jpg","text":"TemporaryFile(/tmp/multipartBody2864869338339296719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705343318,"filename":"image_14122025_10_16_04_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f2117ce87d43a3e0ba24d4a31e62968.jpg","text":"TemporaryFile(/tmp/multipartBody631736242918631039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705343318,"filename":"image_14122025_10_15_34_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1a3818d77aa8b9a2ee45cbc5d169b2d.jpg","text":"TemporaryFile(/tmp/multipartBody5044455792763683845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705343318,"filename":"image_14122025_10_16_23_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338361","file1":"1399338359","file0":"1399338357","file4":"1399338365","file5":"1399338368","file3":"1399338363"},"map_files_photo_id_array":[{"photo_id":"1399338368","filename":"file5"},{"photo_id":"1399338361","filename":"file2"},{"photo_id":"1399338365","filename":"file4"},{"photo_id":"1399338359","filename":"file1"},{"photo_id":"1399338357","filename":"file0"},{"photo_id":"1399338363","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338365":["hashtag1","hashtag2"]},{"1399338359":["hashtag1","hashtag2"]},{"1399338361":["hashtag1","hashtag2"]},{"1399338363":["hashtag1","hashtag2"]},{"1399338357":["hashtag1","hashtag2"]},{"1399338368":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338365, 1399338359, 1399338361, 1399338363, 1399338357, 1399338368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19346618652344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:42:02.327636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/16/image_14122025_10_16_34_10637.jpg', '/home/pi/Desktop/images/14122025/10/16/image_14122025_10_16_44_9787.jpg', '/home/pi/Desktop/images/14122025/10/16/image_14122025_10_16_54_9733.jpg', '/home/pi/Desktop/images/14122025/10/16/image_14122025_10_17_04_10745.jpg', '/home/pi/Desktop/images/14122025/10/17/image_14122025_10_17_14_9686.jpg', '/home/pi/Desktop/images/14122025/10/17/image_14122025_10_17_24_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/16/image_14122025_10_16_34_10637.jpg
/home/pi/Desktop/images/14122025/10/16/image_14122025_10_16_44_9787.jpg
/home/pi/Desktop/images/14122025/10/16/image_14122025_10_16_54_9733.jpg
/home/pi/Desktop/images/14122025/10/16/image_14122025_10_17_04_10745.jpg
/home/pi/Desktop/images/14122025/10/17/image_14122025_10_17_14_9686.jpg
/home/pi/Desktop/images/14122025/10/17/image_14122025_10_17_24_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338371","1399338370","1399338373","1399338375","1399338372","1399338374"],"photo_ids_order":["1399338370","1399338371","1399338372","1399338373","1399338374","1399338375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7623230777cd1f6f59e96d6928caf2ea.jpg","text":"TemporaryFile(/tmp/multipartBody8224464298399325510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705382989,"filename":"image_14122025_10_16_44_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/540a860f48e6c75dfffba2e53cc0d80e.jpg","text":"TemporaryFile(/tmp/multipartBody2948572312406643142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705382989,"filename":"image_14122025_10_16_34_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c77e9076bfd1717246de83d78831dd33.jpg","text":"TemporaryFile(/tmp/multipartBody4760485151513754342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705382989,"filename":"image_14122025_10_17_04_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a24915cff0f33152fcf1458cbc65453b.jpg","text":"TemporaryFile(/tmp/multipartBody1421162983205203029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705382989,"filename":"image_14122025_10_17_24_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b583964c96e513f6a735ca24f21f147c.jpg","text":"TemporaryFile(/tmp/multipartBody5935918233916607422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705382989,"filename":"image_14122025_10_16_54_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/72bb2cfeb0c1a5d9908ba46799f673b7.jpg","text":"TemporaryFile(/tmp/multipartBody4262635765630429694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705382989,"filename":"image_14122025_10_17_14_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338372","file1":"1399338371","file0":"1399338370","file4":"1399338374","file5":"1399338375","file3":"1399338373"},"map_files_photo_id_array":[{"photo_id":"1399338375","filename":"file5"},{"photo_id":"1399338372","filename":"file2"},{"photo_id":"1399338374","filename":"file4"},{"photo_id":"1399338371","filename":"file1"},{"photo_id":"1399338370","filename":"file0"},{"photo_id":"1399338373","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338371":["hashtag1","hashtag2"]},{"1399338370":["hashtag1","hashtag2"]},{"1399338373":["hashtag1","hashtag2"]},{"1399338375":["hashtag1","hashtag2"]},{"1399338372":["hashtag1","hashtag2"]},{"1399338374":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338371, 1399338370, 1399338373, 1399338375, 1399338372, 1399338374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94113612174988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:42:41.845789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_53_1610.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_54_1571.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_56_1583.jpg', '/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_58_1597.jpg', '/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_10_12313.jpg', '/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_12_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_53_1610.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_54_1571.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_56_1583.jpg
/home/pi/Desktop/images/04112025/12/48/image_04112025_12_48_58_1597.jpg
/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_10_12313.jpg
/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_12_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":["1399338391","1399338385","1399338393","1399338387","1399338389","1399338380"],"photo_ids_order":["1399338380","1399338385","1399338387","1399338389","1399338391","1399338393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/006d914a2dea394cbac9146cfe067007.jpg","text":"TemporaryFile(/tmp/multipartBody4064369988438077555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705422551,"filename":"image_04112025_12_49_10_12313.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f313db9adf621a7615046433a91d519.jpg","text":"TemporaryFile(/tmp/multipartBody7833533017134474270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705422551,"filename":"image_04112025_12_48_54_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14b5847b873494ba8d8b0296538aedc5.jpg","text":"TemporaryFile(/tmp/multipartBody742405607128674312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705422551,"filename":"image_04112025_12_49_12_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da5a773b5e494ba9a85547e28683a5eb.jpg","text":"TemporaryFile(/tmp/multipartBody7062158693847905341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705422551,"filename":"image_04112025_12_48_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/12/14/68aa75c70d5c650e524dab380cefa4aa.jpg","text":"TemporaryFile(/tmp/multipartBody7801670777694603057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705422551,"filename":"image_04112025_12_48_58_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad3cbb536d67dff53f91bf7e07c9980f.jpg","text":"TemporaryFile(/tmp/multipartBody5305030591757050161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705422551,"filename":"image_04112025_12_48_53_1610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338387","file1":"1399338385","file0":"1399338380","file4":"1399338391","file5":"1399338393","file3":"1399338389"},"map_files_photo_id_array":[{"photo_id":"1399338393","filename":"file5"},{"photo_id":"1399338387","filename":"file2"},{"photo_id":"1399338391","filename":"file4"},{"photo_id":"1399338385","filename":"file1"},{"photo_id":"1399338380","filename":"file0"},{"photo_id":"1399338389","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399338391":["hashtag1","hashtag2"]},{"1399338385":["hashtag1","hashtag2"]},{"1399338393":["hashtag1","hashtag2"]},{"1399338387":["hashtag1","hashtag2"]},{"1399338389":["hashtag1","hashtag2"]},{"1399338380":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399338391, 1399338385, 1399338393, 1399338387, 1399338389, 1399338380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51006460189819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:43:22.216311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/17/image_14122025_10_17_34_10626.jpg', '/home/pi/Desktop/images/14122025/10/17/image_14122025_10_17_44_9641.jpg', '/home/pi/Desktop/images/14122025/10/17/image_14122025_10_17_54_9744.jpg', '/home/pi/Desktop/images/14122025/10/17/image_14122025_10_18_03_9710.jpg', '/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_14_10728.jpg', '/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_24_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/17/image_14122025_10_17_34_10626.jpg
/home/pi/Desktop/images/14122025/10/17/image_14122025_10_17_44_9641.jpg
/home/pi/Desktop/images/14122025/10/17/image_14122025_10_17_54_9744.jpg
/home/pi/Desktop/images/14122025/10/17/image_14122025_10_18_03_9710.jpg
/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_14_10728.jpg
/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_24_9801.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5199840068817139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 10:43:32.099911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:43:42.096673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_37_25256.jpg', '/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_39_1743.jpg', '/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_40_1694.jpg', '/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_42_1638.jpg', '/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_43_1504.jpg', '/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_45_1789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_37_25256.jpg
/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_39_1743.jpg
/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_40_1694.jpg
/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_42_1638.jpg
/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_43_1504.jpg
/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_45_1789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338410","1399338404","1399338407","1399338409","1399338411","1399338408"],"photo_ids_order":["1399338404","1399338407","1399338408","1399338409","1399338410","1399338411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8763c7a8873db0e82b8addef7a87b186.jpg","text":"TemporaryFile(/tmp/multipartBody4889387366556831412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705482782,"filename":"image_04112025_12_49_43_1504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/481afdb3a8c4b639f2ab087a71c7ebe6.jpg","text":"TemporaryFile(/tmp/multipartBody7553164138382458712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705482782,"filename":"image_04112025_12_49_37_25256.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/108f7037b67cbb8d8dadb40f79fb0e49.jpg","text":"TemporaryFile(/tmp/multipartBody336999373045010412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705482782,"filename":"image_04112025_12_49_39_1743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a25d2145293e0a09afcb58d97988054d.jpg","text":"TemporaryFile(/tmp/multipartBody291731729849165775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705482782,"filename":"image_04112025_12_49_42_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/226a9fc2ccf9a27a943507b0aed6e0dd.jpg","text":"TemporaryFile(/tmp/multipartBody3903734848724074846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705482782,"filename":"image_04112025_12_49_45_1789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e6cf3ae15ef806b1d9967f78529f8194.jpg","text":"TemporaryFile(/tmp/multipartBody6765894883715842215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705482782,"filename":"image_04112025_12_49_40_1694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338408","file1":"1399338407","file0":"1399338404","file4":"1399338410","file5":"1399338411","file3":"1399338409"},"map_files_photo_id_array":[{"photo_id":"1399338411","filename":"file5"},{"photo_id":"1399338408","filename":"file2"},{"photo_id":"1399338410","filename":"file4"},{"photo_id":"1399338407","filename":"file1"},{"photo_id":"1399338404","filename":"file0"},{"photo_id":"1399338409","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399338410":["hashtag1","hashtag2"]},{"1399338404":["hashtag1","hashtag2"]},{"1399338407":["hashtag1","hashtag2"]},{"1399338409":["hashtag1","hashtag2"]},{"1399338411":["hashtag1","hashtag2"]},{"1399338408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399338410, 1399338404, 1399338407, 1399338409, 1399338411, 1399338408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79554200172424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:44:22.449258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/17/image_14122025_10_17_34_10626.jpg', '/home/pi/Desktop/images/14122025/10/17/image_14122025_10_17_44_9641.jpg', '/home/pi/Desktop/images/14122025/10/17/image_14122025_10_17_54_9744.jpg', '/home/pi/Desktop/images/14122025/10/17/image_14122025_10_18_03_9710.jpg', '/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_14_10728.jpg', '/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_24_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/17/image_14122025_10_17_34_10626.jpg
/home/pi/Desktop/images/14122025/10/17/image_14122025_10_17_44_9641.jpg
/home/pi/Desktop/images/14122025/10/17/image_14122025_10_17_54_9744.jpg
/home/pi/Desktop/images/14122025/10/17/image_14122025_10_18_03_9710.jpg
/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_14_10728.jpg
/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_24_9801.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5215942859649658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 10:44:32.289768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:44:42.244488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_47_1620.jpg', '/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_48_1589.jpg', '/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_50_1654.jpg', '/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_52_1686.jpg', '/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_53_1622.jpg', '/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_55_1577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_47_1620.jpg
/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_48_1589.jpg
/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_50_1654.jpg
/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_52_1686.jpg
/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_53_1622.jpg
/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_55_1577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338428","1399338430","1399338424","1399338427","1399338426","1399338429"],"photo_ids_order":["1399338424","1399338426","1399338427","1399338428","1399338429","1399338430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc4df50e874d43a7122e530d972c1567.jpg","text":"TemporaryFile(/tmp/multipartBody8393504480957310836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705542936,"filename":"image_04112025_12_49_52_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/64f2f61554ce918565461d3741c8ea45.jpg","text":"TemporaryFile(/tmp/multipartBody6053677243216366495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705542936,"filename":"image_04112025_12_49_55_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3e9006ff191bf5b2facccc63e5f67ce9.jpg","text":"TemporaryFile(/tmp/multipartBody7923496851609212372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705542936,"filename":"image_04112025_12_49_47_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c54042cf7f543be981a7f8e8dd7b8816.jpg","text":"TemporaryFile(/tmp/multipartBody5185152906374177246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705542936,"filename":"image_04112025_12_49_50_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e489af4f5579f6e1ce9ac25b170d791d.jpg","text":"TemporaryFile(/tmp/multipartBody561154271463014502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705542936,"filename":"image_04112025_12_49_48_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/188c1e0275c6b1f61de842365bf335fb.jpg","text":"TemporaryFile(/tmp/multipartBody2817661484374480898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705542936,"filename":"image_04112025_12_49_53_1622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338427","file1":"1399338426","file0":"1399338424","file4":"1399338429","file5":"1399338430","file3":"1399338428"},"map_files_photo_id_array":[{"photo_id":"1399338430","filename":"file5"},{"photo_id":"1399338427","filename":"file2"},{"photo_id":"1399338429","filename":"file4"},{"photo_id":"1399338426","filename":"file1"},{"photo_id":"1399338424","filename":"file0"},{"photo_id":"1399338428","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399338428":["hashtag1","hashtag2"]},{"1399338430":["hashtag1","hashtag2"]},{"1399338424":["hashtag1","hashtag2"]},{"1399338427":["hashtag1","hashtag2"]},{"1399338426":["hashtag1","hashtag2"]},{"1399338429":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399338428, 1399338430, 1399338424, 1399338427, 1399338426, 1399338429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31238102912903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:45:22.362145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/17/image_14122025_10_17_34_10626.jpg', '/home/pi/Desktop/images/14122025/10/17/image_14122025_10_17_44_9641.jpg', '/home/pi/Desktop/images/14122025/10/17/image_14122025_10_17_54_9744.jpg', '/home/pi/Desktop/images/14122025/10/17/image_14122025_10_18_03_9710.jpg', '/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_14_10728.jpg', '/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_24_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/17/image_14122025_10_17_34_10626.jpg
/home/pi/Desktop/images/14122025/10/17/image_14122025_10_17_44_9641.jpg
/home/pi/Desktop/images/14122025/10/17/image_14122025_10_17_54_9744.jpg
/home/pi/Desktop/images/14122025/10/17/image_14122025_10_18_03_9710.jpg
/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_14_10728.jpg
/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_24_9801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338437","1399338431","1399338433","1399338442","1399338439","1399338435"],"photo_ids_order":["1399338431","1399338433","1399338435","1399338437","1399338439","1399338442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9cb4c5fd9e0fa57756de85641d990e97.jpg","text":"TemporaryFile(/tmp/multipartBody3436730265275370972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705582982,"filename":"image_14122025_10_18_03_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6467c858f48150128470332a6be6bb8a.jpg","text":"TemporaryFile(/tmp/multipartBody6659087382921368644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705582982,"filename":"image_14122025_10_17_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/12/14/0b28a412f9d07140e5c050a40cbc3d74.jpg","text":"TemporaryFile(/tmp/multipartBody4728838038001624846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705582982,"filename":"image_14122025_10_17_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7eea87e64df143a1cc66c45ea434749.jpg","text":"TemporaryFile(/tmp/multipartBody8717372904806621467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705582982,"filename":"image_14122025_10_18_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/12/14/78bdfd1c0a4f6bab487fea3de4471b6e.jpg","text":"TemporaryFile(/tmp/multipartBody1374685226459910112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705582982,"filename":"image_14122025_10_18_14_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a690a395207d96e81d8d9eab9b0b90f1.jpg","text":"TemporaryFile(/tmp/multipartBody4195496458083693881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705582982,"filename":"image_14122025_10_17_54_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338435","file1":"1399338433","file0":"1399338431","file4":"1399338439","file5":"1399338442","file3":"1399338437"},"map_files_photo_id_array":[{"photo_id":"1399338442","filename":"file5"},{"photo_id":"1399338435","filename":"file2"},{"photo_id":"1399338439","filename":"file4"},{"photo_id":"1399338433","filename":"file1"},{"photo_id":"1399338431","filename":"file0"},{"photo_id":"1399338437","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338437":["hashtag1","hashtag2"]},{"1399338431":["hashtag1","hashtag2"]},{"1399338433":["hashtag1","hashtag2"]},{"1399338442":["hashtag1","hashtag2"]},{"1399338439":["hashtag1","hashtag2"]},{"1399338435":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338437, 1399338431, 1399338433, 1399338442, 1399338439, 1399338435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.202948570251465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:46:03.384331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_34_9646.jpg', '/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_44_10597.jpg', '/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_54_9639.jpg', '/home/pi/Desktop/images/14122025/10/18/image_14122025_10_19_04_9896.jpg', '/home/pi/Desktop/images/14122025/10/19/image_14122025_10_19_13_9697.jpg', '/home/pi/Desktop/images/14122025/10/19/image_14122025_10_19_24_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_34_9646.jpg
/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_44_10597.jpg
/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_54_9639.jpg
/home/pi/Desktop/images/14122025/10/18/image_14122025_10_19_04_9896.jpg
/home/pi/Desktop/images/14122025/10/19/image_14122025_10_19_13_9697.jpg
/home/pi/Desktop/images/14122025/10/19/image_14122025_10_19_24_10572.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5540556907653809 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 10:46:12.775673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:46:22.780874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_34_9646.jpg', '/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_44_10597.jpg', '/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_54_9639.jpg', '/home/pi/Desktop/images/14122025/10/18/image_14122025_10_19_04_9896.jpg', '/home/pi/Desktop/images/14122025/10/19/image_14122025_10_19_13_9697.jpg', '/home/pi/Desktop/images/14122025/10/19/image_14122025_10_19_24_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_34_9646.jpg
/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_44_10597.jpg
/home/pi/Desktop/images/14122025/10/18/image_14122025_10_18_54_9639.jpg
/home/pi/Desktop/images/14122025/10/18/image_14122025_10_19_04_9896.jpg
/home/pi/Desktop/images/14122025/10/19/image_14122025_10_19_13_9697.jpg
/home/pi/Desktop/images/14122025/10/19/image_14122025_10_19_24_10572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338461","1399338458","1399338452","1399338451","1399338454","1399338456"],"photo_ids_order":["1399338451","1399338452","1399338454","1399338456","1399338458","1399338461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/40aac28f9ebcc60578c3b4489acd6c41.jpg","text":"TemporaryFile(/tmp/multipartBody6112979856305512857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705643391,"filename":"image_14122025_10_19_24_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/025b5aefdf1ea816da38b8f705802070.jpg","text":"TemporaryFile(/tmp/multipartBody8168099055074063270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705643391,"filename":"image_14122025_10_19_13_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f12287ec77bd596130deffc5e53d1f15.jpg","text":"TemporaryFile(/tmp/multipartBody7849205747144520383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705643391,"filename":"image_14122025_10_18_44_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/53a1afe836a113f53c1e7ef535072376.jpg","text":"TemporaryFile(/tmp/multipartBody587315033062847673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705643391,"filename":"image_14122025_10_18_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/42d987aea266cd17641c246d37d897ba.jpg","text":"TemporaryFile(/tmp/multipartBody8291564438248210165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705643391,"filename":"image_14122025_10_18_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad8339daf6e37d233426130175bada2e.jpg","text":"TemporaryFile(/tmp/multipartBody7162790009622020606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705643391,"filename":"image_14122025_10_19_04_9896.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338454","file1":"1399338452","file0":"1399338451","file4":"1399338458","file5":"1399338461","file3":"1399338456"},"map_files_photo_id_array":[{"photo_id":"1399338461","filename":"file5"},{"photo_id":"1399338454","filename":"file2"},{"photo_id":"1399338458","filename":"file4"},{"photo_id":"1399338452","filename":"file1"},{"photo_id":"1399338451","filename":"file0"},{"photo_id":"1399338456","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338461":["hashtag1","hashtag2"]},{"1399338458":["hashtag1","hashtag2"]},{"1399338452":["hashtag1","hashtag2"]},{"1399338451":["hashtag1","hashtag2"]},{"1399338454":["hashtag1","hashtag2"]},{"1399338456":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338461, 1399338458, 1399338452, 1399338451, 1399338454, 1399338456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84063911437988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:47:02.570390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/19/image_14122025_10_19_34_9552.jpg', '/home/pi/Desktop/images/14122025/10/19/image_14122025_10_19_44_10792.jpg', '/home/pi/Desktop/images/14122025/10/19/image_14122025_10_19_54_9618.jpg', '/home/pi/Desktop/images/14122025/10/21/image_14122025_10_21_14_10040.jpg', '/home/pi/Desktop/images/14122025/10/21/image_14122025_10_21_24_10687.jpg', '/home/pi/Desktop/images/14122025/10/21/image_14122025_10_21_34_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/19/image_14122025_10_19_34_9552.jpg
/home/pi/Desktop/images/14122025/10/19/image_14122025_10_19_44_10792.jpg
/home/pi/Desktop/images/14122025/10/19/image_14122025_10_19_54_9618.jpg
/home/pi/Desktop/images/14122025/10/21/image_14122025_10_21_14_10040.jpg
/home/pi/Desktop/images/14122025/10/21/image_14122025_10_21_24_10687.jpg
/home/pi/Desktop/images/14122025/10/21/image_14122025_10_21_34_9761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338464","1399338466","1399338469","1399338463","1399338465","1399338467"],"photo_ids_order":["1399338463","1399338464","1399338465","1399338466","1399338467","1399338469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b8a0ff2a5f7256a2afa766d4ebd06103.jpg","text":"TemporaryFile(/tmp/multipartBody4355331503809597800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705683305,"filename":"image_14122025_10_19_44_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7e145bcbf39313f1649ee362583b93a1.jpg","text":"TemporaryFile(/tmp/multipartBody8314963741219056759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705683305,"filename":"image_14122025_10_21_14_10040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ff836715d0c55c52b9ef3e0735147b4e.jpg","text":"TemporaryFile(/tmp/multipartBody7340593534675653221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705683305,"filename":"image_14122025_10_21_34_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/031f59c12c6324c2e16faa67e894aba5.jpg","text":"TemporaryFile(/tmp/multipartBody2909851793327372352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705683305,"filename":"image_14122025_10_19_34_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ff381a8438e504681b31a01d90c8c78.jpg","text":"TemporaryFile(/tmp/multipartBody6904897090711203642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705683305,"filename":"image_14122025_10_19_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/37461b3f701889bfbb7a783804d12f60.jpg","text":"TemporaryFile(/tmp/multipartBody328740642342991253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705683305,"filename":"image_14122025_10_21_24_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338465","file1":"1399338464","file0":"1399338463","file4":"1399338467","file5":"1399338469","file3":"1399338466"},"map_files_photo_id_array":[{"photo_id":"1399338469","filename":"file5"},{"photo_id":"1399338465","filename":"file2"},{"photo_id":"1399338467","filename":"file4"},{"photo_id":"1399338464","filename":"file1"},{"photo_id":"1399338463","filename":"file0"},{"photo_id":"1399338466","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338464":["hashtag1","hashtag2"]},{"1399338466":["hashtag1","hashtag2"]},{"1399338469":["hashtag1","hashtag2"]},{"1399338463":["hashtag1","hashtag2"]},{"1399338465":["hashtag1","hashtag2"]},{"1399338467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338464, 1399338466, 1399338469, 1399338463, 1399338465, 1399338467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09283781051636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:47:41.875399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_57_1853.jpg', '/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_58_1575.jpg', '/home/pi/Desktop/images/04112025/12/49/image_04112025_12_50_00_1497.jpg', '/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_02_1665.jpg', '/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_03_1770.jpg', '/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_05_1745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_57_1853.jpg
/home/pi/Desktop/images/04112025/12/49/image_04112025_12_49_58_1575.jpg
/home/pi/Desktop/images/04112025/12/49/image_04112025_12_50_00_1497.jpg
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_02_1665.jpg
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_03_1770.jpg
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_05_1745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338482","1399338481","1399338480","1399338474","1399338483","1399338477"],"photo_ids_order":["1399338474","1399338477","1399338480","1399338481","1399338482","1399338483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/70100410bc28059f2626d4252059a404.jpg","text":"TemporaryFile(/tmp/multipartBody1517457857887369891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705722566,"filename":"image_04112025_12_50_03_1770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b10d4ac1caedd22a8eba742d3b38136b.jpg","text":"TemporaryFile(/tmp/multipartBody1589901684273213643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705722566,"filename":"image_04112025_12_50_02_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9ea28604c1e941aa6628aab342bb45ac.jpg","text":"TemporaryFile(/tmp/multipartBody7719872830817947408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705722566,"filename":"image_04112025_12_50_00_1497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b43f7f3920cdb0e120a1fbaa9d534dbf.jpg","text":"TemporaryFile(/tmp/multipartBody394225246958367294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705722566,"filename":"image_04112025_12_49_57_1853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e3ab47d18c58a3cd44d5254d6e063051.jpg","text":"TemporaryFile(/tmp/multipartBody465625879587282751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705722566,"filename":"image_04112025_12_50_05_1745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1a6cdb14697e1359b2a2bb6d1769bd6f.jpg","text":"TemporaryFile(/tmp/multipartBody4663018821022658107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705722566,"filename":"image_04112025_12_49_58_1575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338480","file1":"1399338477","file0":"1399338474","file4":"1399338482","file5":"1399338483","file3":"1399338481"},"map_files_photo_id_array":[{"photo_id":"1399338483","filename":"file5"},{"photo_id":"1399338480","filename":"file2"},{"photo_id":"1399338482","filename":"file4"},{"photo_id":"1399338477","filename":"file1"},{"photo_id":"1399338474","filename":"file0"},{"photo_id":"1399338481","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399338482":["hashtag1","hashtag2"]},{"1399338481":["hashtag1","hashtag2"]},{"1399338480":["hashtag1","hashtag2"]},{"1399338474":["hashtag1","hashtag2"]},{"1399338483":["hashtag1","hashtag2"]},{"1399338477":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399338482, 1399338481, 1399338480, 1399338474, 1399338483, 1399338477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.925291776657104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:48:22.142729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/21/image_14122025_10_21_44_9798.jpg', '/home/pi/Desktop/images/14122025/10/21/image_14122025_10_21_54_9733.jpg', '/home/pi/Desktop/images/14122025/10/21/image_14122025_10_22_04_10657.jpg', '/home/pi/Desktop/images/14122025/10/22/image_14122025_10_22_14_9668.jpg', '/home/pi/Desktop/images/14122025/10/22/image_14122025_10_22_24_9692.jpg', '/home/pi/Desktop/images/14122025/10/22/image_14122025_10_22_34_10043.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/21/image_14122025_10_21_44_9798.jpg
/home/pi/Desktop/images/14122025/10/21/image_14122025_10_21_54_9733.jpg
/home/pi/Desktop/images/14122025/10/21/image_14122025_10_22_04_10657.jpg
/home/pi/Desktop/images/14122025/10/22/image_14122025_10_22_14_9668.jpg
/home/pi/Desktop/images/14122025/10/22/image_14122025_10_22_24_9692.jpg
/home/pi/Desktop/images/14122025/10/22/image_14122025_10_22_34_10043.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338490","1399338484","1399338495","1399338491","1399338485","1399338488"],"photo_ids_order":["1399338484","1399338485","1399338488","1399338490","1399338491","1399338495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e73315b598281bb3597910094c94fd5.jpg","text":"TemporaryFile(/tmp/multipartBody2169490192171513533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705762807,"filename":"image_14122025_10_22_14_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/162893ce518f008b3ba1ee3c36743c07.jpg","text":"TemporaryFile(/tmp/multipartBody3578329715589825349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705762807,"filename":"image_14122025_10_21_44_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ddd08da8e5c4ec537277aa64ef7a4d2d.jpg","text":"TemporaryFile(/tmp/multipartBody4664599225451960838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705762807,"filename":"image_14122025_10_22_34_10043.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/344e25a3610e5a5e611bc7f9bb12894f.jpg","text":"TemporaryFile(/tmp/multipartBody4946032511819113078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705762807,"filename":"image_14122025_10_22_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/12/14/db717629790d2e8567f57a93e1c5f593.jpg","text":"TemporaryFile(/tmp/multipartBody849286369840698927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705762807,"filename":"image_14122025_10_21_54_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c60d13e9da63455654583d22bbd3a3c.jpg","text":"TemporaryFile(/tmp/multipartBody6261578121271485252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705762807,"filename":"image_14122025_10_22_04_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338488","file1":"1399338485","file0":"1399338484","file4":"1399338491","file5":"1399338495","file3":"1399338490"},"map_files_photo_id_array":[{"photo_id":"1399338495","filename":"file5"},{"photo_id":"1399338488","filename":"file2"},{"photo_id":"1399338491","filename":"file4"},{"photo_id":"1399338485","filename":"file1"},{"photo_id":"1399338484","filename":"file0"},{"photo_id":"1399338490","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338490":["hashtag1","hashtag2"]},{"1399338484":["hashtag1","hashtag2"]},{"1399338495":["hashtag1","hashtag2"]},{"1399338491":["hashtag1","hashtag2"]},{"1399338485":["hashtag1","hashtag2"]},{"1399338488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338490, 1399338484, 1399338495, 1399338491, 1399338485, 1399338488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7363760471344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:49:03.478192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/22/image_14122025_10_22_45_10746.jpg', '/home/pi/Desktop/images/14122025/10/22/image_14122025_10_22_54_9700.jpg', '/home/pi/Desktop/images/14122025/10/22/image_14122025_10_23_04_9701.jpg', '/home/pi/Desktop/images/14122025/10/23/image_14122025_10_23_15_10642.jpg', '/home/pi/Desktop/images/14122025/10/23/image_14122025_10_23_24_9682.jpg', '/home/pi/Desktop/images/14122025/10/23/image_14122025_10_23_34_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/22/image_14122025_10_22_45_10746.jpg
/home/pi/Desktop/images/14122025/10/22/image_14122025_10_22_54_9700.jpg
/home/pi/Desktop/images/14122025/10/22/image_14122025_10_23_04_9701.jpg
/home/pi/Desktop/images/14122025/10/23/image_14122025_10_23_15_10642.jpg
/home/pi/Desktop/images/14122025/10/23/image_14122025_10_23_24_9682.jpg
/home/pi/Desktop/images/14122025/10/23/image_14122025_10_23_34_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338503","1399338506","1399338508","1399338505","1399338501","1399338504"],"photo_ids_order":["1399338501","1399338503","1399338504","1399338505","1399338506","1399338508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b29b8c223872ff77dd5757ebd2b94016.jpg","text":"TemporaryFile(/tmp/multipartBody7706851186304100224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705804237,"filename":"image_14122025_10_22_54_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/762dfabde15163bc33d5d3c6c8a84c5a.jpg","text":"TemporaryFile(/tmp/multipartBody7536684606502389749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705804237,"filename":"image_14122025_10_23_24_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7a9ccc1305426035d29f8c7abe49f8c.jpg","text":"TemporaryFile(/tmp/multipartBody7198564367241285822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705804237,"filename":"image_14122025_10_23_34_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e4097a6245362628fd7c868dc878dca3.jpg","text":"TemporaryFile(/tmp/multipartBody7884164726485758716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705804237,"filename":"image_14122025_10_23_15_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/71850e4f98eb746469912b6498ead158.jpg","text":"TemporaryFile(/tmp/multipartBody7652861333436545364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705804237,"filename":"image_14122025_10_22_45_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9122adb211236b15f499c13d200e6ddf.jpg","text":"TemporaryFile(/tmp/multipartBody1018869644811873016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705804237,"filename":"image_14122025_10_23_04_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338504","file1":"1399338503","file0":"1399338501","file4":"1399338506","file5":"1399338508","file3":"1399338505"},"map_files_photo_id_array":[{"photo_id":"1399338508","filename":"file5"},{"photo_id":"1399338504","filename":"file2"},{"photo_id":"1399338506","filename":"file4"},{"photo_id":"1399338503","filename":"file1"},{"photo_id":"1399338501","filename":"file0"},{"photo_id":"1399338505","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338503":["hashtag1","hashtag2"]},{"1399338506":["hashtag1","hashtag2"]},{"1399338508":["hashtag1","hashtag2"]},{"1399338505":["hashtag1","hashtag2"]},{"1399338501":["hashtag1","hashtag2"]},{"1399338504":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338503, 1399338506, 1399338508, 1399338505, 1399338501, 1399338504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66061615943909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:49:42.335688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_07_1708.jpg', '/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_08_1527.jpg', '/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_11_3157.jpg', '/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_13_1686.jpg', '/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_15_1514.jpg', '/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_16_1793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_07_1708.jpg
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_08_1527.jpg
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_11_3157.jpg
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_13_1686.jpg
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_15_1514.jpg
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_16_1793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338521","1399338518","1399338520","1399338514","1399338517","1399338519"],"photo_ids_order":["1399338514","1399338517","1399338518","1399338519","1399338520","1399338521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a457833b233485272517436844ace6f3.jpg","text":"TemporaryFile(/tmp/multipartBody3199786876500233881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705843048,"filename":"image_04112025_12_50_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/12/14/4cd3a3f5e17df0674c879297e38cbc4e.jpg","text":"TemporaryFile(/tmp/multipartBody5679755136963627404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705843048,"filename":"image_04112025_12_50_11_3157.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51c2d42d4621238e023d82eea1d5d41c.jpg","text":"TemporaryFile(/tmp/multipartBody8654495612535270844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705843048,"filename":"image_04112025_12_50_15_1514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b09790f1c903fd3a3a2fb9369641a209.jpg","text":"TemporaryFile(/tmp/multipartBody2270949358826979033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705843048,"filename":"image_04112025_12_50_07_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2ff123aa32d823dfd89a00457096ee5.jpg","text":"TemporaryFile(/tmp/multipartBody4327120489658965612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705843048,"filename":"image_04112025_12_50_08_1527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d8287baa93d0f798a7d0b67b48815a03.jpg","text":"TemporaryFile(/tmp/multipartBody1898082784995769589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705843048,"filename":"image_04112025_12_50_13_1686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338518","file1":"1399338517","file0":"1399338514","file4":"1399338520","file5":"1399338521","file3":"1399338519"},"map_files_photo_id_array":[{"photo_id":"1399338521","filename":"file5"},{"photo_id":"1399338518","filename":"file2"},{"photo_id":"1399338520","filename":"file4"},{"photo_id":"1399338517","filename":"file1"},{"photo_id":"1399338514","filename":"file0"},{"photo_id":"1399338519","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399338521":["hashtag1","hashtag2"]},{"1399338518":["hashtag1","hashtag2"]},{"1399338520":["hashtag1","hashtag2"]},{"1399338514":["hashtag1","hashtag2"]},{"1399338517":["hashtag1","hashtag2"]},{"1399338519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399338521, 1399338518, 1399338520, 1399338514, 1399338517, 1399338519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.587204694747925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:50:22.681304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/23/image_14122025_10_23_44_9859.jpg', '/home/pi/Desktop/images/14122025/10/23/image_14122025_10_23_54_10564.jpg', '/home/pi/Desktop/images/14122025/10/23/image_14122025_10_24_04_9884.jpg', '/home/pi/Desktop/images/14122025/10/24/image_14122025_10_24_14_9709.jpg', '/home/pi/Desktop/images/14122025/10/24/image_14122025_10_24_24_9950.jpg', '/home/pi/Desktop/images/14122025/10/24/image_14122025_10_24_34_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/23/image_14122025_10_23_44_9859.jpg
/home/pi/Desktop/images/14122025/10/23/image_14122025_10_23_54_10564.jpg
/home/pi/Desktop/images/14122025/10/23/image_14122025_10_24_04_9884.jpg
/home/pi/Desktop/images/14122025/10/24/image_14122025_10_24_14_9709.jpg
/home/pi/Desktop/images/14122025/10/24/image_14122025_10_24_24_9950.jpg
/home/pi/Desktop/images/14122025/10/24/image_14122025_10_24_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":["1399338530","1399338527","1399338535","1399338529","1399338523","1399338525"],"photo_ids_order":["1399338523","1399338525","1399338527","1399338529","1399338530","1399338535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1969434afcb3b9f804f975c53ccd2fe5.jpg","text":"TemporaryFile(/tmp/multipartBody1519804565951443153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705883318,"filename":"image_14122025_10_24_24_9950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b31e0ee5eb70417f8b5b7813354e8ec5.jpg","text":"TemporaryFile(/tmp/multipartBody3814012243468686366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705883318,"filename":"image_14122025_10_24_04_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/87a960304ea93c157de3e8bc0edd4ef2.jpg","text":"TemporaryFile(/tmp/multipartBody5766472109156157330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705883318,"filename":"image_14122025_10_24_34_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e0a5c747982981f6035f8b4d579f002b.jpg","text":"TemporaryFile(/tmp/multipartBody5342485553172809138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705883318,"filename":"image_14122025_10_24_14_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0051147a26f28a6582547fe4fc90aff3.jpg","text":"TemporaryFile(/tmp/multipartBody4617002874552866416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705883318,"filename":"image_14122025_10_23_44_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/44b17fdadf7dc4d78b4f6788f783341c.jpg","text":"TemporaryFile(/tmp/multipartBody2590509644822040696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705883318,"filename":"image_14122025_10_23_54_10564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338527","file1":"1399338525","file0":"1399338523","file4":"1399338530","file5":"1399338535","file3":"1399338529"},"map_files_photo_id_array":[{"photo_id":"1399338535","filename":"file5"},{"photo_id":"1399338527","filename":"file2"},{"photo_id":"1399338530","filename":"file4"},{"photo_id":"1399338525","filename":"file1"},{"photo_id":"1399338523","filename":"file0"},{"photo_id":"1399338529","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338530":["hashtag1","hashtag2"]},{"1399338527":["hashtag1","hashtag2"]},{"1399338535":["hashtag1","hashtag2"]},{"1399338529":["hashtag1","hashtag2"]},{"1399338523":["hashtag1","hashtag2"]},{"1399338525":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338530, 1399338527, 1399338535, 1399338529, 1399338523, 1399338525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.630521059036255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:51:02.570087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/24/image_14122025_10_24_45_10852.jpg', '/home/pi/Desktop/images/14122025/10/24/image_14122025_10_24_54_9242.jpg', '/home/pi/Desktop/images/14122025/10/25/image_14122025_10_25_25_10687.jpg', '/home/pi/Desktop/images/14122025/10/25/image_14122025_10_25_35_9622.jpg', '/home/pi/Desktop/images/14122025/10/25/image_14122025_10_25_45_10637.jpg', '/home/pi/Desktop/images/14122025/10/25/image_14122025_10_25_55_9573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/24/image_14122025_10_24_45_10852.jpg
/home/pi/Desktop/images/14122025/10/24/image_14122025_10_24_54_9242.jpg
/home/pi/Desktop/images/14122025/10/25/image_14122025_10_25_25_10687.jpg
/home/pi/Desktop/images/14122025/10/25/image_14122025_10_25_35_9622.jpg
/home/pi/Desktop/images/14122025/10/25/image_14122025_10_25_45_10637.jpg
/home/pi/Desktop/images/14122025/10/25/image_14122025_10_25_55_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":["1399338542","1399338539","1399338544","1399338541","1399338538","1399338540"],"photo_ids_order":["1399338538","1399338539","1399338540","1399338541","1399338542","1399338544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/326b38fc66352b966ca5af85140a03b2.jpg","text":"TemporaryFile(/tmp/multipartBody5242277282748197828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705923247,"filename":"image_14122025_10_25_45_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ff671becf5cea48675eb03d5807ae360.jpg","text":"TemporaryFile(/tmp/multipartBody2436109502135661210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705923247,"filename":"image_14122025_10_24_54_9242.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e5665c3eef1516f0bbb4b55ce65e0a96.jpg","text":"TemporaryFile(/tmp/multipartBody8651907412452923806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705923247,"filename":"image_14122025_10_25_55_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/42ea0f4aa7c08daa49955303bc3ca1e7.jpg","text":"TemporaryFile(/tmp/multipartBody6666539923914455142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705923247,"filename":"image_14122025_10_25_35_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ccb08a4dcb72da6af5cb5b51beadb1b2.jpg","text":"TemporaryFile(/tmp/multipartBody8492131417447878723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705923247,"filename":"image_14122025_10_24_45_10852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bfea717d61699796684905043fd0b0b5.jpg","text":"TemporaryFile(/tmp/multipartBody8438179834986765460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705923247,"filename":"image_14122025_10_25_25_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338540","file1":"1399338539","file0":"1399338538","file4":"1399338542","file5":"1399338544","file3":"1399338541"},"map_files_photo_id_array":[{"photo_id":"1399338544","filename":"file5"},{"photo_id":"1399338540","filename":"file2"},{"photo_id":"1399338542","filename":"file4"},{"photo_id":"1399338539","filename":"file1"},{"photo_id":"1399338538","filename":"file0"},{"photo_id":"1399338541","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338542":["hashtag1","hashtag2"]},{"1399338539":["hashtag1","hashtag2"]},{"1399338544":["hashtag1","hashtag2"]},{"1399338541":["hashtag1","hashtag2"]},{"1399338538":["hashtag1","hashtag2"]},{"1399338540":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338542, 1399338539, 1399338544, 1399338541, 1399338538, 1399338540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64875102043152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:51:41.756076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_20_1664.jpg', '/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_21_1663.jpg', '/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_23_1516.jpg', '/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_25_1836.jpg', '/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_27_2562.jpg', '/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_31_3755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_20_1664.jpg
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_21_1663.jpg
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_23_1516.jpg
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_25_1836.jpg
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_27_2562.jpg
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_31_3755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338554","1399338557","1399338556","1399338555","1399338552","1399338549"],"photo_ids_order":["1399338549","1399338552","1399338554","1399338555","1399338556","1399338557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a2ede20f77f22dad0f26f9f882abf2c.jpg","text":"TemporaryFile(/tmp/multipartBody8819543916072711158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705962442,"filename":"image_04112025_12_50_23_1516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c619ec39b386337a2f1059d013ad4ad.jpg","text":"TemporaryFile(/tmp/multipartBody7231371280309323188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705962442,"filename":"image_04112025_12_50_31_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1c5aa90dbb314070c062139f80f9784.jpg","text":"TemporaryFile(/tmp/multipartBody4581515609722634179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705962442,"filename":"image_04112025_12_50_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/12/14/c8a519104eb83c5976d2cbc5cc8d6ebc.jpg","text":"TemporaryFile(/tmp/multipartBody225723914001736128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705962442,"filename":"image_04112025_12_50_25_1836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a4e8b7b1ea1363d3510e31a3145bb4fe.jpg","text":"TemporaryFile(/tmp/multipartBody5874385320574320053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705962442,"filename":"image_04112025_12_50_21_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a9920fc68294af02d7fa884e32c7bad4.jpg","text":"TemporaryFile(/tmp/multipartBody1673568701019636596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765705962442,"filename":"image_04112025_12_50_20_1664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338554","file1":"1399338552","file0":"1399338549","file4":"1399338556","file5":"1399338557","file3":"1399338555"},"map_files_photo_id_array":[{"photo_id":"1399338557","filename":"file5"},{"photo_id":"1399338554","filename":"file2"},{"photo_id":"1399338556","filename":"file4"},{"photo_id":"1399338552","filename":"file1"},{"photo_id":"1399338549","filename":"file0"},{"photo_id":"1399338555","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399338554":["hashtag1","hashtag2"]},{"1399338557":["hashtag1","hashtag2"]},{"1399338556":["hashtag1","hashtag2"]},{"1399338555":["hashtag1","hashtag2"]},{"1399338552":["hashtag1","hashtag2"]},{"1399338549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399338554, 1399338557, 1399338556, 1399338555, 1399338552, 1399338549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.958165407180786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:52:22.081418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/25/image_14122025_10_26_04_9545.jpg', '/home/pi/Desktop/images/14122025/10/26/image_14122025_10_26_25_9695.jpg', '/home/pi/Desktop/images/14122025/10/26/image_14122025_10_26_34_9628.jpg', '/home/pi/Desktop/images/14122025/10/26/image_14122025_10_26_45_10617.jpg', '/home/pi/Desktop/images/14122025/10/26/image_14122025_10_27_04_9792.jpg', '/home/pi/Desktop/images/14122025/10/27/image_14122025_10_27_35_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/25/image_14122025_10_26_04_9545.jpg
/home/pi/Desktop/images/14122025/10/26/image_14122025_10_26_25_9695.jpg
/home/pi/Desktop/images/14122025/10/26/image_14122025_10_26_34_9628.jpg
/home/pi/Desktop/images/14122025/10/26/image_14122025_10_26_45_10617.jpg
/home/pi/Desktop/images/14122025/10/26/image_14122025_10_27_04_9792.jpg
/home/pi/Desktop/images/14122025/10/27/image_14122025_10_27_35_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.5209007263183594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 10:52:32.030811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:52:41.995793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_34_2628.jpg', '/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_36_2660.jpg', '/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_40_3606.jpg', '/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_42_2529.jpg', '/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_46_3548.jpg', '/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_49_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_34_2628.jpg
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_36_2660.jpg
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_40_3606.jpg
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_42_2529.jpg
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_46_3548.jpg
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_49_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":["1399338571","1399338574","1399338568","1399338573","1399338570","1399338572"],"photo_ids_order":["1399338568","1399338570","1399338571","1399338572","1399338573","1399338574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/830b25138dc73709f930c96ddb5b7974.jpg","text":"TemporaryFile(/tmp/multipartBody8821112618178065590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706022700,"filename":"image_04112025_12_50_40_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/66bec45f6edb81392b43427eda30cda3.jpg","text":"TemporaryFile(/tmp/multipartBody8985466714133460567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706022700,"filename":"image_04112025_12_50_49_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/460c4f901ac187a43119f607d8d3b753.jpg","text":"TemporaryFile(/tmp/multipartBody2916572698826158435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706022700,"filename":"image_04112025_12_50_34_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/adfe742f7eeda7e681efbe00592def1d.jpg","text":"TemporaryFile(/tmp/multipartBody8356879291249440795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706022700,"filename":"image_04112025_12_50_46_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c6ffb3e35c109db84f4f2b0525e61e9e.jpg","text":"TemporaryFile(/tmp/multipartBody3285299652520158218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706022700,"filename":"image_04112025_12_50_36_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d006369b4cc5b78ff37528866e487960.jpg","text":"TemporaryFile(/tmp/multipartBody19561295962544573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706022700,"filename":"image_04112025_12_50_42_2529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338571","file1":"1399338570","file0":"1399338568","file4":"1399338573","file5":"1399338574","file3":"1399338572"},"map_files_photo_id_array":[{"photo_id":"1399338574","filename":"file5"},{"photo_id":"1399338571","filename":"file2"},{"photo_id":"1399338573","filename":"file4"},{"photo_id":"1399338570","filename":"file1"},{"photo_id":"1399338568","filename":"file0"},{"photo_id":"1399338572","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399338571":["hashtag1","hashtag2"]},{"1399338574":["hashtag1","hashtag2"]},{"1399338568":["hashtag1","hashtag2"]},{"1399338573":["hashtag1","hashtag2"]},{"1399338570":["hashtag1","hashtag2"]},{"1399338572":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399338571, 1399338574, 1399338568, 1399338573, 1399338570, 1399338572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81871175765991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:53:22.427651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/25/image_14122025_10_26_04_9545.jpg', '/home/pi/Desktop/images/14122025/10/26/image_14122025_10_26_25_9695.jpg', '/home/pi/Desktop/images/14122025/10/26/image_14122025_10_26_34_9628.jpg', '/home/pi/Desktop/images/14122025/10/26/image_14122025_10_26_45_10617.jpg', '/home/pi/Desktop/images/14122025/10/26/image_14122025_10_27_04_9792.jpg', '/home/pi/Desktop/images/14122025/10/27/image_14122025_10_27_35_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/25/image_14122025_10_26_04_9545.jpg
/home/pi/Desktop/images/14122025/10/26/image_14122025_10_26_25_9695.jpg
/home/pi/Desktop/images/14122025/10/26/image_14122025_10_26_34_9628.jpg
/home/pi/Desktop/images/14122025/10/26/image_14122025_10_26_45_10617.jpg
/home/pi/Desktop/images/14122025/10/26/image_14122025_10_27_04_9792.jpg
/home/pi/Desktop/images/14122025/10/27/image_14122025_10_27_35_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.5196490287780762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 10:53:32.261909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:53:42.240137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_51_2590.jpg', '/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_55_3663.jpg', '/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_58_2786.jpg', '/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_01_2734.jpg', '/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_03_2759.jpg', '/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_07_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_51_2590.jpg
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_55_3663.jpg
/home/pi/Desktop/images/04112025/12/50/image_04112025_12_50_58_2786.jpg
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_01_2734.jpg
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_03_2759.jpg
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_07_3666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338595","1399338592","1399338586","1399338594","1399338597","1399338593"],"photo_ids_order":["1399338586","1399338592","1399338593","1399338594","1399338595","1399338597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/907cddabdab33f6458c285141a94ec49.jpg","text":"TemporaryFile(/tmp/multipartBody8314144215783174012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706082935,"filename":"image_04112025_12_51_03_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b21fbee80a06d63223f249a75ba430e.jpg","text":"TemporaryFile(/tmp/multipartBody1013149839431032517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706082935,"filename":"image_04112025_12_50_55_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/16b4833825dcc551a6729bf88f6df205.jpg","text":"TemporaryFile(/tmp/multipartBody7509355940017266469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706082935,"filename":"image_04112025_12_50_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/12/14/687839395459d2bfbfdb9bd9f53dc114.jpg","text":"TemporaryFile(/tmp/multipartBody4167001706048587803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706082935,"filename":"image_04112025_12_51_01_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9d55f002e3ecf34be8e4222e557dec92.jpg","text":"TemporaryFile(/tmp/multipartBody8901824254687098996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706082935,"filename":"image_04112025_12_51_07_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9e2884a67a335b6dd7dd1e9dda928be3.jpg","text":"TemporaryFile(/tmp/multipartBody6528328147187479490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706082935,"filename":"image_04112025_12_50_58_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338593","file1":"1399338592","file0":"1399338586","file4":"1399338595","file5":"1399338597","file3":"1399338594"},"map_files_photo_id_array":[{"photo_id":"1399338597","filename":"file5"},{"photo_id":"1399338593","filename":"file2"},{"photo_id":"1399338595","filename":"file4"},{"photo_id":"1399338592","filename":"file1"},{"photo_id":"1399338586","filename":"file0"},{"photo_id":"1399338594","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399338595":["hashtag1","hashtag2"]},{"1399338592":["hashtag1","hashtag2"]},{"1399338586":["hashtag1","hashtag2"]},{"1399338594":["hashtag1","hashtag2"]},{"1399338597":["hashtag1","hashtag2"]},{"1399338593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399338595, 1399338592, 1399338586, 1399338594, 1399338597, 1399338593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03350210189819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:54:22.487880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/25/image_14122025_10_26_04_9545.jpg', '/home/pi/Desktop/images/14122025/10/26/image_14122025_10_26_25_9695.jpg', '/home/pi/Desktop/images/14122025/10/26/image_14122025_10_26_34_9628.jpg', '/home/pi/Desktop/images/14122025/10/26/image_14122025_10_26_45_10617.jpg', '/home/pi/Desktop/images/14122025/10/26/image_14122025_10_27_04_9792.jpg', '/home/pi/Desktop/images/14122025/10/27/image_14122025_10_27_35_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/25/image_14122025_10_26_04_9545.jpg
/home/pi/Desktop/images/14122025/10/26/image_14122025_10_26_25_9695.jpg
/home/pi/Desktop/images/14122025/10/26/image_14122025_10_26_34_9628.jpg
/home/pi/Desktop/images/14122025/10/26/image_14122025_10_26_45_10617.jpg
/home/pi/Desktop/images/14122025/10/26/image_14122025_10_27_04_9792.jpg
/home/pi/Desktop/images/14122025/10/27/image_14122025_10_27_35_9769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338605","1399338608","1399338607","1399338601","1399338599","1399338603"],"photo_ids_order":["1399338599","1399338601","1399338603","1399338605","1399338607","1399338608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d796f00faae3492c3277d33b3bb33d18.jpg","text":"TemporaryFile(/tmp/multipartBody4551668478718776950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706123144,"filename":"image_14122025_10_26_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c29982e2323a8d519d1eb3fbfccbc0a.jpg","text":"TemporaryFile(/tmp/multipartBody8190279921388231883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706123144,"filename":"image_14122025_10_27_35_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef172a4511071c488b57e7f833861fc4.jpg","text":"TemporaryFile(/tmp/multipartBody378322342311409505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706123144,"filename":"image_14122025_10_27_04_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dfc58ad702b83ceda92f1d7586fba05e.jpg","text":"TemporaryFile(/tmp/multipartBody1115998701916010485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706123144,"filename":"image_14122025_10_26_25_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/982f716ef4e174e1e2d917cde4a6e7e3.jpg","text":"TemporaryFile(/tmp/multipartBody3481260009669018386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706123144,"filename":"image_14122025_10_26_04_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a9237738df537c33c967ee87d3c7df4.jpg","text":"TemporaryFile(/tmp/multipartBody8415728423933112926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706123144,"filename":"image_14122025_10_26_34_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338603","file1":"1399338601","file0":"1399338599","file4":"1399338607","file5":"1399338608","file3":"1399338605"},"map_files_photo_id_array":[{"photo_id":"1399338608","filename":"file5"},{"photo_id":"1399338603","filename":"file2"},{"photo_id":"1399338607","filename":"file4"},{"photo_id":"1399338601","filename":"file1"},{"photo_id":"1399338599","filename":"file0"},{"photo_id":"1399338605","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338605":["hashtag1","hashtag2"]},{"1399338608":["hashtag1","hashtag2"]},{"1399338607":["hashtag1","hashtag2"]},{"1399338601":["hashtag1","hashtag2"]},{"1399338599":["hashtag1","hashtag2"]},{"1399338603":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338605, 1399338608, 1399338607, 1399338601, 1399338599, 1399338603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81658935546875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:55:03.434896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/27/image_14122025_10_27_44_9689.jpg', '/home/pi/Desktop/images/14122025/10/27/image_14122025_10_27_55_10628.jpg', '/home/pi/Desktop/images/14122025/10/27/image_14122025_10_28_05_9588.jpg', '/home/pi/Desktop/images/14122025/10/28/image_14122025_10_28_14_9721.jpg', '/home/pi/Desktop/images/14122025/10/28/image_14122025_10_28_35_9613.jpg', '/home/pi/Desktop/images/14122025/10/28/image_14122025_10_28_45_10537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/27/image_14122025_10_27_44_9689.jpg
/home/pi/Desktop/images/14122025/10/27/image_14122025_10_27_55_10628.jpg
/home/pi/Desktop/images/14122025/10/27/image_14122025_10_28_05_9588.jpg
/home/pi/Desktop/images/14122025/10/28/image_14122025_10_28_14_9721.jpg
/home/pi/Desktop/images/14122025/10/28/image_14122025_10_28_35_9613.jpg
/home/pi/Desktop/images/14122025/10/28/image_14122025_10_28_45_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":["1399338611","1399338614","1399338613","1399338616","1399338612","1399338609"],"photo_ids_order":["1399338609","1399338611","1399338612","1399338613","1399338614","1399338616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76281e0bb2dee031a8646aa3d942f0bd.jpg","text":"TemporaryFile(/tmp/multipartBody4270332803054811916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706164126,"filename":"image_14122025_10_27_55_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/934d01400f70fb34a2fab371641cea01.jpg","text":"TemporaryFile(/tmp/multipartBody2059565354469437816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706164126,"filename":"image_14122025_10_28_35_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eeec0d3892fc0e8e176831dee0e91b28.jpg","text":"TemporaryFile(/tmp/multipartBody1943863789043872954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706164126,"filename":"image_14122025_10_28_14_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/180f761738463b7d91061c36c9dc19fa.jpg","text":"TemporaryFile(/tmp/multipartBody2741100558789391818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706164126,"filename":"image_14122025_10_28_45_10537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4732573bc78f88e7a3524067378427da.jpg","text":"TemporaryFile(/tmp/multipartBody8993671096234349310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706164126,"filename":"image_14122025_10_28_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/12/14/68279544bc025294142d186e2037106b.jpg","text":"TemporaryFile(/tmp/multipartBody7324899696668528728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706164126,"filename":"image_14122025_10_27_44_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338612","file1":"1399338611","file0":"1399338609","file4":"1399338614","file5":"1399338616","file3":"1399338613"},"map_files_photo_id_array":[{"photo_id":"1399338616","filename":"file5"},{"photo_id":"1399338612","filename":"file2"},{"photo_id":"1399338614","filename":"file4"},{"photo_id":"1399338611","filename":"file1"},{"photo_id":"1399338609","filename":"file0"},{"photo_id":"1399338613","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338611":["hashtag1","hashtag2"]},{"1399338614":["hashtag1","hashtag2"]},{"1399338613":["hashtag1","hashtag2"]},{"1399338616":["hashtag1","hashtag2"]},{"1399338612":["hashtag1","hashtag2"]},{"1399338609":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338611, 1399338614, 1399338613, 1399338616, 1399338612, 1399338609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.573259353637695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:55:42.767862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_10_2536.jpg', '/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_12_2676.jpg', '/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_16_3570.jpg', '/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_18_2684.jpg', '/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_21_2779.jpg', '/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_25_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_10_2536.jpg
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_12_2676.jpg
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_16_3570.jpg
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_18_2684.jpg
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_21_2779.jpg
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_25_3623.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6471929550170898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:56:02.431445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/28/image_14122025_10_28_55_9835.jpg', '/home/pi/Desktop/images/14122025/10/28/image_14122025_10_29_05_9663.jpg', '/home/pi/Desktop/images/14122025/10/29/image_14122025_10_29_14_9719.jpg', '/home/pi/Desktop/images/14122025/10/29/image_14122025_10_29_25_10582.jpg', '/home/pi/Desktop/images/14122025/10/29/image_14122025_10_29_35_9713.jpg', '/home/pi/Desktop/images/14122025/10/29/image_14122025_10_29_44_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/28/image_14122025_10_28_55_9835.jpg
/home/pi/Desktop/images/14122025/10/28/image_14122025_10_29_05_9663.jpg
/home/pi/Desktop/images/14122025/10/29/image_14122025_10_29_14_9719.jpg
/home/pi/Desktop/images/14122025/10/29/image_14122025_10_29_25_10582.jpg
/home/pi/Desktop/images/14122025/10/29/image_14122025_10_29_35_9713.jpg
/home/pi/Desktop/images/14122025/10/29/image_14122025_10_29_44_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":["1399338635","1399338629","1399338632","1399338631","1399338630","1399338633"],"photo_ids_order":["1399338629","1399338630","1399338631","1399338632","1399338633","1399338635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a4aeabc70f2c3fb937c72b8e3434eb9.jpg","text":"TemporaryFile(/tmp/multipartBody2855078716548224743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706223081,"filename":"image_14122025_10_29_44_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bc4f0bf80da932123860b5e8b7e6fcc8.jpg","text":"TemporaryFile(/tmp/multipartBody8017241316718111297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706223081,"filename":"image_14122025_10_28_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/12/14/3cc3dcb87188989067a33e1b93769904.jpg","text":"TemporaryFile(/tmp/multipartBody3731029069331832609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706223081,"filename":"image_14122025_10_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/12/14/f946043ae38e1bab4882aaa9677e51e5.jpg","text":"TemporaryFile(/tmp/multipartBody3164335484488890552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706223081,"filename":"image_14122025_10_29_14_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/573b5582345b09cb3c81ccedd597f4cf.jpg","text":"TemporaryFile(/tmp/multipartBody2318884264658147338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706223081,"filename":"image_14122025_10_29_05_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f2c6bc91bbccb82cf5bd6a85f42fa4bb.jpg","text":"TemporaryFile(/tmp/multipartBody8035885415158329878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706223081,"filename":"image_14122025_10_29_35_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338631","file1":"1399338630","file0":"1399338629","file4":"1399338633","file5":"1399338635","file3":"1399338632"},"map_files_photo_id_array":[{"photo_id":"1399338635","filename":"file5"},{"photo_id":"1399338631","filename":"file2"},{"photo_id":"1399338633","filename":"file4"},{"photo_id":"1399338630","filename":"file1"},{"photo_id":"1399338629","filename":"file0"},{"photo_id":"1399338632","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338635":["hashtag1","hashtag2"]},{"1399338629":["hashtag1","hashtag2"]},{"1399338632":["hashtag1","hashtag2"]},{"1399338631":["hashtag1","hashtag2"]},{"1399338630":["hashtag1","hashtag2"]},{"1399338633":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338635, 1399338629, 1399338632, 1399338631, 1399338630, 1399338633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.142754316329956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 10:56:41.948758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_10_2536.jpg', '/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_12_2676.jpg', '/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_16_3570.jpg', '/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_18_2684.jpg', '/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_21_2779.jpg', '/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_25_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_10_2536.jpg
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_12_2676.jpg
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_16_3570.jpg
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_18_2684.jpg
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_21_2779.jpg
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_25_3623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338647","1399338644","1399338646","1399338642","1399338645","1399338639"],"photo_ids_order":["1399338639","1399338642","1399338644","1399338645","1399338646","1399338647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21dfadcdbad52b9f2b6d7a2c447ed550.jpg","text":"TemporaryFile(/tmp/multipartBody2042307339913923761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706262542,"filename":"image_04112025_12_51_25_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ea8214f925f53b9d50f1468cd3c816ab.jpg","text":"TemporaryFile(/tmp/multipartBody1502976674414805183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706262542,"filename":"image_04112025_12_51_16_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db90b578118da29e226101e8df14869c.jpg","text":"TemporaryFile(/tmp/multipartBody5323957842045667391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706262542,"filename":"image_04112025_12_51_21_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da47b7a57cbc8d87c27b5a2f75de5d63.jpg","text":"TemporaryFile(/tmp/multipartBody2921340750322659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706262542,"filename":"image_04112025_12_51_12_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/78741fc6fcbe0594c8ccdc2dd39bcc2f.jpg","text":"TemporaryFile(/tmp/multipartBody7428839835237360168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706262542,"filename":"image_04112025_12_51_18_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d87c63116d83775187709236dea06482.jpg","text":"TemporaryFile(/tmp/multipartBody6097208387092472452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706262542,"filename":"image_04112025_12_51_10_2536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338644","file1":"1399338642","file0":"1399338639","file4":"1399338646","file5":"1399338647","file3":"1399338645"},"map_files_photo_id_array":[{"photo_id":"1399338647","filename":"file5"},{"photo_id":"1399338644","filename":"file2"},{"photo_id":"1399338646","filename":"file4"},{"photo_id":"1399338642","filename":"file1"},{"photo_id":"1399338639","filename":"file0"},{"photo_id":"1399338645","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399338647":["hashtag1","hashtag2"]},{"1399338644":["hashtag1","hashtag2"]},{"1399338646":["hashtag1","hashtag2"]},{"1399338642":["hashtag1","hashtag2"]},{"1399338645":["hashtag1","hashtag2"]},{"1399338639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399338647, 1399338644, 1399338646, 1399338642, 1399338645, 1399338639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15000104904175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 10:57:22.367180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/29/image_14122025_10_29_55_10713.jpg', '/home/pi/Desktop/images/14122025/10/30/image_14122025_10_30_15_10056.jpg', '/home/pi/Desktop/images/14122025/10/30/image_14122025_10_30_25_10612.jpg', '/home/pi/Desktop/images/14122025/10/30/image_14122025_10_30_35_9543.jpg', '/home/pi/Desktop/images/14122025/10/30/image_14122025_10_30_46_10690.jpg', '/home/pi/Desktop/images/14122025/10/30/image_14122025_10_30_55_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/29/image_14122025_10_29_55_10713.jpg
/home/pi/Desktop/images/14122025/10/30/image_14122025_10_30_15_10056.jpg
/home/pi/Desktop/images/14122025/10/30/image_14122025_10_30_25_10612.jpg
/home/pi/Desktop/images/14122025/10/30/image_14122025_10_30_35_9543.jpg
/home/pi/Desktop/images/14122025/10/30/image_14122025_10_30_46_10690.jpg
/home/pi/Desktop/images/14122025/10/30/image_14122025_10_30_55_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399338656","1399338650","1399338652","1399338654","1399338648","1399338659"],"photo_ids_order":["1399338648","1399338650","1399338652","1399338654","1399338656","1399338659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf80767fb9f107cac179774c3e7c2359.jpg","text":"TemporaryFile(/tmp/multipartBody682790128576305126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706302992,"filename":"image_14122025_10_30_46_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8baf7e7b00890e5f17e7164a57306d08.jpg","text":"TemporaryFile(/tmp/multipartBody8146014236032612950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706302992,"filename":"image_14122025_10_30_15_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2f9081c28ede5064b3e749a6be0a967.jpg","text":"TemporaryFile(/tmp/multipartBody1389494254863163085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706302992,"filename":"image_14122025_10_30_25_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c2a273221194c20210be1c13d2b0f87c.jpg","text":"TemporaryFile(/tmp/multipartBody721880742614263249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706302992,"filename":"image_14122025_10_30_35_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/148a43ca900ee5a97ac14cc1e1ad34d6.jpg","text":"TemporaryFile(/tmp/multipartBody5293968430320995770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706302992,"filename":"image_14122025_10_29_55_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/47d6ca60bd2616cdb5da381230031005.jpg","text":"TemporaryFile(/tmp/multipartBody3481943876554501747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706302992,"filename":"image_14122025_10_30_55_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399338652","file1":"1399338650","file0":"1399338648","file4":"1399338656","file5":"1399338659","file3":"1399338654"},"map_files_photo_id_array":[{"photo_id":"1399338659","filename":"file5"},{"photo_id":"1399338652","filename":"file2"},{"photo_id":"1399338656","filename":"file4"},{"photo_id":"1399338650","filename":"file1"},{"photo_id":"1399338648","filename":"file0"},{"photo_id":"1399338654","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399338656":["hashtag1","hashtag2"]},{"1399338650":["hashtag1","hashtag2"]},{"1399338652":["hashtag1","hashtag2"]},{"1399338654":["hashtag1","hashtag2"]},{"1399338648":["hashtag1","hashtag2"]},{"1399338659":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399338656, 1399338650, 1399338652, 1399338654, 1399338648, 1399338659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02137327194214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 10:59:02.743386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/30/image_14122025_10_31_05_9613.jpg', '/home/pi/Desktop/images/14122025/10/31/image_14122025_10_31_25_9616.jpg', '/home/pi/Desktop/images/14122025/10/31/image_14122025_10_31_35_9743.jpg', '/home/pi/Desktop/images/14122025/10/31/image_14122025_10_31_46_10733.jpg', '/home/pi/Desktop/images/14122025/10/31/image_14122025_10_31_56_9850.jpg', '/home/pi/Desktop/images/14122025/10/31/image_14122025_10_32_05_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/30/image_14122025_10_31_05_9613.jpg
/home/pi/Desktop/images/14122025/10/31/image_14122025_10_31_25_9616.jpg
/home/pi/Desktop/images/14122025/10/31/image_14122025_10_31_35_9743.jpg
/home/pi/Desktop/images/14122025/10/31/image_14122025_10_31_46_10733.jpg
/home/pi/Desktop/images/14122025/10/31/image_14122025_10_31_56_9850.jpg
/home/pi/Desktop/images/14122025/10/31/image_14122025_10_32_05_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399339381","1399339291","1399339452","1399339332","1399339526","1399339256"],"photo_ids_order":["1399339256","1399339291","1399339332","1399339381","1399339452","1399339526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f764633d0a7d5559b644e7bfd07cd3e6.jpg","text":"TemporaryFile(/tmp/multipartBody3897729607219658627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706403561,"filename":"image_14122025_10_31_46_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2059232627800138ac1a9b7b8044fb26.jpg","text":"TemporaryFile(/tmp/multipartBody1168361740914588610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706403561,"filename":"image_14122025_10_31_25_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2392ceb39fd6561b248919dd0217224c.jpg","text":"TemporaryFile(/tmp/multipartBody8430674083231379620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706403561,"filename":"image_14122025_10_31_56_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c32c44f5125e43be1c6ab18a495ecdf.jpg","text":"TemporaryFile(/tmp/multipartBody8536473883324091441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706403561,"filename":"image_14122025_10_31_35_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/08078309c9e5c45c758f3e784bdb1715.jpg","text":"TemporaryFile(/tmp/multipartBody4295033762293960423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706403561,"filename":"image_14122025_10_32_05_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/749c1d3ec8c8b82263a6f084f35381aa.jpg","text":"TemporaryFile(/tmp/multipartBody7667175163724841804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706403561,"filename":"image_14122025_10_31_05_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399339332","file1":"1399339291","file0":"1399339256","file4":"1399339452","file5":"1399339526","file3":"1399339381"},"map_files_photo_id_array":[{"photo_id":"1399339526","filename":"file5"},{"photo_id":"1399339332","filename":"file2"},{"photo_id":"1399339452","filename":"file4"},{"photo_id":"1399339291","filename":"file1"},{"photo_id":"1399339256","filename":"file0"},{"photo_id":"1399339381","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399339381":["hashtag1","hashtag2"]},{"1399339291":["hashtag1","hashtag2"]},{"1399339452":["hashtag1","hashtag2"]},{"1399339332":["hashtag1","hashtag2"]},{"1399339526":["hashtag1","hashtag2"]},{"1399339256":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399339381, 1399339291, 1399339452, 1399339332, 1399339526, 1399339256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.23755168914795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:00:02.527951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/32/image_14122025_10_32_15_9652.jpg', '/home/pi/Desktop/images/14122025/10/32/image_14122025_10_32_26_10832.jpg', '/home/pi/Desktop/images/14122025/10/32/image_14122025_10_32_35_9664.jpg', '/home/pi/Desktop/images/14122025/10/32/image_14122025_10_32_45_9755.jpg', '/home/pi/Desktop/images/14122025/10/32/image_14122025_10_32_55_9643.jpg', '/home/pi/Desktop/images/14122025/10/32/image_14122025_10_33_05_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/32/image_14122025_10_32_15_9652.jpg
/home/pi/Desktop/images/14122025/10/32/image_14122025_10_32_26_10832.jpg
/home/pi/Desktop/images/14122025/10/32/image_14122025_10_32_35_9664.jpg
/home/pi/Desktop/images/14122025/10/32/image_14122025_10_32_45_9755.jpg
/home/pi/Desktop/images/14122025/10/32/image_14122025_10_32_55_9643.jpg
/home/pi/Desktop/images/14122025/10/32/image_14122025_10_33_05_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.5670263767242432 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 11:00:12.053722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:00:22.081377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/32/image_14122025_10_32_15_9652.jpg', '/home/pi/Desktop/images/14122025/10/32/image_14122025_10_32_26_10832.jpg', '/home/pi/Desktop/images/14122025/10/32/image_14122025_10_32_35_9664.jpg', '/home/pi/Desktop/images/14122025/10/32/image_14122025_10_32_45_9755.jpg', '/home/pi/Desktop/images/14122025/10/32/image_14122025_10_32_55_9643.jpg', '/home/pi/Desktop/images/14122025/10/32/image_14122025_10_33_05_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/32/image_14122025_10_32_15_9652.jpg
/home/pi/Desktop/images/14122025/10/32/image_14122025_10_32_26_10832.jpg
/home/pi/Desktop/images/14122025/10/32/image_14122025_10_32_35_9664.jpg
/home/pi/Desktop/images/14122025/10/32/image_14122025_10_32_45_9755.jpg
/home/pi/Desktop/images/14122025/10/32/image_14122025_10_32_55_9643.jpg
/home/pi/Desktop/images/14122025/10/32/image_14122025_10_33_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":["1399339835","1399339837","1399339833","1399339806","1399339832","1399339826"],"photo_ids_order":["1399339806","1399339826","1399339832","1399339833","1399339835","1399339837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/11654b279bcc7c17f91034817b2d6ae8.jpg","text":"TemporaryFile(/tmp/multipartBody392491631489804662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706482700,"filename":"image_14122025_10_32_55_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f84e5724e4943b9bc33bf0e58efc69b4.jpg","text":"TemporaryFile(/tmp/multipartBody6569345049376079128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706482700,"filename":"image_14122025_10_33_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/12/14/2b050135a55059073868f33c5757b687.jpg","text":"TemporaryFile(/tmp/multipartBody1097544367498554143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706482700,"filename":"image_14122025_10_32_45_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5618c44db471b857d70ef959a8cf18dd.jpg","text":"TemporaryFile(/tmp/multipartBody5503769039608742751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706482700,"filename":"image_14122025_10_32_15_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3878c3968d7c52484603e8dddbb4f0b2.jpg","text":"TemporaryFile(/tmp/multipartBody6316887000743271511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706482700,"filename":"image_14122025_10_32_35_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29762976c295a5a0601cec25e4e1e1c3.jpg","text":"TemporaryFile(/tmp/multipartBody5663185452076204938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706482700,"filename":"image_14122025_10_32_26_10832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399339832","file1":"1399339826","file0":"1399339806","file4":"1399339835","file5":"1399339837","file3":"1399339833"},"map_files_photo_id_array":[{"photo_id":"1399339837","filename":"file5"},{"photo_id":"1399339832","filename":"file2"},{"photo_id":"1399339835","filename":"file4"},{"photo_id":"1399339826","filename":"file1"},{"photo_id":"1399339806","filename":"file0"},{"photo_id":"1399339833","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399339835":["hashtag1","hashtag2"]},{"1399339837":["hashtag1","hashtag2"]},{"1399339833":["hashtag1","hashtag2"]},{"1399339806":["hashtag1","hashtag2"]},{"1399339832":["hashtag1","hashtag2"]},{"1399339826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399339835, 1399339837, 1399339833, 1399339806, 1399339832, 1399339826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74039435386658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:01:02.961744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/33/image_14122025_10_33_15_9771.jpg', '/home/pi/Desktop/images/14122025/10/33/image_14122025_10_33_25_9580.jpg', '/home/pi/Desktop/images/14122025/10/33/image_14122025_10_33_36_10798.jpg', '/home/pi/Desktop/images/14122025/10/33/image_14122025_10_33_45_9789.jpg', '/home/pi/Desktop/images/14122025/10/33/image_14122025_10_33_55_9641.jpg', '/home/pi/Desktop/images/14122025/10/34/image_14122025_10_34_25_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/33/image_14122025_10_33_15_9771.jpg
/home/pi/Desktop/images/14122025/10/33/image_14122025_10_33_25_9580.jpg
/home/pi/Desktop/images/14122025/10/33/image_14122025_10_33_36_10798.jpg
/home/pi/Desktop/images/14122025/10/33/image_14122025_10_33_45_9789.jpg
/home/pi/Desktop/images/14122025/10/33/image_14122025_10_33_55_9641.jpg
/home/pi/Desktop/images/14122025/10/34/image_14122025_10_34_25_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":["1399339846","1399339849","1399339845","1399339841","1399339844","1399339847"],"photo_ids_order":["1399339841","1399339844","1399339845","1399339846","1399339847","1399339849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2df4c480a2187f72ba6fa02c58b9f296.jpg","text":"TemporaryFile(/tmp/multipartBody6912854751602040791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706523699,"filename":"image_14122025_10_33_45_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0e92f4242d9f837daa9d207fd17ce84a.jpg","text":"TemporaryFile(/tmp/multipartBody7380552176198347055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706523699,"filename":"image_14122025_10_34_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f227596dd8d8e118d26b7fd14f21dc61.jpg","text":"TemporaryFile(/tmp/multipartBody5803289236462361702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706523699,"filename":"image_14122025_10_33_36_10798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fa221b29143c2060e1d563d10475d9ef.jpg","text":"TemporaryFile(/tmp/multipartBody110539918711040464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706523699,"filename":"image_14122025_10_33_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/12/14/338e10758270e0f119f86080d166178b.jpg","text":"TemporaryFile(/tmp/multipartBody4709000173050144070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706523699,"filename":"image_14122025_10_33_25_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d917e17e3902bb9aa7684d68566ec913.jpg","text":"TemporaryFile(/tmp/multipartBody4250493767674248086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706523699,"filename":"image_14122025_10_33_55_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399339845","file1":"1399339844","file0":"1399339841","file4":"1399339847","file5":"1399339849","file3":"1399339846"},"map_files_photo_id_array":[{"photo_id":"1399339849","filename":"file5"},{"photo_id":"1399339845","filename":"file2"},{"photo_id":"1399339847","filename":"file4"},{"photo_id":"1399339844","filename":"file1"},{"photo_id":"1399339841","filename":"file0"},{"photo_id":"1399339846","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399339846":["hashtag1","hashtag2"]},{"1399339849":["hashtag1","hashtag2"]},{"1399339845":["hashtag1","hashtag2"]},{"1399339841":["hashtag1","hashtag2"]},{"1399339844":["hashtag1","hashtag2"]},{"1399339847":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399339846, 1399339849, 1399339845, 1399339841, 1399339844, 1399339847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25591516494751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:01:42.250479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_28_2650.jpg', '/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_31_3576.jpg', '/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_34_2784.jpg', '/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_37_2625.jpg', '/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_40_3546.jpg', '/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_43_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_28_2650.jpg
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_31_3576.jpg
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_34_2784.jpg
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_37_2625.jpg
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_40_3546.jpg
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_43_2732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399339855","1399339858","1399339857","1399339856","1399339859","1399339853"],"photo_ids_order":["1399339853","1399339855","1399339856","1399339857","1399339858","1399339859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5820aa0952e387a613e1b2ba2229ac0e.jpg","text":"TemporaryFile(/tmp/multipartBody3601554212100972482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706562953,"filename":"image_04112025_12_51_31_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/49a684918dd108e8612bdf9bf1ffd1d2.jpg","text":"TemporaryFile(/tmp/multipartBody6034370757252963080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706562953,"filename":"image_04112025_12_51_40_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13a1e3c922e4136ce6aca193a79cbea8.jpg","text":"TemporaryFile(/tmp/multipartBody6954236523497771540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706562953,"filename":"image_04112025_12_51_37_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6a5f91527f3363134e50415cee60976.jpg","text":"TemporaryFile(/tmp/multipartBody5641148803690760612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706562953,"filename":"image_04112025_12_51_34_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c2232143964954de10f30b01badf1bdb.jpg","text":"TemporaryFile(/tmp/multipartBody2029226308271660263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706562953,"filename":"image_04112025_12_51_43_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e4e98f70fb72bba86e147fee2d44585.jpg","text":"TemporaryFile(/tmp/multipartBody9194326507473257339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706562953,"filename":"image_04112025_12_51_28_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399339856","file1":"1399339855","file0":"1399339853","file4":"1399339858","file5":"1399339859","file3":"1399339857"},"map_files_photo_id_array":[{"photo_id":"1399339859","filename":"file5"},{"photo_id":"1399339856","filename":"file2"},{"photo_id":"1399339858","filename":"file4"},{"photo_id":"1399339855","filename":"file1"},{"photo_id":"1399339853","filename":"file0"},{"photo_id":"1399339857","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399339855":["hashtag1","hashtag2"]},{"1399339858":["hashtag1","hashtag2"]},{"1399339857":["hashtag1","hashtag2"]},{"1399339856":["hashtag1","hashtag2"]},{"1399339859":["hashtag1","hashtag2"]},{"1399339853":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399339855, 1399339858, 1399339857, 1399339856, 1399339859, 1399339853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82350826263428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:02:22.555636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/34/image_14122025_10_34_46_10745.jpg', '/home/pi/Desktop/images/14122025/10/34/image_14122025_10_34_55_9752.jpg', '/home/pi/Desktop/images/14122025/10/35/image_14122025_10_35_13_10058.jpg', '/home/pi/Desktop/images/14122025/10/35/image_14122025_10_35_24_10657.jpg', '/home/pi/Desktop/images/14122025/10/36/image_14122025_10_36_14_9831.jpg', '/home/pi/Desktop/images/14122025/10/36/image_14122025_10_37_03_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/34/image_14122025_10_34_46_10745.jpg
/home/pi/Desktop/images/14122025/10/34/image_14122025_10_34_55_9752.jpg
/home/pi/Desktop/images/14122025/10/35/image_14122025_10_35_13_10058.jpg
/home/pi/Desktop/images/14122025/10/35/image_14122025_10_35_24_10657.jpg
/home/pi/Desktop/images/14122025/10/36/image_14122025_10_36_14_9831.jpg
/home/pi/Desktop/images/14122025/10/36/image_14122025_10_37_03_9560.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5045981407165527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 11:02:32.506161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:02:42.546644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_45_2687.jpg', '/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_48_2616.jpg', '/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_52_3736.jpg', '/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_54_2660.jpg', '/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_58_3529.jpg', '/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_01_2804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_45_2687.jpg
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_48_2616.jpg
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_52_3736.jpg
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_54_2660.jpg
/home/pi/Desktop/images/04112025/12/51/image_04112025_12_51_58_3529.jpg
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_01_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":["1399339873","1399339876","1399339875","1399339872","1399339874","1399339871"],"photo_ids_order":["1399339871","1399339872","1399339873","1399339874","1399339875","1399339876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f96246bd0b9e5712bb0beadb5552b1a1.jpg","text":"TemporaryFile(/tmp/multipartBody5306843596834489944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706623265,"filename":"image_04112025_12_51_52_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/633490734b1497cd145dea6be0f37b60.jpg","text":"TemporaryFile(/tmp/multipartBody4161193723929174954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706623265,"filename":"image_04112025_12_52_01_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd59de0524958e0c583e0b7e56cc9b76.jpg","text":"TemporaryFile(/tmp/multipartBody4979413725832387496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706623265,"filename":"image_04112025_12_51_58_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4feea5a24eae8a09da3892b686958339.jpg","text":"TemporaryFile(/tmp/multipartBody3134107031932517888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706623265,"filename":"image_04112025_12_51_48_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2dc2569681cb3ce61c93853b579ca422.jpg","text":"TemporaryFile(/tmp/multipartBody3707128361807112754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706623265,"filename":"image_04112025_12_51_54_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63b23f32fd4cf211cd0bf0fd3615d209.jpg","text":"TemporaryFile(/tmp/multipartBody5858443517692561793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706623265,"filename":"image_04112025_12_51_45_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399339873","file1":"1399339872","file0":"1399339871","file4":"1399339875","file5":"1399339876","file3":"1399339874"},"map_files_photo_id_array":[{"photo_id":"1399339876","filename":"file5"},{"photo_id":"1399339873","filename":"file2"},{"photo_id":"1399339875","filename":"file4"},{"photo_id":"1399339872","filename":"file1"},{"photo_id":"1399339871","filename":"file0"},{"photo_id":"1399339874","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399339873":["hashtag1","hashtag2"]},{"1399339876":["hashtag1","hashtag2"]},{"1399339875":["hashtag1","hashtag2"]},{"1399339872":["hashtag1","hashtag2"]},{"1399339874":["hashtag1","hashtag2"]},{"1399339871":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399339873, 1399339876, 1399339875, 1399339872, 1399339874, 1399339871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.814146280288696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:03:22.899679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/34/image_14122025_10_34_46_10745.jpg', '/home/pi/Desktop/images/14122025/10/34/image_14122025_10_34_55_9752.jpg', '/home/pi/Desktop/images/14122025/10/35/image_14122025_10_35_13_10058.jpg', '/home/pi/Desktop/images/14122025/10/35/image_14122025_10_35_24_10657.jpg', '/home/pi/Desktop/images/14122025/10/36/image_14122025_10_36_14_9831.jpg', '/home/pi/Desktop/images/14122025/10/36/image_14122025_10_37_03_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/34/image_14122025_10_34_46_10745.jpg
/home/pi/Desktop/images/14122025/10/34/image_14122025_10_34_55_9752.jpg
/home/pi/Desktop/images/14122025/10/35/image_14122025_10_35_13_10058.jpg
/home/pi/Desktop/images/14122025/10/35/image_14122025_10_35_24_10657.jpg
/home/pi/Desktop/images/14122025/10/36/image_14122025_10_36_14_9831.jpg
/home/pi/Desktop/images/14122025/10/36/image_14122025_10_37_03_9560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399340150","1399340438","1399340077","1399340371","1399340218","1399340297"],"photo_ids_order":["1399340077","1399340150","1399340218","1399340297","1399340371","1399340438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f972be246551c0cf4d215fdcc1b1de1.jpg","text":"TemporaryFile(/tmp/multipartBody2144226002966605861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706663516,"filename":"image_14122025_10_34_55_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/390526d8b484d9bd078e5c6ef6c52ecf.jpg","text":"TemporaryFile(/tmp/multipartBody8814578955209692152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706663516,"filename":"image_14122025_10_37_03_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/39d721e7b66b9f1d0ddc5bdc0a755fe0.jpg","text":"TemporaryFile(/tmp/multipartBody4601357328988367705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706663516,"filename":"image_14122025_10_34_46_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4378923eed72b298595aa00c891b8f3e.jpg","text":"TemporaryFile(/tmp/multipartBody922712119649708811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706663516,"filename":"image_14122025_10_36_14_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94223c266c33884a915885000099b011.jpg","text":"TemporaryFile(/tmp/multipartBody7249441698505619396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706663516,"filename":"image_14122025_10_35_13_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/138a329dacdc85e926e34362376d3e14.jpg","text":"TemporaryFile(/tmp/multipartBody2991419357542994957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706663516,"filename":"image_14122025_10_35_24_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399340218","file1":"1399340150","file0":"1399340077","file4":"1399340371","file5":"1399340438","file3":"1399340297"},"map_files_photo_id_array":[{"photo_id":"1399340438","filename":"file5"},{"photo_id":"1399340218","filename":"file2"},{"photo_id":"1399340371","filename":"file4"},{"photo_id":"1399340150","filename":"file1"},{"photo_id":"1399340077","filename":"file0"},{"photo_id":"1399340297","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399340150":["hashtag1","hashtag2"]},{"1399340438":["hashtag1","hashtag2"]},{"1399340077":["hashtag1","hashtag2"]},{"1399340371":["hashtag1","hashtag2"]},{"1399340218":["hashtag1","hashtag2"]},{"1399340297":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399340150, 1399340438, 1399340077, 1399340371, 1399340218, 1399340297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.952045917510986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:04:02.608369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/37/image_14122025_10_37_14_10643.jpg', '/home/pi/Desktop/images/14122025/10/37/image_14122025_10_37_34_9837.jpg', '/home/pi/Desktop/images/14122025/10/37/image_14122025_10_37_44_10736.jpg', '/home/pi/Desktop/images/14122025/10/37/image_14122025_10_37_54_9657.jpg', '/home/pi/Desktop/images/14122025/10/38/image_14122025_10_39_04_9969.jpg', '/home/pi/Desktop/images/14122025/10/39/image_14122025_10_39_24_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/37/image_14122025_10_37_14_10643.jpg
/home/pi/Desktop/images/14122025/10/37/image_14122025_10_37_34_9837.jpg
/home/pi/Desktop/images/14122025/10/37/image_14122025_10_37_44_10736.jpg
/home/pi/Desktop/images/14122025/10/37/image_14122025_10_37_54_9657.jpg
/home/pi/Desktop/images/14122025/10/38/image_14122025_10_39_04_9969.jpg
/home/pi/Desktop/images/14122025/10/39/image_14122025_10_39_24_9819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399340974","1399341052","1399340769","1399340697","1399340844","1399340910"],"photo_ids_order":["1399340697","1399340769","1399340844","1399340910","1399340974","1399341052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9b1122b5afd3084a9e4622125ab48770.jpg","text":"TemporaryFile(/tmp/multipartBody1966973200271247914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706703359,"filename":"image_14122025_10_39_04_9969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2c6dc02e93e532126a79a0040f100923.jpg","text":"TemporaryFile(/tmp/multipartBody3606070768424464719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706703359,"filename":"image_14122025_10_39_24_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f2d13b5573580398f33392c86ddeffa.jpg","text":"TemporaryFile(/tmp/multipartBody2166953978117484536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706703359,"filename":"image_14122025_10_37_34_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/40f963e9618daa68c6831f96e0acc8d3.jpg","text":"TemporaryFile(/tmp/multipartBody3487098793772244106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706703359,"filename":"image_14122025_10_37_14_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3bb8c0bea13a6c0098328252fe930f12.jpg","text":"TemporaryFile(/tmp/multipartBody1803330638228904617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706703359,"filename":"image_14122025_10_37_44_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb71437f19b12306a573ae998e5e26c0.jpg","text":"TemporaryFile(/tmp/multipartBody2946127065321095552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706703359,"filename":"image_14122025_10_37_54_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399340844","file1":"1399340769","file0":"1399340697","file4":"1399340974","file5":"1399341052","file3":"1399340910"},"map_files_photo_id_array":[{"photo_id":"1399341052","filename":"file5"},{"photo_id":"1399340844","filename":"file2"},{"photo_id":"1399340974","filename":"file4"},{"photo_id":"1399340769","filename":"file1"},{"photo_id":"1399340697","filename":"file0"},{"photo_id":"1399340910","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399340974":["hashtag1","hashtag2"]},{"1399341052":["hashtag1","hashtag2"]},{"1399340769":["hashtag1","hashtag2"]},{"1399340697":["hashtag1","hashtag2"]},{"1399340844":["hashtag1","hashtag2"]},{"1399340910":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399340974, 1399341052, 1399340769, 1399340697, 1399340844, 1399340910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61611866950989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:04:41.990468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_03_2653.jpg', '/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_06_2610.jpg', '/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_10_3878.jpg', '/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_13_2700.jpg', '/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_15_2698.jpg', '/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_19_3602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_03_2653.jpg
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_06_2610.jpg
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_10_3878.jpg
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_13_2700.jpg
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_15_2698.jpg
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_19_3602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399341803","1399341632","1399341733","1399341424","1399341876","1399341524"],"photo_ids_order":["1399341424","1399341524","1399341632","1399341733","1399341803","1399341876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/285b7b3cfe6f095b55747f8797832c90.jpg","text":"TemporaryFile(/tmp/multipartBody6893498735525253196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706742686,"filename":"image_04112025_12_52_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/12/14/90dda10e70335f317a7b809f6b4f6ff2.jpg","text":"TemporaryFile(/tmp/multipartBody124930848569795343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706742686,"filename":"image_04112025_12_52_10_3878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8325af32641ca03601744f99ebb4768b.jpg","text":"TemporaryFile(/tmp/multipartBody1006561759398745958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706742686,"filename":"image_04112025_12_52_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/12/14/5d5d1a74e5bda2fff8d7a58f6992a9bd.jpg","text":"TemporaryFile(/tmp/multipartBody7855198518250564617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706742686,"filename":"image_04112025_12_52_03_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2170710c551227b66bd7cadad8cc04de.jpg","text":"TemporaryFile(/tmp/multipartBody465048900596353831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706742686,"filename":"image_04112025_12_52_19_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd1d2b08473b121787aca01a42ed4065.jpg","text":"TemporaryFile(/tmp/multipartBody4432034802590055543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706742686,"filename":"image_04112025_12_52_06_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399341632","file1":"1399341524","file0":"1399341424","file4":"1399341803","file5":"1399341876","file3":"1399341733"},"map_files_photo_id_array":[{"photo_id":"1399341876","filename":"file5"},{"photo_id":"1399341632","filename":"file2"},{"photo_id":"1399341803","filename":"file4"},{"photo_id":"1399341524","filename":"file1"},{"photo_id":"1399341424","filename":"file0"},{"photo_id":"1399341733","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399341803":["hashtag1","hashtag2"]},{"1399341632":["hashtag1","hashtag2"]},{"1399341733":["hashtag1","hashtag2"]},{"1399341424":["hashtag1","hashtag2"]},{"1399341876":["hashtag1","hashtag2"]},{"1399341524":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399341803, 1399341632, 1399341733, 1399341424, 1399341876, 1399341524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39767360687256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:05:22.391310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/39/image_14122025_10_39_34_9624.jpg', '/home/pi/Desktop/images/14122025/10/39/image_14122025_10_39_44_10754.jpg', '/home/pi/Desktop/images/14122025/10/40/image_14122025_10_40_14_10059.jpg', '/home/pi/Desktop/images/14122025/10/40/image_14122025_10_40_44_9586.jpg', '/home/pi/Desktop/images/14122025/10/40/image_14122025_10_40_55_10738.jpg', '/home/pi/Desktop/images/14122025/10/40/image_14122025_10_41_04_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/39/image_14122025_10_39_34_9624.jpg
/home/pi/Desktop/images/14122025/10/39/image_14122025_10_39_44_10754.jpg
/home/pi/Desktop/images/14122025/10/40/image_14122025_10_40_14_10059.jpg
/home/pi/Desktop/images/14122025/10/40/image_14122025_10_40_44_9586.jpg
/home/pi/Desktop/images/14122025/10/40/image_14122025_10_40_55_10738.jpg
/home/pi/Desktop/images/14122025/10/40/image_14122025_10_41_04_9787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399342560","1399342455","1399342347","1399342122","1399342277","1399342192"],"photo_ids_order":["1399342122","1399342192","1399342277","1399342347","1399342455","1399342560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/807979c1fe7a7590922a93385768d7f8.jpg","text":"TemporaryFile(/tmp/multipartBody5520394634940003553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706783057,"filename":"image_14122025_10_41_04_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d46604d6df26480e338d97ee63f45a26.jpg","text":"TemporaryFile(/tmp/multipartBody7630565614373150057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706783057,"filename":"image_14122025_10_40_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/12/14/5dddc744d0f16a8496e5539b06fd2371.jpg","text":"TemporaryFile(/tmp/multipartBody4555303595066360076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706783057,"filename":"image_14122025_10_40_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/12/14/fc9a3893a907a1e9fd023e1258c979c6.jpg","text":"TemporaryFile(/tmp/multipartBody4696600893134946025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706783057,"filename":"image_14122025_10_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/12/14/9e65e7ba9930b51ff3e8eebc74d6a409.jpg","text":"TemporaryFile(/tmp/multipartBody5050305593676814682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706783057,"filename":"image_14122025_10_40_14_10059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/198fb41f67830a22bd9115b1b4fcd1ab.jpg","text":"TemporaryFile(/tmp/multipartBody903595207233485415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706783057,"filename":"image_14122025_10_39_44_10754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399342277","file1":"1399342192","file0":"1399342122","file4":"1399342455","file5":"1399342560","file3":"1399342347"},"map_files_photo_id_array":[{"photo_id":"1399342560","filename":"file5"},{"photo_id":"1399342277","filename":"file2"},{"photo_id":"1399342455","filename":"file4"},{"photo_id":"1399342192","filename":"file1"},{"photo_id":"1399342122","filename":"file0"},{"photo_id":"1399342347","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399342560":["hashtag1","hashtag2"]},{"1399342455":["hashtag1","hashtag2"]},{"1399342347":["hashtag1","hashtag2"]},{"1399342122":["hashtag1","hashtag2"]},{"1399342277":["hashtag1","hashtag2"]},{"1399342192":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399342560, 1399342455, 1399342347, 1399342122, 1399342277, 1399342192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97654604911804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:06:02.956688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/41/image_14122025_10_41_24_9741.jpg', '/home/pi/Desktop/images/14122025/10/41/image_14122025_10_41_35_10761.jpg', '/home/pi/Desktop/images/14122025/10/41/image_14122025_10_41_44_9642.jpg', '/home/pi/Desktop/images/14122025/10/43/image_14122025_10_43_24_9608.jpg', '/home/pi/Desktop/images/14122025/10/43/image_14122025_10_43_44_9681.jpg', '/home/pi/Desktop/images/14122025/10/43/image_14122025_10_43_55_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/41/image_14122025_10_41_24_9741.jpg
/home/pi/Desktop/images/14122025/10/41/image_14122025_10_41_35_10761.jpg
/home/pi/Desktop/images/14122025/10/41/image_14122025_10_41_44_9642.jpg
/home/pi/Desktop/images/14122025/10/43/image_14122025_10_43_24_9608.jpg
/home/pi/Desktop/images/14122025/10/43/image_14122025_10_43_44_9681.jpg
/home/pi/Desktop/images/14122025/10/43/image_14122025_10_43_55_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399343199","1399343289","1399342961","1399343033","1399343359","1399343107"],"photo_ids_order":["1399342961","1399343033","1399343107","1399343199","1399343289","1399343359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ed4806ee3a600503d314de61753f733.jpg","text":"TemporaryFile(/tmp/multipartBody5640444889390105542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706823600,"filename":"image_14122025_10_43_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3922074d0ae4a53f4ec59e078018afd3.jpg","text":"TemporaryFile(/tmp/multipartBody4019336585520185502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706823600,"filename":"image_14122025_10_43_44_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/810af725b548d61c60347bdb6b16e9fe.jpg","text":"TemporaryFile(/tmp/multipartBody5043729906231797655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706823600,"filename":"image_14122025_10_41_24_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f45fc999c94f77ffd082db7ce9128213.jpg","text":"TemporaryFile(/tmp/multipartBody8872321721288066518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706823600,"filename":"image_14122025_10_41_35_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf9e7c06101ca64ff50f11f001344bc2.jpg","text":"TemporaryFile(/tmp/multipartBody5045811740193249231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706823600,"filename":"image_14122025_10_43_55_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc2ac34c5be5825856d6bf7d8064d72b.jpg","text":"TemporaryFile(/tmp/multipartBody7797259019135238765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706823600,"filename":"image_14122025_10_41_44_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399343107","file1":"1399343033","file0":"1399342961","file4":"1399343289","file5":"1399343359","file3":"1399343199"},"map_files_photo_id_array":[{"photo_id":"1399343359","filename":"file5"},{"photo_id":"1399343107","filename":"file2"},{"photo_id":"1399343289","filename":"file4"},{"photo_id":"1399343033","filename":"file1"},{"photo_id":"1399342961","filename":"file0"},{"photo_id":"1399343199","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399343199":["hashtag1","hashtag2"]},{"1399343289":["hashtag1","hashtag2"]},{"1399342961":["hashtag1","hashtag2"]},{"1399343033":["hashtag1","hashtag2"]},{"1399343359":["hashtag1","hashtag2"]},{"1399343107":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399343199, 1399343289, 1399342961, 1399343033, 1399343359, 1399343107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93420100212097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:06:42.465338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_22_2758.jpg', '/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_24_2683.jpg', '/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_27_2671.jpg', '/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_31_3579.jpg', '/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_33_2556.jpg', '/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_37_3786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_22_2758.jpg
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_24_2683.jpg
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_27_2671.jpg
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_31_3579.jpg
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_33_2556.jpg
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_37_3786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399343688","1399343904","1399343762","1399343633","1399343998","1399343833"],"photo_ids_order":["1399343633","1399343688","1399343762","1399343833","1399343904","1399343998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1a87d1cf3d79fe2ada1fac754a2eb234.jpg","text":"TemporaryFile(/tmp/multipartBody1532058220057110936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706863186,"filename":"image_04112025_12_52_24_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/feeeb0349762fd3ab2757d29d1e31e75.jpg","text":"TemporaryFile(/tmp/multipartBody2147386617972726700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706863186,"filename":"image_04112025_12_52_33_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/89d95c9a26f3f912f12c0df8fa9fa377.jpg","text":"TemporaryFile(/tmp/multipartBody4362711092677817748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706863186,"filename":"image_04112025_12_52_27_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/52411fc6b06ca7a3f42f4e2981a6fce1.jpg","text":"TemporaryFile(/tmp/multipartBody5180994464211772813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706863186,"filename":"image_04112025_12_52_22_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/429bcd303c2567d665018782e9c33f84.jpg","text":"TemporaryFile(/tmp/multipartBody1251474547340739125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706863186,"filename":"image_04112025_12_52_37_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe12165ad2fd1fc85ad442e7ae79be7f.jpg","text":"TemporaryFile(/tmp/multipartBody3488293575027633006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706863186,"filename":"image_04112025_12_52_31_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399343762","file1":"1399343688","file0":"1399343633","file4":"1399343904","file5":"1399343998","file3":"1399343833"},"map_files_photo_id_array":[{"photo_id":"1399343998","filename":"file5"},{"photo_id":"1399343762","filename":"file2"},{"photo_id":"1399343904","filename":"file4"},{"photo_id":"1399343688","filename":"file1"},{"photo_id":"1399343633","filename":"file0"},{"photo_id":"1399343833","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399343688":["hashtag1","hashtag2"]},{"1399343904":["hashtag1","hashtag2"]},{"1399343762":["hashtag1","hashtag2"]},{"1399343633":["hashtag1","hashtag2"]},{"1399343998":["hashtag1","hashtag2"]},{"1399343833":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399343688, 1399343904, 1399343762, 1399343633, 1399343998, 1399343833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00677514076233 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:07:22.744247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/44/image_14122025_10_44_24_9852.jpg', '/home/pi/Desktop/images/14122025/10/44/image_14122025_10_44_35_10689.jpg', '/home/pi/Desktop/images/14122025/10/44/image_14122025_10_44_44_9877.jpg', '/home/pi/Desktop/images/14122025/10/44/image_14122025_10_44_54_9623.jpg', '/home/pi/Desktop/images/14122025/10/46/image_14122025_10_46_14_10037.jpg', '/home/pi/Desktop/images/14122025/10/46/image_14122025_10_46_25_10807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/44/image_14122025_10_44_24_9852.jpg
/home/pi/Desktop/images/14122025/10/44/image_14122025_10_44_35_10689.jpg
/home/pi/Desktop/images/14122025/10/44/image_14122025_10_44_44_9877.jpg
/home/pi/Desktop/images/14122025/10/44/image_14122025_10_44_54_9623.jpg
/home/pi/Desktop/images/14122025/10/46/image_14122025_10_46_14_10037.jpg
/home/pi/Desktop/images/14122025/10/46/image_14122025_10_46_25_10807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399344447","1399344411","1399344394","1399344262","1399344409","1399344325"],"photo_ids_order":["1399344262","1399344325","1399344394","1399344409","1399344411","1399344447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/68abcfafc0f3975c32b3547c49555749.jpg","text":"TemporaryFile(/tmp/multipartBody1080665506805929415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706903416,"filename":"image_14122025_10_46_25_10807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b1d246acc53880563ae346006463f98f.jpg","text":"TemporaryFile(/tmp/multipartBody4499883468395895671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706903416,"filename":"image_14122025_10_46_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b8049b86eeb6cf9261d66790f652fb35.jpg","text":"TemporaryFile(/tmp/multipartBody4190610236787482588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706903416,"filename":"image_14122025_10_44_44_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a4095846fd5baa57eaa9e647507d88d.jpg","text":"TemporaryFile(/tmp/multipartBody6792869226179915302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706903416,"filename":"image_14122025_10_44_24_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b07d3aa2157d893d02d20f7dc6b74252.jpg","text":"TemporaryFile(/tmp/multipartBody4285327168482021426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706903416,"filename":"image_14122025_10_44_54_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/32d3da677feba4f957498f964a03398b.jpg","text":"TemporaryFile(/tmp/multipartBody315073492203016686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706903416,"filename":"image_14122025_10_44_35_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399344394","file1":"1399344325","file0":"1399344262","file4":"1399344411","file5":"1399344447","file3":"1399344409"},"map_files_photo_id_array":[{"photo_id":"1399344447","filename":"file5"},{"photo_id":"1399344394","filename":"file2"},{"photo_id":"1399344411","filename":"file4"},{"photo_id":"1399344325","filename":"file1"},{"photo_id":"1399344262","filename":"file0"},{"photo_id":"1399344409","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399344447":["hashtag1","hashtag2"]},{"1399344411":["hashtag1","hashtag2"]},{"1399344394":["hashtag1","hashtag2"]},{"1399344262":["hashtag1","hashtag2"]},{"1399344409":["hashtag1","hashtag2"]},{"1399344325":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399344447, 1399344411, 1399344394, 1399344262, 1399344409, 1399344325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.6632297039032 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 11:08:11.916482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:08:21.944894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/46/image_14122025_10_46_34_9695.jpg', '/home/pi/Desktop/images/14122025/10/46/image_14122025_10_46_44_9682.jpg', '/home/pi/Desktop/images/14122025/10/46/image_14122025_10_46_54_9783.jpg', '/home/pi/Desktop/images/14122025/10/46/image_14122025_10_47_05_10611.jpg', '/home/pi/Desktop/images/14122025/10/47/image_14122025_10_47_34_9947.jpg', '/home/pi/Desktop/images/14122025/10/47/image_14122025_10_47_45_10812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/46/image_14122025_10_46_34_9695.jpg
/home/pi/Desktop/images/14122025/10/46/image_14122025_10_46_44_9682.jpg
/home/pi/Desktop/images/14122025/10/46/image_14122025_10_46_54_9783.jpg
/home/pi/Desktop/images/14122025/10/46/image_14122025_10_47_05_10611.jpg
/home/pi/Desktop/images/14122025/10/47/image_14122025_10_47_34_9947.jpg
/home/pi/Desktop/images/14122025/10/47/image_14122025_10_47_45_10812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399344453","1399344596","1399344452","1399344482","1399344557","1399344520"],"photo_ids_order":["1399344452","1399344453","1399344482","1399344520","1399344557","1399344596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a52bfcefd5d733d3109ccabf947415a9.jpg","text":"TemporaryFile(/tmp/multipartBody5082438404732583952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706962612,"filename":"image_14122025_10_46_44_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/85bfb3c34efbdc62b1c318c30e88073f.jpg","text":"TemporaryFile(/tmp/multipartBody7149159165474112093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706962612,"filename":"image_14122025_10_47_45_10812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/78f1fa94f335574e38ecd27f15a2e61b.jpg","text":"TemporaryFile(/tmp/multipartBody3346569687162315289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706962612,"filename":"image_14122025_10_46_34_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f26f9372eff21ce26117b4e42ab3fcb.jpg","text":"TemporaryFile(/tmp/multipartBody37879343691922722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706962612,"filename":"image_14122025_10_46_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/12/14/741bc528d1abb4f010adf98d222d59db.jpg","text":"TemporaryFile(/tmp/multipartBody1012548507535661173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706962612,"filename":"image_14122025_10_47_34_9947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cea981534d447c7e8041cf46f8f5b0b8.jpg","text":"TemporaryFile(/tmp/multipartBody9189661665811405518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765706962612,"filename":"image_14122025_10_47_05_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399344482","file1":"1399344453","file0":"1399344452","file4":"1399344557","file5":"1399344596","file3":"1399344520"},"map_files_photo_id_array":[{"photo_id":"1399344596","filename":"file5"},{"photo_id":"1399344482","filename":"file2"},{"photo_id":"1399344557","filename":"file4"},{"photo_id":"1399344453","filename":"file1"},{"photo_id":"1399344452","filename":"file0"},{"photo_id":"1399344520","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399344453":["hashtag1","hashtag2"]},{"1399344596":["hashtag1","hashtag2"]},{"1399344452":["hashtag1","hashtag2"]},{"1399344482":["hashtag1","hashtag2"]},{"1399344557":["hashtag1","hashtag2"]},{"1399344520":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399344453, 1399344596, 1399344452, 1399344482, 1399344557, 1399344520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46065926551819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:09:03.149991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/47/image_14122025_10_47_55_9732.jpg', '/home/pi/Desktop/images/14122025/10/47/image_14122025_10_48_04_9731.jpg', '/home/pi/Desktop/images/14122025/10/48/image_14122025_10_48_15_10715.jpg', '/home/pi/Desktop/images/14122025/10/48/image_14122025_10_48_25_9559.jpg', '/home/pi/Desktop/images/14122025/10/48/image_14122025_10_48_34_9593.jpg', '/home/pi/Desktop/images/14122025/10/48/image_14122025_10_48_45_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/47/image_14122025_10_47_55_9732.jpg
/home/pi/Desktop/images/14122025/10/47/image_14122025_10_48_04_9731.jpg
/home/pi/Desktop/images/14122025/10/48/image_14122025_10_48_15_10715.jpg
/home/pi/Desktop/images/14122025/10/48/image_14122025_10_48_25_9559.jpg
/home/pi/Desktop/images/14122025/10/48/image_14122025_10_48_34_9593.jpg
/home/pi/Desktop/images/14122025/10/48/image_14122025_10_48_45_10679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399344756","1399344741","1399344791","1399344752","1399344751","1399344753"],"photo_ids_order":["1399344741","1399344751","1399344752","1399344753","1399344756","1399344791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fcbc19c90ba7925cd766de5894f849f2.jpg","text":"TemporaryFile(/tmp/multipartBody1583527642262465600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707003949,"filename":"image_14122025_10_48_34_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fea810b19528447c0e3a00758ca6cfd3.jpg","text":"TemporaryFile(/tmp/multipartBody6302593170402736372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707003949,"filename":"image_14122025_10_47_55_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a6a7b9fdb5f391cd856ad171c237c920.jpg","text":"TemporaryFile(/tmp/multipartBody3195249756982650575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707003949,"filename":"image_14122025_10_48_45_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7719c190ab12315743efc8e409abc6dd.jpg","text":"TemporaryFile(/tmp/multipartBody1437937757617893046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707003949,"filename":"image_14122025_10_48_15_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a881143790fecec83cfab5e90789f97.jpg","text":"TemporaryFile(/tmp/multipartBody6294470774730836891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707003949,"filename":"image_14122025_10_48_04_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/77173c0dce2dab417ed0672090568b0b.jpg","text":"TemporaryFile(/tmp/multipartBody8863071222141086454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707003949,"filename":"image_14122025_10_48_25_9559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399344752","file1":"1399344751","file0":"1399344741","file4":"1399344756","file5":"1399344791","file3":"1399344753"},"map_files_photo_id_array":[{"photo_id":"1399344791","filename":"file5"},{"photo_id":"1399344752","filename":"file2"},{"photo_id":"1399344756","filename":"file4"},{"photo_id":"1399344751","filename":"file1"},{"photo_id":"1399344741","filename":"file0"},{"photo_id":"1399344753","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399344756":["hashtag1","hashtag2"]},{"1399344741":["hashtag1","hashtag2"]},{"1399344791":["hashtag1","hashtag2"]},{"1399344752":["hashtag1","hashtag2"]},{"1399344751":["hashtag1","hashtag2"]},{"1399344753":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399344756, 1399344741, 1399344791, 1399344752, 1399344751, 1399344753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57912349700928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:09:42.177213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_40_2699.jpg', '/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_42_2709.jpg', '/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_45_2749.jpg', '/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_49_3777.jpg', '/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_52_2595.jpg', '/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_54_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_40_2699.jpg
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_42_2709.jpg
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_45_2749.jpg
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_49_3777.jpg
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_52_2595.jpg
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_54_2684.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5962843894958496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:10:02.757942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/48/image_14122025_10_48_54_9526.jpg', '/home/pi/Desktop/images/14122025/10/48/image_14122025_10_49_04_9716.jpg', '/home/pi/Desktop/images/14122025/10/49/image_14122025_10_49_15_10737.jpg', '/home/pi/Desktop/images/14122025/10/49/image_14122025_10_49_24_9705.jpg', '/home/pi/Desktop/images/14122025/10/49/image_14122025_10_49_34_9797.jpg', '/home/pi/Desktop/images/14122025/10/49/image_14122025_10_49_44_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/48/image_14122025_10_48_54_9526.jpg
/home/pi/Desktop/images/14122025/10/48/image_14122025_10_49_04_9716.jpg
/home/pi/Desktop/images/14122025/10/49/image_14122025_10_49_15_10737.jpg
/home/pi/Desktop/images/14122025/10/49/image_14122025_10_49_24_9705.jpg
/home/pi/Desktop/images/14122025/10/49/image_14122025_10_49_34_9797.jpg
/home/pi/Desktop/images/14122025/10/49/image_14122025_10_49_44_9751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399344881","1399344880","1399344883","1399344882","1399344885","1399344879"],"photo_ids_order":["1399344879","1399344880","1399344881","1399344882","1399344883","1399344885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3aa1492de517d0521f9fac5e8b441a29.jpg","text":"TemporaryFile(/tmp/multipartBody8474735741070604118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707063431,"filename":"image_14122025_10_49_15_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2621f63c5d2eaba254cec6f850ac67b3.jpg","text":"TemporaryFile(/tmp/multipartBody9032526800922184802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707063431,"filename":"image_14122025_10_49_04_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8df84911c612fb467601b51c26e90d79.jpg","text":"TemporaryFile(/tmp/multipartBody3483730463183494804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707063431,"filename":"image_14122025_10_49_34_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27fc9390dcdc4fc2afa002a9f839357e.jpg","text":"TemporaryFile(/tmp/multipartBody9121540822258484056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707063431,"filename":"image_14122025_10_49_24_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/970944c9f65b9e0c9808126f07eb8a37.jpg","text":"TemporaryFile(/tmp/multipartBody4005818096179088739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707063431,"filename":"image_14122025_10_49_44_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c24d54fa8e697929c335fdbb25c20a7f.jpg","text":"TemporaryFile(/tmp/multipartBody5669031196596847129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707063431,"filename":"image_14122025_10_48_54_9526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399344881","file1":"1399344880","file0":"1399344879","file4":"1399344883","file5":"1399344885","file3":"1399344882"},"map_files_photo_id_array":[{"photo_id":"1399344885","filename":"file5"},{"photo_id":"1399344881","filename":"file2"},{"photo_id":"1399344883","filename":"file4"},{"photo_id":"1399344880","filename":"file1"},{"photo_id":"1399344879","filename":"file0"},{"photo_id":"1399344882","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399344881":["hashtag1","hashtag2"]},{"1399344880":["hashtag1","hashtag2"]},{"1399344883":["hashtag1","hashtag2"]},{"1399344882":["hashtag1","hashtag2"]},{"1399344885":["hashtag1","hashtag2"]},{"1399344879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399344881, 1399344880, 1399344883, 1399344882, 1399344885, 1399344879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.062612533569336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:10:42.370714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_40_2699.jpg', '/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_42_2709.jpg', '/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_45_2749.jpg', '/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_49_3777.jpg', '/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_52_2595.jpg', '/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_54_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_40_2699.jpg
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_42_2709.jpg
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_45_2749.jpg
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_49_3777.jpg
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_52_2595.jpg
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_54_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":["1399344893","1399344896","1399344890","1399344892","1399344891","1399344894"],"photo_ids_order":["1399344890","1399344891","1399344892","1399344893","1399344894","1399344896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/231ffa314b4d70eeafca3d90b10d3069.jpg","text":"TemporaryFile(/tmp/multipartBody1474356137232899255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707102959,"filename":"image_04112025_12_52_49_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bcc30a3c9393f144b2d962acf9b6da82.jpg","text":"TemporaryFile(/tmp/multipartBody6515644676316247021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707102959,"filename":"image_04112025_12_52_54_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba7a5f97c02ff90a1d07e152a1e60417.jpg","text":"TemporaryFile(/tmp/multipartBody3938463598423552411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707102959,"filename":"image_04112025_12_52_40_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/11ffac46f1616740908aafebc29b187a.jpg","text":"TemporaryFile(/tmp/multipartBody8819834964261056922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707102959,"filename":"image_04112025_12_52_45_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/085104dbea3d7b89366f6efdee0d311a.jpg","text":"TemporaryFile(/tmp/multipartBody7644196895441497560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707102959,"filename":"image_04112025_12_52_42_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3134c98cd138b51bc2d0d82e355da5da.jpg","text":"TemporaryFile(/tmp/multipartBody3299555637519340678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707102959,"filename":"image_04112025_12_52_52_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399344892","file1":"1399344891","file0":"1399344890","file4":"1399344894","file5":"1399344896","file3":"1399344893"},"map_files_photo_id_array":[{"photo_id":"1399344896","filename":"file5"},{"photo_id":"1399344892","filename":"file2"},{"photo_id":"1399344894","filename":"file4"},{"photo_id":"1399344891","filename":"file1"},{"photo_id":"1399344890","filename":"file0"},{"photo_id":"1399344893","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399344893":["hashtag1","hashtag2"]},{"1399344896":["hashtag1","hashtag2"]},{"1399344890":["hashtag1","hashtag2"]},{"1399344892":["hashtag1","hashtag2"]},{"1399344891":["hashtag1","hashtag2"]},{"1399344894":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399344893, 1399344896, 1399344890, 1399344892, 1399344891, 1399344894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25044918060303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:11:22.612007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/49/image_14122025_10_49_55_10737.jpg', '/home/pi/Desktop/images/14122025/10/50/image_14122025_10_50_15_10054.jpg', '/home/pi/Desktop/images/14122025/10/50/image_14122025_10_50_25_10644.jpg', '/home/pi/Desktop/images/14122025/10/50/image_14122025_10_50_35_9650.jpg', '/home/pi/Desktop/images/14122025/10/50/image_14122025_10_50_46_10642.jpg', '/home/pi/Desktop/images/14122025/10/50/image_14122025_10_50_55_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/49/image_14122025_10_49_55_10737.jpg
/home/pi/Desktop/images/14122025/10/50/image_14122025_10_50_15_10054.jpg
/home/pi/Desktop/images/14122025/10/50/image_14122025_10_50_25_10644.jpg
/home/pi/Desktop/images/14122025/10/50/image_14122025_10_50_35_9650.jpg
/home/pi/Desktop/images/14122025/10/50/image_14122025_10_50_46_10642.jpg
/home/pi/Desktop/images/14122025/10/50/image_14122025_10_50_55_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":["1399344900","1399344903","1399344898","1399344902","1399344905","1399344910"],"photo_ids_order":["1399344898","1399344900","1399344902","1399344903","1399344905","1399344910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/321001c82c10865bed6015b743524e84.jpg","text":"TemporaryFile(/tmp/multipartBody7764912841395050225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707143285,"filename":"image_14122025_10_50_15_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/45deb9b4bd818857149293f54e072b7b.jpg","text":"TemporaryFile(/tmp/multipartBody5825681356232778243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707143285,"filename":"image_14122025_10_50_35_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aaa746a2d17026acc4819b62017464c9.jpg","text":"TemporaryFile(/tmp/multipartBody5505068601248216373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707143285,"filename":"image_14122025_10_49_55_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce0c013585d75198a65985e654600579.jpg","text":"TemporaryFile(/tmp/multipartBody7459005020970449777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707143285,"filename":"image_14122025_10_50_25_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dce01ca796968634fa5f767a83057b2f.jpg","text":"TemporaryFile(/tmp/multipartBody999705643155521410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707143285,"filename":"image_14122025_10_50_46_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1d011eac5c3331434c172d02c8117881.jpg","text":"TemporaryFile(/tmp/multipartBody8149013700437437728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707143285,"filename":"image_14122025_10_50_55_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399344902","file1":"1399344900","file0":"1399344898","file4":"1399344905","file5":"1399344910","file3":"1399344903"},"map_files_photo_id_array":[{"photo_id":"1399344910","filename":"file5"},{"photo_id":"1399344902","filename":"file2"},{"photo_id":"1399344905","filename":"file4"},{"photo_id":"1399344900","filename":"file1"},{"photo_id":"1399344898","filename":"file0"},{"photo_id":"1399344903","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399344900":["hashtag1","hashtag2"]},{"1399344903":["hashtag1","hashtag2"]},{"1399344898":["hashtag1","hashtag2"]},{"1399344902":["hashtag1","hashtag2"]},{"1399344905":["hashtag1","hashtag2"]},{"1399344910":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399344900, 1399344903, 1399344898, 1399344902, 1399344905, 1399344910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99939489364624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:12:02.510638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/50/image_14122025_10_51_05_9616.jpg', '/home/pi/Desktop/images/14122025/10/51/image_14122025_10_51_16_10691.jpg', '/home/pi/Desktop/images/14122025/10/51/image_14122025_10_51_25_9586.jpg', '/home/pi/Desktop/images/14122025/10/51/image_14122025_10_51_35_9898.jpg', '/home/pi/Desktop/images/14122025/10/51/image_14122025_10_51_45_9827.jpg', '/home/pi/Desktop/images/14122025/10/51/image_14122025_10_51_56_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/50/image_14122025_10_51_05_9616.jpg
/home/pi/Desktop/images/14122025/10/51/image_14122025_10_51_16_10691.jpg
/home/pi/Desktop/images/14122025/10/51/image_14122025_10_51_25_9586.jpg
/home/pi/Desktop/images/14122025/10/51/image_14122025_10_51_35_9898.jpg
/home/pi/Desktop/images/14122025/10/51/image_14122025_10_51_45_9827.jpg
/home/pi/Desktop/images/14122025/10/51/image_14122025_10_51_56_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":["1399344915","1399344912","1399344914","1399344917","1399344916","1399344913"],"photo_ids_order":["1399344912","1399344913","1399344914","1399344915","1399344916","1399344917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28e40362b8d424b7b6e96e729704f487.jpg","text":"TemporaryFile(/tmp/multipartBody1540053409972765781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707183206,"filename":"image_14122025_10_51_35_9898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d6126b84ac51b80ea00c127182c38ce.jpg","text":"TemporaryFile(/tmp/multipartBody5215928196354936349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707183206,"filename":"image_14122025_10_51_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/12/14/df62e64327f514ee722d55b4f30b948d.jpg","text":"TemporaryFile(/tmp/multipartBody2334200996654246341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707183206,"filename":"image_14122025_10_51_25_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c2adc9bfb8cff35aa2c2aa295c7d811.jpg","text":"TemporaryFile(/tmp/multipartBody7465958049488004447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707183206,"filename":"image_14122025_10_51_56_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd44b34213936e747660fa3ecbc57c5d.jpg","text":"TemporaryFile(/tmp/multipartBody5334854962017274238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707183206,"filename":"image_14122025_10_51_45_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0af73699bb5d0b410c6bc1a99c2d77a6.jpg","text":"TemporaryFile(/tmp/multipartBody7914922148953937669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707183206,"filename":"image_14122025_10_51_16_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399344914","file1":"1399344913","file0":"1399344912","file4":"1399344916","file5":"1399344917","file3":"1399344915"},"map_files_photo_id_array":[{"photo_id":"1399344917","filename":"file5"},{"photo_id":"1399344914","filename":"file2"},{"photo_id":"1399344916","filename":"file4"},{"photo_id":"1399344913","filename":"file1"},{"photo_id":"1399344912","filename":"file0"},{"photo_id":"1399344915","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399344915":["hashtag1","hashtag2"]},{"1399344912":["hashtag1","hashtag2"]},{"1399344914":["hashtag1","hashtag2"]},{"1399344917":["hashtag1","hashtag2"]},{"1399344916":["hashtag1","hashtag2"]},{"1399344913":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399344915, 1399344912, 1399344914, 1399344917, 1399344916, 1399344913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88383436203003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:12:41.915695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_58_3650.jpg', '/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_01_2684.jpg', '/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_03_2552.jpg', '/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_07_3786.jpg', '/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_10_2667.jpg', '/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_12_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/52/image_04112025_12_52_58_3650.jpg
/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_01_2684.jpg
/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_03_2552.jpg
/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_07_3786.jpg
/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_10_2667.jpg
/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_12_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":["1399344933","1399344927","1399344929","1399344922","1399344931","1399344925"],"photo_ids_order":["1399344922","1399344925","1399344927","1399344929","1399344931","1399344933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ee4a07075edb6728da43cc720ca2f9a9.jpg","text":"TemporaryFile(/tmp/multipartBody3585595522194002940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707222619,"filename":"image_04112025_12_53_12_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e1aaeecd21ae333934c3a910bbbc7750.jpg","text":"TemporaryFile(/tmp/multipartBody120268662391387228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707222619,"filename":"image_04112025_12_53_03_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b24c4639d9f34f1f670efa6a079564ae.jpg","text":"TemporaryFile(/tmp/multipartBody8768179077119896392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707222619,"filename":"image_04112025_12_53_07_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e694defd28387b19aaa521b61c4ef323.jpg","text":"TemporaryFile(/tmp/multipartBody6443609900313839373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707222619,"filename":"image_04112025_12_52_58_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3dcafecdfb1e95d38b90beb82cd74b8c.jpg","text":"TemporaryFile(/tmp/multipartBody6887540102454237581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707222619,"filename":"image_04112025_12_53_10_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2eb5cdc0f5c482423f3c079d90e52e95.jpg","text":"TemporaryFile(/tmp/multipartBody4378358419076972264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707222619,"filename":"image_04112025_12_53_01_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399344927","file1":"1399344925","file0":"1399344922","file4":"1399344931","file5":"1399344933","file3":"1399344929"},"map_files_photo_id_array":[{"photo_id":"1399344933","filename":"file5"},{"photo_id":"1399344927","filename":"file2"},{"photo_id":"1399344931","filename":"file4"},{"photo_id":"1399344925","filename":"file1"},{"photo_id":"1399344922","filename":"file0"},{"photo_id":"1399344929","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399344933":["hashtag1","hashtag2"]},{"1399344927":["hashtag1","hashtag2"]},{"1399344929":["hashtag1","hashtag2"]},{"1399344922":["hashtag1","hashtag2"]},{"1399344931":["hashtag1","hashtag2"]},{"1399344925":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399344933, 1399344927, 1399344929, 1399344922, 1399344931, 1399344925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09588932991028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:13:23.988410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/51/image_14122025_10_52_05_9726.jpg', '/home/pi/Desktop/images/14122025/10/52/image_14122025_10_52_15_9692.jpg', '/home/pi/Desktop/images/14122025/10/52/image_14122025_10_52_25_9726.jpg', '/home/pi/Desktop/images/14122025/10/52/image_14122025_10_52_35_10666.jpg', '/home/pi/Desktop/images/14122025/10/52/image_14122025_10_52_45_9753.jpg', '/home/pi/Desktop/images/14122025/10/52/image_14122025_10_52_55_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/51/image_14122025_10_52_05_9726.jpg
/home/pi/Desktop/images/14122025/10/52/image_14122025_10_52_15_9692.jpg
/home/pi/Desktop/images/14122025/10/52/image_14122025_10_52_25_9726.jpg
/home/pi/Desktop/images/14122025/10/52/image_14122025_10_52_35_10666.jpg
/home/pi/Desktop/images/14122025/10/52/image_14122025_10_52_45_9753.jpg
/home/pi/Desktop/images/14122025/10/52/image_14122025_10_52_55_9683.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6056134700775146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 11:13:32.124608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:13:42.108850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_16_3680.jpg', '/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_19_2659.jpg', '/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_21_2673.jpg', '/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_25_3519.jpg', '/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_27_2673.jpg', '/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_30_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_16_3680.jpg
/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_19_2659.jpg
/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_21_2673.jpg
/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_25_3519.jpg
/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_27_2673.jpg
/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_30_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":["1399344948","1399344950","1399344952","1399344949","1399344951","1399344945"],"photo_ids_order":["1399344945","1399344948","1399344949","1399344950","1399344951","1399344952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cbac6c69f6e1b8a54d64e658623594ca.jpg","text":"TemporaryFile(/tmp/multipartBody7676850963409713445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707283876,"filename":"image_04112025_12_53_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/12/14/c7901888b964a526e01a0b2cb94b69a3.jpg","text":"TemporaryFile(/tmp/multipartBody8805124298395895504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707283876,"filename":"image_04112025_12_53_25_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/04d454a58c030885c6d610f92a679be6.jpg","text":"TemporaryFile(/tmp/multipartBody5418994706570426457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707283876,"filename":"image_04112025_12_53_30_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/74b6a28b44ba7f2b2f00d5c3dbebd47f.jpg","text":"TemporaryFile(/tmp/multipartBody4364526525750987156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707283876,"filename":"image_04112025_12_53_21_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ef3a2411b5db46c7c85793f8d08ea8b.jpg","text":"TemporaryFile(/tmp/multipartBody6735270368415993763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707283876,"filename":"image_04112025_12_53_27_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf682fc0dddb1bd003bded175606003b.jpg","text":"TemporaryFile(/tmp/multipartBody885569665141966652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707283876,"filename":"image_04112025_12_53_16_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399344949","file1":"1399344948","file0":"1399344945","file4":"1399344951","file5":"1399344952","file3":"1399344950"},"map_files_photo_id_array":[{"photo_id":"1399344952","filename":"file5"},{"photo_id":"1399344949","filename":"file2"},{"photo_id":"1399344951","filename":"file4"},{"photo_id":"1399344948","filename":"file1"},{"photo_id":"1399344945","filename":"file0"},{"photo_id":"1399344950","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399344948":["hashtag1","hashtag2"]},{"1399344950":["hashtag1","hashtag2"]},{"1399344952":["hashtag1","hashtag2"]},{"1399344949":["hashtag1","hashtag2"]},{"1399344951":["hashtag1","hashtag2"]},{"1399344945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399344948, 1399344950, 1399344952, 1399344949, 1399344951, 1399344945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.328537702560425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:14:22.543637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/51/image_14122025_10_52_05_9726.jpg', '/home/pi/Desktop/images/14122025/10/52/image_14122025_10_52_15_9692.jpg', '/home/pi/Desktop/images/14122025/10/52/image_14122025_10_52_25_9726.jpg', '/home/pi/Desktop/images/14122025/10/52/image_14122025_10_52_35_10666.jpg', '/home/pi/Desktop/images/14122025/10/52/image_14122025_10_52_45_9753.jpg', '/home/pi/Desktop/images/14122025/10/52/image_14122025_10_52_55_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/51/image_14122025_10_52_05_9726.jpg
/home/pi/Desktop/images/14122025/10/52/image_14122025_10_52_15_9692.jpg
/home/pi/Desktop/images/14122025/10/52/image_14122025_10_52_25_9726.jpg
/home/pi/Desktop/images/14122025/10/52/image_14122025_10_52_35_10666.jpg
/home/pi/Desktop/images/14122025/10/52/image_14122025_10_52_45_9753.jpg
/home/pi/Desktop/images/14122025/10/52/image_14122025_10_52_55_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399344954","1399344957","1399344962","1399344959","1399344967","1399344964"],"photo_ids_order":["1399344954","1399344957","1399344959","1399344962","1399344964","1399344967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1d2d18caae9fd183ffaecfca34f61e45.jpg","text":"TemporaryFile(/tmp/multipartBody7451653347554262581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707323229,"filename":"image_14122025_10_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/12/14/5f2472daf1432d34dc1b5220990edc6a.jpg","text":"TemporaryFile(/tmp/multipartBody7338107252486108999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707323229,"filename":"image_14122025_10_52_15_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/34dabb65d28f3e0aef15c79cd51dcc93.jpg","text":"TemporaryFile(/tmp/multipartBody7913193751422853862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707323229,"filename":"image_14122025_10_52_35_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/12816a5b1f3480e576427ceb69070714.jpg","text":"TemporaryFile(/tmp/multipartBody8689265264013739361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707323229,"filename":"image_14122025_10_52_25_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/de149e855e78233b709e26a030d4c13d.jpg","text":"TemporaryFile(/tmp/multipartBody8502762565792937287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707323229,"filename":"image_14122025_10_52_55_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d7058d9cb92c173216d9821a4cae8ae6.jpg","text":"TemporaryFile(/tmp/multipartBody7353948732114984074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707323229,"filename":"image_14122025_10_52_45_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399344959","file1":"1399344957","file0":"1399344954","file4":"1399344964","file5":"1399344967","file3":"1399344962"},"map_files_photo_id_array":[{"photo_id":"1399344967","filename":"file5"},{"photo_id":"1399344959","filename":"file2"},{"photo_id":"1399344964","filename":"file4"},{"photo_id":"1399344957","filename":"file1"},{"photo_id":"1399344954","filename":"file0"},{"photo_id":"1399344962","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399344954":["hashtag1","hashtag2"]},{"1399344957":["hashtag1","hashtag2"]},{"1399344962":["hashtag1","hashtag2"]},{"1399344959":["hashtag1","hashtag2"]},{"1399344967":["hashtag1","hashtag2"]},{"1399344964":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399344954, 1399344957, 1399344962, 1399344959, 1399344967, 1399344964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.663310050964355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:15:03.307180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/52/image_14122025_10_53_05_10697.jpg', '/home/pi/Desktop/images/14122025/10/53/image_14122025_10_53_15_9632.jpg', '/home/pi/Desktop/images/14122025/10/53/image_14122025_10_53_25_9572.jpg', '/home/pi/Desktop/images/14122025/10/53/image_14122025_10_53_35_10715.jpg', '/home/pi/Desktop/images/14122025/10/53/image_14122025_10_53_45_9709.jpg', '/home/pi/Desktop/images/14122025/10/53/image_14122025_10_53_55_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/52/image_14122025_10_53_05_10697.jpg
/home/pi/Desktop/images/14122025/10/53/image_14122025_10_53_15_9632.jpg
/home/pi/Desktop/images/14122025/10/53/image_14122025_10_53_25_9572.jpg
/home/pi/Desktop/images/14122025/10/53/image_14122025_10_53_35_10715.jpg
/home/pi/Desktop/images/14122025/10/53/image_14122025_10_53_45_9709.jpg
/home/pi/Desktop/images/14122025/10/53/image_14122025_10_53_55_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":["1399344980","1399344979","1399344982","1399344981","1399344984","1399344978"],"photo_ids_order":["1399344978","1399344979","1399344980","1399344981","1399344982","1399344984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/278466c0f1045eb00eeb1b7b33b184de.jpg","text":"TemporaryFile(/tmp/multipartBody1534371693085299234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707364045,"filename":"image_14122025_10_53_25_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce8007b2656afa6aa8666d75a6439b58.jpg","text":"TemporaryFile(/tmp/multipartBody187101821680798110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707364045,"filename":"image_14122025_10_53_15_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1cd788c318f51610a459bebbc86d101c.jpg","text":"TemporaryFile(/tmp/multipartBody7446790345751982857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707364045,"filename":"image_14122025_10_53_45_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/902dab1ce109f5e35dbd693a18953354.jpg","text":"TemporaryFile(/tmp/multipartBody1644167484092278129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707364045,"filename":"image_14122025_10_53_35_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2c53a2fcd78dd07588f876725e6ea7fc.jpg","text":"TemporaryFile(/tmp/multipartBody1156550939889601398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707364045,"filename":"image_14122025_10_53_55_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8347a84f2423cc32083b46f0765a5151.jpg","text":"TemporaryFile(/tmp/multipartBody3381814914645578814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707364045,"filename":"image_14122025_10_53_05_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399344980","file1":"1399344979","file0":"1399344978","file4":"1399344982","file5":"1399344984","file3":"1399344981"},"map_files_photo_id_array":[{"photo_id":"1399344984","filename":"file5"},{"photo_id":"1399344980","filename":"file2"},{"photo_id":"1399344982","filename":"file4"},{"photo_id":"1399344979","filename":"file1"},{"photo_id":"1399344978","filename":"file0"},{"photo_id":"1399344981","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399344980":["hashtag1","hashtag2"]},{"1399344979":["hashtag1","hashtag2"]},{"1399344982":["hashtag1","hashtag2"]},{"1399344981":["hashtag1","hashtag2"]},{"1399344984":["hashtag1","hashtag2"]},{"1399344978":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399344980, 1399344979, 1399344982, 1399344981, 1399344984, 1399344978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38720417022705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:15:42.594149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_34_3633.jpg', '/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_36_2600.jpg', '/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_40_3581.jpg', '/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_43_2747.jpg', '/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_45_2645.jpg', '/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_49_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_34_3633.jpg
/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_36_2600.jpg
/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_40_3581.jpg
/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_43_2747.jpg
/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_45_2645.jpg
/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_49_3591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399344992","1399344995","1399344994","1399344996","1399344990","1399344993"],"photo_ids_order":["1399344990","1399344992","1399344993","1399344994","1399344995","1399344996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d7f75597e10fd18d1b80763b40300c1b.jpg","text":"TemporaryFile(/tmp/multipartBody5922520443448497714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707403303,"filename":"image_04112025_12_53_36_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/40839a3af598d4044470f2ba565b1c9e.jpg","text":"TemporaryFile(/tmp/multipartBody8292202038325042741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707403303,"filename":"image_04112025_12_53_45_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f024f6dcfc542d88a085da6161c37172.jpg","text":"TemporaryFile(/tmp/multipartBody3645034724047126780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707403303,"filename":"image_04112025_12_53_43_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db31864bce8009391bda99fda82eae2b.jpg","text":"TemporaryFile(/tmp/multipartBody7419141680692068894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707403303,"filename":"image_04112025_12_53_49_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/248be93d2bb579b013e7a66d469deabd.jpg","text":"TemporaryFile(/tmp/multipartBody5274462740788451921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707403303,"filename":"image_04112025_12_53_34_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5bc5d38016f2a6aa853ae01b6916b605.jpg","text":"TemporaryFile(/tmp/multipartBody3621507692985617920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707403303,"filename":"image_04112025_12_53_40_3581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399344993","file1":"1399344992","file0":"1399344990","file4":"1399344995","file5":"1399344996","file3":"1399344994"},"map_files_photo_id_array":[{"photo_id":"1399344996","filename":"file5"},{"photo_id":"1399344993","filename":"file2"},{"photo_id":"1399344995","filename":"file4"},{"photo_id":"1399344992","filename":"file1"},{"photo_id":"1399344990","filename":"file0"},{"photo_id":"1399344994","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399344992":["hashtag1","hashtag2"]},{"1399344995":["hashtag1","hashtag2"]},{"1399344994":["hashtag1","hashtag2"]},{"1399344996":["hashtag1","hashtag2"]},{"1399344990":["hashtag1","hashtag2"]},{"1399344993":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399344992, 1399344995, 1399344994, 1399344996, 1399344990, 1399344993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.443241357803345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:16:21.856469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/53/image_14122025_10_54_06_10747.jpg', '/home/pi/Desktop/images/14122025/10/54/image_14122025_10_54_15_9721.jpg', '/home/pi/Desktop/images/14122025/10/54/image_14122025_10_54_25_9927.jpg', '/home/pi/Desktop/images/14122025/10/54/image_14122025_10_54_35_9767.jpg', '/home/pi/Desktop/images/14122025/10/54/image_14122025_10_54_45_9739.jpg', '/home/pi/Desktop/images/14122025/10/54/image_14122025_10_54_56_10797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/53/image_14122025_10_54_06_10747.jpg
/home/pi/Desktop/images/14122025/10/54/image_14122025_10_54_15_9721.jpg
/home/pi/Desktop/images/14122025/10/54/image_14122025_10_54_25_9927.jpg
/home/pi/Desktop/images/14122025/10/54/image_14122025_10_54_35_9767.jpg
/home/pi/Desktop/images/14122025/10/54/image_14122025_10_54_45_9739.jpg
/home/pi/Desktop/images/14122025/10/54/image_14122025_10_54_56_10797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345002","1399344998","1399345004","1399344997","1399345000","1399345008"],"photo_ids_order":["1399344997","1399344998","1399345000","1399345002","1399345004","1399345008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d365d01cabbeff24f24373d9f4c3370c.jpg","text":"TemporaryFile(/tmp/multipartBody3863081306064460996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707442529,"filename":"image_14122025_10_54_35_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d9ac1777f6757fb17cafff436335fd4f.jpg","text":"TemporaryFile(/tmp/multipartBody7015152381638718647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707442529,"filename":"image_14122025_10_54_15_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d1c4e94beee8d628baabd8175b702a37.jpg","text":"TemporaryFile(/tmp/multipartBody5510936528917834152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707442529,"filename":"image_14122025_10_54_45_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/290814647ec3d09da0e7b11b2c2d7493.jpg","text":"TemporaryFile(/tmp/multipartBody4258701891731166026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707442529,"filename":"image_14122025_10_54_06_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/32d9e8af10cfe5660a95947f720e763e.jpg","text":"TemporaryFile(/tmp/multipartBody1493574979837187808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707442529,"filename":"image_14122025_10_54_25_9927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db56d38c7289c4d107df609c51719f0b.jpg","text":"TemporaryFile(/tmp/multipartBody4617016321853435882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707442529,"filename":"image_14122025_10_54_56_10797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345000","file1":"1399344998","file0":"1399344997","file4":"1399345004","file5":"1399345008","file3":"1399345002"},"map_files_photo_id_array":[{"photo_id":"1399345008","filename":"file5"},{"photo_id":"1399345000","filename":"file2"},{"photo_id":"1399345004","filename":"file4"},{"photo_id":"1399344998","filename":"file1"},{"photo_id":"1399344997","filename":"file0"},{"photo_id":"1399345002","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345002":["hashtag1","hashtag2"]},{"1399344998":["hashtag1","hashtag2"]},{"1399345004":["hashtag1","hashtag2"]},{"1399344997":["hashtag1","hashtag2"]},{"1399345000":["hashtag1","hashtag2"]},{"1399345008":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345002, 1399344998, 1399345004, 1399344997, 1399345000, 1399345008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.627602100372314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:17:04.995604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/55/image_14122025_10_55_14_10057.jpg', '/home/pi/Desktop/images/14122025/10/55/image_14122025_10_55_25_10618.jpg', '/home/pi/Desktop/images/14122025/10/55/image_14122025_10_55_34_9761.jpg', '/home/pi/Desktop/images/14122025/10/55/image_14122025_10_55_44_9712.jpg', '/home/pi/Desktop/images/14122025/10/55/image_14122025_10_55_55_10758.jpg', '/home/pi/Desktop/images/14122025/10/55/image_14122025_10_56_05_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/55/image_14122025_10_55_14_10057.jpg
/home/pi/Desktop/images/14122025/10/55/image_14122025_10_55_25_10618.jpg
/home/pi/Desktop/images/14122025/10/55/image_14122025_10_55_34_9761.jpg
/home/pi/Desktop/images/14122025/10/55/image_14122025_10_55_44_9712.jpg
/home/pi/Desktop/images/14122025/10/55/image_14122025_10_55_55_10758.jpg
/home/pi/Desktop/images/14122025/10/55/image_14122025_10_56_05_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345017","1399345022","1399345016","1399345018","1399345020","1399345014"],"photo_ids_order":["1399345014","1399345016","1399345017","1399345018","1399345020","1399345022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bc658c7abf252584ac6c077575a75893.jpg","text":"TemporaryFile(/tmp/multipartBody2388312828303176715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707485732,"filename":"image_14122025_10_55_34_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/09c60c8228ea2193e8c6cbd7d5ee84dd.jpg","text":"TemporaryFile(/tmp/multipartBody1957493080593111312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707485732,"filename":"image_14122025_10_56_05_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2eb9bc80dff6ce0b40655e3efb72b838.jpg","text":"TemporaryFile(/tmp/multipartBody1205338711315983991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707485732,"filename":"image_14122025_10_55_25_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6994ed7a8ce8b18413efc95b90de2a31.jpg","text":"TemporaryFile(/tmp/multipartBody6920818859307501510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707485732,"filename":"image_14122025_10_55_44_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a2b4626bdfc43250244d1f36217bb9c.jpg","text":"TemporaryFile(/tmp/multipartBody1633114134910396183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707485732,"filename":"image_14122025_10_55_55_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/61f017cc9d3d5265be58e0a91058ebed.jpg","text":"TemporaryFile(/tmp/multipartBody6041118279133465657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707485732,"filename":"image_14122025_10_55_14_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345017","file1":"1399345016","file0":"1399345014","file4":"1399345020","file5":"1399345022","file3":"1399345018"},"map_files_photo_id_array":[{"photo_id":"1399345022","filename":"file5"},{"photo_id":"1399345017","filename":"file2"},{"photo_id":"1399345020","filename":"file4"},{"photo_id":"1399345016","filename":"file1"},{"photo_id":"1399345014","filename":"file0"},{"photo_id":"1399345018","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345017":["hashtag1","hashtag2"]},{"1399345022":["hashtag1","hashtag2"]},{"1399345016":["hashtag1","hashtag2"]},{"1399345018":["hashtag1","hashtag2"]},{"1399345020":["hashtag1","hashtag2"]},{"1399345014":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345017, 1399345022, 1399345016, 1399345018, 1399345020, 1399345014)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.79471516609192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:18:02.986149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/56/image_14122025_10_56_14_9560.jpg', '/home/pi/Desktop/images/14122025/10/56/image_14122025_10_56_24_9851.jpg', '/home/pi/Desktop/images/14122025/10/56/image_14122025_10_56_35_10768.jpg', '/home/pi/Desktop/images/14122025/10/56/image_14122025_10_56_45_9761.jpg', '/home/pi/Desktop/images/14122025/10/56/image_14122025_10_56_55_10150.jpg', '/home/pi/Desktop/images/14122025/10/56/image_14122025_10_57_05_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/56/image_14122025_10_56_14_9560.jpg
/home/pi/Desktop/images/14122025/10/56/image_14122025_10_56_24_9851.jpg
/home/pi/Desktop/images/14122025/10/56/image_14122025_10_56_35_10768.jpg
/home/pi/Desktop/images/14122025/10/56/image_14122025_10_56_45_9761.jpg
/home/pi/Desktop/images/14122025/10/56/image_14122025_10_56_55_10150.jpg
/home/pi/Desktop/images/14122025/10/56/image_14122025_10_57_05_9789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345031","1399345033","1399345030","1399345027","1399345035","1399345029"],"photo_ids_order":["1399345027","1399345029","1399345030","1399345031","1399345033","1399345035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/171e6fa913f7cc278efe2ac5299d7863.jpg","text":"TemporaryFile(/tmp/multipartBody1013437265824454319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707543683,"filename":"image_14122025_10_56_45_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ece8288910ff1645fb89314e1597a7d0.jpg","text":"TemporaryFile(/tmp/multipartBody750687476947593795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707543683,"filename":"image_14122025_10_56_55_10150.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/93daec267b198ccb875a902b4907e4e1.jpg","text":"TemporaryFile(/tmp/multipartBody447509416539308322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707543683,"filename":"image_14122025_10_56_35_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c55e656e9952762a798daafab58e5fd.jpg","text":"TemporaryFile(/tmp/multipartBody4558138975880163276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707543683,"filename":"image_14122025_10_56_14_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/adb01792836898c93f64c2b8cba24dc5.jpg","text":"TemporaryFile(/tmp/multipartBody3070562454093909068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707543683,"filename":"image_14122025_10_57_05_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9fce5699d953f15d65edcdd9a0e0df3a.jpg","text":"TemporaryFile(/tmp/multipartBody945275961002983633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707543683,"filename":"image_14122025_10_56_24_9851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345030","file1":"1399345029","file0":"1399345027","file4":"1399345033","file5":"1399345035","file3":"1399345031"},"map_files_photo_id_array":[{"photo_id":"1399345035","filename":"file5"},{"photo_id":"1399345030","filename":"file2"},{"photo_id":"1399345033","filename":"file4"},{"photo_id":"1399345029","filename":"file1"},{"photo_id":"1399345027","filename":"file0"},{"photo_id":"1399345031","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345031":["hashtag1","hashtag2"]},{"1399345033":["hashtag1","hashtag2"]},{"1399345030":["hashtag1","hashtag2"]},{"1399345027":["hashtag1","hashtag2"]},{"1399345035":["hashtag1","hashtag2"]},{"1399345029":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345031, 1399345033, 1399345030, 1399345027, 1399345035, 1399345029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1174533367157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:18:42.554026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_52_2781.jpg', '/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_54_2734.jpg', '/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_57_2569.jpg', '/home/pi/Desktop/images/04112025/12/53/image_04112025_12_54_00_3617.jpg', '/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_03_2711.jpg', '/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_06_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_52_2781.jpg
/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_54_2734.jpg
/home/pi/Desktop/images/04112025/12/53/image_04112025_12_53_57_2569.jpg
/home/pi/Desktop/images/04112025/12/53/image_04112025_12_54_00_3617.jpg
/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_03_2711.jpg
/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_06_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":["1399345043","1399345046","1399345042","1399345039","1399345044","1399345041"],"photo_ids_order":["1399345039","1399345041","1399345042","1399345043","1399345044","1399345046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9bbcfbabdac7730aed298c51ad256528.jpg","text":"TemporaryFile(/tmp/multipartBody7386353032320919663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707583254,"filename":"image_04112025_12_54_00_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a4dd57627e954446c7187a72a032337a.jpg","text":"TemporaryFile(/tmp/multipartBody1206677170261192636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707583254,"filename":"image_04112025_12_54_06_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a0f6dae26bfae2a84848ad3631ba8ec8.jpg","text":"TemporaryFile(/tmp/multipartBody4863661359770311631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707583254,"filename":"image_04112025_12_53_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/12/14/f88b5bc9f0b7ff8cf943bab0b65a1c3d.jpg","text":"TemporaryFile(/tmp/multipartBody8122349755832579582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707583254,"filename":"image_04112025_12_53_52_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f7998f97ac014b4206d99d3aca8aef4.jpg","text":"TemporaryFile(/tmp/multipartBody6677787957905181933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707583254,"filename":"image_04112025_12_54_03_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7269e17652cb54e35bb55eb1936b2241.jpg","text":"TemporaryFile(/tmp/multipartBody664171318542861154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707583254,"filename":"image_04112025_12_53_54_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345042","file1":"1399345041","file0":"1399345039","file4":"1399345044","file5":"1399345046","file3":"1399345043"},"map_files_photo_id_array":[{"photo_id":"1399345046","filename":"file5"},{"photo_id":"1399345042","filename":"file2"},{"photo_id":"1399345044","filename":"file4"},{"photo_id":"1399345041","filename":"file1"},{"photo_id":"1399345039","filename":"file0"},{"photo_id":"1399345043","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399345043":["hashtag1","hashtag2"]},{"1399345046":["hashtag1","hashtag2"]},{"1399345042":["hashtag1","hashtag2"]},{"1399345039":["hashtag1","hashtag2"]},{"1399345044":["hashtag1","hashtag2"]},{"1399345041":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399345043, 1399345046, 1399345042, 1399345039, 1399345044, 1399345041)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.307661294937134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 11:19:35.046732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:19:42.778900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_09_3590.jpg', '/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_16_3574.jpg', '/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_18_2626.jpg', '/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_21_2618.jpg', '/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_24_3637.jpg', '/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_27_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_09_3590.jpg
/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_16_3574.jpg
/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_18_2626.jpg
/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_21_2618.jpg
/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_24_3637.jpg
/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_27_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":["1399345055","1399345058","1399345057","1399345059","1399345053","1399345056"],"photo_ids_order":["1399345053","1399345055","1399345056","1399345057","1399345058","1399345059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c5cc25e6449069135f046e8150eab170.jpg","text":"TemporaryFile(/tmp/multipartBody8909655032834502209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707643503,"filename":"image_04112025_12_54_16_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/67adb871bc119a581719a4dfa8f4386a.jpg","text":"TemporaryFile(/tmp/multipartBody5069178987066707680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707643503,"filename":"image_04112025_12_54_24_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/810f0c22f492ea21baaa0800031d77a6.jpg","text":"TemporaryFile(/tmp/multipartBody8571898385523558746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707643503,"filename":"image_04112025_12_54_21_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3a99d6efc97815feabbb8bee5cc7a317.jpg","text":"TemporaryFile(/tmp/multipartBody8910211718333150804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707643503,"filename":"image_04112025_12_54_27_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/210fa5c82b32af020b2e18401cd97e30.jpg","text":"TemporaryFile(/tmp/multipartBody2814935574339993174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707643503,"filename":"image_04112025_12_54_09_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/48423b305282b0617bd5336cb7efae8d.jpg","text":"TemporaryFile(/tmp/multipartBody4747107659338025678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707643503,"filename":"image_04112025_12_54_18_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345056","file1":"1399345055","file0":"1399345053","file4":"1399345058","file5":"1399345059","file3":"1399345057"},"map_files_photo_id_array":[{"photo_id":"1399345059","filename":"file5"},{"photo_id":"1399345056","filename":"file2"},{"photo_id":"1399345058","filename":"file4"},{"photo_id":"1399345055","filename":"file1"},{"photo_id":"1399345053","filename":"file0"},{"photo_id":"1399345057","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399345055":["hashtag1","hashtag2"]},{"1399345058":["hashtag1","hashtag2"]},{"1399345057":["hashtag1","hashtag2"]},{"1399345059":["hashtag1","hashtag2"]},{"1399345053":["hashtag1","hashtag2"]},{"1399345056":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399345055, 1399345058, 1399345057, 1399345059, 1399345053, 1399345056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87984299659729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:20:21.980892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/57/image_14122025_10_57_14_9723.jpg', '/home/pi/Desktop/images/14122025/10/57/image_14122025_10_57_25_10605.jpg', '/home/pi/Desktop/images/14122025/10/57/image_14122025_10_57_35_9700.jpg', '/home/pi/Desktop/images/14122025/10/57/image_14122025_10_57_44_9669.jpg', '/home/pi/Desktop/images/14122025/10/57/image_14122025_10_57_55_10735.jpg', '/home/pi/Desktop/images/14122025/10/57/image_14122025_10_58_05_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/57/image_14122025_10_57_14_9723.jpg
/home/pi/Desktop/images/14122025/10/57/image_14122025_10_57_25_10605.jpg
/home/pi/Desktop/images/14122025/10/57/image_14122025_10_57_35_9700.jpg
/home/pi/Desktop/images/14122025/10/57/image_14122025_10_57_44_9669.jpg
/home/pi/Desktop/images/14122025/10/57/image_14122025_10_57_55_10735.jpg
/home/pi/Desktop/images/14122025/10/57/image_14122025_10_58_05_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345061","1399345060","1399345063","1399345071","1399345065","1399345068"],"photo_ids_order":["1399345060","1399345061","1399345063","1399345065","1399345068","1399345071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27ce69014220b742e1cb54d5e8067647.jpg","text":"TemporaryFile(/tmp/multipartBody4325291766445877219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707682637,"filename":"image_14122025_10_57_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/12/14/b57e7afe46c2423cde90d76f90328db3.jpg","text":"TemporaryFile(/tmp/multipartBody8557358319013168401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707682637,"filename":"image_14122025_10_57_14_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/96beebb5fd6164a3273ac2e90d340d57.jpg","text":"TemporaryFile(/tmp/multipartBody6540611064319794921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707682637,"filename":"image_14122025_10_57_35_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b92302b815a695737e9eb693312b9205.jpg","text":"TemporaryFile(/tmp/multipartBody3161104454924302436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707682637,"filename":"image_14122025_10_58_05_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b755edf4f51b0d6062465d13490567fa.jpg","text":"TemporaryFile(/tmp/multipartBody3618335750168487026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707682637,"filename":"image_14122025_10_57_44_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f56d85e586585693c18138a5c23dca2.jpg","text":"TemporaryFile(/tmp/multipartBody2174810595732867671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707682637,"filename":"image_14122025_10_57_55_10735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345063","file1":"1399345061","file0":"1399345060","file4":"1399345068","file5":"1399345071","file3":"1399345065"},"map_files_photo_id_array":[{"photo_id":"1399345071","filename":"file5"},{"photo_id":"1399345063","filename":"file2"},{"photo_id":"1399345068","filename":"file4"},{"photo_id":"1399345061","filename":"file1"},{"photo_id":"1399345060","filename":"file0"},{"photo_id":"1399345065","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345061":["hashtag1","hashtag2"]},{"1399345060":["hashtag1","hashtag2"]},{"1399345063":["hashtag1","hashtag2"]},{"1399345071":["hashtag1","hashtag2"]},{"1399345065":["hashtag1","hashtag2"]},{"1399345068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345061, 1399345060, 1399345063, 1399345071, 1399345065, 1399345068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46530199050903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:21:02.874228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/58/image_14122025_10_58_14_9770.jpg', '/home/pi/Desktop/images/14122025/10/58/image_14122025_10_58_24_9801.jpg', '/home/pi/Desktop/images/14122025/10/58/image_14122025_10_58_35_10593.jpg', '/home/pi/Desktop/images/14122025/10/58/image_14122025_10_58_44_9690.jpg', '/home/pi/Desktop/images/14122025/10/58/image_14122025_10_58_55_10030.jpg', '/home/pi/Desktop/images/14122025/10/58/image_14122025_10_59_04_9838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/58/image_14122025_10_58_14_9770.jpg
/home/pi/Desktop/images/14122025/10/58/image_14122025_10_58_24_9801.jpg
/home/pi/Desktop/images/14122025/10/58/image_14122025_10_58_35_10593.jpg
/home/pi/Desktop/images/14122025/10/58/image_14122025_10_58_44_9690.jpg
/home/pi/Desktop/images/14122025/10/58/image_14122025_10_58_55_10030.jpg
/home/pi/Desktop/images/14122025/10/58/image_14122025_10_59_04_9838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345082","1399345079","1399345084","1399345081","1399345080","1399345077"],"photo_ids_order":["1399345077","1399345079","1399345080","1399345081","1399345082","1399345084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9248c8e1cfb1cce3a06ba1c0e4cf18f.jpg","text":"TemporaryFile(/tmp/multipartBody1211002226836782165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707723613,"filename":"image_14122025_10_58_55_10030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0fd5cb2b0220bdbd09a903a9beb79ac7.jpg","text":"TemporaryFile(/tmp/multipartBody534085002095128454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707723613,"filename":"image_14122025_10_58_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/12/14/dbff6b550a035dee83409781a76464f9.jpg","text":"TemporaryFile(/tmp/multipartBody2889919242196147708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707723613,"filename":"image_14122025_10_59_04_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/685d6e57677f478a0d7da5611100df33.jpg","text":"TemporaryFile(/tmp/multipartBody1724771526050221021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707723613,"filename":"image_14122025_10_58_44_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ea63421adea952cb14e726b3d25f365c.jpg","text":"TemporaryFile(/tmp/multipartBody786159435833494200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707723613,"filename":"image_14122025_10_58_35_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d46a0899451bcd8ea76761bebf80711d.jpg","text":"TemporaryFile(/tmp/multipartBody4162111795220676443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707723613,"filename":"image_14122025_10_58_14_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345080","file1":"1399345079","file0":"1399345077","file4":"1399345082","file5":"1399345084","file3":"1399345081"},"map_files_photo_id_array":[{"photo_id":"1399345084","filename":"file5"},{"photo_id":"1399345080","filename":"file2"},{"photo_id":"1399345082","filename":"file4"},{"photo_id":"1399345079","filename":"file1"},{"photo_id":"1399345077","filename":"file0"},{"photo_id":"1399345081","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345082":["hashtag1","hashtag2"]},{"1399345079":["hashtag1","hashtag2"]},{"1399345084":["hashtag1","hashtag2"]},{"1399345081":["hashtag1","hashtag2"]},{"1399345080":["hashtag1","hashtag2"]},{"1399345077":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345082, 1399345079, 1399345084, 1399345081, 1399345080, 1399345077)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.30066633224487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:22:02.350193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/10/59/image_14122025_10_59_14_9732.jpg', '/home/pi/Desktop/images/14122025/10/59/image_14122025_10_59_25_10707.jpg', '/home/pi/Desktop/images/14122025/10/59/image_14122025_10_59_34_9713.jpg', '/home/pi/Desktop/images/14122025/10/59/image_14122025_10_59_44_9737.jpg', '/home/pi/Desktop/images/14122025/10/59/image_14122025_10_59_54_9764.jpg', '/home/pi/Desktop/images/14122025/11/00/image_14122025_11_00_14_10057.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/10/59/image_14122025_10_59_14_9732.jpg
/home/pi/Desktop/images/14122025/10/59/image_14122025_10_59_25_10707.jpg
/home/pi/Desktop/images/14122025/10/59/image_14122025_10_59_34_9713.jpg
/home/pi/Desktop/images/14122025/10/59/image_14122025_10_59_44_9737.jpg
/home/pi/Desktop/images/14122025/10/59/image_14122025_10_59_54_9764.jpg
/home/pi/Desktop/images/14122025/11/00/image_14122025_11_00_14_10057.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345101","1399345110","1399345103","1399345114","1399345095","1399345107"],"photo_ids_order":["1399345095","1399345101","1399345103","1399345107","1399345110","1399345114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1df0ca344b9ece438ea2291291c2a203.jpg","text":"TemporaryFile(/tmp/multipartBody8220455205324037371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707783056,"filename":"image_14122025_10_59_25_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/695b877fc1dd136968cf545f37d2e9bd.jpg","text":"TemporaryFile(/tmp/multipartBody8145093175661590764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707783056,"filename":"image_14122025_10_59_54_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d119b80565ab67bd32604ac5a736936f.jpg","text":"TemporaryFile(/tmp/multipartBody2870575109427815289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707783056,"filename":"image_14122025_10_59_34_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e453fd36fc0cc3b7eac198297eeafc15.jpg","text":"TemporaryFile(/tmp/multipartBody4125682920327581437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707783056,"filename":"image_14122025_11_00_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f0cb4029eba3f64fe2f592846d184990.jpg","text":"TemporaryFile(/tmp/multipartBody5139557485269246915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707783056,"filename":"image_14122025_10_59_14_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0e762a552f12c71b100092bbb488b102.jpg","text":"TemporaryFile(/tmp/multipartBody7231829680495645643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707783056,"filename":"image_14122025_10_59_44_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345103","file1":"1399345101","file0":"1399345095","file4":"1399345110","file5":"1399345114","file3":"1399345107"},"map_files_photo_id_array":[{"photo_id":"1399345114","filename":"file5"},{"photo_id":"1399345103","filename":"file2"},{"photo_id":"1399345110","filename":"file4"},{"photo_id":"1399345101","filename":"file1"},{"photo_id":"1399345095","filename":"file0"},{"photo_id":"1399345107","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345101":["hashtag1","hashtag2"]},{"1399345110":["hashtag1","hashtag2"]},{"1399345103":["hashtag1","hashtag2"]},{"1399345114":["hashtag1","hashtag2"]},{"1399345095":["hashtag1","hashtag2"]},{"1399345107":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345101, 1399345110, 1399345103, 1399345114, 1399345095, 1399345107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3856885433197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:22:41.912048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_30_2678.jpg', '/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_33_3603.jpg', '/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_36_2694.jpg', '/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_39_2683.jpg', '/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_42_3631.jpg', '/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_45_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_30_2678.jpg
/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_33_3603.jpg
/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_36_2694.jpg
/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_39_2683.jpg
/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_42_3631.jpg
/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_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":["1399345154","1399345157","1399345121","1399345124","1399345152","1399345149"],"photo_ids_order":["1399345121","1399345124","1399345149","1399345152","1399345154","1399345157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54ff3c67687bb451b199da31c0de444d.jpg","text":"TemporaryFile(/tmp/multipartBody8265030705098370874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707822669,"filename":"image_04112025_12_54_42_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ab5eeacd7326d0a073748aedf2fd9409.jpg","text":"TemporaryFile(/tmp/multipartBody3862907151981144623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707822669,"filename":"image_04112025_12_54_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/12/14/5f04d8585b881edfd24f777b8fd96a38.jpg","text":"TemporaryFile(/tmp/multipartBody3519742544147652099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707822669,"filename":"image_04112025_12_54_30_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/259135763028d08749d11d063c55dd6c.jpg","text":"TemporaryFile(/tmp/multipartBody7290563028925085699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707822669,"filename":"image_04112025_12_54_33_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d3f1a30892e9fee6b565a0458a803fcc.jpg","text":"TemporaryFile(/tmp/multipartBody8556356287647265193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707822669,"filename":"image_04112025_12_54_39_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a89189680debe9230951eb762aa5ae5b.jpg","text":"TemporaryFile(/tmp/multipartBody2116486963954876197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707822669,"filename":"image_04112025_12_54_36_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345149","file1":"1399345124","file0":"1399345121","file4":"1399345154","file5":"1399345157","file3":"1399345152"},"map_files_photo_id_array":[{"photo_id":"1399345157","filename":"file5"},{"photo_id":"1399345149","filename":"file2"},{"photo_id":"1399345154","filename":"file4"},{"photo_id":"1399345124","filename":"file1"},{"photo_id":"1399345121","filename":"file0"},{"photo_id":"1399345152","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399345154":["hashtag1","hashtag2"]},{"1399345157":["hashtag1","hashtag2"]},{"1399345121":["hashtag1","hashtag2"]},{"1399345124":["hashtag1","hashtag2"]},{"1399345152":["hashtag1","hashtag2"]},{"1399345149":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399345154, 1399345157, 1399345121, 1399345124, 1399345152, 1399345149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.346428632736206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:23:23.679827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/00/image_14122025_11_00_25_10765.jpg', '/home/pi/Desktop/images/14122025/11/00/image_14122025_11_00_34_9611.jpg', '/home/pi/Desktop/images/14122025/11/00/image_14122025_11_00_44_9643.jpg', '/home/pi/Desktop/images/14122025/11/00/image_14122025_11_00_55_10658.jpg', '/home/pi/Desktop/images/14122025/11/00/image_14122025_11_01_04_9773.jpg', '/home/pi/Desktop/images/14122025/11/01/image_14122025_11_01_14_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/00/image_14122025_11_00_25_10765.jpg
/home/pi/Desktop/images/14122025/11/00/image_14122025_11_00_34_9611.jpg
/home/pi/Desktop/images/14122025/11/00/image_14122025_11_00_44_9643.jpg
/home/pi/Desktop/images/14122025/11/00/image_14122025_11_00_55_10658.jpg
/home/pi/Desktop/images/14122025/11/00/image_14122025_11_01_04_9773.jpg
/home/pi/Desktop/images/14122025/11/01/image_14122025_11_01_14_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345166","1399345168","1399345179","1399345170","1399345164","1399345173"],"photo_ids_order":["1399345164","1399345166","1399345168","1399345170","1399345173","1399345179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28cc5f63b8e8b273c27b2f5dfc2f620f.jpg","text":"TemporaryFile(/tmp/multipartBody5472159355437119061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707864364,"filename":"image_14122025_11_00_34_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f081940add1178fe0af6747d8931e98.jpg","text":"TemporaryFile(/tmp/multipartBody5613462806908259271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707864364,"filename":"image_14122025_11_00_44_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/521d283257f8439182bf7dd3fe675d7d.jpg","text":"TemporaryFile(/tmp/multipartBody5524940397498013832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707864364,"filename":"image_14122025_11_01_14_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a8c8fe2b5906f8cc9426c8e0820d48f.jpg","text":"TemporaryFile(/tmp/multipartBody6771717560999009779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707864364,"filename":"image_14122025_11_00_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e9d99704f0024e6dceb8410a94beecf4.jpg","text":"TemporaryFile(/tmp/multipartBody6004595282437009361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707864364,"filename":"image_14122025_11_00_25_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4789fdbe40dfeaaa11c6b1d46e1f7fa9.jpg","text":"TemporaryFile(/tmp/multipartBody1955230197872450406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707864364,"filename":"image_14122025_11_01_04_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345168","file1":"1399345166","file0":"1399345164","file4":"1399345173","file5":"1399345179","file3":"1399345170"},"map_files_photo_id_array":[{"photo_id":"1399345179","filename":"file5"},{"photo_id":"1399345168","filename":"file2"},{"photo_id":"1399345173","filename":"file4"},{"photo_id":"1399345166","filename":"file1"},{"photo_id":"1399345164","filename":"file0"},{"photo_id":"1399345170","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345166":["hashtag1","hashtag2"]},{"1399345168":["hashtag1","hashtag2"]},{"1399345179":["hashtag1","hashtag2"]},{"1399345170":["hashtag1","hashtag2"]},{"1399345164":["hashtag1","hashtag2"]},{"1399345173":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345166, 1399345168, 1399345179, 1399345170, 1399345164, 1399345173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07799172401428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:24:03.003379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/01/image_14122025_11_01_25_10668.jpg', '/home/pi/Desktop/images/14122025/11/01/image_14122025_11_01_34_9621.jpg', '/home/pi/Desktop/images/14122025/11/01/image_14122025_11_01_44_9687.jpg', '/home/pi/Desktop/images/14122025/11/01/image_14122025_11_01_55_10721.jpg', '/home/pi/Desktop/images/14122025/11/01/image_14122025_11_02_05_9733.jpg', '/home/pi/Desktop/images/14122025/11/02/image_14122025_11_02_14_9855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/01/image_14122025_11_01_25_10668.jpg
/home/pi/Desktop/images/14122025/11/01/image_14122025_11_01_34_9621.jpg
/home/pi/Desktop/images/14122025/11/01/image_14122025_11_01_44_9687.jpg
/home/pi/Desktop/images/14122025/11/01/image_14122025_11_01_55_10721.jpg
/home/pi/Desktop/images/14122025/11/01/image_14122025_11_02_05_9733.jpg
/home/pi/Desktop/images/14122025/11/02/image_14122025_11_02_14_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":["1399345184","1399345187","1399345183","1399345186","1399345182","1399345185"],"photo_ids_order":["1399345182","1399345183","1399345184","1399345185","1399345186","1399345187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ae16d5b1eda3b67fc11b77285ae8c1a.jpg","text":"TemporaryFile(/tmp/multipartBody3937933523975581601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707903704,"filename":"image_14122025_11_01_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/12/14/50ae95889c79958247b94ee570dc328c.jpg","text":"TemporaryFile(/tmp/multipartBody7962725340690787855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707903704,"filename":"image_14122025_11_02_14_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/71054fd3e9eedb5224b59e4aee1c1dbd.jpg","text":"TemporaryFile(/tmp/multipartBody864583357743833822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707903704,"filename":"image_14122025_11_01_34_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19f376922d917b4ca0eee8b636f696c3.jpg","text":"TemporaryFile(/tmp/multipartBody1506315414012355115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707903704,"filename":"image_14122025_11_02_05_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba1ebc8dd65d0037b744a19a7fd24b00.jpg","text":"TemporaryFile(/tmp/multipartBody1071133432746079766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707903704,"filename":"image_14122025_11_01_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/12/14/53d22a7364e78a3671cbf0a8150ba9b9.jpg","text":"TemporaryFile(/tmp/multipartBody7841352156585804854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707903704,"filename":"image_14122025_11_01_55_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345184","file1":"1399345183","file0":"1399345182","file4":"1399345186","file5":"1399345187","file3":"1399345185"},"map_files_photo_id_array":[{"photo_id":"1399345187","filename":"file5"},{"photo_id":"1399345184","filename":"file2"},{"photo_id":"1399345186","filename":"file4"},{"photo_id":"1399345183","filename":"file1"},{"photo_id":"1399345182","filename":"file0"},{"photo_id":"1399345185","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345184":["hashtag1","hashtag2"]},{"1399345187":["hashtag1","hashtag2"]},{"1399345183":["hashtag1","hashtag2"]},{"1399345186":["hashtag1","hashtag2"]},{"1399345182":["hashtag1","hashtag2"]},{"1399345185":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345184, 1399345187, 1399345183, 1399345186, 1399345182, 1399345185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.033039569854736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:24:42.299370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_49_3564.jpg', '/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_51_2691.jpg', '/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_54_2671.jpg', '/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_57_2864.jpg', '/home/pi/Desktop/images/04112025/12/54/image_04112025_12_55_01_3685.jpg', '/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_03_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_49_3564.jpg
/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_51_2691.jpg
/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_54_2671.jpg
/home/pi/Desktop/images/04112025/12/54/image_04112025_12_54_57_2864.jpg
/home/pi/Desktop/images/04112025/12/54/image_04112025_12_55_01_3685.jpg
/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_03_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":["1399345200","1399345193","1399345196","1399345202","1399345205","1399345198"],"photo_ids_order":["1399345193","1399345196","1399345198","1399345200","1399345202","1399345205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56f2bf6c87a90d0dba0068f54cb8b5df.jpg","text":"TemporaryFile(/tmp/multipartBody2284959750923356719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707942994,"filename":"image_04112025_12_54_57_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/39d5d166357310f7277bc3cb4be73df0.jpg","text":"TemporaryFile(/tmp/multipartBody6205459368765465114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707942994,"filename":"image_04112025_12_54_49_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d0d62e40cbc758e461900dc55c0004eb.jpg","text":"TemporaryFile(/tmp/multipartBody7310400233018715633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707942994,"filename":"image_04112025_12_54_51_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/31806c78679f08ce45bf7d8bd0482bf1.jpg","text":"TemporaryFile(/tmp/multipartBody7053164157805460955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707942994,"filename":"image_04112025_12_55_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/12/14/cb7a28cacc5134364bd7527dbffb1937.jpg","text":"TemporaryFile(/tmp/multipartBody1733336650594478490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707942994,"filename":"image_04112025_12_55_03_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24f7dc06a98c26f9eff43bf652a07cb5.jpg","text":"TemporaryFile(/tmp/multipartBody4197317136302102568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707942994,"filename":"image_04112025_12_54_54_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345198","file1":"1399345196","file0":"1399345193","file4":"1399345202","file5":"1399345205","file3":"1399345200"},"map_files_photo_id_array":[{"photo_id":"1399345205","filename":"file5"},{"photo_id":"1399345198","filename":"file2"},{"photo_id":"1399345202","filename":"file4"},{"photo_id":"1399345196","filename":"file1"},{"photo_id":"1399345193","filename":"file0"},{"photo_id":"1399345200","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399345200":["hashtag1","hashtag2"]},{"1399345193":["hashtag1","hashtag2"]},{"1399345196":["hashtag1","hashtag2"]},{"1399345202":["hashtag1","hashtag2"]},{"1399345205":["hashtag1","hashtag2"]},{"1399345198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399345200, 1399345193, 1399345196, 1399345202, 1399345205, 1399345198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52089023590088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:25:22.549935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/02/image_14122025_11_02_24_9763.jpg', '/home/pi/Desktop/images/14122025/11/02/image_14122025_11_02_35_10768.jpg', '/home/pi/Desktop/images/14122025/11/02/image_14122025_11_02_45_9779.jpg', '/home/pi/Desktop/images/14122025/11/02/image_14122025_11_02_54_9673.jpg', '/home/pi/Desktop/images/14122025/11/02/image_14122025_11_03_04_9902.jpg', '/home/pi/Desktop/images/14122025/11/03/image_14122025_11_03_14_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/02/image_14122025_11_02_24_9763.jpg
/home/pi/Desktop/images/14122025/11/02/image_14122025_11_02_35_10768.jpg
/home/pi/Desktop/images/14122025/11/02/image_14122025_11_02_45_9779.jpg
/home/pi/Desktop/images/14122025/11/02/image_14122025_11_02_54_9673.jpg
/home/pi/Desktop/images/14122025/11/02/image_14122025_11_03_04_9902.jpg
/home/pi/Desktop/images/14122025/11/03/image_14122025_11_03_14_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":["1399345209","1399345217","1399345211","1399345214","1399345219","1399345212"],"photo_ids_order":["1399345209","1399345211","1399345212","1399345214","1399345217","1399345219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b45b4044b8685d86037c5afee9d6f48e.jpg","text":"TemporaryFile(/tmp/multipartBody2951493200039595189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707983244,"filename":"image_14122025_11_02_24_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d20b5623f5ef9f0c7290b2da218b51a.jpg","text":"TemporaryFile(/tmp/multipartBody4738615897391470997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707983244,"filename":"image_14122025_11_03_04_9902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da1f385b25facfad29ed3bf39b572f0f.jpg","text":"TemporaryFile(/tmp/multipartBody571874562469109159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707983244,"filename":"image_14122025_11_02_35_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d4d41ff3f64889435a35d0421aeeacd.jpg","text":"TemporaryFile(/tmp/multipartBody8013036395196567532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707983244,"filename":"image_14122025_11_02_54_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ad6d01a8c3e7edacd22e49739cc6ea6.jpg","text":"TemporaryFile(/tmp/multipartBody7100067057804285974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707983244,"filename":"image_14122025_11_03_14_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e7969d017a027c24707f99b97112d76.jpg","text":"TemporaryFile(/tmp/multipartBody645193178718655136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765707983244,"filename":"image_14122025_11_02_45_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345212","file1":"1399345211","file0":"1399345209","file4":"1399345217","file5":"1399345219","file3":"1399345214"},"map_files_photo_id_array":[{"photo_id":"1399345219","filename":"file5"},{"photo_id":"1399345212","filename":"file2"},{"photo_id":"1399345217","filename":"file4"},{"photo_id":"1399345211","filename":"file1"},{"photo_id":"1399345209","filename":"file0"},{"photo_id":"1399345214","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345209":["hashtag1","hashtag2"]},{"1399345217":["hashtag1","hashtag2"]},{"1399345211":["hashtag1","hashtag2"]},{"1399345214":["hashtag1","hashtag2"]},{"1399345219":["hashtag1","hashtag2"]},{"1399345212":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345209, 1399345217, 1399345211, 1399345214, 1399345219, 1399345212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10698342323303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:26:03.204435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/03/image_14122025_11_03_25_10703.jpg', '/home/pi/Desktop/images/14122025/11/03/image_14122025_11_03_34_9665.jpg', '/home/pi/Desktop/images/14122025/11/03/image_14122025_11_03_44_9639.jpg', '/home/pi/Desktop/images/14122025/11/03/image_14122025_11_03_55_10803.jpg', '/home/pi/Desktop/images/14122025/11/03/image_14122025_11_04_04_9698.jpg', '/home/pi/Desktop/images/14122025/11/04/image_14122025_11_04_14_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/03/image_14122025_11_03_25_10703.jpg
/home/pi/Desktop/images/14122025/11/03/image_14122025_11_03_34_9665.jpg
/home/pi/Desktop/images/14122025/11/03/image_14122025_11_03_44_9639.jpg
/home/pi/Desktop/images/14122025/11/03/image_14122025_11_03_55_10803.jpg
/home/pi/Desktop/images/14122025/11/03/image_14122025_11_04_04_9698.jpg
/home/pi/Desktop/images/14122025/11/04/image_14122025_11_04_14_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345221","1399345220","1399345223","1399345222","1399345225","1399345224"],"photo_ids_order":["1399345220","1399345221","1399345222","1399345223","1399345224","1399345225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ec1aa5beaeb2d86d53be9ff02989582a.jpg","text":"TemporaryFile(/tmp/multipartBody7285952130871634010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708023882,"filename":"image_14122025_11_03_34_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4637cfefb0b1ca949e72683cc2c92016.jpg","text":"TemporaryFile(/tmp/multipartBody2853019536210961114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708023882,"filename":"image_14122025_11_03_25_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eba3144e64007290295dbacfd7050940.jpg","text":"TemporaryFile(/tmp/multipartBody8651943138659287952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708023882,"filename":"image_14122025_11_03_55_10803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56097fad02a4c4b33bab508d86beb546.jpg","text":"TemporaryFile(/tmp/multipartBody239096222253121525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708023882,"filename":"image_14122025_11_03_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/04e138be8125a29e9a1ec53d30fd7d29.jpg","text":"TemporaryFile(/tmp/multipartBody5632215335057539894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708023882,"filename":"image_14122025_11_04_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/12/14/8e60265888205b68da782e68f3c3a83a.jpg","text":"TemporaryFile(/tmp/multipartBody4649841932369748924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708023882,"filename":"image_14122025_11_04_04_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345222","file1":"1399345221","file0":"1399345220","file4":"1399345224","file5":"1399345225","file3":"1399345223"},"map_files_photo_id_array":[{"photo_id":"1399345225","filename":"file5"},{"photo_id":"1399345222","filename":"file2"},{"photo_id":"1399345224","filename":"file4"},{"photo_id":"1399345221","filename":"file1"},{"photo_id":"1399345220","filename":"file0"},{"photo_id":"1399345223","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345221":["hashtag1","hashtag2"]},{"1399345220":["hashtag1","hashtag2"]},{"1399345223":["hashtag1","hashtag2"]},{"1399345222":["hashtag1","hashtag2"]},{"1399345225":["hashtag1","hashtag2"]},{"1399345224":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345221, 1399345220, 1399345223, 1399345222, 1399345225, 1399345224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76298260688782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:26:42.791381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_06_2592.jpg', '/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_09_3601.jpg', '/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_12_2540.jpg', '/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_15_2923.jpg', '/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_19_3737.jpg', '/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_21_2801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_06_2592.jpg
/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_09_3601.jpg
/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_12_2540.jpg
/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_15_2923.jpg
/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_19_3737.jpg
/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_21_2801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345238","1399345240","1399345243","1399345236","1399345245","1399345233"],"photo_ids_order":["1399345233","1399345236","1399345238","1399345240","1399345243","1399345245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7525e083778835e7434f915359063600.jpg","text":"TemporaryFile(/tmp/multipartBody8431932142826109376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708063487,"filename":"image_04112025_12_55_12_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7dd26443126c83711fd5d667b22b1c70.jpg","text":"TemporaryFile(/tmp/multipartBody5406060161410955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708063487,"filename":"image_04112025_12_55_15_2923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7b8b87269a9c184962b989cbee402f61.jpg","text":"TemporaryFile(/tmp/multipartBody1003118080936450512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708063487,"filename":"image_04112025_12_55_19_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b14bca79647153040a743f57f985ba62.jpg","text":"TemporaryFile(/tmp/multipartBody5024511349724331218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708063487,"filename":"image_04112025_12_55_09_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/07112666288fe5856ba4c26d5ae4bed6.jpg","text":"TemporaryFile(/tmp/multipartBody8446267906572994496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708063487,"filename":"image_04112025_12_55_21_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b165e91fdfe1d66152dc4b2f989b167.jpg","text":"TemporaryFile(/tmp/multipartBody8895580381165229067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708063487,"filename":"image_04112025_12_55_06_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345238","file1":"1399345236","file0":"1399345233","file4":"1399345243","file5":"1399345245","file3":"1399345240"},"map_files_photo_id_array":[{"photo_id":"1399345245","filename":"file5"},{"photo_id":"1399345238","filename":"file2"},{"photo_id":"1399345243","filename":"file4"},{"photo_id":"1399345236","filename":"file1"},{"photo_id":"1399345233","filename":"file0"},{"photo_id":"1399345240","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399345238":["hashtag1","hashtag2"]},{"1399345240":["hashtag1","hashtag2"]},{"1399345243":["hashtag1","hashtag2"]},{"1399345236":["hashtag1","hashtag2"]},{"1399345245":["hashtag1","hashtag2"]},{"1399345233":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399345238, 1399345240, 1399345243, 1399345236, 1399345245, 1399345233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.753636837005615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:27:22.060148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/04/image_14122025_11_04_25_10693.jpg', '/home/pi/Desktop/images/14122025/11/04/image_14122025_11_04_34_9567.jpg', '/home/pi/Desktop/images/14122025/11/04/image_14122025_11_04_44_9784.jpg', '/home/pi/Desktop/images/14122025/11/04/image_14122025_11_04_54_9812.jpg', '/home/pi/Desktop/images/14122025/11/05/image_14122025_11_05_14_10056.jpg', '/home/pi/Desktop/images/14122025/11/05/image_14122025_11_05_25_10734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/04/image_14122025_11_04_25_10693.jpg
/home/pi/Desktop/images/14122025/11/04/image_14122025_11_04_34_9567.jpg
/home/pi/Desktop/images/14122025/11/04/image_14122025_11_04_44_9784.jpg
/home/pi/Desktop/images/14122025/11/04/image_14122025_11_04_54_9812.jpg
/home/pi/Desktop/images/14122025/11/05/image_14122025_11_05_14_10056.jpg
/home/pi/Desktop/images/14122025/11/05/image_14122025_11_05_25_10734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345247","1399345250","1399345258","1399345252","1399345254","1399345248"],"photo_ids_order":["1399345247","1399345248","1399345250","1399345252","1399345254","1399345258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1581cc24c10f1a8e59bc43db04ee8ea0.jpg","text":"TemporaryFile(/tmp/multipartBody1731689107759539734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708102704,"filename":"image_14122025_11_04_25_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/10b4c0713eb499c20c283f1bed0523d4.jpg","text":"TemporaryFile(/tmp/multipartBody6418327978360957860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708102704,"filename":"image_14122025_11_04_44_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a63f22a2b6aee47d44b3c0dfc652dca8.jpg","text":"TemporaryFile(/tmp/multipartBody1789000569374778072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708102704,"filename":"image_14122025_11_05_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/12/14/a59c73ac10b01468cd6eb479f30dc7af.jpg","text":"TemporaryFile(/tmp/multipartBody7745501746668814863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708102704,"filename":"image_14122025_11_04_54_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/83cf16a147853e72cf56b9a0a51e6b5f.jpg","text":"TemporaryFile(/tmp/multipartBody1217231402620850708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708102704,"filename":"image_14122025_11_05_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6adf6f92e94978f937ac58a58309f012.jpg","text":"TemporaryFile(/tmp/multipartBody422288393855497013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708102704,"filename":"image_14122025_11_04_34_9567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345250","file1":"1399345248","file0":"1399345247","file4":"1399345254","file5":"1399345258","file3":"1399345252"},"map_files_photo_id_array":[{"photo_id":"1399345258","filename":"file5"},{"photo_id":"1399345250","filename":"file2"},{"photo_id":"1399345254","filename":"file4"},{"photo_id":"1399345248","filename":"file1"},{"photo_id":"1399345247","filename":"file0"},{"photo_id":"1399345252","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345247":["hashtag1","hashtag2"]},{"1399345250":["hashtag1","hashtag2"]},{"1399345258":["hashtag1","hashtag2"]},{"1399345252":["hashtag1","hashtag2"]},{"1399345254":["hashtag1","hashtag2"]},{"1399345248":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345247, 1399345250, 1399345258, 1399345252, 1399345254, 1399345248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.098612785339355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:28:02.827272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/05/image_14122025_11_05_34_9700.jpg', '/home/pi/Desktop/images/14122025/11/05/image_14122025_11_05_44_9631.jpg', '/home/pi/Desktop/images/14122025/11/05/image_14122025_11_05_55_10644.jpg', '/home/pi/Desktop/images/14122025/11/05/image_14122025_11_06_04_9702.jpg', '/home/pi/Desktop/images/14122025/11/06/image_14122025_11_06_14_9728.jpg', '/home/pi/Desktop/images/14122025/11/06/image_14122025_11_06_25_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/05/image_14122025_11_05_34_9700.jpg
/home/pi/Desktop/images/14122025/11/05/image_14122025_11_05_44_9631.jpg
/home/pi/Desktop/images/14122025/11/05/image_14122025_11_05_55_10644.jpg
/home/pi/Desktop/images/14122025/11/05/image_14122025_11_06_04_9702.jpg
/home/pi/Desktop/images/14122025/11/06/image_14122025_11_06_14_9728.jpg
/home/pi/Desktop/images/14122025/11/06/image_14122025_11_06_25_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":["1399345265","1399345268","1399345270","1399345267","1399345272","1399345269"],"photo_ids_order":["1399345265","1399345267","1399345268","1399345269","1399345270","1399345272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b8e129c611d0eb4a5671c4587694d3b.jpg","text":"TemporaryFile(/tmp/multipartBody7277811520040105335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708143508,"filename":"image_14122025_11_05_34_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f796793a8dd076f49a63b3cfccae6f35.jpg","text":"TemporaryFile(/tmp/multipartBody7044828700807400909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708143508,"filename":"image_14122025_11_05_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/10b0b9bef3b273ac005a4f5e1f9f9eb4.jpg","text":"TemporaryFile(/tmp/multipartBody2006498025706451957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708143508,"filename":"image_14122025_11_06_14_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/60ea080ffed95f1ba59d8562fcd8c990.jpg","text":"TemporaryFile(/tmp/multipartBody5984437082563197234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708143508,"filename":"image_14122025_11_05_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5589cc8e37d4b63cab413eaddfdc37f7.jpg","text":"TemporaryFile(/tmp/multipartBody5012627314537961111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708143508,"filename":"image_14122025_11_06_25_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae82bc225adb0316c628dbdfd2a7ca7b.jpg","text":"TemporaryFile(/tmp/multipartBody2989275806867007552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708143508,"filename":"image_14122025_11_06_04_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345268","file1":"1399345267","file0":"1399345265","file4":"1399345270","file5":"1399345272","file3":"1399345269"},"map_files_photo_id_array":[{"photo_id":"1399345272","filename":"file5"},{"photo_id":"1399345268","filename":"file2"},{"photo_id":"1399345270","filename":"file4"},{"photo_id":"1399345267","filename":"file1"},{"photo_id":"1399345265","filename":"file0"},{"photo_id":"1399345269","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345265":["hashtag1","hashtag2"]},{"1399345268":["hashtag1","hashtag2"]},{"1399345270":["hashtag1","hashtag2"]},{"1399345267":["hashtag1","hashtag2"]},{"1399345272":["hashtag1","hashtag2"]},{"1399345269":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345265, 1399345268, 1399345270, 1399345267, 1399345272, 1399345269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.02739906311035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:28:42.424647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_24_2574.jpg', '/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_28_3524.jpg', '/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_30_2618.jpg', '/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_34_3545.jpg', '/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_36_2685.jpg', '/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_39_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_24_2574.jpg
/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_28_3524.jpg
/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_30_2618.jpg
/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_34_3545.jpg
/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_36_2685.jpg
/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_39_2620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345283","1399345280","1399345277","1399345279","1399345281","1399345278"],"photo_ids_order":["1399345277","1399345278","1399345279","1399345280","1399345281","1399345283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ee97e186527fe4bb91bb2236bb5b59c5.jpg","text":"TemporaryFile(/tmp/multipartBody7393775997742831374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708183298,"filename":"image_04112025_12_55_39_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ddd9669f28c7be5942af090ea6e69c38.jpg","text":"TemporaryFile(/tmp/multipartBody4740760665972969620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708183298,"filename":"image_04112025_12_55_34_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/02aac286e303c7ecee5f715e302572f6.jpg","text":"TemporaryFile(/tmp/multipartBody9064949229656108633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708183298,"filename":"image_04112025_12_55_24_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/401c544ade37f96d8990714d9bb6e135.jpg","text":"TemporaryFile(/tmp/multipartBody1712810092407529548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708183298,"filename":"image_04112025_12_55_30_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe877d19bf2d1ce39e5863516b5f28c5.jpg","text":"TemporaryFile(/tmp/multipartBody7502082226589185121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708183298,"filename":"image_04112025_12_55_36_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ea349d10f31465bc9de082f066955bfd.jpg","text":"TemporaryFile(/tmp/multipartBody5658149414932316119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708183298,"filename":"image_04112025_12_55_28_3524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345279","file1":"1399345278","file0":"1399345277","file4":"1399345281","file5":"1399345283","file3":"1399345280"},"map_files_photo_id_array":[{"photo_id":"1399345283","filename":"file5"},{"photo_id":"1399345279","filename":"file2"},{"photo_id":"1399345281","filename":"file4"},{"photo_id":"1399345278","filename":"file1"},{"photo_id":"1399345277","filename":"file0"},{"photo_id":"1399345280","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399345283":["hashtag1","hashtag2"]},{"1399345280":["hashtag1","hashtag2"]},{"1399345277":["hashtag1","hashtag2"]},{"1399345279":["hashtag1","hashtag2"]},{"1399345281":["hashtag1","hashtag2"]},{"1399345278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399345283, 1399345280, 1399345277, 1399345279, 1399345281, 1399345278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45124435424805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:29:22.734675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/06/image_14122025_11_06_34_9709.jpg', '/home/pi/Desktop/images/14122025/11/06/image_14122025_11_06_44_9812.jpg', '/home/pi/Desktop/images/14122025/11/06/image_14122025_11_06_54_9696.jpg', '/home/pi/Desktop/images/14122025/11/06/image_14122025_11_07_04_10074.jpg', '/home/pi/Desktop/images/14122025/11/07/image_14122025_11_07_15_10571.jpg', '/home/pi/Desktop/images/14122025/11/07/image_14122025_11_07_24_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/06/image_14122025_11_06_34_9709.jpg
/home/pi/Desktop/images/14122025/11/06/image_14122025_11_06_44_9812.jpg
/home/pi/Desktop/images/14122025/11/06/image_14122025_11_06_54_9696.jpg
/home/pi/Desktop/images/14122025/11/06/image_14122025_11_07_04_10074.jpg
/home/pi/Desktop/images/14122025/11/07/image_14122025_11_07_15_10571.jpg
/home/pi/Desktop/images/14122025/11/07/image_14122025_11_07_24_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":["1399345302","1399345286","1399345289","1399345291","1399345293","1399345296"],"photo_ids_order":["1399345286","1399345289","1399345291","1399345293","1399345296","1399345302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae7d657968e03890c6ef84d1ca838293.jpg","text":"TemporaryFile(/tmp/multipartBody7011222572888240384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708223410,"filename":"image_14122025_11_07_24_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14c93ff103258165de1f1573c2aa1529.jpg","text":"TemporaryFile(/tmp/multipartBody6489167058613263395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708223410,"filename":"image_14122025_11_06_34_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6aa77d9282642e46c2a35ec7efe0fa41.jpg","text":"TemporaryFile(/tmp/multipartBody2162189239651399670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708223410,"filename":"image_14122025_11_06_44_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c29a0634bfcd8b170b6edbf8a1dec593.jpg","text":"TemporaryFile(/tmp/multipartBody7809218102746966302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708223410,"filename":"image_14122025_11_06_54_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3fe4ceac6ddc33a10d7e4567d202b638.jpg","text":"TemporaryFile(/tmp/multipartBody1931761618860474047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708223410,"filename":"image_14122025_11_07_04_10074.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b62136eba2d50fd17d999c82ba39117a.jpg","text":"TemporaryFile(/tmp/multipartBody5969359598324485485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708223410,"filename":"image_14122025_11_07_15_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345291","file1":"1399345289","file0":"1399345286","file4":"1399345296","file5":"1399345302","file3":"1399345293"},"map_files_photo_id_array":[{"photo_id":"1399345302","filename":"file5"},{"photo_id":"1399345291","filename":"file2"},{"photo_id":"1399345296","filename":"file4"},{"photo_id":"1399345289","filename":"file1"},{"photo_id":"1399345286","filename":"file0"},{"photo_id":"1399345293","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345302":["hashtag1","hashtag2"]},{"1399345286":["hashtag1","hashtag2"]},{"1399345289":["hashtag1","hashtag2"]},{"1399345291":["hashtag1","hashtag2"]},{"1399345293":["hashtag1","hashtag2"]},{"1399345296":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345302, 1399345286, 1399345289, 1399345291, 1399345293, 1399345296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12364959716797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 11:30:11.855314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:30:21.914914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/07/image_14122025_11_07_34_9719.jpg', '/home/pi/Desktop/images/14122025/11/07/image_14122025_11_07_45_10674.jpg', '/home/pi/Desktop/images/14122025/11/07/image_14122025_11_07_54_9739.jpg', '/home/pi/Desktop/images/14122025/11/07/image_14122025_11_08_04_9737.jpg', '/home/pi/Desktop/images/14122025/11/08/image_14122025_11_08_15_10713.jpg', '/home/pi/Desktop/images/14122025/11/08/image_14122025_11_08_24_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/07/image_14122025_11_07_34_9719.jpg
/home/pi/Desktop/images/14122025/11/07/image_14122025_11_07_45_10674.jpg
/home/pi/Desktop/images/14122025/11/07/image_14122025_11_07_54_9739.jpg
/home/pi/Desktop/images/14122025/11/07/image_14122025_11_08_04_9737.jpg
/home/pi/Desktop/images/14122025/11/08/image_14122025_11_08_15_10713.jpg
/home/pi/Desktop/images/14122025/11/08/image_14122025_11_08_24_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":["1399345340","1399345343","1399345337","1399345339","1399345335","1399345332"],"photo_ids_order":["1399345332","1399345335","1399345337","1399345339","1399345340","1399345343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a2638c11fa9bf4e071d93666f8e92178.jpg","text":"TemporaryFile(/tmp/multipartBody7536569216546720124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708282566,"filename":"image_14122025_11_08_15_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e70a31e25a1a0d52514164cf833f6260.jpg","text":"TemporaryFile(/tmp/multipartBody4144674922295550478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708282566,"filename":"image_14122025_11_08_24_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4dc8874a6824c50c517b420144182594.jpg","text":"TemporaryFile(/tmp/multipartBody4636578617689340581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708282566,"filename":"image_14122025_11_07_54_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/10f7732985504c54b29daa635031c06d.jpg","text":"TemporaryFile(/tmp/multipartBody6833140986002594854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708282566,"filename":"image_14122025_11_08_04_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ab0aa9233b64781949d0701856468912.jpg","text":"TemporaryFile(/tmp/multipartBody3897575654840229629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708282566,"filename":"image_14122025_11_07_45_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6465ec1b3c077061fc2fea17c3079270.jpg","text":"TemporaryFile(/tmp/multipartBody8263374346073161414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708282566,"filename":"image_14122025_11_07_34_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345337","file1":"1399345335","file0":"1399345332","file4":"1399345340","file5":"1399345343","file3":"1399345339"},"map_files_photo_id_array":[{"photo_id":"1399345343","filename":"file5"},{"photo_id":"1399345337","filename":"file2"},{"photo_id":"1399345340","filename":"file4"},{"photo_id":"1399345335","filename":"file1"},{"photo_id":"1399345332","filename":"file0"},{"photo_id":"1399345339","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345340":["hashtag1","hashtag2"]},{"1399345343":["hashtag1","hashtag2"]},{"1399345337":["hashtag1","hashtag2"]},{"1399345339":["hashtag1","hashtag2"]},{"1399345335":["hashtag1","hashtag2"]},{"1399345332":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345340, 1399345343, 1399345337, 1399345339, 1399345335, 1399345332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68736672401428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:31:02.897614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/08/image_14122025_11_08_34_9859.jpg', '/home/pi/Desktop/images/14122025/11/08/image_14122025_11_08_44_9702.jpg', '/home/pi/Desktop/images/14122025/11/08/image_14122025_11_08_54_9741.jpg', '/home/pi/Desktop/images/14122025/11/08/image_14122025_11_09_04_10686.jpg', '/home/pi/Desktop/images/14122025/11/09/image_14122025_11_09_14_9686.jpg', '/home/pi/Desktop/images/14122025/11/09/image_14122025_11_09_24_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/08/image_14122025_11_08_34_9859.jpg
/home/pi/Desktop/images/14122025/11/08/image_14122025_11_08_44_9702.jpg
/home/pi/Desktop/images/14122025/11/08/image_14122025_11_08_54_9741.jpg
/home/pi/Desktop/images/14122025/11/08/image_14122025_11_09_04_10686.jpg
/home/pi/Desktop/images/14122025/11/09/image_14122025_11_09_14_9686.jpg
/home/pi/Desktop/images/14122025/11/09/image_14122025_11_09_24_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345346","1399345349","1399345348","1399345353","1399345350","1399345344"],"photo_ids_order":["1399345344","1399345346","1399345348","1399345349","1399345350","1399345353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7fb82844208caebe203a88cab847026b.jpg","text":"TemporaryFile(/tmp/multipartBody3241455418006430440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708323665,"filename":"image_14122025_11_08_44_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d5a677bca3cba430d9bc48cc7050d82.jpg","text":"TemporaryFile(/tmp/multipartBody293708673026104995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708323665,"filename":"image_14122025_11_09_04_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e31c22afd55fd30d1e2000df43f249e.jpg","text":"TemporaryFile(/tmp/multipartBody4204339173871384827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708323665,"filename":"image_14122025_11_08_54_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19882ed8da27d82e07d594aee89204cd.jpg","text":"TemporaryFile(/tmp/multipartBody5319708345433888029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708323665,"filename":"image_14122025_11_09_24_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5daaa554506709db110cf769cf1bac1d.jpg","text":"TemporaryFile(/tmp/multipartBody4385153482550949993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708323665,"filename":"image_14122025_11_09_14_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/58c79d8bb2d7db6f4ffccb3b31693b19.jpg","text":"TemporaryFile(/tmp/multipartBody7557692179103604515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708323665,"filename":"image_14122025_11_08_34_9859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345348","file1":"1399345346","file0":"1399345344","file4":"1399345350","file5":"1399345353","file3":"1399345349"},"map_files_photo_id_array":[{"photo_id":"1399345353","filename":"file5"},{"photo_id":"1399345348","filename":"file2"},{"photo_id":"1399345350","filename":"file4"},{"photo_id":"1399345346","filename":"file1"},{"photo_id":"1399345344","filename":"file0"},{"photo_id":"1399345349","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345346":["hashtag1","hashtag2"]},{"1399345349":["hashtag1","hashtag2"]},{"1399345348":["hashtag1","hashtag2"]},{"1399345353":["hashtag1","hashtag2"]},{"1399345350":["hashtag1","hashtag2"]},{"1399345344":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345346, 1399345349, 1399345348, 1399345353, 1399345350, 1399345344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36905574798584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:31:42.083770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_42_2729.jpg', '/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_45_3687.jpg', '/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_48_2583.jpg', '/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_52_3549.jpg', '/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_54_2710.jpg', '/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_57_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_42_2729.jpg
/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_45_3687.jpg
/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_48_2583.jpg
/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_52_3549.jpg
/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_54_2710.jpg
/home/pi/Desktop/images/04112025/12/55/image_04112025_12_55_57_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":["1399345361","1399345363","1399345357","1399345360","1399345362","1399345359"],"photo_ids_order":["1399345357","1399345359","1399345360","1399345361","1399345362","1399345363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa5f3f08bea2149b14e2705fb32caecf.jpg","text":"TemporaryFile(/tmp/multipartBody8365790026913025341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708362796,"filename":"image_04112025_12_55_52_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b2028f7cb5b4da3382fb26fde23f5258.jpg","text":"TemporaryFile(/tmp/multipartBody2004180727774013389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708362796,"filename":"image_04112025_12_55_57_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8084849296b0f3c0c2d642ee1b64aa6f.jpg","text":"TemporaryFile(/tmp/multipartBody2895268231011454795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708362796,"filename":"image_04112025_12_55_42_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0eb27aeff78be0228e8e8915a265bd41.jpg","text":"TemporaryFile(/tmp/multipartBody8436895845359448644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708362796,"filename":"image_04112025_12_55_48_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0afc78c8a53dd86de750baf64d6d4f53.jpg","text":"TemporaryFile(/tmp/multipartBody716486235871262831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708362796,"filename":"image_04112025_12_55_54_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94b18b8e01908778e9ff67a67d09616d.jpg","text":"TemporaryFile(/tmp/multipartBody3027392642908093583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708362796,"filename":"image_04112025_12_55_45_3687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345360","file1":"1399345359","file0":"1399345357","file4":"1399345362","file5":"1399345363","file3":"1399345361"},"map_files_photo_id_array":[{"photo_id":"1399345363","filename":"file5"},{"photo_id":"1399345360","filename":"file2"},{"photo_id":"1399345362","filename":"file4"},{"photo_id":"1399345359","filename":"file1"},{"photo_id":"1399345357","filename":"file0"},{"photo_id":"1399345361","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399345361":["hashtag1","hashtag2"]},{"1399345363":["hashtag1","hashtag2"]},{"1399345357":["hashtag1","hashtag2"]},{"1399345360":["hashtag1","hashtag2"]},{"1399345362":["hashtag1","hashtag2"]},{"1399345359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399345361, 1399345363, 1399345357, 1399345360, 1399345362, 1399345359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.915791749954224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:32:22.321584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/09/image_14122025_11_09_35_10702.jpg', '/home/pi/Desktop/images/14122025/11/09/image_14122025_11_09_44_9547.jpg', '/home/pi/Desktop/images/14122025/11/09/image_14122025_11_09_54_9824.jpg', '/home/pi/Desktop/images/14122025/11/10/image_14122025_11_10_14_10056.jpg', '/home/pi/Desktop/images/14122025/11/10/image_14122025_11_10_25_10694.jpg', '/home/pi/Desktop/images/14122025/11/10/image_14122025_11_10_35_9898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/09/image_14122025_11_09_35_10702.jpg
/home/pi/Desktop/images/14122025/11/09/image_14122025_11_09_44_9547.jpg
/home/pi/Desktop/images/14122025/11/09/image_14122025_11_09_54_9824.jpg
/home/pi/Desktop/images/14122025/11/10/image_14122025_11_10_14_10056.jpg
/home/pi/Desktop/images/14122025/11/10/image_14122025_11_10_25_10694.jpg
/home/pi/Desktop/images/14122025/11/10/image_14122025_11_10_35_9898.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345379","1399345370","1399345364","1399345366","1399345368","1399345377"],"photo_ids_order":["1399345364","1399345366","1399345368","1399345370","1399345377","1399345379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bca1362beacfd82956bb9a5470902eba.jpg","text":"TemporaryFile(/tmp/multipartBody8379284849309371725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708403011,"filename":"image_14122025_11_10_35_9898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e624f37aedb7030932f22ce9bbdd7664.jpg","text":"TemporaryFile(/tmp/multipartBody8791017430320688071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708403011,"filename":"image_14122025_11_10_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6cdafe0af60fa03e812260c700ddcde1.jpg","text":"TemporaryFile(/tmp/multipartBody6352490607722681876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708403011,"filename":"image_14122025_11_09_35_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e46c34fad21e38c83addaec9fc6e6bf0.jpg","text":"TemporaryFile(/tmp/multipartBody8810112633066378451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708403011,"filename":"image_14122025_11_09_44_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90760573a523f6bc89f32946a26d31a8.jpg","text":"TemporaryFile(/tmp/multipartBody4649289412261390509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708403011,"filename":"image_14122025_11_09_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/12/14/842cbce892dc2fd44f5b806a9ad0141e.jpg","text":"TemporaryFile(/tmp/multipartBody6759808375814847665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708403011,"filename":"image_14122025_11_10_25_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345368","file1":"1399345366","file0":"1399345364","file4":"1399345377","file5":"1399345379","file3":"1399345370"},"map_files_photo_id_array":[{"photo_id":"1399345379","filename":"file5"},{"photo_id":"1399345368","filename":"file2"},{"photo_id":"1399345377","filename":"file4"},{"photo_id":"1399345366","filename":"file1"},{"photo_id":"1399345364","filename":"file0"},{"photo_id":"1399345370","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345379":["hashtag1","hashtag2"]},{"1399345370":["hashtag1","hashtag2"]},{"1399345364":["hashtag1","hashtag2"]},{"1399345366":["hashtag1","hashtag2"]},{"1399345368":["hashtag1","hashtag2"]},{"1399345377":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345379, 1399345370, 1399345364, 1399345366, 1399345368, 1399345377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98705530166626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:33:03.016367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/10/image_14122025_11_10_45_9752.jpg', '/home/pi/Desktop/images/14122025/11/10/image_14122025_11_10_54_9604.jpg', '/home/pi/Desktop/images/14122025/11/10/image_14122025_11_11_05_10744.jpg', '/home/pi/Desktop/images/14122025/11/11/image_14122025_11_11_15_9831.jpg', '/home/pi/Desktop/images/14122025/11/11/image_14122025_11_11_25_9761.jpg', '/home/pi/Desktop/images/14122025/11/11/image_14122025_11_11_34_9888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/10/image_14122025_11_10_45_9752.jpg
/home/pi/Desktop/images/14122025/11/10/image_14122025_11_10_54_9604.jpg
/home/pi/Desktop/images/14122025/11/10/image_14122025_11_11_05_10744.jpg
/home/pi/Desktop/images/14122025/11/11/image_14122025_11_11_15_9831.jpg
/home/pi/Desktop/images/14122025/11/11/image_14122025_11_11_25_9761.jpg
/home/pi/Desktop/images/14122025/11/11/image_14122025_11_11_34_9888.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345382","1399345385","1399345387","1399345381","1399345380","1399345383"],"photo_ids_order":["1399345380","1399345381","1399345382","1399345383","1399345385","1399345387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7e0e48360491f65c7304660a866f940c.jpg","text":"TemporaryFile(/tmp/multipartBody1562319932627797233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708443814,"filename":"image_14122025_11_11_05_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51904c980d84e730c2873710cf1a7cbf.jpg","text":"TemporaryFile(/tmp/multipartBody2138552260826437042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708443814,"filename":"image_14122025_11_11_25_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36ac079bc88e7d61a833ccce830874da.jpg","text":"TemporaryFile(/tmp/multipartBody1851555826327828143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708443814,"filename":"image_14122025_11_11_34_9888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2db1adc2a5c5ec8a17637bafa4e6f051.jpg","text":"TemporaryFile(/tmp/multipartBody4503882987474933920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708443814,"filename":"image_14122025_11_10_54_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d6b5a3572b23f67a3034c42b27052279.jpg","text":"TemporaryFile(/tmp/multipartBody1967232336485976317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708443814,"filename":"image_14122025_11_10_45_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7695779ed3449867bb1a7df6c7ad7446.jpg","text":"TemporaryFile(/tmp/multipartBody9125048856060676786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708443814,"filename":"image_14122025_11_11_15_9831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345382","file1":"1399345381","file0":"1399345380","file4":"1399345385","file5":"1399345387","file3":"1399345383"},"map_files_photo_id_array":[{"photo_id":"1399345387","filename":"file5"},{"photo_id":"1399345382","filename":"file2"},{"photo_id":"1399345385","filename":"file4"},{"photo_id":"1399345381","filename":"file1"},{"photo_id":"1399345380","filename":"file0"},{"photo_id":"1399345383","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345382":["hashtag1","hashtag2"]},{"1399345385":["hashtag1","hashtag2"]},{"1399345387":["hashtag1","hashtag2"]},{"1399345381":["hashtag1","hashtag2"]},{"1399345380":["hashtag1","hashtag2"]},{"1399345383":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345382, 1399345385, 1399345387, 1399345381, 1399345380, 1399345383)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.06139922142029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:34:02.488192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/11/image_14122025_11_11_45_10735.jpg', '/home/pi/Desktop/images/14122025/11/11/image_14122025_11_11_55_9785.jpg', '/home/pi/Desktop/images/14122025/11/11/image_14122025_11_12_05_9783.jpg', '/home/pi/Desktop/images/14122025/11/12/image_14122025_11_12_15_9780.jpg', '/home/pi/Desktop/images/14122025/11/12/image_14122025_11_12_24_9695.jpg', '/home/pi/Desktop/images/14122025/11/12/image_14122025_11_12_35_10825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/11/image_14122025_11_11_45_10735.jpg
/home/pi/Desktop/images/14122025/11/11/image_14122025_11_11_55_9785.jpg
/home/pi/Desktop/images/14122025/11/11/image_14122025_11_12_05_9783.jpg
/home/pi/Desktop/images/14122025/11/12/image_14122025_11_12_15_9780.jpg
/home/pi/Desktop/images/14122025/11/12/image_14122025_11_12_24_9695.jpg
/home/pi/Desktop/images/14122025/11/12/image_14122025_11_12_35_10825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345397","1399345394","1399345393","1399345396","1399345399","1399345395"],"photo_ids_order":["1399345393","1399345394","1399345395","1399345396","1399345397","1399345399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29d625255a4a4051949f5b508287f47e.jpg","text":"TemporaryFile(/tmp/multipartBody3517286860427624352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708503159,"filename":"image_14122025_11_12_24_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b3841d3fd78563ea15e92172d55fadb.jpg","text":"TemporaryFile(/tmp/multipartBody2634647326060225758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708503159,"filename":"image_14122025_11_11_55_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0a12b7fac5c85a6fc95dbdaba9fb6dd9.jpg","text":"TemporaryFile(/tmp/multipartBody8951786582079471162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708503159,"filename":"image_14122025_11_11_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/12/14/6d6e012c7e4026a02d492821922fb89c.jpg","text":"TemporaryFile(/tmp/multipartBody4124138853900842590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708503159,"filename":"image_14122025_11_12_15_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/344e50e8b9ba394084865ea7c267d57b.jpg","text":"TemporaryFile(/tmp/multipartBody7254699543793713832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708503159,"filename":"image_14122025_11_12_35_10825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24d7e8fd8d9834eeda66fe7548b22a6e.jpg","text":"TemporaryFile(/tmp/multipartBody2153583700555671852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708503159,"filename":"image_14122025_11_12_05_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345395","file1":"1399345394","file0":"1399345393","file4":"1399345397","file5":"1399345399","file3":"1399345396"},"map_files_photo_id_array":[{"photo_id":"1399345399","filename":"file5"},{"photo_id":"1399345395","filename":"file2"},{"photo_id":"1399345397","filename":"file4"},{"photo_id":"1399345394","filename":"file1"},{"photo_id":"1399345393","filename":"file0"},{"photo_id":"1399345396","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345397":["hashtag1","hashtag2"]},{"1399345394":["hashtag1","hashtag2"]},{"1399345393":["hashtag1","hashtag2"]},{"1399345396":["hashtag1","hashtag2"]},{"1399345399":["hashtag1","hashtag2"]},{"1399345395":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345397, 1399345394, 1399345393, 1399345396, 1399345399, 1399345395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07699418067932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:34:41.914510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/55/image_04112025_12_56_01_3708.jpg', '/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_03_2717.jpg', '/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_06_2629.jpg', '/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_09_3565.jpg', '/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_12_2590.jpg', '/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_15_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/55/image_04112025_12_56_01_3708.jpg
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_03_2717.jpg
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_06_2629.jpg
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_09_3565.jpg
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_12_2590.jpg
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_15_2729.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5768082141876221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:35:02.798827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/12/image_14122025_11_12_45_9593.jpg', '/home/pi/Desktop/images/14122025/11/12/image_14122025_11_12_54_9617.jpg', '/home/pi/Desktop/images/14122025/11/12/image_14122025_11_13_05_10748.jpg', '/home/pi/Desktop/images/14122025/11/13/image_14122025_11_13_15_9782.jpg', '/home/pi/Desktop/images/14122025/11/13/image_14122025_11_13_25_9810.jpg', '/home/pi/Desktop/images/14122025/11/13/image_14122025_11_13_34_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/12/image_14122025_11_12_45_9593.jpg
/home/pi/Desktop/images/14122025/11/12/image_14122025_11_12_54_9617.jpg
/home/pi/Desktop/images/14122025/11/12/image_14122025_11_13_05_10748.jpg
/home/pi/Desktop/images/14122025/11/13/image_14122025_11_13_15_9782.jpg
/home/pi/Desktop/images/14122025/11/13/image_14122025_11_13_25_9810.jpg
/home/pi/Desktop/images/14122025/11/13/image_14122025_11_13_34_9836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399345413","1399345415","1399345412","1399345411","1399345414","1399345417"],"photo_ids_order":["1399345411","1399345412","1399345413","1399345414","1399345415","1399345417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/91e8408bd5fb5f665e9881600e4be5fb.jpg","text":"TemporaryFile(/tmp/multipartBody2691456807237741676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708563488,"filename":"image_14122025_11_13_05_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a9b642ceed27a1d0f5254e05c1c0372a.jpg","text":"TemporaryFile(/tmp/multipartBody165918256960189284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708563488,"filename":"image_14122025_11_13_25_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/359837f572bb90601d557191f4fc9998.jpg","text":"TemporaryFile(/tmp/multipartBody6140164902813035278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708563488,"filename":"image_14122025_11_12_54_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/67e48534acd6b25d20e92bc15bd7492a.jpg","text":"TemporaryFile(/tmp/multipartBody4332628062696623385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708563488,"filename":"image_14122025_11_12_45_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be1b00cf3edda9ea5826fa505adcb7b4.jpg","text":"TemporaryFile(/tmp/multipartBody283402321187833463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708563488,"filename":"image_14122025_11_13_15_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/183c97b24da0c83860041ac6ac3e506c.jpg","text":"TemporaryFile(/tmp/multipartBody3578912839394396886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708563488,"filename":"image_14122025_11_13_34_9836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345413","file1":"1399345412","file0":"1399345411","file4":"1399345415","file5":"1399345417","file3":"1399345414"},"map_files_photo_id_array":[{"photo_id":"1399345417","filename":"file5"},{"photo_id":"1399345413","filename":"file2"},{"photo_id":"1399345415","filename":"file4"},{"photo_id":"1399345412","filename":"file1"},{"photo_id":"1399345411","filename":"file0"},{"photo_id":"1399345414","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345413":["hashtag1","hashtag2"]},{"1399345415":["hashtag1","hashtag2"]},{"1399345412":["hashtag1","hashtag2"]},{"1399345411":["hashtag1","hashtag2"]},{"1399345414":["hashtag1","hashtag2"]},{"1399345417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345413, 1399345415, 1399345412, 1399345411, 1399345414, 1399345417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.45187973976135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:36:02.503066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/13/image_14122025_11_13_45_10687.jpg', '/home/pi/Desktop/images/14122025/11/13/image_14122025_11_13_55_9760.jpg', '/home/pi/Desktop/images/14122025/11/13/image_14122025_11_14_05_9701.jpg', '/home/pi/Desktop/images/14122025/11/14/image_14122025_11_14_14_9731.jpg', '/home/pi/Desktop/images/14122025/11/14/image_14122025_11_14_25_10661.jpg', '/home/pi/Desktop/images/14122025/11/14/image_14122025_11_14_35_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/13/image_14122025_11_13_45_10687.jpg
/home/pi/Desktop/images/14122025/11/13/image_14122025_11_13_55_9760.jpg
/home/pi/Desktop/images/14122025/11/13/image_14122025_11_14_05_9701.jpg
/home/pi/Desktop/images/14122025/11/14/image_14122025_11_14_14_9731.jpg
/home/pi/Desktop/images/14122025/11/14/image_14122025_11_14_25_10661.jpg
/home/pi/Desktop/images/14122025/11/14/image_14122025_11_14_35_9582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345428","1399345427","1399345430","1399345432","1399345426","1399345425"],"photo_ids_order":["1399345425","1399345426","1399345427","1399345428","1399345430","1399345432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b25c0a435f8a5e75858e46b1233f2c6.jpg","text":"TemporaryFile(/tmp/multipartBody8902831673127028919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708625618,"filename":"image_14122025_11_14_14_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f88c7c16a6796ac82a39b09067c3e44.jpg","text":"TemporaryFile(/tmp/multipartBody9121331909059973697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708625618,"filename":"image_14122025_11_14_05_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/120da8afca6fb4fab7422f4585758b51.jpg","text":"TemporaryFile(/tmp/multipartBody7484059374301157370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708625618,"filename":"image_14122025_11_14_25_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/18336e78203e98707896024541b27d48.jpg","text":"TemporaryFile(/tmp/multipartBody8661964609149583885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708625618,"filename":"image_14122025_11_14_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/12/14/95abfafa00be84427c901db6334d5564.jpg","text":"TemporaryFile(/tmp/multipartBody3284717336796630553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708625618,"filename":"image_14122025_11_13_55_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6324307cbc49071f19b788d0dd4fa99.jpg","text":"TemporaryFile(/tmp/multipartBody1714183788180531260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708625618,"filename":"image_14122025_11_13_45_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345427","file1":"1399345426","file0":"1399345425","file4":"1399345430","file5":"1399345432","file3":"1399345428"},"map_files_photo_id_array":[{"photo_id":"1399345432","filename":"file5"},{"photo_id":"1399345427","filename":"file2"},{"photo_id":"1399345430","filename":"file4"},{"photo_id":"1399345426","filename":"file1"},{"photo_id":"1399345425","filename":"file0"},{"photo_id":"1399345428","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345428":["hashtag1","hashtag2"]},{"1399345427":["hashtag1","hashtag2"]},{"1399345430":["hashtag1","hashtag2"]},{"1399345432":["hashtag1","hashtag2"]},{"1399345426":["hashtag1","hashtag2"]},{"1399345425":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345428, 1399345427, 1399345430, 1399345432, 1399345426, 1399345425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.393107175827026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:37:03.219735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/14/image_14122025_11_14_44_9784.jpg', '/home/pi/Desktop/images/14122025/11/14/image_14122025_11_14_55_10724.jpg', '/home/pi/Desktop/images/14122025/11/16/image_14122025_11_16_14_10037.jpg', '/home/pi/Desktop/images/14122025/11/16/image_14122025_11_16_25_10865.jpg', '/home/pi/Desktop/images/14122025/11/16/image_14122025_11_16_35_9786.jpg', '/home/pi/Desktop/images/14122025/11/16/image_14122025_11_16_45_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/14/image_14122025_11_14_44_9784.jpg
/home/pi/Desktop/images/14122025/11/14/image_14122025_11_14_55_10724.jpg
/home/pi/Desktop/images/14122025/11/16/image_14122025_11_16_14_10037.jpg
/home/pi/Desktop/images/14122025/11/16/image_14122025_11_16_25_10865.jpg
/home/pi/Desktop/images/14122025/11/16/image_14122025_11_16_35_9786.jpg
/home/pi/Desktop/images/14122025/11/16/image_14122025_11_16_45_9599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345442","1399345439","1399345441","1399345444","1399345438","1399345440"],"photo_ids_order":["1399345438","1399345439","1399345440","1399345441","1399345442","1399345444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/12c0a46f73510b56ddd1c2994bb5659f.jpg","text":"TemporaryFile(/tmp/multipartBody292196209371759906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708683920,"filename":"image_14122025_11_16_35_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94b8a4ff7f480d1ad0b36dfa4b815ec0.jpg","text":"TemporaryFile(/tmp/multipartBody7728986944364322302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708683920,"filename":"image_14122025_11_14_55_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be0fb2feee148c77916f56e91d39cc22.jpg","text":"TemporaryFile(/tmp/multipartBody3513237592134084327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708683920,"filename":"image_14122025_11_16_25_10865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a09526111c14b50067c96a70eb04ed9.jpg","text":"TemporaryFile(/tmp/multipartBody2006593254044623270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708683920,"filename":"image_14122025_11_16_45_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f40b6e659e951ef25a484ab8398ad2bb.jpg","text":"TemporaryFile(/tmp/multipartBody3055148642873252953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708683920,"filename":"image_14122025_11_14_44_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f76be87ccc88e8401d18af0715e90bcf.jpg","text":"TemporaryFile(/tmp/multipartBody3961289896509225889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708683920,"filename":"image_14122025_11_16_14_10037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345440","file1":"1399345439","file0":"1399345438","file4":"1399345442","file5":"1399345444","file3":"1399345441"},"map_files_photo_id_array":[{"photo_id":"1399345444","filename":"file5"},{"photo_id":"1399345440","filename":"file2"},{"photo_id":"1399345442","filename":"file4"},{"photo_id":"1399345439","filename":"file1"},{"photo_id":"1399345438","filename":"file0"},{"photo_id":"1399345441","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345442":["hashtag1","hashtag2"]},{"1399345439":["hashtag1","hashtag2"]},{"1399345441":["hashtag1","hashtag2"]},{"1399345444":["hashtag1","hashtag2"]},{"1399345438":["hashtag1","hashtag2"]},{"1399345440":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345442, 1399345439, 1399345441, 1399345444, 1399345438, 1399345440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.334486961364746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:37:42.375662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/55/image_04112025_12_56_01_3708.jpg', '/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_03_2717.jpg', '/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_06_2629.jpg', '/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_09_3565.jpg', '/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_12_2590.jpg', '/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_15_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/55/image_04112025_12_56_01_3708.jpg
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_03_2717.jpg
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_06_2629.jpg
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_09_3565.jpg
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_12_2590.jpg
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_15_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":["1399345454","1399345457","1399345456","1399345450","1399345453","1399345455"],"photo_ids_order":["1399345450","1399345453","1399345454","1399345455","1399345456","1399345457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf9ed1028c99df6680da0aa802f8b888.jpg","text":"TemporaryFile(/tmp/multipartBody6369634144504657776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708722952,"filename":"image_04112025_12_56_06_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a34e3b769d4ac53a8f9ef3c03f2997d1.jpg","text":"TemporaryFile(/tmp/multipartBody4054281060562446077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708722952,"filename":"image_04112025_12_56_15_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b451f5b33f1a909b44f4b89b016056b.jpg","text":"TemporaryFile(/tmp/multipartBody2560762202358609756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708722952,"filename":"image_04112025_12_56_12_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b49d9189e77bb3c6a6308d99bb42caa.jpg","text":"TemporaryFile(/tmp/multipartBody8559752980103679115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708722952,"filename":"image_04112025_12_56_01_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5edf5561748a1fc7aa96fab4b101cca7.jpg","text":"TemporaryFile(/tmp/multipartBody202961439932004276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708722952,"filename":"image_04112025_12_56_03_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/460f53584285ec7663103b8f52b8aac4.jpg","text":"TemporaryFile(/tmp/multipartBody8719242198669968254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708722952,"filename":"image_04112025_12_56_09_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345454","file1":"1399345453","file0":"1399345450","file4":"1399345456","file5":"1399345457","file3":"1399345455"},"map_files_photo_id_array":[{"photo_id":"1399345457","filename":"file5"},{"photo_id":"1399345454","filename":"file2"},{"photo_id":"1399345456","filename":"file4"},{"photo_id":"1399345453","filename":"file1"},{"photo_id":"1399345450","filename":"file0"},{"photo_id":"1399345455","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399345454":["hashtag1","hashtag2"]},{"1399345457":["hashtag1","hashtag2"]},{"1399345456":["hashtag1","hashtag2"]},{"1399345450":["hashtag1","hashtag2"]},{"1399345453":["hashtag1","hashtag2"]},{"1399345455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399345454, 1399345457, 1399345456, 1399345450, 1399345453, 1399345455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62703323364258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:38:22.627834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/16/image_14122025_11_16_55_10562.jpg', '/home/pi/Desktop/images/14122025/11/16/image_14122025_11_17_05_9731.jpg', '/home/pi/Desktop/images/14122025/11/17/image_14122025_11_17_15_9676.jpg', '/home/pi/Desktop/images/14122025/11/17/image_14122025_11_17_25_10705.jpg', '/home/pi/Desktop/images/14122025/11/17/image_14122025_11_17_35_9693.jpg', '/home/pi/Desktop/images/14122025/11/17/image_14122025_11_17_45_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/16/image_14122025_11_16_55_10562.jpg
/home/pi/Desktop/images/14122025/11/16/image_14122025_11_17_05_9731.jpg
/home/pi/Desktop/images/14122025/11/17/image_14122025_11_17_15_9676.jpg
/home/pi/Desktop/images/14122025/11/17/image_14122025_11_17_25_10705.jpg
/home/pi/Desktop/images/14122025/11/17/image_14122025_11_17_35_9693.jpg
/home/pi/Desktop/images/14122025/11/17/image_14122025_11_17_45_9730.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.52705979347229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 11:38:39.776723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:38:42.750175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_18_3653.jpg', '/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_21_2544.jpg', '/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_25_3602.jpg', '/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_27_2592.jpg', '/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_30_2600.jpg', '/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_33_3628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_18_3653.jpg
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_21_2544.jpg
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_25_3602.jpg
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_27_2592.jpg
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_30_2600.jpg
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_33_3628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345472","1399345475","1399345469","1399345474","1399345471","1399345473"],"photo_ids_order":["1399345469","1399345471","1399345472","1399345473","1399345474","1399345475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b30ef483c83196ee5e7b409bd6b234c0.jpg","text":"TemporaryFile(/tmp/multipartBody1397255674285708074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708783480,"filename":"image_04112025_12_56_25_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92a5a6f22c08251b412ed904feaeae60.jpg","text":"TemporaryFile(/tmp/multipartBody5251948614120507392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708783480,"filename":"image_04112025_12_56_33_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e1b94c2f1c5e058a8c9a12d56baf6c50.jpg","text":"TemporaryFile(/tmp/multipartBody1921772587640319953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708783480,"filename":"image_04112025_12_56_18_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e58206cd8ac2f5092fcab9ec7bc1b152.jpg","text":"TemporaryFile(/tmp/multipartBody7874644590901946112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708783480,"filename":"image_04112025_12_56_30_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e9b734e5d26f63dc15526e51a9fb7a73.jpg","text":"TemporaryFile(/tmp/multipartBody2896521769901988986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708783480,"filename":"image_04112025_12_56_21_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1bd57c45b7900060b6a162e04ded770.jpg","text":"TemporaryFile(/tmp/multipartBody3835250469854218741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708783480,"filename":"image_04112025_12_56_27_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345472","file1":"1399345471","file0":"1399345469","file4":"1399345474","file5":"1399345475","file3":"1399345473"},"map_files_photo_id_array":[{"photo_id":"1399345475","filename":"file5"},{"photo_id":"1399345472","filename":"file2"},{"photo_id":"1399345474","filename":"file4"},{"photo_id":"1399345471","filename":"file1"},{"photo_id":"1399345469","filename":"file0"},{"photo_id":"1399345473","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399345472":["hashtag1","hashtag2"]},{"1399345475":["hashtag1","hashtag2"]},{"1399345469":["hashtag1","hashtag2"]},{"1399345474":["hashtag1","hashtag2"]},{"1399345471":["hashtag1","hashtag2"]},{"1399345473":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399345472, 1399345475, 1399345469, 1399345474, 1399345471, 1399345473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13414740562439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:39:21.991191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/16/image_14122025_11_16_55_10562.jpg', '/home/pi/Desktop/images/14122025/11/16/image_14122025_11_17_05_9731.jpg', '/home/pi/Desktop/images/14122025/11/17/image_14122025_11_17_15_9676.jpg', '/home/pi/Desktop/images/14122025/11/17/image_14122025_11_17_25_10705.jpg', '/home/pi/Desktop/images/14122025/11/17/image_14122025_11_17_35_9693.jpg', '/home/pi/Desktop/images/14122025/11/17/image_14122025_11_17_45_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/16/image_14122025_11_16_55_10562.jpg
/home/pi/Desktop/images/14122025/11/16/image_14122025_11_17_05_9731.jpg
/home/pi/Desktop/images/14122025/11/17/image_14122025_11_17_15_9676.jpg
/home/pi/Desktop/images/14122025/11/17/image_14122025_11_17_25_10705.jpg
/home/pi/Desktop/images/14122025/11/17/image_14122025_11_17_35_9693.jpg
/home/pi/Desktop/images/14122025/11/17/image_14122025_11_17_45_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345484","1399345478","1399345487","1399345480","1399345482","1399345476"],"photo_ids_order":["1399345476","1399345478","1399345480","1399345482","1399345484","1399345487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63dc8a280b25cef896c45b3041c718e1.jpg","text":"TemporaryFile(/tmp/multipartBody1653854426640369437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708822633,"filename":"image_14122025_11_17_35_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ee7ad9df1f8c9b642c9d6c82653e9bd.jpg","text":"TemporaryFile(/tmp/multipartBody1608485299018641420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708822633,"filename":"image_14122025_11_17_05_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fd5412a74ccc2271ab94d336e44ca416.jpg","text":"TemporaryFile(/tmp/multipartBody1110218312513593626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708822633,"filename":"image_14122025_11_17_45_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b625f28d5c0cd46bc0dc29b9a0cd0d0d.jpg","text":"TemporaryFile(/tmp/multipartBody5841692389525990761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708822633,"filename":"image_14122025_11_17_15_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/133dc27fa98b7824edd6ff81c05e9463.jpg","text":"TemporaryFile(/tmp/multipartBody4650898351183438717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708822633,"filename":"image_14122025_11_17_25_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f2bc5165e1670f38539f14c57680613.jpg","text":"TemporaryFile(/tmp/multipartBody5731113288232306543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708822633,"filename":"image_14122025_11_16_55_10562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345480","file1":"1399345478","file0":"1399345476","file4":"1399345484","file5":"1399345487","file3":"1399345482"},"map_files_photo_id_array":[{"photo_id":"1399345487","filename":"file5"},{"photo_id":"1399345480","filename":"file2"},{"photo_id":"1399345484","filename":"file4"},{"photo_id":"1399345478","filename":"file1"},{"photo_id":"1399345476","filename":"file0"},{"photo_id":"1399345482","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345484":["hashtag1","hashtag2"]},{"1399345478":["hashtag1","hashtag2"]},{"1399345487":["hashtag1","hashtag2"]},{"1399345480":["hashtag1","hashtag2"]},{"1399345482":["hashtag1","hashtag2"]},{"1399345476":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345484, 1399345478, 1399345487, 1399345480, 1399345482, 1399345476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71389555931091 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 11:40:12.248958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:40:22.297731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/17/image_14122025_11_17_54_9730.jpg', '/home/pi/Desktop/images/14122025/11/17/image_14122025_11_18_05_10696.jpg', '/home/pi/Desktop/images/14122025/11/18/image_14122025_11_18_15_9802.jpg', '/home/pi/Desktop/images/14122025/11/18/image_14122025_11_18_24_9588.jpg', '/home/pi/Desktop/images/14122025/11/18/image_14122025_11_18_34_9822.jpg', '/home/pi/Desktop/images/14122025/11/18/image_14122025_11_18_45_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/17/image_14122025_11_17_54_9730.jpg
/home/pi/Desktop/images/14122025/11/17/image_14122025_11_18_05_10696.jpg
/home/pi/Desktop/images/14122025/11/18/image_14122025_11_18_15_9802.jpg
/home/pi/Desktop/images/14122025/11/18/image_14122025_11_18_24_9588.jpg
/home/pi/Desktop/images/14122025/11/18/image_14122025_11_18_34_9822.jpg
/home/pi/Desktop/images/14122025/11/18/image_14122025_11_18_45_10615.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5222892761230469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 11:40:32.328576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:40:42.343587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_36_2757.jpg', '/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_39_2659.jpg', '/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_43_3688.jpg', '/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_45_2689.jpg', '/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_48_2784.jpg', '/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_51_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_36_2757.jpg
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_39_2659.jpg
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_43_3688.jpg
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_45_2689.jpg
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_48_2784.jpg
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_51_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":["1399345499","1399345502","1399345505","1399345504","1399345501","1399345503"],"photo_ids_order":["1399345499","1399345501","1399345502","1399345503","1399345504","1399345505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ea650af4adedf692adee3d5dbc730840.jpg","text":"TemporaryFile(/tmp/multipartBody902600582562936505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708903041,"filename":"image_04112025_12_56_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/12/14/6cf995d7beb0b86d64baaefeb9653938.jpg","text":"TemporaryFile(/tmp/multipartBody1729617893856828843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708903041,"filename":"image_04112025_12_56_43_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2fedb7782674bc2c0de2a6a07e1e8cd3.jpg","text":"TemporaryFile(/tmp/multipartBody7324474172269493969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708903041,"filename":"image_04112025_12_56_51_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/adb30c5c81d5694da461b6e1ee21b850.jpg","text":"TemporaryFile(/tmp/multipartBody3937840875065132741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708903041,"filename":"image_04112025_12_56_48_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/576fca49ad7c504d0e3b0f9476be47ef.jpg","text":"TemporaryFile(/tmp/multipartBody3093914183670670814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708903041,"filename":"image_04112025_12_56_39_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c392c03816d7f3411998cebcca8079bd.jpg","text":"TemporaryFile(/tmp/multipartBody7455860687666751915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708903041,"filename":"image_04112025_12_56_45_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345502","file1":"1399345501","file0":"1399345499","file4":"1399345504","file5":"1399345505","file3":"1399345503"},"map_files_photo_id_array":[{"photo_id":"1399345505","filename":"file5"},{"photo_id":"1399345502","filename":"file2"},{"photo_id":"1399345504","filename":"file4"},{"photo_id":"1399345501","filename":"file1"},{"photo_id":"1399345499","filename":"file0"},{"photo_id":"1399345503","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399345499":["hashtag1","hashtag2"]},{"1399345502":["hashtag1","hashtag2"]},{"1399345505":["hashtag1","hashtag2"]},{"1399345504":["hashtag1","hashtag2"]},{"1399345501":["hashtag1","hashtag2"]},{"1399345503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399345499, 1399345502, 1399345505, 1399345504, 1399345501, 1399345503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25666046142578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:41:22.567004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/17/image_14122025_11_17_54_9730.jpg', '/home/pi/Desktop/images/14122025/11/17/image_14122025_11_18_05_10696.jpg', '/home/pi/Desktop/images/14122025/11/18/image_14122025_11_18_15_9802.jpg', '/home/pi/Desktop/images/14122025/11/18/image_14122025_11_18_24_9588.jpg', '/home/pi/Desktop/images/14122025/11/18/image_14122025_11_18_34_9822.jpg', '/home/pi/Desktop/images/14122025/11/18/image_14122025_11_18_45_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/17/image_14122025_11_17_54_9730.jpg
/home/pi/Desktop/images/14122025/11/17/image_14122025_11_18_05_10696.jpg
/home/pi/Desktop/images/14122025/11/18/image_14122025_11_18_15_9802.jpg
/home/pi/Desktop/images/14122025/11/18/image_14122025_11_18_24_9588.jpg
/home/pi/Desktop/images/14122025/11/18/image_14122025_11_18_34_9822.jpg
/home/pi/Desktop/images/14122025/11/18/image_14122025_11_18_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":["1399345506","1399345509","1399345517","1399345511","1399345513","1399345507"],"photo_ids_order":["1399345506","1399345507","1399345509","1399345511","1399345513","1399345517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9e60249abe6294311c3605e6049fe3dd.jpg","text":"TemporaryFile(/tmp/multipartBody8647257931367021999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708943169,"filename":"image_14122025_11_17_54_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/367ea0a3f2d345d482318d59f253e2fd.jpg","text":"TemporaryFile(/tmp/multipartBody6402827742882933722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708943169,"filename":"image_14122025_11_18_15_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/136e86e1f121acf0708f6e333ae19463.jpg","text":"TemporaryFile(/tmp/multipartBody7439053914053064432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708943169,"filename":"image_14122025_11_18_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/12/14/4bf1be007918cf1ac65eb96c585c6359.jpg","text":"TemporaryFile(/tmp/multipartBody7079631430772584047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708943169,"filename":"image_14122025_11_18_24_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/233dd3c996d3e4084ea78493c1b5ef0d.jpg","text":"TemporaryFile(/tmp/multipartBody4843059406714468228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708943169,"filename":"image_14122025_11_18_34_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e094f05acc31c3ada30c7dc91852310d.jpg","text":"TemporaryFile(/tmp/multipartBody7403236830478258274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708943169,"filename":"image_14122025_11_18_05_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345509","file1":"1399345507","file0":"1399345506","file4":"1399345513","file5":"1399345517","file3":"1399345511"},"map_files_photo_id_array":[{"photo_id":"1399345517","filename":"file5"},{"photo_id":"1399345509","filename":"file2"},{"photo_id":"1399345513","filename":"file4"},{"photo_id":"1399345507","filename":"file1"},{"photo_id":"1399345506","filename":"file0"},{"photo_id":"1399345511","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345506":["hashtag1","hashtag2"]},{"1399345509":["hashtag1","hashtag2"]},{"1399345517":["hashtag1","hashtag2"]},{"1399345511":["hashtag1","hashtag2"]},{"1399345513":["hashtag1","hashtag2"]},{"1399345507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345506, 1399345509, 1399345517, 1399345511, 1399345513, 1399345507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75738263130188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:42:03.218393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/18/image_14122025_11_18_55_9800.jpg', '/home/pi/Desktop/images/14122025/11/18/image_14122025_11_19_04_9666.jpg', '/home/pi/Desktop/images/14122025/11/19/image_14122025_11_19_15_10784.jpg', '/home/pi/Desktop/images/14122025/11/19/image_14122025_11_19_25_9850.jpg', '/home/pi/Desktop/images/14122025/11/19/image_14122025_11_19_35_9934.jpg', '/home/pi/Desktop/images/14122025/11/19/image_14122025_11_19_45_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/18/image_14122025_11_18_55_9800.jpg
/home/pi/Desktop/images/14122025/11/18/image_14122025_11_19_04_9666.jpg
/home/pi/Desktop/images/14122025/11/19/image_14122025_11_19_15_10784.jpg
/home/pi/Desktop/images/14122025/11/19/image_14122025_11_19_25_9850.jpg
/home/pi/Desktop/images/14122025/11/19/image_14122025_11_19_35_9934.jpg
/home/pi/Desktop/images/14122025/11/19/image_14122025_11_19_45_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":["1399345527","1399345526","1399345529","1399345531","1399345528","1399345524"],"photo_ids_order":["1399345524","1399345526","1399345527","1399345528","1399345529","1399345531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aec12700c06af0e1ff1693da124ed423.jpg","text":"TemporaryFile(/tmp/multipartBody5927034564098557496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708983890,"filename":"image_14122025_11_19_15_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/efe1d59b2109db116042c283c2e805aa.jpg","text":"TemporaryFile(/tmp/multipartBody6360334888134184428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708983890,"filename":"image_14122025_11_19_04_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a7469dcb13116a130ee69a1de0c6eb4.jpg","text":"TemporaryFile(/tmp/multipartBody3602454966079735015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708983890,"filename":"image_14122025_11_19_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/12/14/27ec9a46ef68c23a33a978e838a1305e.jpg","text":"TemporaryFile(/tmp/multipartBody7302047052408454811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708983890,"filename":"image_14122025_11_19_45_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c421076ba757f73d48314dbc73af77c.jpg","text":"TemporaryFile(/tmp/multipartBody6547745721096529596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708983890,"filename":"image_14122025_11_19_25_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2456b37b0eda776a88574151107533ab.jpg","text":"TemporaryFile(/tmp/multipartBody5407697703767695697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765708983890,"filename":"image_14122025_11_18_55_9800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345527","file1":"1399345526","file0":"1399345524","file4":"1399345529","file5":"1399345531","file3":"1399345528"},"map_files_photo_id_array":[{"photo_id":"1399345531","filename":"file5"},{"photo_id":"1399345527","filename":"file2"},{"photo_id":"1399345529","filename":"file4"},{"photo_id":"1399345526","filename":"file1"},{"photo_id":"1399345524","filename":"file0"},{"photo_id":"1399345528","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345527":["hashtag1","hashtag2"]},{"1399345526":["hashtag1","hashtag2"]},{"1399345529":["hashtag1","hashtag2"]},{"1399345531":["hashtag1","hashtag2"]},{"1399345528":["hashtag1","hashtag2"]},{"1399345524":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345527, 1399345526, 1399345529, 1399345531, 1399345528, 1399345524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25181436538696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:42:42.777976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_54_3791.jpg', '/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_57_2666.jpg', '/home/pi/Desktop/images/04112025/12/56/image_04112025_12_57_00_2626.jpg', '/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_03_3653.jpg', '/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_06_2542.jpg', '/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_09_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_54_3791.jpg
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_56_57_2666.jpg
/home/pi/Desktop/images/04112025/12/56/image_04112025_12_57_00_2626.jpg
/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_03_3653.jpg
/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_06_2542.jpg
/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_09_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":["1399345538","1399345541","1399345540","1399345543","1399345536","1399345539"],"photo_ids_order":["1399345536","1399345538","1399345539","1399345540","1399345541","1399345543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f4a27ff4561538345bf5dfa7c2dd382.jpg","text":"TemporaryFile(/tmp/multipartBody7403348342856787945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709023474,"filename":"image_04112025_12_56_57_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/23489dcf359efe2dad00289c4f8a8e1f.jpg","text":"TemporaryFile(/tmp/multipartBody18005146485757562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709023474,"filename":"image_04112025_12_57_06_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fd1d6e9ced2a6938d11decbb52887518.jpg","text":"TemporaryFile(/tmp/multipartBody190279930573221592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709023474,"filename":"image_04112025_12_57_03_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/040dac561c97336f6172c1137caaad0d.jpg","text":"TemporaryFile(/tmp/multipartBody1985414917229711641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709023474,"filename":"image_04112025_12_57_09_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/986b89f4e0f7c88164ed1ebfd2ec871a.jpg","text":"TemporaryFile(/tmp/multipartBody8683542662242166638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709023474,"filename":"image_04112025_12_56_54_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3950b0ebabffe4274afe141811435f11.jpg","text":"TemporaryFile(/tmp/multipartBody6135024376024723899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709023474,"filename":"image_04112025_12_57_00_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345539","file1":"1399345538","file0":"1399345536","file4":"1399345541","file5":"1399345543","file3":"1399345540"},"map_files_photo_id_array":[{"photo_id":"1399345543","filename":"file5"},{"photo_id":"1399345539","filename":"file2"},{"photo_id":"1399345541","filename":"file4"},{"photo_id":"1399345538","filename":"file1"},{"photo_id":"1399345536","filename":"file0"},{"photo_id":"1399345540","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399345538":["hashtag1","hashtag2"]},{"1399345541":["hashtag1","hashtag2"]},{"1399345540":["hashtag1","hashtag2"]},{"1399345543":["hashtag1","hashtag2"]},{"1399345536":["hashtag1","hashtag2"]},{"1399345539":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399345538, 1399345541, 1399345540, 1399345543, 1399345536, 1399345539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61660075187683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:43:22.006118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/19/image_14122025_11_19_55_10654.jpg', '/home/pi/Desktop/images/14122025/11/20/image_14122025_11_20_15_10057.jpg', '/home/pi/Desktop/images/14122025/11/20/image_14122025_11_20_25_10697.jpg', '/home/pi/Desktop/images/14122025/11/20/image_14122025_11_20_35_9665.jpg', '/home/pi/Desktop/images/14122025/11/20/image_14122025_11_20_45_9660.jpg', '/home/pi/Desktop/images/14122025/11/20/image_14122025_11_20_55_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/19/image_14122025_11_19_55_10654.jpg
/home/pi/Desktop/images/14122025/11/20/image_14122025_11_20_15_10057.jpg
/home/pi/Desktop/images/14122025/11/20/image_14122025_11_20_25_10697.jpg
/home/pi/Desktop/images/14122025/11/20/image_14122025_11_20_35_9665.jpg
/home/pi/Desktop/images/14122025/11/20/image_14122025_11_20_45_9660.jpg
/home/pi/Desktop/images/14122025/11/20/image_14122025_11_20_55_10682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345550","1399345544","1399345555","1399345552","1399345546","1399345548"],"photo_ids_order":["1399345544","1399345546","1399345548","1399345550","1399345552","1399345555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2898dccf436fa3055bf74a4909f70c40.jpg","text":"TemporaryFile(/tmp/multipartBody2059845539938626536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709062603,"filename":"image_14122025_11_20_35_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ded2c3a2614ca337833521bebcd97347.jpg","text":"TemporaryFile(/tmp/multipartBody8679447287135418549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709062603,"filename":"image_14122025_11_19_55_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ca194cf0feee8d640be07bf037bd639.jpg","text":"TemporaryFile(/tmp/multipartBody905698598554974087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709062603,"filename":"image_14122025_11_20_55_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2a52d72b424c63b375a2dedfb625eef.jpg","text":"TemporaryFile(/tmp/multipartBody7612717641654166194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709062603,"filename":"image_14122025_11_20_45_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13ec1894d843dd1ac517cb44eba5a1a0.jpg","text":"TemporaryFile(/tmp/multipartBody3149984430711864973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709062603,"filename":"image_14122025_11_20_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/12/14/024ee4ff1d102f2f1719099ab7df082b.jpg","text":"TemporaryFile(/tmp/multipartBody6325295039058714496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709062603,"filename":"image_14122025_11_20_25_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345548","file1":"1399345546","file0":"1399345544","file4":"1399345552","file5":"1399345555","file3":"1399345550"},"map_files_photo_id_array":[{"photo_id":"1399345555","filename":"file5"},{"photo_id":"1399345548","filename":"file2"},{"photo_id":"1399345552","filename":"file4"},{"photo_id":"1399345546","filename":"file1"},{"photo_id":"1399345544","filename":"file0"},{"photo_id":"1399345550","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345550":["hashtag1","hashtag2"]},{"1399345544":["hashtag1","hashtag2"]},{"1399345555":["hashtag1","hashtag2"]},{"1399345552":["hashtag1","hashtag2"]},{"1399345546":["hashtag1","hashtag2"]},{"1399345548":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345550, 1399345544, 1399345555, 1399345552, 1399345546, 1399345548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89174199104309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:44:02.356110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/20/image_14122025_11_21_05_9639.jpg', '/home/pi/Desktop/images/14122025/11/21/image_14122025_11_21_15_9638.jpg', '/home/pi/Desktop/images/14122025/11/21/image_14122025_11_21_25_10826.jpg', '/home/pi/Desktop/images/14122025/11/21/image_14122025_11_21_35_9739.jpg', '/home/pi/Desktop/images/14122025/11/21/image_14122025_11_21_45_9664.jpg', '/home/pi/Desktop/images/14122025/11/21/image_14122025_11_21_55_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/20/image_14122025_11_21_05_9639.jpg
/home/pi/Desktop/images/14122025/11/21/image_14122025_11_21_15_9638.jpg
/home/pi/Desktop/images/14122025/11/21/image_14122025_11_21_25_10826.jpg
/home/pi/Desktop/images/14122025/11/21/image_14122025_11_21_35_9739.jpg
/home/pi/Desktop/images/14122025/11/21/image_14122025_11_21_45_9664.jpg
/home/pi/Desktop/images/14122025/11/21/image_14122025_11_21_55_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.5486938953399658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 11:44:11.893469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:44:21.899735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/20/image_14122025_11_21_05_9639.jpg', '/home/pi/Desktop/images/14122025/11/21/image_14122025_11_21_15_9638.jpg', '/home/pi/Desktop/images/14122025/11/21/image_14122025_11_21_25_10826.jpg', '/home/pi/Desktop/images/14122025/11/21/image_14122025_11_21_35_9739.jpg', '/home/pi/Desktop/images/14122025/11/21/image_14122025_11_21_45_9664.jpg', '/home/pi/Desktop/images/14122025/11/21/image_14122025_11_21_55_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/20/image_14122025_11_21_05_9639.jpg
/home/pi/Desktop/images/14122025/11/21/image_14122025_11_21_15_9638.jpg
/home/pi/Desktop/images/14122025/11/21/image_14122025_11_21_25_10826.jpg
/home/pi/Desktop/images/14122025/11/21/image_14122025_11_21_35_9739.jpg
/home/pi/Desktop/images/14122025/11/21/image_14122025_11_21_45_9664.jpg
/home/pi/Desktop/images/14122025/11/21/image_14122025_11_21_55_9817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345565","1399345568","1399345570","1399345572","1399345575","1399345563"],"photo_ids_order":["1399345563","1399345565","1399345568","1399345570","1399345572","1399345575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/99900a48700e1e830e975024ad27c12e.jpg","text":"TemporaryFile(/tmp/multipartBody1108700632506695092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709122527,"filename":"image_14122025_11_21_15_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/226edc984a490ae949ec61eb22ef9378.jpg","text":"TemporaryFile(/tmp/multipartBody2822089289392291744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709122527,"filename":"image_14122025_11_21_25_10826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d412490da05a93348f3232e5b7285166.jpg","text":"TemporaryFile(/tmp/multipartBody2801982994851536383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709122527,"filename":"image_14122025_11_21_35_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe442b96199ad183554f2144572340bf.jpg","text":"TemporaryFile(/tmp/multipartBody4623629361594564941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709122527,"filename":"image_14122025_11_21_45_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2bc74c0cd2f06edda69e008d423a9ebd.jpg","text":"TemporaryFile(/tmp/multipartBody5854029495432497811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709122527,"filename":"image_14122025_11_21_55_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1d4f3495ca151a056878817fb593a86d.jpg","text":"TemporaryFile(/tmp/multipartBody1886426319992436456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709122527,"filename":"image_14122025_11_21_05_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345568","file1":"1399345565","file0":"1399345563","file4":"1399345572","file5":"1399345575","file3":"1399345570"},"map_files_photo_id_array":[{"photo_id":"1399345575","filename":"file5"},{"photo_id":"1399345568","filename":"file2"},{"photo_id":"1399345572","filename":"file4"},{"photo_id":"1399345565","filename":"file1"},{"photo_id":"1399345563","filename":"file0"},{"photo_id":"1399345570","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345565":["hashtag1","hashtag2"]},{"1399345568":["hashtag1","hashtag2"]},{"1399345570":["hashtag1","hashtag2"]},{"1399345572":["hashtag1","hashtag2"]},{"1399345575":["hashtag1","hashtag2"]},{"1399345563":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345565, 1399345568, 1399345570, 1399345572, 1399345575, 1399345563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00895309448242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:45:02.695194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/21/image_14122025_11_22_05_10749.jpg', '/home/pi/Desktop/images/14122025/11/22/image_14122025_11_22_15_9736.jpg', '/home/pi/Desktop/images/14122025/11/22/image_14122025_11_22_25_9744.jpg', '/home/pi/Desktop/images/14122025/11/22/image_14122025_11_22_35_10559.jpg', '/home/pi/Desktop/images/14122025/11/22/image_14122025_11_22_48_12196.jpg', '/home/pi/Desktop/images/14122025/11/22/image_14122025_11_22_56_7873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/21/image_14122025_11_22_05_10749.jpg
/home/pi/Desktop/images/14122025/11/22/image_14122025_11_22_15_9736.jpg
/home/pi/Desktop/images/14122025/11/22/image_14122025_11_22_25_9744.jpg
/home/pi/Desktop/images/14122025/11/22/image_14122025_11_22_35_10559.jpg
/home/pi/Desktop/images/14122025/11/22/image_14122025_11_22_48_12196.jpg
/home/pi/Desktop/images/14122025/11/22/image_14122025_11_22_56_7873.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345580","1399345577","1399345582","1399345576","1399345579","1399345578"],"photo_ids_order":["1399345576","1399345577","1399345578","1399345579","1399345580","1399345582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a252acc81aaf5fa1f556a38ebd51bba.jpg","text":"TemporaryFile(/tmp/multipartBody4720032641131081089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709163432,"filename":"image_14122025_11_22_48_12196.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e2e452107852afe0ebe0d0256d208db.jpg","text":"TemporaryFile(/tmp/multipartBody4140086351819730887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709163432,"filename":"image_14122025_11_22_15_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f63e759945d83000cb36d98f64c231a.jpg","text":"TemporaryFile(/tmp/multipartBody2805706552839357491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709163432,"filename":"image_14122025_11_22_56_7873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cb141bef719ffaa1fc53ae4d708d9e6c.jpg","text":"TemporaryFile(/tmp/multipartBody5162021115731805017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709163432,"filename":"image_14122025_11_22_05_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8238e18080e526a54f97727a9a0d2b5d.jpg","text":"TemporaryFile(/tmp/multipartBody7171950312055507271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709163432,"filename":"image_14122025_11_22_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/12/14/80e2f9dcd33e94303661d91d562e45c6.jpg","text":"TemporaryFile(/tmp/multipartBody1670342005968208327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709163432,"filename":"image_14122025_11_22_25_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345578","file1":"1399345577","file0":"1399345576","file4":"1399345580","file5":"1399345582","file3":"1399345579"},"map_files_photo_id_array":[{"photo_id":"1399345582","filename":"file5"},{"photo_id":"1399345578","filename":"file2"},{"photo_id":"1399345580","filename":"file4"},{"photo_id":"1399345577","filename":"file1"},{"photo_id":"1399345576","filename":"file0"},{"photo_id":"1399345579","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345580":["hashtag1","hashtag2"]},{"1399345577":["hashtag1","hashtag2"]},{"1399345582":["hashtag1","hashtag2"]},{"1399345576":["hashtag1","hashtag2"]},{"1399345579":["hashtag1","hashtag2"]},{"1399345578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345580, 1399345577, 1399345582, 1399345576, 1399345579, 1399345578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.116533041000366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:45:42.233578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_12_3713.jpg', '/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_15_2702.jpg', '/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_18_2790.jpg', '/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_21_3667.jpg', '/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_24_2725.jpg', '/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_27_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_12_3713.jpg
/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_15_2702.jpg
/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_18_2790.jpg
/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_21_3667.jpg
/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_24_2725.jpg
/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_27_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":["1399345595","1399345591","1399345594","1399345593","1399345587","1399345592"],"photo_ids_order":["1399345587","1399345591","1399345592","1399345593","1399345594","1399345595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3baa19feec5e49b4d9d188e5bc8103d.jpg","text":"TemporaryFile(/tmp/multipartBody8164972477278393351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709202935,"filename":"image_04112025_12_57_27_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5855dcfa782b22ac8866a01aa79cabb1.jpg","text":"TemporaryFile(/tmp/multipartBody1590571296604857422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709202935,"filename":"image_04112025_12_57_15_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f133a62a67228d3fc0d8e23b79326b1c.jpg","text":"TemporaryFile(/tmp/multipartBody2342990370897387298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709202935,"filename":"image_04112025_12_57_24_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e752358919620782298bb971e3be5806.jpg","text":"TemporaryFile(/tmp/multipartBody910935897952173614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709202935,"filename":"image_04112025_12_57_21_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a591c9ce96c79981057a01ef3112d547.jpg","text":"TemporaryFile(/tmp/multipartBody678281423519594418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709202935,"filename":"image_04112025_12_57_12_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/98b5470de002c6ee786e7681f85a8d6f.jpg","text":"TemporaryFile(/tmp/multipartBody322387431634560171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709202935,"filename":"image_04112025_12_57_18_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345592","file1":"1399345591","file0":"1399345587","file4":"1399345594","file5":"1399345595","file3":"1399345593"},"map_files_photo_id_array":[{"photo_id":"1399345595","filename":"file5"},{"photo_id":"1399345592","filename":"file2"},{"photo_id":"1399345594","filename":"file4"},{"photo_id":"1399345591","filename":"file1"},{"photo_id":"1399345587","filename":"file0"},{"photo_id":"1399345593","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399345595":["hashtag1","hashtag2"]},{"1399345591":["hashtag1","hashtag2"]},{"1399345594":["hashtag1","hashtag2"]},{"1399345593":["hashtag1","hashtag2"]},{"1399345587":["hashtag1","hashtag2"]},{"1399345592":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399345595, 1399345591, 1399345594, 1399345593, 1399345587, 1399345592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.598512411117554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:46:22.466370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/22/image_14122025_11_23_05_9623.jpg', '/home/pi/Desktop/images/14122025/11/23/image_14122025_11_23_15_10134.jpg', '/home/pi/Desktop/images/14122025/11/23/image_14122025_11_23_25_9437.jpg', '/home/pi/Desktop/images/14122025/11/23/image_14122025_11_23_35_10661.jpg', '/home/pi/Desktop/images/14122025/11/23/image_14122025_11_23_45_9810.jpg', '/home/pi/Desktop/images/14122025/11/23/image_14122025_11_23_55_9954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/22/image_14122025_11_23_05_9623.jpg
/home/pi/Desktop/images/14122025/11/23/image_14122025_11_23_15_10134.jpg
/home/pi/Desktop/images/14122025/11/23/image_14122025_11_23_25_9437.jpg
/home/pi/Desktop/images/14122025/11/23/image_14122025_11_23_35_10661.jpg
/home/pi/Desktop/images/14122025/11/23/image_14122025_11_23_45_9810.jpg
/home/pi/Desktop/images/14122025/11/23/image_14122025_11_23_55_9954.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.560861349105835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 11:46:32.493719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:46:42.467399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_30_2764.jpg', '/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_33_3591.jpg', '/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_36_2662.jpg', '/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_39_2652.jpg', '/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_42_3706.jpg', '/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_45_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_30_2764.jpg
/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_33_3591.jpg
/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_36_2662.jpg
/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_39_2652.jpg
/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_42_3706.jpg
/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_45_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":["1399345611","1399345613","1399345607","1399345610","1399345612","1399345609"],"photo_ids_order":["1399345607","1399345609","1399345610","1399345611","1399345612","1399345613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fcf00dbc0ca39daffb41bf1d6172eb94.jpg","text":"TemporaryFile(/tmp/multipartBody8570968979862906321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709263181,"filename":"image_04112025_12_57_39_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ad62b8abf01c5265bd24d7979e59bad.jpg","text":"TemporaryFile(/tmp/multipartBody3536902171910958701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709263181,"filename":"image_04112025_12_57_45_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e17a921a3c05b0f0aa355c3702c0cfcd.jpg","text":"TemporaryFile(/tmp/multipartBody3863119495624190615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709263181,"filename":"image_04112025_12_57_30_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/923f5bd1a01216d4fe3340861de4d1cc.jpg","text":"TemporaryFile(/tmp/multipartBody8317769196032786676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709263181,"filename":"image_04112025_12_57_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/12/14/05d6822b1dcc348170b62a70d2ad0470.jpg","text":"TemporaryFile(/tmp/multipartBody7283828335215028901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709263181,"filename":"image_04112025_12_57_42_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d8ff7424748ef01e291cada8c45f657.jpg","text":"TemporaryFile(/tmp/multipartBody7352664789095189009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709263181,"filename":"image_04112025_12_57_33_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345610","file1":"1399345609","file0":"1399345607","file4":"1399345612","file5":"1399345613","file3":"1399345611"},"map_files_photo_id_array":[{"photo_id":"1399345613","filename":"file5"},{"photo_id":"1399345610","filename":"file2"},{"photo_id":"1399345612","filename":"file4"},{"photo_id":"1399345609","filename":"file1"},{"photo_id":"1399345607","filename":"file0"},{"photo_id":"1399345611","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399345611":["hashtag1","hashtag2"]},{"1399345613":["hashtag1","hashtag2"]},{"1399345607":["hashtag1","hashtag2"]},{"1399345610":["hashtag1","hashtag2"]},{"1399345612":["hashtag1","hashtag2"]},{"1399345609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399345611, 1399345613, 1399345607, 1399345610, 1399345612, 1399345609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8616886138916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:47:22.795043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/22/image_14122025_11_23_05_9623.jpg', '/home/pi/Desktop/images/14122025/11/23/image_14122025_11_23_15_10134.jpg', '/home/pi/Desktop/images/14122025/11/23/image_14122025_11_23_25_9437.jpg', '/home/pi/Desktop/images/14122025/11/23/image_14122025_11_23_35_10661.jpg', '/home/pi/Desktop/images/14122025/11/23/image_14122025_11_23_45_9810.jpg', '/home/pi/Desktop/images/14122025/11/23/image_14122025_11_23_55_9954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/22/image_14122025_11_23_05_9623.jpg
/home/pi/Desktop/images/14122025/11/23/image_14122025_11_23_15_10134.jpg
/home/pi/Desktop/images/14122025/11/23/image_14122025_11_23_25_9437.jpg
/home/pi/Desktop/images/14122025/11/23/image_14122025_11_23_35_10661.jpg
/home/pi/Desktop/images/14122025/11/23/image_14122025_11_23_45_9810.jpg
/home/pi/Desktop/images/14122025/11/23/image_14122025_11_23_55_9954.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345625","1399345616","1399345621","1399345618","1399345615","1399345623"],"photo_ids_order":["1399345615","1399345616","1399345618","1399345621","1399345623","1399345625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3131d7c7b56bf55650edb1cdd312720c.jpg","text":"TemporaryFile(/tmp/multipartBody5624143741100465189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709303463,"filename":"image_14122025_11_23_55_9954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a366ebba7cd95ecc009618ae716a5089.jpg","text":"TemporaryFile(/tmp/multipartBody227477294037688312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709303463,"filename":"image_14122025_11_23_15_10134.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ee3b685fb5b861a40758fdb72775169.jpg","text":"TemporaryFile(/tmp/multipartBody7275733377066690473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709303463,"filename":"image_14122025_11_23_35_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2fade627b482459d08eb0bf5cd10ccd.jpg","text":"TemporaryFile(/tmp/multipartBody8885924065956524999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709303463,"filename":"image_14122025_11_23_25_9437.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d9dcd71395dac0e16ca53663649cc06.jpg","text":"TemporaryFile(/tmp/multipartBody3828276211760752811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709303463,"filename":"image_14122025_11_23_05_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2b7d199b3490eace7cb73409e091c27.jpg","text":"TemporaryFile(/tmp/multipartBody5337665857250769170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709303463,"filename":"image_14122025_11_23_45_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345618","file1":"1399345616","file0":"1399345615","file4":"1399345623","file5":"1399345625","file3":"1399345621"},"map_files_photo_id_array":[{"photo_id":"1399345625","filename":"file5"},{"photo_id":"1399345618","filename":"file2"},{"photo_id":"1399345623","filename":"file4"},{"photo_id":"1399345616","filename":"file1"},{"photo_id":"1399345615","filename":"file0"},{"photo_id":"1399345621","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345625":["hashtag1","hashtag2"]},{"1399345616":["hashtag1","hashtag2"]},{"1399345621":["hashtag1","hashtag2"]},{"1399345618":["hashtag1","hashtag2"]},{"1399345615":["hashtag1","hashtag2"]},{"1399345623":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345625, 1399345616, 1399345621, 1399345618, 1399345615, 1399345623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.042447566986084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:48:02.434247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/24/image_14122025_11_24_15_9857.jpg', '/home/pi/Desktop/images/14122025/11/24/image_14122025_11_24_25_9695.jpg', '/home/pi/Desktop/images/14122025/11/24/image_14122025_11_24_35_10654.jpg', '/home/pi/Desktop/images/14122025/11/24/image_14122025_11_24_45_9891.jpg', '/home/pi/Desktop/images/14122025/11/24/image_14122025_11_24_55_9866.jpg', '/home/pi/Desktop/images/14122025/11/25/image_14122025_11_25_14_10055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/24/image_14122025_11_24_15_9857.jpg
/home/pi/Desktop/images/14122025/11/24/image_14122025_11_24_25_9695.jpg
/home/pi/Desktop/images/14122025/11/24/image_14122025_11_24_35_10654.jpg
/home/pi/Desktop/images/14122025/11/24/image_14122025_11_24_45_9891.jpg
/home/pi/Desktop/images/14122025/11/24/image_14122025_11_24_55_9866.jpg
/home/pi/Desktop/images/14122025/11/25/image_14122025_11_25_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":["1399345631","1399345633","1399345627","1399345632","1399345635","1399345629"],"photo_ids_order":["1399345627","1399345629","1399345631","1399345632","1399345633","1399345635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d8724d15c8c1b92d6dba45bc7f73b9bc.jpg","text":"TemporaryFile(/tmp/multipartBody3359907741600009319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709343090,"filename":"image_14122025_11_24_35_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6cd41d91711bdb65c25de463f3ef3177.jpg","text":"TemporaryFile(/tmp/multipartBody6452885866210025679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709343090,"filename":"image_14122025_11_24_55_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c3d494e9b20712e41056451a892a288e.jpg","text":"TemporaryFile(/tmp/multipartBody2637247109120667617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709343090,"filename":"image_14122025_11_24_15_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d350ef59175c163a20f81d323f78202a.jpg","text":"TemporaryFile(/tmp/multipartBody3563021657201980572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709343090,"filename":"image_14122025_11_24_45_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a20da5679f1f562ab7803373e129e45.jpg","text":"TemporaryFile(/tmp/multipartBody9138311202777477235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709343090,"filename":"image_14122025_11_25_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ccca1d7a394d9d99da77e4a81b094ee8.jpg","text":"TemporaryFile(/tmp/multipartBody1540272778372639504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709343090,"filename":"image_14122025_11_24_25_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345631","file1":"1399345629","file0":"1399345627","file4":"1399345633","file5":"1399345635","file3":"1399345632"},"map_files_photo_id_array":[{"photo_id":"1399345635","filename":"file5"},{"photo_id":"1399345631","filename":"file2"},{"photo_id":"1399345633","filename":"file4"},{"photo_id":"1399345629","filename":"file1"},{"photo_id":"1399345627","filename":"file0"},{"photo_id":"1399345632","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345631":["hashtag1","hashtag2"]},{"1399345633":["hashtag1","hashtag2"]},{"1399345627":["hashtag1","hashtag2"]},{"1399345632":["hashtag1","hashtag2"]},{"1399345635":["hashtag1","hashtag2"]},{"1399345629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345631, 1399345633, 1399345627, 1399345632, 1399345635, 1399345629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74977469444275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:48:42.039082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_48_2794.jpg', '/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_51_3642.jpg', '/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_54_2690.jpg', '/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_57_2609.jpg', '/home/pi/Desktop/images/04112025/12/57/image_04112025_12_58_00_3635.jpg', '/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_03_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_48_2794.jpg
/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_51_3642.jpg
/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_54_2690.jpg
/home/pi/Desktop/images/04112025/12/57/image_04112025_12_57_57_2609.jpg
/home/pi/Desktop/images/04112025/12/57/image_04112025_12_58_00_3635.jpg
/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_03_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":["1399345643","1399345646","1399345640","1399345645","1399345647","1399345644"],"photo_ids_order":["1399345640","1399345643","1399345644","1399345645","1399345646","1399345647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8d955ae5424c962e408abc0d0c3eaf5e.jpg","text":"TemporaryFile(/tmp/multipartBody6887686449793056688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709382794,"filename":"image_04112025_12_57_51_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3139a1d045099ea64c2ca2d01ecb501a.jpg","text":"TemporaryFile(/tmp/multipartBody6958355613000547537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709382794,"filename":"image_04112025_12_58_00_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/38ec67da0d7abcf6655d995bf2beaa31.jpg","text":"TemporaryFile(/tmp/multipartBody2150628294384284634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709382794,"filename":"image_04112025_12_57_48_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a0416457afc1144012e456e96eb33875.jpg","text":"TemporaryFile(/tmp/multipartBody4135660940852053536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709382794,"filename":"image_04112025_12_57_57_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c9564922a109b69b614c179acee98af.jpg","text":"TemporaryFile(/tmp/multipartBody8430580821103617275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709382794,"filename":"image_04112025_12_58_03_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5bec4ce0e216a0ec501a6c260bb7224e.jpg","text":"TemporaryFile(/tmp/multipartBody4494652880663513248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709382794,"filename":"image_04112025_12_57_54_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345644","file1":"1399345643","file0":"1399345640","file4":"1399345646","file5":"1399345647","file3":"1399345645"},"map_files_photo_id_array":[{"photo_id":"1399345647","filename":"file5"},{"photo_id":"1399345644","filename":"file2"},{"photo_id":"1399345646","filename":"file4"},{"photo_id":"1399345643","filename":"file1"},{"photo_id":"1399345640","filename":"file0"},{"photo_id":"1399345645","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399345643":["hashtag1","hashtag2"]},{"1399345646":["hashtag1","hashtag2"]},{"1399345640":["hashtag1","hashtag2"]},{"1399345645":["hashtag1","hashtag2"]},{"1399345647":["hashtag1","hashtag2"]},{"1399345644":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399345643, 1399345646, 1399345640, 1399345645, 1399345647, 1399345644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43278765678406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:49:22.295720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/25/image_14122025_11_25_25_10766.jpg', '/home/pi/Desktop/images/14122025/11/25/image_14122025_11_25_34_9672.jpg', '/home/pi/Desktop/images/14122025/11/25/image_14122025_11_25_44_9771.jpg', '/home/pi/Desktop/images/14122025/11/25/image_14122025_11_25_55_10630.jpg', '/home/pi/Desktop/images/14122025/11/25/image_14122025_11_26_05_9829.jpg', '/home/pi/Desktop/images/14122025/11/26/image_14122025_11_26_14_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/25/image_14122025_11_25_25_10766.jpg
/home/pi/Desktop/images/14122025/11/25/image_14122025_11_25_34_9672.jpg
/home/pi/Desktop/images/14122025/11/25/image_14122025_11_25_44_9771.jpg
/home/pi/Desktop/images/14122025/11/25/image_14122025_11_25_55_10630.jpg
/home/pi/Desktop/images/14122025/11/25/image_14122025_11_26_05_9829.jpg
/home/pi/Desktop/images/14122025/11/26/image_14122025_11_26_14_9830.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345652","1399345654","1399345648","1399345659","1399345650","1399345656"],"photo_ids_order":["1399345648","1399345650","1399345652","1399345654","1399345656","1399345659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7dacef4a40fc12bc112c1fa71476dd03.jpg","text":"TemporaryFile(/tmp/multipartBody2894009890223564544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709422904,"filename":"image_14122025_11_25_44_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3433bff5369529452d2be718fa47b8f7.jpg","text":"TemporaryFile(/tmp/multipartBody4373692554355506133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709422904,"filename":"image_14122025_11_25_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/12/14/2a15cd0581339fe2ce6568a8105e5443.jpg","text":"TemporaryFile(/tmp/multipartBody6677864368155163637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709422904,"filename":"image_14122025_11_25_25_10766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c973343b6f0efdb3512789698c5ef5c.jpg","text":"TemporaryFile(/tmp/multipartBody6365432617156604106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709422904,"filename":"image_14122025_11_26_14_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/885302f653bee4bdbfb59721faeae3f2.jpg","text":"TemporaryFile(/tmp/multipartBody6963101956627863708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709422904,"filename":"image_14122025_11_25_34_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f70d3446b74d8ed5b912295272c8945.jpg","text":"TemporaryFile(/tmp/multipartBody4363839454354769979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709422904,"filename":"image_14122025_11_26_05_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345652","file1":"1399345650","file0":"1399345648","file4":"1399345656","file5":"1399345659","file3":"1399345654"},"map_files_photo_id_array":[{"photo_id":"1399345659","filename":"file5"},{"photo_id":"1399345652","filename":"file2"},{"photo_id":"1399345656","filename":"file4"},{"photo_id":"1399345650","filename":"file1"},{"photo_id":"1399345648","filename":"file0"},{"photo_id":"1399345654","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345652":["hashtag1","hashtag2"]},{"1399345654":["hashtag1","hashtag2"]},{"1399345648":["hashtag1","hashtag2"]},{"1399345659":["hashtag1","hashtag2"]},{"1399345650":["hashtag1","hashtag2"]},{"1399345656":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345652, 1399345654, 1399345648, 1399345659, 1399345650, 1399345656)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.10744380950928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 11:50:12.375869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:50:22.433166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/26/image_14122025_11_26_24_9667.jpg', '/home/pi/Desktop/images/14122025/11/26/image_14122025_11_26_35_10777.jpg', '/home/pi/Desktop/images/14122025/11/26/image_14122025_11_26_45_9657.jpg', '/home/pi/Desktop/images/14122025/11/26/image_14122025_11_26_54_9592.jpg', '/home/pi/Desktop/images/14122025/11/26/image_14122025_11_27_04_9756.jpg', '/home/pi/Desktop/images/14122025/11/27/image_14122025_11_27_15_10742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/26/image_14122025_11_26_24_9667.jpg
/home/pi/Desktop/images/14122025/11/26/image_14122025_11_26_35_10777.jpg
/home/pi/Desktop/images/14122025/11/26/image_14122025_11_26_45_9657.jpg
/home/pi/Desktop/images/14122025/11/26/image_14122025_11_26_54_9592.jpg
/home/pi/Desktop/images/14122025/11/26/image_14122025_11_27_04_9756.jpg
/home/pi/Desktop/images/14122025/11/27/image_14122025_11_27_15_10742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345673","1399345667","1399345669","1399345663","1399345665","1399345662"],"photo_ids_order":["1399345662","1399345663","1399345665","1399345667","1399345669","1399345673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ea4e1eaca31a9c5175e7434b88e98fc.jpg","text":"TemporaryFile(/tmp/multipartBody5869459868410303772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709483022,"filename":"image_14122025_11_27_15_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c40f466a8c45de20d3da819ab2bc2989.jpg","text":"TemporaryFile(/tmp/multipartBody8420730035456599544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709483022,"filename":"image_14122025_11_26_54_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9d1e81e582b8fe6656cfc1b21298970a.jpg","text":"TemporaryFile(/tmp/multipartBody2784466310515783224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709483022,"filename":"image_14122025_11_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/12/14/7a534f6c29071e22a878ff67cf7d55aa.jpg","text":"TemporaryFile(/tmp/multipartBody4764261774061019453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709483022,"filename":"image_14122025_11_26_35_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2e46634523f8df2dbb7a907acb1d2444.jpg","text":"TemporaryFile(/tmp/multipartBody8750642293629384318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709483022,"filename":"image_14122025_11_26_45_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b0906bad6a61e08cc28da01be3f6932.jpg","text":"TemporaryFile(/tmp/multipartBody7003701284269152688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709483022,"filename":"image_14122025_11_26_24_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345665","file1":"1399345663","file0":"1399345662","file4":"1399345669","file5":"1399345673","file3":"1399345667"},"map_files_photo_id_array":[{"photo_id":"1399345673","filename":"file5"},{"photo_id":"1399345665","filename":"file2"},{"photo_id":"1399345669","filename":"file4"},{"photo_id":"1399345663","filename":"file1"},{"photo_id":"1399345662","filename":"file0"},{"photo_id":"1399345667","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345673":["hashtag1","hashtag2"]},{"1399345667":["hashtag1","hashtag2"]},{"1399345669":["hashtag1","hashtag2"]},{"1399345663":["hashtag1","hashtag2"]},{"1399345665":["hashtag1","hashtag2"]},{"1399345662":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345673, 1399345667, 1399345669, 1399345663, 1399345665, 1399345662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69728207588196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:51:03.208398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/27/image_14122025_11_27_24_9628.jpg', '/home/pi/Desktop/images/14122025/11/27/image_14122025_11_27_34_9685.jpg', '/home/pi/Desktop/images/14122025/11/27/image_14122025_11_27_45_10700.jpg', '/home/pi/Desktop/images/14122025/11/27/image_14122025_11_27_54_9582.jpg', '/home/pi/Desktop/images/14122025/11/27/image_14122025_11_28_05_10637.jpg', '/home/pi/Desktop/images/14122025/11/28/image_14122025_11_28_15_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/27/image_14122025_11_27_24_9628.jpg
/home/pi/Desktop/images/14122025/11/27/image_14122025_11_27_34_9685.jpg
/home/pi/Desktop/images/14122025/11/27/image_14122025_11_27_45_10700.jpg
/home/pi/Desktop/images/14122025/11/27/image_14122025_11_27_54_9582.jpg
/home/pi/Desktop/images/14122025/11/27/image_14122025_11_28_05_10637.jpg
/home/pi/Desktop/images/14122025/11/28/image_14122025_11_28_15_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399345682","1399345685","1399345679","1399345687","1399345681","1399345683"],"photo_ids_order":["1399345679","1399345681","1399345682","1399345683","1399345685","1399345687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1249a45cc791ec68e6276f18c91a2d41.jpg","text":"TemporaryFile(/tmp/multipartBody9095109793075382358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709523899,"filename":"image_14122025_11_27_45_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/030c21608f4e649f8aa25e9165d55a6c.jpg","text":"TemporaryFile(/tmp/multipartBody6753853288604956714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709523899,"filename":"image_14122025_11_28_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2341615da717b7895336c64b5a18b6f4.jpg","text":"TemporaryFile(/tmp/multipartBody7654068292654129691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709523899,"filename":"image_14122025_11_27_24_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d18d959cc43aebffc9f05a8db8f11a0.jpg","text":"TemporaryFile(/tmp/multipartBody6895800830768237125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709523899,"filename":"image_14122025_11_28_15_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf683cd20d2c7405d70a276df4cd314d.jpg","text":"TemporaryFile(/tmp/multipartBody2467835504196019671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709523899,"filename":"image_14122025_11_27_34_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/00da2a0845376161809fa44d164dfacb.jpg","text":"TemporaryFile(/tmp/multipartBody7397342667104355389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709523899,"filename":"image_14122025_11_27_54_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345682","file1":"1399345681","file0":"1399345679","file4":"1399345685","file5":"1399345687","file3":"1399345683"},"map_files_photo_id_array":[{"photo_id":"1399345687","filename":"file5"},{"photo_id":"1399345682","filename":"file2"},{"photo_id":"1399345685","filename":"file4"},{"photo_id":"1399345681","filename":"file1"},{"photo_id":"1399345679","filename":"file0"},{"photo_id":"1399345683","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345682":["hashtag1","hashtag2"]},{"1399345685":["hashtag1","hashtag2"]},{"1399345679":["hashtag1","hashtag2"]},{"1399345687":["hashtag1","hashtag2"]},{"1399345681":["hashtag1","hashtag2"]},{"1399345683":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345682, 1399345685, 1399345679, 1399345687, 1399345681, 1399345683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.230623722076416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:52:02.669758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/28/image_14122025_11_28_24_9663.jpg', '/home/pi/Desktop/images/14122025/11/28/image_14122025_11_28_34_9693.jpg', '/home/pi/Desktop/images/14122025/11/28/image_14122025_11_28_45_10640.jpg', '/home/pi/Desktop/images/14122025/11/28/image_14122025_11_28_54_9696.jpg', '/home/pi/Desktop/images/14122025/11/28/image_14122025_11_29_04_9685.jpg', '/home/pi/Desktop/images/14122025/11/29/image_14122025_11_29_15_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/28/image_14122025_11_28_24_9663.jpg
/home/pi/Desktop/images/14122025/11/28/image_14122025_11_28_34_9693.jpg
/home/pi/Desktop/images/14122025/11/28/image_14122025_11_28_45_10640.jpg
/home/pi/Desktop/images/14122025/11/28/image_14122025_11_28_54_9696.jpg
/home/pi/Desktop/images/14122025/11/28/image_14122025_11_29_04_9685.jpg
/home/pi/Desktop/images/14122025/11/29/image_14122025_11_29_15_10639.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5265462398529053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 11:52:12.224315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:52:22.148346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/28/image_14122025_11_28_24_9663.jpg', '/home/pi/Desktop/images/14122025/11/28/image_14122025_11_28_34_9693.jpg', '/home/pi/Desktop/images/14122025/11/28/image_14122025_11_28_45_10640.jpg', '/home/pi/Desktop/images/14122025/11/28/image_14122025_11_28_54_9696.jpg', '/home/pi/Desktop/images/14122025/11/28/image_14122025_11_29_04_9685.jpg', '/home/pi/Desktop/images/14122025/11/29/image_14122025_11_29_15_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/28/image_14122025_11_28_24_9663.jpg
/home/pi/Desktop/images/14122025/11/28/image_14122025_11_28_34_9693.jpg
/home/pi/Desktop/images/14122025/11/28/image_14122025_11_28_45_10640.jpg
/home/pi/Desktop/images/14122025/11/28/image_14122025_11_28_54_9696.jpg
/home/pi/Desktop/images/14122025/11/28/image_14122025_11_29_04_9685.jpg
/home/pi/Desktop/images/14122025/11/29/image_14122025_11_29_15_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":["1399345710","1399345704","1399345706","1399345700","1399345702","1399345708"],"photo_ids_order":["1399345700","1399345702","1399345704","1399345706","1399345708","1399345710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf169684ec41385afa4fd364eb1edf91.jpg","text":"TemporaryFile(/tmp/multipartBody4533550054599872477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709602773,"filename":"image_14122025_11_29_15_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/18d802cda694b31a64d27a154e519128.jpg","text":"TemporaryFile(/tmp/multipartBody5894371611870615460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709602773,"filename":"image_14122025_11_28_45_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63502aa7ec3abac56ab24858671ab1d9.jpg","text":"TemporaryFile(/tmp/multipartBody5863754422469824878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709602773,"filename":"image_14122025_11_28_54_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3c6d9a11691864b1350dbb3b4d07596e.jpg","text":"TemporaryFile(/tmp/multipartBody4860522270930137557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709602773,"filename":"image_14122025_11_28_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/12/14/703397fd193642a18eb449b0d2e7719c.jpg","text":"TemporaryFile(/tmp/multipartBody646069539223845562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709602773,"filename":"image_14122025_11_28_34_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc40d78356fe9b17dee5f3456932b293.jpg","text":"TemporaryFile(/tmp/multipartBody6530871720772106892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709602773,"filename":"image_14122025_11_29_04_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345704","file1":"1399345702","file0":"1399345700","file4":"1399345708","file5":"1399345710","file3":"1399345706"},"map_files_photo_id_array":[{"photo_id":"1399345710","filename":"file5"},{"photo_id":"1399345704","filename":"file2"},{"photo_id":"1399345708","filename":"file4"},{"photo_id":"1399345702","filename":"file1"},{"photo_id":"1399345700","filename":"file0"},{"photo_id":"1399345706","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345710":["hashtag1","hashtag2"]},{"1399345704":["hashtag1","hashtag2"]},{"1399345706":["hashtag1","hashtag2"]},{"1399345700":["hashtag1","hashtag2"]},{"1399345702":["hashtag1","hashtag2"]},{"1399345708":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345710, 1399345704, 1399345706, 1399345700, 1399345702, 1399345708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60027098655701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:53:02.822765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/29/image_14122025_11_29_24_9742.jpg', '/home/pi/Desktop/images/14122025/11/29/image_14122025_11_29_34_9597.jpg', '/home/pi/Desktop/images/14122025/11/29/image_14122025_11_29_45_10722.jpg', '/home/pi/Desktop/images/14122025/11/29/image_14122025_11_29_54_9694.jpg', '/home/pi/Desktop/images/14122025/11/30/image_14122025_11_30_15_10053.jpg', '/home/pi/Desktop/images/14122025/11/30/image_14122025_11_30_25_10776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/29/image_14122025_11_29_24_9742.jpg
/home/pi/Desktop/images/14122025/11/29/image_14122025_11_29_34_9597.jpg
/home/pi/Desktop/images/14122025/11/29/image_14122025_11_29_45_10722.jpg
/home/pi/Desktop/images/14122025/11/29/image_14122025_11_29_54_9694.jpg
/home/pi/Desktop/images/14122025/11/30/image_14122025_11_30_15_10053.jpg
/home/pi/Desktop/images/14122025/11/30/image_14122025_11_30_25_10776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345718","1399345712","1399345715","1399345720","1399345714","1399345716"],"photo_ids_order":["1399345712","1399345714","1399345715","1399345716","1399345718","1399345720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/80c7b28c5c34aeb0df0048e5ce3d6a1e.jpg","text":"TemporaryFile(/tmp/multipartBody8956000433886204218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709646163,"filename":"image_14122025_11_30_15_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ebbdceea174663af469a0afc88660a9.jpg","text":"TemporaryFile(/tmp/multipartBody6129789783216352007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709646163,"filename":"image_14122025_11_29_24_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5da97470b75a7c574b991a72d4d0e04d.jpg","text":"TemporaryFile(/tmp/multipartBody5444133212867122273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709646163,"filename":"image_14122025_11_29_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/12/14/d200c61e49481291db9ece980bb8536e.jpg","text":"TemporaryFile(/tmp/multipartBody1870464980734142680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709646163,"filename":"image_14122025_11_30_25_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf198db3c20b489dec31f37b1e0f0e3f.jpg","text":"TemporaryFile(/tmp/multipartBody8477757733847164871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709646163,"filename":"image_14122025_11_29_34_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e14d3d6998b85b997da9f738354cbeb5.jpg","text":"TemporaryFile(/tmp/multipartBody8691642546100358214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709646163,"filename":"image_14122025_11_29_54_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345715","file1":"1399345714","file0":"1399345712","file4":"1399345718","file5":"1399345720","file3":"1399345716"},"map_files_photo_id_array":[{"photo_id":"1399345720","filename":"file5"},{"photo_id":"1399345715","filename":"file2"},{"photo_id":"1399345718","filename":"file4"},{"photo_id":"1399345714","filename":"file1"},{"photo_id":"1399345712","filename":"file0"},{"photo_id":"1399345716","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345718":["hashtag1","hashtag2"]},{"1399345712":["hashtag1","hashtag2"]},{"1399345715":["hashtag1","hashtag2"]},{"1399345720":["hashtag1","hashtag2"]},{"1399345714":["hashtag1","hashtag2"]},{"1399345716":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345718, 1399345712, 1399345715, 1399345720, 1399345714, 1399345716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56072735786438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:53:42.278104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_06_2791.jpg', '/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_09_3692.jpg', '/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_12_2548.jpg', '/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_15_2683.jpg', '/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_18_3612.jpg', '/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_21_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_06_2791.jpg
/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_09_3692.jpg
/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_12_2548.jpg
/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_15_2683.jpg
/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_18_3612.jpg
/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_21_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":["1399345725","1399345730","1399345727","1399345729","1399345723","1399345728"],"photo_ids_order":["1399345723","1399345725","1399345727","1399345728","1399345729","1399345730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2c5cf55b267af46f45e7c342586ba36.jpg","text":"TemporaryFile(/tmp/multipartBody5878884682184015369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709682982,"filename":"image_04112025_12_58_09_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d759ef69855a4b322e33c42d47fde3df.jpg","text":"TemporaryFile(/tmp/multipartBody67298446692827982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709682982,"filename":"image_04112025_12_58_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/12/14/0a0157115646e5f104c0f5f5ce9f96a8.jpg","text":"TemporaryFile(/tmp/multipartBody2484689189667194468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709682982,"filename":"image_04112025_12_58_12_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5c475129580159858d3c69795fc4234a.jpg","text":"TemporaryFile(/tmp/multipartBody2145134386490464031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709682982,"filename":"image_04112025_12_58_18_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/578d40a5d6818377a56bc2054ca6edd0.jpg","text":"TemporaryFile(/tmp/multipartBody150508986698517669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709682982,"filename":"image_04112025_12_58_06_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b9d592c29edf21f98e8d48476960eef.jpg","text":"TemporaryFile(/tmp/multipartBody3780913049369230097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709682982,"filename":"image_04112025_12_58_15_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345727","file1":"1399345725","file0":"1399345723","file4":"1399345729","file5":"1399345730","file3":"1399345728"},"map_files_photo_id_array":[{"photo_id":"1399345730","filename":"file5"},{"photo_id":"1399345727","filename":"file2"},{"photo_id":"1399345729","filename":"file4"},{"photo_id":"1399345725","filename":"file1"},{"photo_id":"1399345723","filename":"file0"},{"photo_id":"1399345728","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399345725":["hashtag1","hashtag2"]},{"1399345730":["hashtag1","hashtag2"]},{"1399345727":["hashtag1","hashtag2"]},{"1399345729":["hashtag1","hashtag2"]},{"1399345723":["hashtag1","hashtag2"]},{"1399345728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399345725, 1399345730, 1399345727, 1399345729, 1399345723, 1399345728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2023651599884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:54:22.614878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/30/image_14122025_11_30_35_9556.jpg', '/home/pi/Desktop/images/14122025/11/30/image_14122025_11_30_45_9802.jpg', '/home/pi/Desktop/images/14122025/11/30/image_14122025_11_30_56_10774.jpg', '/home/pi/Desktop/images/14122025/11/30/image_14122025_11_31_05_9682.jpg', '/home/pi/Desktop/images/14122025/11/31/image_14122025_11_31_15_9686.jpg', '/home/pi/Desktop/images/14122025/11/31/image_14122025_11_31_26_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/30/image_14122025_11_30_35_9556.jpg
/home/pi/Desktop/images/14122025/11/30/image_14122025_11_30_45_9802.jpg
/home/pi/Desktop/images/14122025/11/30/image_14122025_11_30_56_10774.jpg
/home/pi/Desktop/images/14122025/11/30/image_14122025_11_31_05_9682.jpg
/home/pi/Desktop/images/14122025/11/31/image_14122025_11_31_15_9686.jpg
/home/pi/Desktop/images/14122025/11/31/image_14122025_11_31_26_10573.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4512124061584473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 11:54:32.673588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:54:42.544951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_24_2642.jpg', '/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_27_3612.jpg', '/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_30_2589.jpg', '/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_33_3516.jpg', '/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_36_2559.jpg', '/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_39_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_24_2642.jpg
/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_27_3612.jpg
/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_30_2589.jpg
/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_33_3516.jpg
/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_36_2559.jpg
/home/pi/Desktop/images/04112025/12/58/image_04112025_12_58_39_2632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345745","1399345747","1399345741","1399345744","1399345746","1399345743"],"photo_ids_order":["1399345741","1399345743","1399345744","1399345745","1399345746","1399345747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/86aa350c674de33d1f452cbe6198b797.jpg","text":"TemporaryFile(/tmp/multipartBody84128754051825341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709743250,"filename":"image_04112025_12_58_33_3516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f8be8a0d58b55e7a8dbf0356658b81c9.jpg","text":"TemporaryFile(/tmp/multipartBody773058395730371004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709743250,"filename":"image_04112025_12_58_39_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6d8f88290bef11fc04bdb928aefb317b.jpg","text":"TemporaryFile(/tmp/multipartBody5545991131099387993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709743250,"filename":"image_04112025_12_58_24_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/77e268d134ccc98d2568ac77dba0a5c2.jpg","text":"TemporaryFile(/tmp/multipartBody8642640718895896564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709743250,"filename":"image_04112025_12_58_30_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf330bb35eb36a994f14d1e262a5ba71.jpg","text":"TemporaryFile(/tmp/multipartBody4689716190310889014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709743250,"filename":"image_04112025_12_58_36_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/503fbd519f8c82385684f09a0a4b976e.jpg","text":"TemporaryFile(/tmp/multipartBody5919016143026810741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709743250,"filename":"image_04112025_12_58_27_3612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345744","file1":"1399345743","file0":"1399345741","file4":"1399345746","file5":"1399345747","file3":"1399345745"},"map_files_photo_id_array":[{"photo_id":"1399345747","filename":"file5"},{"photo_id":"1399345744","filename":"file2"},{"photo_id":"1399345746","filename":"file4"},{"photo_id":"1399345743","filename":"file1"},{"photo_id":"1399345741","filename":"file0"},{"photo_id":"1399345745","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399345745":["hashtag1","hashtag2"]},{"1399345747":["hashtag1","hashtag2"]},{"1399345741":["hashtag1","hashtag2"]},{"1399345744":["hashtag1","hashtag2"]},{"1399345746":["hashtag1","hashtag2"]},{"1399345743":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399345745, 1399345747, 1399345741, 1399345744, 1399345746, 1399345743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37967491149902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:55:22.828585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/30/image_14122025_11_30_35_9556.jpg', '/home/pi/Desktop/images/14122025/11/30/image_14122025_11_30_45_9802.jpg', '/home/pi/Desktop/images/14122025/11/30/image_14122025_11_30_56_10774.jpg', '/home/pi/Desktop/images/14122025/11/30/image_14122025_11_31_05_9682.jpg', '/home/pi/Desktop/images/14122025/11/31/image_14122025_11_31_15_9686.jpg', '/home/pi/Desktop/images/14122025/11/31/image_14122025_11_31_26_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/30/image_14122025_11_30_35_9556.jpg
/home/pi/Desktop/images/14122025/11/30/image_14122025_11_30_45_9802.jpg
/home/pi/Desktop/images/14122025/11/30/image_14122025_11_30_56_10774.jpg
/home/pi/Desktop/images/14122025/11/30/image_14122025_11_31_05_9682.jpg
/home/pi/Desktop/images/14122025/11/31/image_14122025_11_31_15_9686.jpg
/home/pi/Desktop/images/14122025/11/31/image_14122025_11_31_26_10573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345760","1399345757","1399345751","1399345753","1399345755","1399345749"],"photo_ids_order":["1399345749","1399345751","1399345753","1399345755","1399345757","1399345760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/457e789531f00fde8ed02522a34884fe.jpg","text":"TemporaryFile(/tmp/multipartBody5736799411945086996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709783466,"filename":"image_14122025_11_31_26_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d3703e57299154b7bf024923940b66d.jpg","text":"TemporaryFile(/tmp/multipartBody2171097426525967396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709783466,"filename":"image_14122025_11_31_15_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/26fdb9eed639b6280f6ac6204eceb78b.jpg","text":"TemporaryFile(/tmp/multipartBody991611799824073849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709783466,"filename":"image_14122025_11_30_45_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b66c58b0c376c728c0a5342c0c23e75.jpg","text":"TemporaryFile(/tmp/multipartBody9143649479132615628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709783466,"filename":"image_14122025_11_30_56_10774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/837fb04998d4822973acf2a156be4f01.jpg","text":"TemporaryFile(/tmp/multipartBody1785038435081475956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709783466,"filename":"image_14122025_11_31_05_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5c05f14d3d4a4c12c45fba99fc87ba2c.jpg","text":"TemporaryFile(/tmp/multipartBody782623999761799096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709783466,"filename":"image_14122025_11_30_35_9556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345753","file1":"1399345751","file0":"1399345749","file4":"1399345757","file5":"1399345760","file3":"1399345755"},"map_files_photo_id_array":[{"photo_id":"1399345760","filename":"file5"},{"photo_id":"1399345753","filename":"file2"},{"photo_id":"1399345757","filename":"file4"},{"photo_id":"1399345751","filename":"file1"},{"photo_id":"1399345749","filename":"file0"},{"photo_id":"1399345755","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345760":["hashtag1","hashtag2"]},{"1399345757":["hashtag1","hashtag2"]},{"1399345751":["hashtag1","hashtag2"]},{"1399345753":["hashtag1","hashtag2"]},{"1399345755":["hashtag1","hashtag2"]},{"1399345749":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345760, 1399345757, 1399345751, 1399345753, 1399345755, 1399345749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.400444984436035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:56:02.514427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/31/image_14122025_11_31_35_9677.jpg', '/home/pi/Desktop/images/14122025/11/31/image_14122025_11_31_45_9643.jpg', '/home/pi/Desktop/images/14122025/11/31/image_14122025_11_31_56_10777.jpg', '/home/pi/Desktop/images/14122025/11/31/image_14122025_11_32_05_9719.jpg', '/home/pi/Desktop/images/14122025/11/32/image_14122025_11_32_15_9834.jpg', '/home/pi/Desktop/images/14122025/11/32/image_14122025_11_32_25_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/31/image_14122025_11_31_35_9677.jpg
/home/pi/Desktop/images/14122025/11/31/image_14122025_11_31_45_9643.jpg
/home/pi/Desktop/images/14122025/11/31/image_14122025_11_31_56_10777.jpg
/home/pi/Desktop/images/14122025/11/31/image_14122025_11_32_05_9719.jpg
/home/pi/Desktop/images/14122025/11/32/image_14122025_11_32_15_9834.jpg
/home/pi/Desktop/images/14122025/11/32/image_14122025_11_32_25_9674.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5529220104217529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 11:56:12.051992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 11:56:22.113812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/31/image_14122025_11_31_35_9677.jpg', '/home/pi/Desktop/images/14122025/11/31/image_14122025_11_31_45_9643.jpg', '/home/pi/Desktop/images/14122025/11/31/image_14122025_11_31_56_10777.jpg', '/home/pi/Desktop/images/14122025/11/31/image_14122025_11_32_05_9719.jpg', '/home/pi/Desktop/images/14122025/11/32/image_14122025_11_32_15_9834.jpg', '/home/pi/Desktop/images/14122025/11/32/image_14122025_11_32_25_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/31/image_14122025_11_31_35_9677.jpg
/home/pi/Desktop/images/14122025/11/31/image_14122025_11_31_45_9643.jpg
/home/pi/Desktop/images/14122025/11/31/image_14122025_11_31_56_10777.jpg
/home/pi/Desktop/images/14122025/11/31/image_14122025_11_32_05_9719.jpg
/home/pi/Desktop/images/14122025/11/32/image_14122025_11_32_15_9834.jpg
/home/pi/Desktop/images/14122025/11/32/image_14122025_11_32_25_9674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345778","1399345771","1399345776","1399345770","1399345773","1399345767"],"photo_ids_order":["1399345767","1399345770","1399345771","1399345773","1399345776","1399345778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d87c5365fd89ab8a22c87c565dd0bf26.jpg","text":"TemporaryFile(/tmp/multipartBody8575351456407192641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709842778,"filename":"image_14122025_11_32_25_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aad4d45ac27222d1c4bfc68eeefe5939.jpg","text":"TemporaryFile(/tmp/multipartBody5939313605752141279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709842778,"filename":"image_14122025_11_31_56_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/305a08f9e85044010a72bffa4b82546f.jpg","text":"TemporaryFile(/tmp/multipartBody8558873110237244870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709842778,"filename":"image_14122025_11_32_15_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ab0848a351eff034981eda1ca504cdd.jpg","text":"TemporaryFile(/tmp/multipartBody8004323999037123667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709842778,"filename":"image_14122025_11_31_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/12/14/67ee9e70337ad614f9a775215591606d.jpg","text":"TemporaryFile(/tmp/multipartBody7204112141331250339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709842778,"filename":"image_14122025_11_32_05_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5375261f29aec632996305eb469aa401.jpg","text":"TemporaryFile(/tmp/multipartBody4007187080226595351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709842778,"filename":"image_14122025_11_31_35_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345771","file1":"1399345770","file0":"1399345767","file4":"1399345776","file5":"1399345778","file3":"1399345773"},"map_files_photo_id_array":[{"photo_id":"1399345778","filename":"file5"},{"photo_id":"1399345771","filename":"file2"},{"photo_id":"1399345776","filename":"file4"},{"photo_id":"1399345770","filename":"file1"},{"photo_id":"1399345767","filename":"file0"},{"photo_id":"1399345773","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345778":["hashtag1","hashtag2"]},{"1399345771":["hashtag1","hashtag2"]},{"1399345776":["hashtag1","hashtag2"]},{"1399345770":["hashtag1","hashtag2"]},{"1399345773":["hashtag1","hashtag2"]},{"1399345767":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345778, 1399345771, 1399345776, 1399345770, 1399345773, 1399345767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68223762512207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:57:03.013368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/32/image_14122025_11_32_35_10568.jpg', '/home/pi/Desktop/images/14122025/11/32/image_14122025_11_32_45_9649.jpg', '/home/pi/Desktop/images/14122025/11/32/image_14122025_11_32_55_9766.jpg', '/home/pi/Desktop/images/14122025/11/32/image_14122025_11_33_05_10604.jpg', '/home/pi/Desktop/images/14122025/11/33/image_14122025_11_33_15_9859.jpg', '/home/pi/Desktop/images/14122025/11/33/image_14122025_11_33_25_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/32/image_14122025_11_32_35_10568.jpg
/home/pi/Desktop/images/14122025/11/32/image_14122025_11_32_45_9649.jpg
/home/pi/Desktop/images/14122025/11/32/image_14122025_11_32_55_9766.jpg
/home/pi/Desktop/images/14122025/11/32/image_14122025_11_33_05_10604.jpg
/home/pi/Desktop/images/14122025/11/33/image_14122025_11_33_15_9859.jpg
/home/pi/Desktop/images/14122025/11/33/image_14122025_11_33_25_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":["1399345781","1399345784","1399345783","1399345786","1399345780","1399345782"],"photo_ids_order":["1399345780","1399345781","1399345782","1399345783","1399345784","1399345786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/920ed1b71cc193fb66c04051e1adb01f.jpg","text":"TemporaryFile(/tmp/multipartBody5024783588936366686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709883704,"filename":"image_14122025_11_32_45_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b4ff8e1f8a6cff74ed7454ba9e20950.jpg","text":"TemporaryFile(/tmp/multipartBody4054590791754506340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709883704,"filename":"image_14122025_11_33_15_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94e7d8893898c87bd63a98dc7374bdb4.jpg","text":"TemporaryFile(/tmp/multipartBody705529502424516254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709883704,"filename":"image_14122025_11_33_05_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8445ab83510cdb7ed02620245601f0bd.jpg","text":"TemporaryFile(/tmp/multipartBody4748098617759343066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709883704,"filename":"image_14122025_11_33_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/12/14/08e34499c4390226982c692ff48579cf.jpg","text":"TemporaryFile(/tmp/multipartBody9207195999002953422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709883704,"filename":"image_14122025_11_32_35_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aaf8c36685482294d7b0281f6e83fb2c.jpg","text":"TemporaryFile(/tmp/multipartBody4430069407820187722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709883704,"filename":"image_14122025_11_32_55_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345782","file1":"1399345781","file0":"1399345780","file4":"1399345784","file5":"1399345786","file3":"1399345783"},"map_files_photo_id_array":[{"photo_id":"1399345786","filename":"file5"},{"photo_id":"1399345782","filename":"file2"},{"photo_id":"1399345784","filename":"file4"},{"photo_id":"1399345781","filename":"file1"},{"photo_id":"1399345780","filename":"file0"},{"photo_id":"1399345783","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399345781":["hashtag1","hashtag2"]},{"1399345784":["hashtag1","hashtag2"]},{"1399345783":["hashtag1","hashtag2"]},{"1399345786":["hashtag1","hashtag2"]},{"1399345780":["hashtag1","hashtag2"]},{"1399345782":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399345781, 1399345784, 1399345783, 1399345786, 1399345780, 1399345782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57334327697754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:57:42.318103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_02_23487.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_11_8813.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_12_1541.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_14_1629.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_16_1727.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_23_6967.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_02_23487.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_11_8813.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_12_1541.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_14_1629.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_16_1727.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_23_6967.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399345873","1399345795","1399345801","1399345794","1399345791","1399345839"],"photo_ids_order":["1399345791","1399345794","1399345795","1399345801","1399345839","1399345873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94d94e002591c7cf56894afaa14abd53.jpg","text":"TemporaryFile(/tmp/multipartBody2360902242555245439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709923023,"filename":"image_04112025_12_59_23_6967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/01be38cdf108ec94718fee7d79691aa1.jpg","text":"TemporaryFile(/tmp/multipartBody8370624682247797017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709923023,"filename":"image_04112025_12_59_12_1541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e582657e77139c1fb0077ca8963ec1f0.jpg","text":"TemporaryFile(/tmp/multipartBody8907501906815565597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709923023,"filename":"image_04112025_12_59_14_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/80e784ef0b51c35554fa0f231cd32e5a.jpg","text":"TemporaryFile(/tmp/multipartBody7610781489089101812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709923023,"filename":"image_04112025_12_59_11_8813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14f308047e88f34fb357d7463e46319b.jpg","text":"TemporaryFile(/tmp/multipartBody8674064746460942169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709923023,"filename":"image_04112025_12_59_02_23487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4476f8be1957e31ed6cee6f21c97d8bd.jpg","text":"TemporaryFile(/tmp/multipartBody8309783249290204444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765709923023,"filename":"image_04112025_12_59_16_1727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399345795","file1":"1399345794","file0":"1399345791","file4":"1399345839","file5":"1399345873","file3":"1399345801"},"map_files_photo_id_array":[{"photo_id":"1399345873","filename":"file5"},{"photo_id":"1399345795","filename":"file2"},{"photo_id":"1399345839","filename":"file4"},{"photo_id":"1399345794","filename":"file1"},{"photo_id":"1399345791","filename":"file0"},{"photo_id":"1399345801","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399345873":["hashtag1","hashtag2"]},{"1399345795":["hashtag1","hashtag2"]},{"1399345801":["hashtag1","hashtag2"]},{"1399345794":["hashtag1","hashtag2"]},{"1399345791":["hashtag1","hashtag2"]},{"1399345839":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399345873, 1399345795, 1399345801, 1399345794, 1399345791, 1399345839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.02228832244873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 11:59:03.589395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/33/image_14122025_11_33_36_10563.jpg', '/home/pi/Desktop/images/14122025/11/33/image_14122025_11_33_45_9842.jpg', '/home/pi/Desktop/images/14122025/11/33/image_14122025_11_33_55_9672.jpg', '/home/pi/Desktop/images/14122025/11/33/image_14122025_11_34_05_9560.jpg', '/home/pi/Desktop/images/14122025/11/34/image_14122025_11_34_15_10742.jpg', '/home/pi/Desktop/images/14122025/11/34/image_14122025_11_34_25_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/33/image_14122025_11_33_36_10563.jpg
/home/pi/Desktop/images/14122025/11/33/image_14122025_11_33_45_9842.jpg
/home/pi/Desktop/images/14122025/11/33/image_14122025_11_33_55_9672.jpg
/home/pi/Desktop/images/14122025/11/33/image_14122025_11_34_05_9560.jpg
/home/pi/Desktop/images/14122025/11/34/image_14122025_11_34_15_10742.jpg
/home/pi/Desktop/images/14122025/11/34/image_14122025_11_34_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":["1399346351","1399346321","1399346293","1399346344","1399346367","1399346289"],"photo_ids_order":["1399346289","1399346293","1399346321","1399346344","1399346351","1399346367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad5e1f49e15cde3fd9e4c3f04af321ba.jpg","text":"TemporaryFile(/tmp/multipartBody9189491333800641543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710004333,"filename":"image_14122025_11_34_15_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f34f49b53799217bc2bba73f3f06dd36.jpg","text":"TemporaryFile(/tmp/multipartBody4096890635794227573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710004333,"filename":"image_14122025_11_33_55_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d69b716f13ce8d13f05495ffeea4baa.jpg","text":"TemporaryFile(/tmp/multipartBody3116273349341146286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710004333,"filename":"image_14122025_11_33_45_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eb2d11f1bbbf1bf464153f4c4b5c9afa.jpg","text":"TemporaryFile(/tmp/multipartBody684148495948549230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710004333,"filename":"image_14122025_11_34_05_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7664d65debed8fb57766bfbcc104416.jpg","text":"TemporaryFile(/tmp/multipartBody2779001968465163704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710004333,"filename":"image_14122025_11_34_25_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/647bb9121e34a8161895ef3e51effc2f.jpg","text":"TemporaryFile(/tmp/multipartBody8143876400860279292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710004333,"filename":"image_14122025_11_33_36_10563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399346321","file1":"1399346293","file0":"1399346289","file4":"1399346351","file5":"1399346367","file3":"1399346344"},"map_files_photo_id_array":[{"photo_id":"1399346367","filename":"file5"},{"photo_id":"1399346321","filename":"file2"},{"photo_id":"1399346351","filename":"file4"},{"photo_id":"1399346293","filename":"file1"},{"photo_id":"1399346289","filename":"file0"},{"photo_id":"1399346344","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399346351":["hashtag1","hashtag2"]},{"1399346321":["hashtag1","hashtag2"]},{"1399346293":["hashtag1","hashtag2"]},{"1399346344":["hashtag1","hashtag2"]},{"1399346367":["hashtag1","hashtag2"]},{"1399346289":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399346351, 1399346321, 1399346293, 1399346344, 1399346367, 1399346289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07726716995239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 11:59:42.607791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_24_1569.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_26_1851.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_28_1632.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_29_1644.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_31_1636.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_33_1737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_24_1569.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_26_1851.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_28_1632.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_29_1644.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_31_1636.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_33_1737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399346657","1399346615","1399346575","1399346707","1399346478","1399346535"],"photo_ids_order":["1399346478","1399346535","1399346575","1399346615","1399346657","1399346707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c2960240593edd8bfaf37f4617a6c352.jpg","text":"TemporaryFile(/tmp/multipartBody4904577144587555066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710043302,"filename":"image_04112025_12_59_31_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/758c69ba48210968e195d4b4c1bc9fce.jpg","text":"TemporaryFile(/tmp/multipartBody8814549389660691563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710043302,"filename":"image_04112025_12_59_29_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/37a4578f68024bbc907556f3d9ccfb72.jpg","text":"TemporaryFile(/tmp/multipartBody5027158212342743930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710043302,"filename":"image_04112025_12_59_28_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8d69d064912f38dec6a25311dfef6832.jpg","text":"TemporaryFile(/tmp/multipartBody5443543596932915022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710043302,"filename":"image_04112025_12_59_33_1737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/361509ca34dc5f23685cca7177071904.jpg","text":"TemporaryFile(/tmp/multipartBody2563991120717118975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710043302,"filename":"image_04112025_12_59_24_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/53962a7e1da0b4fc652dc22e5da8cbee.jpg","text":"TemporaryFile(/tmp/multipartBody8266570283716167978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710043302,"filename":"image_04112025_12_59_26_1851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399346575","file1":"1399346535","file0":"1399346478","file4":"1399346657","file5":"1399346707","file3":"1399346615"},"map_files_photo_id_array":[{"photo_id":"1399346707","filename":"file5"},{"photo_id":"1399346575","filename":"file2"},{"photo_id":"1399346657","filename":"file4"},{"photo_id":"1399346535","filename":"file1"},{"photo_id":"1399346478","filename":"file0"},{"photo_id":"1399346615","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399346657":["hashtag1","hashtag2"]},{"1399346615":["hashtag1","hashtag2"]},{"1399346575":["hashtag1","hashtag2"]},{"1399346707":["hashtag1","hashtag2"]},{"1399346478":["hashtag1","hashtag2"]},{"1399346535":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399346657, 1399346615, 1399346575, 1399346707, 1399346478, 1399346535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.206581830978394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:00:31.920120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:00:41.872392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_34_1643.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_36_1589.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_37_1490.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_39_1556.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_41_1609.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_42_1543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_34_1643.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_36_1589.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_37_1490.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_39_1556.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_41_1609.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_42_1543.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6235041618347168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:01:03.028044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/34/image_14122025_11_34_36_10546.jpg', '/home/pi/Desktop/images/14122025/11/34/image_14122025_11_34_45_9664.jpg', '/home/pi/Desktop/images/14122025/11/34/image_14122025_11_34_55_9666.jpg', '/home/pi/Desktop/images/14122025/11/36/image_14122025_11_36_14_10037.jpg', '/home/pi/Desktop/images/14122025/11/36/image_14122025_11_36_24_10063.jpg', '/home/pi/Desktop/images/14122025/11/36/image_14122025_11_36_35_10867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/34/image_14122025_11_34_36_10546.jpg
/home/pi/Desktop/images/14122025/11/34/image_14122025_11_34_45_9664.jpg
/home/pi/Desktop/images/14122025/11/34/image_14122025_11_34_55_9666.jpg
/home/pi/Desktop/images/14122025/11/36/image_14122025_11_36_14_10037.jpg
/home/pi/Desktop/images/14122025/11/36/image_14122025_11_36_24_10063.jpg
/home/pi/Desktop/images/14122025/11/36/image_14122025_11_36_35_10867.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399347868","1399347939","1399347780","1399347705","1399348214","1399348045"],"photo_ids_order":["1399347705","1399347780","1399347868","1399347939","1399348045","1399348214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8f9d4dda2f77a2af9ffe16dcc50dd31a.jpg","text":"TemporaryFile(/tmp/multipartBody5792772219767529638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710123757,"filename":"image_14122025_11_34_55_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e332482680ff51932e19a00b40eca7c7.jpg","text":"TemporaryFile(/tmp/multipartBody6237703831850996007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710123757,"filename":"image_14122025_11_36_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ca1f73586e2fbd2f23449fbea9f9b9c3.jpg","text":"TemporaryFile(/tmp/multipartBody3247904107591860653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710123757,"filename":"image_14122025_11_34_45_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c565c97746f337f1ecc0841d82429f5f.jpg","text":"TemporaryFile(/tmp/multipartBody2534397670209412763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710123757,"filename":"image_14122025_11_34_36_10546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c4f919efab457a54faaa9a6d82ad7860.jpg","text":"TemporaryFile(/tmp/multipartBody1956380587349679632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710123757,"filename":"image_14122025_11_36_35_10867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c881f19b397d980131eed961952d836.jpg","text":"TemporaryFile(/tmp/multipartBody1030712812921674198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710123757,"filename":"image_14122025_11_36_24_10063.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399347868","file1":"1399347780","file0":"1399347705","file4":"1399348045","file5":"1399348214","file3":"1399347939"},"map_files_photo_id_array":[{"photo_id":"1399348214","filename":"file5"},{"photo_id":"1399347868","filename":"file2"},{"photo_id":"1399348045","filename":"file4"},{"photo_id":"1399347780","filename":"file1"},{"photo_id":"1399347705","filename":"file0"},{"photo_id":"1399347939","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399347868":["hashtag1","hashtag2"]},{"1399347939":["hashtag1","hashtag2"]},{"1399347780":["hashtag1","hashtag2"]},{"1399347705":["hashtag1","hashtag2"]},{"1399348214":["hashtag1","hashtag2"]},{"1399348045":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399347868, 1399347939, 1399347780, 1399347705, 1399348214, 1399348045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13803505897522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:02:02.803614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/36/image_14122025_11_36_44_9556.jpg', '/home/pi/Desktop/images/14122025/11/36/image_14122025_11_36_54_9590.jpg', '/home/pi/Desktop/images/14122025/11/36/image_14122025_11_37_05_10803.jpg', '/home/pi/Desktop/images/14122025/11/37/image_14122025_11_37_14_9805.jpg', '/home/pi/Desktop/images/14122025/11/37/image_14122025_11_37_24_9669.jpg', '/home/pi/Desktop/images/14122025/11/37/image_14122025_11_37_34_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/36/image_14122025_11_36_44_9556.jpg
/home/pi/Desktop/images/14122025/11/36/image_14122025_11_36_54_9590.jpg
/home/pi/Desktop/images/14122025/11/36/image_14122025_11_37_05_10803.jpg
/home/pi/Desktop/images/14122025/11/37/image_14122025_11_37_14_9805.jpg
/home/pi/Desktop/images/14122025/11/37/image_14122025_11_37_24_9669.jpg
/home/pi/Desktop/images/14122025/11/37/image_14122025_11_37_34_9628.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6808819770812988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:02:12.263819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:02:22.386028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/36/image_14122025_11_36_44_9556.jpg', '/home/pi/Desktop/images/14122025/11/36/image_14122025_11_36_54_9590.jpg', '/home/pi/Desktop/images/14122025/11/36/image_14122025_11_37_05_10803.jpg', '/home/pi/Desktop/images/14122025/11/37/image_14122025_11_37_14_9805.jpg', '/home/pi/Desktop/images/14122025/11/37/image_14122025_11_37_24_9669.jpg', '/home/pi/Desktop/images/14122025/11/37/image_14122025_11_37_34_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/36/image_14122025_11_36_44_9556.jpg
/home/pi/Desktop/images/14122025/11/36/image_14122025_11_36_54_9590.jpg
/home/pi/Desktop/images/14122025/11/36/image_14122025_11_37_05_10803.jpg
/home/pi/Desktop/images/14122025/11/37/image_14122025_11_37_14_9805.jpg
/home/pi/Desktop/images/14122025/11/37/image_14122025_11_37_24_9669.jpg
/home/pi/Desktop/images/14122025/11/37/image_14122025_11_37_34_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":["1399349895","1399349739","1399349639","1399349818","1399349542","1399349443"],"photo_ids_order":["1399349443","1399349542","1399349639","1399349739","1399349818","1399349895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be0bb6ef05f356a7c7bf4e32a6f533ad.jpg","text":"TemporaryFile(/tmp/multipartBody5597888652156911063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710203089,"filename":"image_14122025_11_37_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24ee78c71a77a9ef73a3d7e02ff095f1.jpg","text":"TemporaryFile(/tmp/multipartBody8387703468795781936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710203089,"filename":"image_14122025_11_37_14_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a56372f9f1440662e349036dd1edfd21.jpg","text":"TemporaryFile(/tmp/multipartBody5261485215816635842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710203089,"filename":"image_14122025_11_37_05_10803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a228cbc59c0ba34a50b5892928320029.jpg","text":"TemporaryFile(/tmp/multipartBody2560211498875943807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710203089,"filename":"image_14122025_11_37_24_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ced9f5a2734d956333b30fea2a6fb77.jpg","text":"TemporaryFile(/tmp/multipartBody2864079720623043471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710203089,"filename":"image_14122025_11_36_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/12/14/ed317a1490d8522091845d10b41221e7.jpg","text":"TemporaryFile(/tmp/multipartBody4306318589770136899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710203089,"filename":"image_14122025_11_36_44_9556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399349639","file1":"1399349542","file0":"1399349443","file4":"1399349818","file5":"1399349895","file3":"1399349739"},"map_files_photo_id_array":[{"photo_id":"1399349895","filename":"file5"},{"photo_id":"1399349639","filename":"file2"},{"photo_id":"1399349818","filename":"file4"},{"photo_id":"1399349542","filename":"file1"},{"photo_id":"1399349443","filename":"file0"},{"photo_id":"1399349739","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399349895":["hashtag1","hashtag2"]},{"1399349739":["hashtag1","hashtag2"]},{"1399349639":["hashtag1","hashtag2"]},{"1399349818":["hashtag1","hashtag2"]},{"1399349542":["hashtag1","hashtag2"]},{"1399349443":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399349895, 1399349739, 1399349639, 1399349818, 1399349542, 1399349443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53301811218262 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:03:12.525162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:03:22.599552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/37/image_14122025_11_37_44_10628.jpg', '/home/pi/Desktop/images/14122025/11/37/image_14122025_11_37_54_9631.jpg', '/home/pi/Desktop/images/14122025/11/37/image_14122025_11_38_05_10636.jpg', '/home/pi/Desktop/images/14122025/11/38/image_14122025_11_38_14_9758.jpg', '/home/pi/Desktop/images/14122025/11/38/image_14122025_11_38_24_9782.jpg', '/home/pi/Desktop/images/14122025/11/38/image_14122025_11_38_34_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/37/image_14122025_11_37_44_10628.jpg
/home/pi/Desktop/images/14122025/11/37/image_14122025_11_37_54_9631.jpg
/home/pi/Desktop/images/14122025/11/37/image_14122025_11_38_05_10636.jpg
/home/pi/Desktop/images/14122025/11/38/image_14122025_11_38_14_9758.jpg
/home/pi/Desktop/images/14122025/11/38/image_14122025_11_38_24_9782.jpg
/home/pi/Desktop/images/14122025/11/38/image_14122025_11_38_34_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350415","1399350313","1399350410","1399350413","1399350391","1399350292"],"photo_ids_order":["1399350292","1399350313","1399350391","1399350410","1399350413","1399350415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f2d81e38622ef6b67594cf26d9dfe363.jpg","text":"TemporaryFile(/tmp/multipartBody7337065043486920959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710263226,"filename":"image_14122025_11_38_34_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a9cc8b7e57a7d599b6991c140e62cb5f.jpg","text":"TemporaryFile(/tmp/multipartBody6065778029526946165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710263226,"filename":"image_14122025_11_37_54_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d6f68ad081639d614d6490f72cab9107.jpg","text":"TemporaryFile(/tmp/multipartBody2048224001564997700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710263226,"filename":"image_14122025_11_38_14_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5302a4a7561b8e94d07ed04b7f9bb277.jpg","text":"TemporaryFile(/tmp/multipartBody8111212864119907237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710263226,"filename":"image_14122025_11_38_24_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f48f0f782b0756536203948b0e57c00.jpg","text":"TemporaryFile(/tmp/multipartBody5771860840362017525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710263226,"filename":"image_14122025_11_38_05_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/354f8b4defefebde04ba11e50223af95.jpg","text":"TemporaryFile(/tmp/multipartBody7156157527325767101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710263226,"filename":"image_14122025_11_37_44_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350391","file1":"1399350313","file0":"1399350292","file4":"1399350413","file5":"1399350415","file3":"1399350410"},"map_files_photo_id_array":[{"photo_id":"1399350415","filename":"file5"},{"photo_id":"1399350391","filename":"file2"},{"photo_id":"1399350413","filename":"file4"},{"photo_id":"1399350313","filename":"file1"},{"photo_id":"1399350292","filename":"file0"},{"photo_id":"1399350410","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350415":["hashtag1","hashtag2"]},{"1399350313":["hashtag1","hashtag2"]},{"1399350410":["hashtag1","hashtag2"]},{"1399350413":["hashtag1","hashtag2"]},{"1399350391":["hashtag1","hashtag2"]},{"1399350292":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350415, 1399350313, 1399350410, 1399350413, 1399350391, 1399350292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.42603850364685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:04:12.845736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:04:22.851967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/38/image_14122025_11_38_45_10725.jpg', '/home/pi/Desktop/images/14122025/11/38/image_14122025_11_38_54_9687.jpg', '/home/pi/Desktop/images/14122025/11/38/image_14122025_11_39_04_9715.jpg', '/home/pi/Desktop/images/14122025/11/39/image_14122025_11_39_15_10614.jpg', '/home/pi/Desktop/images/14122025/11/39/image_14122025_11_39_24_9819.jpg', '/home/pi/Desktop/images/14122025/11/39/image_14122025_11_39_34_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/38/image_14122025_11_38_45_10725.jpg
/home/pi/Desktop/images/14122025/11/38/image_14122025_11_38_54_9687.jpg
/home/pi/Desktop/images/14122025/11/38/image_14122025_11_39_04_9715.jpg
/home/pi/Desktop/images/14122025/11/39/image_14122025_11_39_15_10614.jpg
/home/pi/Desktop/images/14122025/11/39/image_14122025_11_39_24_9819.jpg
/home/pi/Desktop/images/14122025/11/39/image_14122025_11_39_34_9734.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6562232971191406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:04:32.791996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:04:42.846965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_34_1643.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_36_1589.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_37_1490.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_39_1556.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_41_1609.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_42_1543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_34_1643.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_36_1589.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_37_1490.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_39_1556.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_41_1609.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_42_1543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350433","1399350430","1399350432","1399350426","1399350429","1399350431"],"photo_ids_order":["1399350426","1399350429","1399350430","1399350431","1399350432","1399350433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/26547efd424ab7280dcabd88d89e8592.jpg","text":"TemporaryFile(/tmp/multipartBody4300850700957913579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710343432,"filename":"image_04112025_12_59_42_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1a03b06920df528db4184906fcbed8ae.jpg","text":"TemporaryFile(/tmp/multipartBody5307967546662482165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710343432,"filename":"image_04112025_12_59_37_1490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3504c511c0eafa38664f5d5ffcc4eec2.jpg","text":"TemporaryFile(/tmp/multipartBody5103652803121498044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710343432,"filename":"image_04112025_12_59_41_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa97dc963822d22335f26a140c8b4df5.jpg","text":"TemporaryFile(/tmp/multipartBody2030601686899114618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710343432,"filename":"image_04112025_12_59_34_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce26a43c54fa6a1cf4a185ab639887e2.jpg","text":"TemporaryFile(/tmp/multipartBody2570554143913736672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710343432,"filename":"image_04112025_12_59_36_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bca4b295313e64ee4c38b39e1eebf8b0.jpg","text":"TemporaryFile(/tmp/multipartBody2469839324217266124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710343432,"filename":"image_04112025_12_59_39_1556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350430","file1":"1399350429","file0":"1399350426","file4":"1399350432","file5":"1399350433","file3":"1399350431"},"map_files_photo_id_array":[{"photo_id":"1399350433","filename":"file5"},{"photo_id":"1399350430","filename":"file2"},{"photo_id":"1399350432","filename":"file4"},{"photo_id":"1399350429","filename":"file1"},{"photo_id":"1399350426","filename":"file0"},{"photo_id":"1399350431","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399350433":["hashtag1","hashtag2"]},{"1399350430":["hashtag1","hashtag2"]},{"1399350432":["hashtag1","hashtag2"]},{"1399350426":["hashtag1","hashtag2"]},{"1399350429":["hashtag1","hashtag2"]},{"1399350431":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399350433, 1399350430, 1399350432, 1399350426, 1399350429, 1399350431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.792773962020874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:05:32.089141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:05:42.076508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_44_1625.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_45_1632.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_57_12015.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_59_1634.jpg', '/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_07_3011.jpg', '/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_10_3678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_44_1625.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_45_1632.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_57_12015.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_59_1634.jpg
/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_07_3011.jpg
/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_10_3678.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6086568832397461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:06:02.821799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/38/image_14122025_11_38_45_10725.jpg', '/home/pi/Desktop/images/14122025/11/38/image_14122025_11_38_54_9687.jpg', '/home/pi/Desktop/images/14122025/11/38/image_14122025_11_39_04_9715.jpg', '/home/pi/Desktop/images/14122025/11/39/image_14122025_11_39_15_10614.jpg', '/home/pi/Desktop/images/14122025/11/39/image_14122025_11_39_24_9819.jpg', '/home/pi/Desktop/images/14122025/11/39/image_14122025_11_39_34_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/38/image_14122025_11_38_45_10725.jpg
/home/pi/Desktop/images/14122025/11/38/image_14122025_11_38_54_9687.jpg
/home/pi/Desktop/images/14122025/11/38/image_14122025_11_39_04_9715.jpg
/home/pi/Desktop/images/14122025/11/39/image_14122025_11_39_15_10614.jpg
/home/pi/Desktop/images/14122025/11/39/image_14122025_11_39_24_9819.jpg
/home/pi/Desktop/images/14122025/11/39/image_14122025_11_39_34_9734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350454","1399350448","1399350450","1399350452","1399350449","1399350446"],"photo_ids_order":["1399350446","1399350448","1399350449","1399350450","1399350452","1399350454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/acab5cb5f1f5f308d35c2782742827c6.jpg","text":"TemporaryFile(/tmp/multipartBody2460932626366226534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710423462,"filename":"image_14122025_11_39_34_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/edb15871907a3945686d831ccbdb9416.jpg","text":"TemporaryFile(/tmp/multipartBody7857754419606819457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710423462,"filename":"image_14122025_11_38_54_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a79658fcefdd777ba301f93681413861.jpg","text":"TemporaryFile(/tmp/multipartBody4081072412877950175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710423462,"filename":"image_14122025_11_39_15_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dac1b0e3215d1d63cfb280328067fda4.jpg","text":"TemporaryFile(/tmp/multipartBody3300821871050451201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710423462,"filename":"image_14122025_11_39_24_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/608b5365697edf3449ecbabec59866b6.jpg","text":"TemporaryFile(/tmp/multipartBody6637799659744212936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710423462,"filename":"image_14122025_11_39_04_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/835d81f3009ad299b2a3d29c9103ee13.jpg","text":"TemporaryFile(/tmp/multipartBody2496291802129745945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710423462,"filename":"image_14122025_11_38_45_10725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350449","file1":"1399350448","file0":"1399350446","file4":"1399350452","file5":"1399350454","file3":"1399350450"},"map_files_photo_id_array":[{"photo_id":"1399350454","filename":"file5"},{"photo_id":"1399350449","filename":"file2"},{"photo_id":"1399350452","filename":"file4"},{"photo_id":"1399350448","filename":"file1"},{"photo_id":"1399350446","filename":"file0"},{"photo_id":"1399350450","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350454":["hashtag1","hashtag2"]},{"1399350448":["hashtag1","hashtag2"]},{"1399350450":["hashtag1","hashtag2"]},{"1399350452":["hashtag1","hashtag2"]},{"1399350449":["hashtag1","hashtag2"]},{"1399350446":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350454, 1399350448, 1399350450, 1399350452, 1399350449, 1399350446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.58035135269165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:07:03.167777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/39/image_14122025_11_39_45_10476.jpg', '/home/pi/Desktop/images/14122025/11/39/image_14122025_11_39_54_9700.jpg', '/home/pi/Desktop/images/14122025/11/40/image_14122025_11_40_14_10053.jpg', '/home/pi/Desktop/images/14122025/11/40/image_14122025_11_40_24_10673.jpg', '/home/pi/Desktop/images/14122025/11/40/image_14122025_11_40_34_9645.jpg', '/home/pi/Desktop/images/14122025/11/40/image_14122025_11_40_44_9831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/39/image_14122025_11_39_45_10476.jpg
/home/pi/Desktop/images/14122025/11/39/image_14122025_11_39_54_9700.jpg
/home/pi/Desktop/images/14122025/11/40/image_14122025_11_40_14_10053.jpg
/home/pi/Desktop/images/14122025/11/40/image_14122025_11_40_24_10673.jpg
/home/pi/Desktop/images/14122025/11/40/image_14122025_11_40_34_9645.jpg
/home/pi/Desktop/images/14122025/11/40/image_14122025_11_40_44_9831.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350460","1399350462","1399350461","1399350464","1399350463","1399350466"],"photo_ids_order":["1399350460","1399350461","1399350462","1399350463","1399350464","1399350466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7df33efaec2a3619d70adb5cea417346.jpg","text":"TemporaryFile(/tmp/multipartBody6840452199692961148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710483849,"filename":"image_14122025_11_39_45_10476.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a6c917a0e248e8fbcaa1827bfc88abd1.jpg","text":"TemporaryFile(/tmp/multipartBody2560366024544077978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710483849,"filename":"image_14122025_11_40_14_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c17d3946475b8ddfe266b0d0653ef847.jpg","text":"TemporaryFile(/tmp/multipartBody7460967569012719294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710483849,"filename":"image_14122025_11_39_54_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fdd267951a0214cd28d787afb18d86f9.jpg","text":"TemporaryFile(/tmp/multipartBody1781608744733188158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710483849,"filename":"image_14122025_11_40_34_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/803f4147da60f74825e1f68931b41e42.jpg","text":"TemporaryFile(/tmp/multipartBody5769853779536944258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710483849,"filename":"image_14122025_11_40_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/12/14/e4a681501ec1b77e98ee3e2e872f7a48.jpg","text":"TemporaryFile(/tmp/multipartBody5291150776957652160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710483849,"filename":"image_14122025_11_40_44_9831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350462","file1":"1399350461","file0":"1399350460","file4":"1399350464","file5":"1399350466","file3":"1399350463"},"map_files_photo_id_array":[{"photo_id":"1399350466","filename":"file5"},{"photo_id":"1399350462","filename":"file2"},{"photo_id":"1399350464","filename":"file4"},{"photo_id":"1399350461","filename":"file1"},{"photo_id":"1399350460","filename":"file0"},{"photo_id":"1399350463","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350460":["hashtag1","hashtag2"]},{"1399350462":["hashtag1","hashtag2"]},{"1399350461":["hashtag1","hashtag2"]},{"1399350464":["hashtag1","hashtag2"]},{"1399350463":["hashtag1","hashtag2"]},{"1399350466":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350460, 1399350462, 1399350461, 1399350464, 1399350463, 1399350466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.41709327697754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:08:02.269247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/40/image_14122025_11_40_55_10735.jpg', '/home/pi/Desktop/images/14122025/11/40/image_14122025_11_41_04_9552.jpg', '/home/pi/Desktop/images/14122025/11/41/image_14122025_11_41_14_9698.jpg', '/home/pi/Desktop/images/14122025/11/41/image_14122025_11_41_25_10635.jpg', '/home/pi/Desktop/images/14122025/11/41/image_14122025_11_41_34_9692.jpg', '/home/pi/Desktop/images/14122025/11/41/image_14122025_11_41_44_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/40/image_14122025_11_40_55_10735.jpg
/home/pi/Desktop/images/14122025/11/40/image_14122025_11_41_04_9552.jpg
/home/pi/Desktop/images/14122025/11/41/image_14122025_11_41_14_9698.jpg
/home/pi/Desktop/images/14122025/11/41/image_14122025_11_41_25_10635.jpg
/home/pi/Desktop/images/14122025/11/41/image_14122025_11_41_34_9692.jpg
/home/pi/Desktop/images/14122025/11/41/image_14122025_11_41_44_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350480","1399350474","1399350477","1399350476","1399350475","1399350478"],"photo_ids_order":["1399350474","1399350475","1399350476","1399350477","1399350478","1399350480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/043fffc7c227ac2af58633e483633845.jpg","text":"TemporaryFile(/tmp/multipartBody7771989392421518256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710542975,"filename":"image_14122025_11_41_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/40fe366a306a082984013cc085ad6cc9.jpg","text":"TemporaryFile(/tmp/multipartBody159558185005341625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710542975,"filename":"image_14122025_11_40_55_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9e8ffa2d4aa3a5d214557d6da5e77c4.jpg","text":"TemporaryFile(/tmp/multipartBody8184715616330589475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710542975,"filename":"image_14122025_11_41_25_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3be78bd256455bcad77e524ee38b193a.jpg","text":"TemporaryFile(/tmp/multipartBody5779108489750125910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710542975,"filename":"image_14122025_11_41_14_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a5af7f4e9df9d4b9c7aa5bd66744cae9.jpg","text":"TemporaryFile(/tmp/multipartBody7783351307966999855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710542975,"filename":"image_14122025_11_41_04_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/89e6fd6605531c73e4c107b35c1b0fa7.jpg","text":"TemporaryFile(/tmp/multipartBody690119076022681437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710542975,"filename":"image_14122025_11_41_34_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350476","file1":"1399350475","file0":"1399350474","file4":"1399350478","file5":"1399350480","file3":"1399350477"},"map_files_photo_id_array":[{"photo_id":"1399350480","filename":"file5"},{"photo_id":"1399350476","filename":"file2"},{"photo_id":"1399350478","filename":"file4"},{"photo_id":"1399350475","filename":"file1"},{"photo_id":"1399350474","filename":"file0"},{"photo_id":"1399350477","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350480":["hashtag1","hashtag2"]},{"1399350474":["hashtag1","hashtag2"]},{"1399350477":["hashtag1","hashtag2"]},{"1399350476":["hashtag1","hashtag2"]},{"1399350475":["hashtag1","hashtag2"]},{"1399350478":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350480, 1399350474, 1399350477, 1399350476, 1399350475, 1399350478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.212504625320435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:09:03.023081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:09:12.030260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:09:28.123357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/41/image_14122025_11_41_55_10859.jpg', '/home/pi/Desktop/images/14122025/11/41/image_14122025_11_42_05_10002.jpg', '/home/pi/Desktop/images/14122025/11/42/image_14122025_11_42_15_9831.jpg', '/home/pi/Desktop/images/14122025/11/42/image_14122025_11_42_24_9688.jpg', '/home/pi/Desktop/images/14122025/11/42/image_14122025_11_42_34_9794.jpg', '/home/pi/Desktop/images/14122025/11/42/image_14122025_11_42_44_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/41/image_14122025_11_41_55_10859.jpg
/home/pi/Desktop/images/14122025/11/41/image_14122025_11_42_05_10002.jpg
/home/pi/Desktop/images/14122025/11/42/image_14122025_11_42_15_9831.jpg
/home/pi/Desktop/images/14122025/11/42/image_14122025_11_42_24_9688.jpg
/home/pi/Desktop/images/14122025/11/42/image_14122025_11_42_34_9794.jpg
/home/pi/Desktop/images/14122025/11/42/image_14122025_11_42_44_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":["1399350492","1399350495","1399350501","1399350494","1399350493","1399350499"],"photo_ids_order":["1399350492","1399350493","1399350494","1399350495","1399350499","1399350501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d8e386121e6940a716aa0dc2a239480.jpg","text":"TemporaryFile(/tmp/multipartBody9251506898490778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710628694,"filename":"image_14122025_11_41_55_10859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a5e0b65325b4d89006fbbaef5ecef1a4.jpg","text":"TemporaryFile(/tmp/multipartBody8651648761966657575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710628694,"filename":"image_14122025_11_42_24_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f47453c961d303910a5e16442158eab.jpg","text":"TemporaryFile(/tmp/multipartBody7079182868587524970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710628694,"filename":"image_14122025_11_42_44_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ec59408fbeee7ce60b66e52ab598696f.jpg","text":"TemporaryFile(/tmp/multipartBody5280604521674600067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710628694,"filename":"image_14122025_11_42_15_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c95a6e90d6aeee46feb035338652a41.jpg","text":"TemporaryFile(/tmp/multipartBody7079262326967075922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710628694,"filename":"image_14122025_11_42_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/12/14/c063f7b42bbd5ac994e9e37b189c6168.jpg","text":"TemporaryFile(/tmp/multipartBody2280669367150718865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710628694,"filename":"image_14122025_11_42_34_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350494","file1":"1399350493","file0":"1399350492","file4":"1399350499","file5":"1399350501","file3":"1399350495"},"map_files_photo_id_array":[{"photo_id":"1399350501","filename":"file5"},{"photo_id":"1399350494","filename":"file2"},{"photo_id":"1399350499","filename":"file4"},{"photo_id":"1399350493","filename":"file1"},{"photo_id":"1399350492","filename":"file0"},{"photo_id":"1399350495","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350492":["hashtag1","hashtag2"]},{"1399350495":["hashtag1","hashtag2"]},{"1399350501":["hashtag1","hashtag2"]},{"1399350494":["hashtag1","hashtag2"]},{"1399350493":["hashtag1","hashtag2"]},{"1399350499":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350492, 1399350495, 1399350501, 1399350494, 1399350493, 1399350499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.18987488746643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:10:14.866246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:10:22.208937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/42/image_14122025_11_42_54_10663.jpg', '/home/pi/Desktop/images/14122025/11/42/image_14122025_11_43_04_9909.jpg', '/home/pi/Desktop/images/14122025/11/43/image_14122025_11_43_14_9845.jpg', '/home/pi/Desktop/images/14122025/11/43/image_14122025_11_43_24_9681.jpg', '/home/pi/Desktop/images/14122025/11/43/image_14122025_11_43_35_10831.jpg', '/home/pi/Desktop/images/14122025/11/43/image_14122025_11_43_44_9486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/42/image_14122025_11_42_54_10663.jpg
/home/pi/Desktop/images/14122025/11/42/image_14122025_11_43_04_9909.jpg
/home/pi/Desktop/images/14122025/11/43/image_14122025_11_43_14_9845.jpg
/home/pi/Desktop/images/14122025/11/43/image_14122025_11_43_24_9681.jpg
/home/pi/Desktop/images/14122025/11/43/image_14122025_11_43_35_10831.jpg
/home/pi/Desktop/images/14122025/11/43/image_14122025_11_43_44_9486.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350511","1399350514","1399350508","1399350510","1399350507","1399350509"],"photo_ids_order":["1399350507","1399350508","1399350509","1399350510","1399350511","1399350514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8e2165cb663412786f260430e0c66f37.jpg","text":"TemporaryFile(/tmp/multipartBody8083359205292951423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710682778,"filename":"image_14122025_11_43_35_10831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/572106d51ad6648b1c190f4b4dddc5d0.jpg","text":"TemporaryFile(/tmp/multipartBody3897506511600292701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710682778,"filename":"image_14122025_11_43_44_9486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd043e162ebf6f76c5e352e08b2bb227.jpg","text":"TemporaryFile(/tmp/multipartBody8978011427900168313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710682778,"filename":"image_14122025_11_43_04_9909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/641ca0293d795ba029ac2c0db45352f1.jpg","text":"TemporaryFile(/tmp/multipartBody2709324508536317409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710682778,"filename":"image_14122025_11_43_24_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f8a8f93a97843baa5e7a912b0439fb2b.jpg","text":"TemporaryFile(/tmp/multipartBody6817341361232562849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710682778,"filename":"image_14122025_11_42_54_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9e50b0514f8a619ea95fa05e1c43b925.jpg","text":"TemporaryFile(/tmp/multipartBody8130118007388493351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710682778,"filename":"image_14122025_11_43_14_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350509","file1":"1399350508","file0":"1399350507","file4":"1399350511","file5":"1399350514","file3":"1399350510"},"map_files_photo_id_array":[{"photo_id":"1399350514","filename":"file5"},{"photo_id":"1399350509","filename":"file2"},{"photo_id":"1399350511","filename":"file4"},{"photo_id":"1399350508","filename":"file1"},{"photo_id":"1399350507","filename":"file0"},{"photo_id":"1399350510","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350511":["hashtag1","hashtag2"]},{"1399350514":["hashtag1","hashtag2"]},{"1399350508":["hashtag1","hashtag2"]},{"1399350510":["hashtag1","hashtag2"]},{"1399350507":["hashtag1","hashtag2"]},{"1399350509":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350511, 1399350514, 1399350508, 1399350510, 1399350507, 1399350509)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.40927863121033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:11:12.384428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:11:22.468155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/43/image_14122025_11_43_54_9718.jpg', '/home/pi/Desktop/images/14122025/11/43/image_14122025_11_44_05_10731.jpg', '/home/pi/Desktop/images/14122025/11/44/image_14122025_11_44_14_9595.jpg', '/home/pi/Desktop/images/14122025/11/44/image_14122025_11_44_24_9855.jpg', '/home/pi/Desktop/images/14122025/11/44/image_14122025_11_44_34_10133.jpg', '/home/pi/Desktop/images/14122025/11/44/image_14122025_11_44_44_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/43/image_14122025_11_43_54_9718.jpg
/home/pi/Desktop/images/14122025/11/43/image_14122025_11_44_05_10731.jpg
/home/pi/Desktop/images/14122025/11/44/image_14122025_11_44_14_9595.jpg
/home/pi/Desktop/images/14122025/11/44/image_14122025_11_44_24_9855.jpg
/home/pi/Desktop/images/14122025/11/44/image_14122025_11_44_34_10133.jpg
/home/pi/Desktop/images/14122025/11/44/image_14122025_11_44_44_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350532","1399350526","1399350520","1399350522","1399350528","1399350524"],"photo_ids_order":["1399350520","1399350522","1399350524","1399350526","1399350528","1399350532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be612b2aa17f5e347b68f93c3c72a550.jpg","text":"TemporaryFile(/tmp/multipartBody1493403253037269942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710743105,"filename":"image_14122025_11_44_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/12/14/e58c7ce88ed65541418f627245aa37ac.jpg","text":"TemporaryFile(/tmp/multipartBody2506295608572909318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710743105,"filename":"image_14122025_11_44_24_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63cbef15d55917cabc38882ccdd10063.jpg","text":"TemporaryFile(/tmp/multipartBody2990215419622917994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710743105,"filename":"image_14122025_11_43_54_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/733b7d4448122263ff42ad8e0533edd4.jpg","text":"TemporaryFile(/tmp/multipartBody494744650381269905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710743105,"filename":"image_14122025_11_44_05_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/99ba136a6d65467c2ebc7dcd4002ef6a.jpg","text":"TemporaryFile(/tmp/multipartBody2857152663250885469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710743105,"filename":"image_14122025_11_44_34_10133.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63320b73010def6fa7d272fe91e6e0d4.jpg","text":"TemporaryFile(/tmp/multipartBody5070625212032408093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710743105,"filename":"image_14122025_11_44_14_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350524","file1":"1399350522","file0":"1399350520","file4":"1399350528","file5":"1399350532","file3":"1399350526"},"map_files_photo_id_array":[{"photo_id":"1399350532","filename":"file5"},{"photo_id":"1399350524","filename":"file2"},{"photo_id":"1399350528","filename":"file4"},{"photo_id":"1399350522","filename":"file1"},{"photo_id":"1399350520","filename":"file0"},{"photo_id":"1399350526","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350532":["hashtag1","hashtag2"]},{"1399350526":["hashtag1","hashtag2"]},{"1399350520":["hashtag1","hashtag2"]},{"1399350522":["hashtag1","hashtag2"]},{"1399350528":["hashtag1","hashtag2"]},{"1399350524":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350532, 1399350526, 1399350520, 1399350522, 1399350528, 1399350524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.683478593826294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:12:03.210368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/44/image_14122025_11_44_54_10527.jpg', '/home/pi/Desktop/images/14122025/11/46/image_14122025_11_46_14_10037.jpg', '/home/pi/Desktop/images/14122025/11/46/image_14122025_11_46_25_10708.jpg', '/home/pi/Desktop/images/14122025/11/46/image_14122025_11_46_35_10150.jpg', '/home/pi/Desktop/images/14122025/11/46/image_14122025_11_46_45_9907.jpg', '/home/pi/Desktop/images/14122025/11/46/image_14122025_11_46_54_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/44/image_14122025_11_44_54_10527.jpg
/home/pi/Desktop/images/14122025/11/46/image_14122025_11_46_14_10037.jpg
/home/pi/Desktop/images/14122025/11/46/image_14122025_11_46_25_10708.jpg
/home/pi/Desktop/images/14122025/11/46/image_14122025_11_46_35_10150.jpg
/home/pi/Desktop/images/14122025/11/46/image_14122025_11_46_45_9907.jpg
/home/pi/Desktop/images/14122025/11/46/image_14122025_11_46_54_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350535","1399350537","1399350534","1399350533","1399350536","1399350539"],"photo_ids_order":["1399350533","1399350534","1399350535","1399350536","1399350537","1399350539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/20a407541aa1693eeeff704864ee09f9.jpg","text":"TemporaryFile(/tmp/multipartBody6107762267419437642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710783862,"filename":"image_14122025_11_46_25_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f342e0965c76588acf4a478c6bc6e69c.jpg","text":"TemporaryFile(/tmp/multipartBody8275204505136825542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710783862,"filename":"image_14122025_11_46_45_9907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/609d22c8643af65a2db71df23d8f0936.jpg","text":"TemporaryFile(/tmp/multipartBody2570780408728865271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710783862,"filename":"image_14122025_11_46_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/50e074e64fdc972da50d7ec5821b11dc.jpg","text":"TemporaryFile(/tmp/multipartBody286321033698702757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710783862,"filename":"image_14122025_11_44_54_10527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b8e1892039e4c8d889de720758056881.jpg","text":"TemporaryFile(/tmp/multipartBody5834541105245402710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710783862,"filename":"image_14122025_11_46_35_10150.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2e5e25a21e7c10896a40f8f66e350149.jpg","text":"TemporaryFile(/tmp/multipartBody8345085045697444556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710783862,"filename":"image_14122025_11_46_54_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350535","file1":"1399350534","file0":"1399350533","file4":"1399350537","file5":"1399350539","file3":"1399350536"},"map_files_photo_id_array":[{"photo_id":"1399350539","filename":"file5"},{"photo_id":"1399350535","filename":"file2"},{"photo_id":"1399350537","filename":"file4"},{"photo_id":"1399350534","filename":"file1"},{"photo_id":"1399350533","filename":"file0"},{"photo_id":"1399350536","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350535":["hashtag1","hashtag2"]},{"1399350537":["hashtag1","hashtag2"]},{"1399350534":["hashtag1","hashtag2"]},{"1399350533":["hashtag1","hashtag2"]},{"1399350536":["hashtag1","hashtag2"]},{"1399350539":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350535, 1399350537, 1399350534, 1399350533, 1399350536, 1399350539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82375907897949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:13:02.572759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/46/image_14122025_11_47_04_9713.jpg', '/home/pi/Desktop/images/14122025/11/47/image_14122025_11_47_15_10630.jpg', '/home/pi/Desktop/images/14122025/11/47/image_14122025_11_47_24_9630.jpg', '/home/pi/Desktop/images/14122025/11/47/image_14122025_11_47_35_10576.jpg', '/home/pi/Desktop/images/14122025/11/47/image_14122025_11_47_44_9612.jpg', '/home/pi/Desktop/images/14122025/11/47/image_14122025_11_47_54_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/46/image_14122025_11_47_04_9713.jpg
/home/pi/Desktop/images/14122025/11/47/image_14122025_11_47_15_10630.jpg
/home/pi/Desktop/images/14122025/11/47/image_14122025_11_47_24_9630.jpg
/home/pi/Desktop/images/14122025/11/47/image_14122025_11_47_35_10576.jpg
/home/pi/Desktop/images/14122025/11/47/image_14122025_11_47_44_9612.jpg
/home/pi/Desktop/images/14122025/11/47/image_14122025_11_47_54_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350553","1399350558","1399350551","1399350554","1399350556","1399350550"],"photo_ids_order":["1399350550","1399350551","1399350553","1399350554","1399350556","1399350558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e4adebf4bc7b73c88210239915ad86a2.jpg","text":"TemporaryFile(/tmp/multipartBody5996970786110332099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710843263,"filename":"image_14122025_11_47_24_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f7d1bfa1d071929939df754b1795eae.jpg","text":"TemporaryFile(/tmp/multipartBody2740180919718302535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710843263,"filename":"image_14122025_11_47_54_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/861dae52f20778adf7594b0cc5686ed3.jpg","text":"TemporaryFile(/tmp/multipartBody4308705218009906499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710843263,"filename":"image_14122025_11_47_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/68d65998e0090c27ef646566d15e07b7.jpg","text":"TemporaryFile(/tmp/multipartBody4237986693149302463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710843263,"filename":"image_14122025_11_47_35_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f66a6d77c7d6f92461f00b1cd1b62004.jpg","text":"TemporaryFile(/tmp/multipartBody7093916044225964757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710843263,"filename":"image_14122025_11_47_44_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/03f9e141a31a16ec9bb3ff007afca3bc.jpg","text":"TemporaryFile(/tmp/multipartBody7717283148768027101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710843263,"filename":"image_14122025_11_47_04_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350553","file1":"1399350551","file0":"1399350550","file4":"1399350556","file5":"1399350558","file3":"1399350554"},"map_files_photo_id_array":[{"photo_id":"1399350558","filename":"file5"},{"photo_id":"1399350553","filename":"file2"},{"photo_id":"1399350556","filename":"file4"},{"photo_id":"1399350551","filename":"file1"},{"photo_id":"1399350550","filename":"file0"},{"photo_id":"1399350554","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350553":["hashtag1","hashtag2"]},{"1399350558":["hashtag1","hashtag2"]},{"1399350551":["hashtag1","hashtag2"]},{"1399350554":["hashtag1","hashtag2"]},{"1399350556":["hashtag1","hashtag2"]},{"1399350550":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350553, 1399350558, 1399350551, 1399350554, 1399350556, 1399350550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.098878622055054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:14:02.831513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/47/image_14122025_11_48_05_10661.jpg', '/home/pi/Desktop/images/14122025/11/48/image_14122025_11_48_15_9737.jpg', '/home/pi/Desktop/images/14122025/11/48/image_14122025_11_48_34_9809.jpg', '/home/pi/Desktop/images/14122025/11/48/image_14122025_11_48_45_10604.jpg', '/home/pi/Desktop/images/14122025/11/48/image_14122025_11_48_54_9686.jpg', '/home/pi/Desktop/images/14122025/11/48/image_14122025_11_49_05_10286.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/47/image_14122025_11_48_05_10661.jpg
/home/pi/Desktop/images/14122025/11/48/image_14122025_11_48_15_9737.jpg
/home/pi/Desktop/images/14122025/11/48/image_14122025_11_48_34_9809.jpg
/home/pi/Desktop/images/14122025/11/48/image_14122025_11_48_45_10604.jpg
/home/pi/Desktop/images/14122025/11/48/image_14122025_11_48_54_9686.jpg
/home/pi/Desktop/images/14122025/11/48/image_14122025_11_49_05_10286.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350567","1399350570","1399350564","1399350575","1399350569","1399350571"],"photo_ids_order":["1399350564","1399350567","1399350569","1399350570","1399350571","1399350575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db2067a2f9b05321f0cb9a523562d7f8.jpg","text":"TemporaryFile(/tmp/multipartBody3067331245703587525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710903518,"filename":"image_14122025_11_48_15_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ded9a58d26deb70a8b373ce2fbd1231b.jpg","text":"TemporaryFile(/tmp/multipartBody7303470336695458997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710903518,"filename":"image_14122025_11_48_45_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6805d66306c2f273bf8aa867c9f307aa.jpg","text":"TemporaryFile(/tmp/multipartBody152193239771036280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710903518,"filename":"image_14122025_11_48_05_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fffa3ae39fba4be7dd5eb1ed87478d46.jpg","text":"TemporaryFile(/tmp/multipartBody1453681736940768749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710903518,"filename":"image_14122025_11_49_05_10286.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c5db0420a41de95cf01ac073338cc61b.jpg","text":"TemporaryFile(/tmp/multipartBody4803510098486815287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710903518,"filename":"image_14122025_11_48_34_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a11b6c2bb8dc3fd45d59d869d89dfcc6.jpg","text":"TemporaryFile(/tmp/multipartBody7956941066331118109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710903518,"filename":"image_14122025_11_48_54_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350569","file1":"1399350567","file0":"1399350564","file4":"1399350571","file5":"1399350575","file3":"1399350570"},"map_files_photo_id_array":[{"photo_id":"1399350575","filename":"file5"},{"photo_id":"1399350569","filename":"file2"},{"photo_id":"1399350571","filename":"file4"},{"photo_id":"1399350567","filename":"file1"},{"photo_id":"1399350564","filename":"file0"},{"photo_id":"1399350570","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350567":["hashtag1","hashtag2"]},{"1399350570":["hashtag1","hashtag2"]},{"1399350564":["hashtag1","hashtag2"]},{"1399350575":["hashtag1","hashtag2"]},{"1399350569":["hashtag1","hashtag2"]},{"1399350571":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350567, 1399350570, 1399350564, 1399350575, 1399350569, 1399350571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09031844139099 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:15:02.932551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/49/image_14122025_11_49_14_9646.jpg', '/home/pi/Desktop/images/14122025/11/49/image_14122025_11_49_24_9726.jpg', '/home/pi/Desktop/images/14122025/11/49/image_14122025_11_49_35_10652.jpg', '/home/pi/Desktop/images/14122025/11/49/image_14122025_11_49_44_9731.jpg', '/home/pi/Desktop/images/14122025/11/49/image_14122025_11_49_54_9716.jpg', '/home/pi/Desktop/images/14122025/11/50/image_14122025_11_50_14_10138.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/49/image_14122025_11_49_14_9646.jpg
/home/pi/Desktop/images/14122025/11/49/image_14122025_11_49_24_9726.jpg
/home/pi/Desktop/images/14122025/11/49/image_14122025_11_49_35_10652.jpg
/home/pi/Desktop/images/14122025/11/49/image_14122025_11_49_44_9731.jpg
/home/pi/Desktop/images/14122025/11/49/image_14122025_11_49_54_9716.jpg
/home/pi/Desktop/images/14122025/11/50/image_14122025_11_50_14_10138.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350585","1399350588","1399350582","1399350581","1399350584","1399350583"],"photo_ids_order":["1399350581","1399350582","1399350583","1399350584","1399350585","1399350588"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f54dd250eb2681499ef8eddeb6ec5422.jpg","text":"TemporaryFile(/tmp/multipartBody3220948475760010427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710963617,"filename":"image_14122025_11_49_54_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ff12a9d2b4abd7b4713e4571eb9a74a.jpg","text":"TemporaryFile(/tmp/multipartBody6844110265091244264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710963617,"filename":"image_14122025_11_50_14_10138.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/130b792cea93d66a2c9d5730f4ed1348.jpg","text":"TemporaryFile(/tmp/multipartBody8960577118933614608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710963617,"filename":"image_14122025_11_49_24_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/66ef3eeb10db346c5ea0cb5d2fc47324.jpg","text":"TemporaryFile(/tmp/multipartBody3048579872199338936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710963617,"filename":"image_14122025_11_49_14_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/818474bd2fd6f7d6789d68e43d4f4fee.jpg","text":"TemporaryFile(/tmp/multipartBody5522318633585756244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710963617,"filename":"image_14122025_11_49_44_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/661c9afc3c323c1e0434677c36bc5362.jpg","text":"TemporaryFile(/tmp/multipartBody3081302043125850837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765710963617,"filename":"image_14122025_11_49_35_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350583","file1":"1399350582","file0":"1399350581","file4":"1399350585","file5":"1399350588","file3":"1399350584"},"map_files_photo_id_array":[{"photo_id":"1399350588","filename":"file5"},{"photo_id":"1399350583","filename":"file2"},{"photo_id":"1399350585","filename":"file4"},{"photo_id":"1399350582","filename":"file1"},{"photo_id":"1399350581","filename":"file0"},{"photo_id":"1399350584","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350585":["hashtag1","hashtag2"]},{"1399350588":["hashtag1","hashtag2"]},{"1399350582":["hashtag1","hashtag2"]},{"1399350581":["hashtag1","hashtag2"]},{"1399350584":["hashtag1","hashtag2"]},{"1399350583":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350585, 1399350588, 1399350582, 1399350581, 1399350584, 1399350583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77470660209656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:15:42.416913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_44_1625.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_45_1632.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_57_12015.jpg', '/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_59_1634.jpg', '/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_07_3011.jpg', '/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_10_3678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_44_1625.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_45_1632.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_57_12015.jpg
/home/pi/Desktop/images/04112025/12/59/image_04112025_12_59_59_1634.jpg
/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_07_3011.jpg
/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_10_3678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350597","1399350600","1399350599","1399350592","1399350595","1399350598"],"photo_ids_order":["1399350592","1399350595","1399350597","1399350598","1399350599","1399350600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/09f5ba2fb6b76cec789e4cd3a4f74fe6.jpg","text":"TemporaryFile(/tmp/multipartBody6847090975025987591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711003012,"filename":"image_04112025_12_59_57_12015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9d29b6a118202937d7de01ccc7e33f9.jpg","text":"TemporaryFile(/tmp/multipartBody385109832362371813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711003012,"filename":"image_04112025_13_01_10_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a72bc65526066af948008ad46cbde072.jpg","text":"TemporaryFile(/tmp/multipartBody4232991413768066156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711003012,"filename":"image_04112025_13_01_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/10e35c36546cd07863982eb4e8003f47.jpg","text":"TemporaryFile(/tmp/multipartBody6176369552453277725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711003012,"filename":"image_04112025_12_59_44_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3c2ddb9b7b882131674b02e6553c5dbb.jpg","text":"TemporaryFile(/tmp/multipartBody4570386564091721636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711003012,"filename":"image_04112025_12_59_45_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/535bccc83cfa31d51f437cfdd462bc0b.jpg","text":"TemporaryFile(/tmp/multipartBody3478256977699455948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711003012,"filename":"image_04112025_12_59_59_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350597","file1":"1399350595","file0":"1399350592","file4":"1399350599","file5":"1399350600","file3":"1399350598"},"map_files_photo_id_array":[{"photo_id":"1399350600","filename":"file5"},{"photo_id":"1399350597","filename":"file2"},{"photo_id":"1399350599","filename":"file4"},{"photo_id":"1399350595","filename":"file1"},{"photo_id":"1399350592","filename":"file0"},{"photo_id":"1399350598","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399350597":["hashtag1","hashtag2"]},{"1399350600":["hashtag1","hashtag2"]},{"1399350599":["hashtag1","hashtag2"]},{"1399350592":["hashtag1","hashtag2"]},{"1399350595":["hashtag1","hashtag2"]},{"1399350598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399350597, 1399350600, 1399350599, 1399350592, 1399350595, 1399350598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.991907596588135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:16:22.688899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/50/image_14122025_11_50_25_10694.jpg', '/home/pi/Desktop/images/14122025/11/50/image_14122025_11_50_35_10315.jpg', '/home/pi/Desktop/images/14122025/11/50/image_14122025_11_50_45_9581.jpg', '/home/pi/Desktop/images/14122025/11/50/image_14122025_11_50_54_9654.jpg', '/home/pi/Desktop/images/14122025/11/50/image_14122025_11_51_04_9807.jpg', '/home/pi/Desktop/images/14122025/11/51/image_14122025_11_51_15_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/50/image_14122025_11_50_25_10694.jpg
/home/pi/Desktop/images/14122025/11/50/image_14122025_11_50_35_10315.jpg
/home/pi/Desktop/images/14122025/11/50/image_14122025_11_50_45_9581.jpg
/home/pi/Desktop/images/14122025/11/50/image_14122025_11_50_54_9654.jpg
/home/pi/Desktop/images/14122025/11/50/image_14122025_11_51_04_9807.jpg
/home/pi/Desktop/images/14122025/11/51/image_14122025_11_51_15_10674.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5624451637268066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:16:32.791045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:16:42.707976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_13_2516.jpg', '/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_16_3621.jpg', '/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_22_5313.jpg', '/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_23_1588.jpg', '/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_25_1589.jpg', '/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_28_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_13_2516.jpg
/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_16_3621.jpg
/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_22_5313.jpg
/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_23_1588.jpg
/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_25_1589.jpg
/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_28_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":["1399350610","1399350613","1399350616","1399350618","1399350615","1399350620"],"photo_ids_order":["1399350610","1399350613","1399350615","1399350616","1399350618","1399350620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/67035d14475a35207245c056493def67.jpg","text":"TemporaryFile(/tmp/multipartBody4003292625941635825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711063385,"filename":"image_04112025_13_01_13_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/87018b2dd75d9e1c36b71bc71e5cc0f0.jpg","text":"TemporaryFile(/tmp/multipartBody5363759214890186618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711063385,"filename":"image_04112025_13_01_16_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5fc05ed8bae2b0112cdcfa6955d8c934.jpg","text":"TemporaryFile(/tmp/multipartBody5608725229081848682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711063385,"filename":"image_04112025_13_01_23_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2df812d7bcc6817ebe9e11dc2dce7b8b.jpg","text":"TemporaryFile(/tmp/multipartBody5136900038236281331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711063385,"filename":"image_04112025_13_01_25_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7c12b93dc43b99dc94f247b3ce1230b2.jpg","text":"TemporaryFile(/tmp/multipartBody2976393205076044220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711063385,"filename":"image_04112025_13_01_22_5313.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6211a5e90719e32cc25fe6d320408b3c.jpg","text":"TemporaryFile(/tmp/multipartBody6324341264760312067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711063385,"filename":"image_04112025_13_01_28_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350615","file1":"1399350613","file0":"1399350610","file4":"1399350618","file5":"1399350620","file3":"1399350616"},"map_files_photo_id_array":[{"photo_id":"1399350620","filename":"file5"},{"photo_id":"1399350615","filename":"file2"},{"photo_id":"1399350618","filename":"file4"},{"photo_id":"1399350613","filename":"file1"},{"photo_id":"1399350610","filename":"file0"},{"photo_id":"1399350616","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399350610":["hashtag1","hashtag2"]},{"1399350613":["hashtag1","hashtag2"]},{"1399350616":["hashtag1","hashtag2"]},{"1399350618":["hashtag1","hashtag2"]},{"1399350615":["hashtag1","hashtag2"]},{"1399350620":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399350610, 1399350613, 1399350616, 1399350618, 1399350615, 1399350620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.05898141860962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:17:31.980395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:17:41.976321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_31_3637.jpg', '/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_34_2618.jpg', '/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_57_22730.jpg', '/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_58_1604.jpg', '/home/pi/Desktop/images/04112025/13/01/image_04112025_13_02_00_1731.jpg', '/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_02_1554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_31_3637.jpg
/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_34_2618.jpg
/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_57_22730.jpg
/home/pi/Desktop/images/04112025/13/01/image_04112025_13_01_58_1604.jpg
/home/pi/Desktop/images/04112025/13/01/image_04112025_13_02_00_1731.jpg
/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_02_1554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350631","1399350628","1399350630","1399350632","1399350626","1399350629"],"photo_ids_order":["1399350626","1399350628","1399350629","1399350630","1399350631","1399350632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/facba50da3ebaa58771cb6b54d927c49.jpg","text":"TemporaryFile(/tmp/multipartBody9197946255966362026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711122652,"filename":"image_04112025_13_02_00_1731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a885d5129bc8067ef969220986f4c0a3.jpg","text":"TemporaryFile(/tmp/multipartBody356515699358771158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711122652,"filename":"image_04112025_13_01_34_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aae0d2052752a220a4db843e4cb4b96a.jpg","text":"TemporaryFile(/tmp/multipartBody8150188526398320693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711122652,"filename":"image_04112025_13_01_58_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bc0f25656e732fd8ecf019a206fd2d08.jpg","text":"TemporaryFile(/tmp/multipartBody6623738912263284426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711122652,"filename":"image_04112025_13_02_02_1554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/84c64b078583089e561a09d057d56049.jpg","text":"TemporaryFile(/tmp/multipartBody5170297278598821554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711122652,"filename":"image_04112025_13_01_31_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19e03c57f12229bd2c68ba6d14888c13.jpg","text":"TemporaryFile(/tmp/multipartBody7551952810052484964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711122652,"filename":"image_04112025_13_01_57_22730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350629","file1":"1399350628","file0":"1399350626","file4":"1399350631","file5":"1399350632","file3":"1399350630"},"map_files_photo_id_array":[{"photo_id":"1399350632","filename":"file5"},{"photo_id":"1399350629","filename":"file2"},{"photo_id":"1399350631","filename":"file4"},{"photo_id":"1399350628","filename":"file1"},{"photo_id":"1399350626","filename":"file0"},{"photo_id":"1399350630","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399350631":["hashtag1","hashtag2"]},{"1399350628":["hashtag1","hashtag2"]},{"1399350630":["hashtag1","hashtag2"]},{"1399350632":["hashtag1","hashtag2"]},{"1399350626":["hashtag1","hashtag2"]},{"1399350629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399350631, 1399350628, 1399350630, 1399350632, 1399350626, 1399350629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.08863854408264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:18:32.260480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:18:42.197628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_03_1740.jpg', '/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_05_1739.jpg', '/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_07_1540.jpg', '/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_08_1623.jpg', '/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_10_1700.jpg', '/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_12_1546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_03_1740.jpg
/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_05_1739.jpg
/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_07_1540.jpg
/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_08_1623.jpg
/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_10_1700.jpg
/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_12_1546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350649","1399350645","1399350644","1399350647","1399350641","1399350638"],"photo_ids_order":["1399350638","1399350641","1399350644","1399350645","1399350647","1399350649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ebfe685090e12fcbfc3714e34e86dfd.jpg","text":"TemporaryFile(/tmp/multipartBody323642807686242700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711182930,"filename":"image_04112025_13_02_12_1546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7335c9d8adfec4ca389e90997ea6f4c6.jpg","text":"TemporaryFile(/tmp/multipartBody6986421713295561649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711182930,"filename":"image_04112025_13_02_08_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/37610790ed1660756d265fec8abc9855.jpg","text":"TemporaryFile(/tmp/multipartBody9180007558648684680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711182930,"filename":"image_04112025_13_02_07_1540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/adfa8965466ba6f7a04559b7f8f23da3.jpg","text":"TemporaryFile(/tmp/multipartBody5343725876088319803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711182930,"filename":"image_04112025_13_02_10_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d37a3d483fa1eb98dff532ff3268034.jpg","text":"TemporaryFile(/tmp/multipartBody1032943003785997248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711182930,"filename":"image_04112025_13_02_05_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/df6411706e0be23ad5b8b3eb60d11d1d.jpg","text":"TemporaryFile(/tmp/multipartBody9092456004341365913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711182930,"filename":"image_04112025_13_02_03_1740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350644","file1":"1399350641","file0":"1399350638","file4":"1399350647","file5":"1399350649","file3":"1399350645"},"map_files_photo_id_array":[{"photo_id":"1399350649","filename":"file5"},{"photo_id":"1399350644","filename":"file2"},{"photo_id":"1399350647","filename":"file4"},{"photo_id":"1399350641","filename":"file1"},{"photo_id":"1399350638","filename":"file0"},{"photo_id":"1399350645","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399350649":["hashtag1","hashtag2"]},{"1399350645":["hashtag1","hashtag2"]},{"1399350644":["hashtag1","hashtag2"]},{"1399350647":["hashtag1","hashtag2"]},{"1399350641":["hashtag1","hashtag2"]},{"1399350638":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399350649, 1399350645, 1399350644, 1399350647, 1399350641, 1399350638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11231470108032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:19:22.515871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/50/image_14122025_11_50_25_10694.jpg', '/home/pi/Desktop/images/14122025/11/50/image_14122025_11_50_35_10315.jpg', '/home/pi/Desktop/images/14122025/11/50/image_14122025_11_50_45_9581.jpg', '/home/pi/Desktop/images/14122025/11/50/image_14122025_11_50_54_9654.jpg', '/home/pi/Desktop/images/14122025/11/50/image_14122025_11_51_04_9807.jpg', '/home/pi/Desktop/images/14122025/11/51/image_14122025_11_51_15_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/50/image_14122025_11_50_25_10694.jpg
/home/pi/Desktop/images/14122025/11/50/image_14122025_11_50_35_10315.jpg
/home/pi/Desktop/images/14122025/11/50/image_14122025_11_50_45_9581.jpg
/home/pi/Desktop/images/14122025/11/50/image_14122025_11_50_54_9654.jpg
/home/pi/Desktop/images/14122025/11/50/image_14122025_11_51_04_9807.jpg
/home/pi/Desktop/images/14122025/11/51/image_14122025_11_51_15_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350652","1399350654","1399350657","1399350651","1399350653","1399350655"],"photo_ids_order":["1399350651","1399350652","1399350653","1399350654","1399350655","1399350657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0cb69cf751547e7dfb2e40337431177b.jpg","text":"TemporaryFile(/tmp/multipartBody8674888911027116987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711223197,"filename":"image_14122025_11_50_35_10315.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/33866a6fa6e5ffe182453087156792bd.jpg","text":"TemporaryFile(/tmp/multipartBody7199946135608963682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711223197,"filename":"image_14122025_11_50_54_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3529648ea446813190e0fcfeb7dc858e.jpg","text":"TemporaryFile(/tmp/multipartBody6955023211101863227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711223197,"filename":"image_14122025_11_51_15_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b8c300db0d6ceb72f06f2c24c6d2cb6c.jpg","text":"TemporaryFile(/tmp/multipartBody3002590454068379383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711223197,"filename":"image_14122025_11_50_25_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1fca33fcc81930ee327d267c8f60bc7b.jpg","text":"TemporaryFile(/tmp/multipartBody3374480575977584872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711223197,"filename":"image_14122025_11_50_45_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/11764aee469836cd1f40bab46fc178fd.jpg","text":"TemporaryFile(/tmp/multipartBody8033264458842881132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711223197,"filename":"image_14122025_11_51_04_9807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350653","file1":"1399350652","file0":"1399350651","file4":"1399350655","file5":"1399350657","file3":"1399350654"},"map_files_photo_id_array":[{"photo_id":"1399350657","filename":"file5"},{"photo_id":"1399350653","filename":"file2"},{"photo_id":"1399350655","filename":"file4"},{"photo_id":"1399350652","filename":"file1"},{"photo_id":"1399350651","filename":"file0"},{"photo_id":"1399350654","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350652":["hashtag1","hashtag2"]},{"1399350654":["hashtag1","hashtag2"]},{"1399350657":["hashtag1","hashtag2"]},{"1399350651":["hashtag1","hashtag2"]},{"1399350653":["hashtag1","hashtag2"]},{"1399350655":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350652, 1399350654, 1399350657, 1399350651, 1399350653, 1399350655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76067662239075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:20:03.212202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/51/image_14122025_11_51_25_9925.jpg', '/home/pi/Desktop/images/14122025/11/51/image_14122025_11_51_35_9750.jpg', '/home/pi/Desktop/images/14122025/11/51/image_14122025_11_51_44_9698.jpg', '/home/pi/Desktop/images/14122025/11/51/image_14122025_11_51_55_10738.jpg', '/home/pi/Desktop/images/14122025/11/51/image_14122025_11_52_05_9597.jpg', '/home/pi/Desktop/images/14122025/11/52/image_14122025_11_52_14_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/51/image_14122025_11_51_25_9925.jpg
/home/pi/Desktop/images/14122025/11/51/image_14122025_11_51_35_9750.jpg
/home/pi/Desktop/images/14122025/11/51/image_14122025_11_51_44_9698.jpg
/home/pi/Desktop/images/14122025/11/51/image_14122025_11_51_55_10738.jpg
/home/pi/Desktop/images/14122025/11/51/image_14122025_11_52_05_9597.jpg
/home/pi/Desktop/images/14122025/11/52/image_14122025_11_52_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":["1399350666","1399350669","1399350663","1399350671","1399350668","1399350670"],"photo_ids_order":["1399350663","1399350666","1399350668","1399350669","1399350670","1399350671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1bb790220ae6dfe45e296db1e6c6dd2.jpg","text":"TemporaryFile(/tmp/multipartBody7313393422361591452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711263859,"filename":"image_14122025_11_51_35_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1800a31c93192d68a51cac6e1f7177c0.jpg","text":"TemporaryFile(/tmp/multipartBody8100420987928947686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711263859,"filename":"image_14122025_11_51_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/12/14/b76a39208b08bf0aef6447833e8a23aa.jpg","text":"TemporaryFile(/tmp/multipartBody9144057155924635131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711263859,"filename":"image_14122025_11_51_25_9925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d3aa434b49930ffc14f1b23b8c07e24.jpg","text":"TemporaryFile(/tmp/multipartBody780080003660152801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711263859,"filename":"image_14122025_11_52_14_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/242d24b609ab7ffacfd0e591ed57cfc3.jpg","text":"TemporaryFile(/tmp/multipartBody4198824890249579403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711263859,"filename":"image_14122025_11_51_44_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f278d81e67761c3a0c91136402f2cbbb.jpg","text":"TemporaryFile(/tmp/multipartBody5133157492667981469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711263859,"filename":"image_14122025_11_52_05_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350668","file1":"1399350666","file0":"1399350663","file4":"1399350670","file5":"1399350671","file3":"1399350669"},"map_files_photo_id_array":[{"photo_id":"1399350671","filename":"file5"},{"photo_id":"1399350668","filename":"file2"},{"photo_id":"1399350670","filename":"file4"},{"photo_id":"1399350666","filename":"file1"},{"photo_id":"1399350663","filename":"file0"},{"photo_id":"1399350669","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350666":["hashtag1","hashtag2"]},{"1399350669":["hashtag1","hashtag2"]},{"1399350663":["hashtag1","hashtag2"]},{"1399350671":["hashtag1","hashtag2"]},{"1399350668":["hashtag1","hashtag2"]},{"1399350670":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350666, 1399350669, 1399350663, 1399350671, 1399350668, 1399350670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3242621421814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:20:42.673910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_13_1639.jpg', '/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_15_1760.jpg', '/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_17_1660.jpg', '/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_27_10478.jpg', '/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_29_1562.jpg', '/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_30_1838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_13_1639.jpg
/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_15_1760.jpg
/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_17_1660.jpg
/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_27_10478.jpg
/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_29_1562.jpg
/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_30_1838.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5724632740020752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:21:02.698681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/52/image_14122025_11_52_25_10666.jpg', '/home/pi/Desktop/images/14122025/11/52/image_14122025_11_52_35_9679.jpg', '/home/pi/Desktop/images/14122025/11/52/image_14122025_11_52_44_9693.jpg', '/home/pi/Desktop/images/14122025/11/52/image_14122025_11_52_54_9709.jpg', '/home/pi/Desktop/images/14122025/11/52/image_14122025_11_53_04_10049.jpg', '/home/pi/Desktop/images/14122025/11/53/image_14122025_11_53_15_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/52/image_14122025_11_52_25_10666.jpg
/home/pi/Desktop/images/14122025/11/52/image_14122025_11_52_35_9679.jpg
/home/pi/Desktop/images/14122025/11/52/image_14122025_11_52_44_9693.jpg
/home/pi/Desktop/images/14122025/11/52/image_14122025_11_52_54_9709.jpg
/home/pi/Desktop/images/14122025/11/52/image_14122025_11_53_04_10049.jpg
/home/pi/Desktop/images/14122025/11/53/image_14122025_11_53_15_10612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350690","1399350689","1399350691","1399350688","1399350682","1399350685"],"photo_ids_order":["1399350682","1399350685","1399350688","1399350689","1399350690","1399350691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6044ac2eba55ccd51aac80d918e8062f.jpg","text":"TemporaryFile(/tmp/multipartBody2947879487505262082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711323376,"filename":"image_14122025_11_53_04_10049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ff301b4e7352e38ac89d718dc7477ea4.jpg","text":"TemporaryFile(/tmp/multipartBody8558933422646869898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711323376,"filename":"image_14122025_11_52_54_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a0ed9aff172062862a7bde11cc559d2b.jpg","text":"TemporaryFile(/tmp/multipartBody640113575585237743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711323376,"filename":"image_14122025_11_53_15_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5105af2be3f75958335c277381fddef7.jpg","text":"TemporaryFile(/tmp/multipartBody5266847894269611077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711323376,"filename":"image_14122025_11_52_44_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b0115dbf4366dfeac5a798a89726a548.jpg","text":"TemporaryFile(/tmp/multipartBody3508777269726748304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711323376,"filename":"image_14122025_11_52_25_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d7159adde7d91b96148d718685a3a5b5.jpg","text":"TemporaryFile(/tmp/multipartBody2003533670607398958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711323376,"filename":"image_14122025_11_52_35_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350688","file1":"1399350685","file0":"1399350682","file4":"1399350690","file5":"1399350691","file3":"1399350689"},"map_files_photo_id_array":[{"photo_id":"1399350691","filename":"file5"},{"photo_id":"1399350688","filename":"file2"},{"photo_id":"1399350690","filename":"file4"},{"photo_id":"1399350685","filename":"file1"},{"photo_id":"1399350682","filename":"file0"},{"photo_id":"1399350689","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350690":["hashtag1","hashtag2"]},{"1399350689":["hashtag1","hashtag2"]},{"1399350691":["hashtag1","hashtag2"]},{"1399350688":["hashtag1","hashtag2"]},{"1399350682":["hashtag1","hashtag2"]},{"1399350685":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350690, 1399350689, 1399350691, 1399350688, 1399350682, 1399350685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15294289588928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:21:41.903803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_13_1639.jpg', '/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_15_1760.jpg', '/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_17_1660.jpg', '/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_27_10478.jpg', '/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_29_1562.jpg', '/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_30_1838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_13_1639.jpg
/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_15_1760.jpg
/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_17_1660.jpg
/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_27_10478.jpg
/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_29_1562.jpg
/home/pi/Desktop/images/04112025/13/02/image_04112025_13_02_30_1838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350699","1399350702","1399350695","1399350692","1399350701","1399350697"],"photo_ids_order":["1399350692","1399350695","1399350697","1399350699","1399350701","1399350702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc871753bb16b1a0cc9889167bb898e8.jpg","text":"TemporaryFile(/tmp/multipartBody6104519364966869805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711362505,"filename":"image_04112025_13_02_27_10478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8cc9f0f875615ce3226eab8020aaf86e.jpg","text":"TemporaryFile(/tmp/multipartBody5569096608824481723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711362505,"filename":"image_04112025_13_02_30_1838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f42bdc15e940b18bef72a70d90103e3d.jpg","text":"TemporaryFile(/tmp/multipartBody7714921972397991566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711362505,"filename":"image_04112025_13_02_15_1760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f6cc848fe8a7269e71d3903d6456d497.jpg","text":"TemporaryFile(/tmp/multipartBody523948911740603862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711362505,"filename":"image_04112025_13_02_13_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd526e9865f7f7f2e06ec1e56310a74e.jpg","text":"TemporaryFile(/tmp/multipartBody6741644916931941780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711362505,"filename":"image_04112025_13_02_29_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0806617fd454cc18b140aadb223d5cee.jpg","text":"TemporaryFile(/tmp/multipartBody4407772144323904638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711362505,"filename":"image_04112025_13_02_17_1660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350697","file1":"1399350695","file0":"1399350692","file4":"1399350701","file5":"1399350702","file3":"1399350699"},"map_files_photo_id_array":[{"photo_id":"1399350702","filename":"file5"},{"photo_id":"1399350697","filename":"file2"},{"photo_id":"1399350701","filename":"file4"},{"photo_id":"1399350695","filename":"file1"},{"photo_id":"1399350692","filename":"file0"},{"photo_id":"1399350699","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399350699":["hashtag1","hashtag2"]},{"1399350702":["hashtag1","hashtag2"]},{"1399350695":["hashtag1","hashtag2"]},{"1399350692":["hashtag1","hashtag2"]},{"1399350701":["hashtag1","hashtag2"]},{"1399350697":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399350699, 1399350702, 1399350695, 1399350692, 1399350701, 1399350697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.37261605262756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:22:32.190358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:22:42.217678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_01_30280.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_13_11874.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_14_1705.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_16_1580.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_18_1752.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_19_1653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_01_30280.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_13_11874.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_14_1705.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_16_1580.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_18_1752.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_19_1653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350712","1399350715","1399350711","1399350708","1399350713","1399350710"],"photo_ids_order":["1399350708","1399350710","1399350711","1399350712","1399350713","1399350715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19d90617830122f89060d90ffd489225.jpg","text":"TemporaryFile(/tmp/multipartBody2649155984943731733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711422995,"filename":"image_04112025_13_03_16_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5388bf5a514d71e0b1357246ff78295a.jpg","text":"TemporaryFile(/tmp/multipartBody2934080191092403538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711422995,"filename":"image_04112025_13_03_19_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5eed51902e13ea886af420f17bf40700.jpg","text":"TemporaryFile(/tmp/multipartBody325358511251576323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711422995,"filename":"image_04112025_13_03_14_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9eef2af29cb9af65d672aa3115054556.jpg","text":"TemporaryFile(/tmp/multipartBody8529644358854474124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711422995,"filename":"image_04112025_13_03_01_30280.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/081b2f081901190cee015e5ce5d32150.jpg","text":"TemporaryFile(/tmp/multipartBody4741224624365012525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711422995,"filename":"image_04112025_13_03_18_1752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/abffd7a2c3577f50bb66794150495e7d.jpg","text":"TemporaryFile(/tmp/multipartBody3528467389949184868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711422995,"filename":"image_04112025_13_03_13_11874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350711","file1":"1399350710","file0":"1399350708","file4":"1399350713","file5":"1399350715","file3":"1399350712"},"map_files_photo_id_array":[{"photo_id":"1399350715","filename":"file5"},{"photo_id":"1399350711","filename":"file2"},{"photo_id":"1399350713","filename":"file4"},{"photo_id":"1399350710","filename":"file1"},{"photo_id":"1399350708","filename":"file0"},{"photo_id":"1399350712","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399350712":["hashtag1","hashtag2"]},{"1399350715":["hashtag1","hashtag2"]},{"1399350711":["hashtag1","hashtag2"]},{"1399350708":["hashtag1","hashtag2"]},{"1399350713":["hashtag1","hashtag2"]},{"1399350710":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399350712, 1399350715, 1399350711, 1399350708, 1399350713, 1399350710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00000071525574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:23:22.457916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/53/image_14122025_11_53_25_9671.jpg', '/home/pi/Desktop/images/14122025/11/53/image_14122025_11_53_34_9629.jpg', '/home/pi/Desktop/images/14122025/11/53/image_14122025_11_53_44_10270.jpg', '/home/pi/Desktop/images/14122025/11/53/image_14122025_11_53_55_10643.jpg', '/home/pi/Desktop/images/14122025/11/53/image_14122025_11_54_05_9757.jpg', '/home/pi/Desktop/images/14122025/11/54/image_14122025_11_54_15_9940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/53/image_14122025_11_53_25_9671.jpg
/home/pi/Desktop/images/14122025/11/53/image_14122025_11_53_34_9629.jpg
/home/pi/Desktop/images/14122025/11/53/image_14122025_11_53_44_10270.jpg
/home/pi/Desktop/images/14122025/11/53/image_14122025_11_53_55_10643.jpg
/home/pi/Desktop/images/14122025/11/53/image_14122025_11_54_05_9757.jpg
/home/pi/Desktop/images/14122025/11/54/image_14122025_11_54_15_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":["1399350727","1399350721","1399350729","1399350723","1399350725","1399350719"],"photo_ids_order":["1399350719","1399350721","1399350723","1399350725","1399350727","1399350729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f8683e28cc55730fcbf5a7f6a044ad7c.jpg","text":"TemporaryFile(/tmp/multipartBody3195025160784184336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711463125,"filename":"image_14122025_11_54_05_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/96df6d2e565b1a0868112d126809fb79.jpg","text":"TemporaryFile(/tmp/multipartBody2926030347250244404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711463125,"filename":"image_14122025_11_53_34_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c851d84fc28b8311f1df67549229e8c2.jpg","text":"TemporaryFile(/tmp/multipartBody8535790604295168902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711463125,"filename":"image_14122025_11_54_15_9940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9edf89ec71e7b6177214c12677b2db5.jpg","text":"TemporaryFile(/tmp/multipartBody2573546037039049707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711463125,"filename":"image_14122025_11_53_44_10270.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ca1e604a129549f281425798add348f.jpg","text":"TemporaryFile(/tmp/multipartBody4972748131329580949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711463125,"filename":"image_14122025_11_53_55_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a44a3fabc0611acc96fea1fd069a4511.jpg","text":"TemporaryFile(/tmp/multipartBody414687828580009713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711463125,"filename":"image_14122025_11_53_25_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350723","file1":"1399350721","file0":"1399350719","file4":"1399350727","file5":"1399350729","file3":"1399350725"},"map_files_photo_id_array":[{"photo_id":"1399350729","filename":"file5"},{"photo_id":"1399350723","filename":"file2"},{"photo_id":"1399350727","filename":"file4"},{"photo_id":"1399350721","filename":"file1"},{"photo_id":"1399350719","filename":"file0"},{"photo_id":"1399350725","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350727":["hashtag1","hashtag2"]},{"1399350721":["hashtag1","hashtag2"]},{"1399350729":["hashtag1","hashtag2"]},{"1399350723":["hashtag1","hashtag2"]},{"1399350725":["hashtag1","hashtag2"]},{"1399350719":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350727, 1399350721, 1399350729, 1399350723, 1399350725, 1399350719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30248141288757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:24:03.279006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/54/image_14122025_11_54_24_9645.jpg', '/home/pi/Desktop/images/14122025/11/54/image_14122025_11_54_35_10615.jpg', '/home/pi/Desktop/images/14122025/11/54/image_14122025_11_54_45_9587.jpg', '/home/pi/Desktop/images/14122025/11/54/image_14122025_11_54_54_9780.jpg', '/home/pi/Desktop/images/14122025/11/55/image_14122025_11_55_14_10056.jpg', '/home/pi/Desktop/images/14122025/11/55/image_14122025_11_55_25_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/54/image_14122025_11_54_24_9645.jpg
/home/pi/Desktop/images/14122025/11/54/image_14122025_11_54_35_10615.jpg
/home/pi/Desktop/images/14122025/11/54/image_14122025_11_54_45_9587.jpg
/home/pi/Desktop/images/14122025/11/54/image_14122025_11_54_54_9780.jpg
/home/pi/Desktop/images/14122025/11/55/image_14122025_11_55_14_10056.jpg
/home/pi/Desktop/images/14122025/11/55/image_14122025_11_55_25_10653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350730","1399350733","1399350735","1399350732","1399350731","1399350734"],"photo_ids_order":["1399350730","1399350731","1399350732","1399350733","1399350734","1399350735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/82e5a14c4c7e44bd02dbd61dde1d5510.jpg","text":"TemporaryFile(/tmp/multipartBody3865298793633706578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711503957,"filename":"image_14122025_11_54_24_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/900f12033f0c650d11443a7c8b171712.jpg","text":"TemporaryFile(/tmp/multipartBody282897733323201922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711503957,"filename":"image_14122025_11_54_54_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6a3e60d6cb526d833e8c43ea41c990d8.jpg","text":"TemporaryFile(/tmp/multipartBody6938003959053006820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711503957,"filename":"image_14122025_11_55_25_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3970dea26cc5786a76f9385572ad36ee.jpg","text":"TemporaryFile(/tmp/multipartBody5068139404041150071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711503957,"filename":"image_14122025_11_54_45_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0e22fbf78385c7f16f268e2464a4dd89.jpg","text":"TemporaryFile(/tmp/multipartBody7043653492662012605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711503957,"filename":"image_14122025_11_54_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1abfa6a4ba17067a98817a0bd6a62dd3.jpg","text":"TemporaryFile(/tmp/multipartBody5602940766630042208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711503957,"filename":"image_14122025_11_55_14_10056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350732","file1":"1399350731","file0":"1399350730","file4":"1399350734","file5":"1399350735","file3":"1399350733"},"map_files_photo_id_array":[{"photo_id":"1399350735","filename":"file5"},{"photo_id":"1399350732","filename":"file2"},{"photo_id":"1399350734","filename":"file4"},{"photo_id":"1399350731","filename":"file1"},{"photo_id":"1399350730","filename":"file0"},{"photo_id":"1399350733","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350730":["hashtag1","hashtag2"]},{"1399350733":["hashtag1","hashtag2"]},{"1399350735":["hashtag1","hashtag2"]},{"1399350732":["hashtag1","hashtag2"]},{"1399350731":["hashtag1","hashtag2"]},{"1399350734":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350730, 1399350733, 1399350735, 1399350732, 1399350731, 1399350734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47008752822876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:24:42.547653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_21_1601.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_22_1577.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_24_1581.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_26_1657.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_28_1854.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_29_1601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_21_1601.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_22_1577.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_24_1581.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_26_1657.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_28_1854.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_29_1601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350748","1399350741","1399350750","1399350744","1399350743","1399350746"],"photo_ids_order":["1399350741","1399350743","1399350744","1399350746","1399350748","1399350750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dae22587b51fbae73a0f54f7bbcfbb4f.jpg","text":"TemporaryFile(/tmp/multipartBody2707294340632967406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711543232,"filename":"image_04112025_13_03_28_1854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f8d4c64d82dbd73c4d0d412e7dae9c45.jpg","text":"TemporaryFile(/tmp/multipartBody1835683771934657235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711543232,"filename":"image_04112025_13_03_21_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6af552571cca6934e20cb03c6ef69b38.jpg","text":"TemporaryFile(/tmp/multipartBody4222884113000980842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711543232,"filename":"image_04112025_13_03_29_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/884d6c77612621d655ef63b00ef9b899.jpg","text":"TemporaryFile(/tmp/multipartBody9118093712420403556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711543232,"filename":"image_04112025_13_03_24_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/25f8e3cac5b1f519be5f18b7f58faca4.jpg","text":"TemporaryFile(/tmp/multipartBody438596365181515140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711543232,"filename":"image_04112025_13_03_22_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54cded310993bfa1457de226c21e9f56.jpg","text":"TemporaryFile(/tmp/multipartBody8691465724336184088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711543232,"filename":"image_04112025_13_03_26_1657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350744","file1":"1399350743","file0":"1399350741","file4":"1399350748","file5":"1399350750","file3":"1399350746"},"map_files_photo_id_array":[{"photo_id":"1399350750","filename":"file5"},{"photo_id":"1399350744","filename":"file2"},{"photo_id":"1399350748","filename":"file4"},{"photo_id":"1399350743","filename":"file1"},{"photo_id":"1399350741","filename":"file0"},{"photo_id":"1399350746","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399350748":["hashtag1","hashtag2"]},{"1399350741":["hashtag1","hashtag2"]},{"1399350750":["hashtag1","hashtag2"]},{"1399350744":["hashtag1","hashtag2"]},{"1399350743":["hashtag1","hashtag2"]},{"1399350746":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399350748, 1399350741, 1399350750, 1399350744, 1399350743, 1399350746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97740817070007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:25:22.794775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/55/image_14122025_11_55_34_9592.jpg', '/home/pi/Desktop/images/14122025/11/55/image_14122025_11_55_44_9734.jpg', '/home/pi/Desktop/images/14122025/11/55/image_14122025_11_55_55_10734.jpg', '/home/pi/Desktop/images/14122025/11/55/image_14122025_11_56_05_9750.jpg', '/home/pi/Desktop/images/14122025/11/56/image_14122025_11_56_14_9723.jpg', '/home/pi/Desktop/images/14122025/11/56/image_14122025_11_56_25_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/55/image_14122025_11_55_34_9592.jpg
/home/pi/Desktop/images/14122025/11/55/image_14122025_11_55_44_9734.jpg
/home/pi/Desktop/images/14122025/11/55/image_14122025_11_55_55_10734.jpg
/home/pi/Desktop/images/14122025/11/55/image_14122025_11_56_05_9750.jpg
/home/pi/Desktop/images/14122025/11/56/image_14122025_11_56_14_9723.jpg
/home/pi/Desktop/images/14122025/11/56/image_14122025_11_56_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.5224146842956543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:25:32.893492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:25:42.846292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_31_1626.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_32_1492.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_34_1641.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_36_1643.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_37_1732.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_39_1687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_31_1626.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_32_1492.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_34_1641.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_36_1643.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_37_1732.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_39_1687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350766","1399350765","1399350768","1399350761","1399350767","1399350769"],"photo_ids_order":["1399350761","1399350765","1399350766","1399350767","1399350768","1399350769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b709e6c400ba54e0415e846cedeef0bd.jpg","text":"TemporaryFile(/tmp/multipartBody7856661219646843046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711603537,"filename":"image_04112025_13_03_34_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e6fb581fdd2fa05999607b86aec8db1e.jpg","text":"TemporaryFile(/tmp/multipartBody6049080333042721602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711603537,"filename":"image_04112025_13_03_32_1492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/32710c6d2e27b61b7310a25465c191a5.jpg","text":"TemporaryFile(/tmp/multipartBody4709552003406839147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711603537,"filename":"image_04112025_13_03_37_1732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cfe42ef4c68487dc0db6a520f9078ea8.jpg","text":"TemporaryFile(/tmp/multipartBody405895207886974190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711603537,"filename":"image_04112025_13_03_31_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/39eb0c405af4085f04098c6648c3303a.jpg","text":"TemporaryFile(/tmp/multipartBody2106653232260522094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711603537,"filename":"image_04112025_13_03_36_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1dc29cacccc3cbbef40914dfbd996ad1.jpg","text":"TemporaryFile(/tmp/multipartBody3464999678781757555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711603537,"filename":"image_04112025_13_03_39_1687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350766","file1":"1399350765","file0":"1399350761","file4":"1399350768","file5":"1399350769","file3":"1399350767"},"map_files_photo_id_array":[{"photo_id":"1399350769","filename":"file5"},{"photo_id":"1399350766","filename":"file2"},{"photo_id":"1399350768","filename":"file4"},{"photo_id":"1399350765","filename":"file1"},{"photo_id":"1399350761","filename":"file0"},{"photo_id":"1399350767","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399350766":["hashtag1","hashtag2"]},{"1399350765":["hashtag1","hashtag2"]},{"1399350768":["hashtag1","hashtag2"]},{"1399350761":["hashtag1","hashtag2"]},{"1399350767":["hashtag1","hashtag2"]},{"1399350769":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399350766, 1399350765, 1399350768, 1399350761, 1399350767, 1399350769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57972574234009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:26:32.199337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:26:42.063630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_41_1813.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_42_1515.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_44_1816.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_46_1612.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_47_1541.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_49_1567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_41_1813.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_42_1515.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_44_1816.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_46_1612.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_47_1541.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_49_1567.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5978593826293945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:27:02.870178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/55/image_14122025_11_55_34_9592.jpg', '/home/pi/Desktop/images/14122025/11/55/image_14122025_11_55_44_9734.jpg', '/home/pi/Desktop/images/14122025/11/55/image_14122025_11_55_55_10734.jpg', '/home/pi/Desktop/images/14122025/11/55/image_14122025_11_56_05_9750.jpg', '/home/pi/Desktop/images/14122025/11/56/image_14122025_11_56_14_9723.jpg', '/home/pi/Desktop/images/14122025/11/56/image_14122025_11_56_25_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/55/image_14122025_11_55_34_9592.jpg
/home/pi/Desktop/images/14122025/11/55/image_14122025_11_55_44_9734.jpg
/home/pi/Desktop/images/14122025/11/55/image_14122025_11_55_55_10734.jpg
/home/pi/Desktop/images/14122025/11/55/image_14122025_11_56_05_9750.jpg
/home/pi/Desktop/images/14122025/11/56/image_14122025_11_56_14_9723.jpg
/home/pi/Desktop/images/14122025/11/56/image_14122025_11_56_25_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":["1399350783","1399350786","1399350788","1399350782","1399350785","1399350784"],"photo_ids_order":["1399350782","1399350783","1399350784","1399350785","1399350786","1399350788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1a4f238201c140967cbc27f173796e6.jpg","text":"TemporaryFile(/tmp/multipartBody5869489064501242392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711683566,"filename":"image_14122025_11_55_44_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9ce02ac75156fb203349d90110865290.jpg","text":"TemporaryFile(/tmp/multipartBody1005296749364727286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711683566,"filename":"image_14122025_11_56_14_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9877816a61abc52e65a38630e7ac5f9d.jpg","text":"TemporaryFile(/tmp/multipartBody7359646720660389430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711683566,"filename":"image_14122025_11_56_25_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da53bb9eded5126bd3b9e9e3cd9c50fe.jpg","text":"TemporaryFile(/tmp/multipartBody5103050504039974265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711683566,"filename":"image_14122025_11_55_34_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f00765e6b75fb39956166543c91298f.jpg","text":"TemporaryFile(/tmp/multipartBody6178532483774030688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711683566,"filename":"image_14122025_11_56_05_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ec032350c1249bdab68b5ddfac673fa.jpg","text":"TemporaryFile(/tmp/multipartBody4815023975681682103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711683566,"filename":"image_14122025_11_55_55_10734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350784","file1":"1399350783","file0":"1399350782","file4":"1399350786","file5":"1399350788","file3":"1399350785"},"map_files_photo_id_array":[{"photo_id":"1399350788","filename":"file5"},{"photo_id":"1399350784","filename":"file2"},{"photo_id":"1399350786","filename":"file4"},{"photo_id":"1399350783","filename":"file1"},{"photo_id":"1399350782","filename":"file0"},{"photo_id":"1399350785","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350783":["hashtag1","hashtag2"]},{"1399350786":["hashtag1","hashtag2"]},{"1399350788":["hashtag1","hashtag2"]},{"1399350782":["hashtag1","hashtag2"]},{"1399350785":["hashtag1","hashtag2"]},{"1399350784":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350783, 1399350786, 1399350788, 1399350782, 1399350785, 1399350784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33610773086548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:27:42.262571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_41_1813.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_42_1515.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_44_1816.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_46_1612.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_47_1541.jpg', '/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_49_1567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_41_1813.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_42_1515.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_44_1816.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_46_1612.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_47_1541.jpg
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_49_1567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350798","1399350801","1399350794","1399350797","1399350799","1399350793"],"photo_ids_order":["1399350793","1399350794","1399350797","1399350798","1399350799","1399350801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2bf81164f9b2ff4235f242a5b6e79bcb.jpg","text":"TemporaryFile(/tmp/multipartBody4552932297621262536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711722850,"filename":"image_04112025_13_03_46_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7c31498a58dc3b376df14ae6e8e5f950.jpg","text":"TemporaryFile(/tmp/multipartBody465409570522570351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711722850,"filename":"image_04112025_13_03_49_1567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2fd6957c58e53a607881280568178927.jpg","text":"TemporaryFile(/tmp/multipartBody7840327957089380631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711722850,"filename":"image_04112025_13_03_42_1515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7fb93be58501174a7234f16aeb9b59e4.jpg","text":"TemporaryFile(/tmp/multipartBody268851951146196999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711722850,"filename":"image_04112025_13_03_44_1816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3eef5d55895a526091cfca6cafda7435.jpg","text":"TemporaryFile(/tmp/multipartBody8514207211277831715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711722850,"filename":"image_04112025_13_03_47_1541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/efe26d2371477ce7d4c85a0e200e971f.jpg","text":"TemporaryFile(/tmp/multipartBody7134940537932264376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711722850,"filename":"image_04112025_13_03_41_1813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350797","file1":"1399350794","file0":"1399350793","file4":"1399350799","file5":"1399350801","file3":"1399350798"},"map_files_photo_id_array":[{"photo_id":"1399350801","filename":"file5"},{"photo_id":"1399350797","filename":"file2"},{"photo_id":"1399350799","filename":"file4"},{"photo_id":"1399350794","filename":"file1"},{"photo_id":"1399350793","filename":"file0"},{"photo_id":"1399350798","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399350798":["hashtag1","hashtag2"]},{"1399350801":["hashtag1","hashtag2"]},{"1399350794":["hashtag1","hashtag2"]},{"1399350797":["hashtag1","hashtag2"]},{"1399350799":["hashtag1","hashtag2"]},{"1399350793":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399350798, 1399350801, 1399350794, 1399350797, 1399350799, 1399350793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49527311325073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:28:22.506074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/56/image_14122025_11_56_35_9693.jpg', '/home/pi/Desktop/images/14122025/11/56/image_14122025_11_56_44_9688.jpg', '/home/pi/Desktop/images/14122025/11/56/image_14122025_11_56_54_9764.jpg', '/home/pi/Desktop/images/14122025/11/56/image_14122025_11_57_05_10710.jpg', '/home/pi/Desktop/images/14122025/11/57/image_14122025_11_57_15_9736.jpg', '/home/pi/Desktop/images/14122025/11/57/image_14122025_11_57_24_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/56/image_14122025_11_56_35_9693.jpg
/home/pi/Desktop/images/14122025/11/56/image_14122025_11_56_44_9688.jpg
/home/pi/Desktop/images/14122025/11/56/image_14122025_11_56_54_9764.jpg
/home/pi/Desktop/images/14122025/11/56/image_14122025_11_57_05_10710.jpg
/home/pi/Desktop/images/14122025/11/57/image_14122025_11_57_15_9736.jpg
/home/pi/Desktop/images/14122025/11/57/image_14122025_11_57_24_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":["1399350811","1399350805","1399350814","1399350807","1399350809","1399350803"],"photo_ids_order":["1399350803","1399350805","1399350807","1399350809","1399350811","1399350814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c41cd5e9b32c3e4460f6ce1a696743ec.jpg","text":"TemporaryFile(/tmp/multipartBody6710617626157591053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711763176,"filename":"image_14122025_11_57_15_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/38746bf540446d1b958e608853c3b753.jpg","text":"TemporaryFile(/tmp/multipartBody8753717011514903541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711763176,"filename":"image_14122025_11_56_44_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b3c0e2dd48a57e1cf89a03476512eda2.jpg","text":"TemporaryFile(/tmp/multipartBody7172707970468844363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711763176,"filename":"image_14122025_11_57_24_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a9f691e0f446faa9db667840c8810c9.jpg","text":"TemporaryFile(/tmp/multipartBody6200746666041975016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711763176,"filename":"image_14122025_11_56_54_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9fee35d37d915abc6e92958d5c4e89c5.jpg","text":"TemporaryFile(/tmp/multipartBody3659006708238158567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711763176,"filename":"image_14122025_11_57_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/12/14/1f8b684248132a88a61bb56d5ff5ce4b.jpg","text":"TemporaryFile(/tmp/multipartBody2237769246477852350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711763176,"filename":"image_14122025_11_56_35_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350807","file1":"1399350805","file0":"1399350803","file4":"1399350811","file5":"1399350814","file3":"1399350809"},"map_files_photo_id_array":[{"photo_id":"1399350814","filename":"file5"},{"photo_id":"1399350807","filename":"file2"},{"photo_id":"1399350811","filename":"file4"},{"photo_id":"1399350805","filename":"file1"},{"photo_id":"1399350803","filename":"file0"},{"photo_id":"1399350809","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350811":["hashtag1","hashtag2"]},{"1399350805":["hashtag1","hashtag2"]},{"1399350814":["hashtag1","hashtag2"]},{"1399350807":["hashtag1","hashtag2"]},{"1399350809":["hashtag1","hashtag2"]},{"1399350803":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350811, 1399350805, 1399350814, 1399350807, 1399350809, 1399350803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.374345541000366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:29:03.824723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/57/image_14122025_11_57_35_10702.jpg', '/home/pi/Desktop/images/14122025/11/57/image_14122025_11_57_45_9735.jpg', '/home/pi/Desktop/images/14122025/11/57/image_14122025_11_57_54_9782.jpg', '/home/pi/Desktop/images/14122025/11/57/image_14122025_11_58_04_9726.jpg', '/home/pi/Desktop/images/14122025/11/58/image_14122025_11_58_25_9771.jpg', '/home/pi/Desktop/images/14122025/11/58/image_14122025_11_58_34_9557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/57/image_14122025_11_57_35_10702.jpg
/home/pi/Desktop/images/14122025/11/57/image_14122025_11_57_45_9735.jpg
/home/pi/Desktop/images/14122025/11/57/image_14122025_11_57_54_9782.jpg
/home/pi/Desktop/images/14122025/11/57/image_14122025_11_58_04_9726.jpg
/home/pi/Desktop/images/14122025/11/58/image_14122025_11_58_25_9771.jpg
/home/pi/Desktop/images/14122025/11/58/image_14122025_11_58_34_9557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350816","1399350819","1399350824","1399350821","1399350815","1399350818"],"photo_ids_order":["1399350815","1399350816","1399350818","1399350819","1399350821","1399350824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ebbd9764263c00e6df3006c893d4f568.jpg","text":"TemporaryFile(/tmp/multipartBody1030461951731069832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711804581,"filename":"image_14122025_11_57_45_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a2e9e5b1f96fbeb9a0533a8fcb979fc6.jpg","text":"TemporaryFile(/tmp/multipartBody5417666587079961873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711804581,"filename":"image_14122025_11_58_04_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dca9289832c603d63b2d782914964b23.jpg","text":"TemporaryFile(/tmp/multipartBody3656947592335308550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711804581,"filename":"image_14122025_11_58_34_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3ccd2da26643fa3f430641b0b9ef3b15.jpg","text":"TemporaryFile(/tmp/multipartBody437992693462136671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711804581,"filename":"image_14122025_11_58_25_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a4c1e503f8dddc39c362de97b427f5ed.jpg","text":"TemporaryFile(/tmp/multipartBody5564751971522999274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711804581,"filename":"image_14122025_11_57_35_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb9da6bd54f11c590ae4e367af3aef7a.jpg","text":"TemporaryFile(/tmp/multipartBody639781636974336976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711804581,"filename":"image_14122025_11_57_54_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350818","file1":"1399350816","file0":"1399350815","file4":"1399350821","file5":"1399350824","file3":"1399350819"},"map_files_photo_id_array":[{"photo_id":"1399350824","filename":"file5"},{"photo_id":"1399350818","filename":"file2"},{"photo_id":"1399350821","filename":"file4"},{"photo_id":"1399350816","filename":"file1"},{"photo_id":"1399350815","filename":"file0"},{"photo_id":"1399350819","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350816":["hashtag1","hashtag2"]},{"1399350819":["hashtag1","hashtag2"]},{"1399350824":["hashtag1","hashtag2"]},{"1399350821":["hashtag1","hashtag2"]},{"1399350815":["hashtag1","hashtag2"]},{"1399350818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350816, 1399350819, 1399350824, 1399350821, 1399350815, 1399350818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60301446914673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:29:42.848191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_54_4844.jpg', '/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_07_3011.jpg', '/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_10_3597.jpg', '/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_13_2788.jpg', '/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_17_3577.jpg', '/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_19_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/03/image_04112025_13_03_54_4844.jpg
/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_07_3011.jpg
/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_10_3597.jpg
/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_13_2788.jpg
/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_17_3577.jpg
/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_19_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":["1399350832","1399350831","1399350834","1399350828","1399350830","1399350833"],"photo_ids_order":["1399350828","1399350830","1399350831","1399350832","1399350833","1399350834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a59d6abb451c503214a37cc4b5cd5372.jpg","text":"TemporaryFile(/tmp/multipartBody8495560881027640969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711843533,"filename":"image_04112025_13_06_13_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3a1fa26ccb9347df79a2d82ead7bd860.jpg","text":"TemporaryFile(/tmp/multipartBody6586712822060470427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711843533,"filename":"image_04112025_13_06_10_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bdc0bf56bfa0454e2d40448140b45c1e.jpg","text":"TemporaryFile(/tmp/multipartBody773355926659790350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711843533,"filename":"image_04112025_13_06_19_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/47df069a4053c539a028e6bb7e8144e2.jpg","text":"TemporaryFile(/tmp/multipartBody6527804990089819314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711843533,"filename":"image_04112025_13_03_54_4844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d00e6757da02dc148aee2484142d16d.jpg","text":"TemporaryFile(/tmp/multipartBody6656708680043947264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711843533,"filename":"image_04112025_13_06_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b2b5691b9f169493857e879c6a5c60e.jpg","text":"TemporaryFile(/tmp/multipartBody5808071825746057715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711843533,"filename":"image_04112025_13_06_17_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350831","file1":"1399350830","file0":"1399350828","file4":"1399350833","file5":"1399350834","file3":"1399350832"},"map_files_photo_id_array":[{"photo_id":"1399350834","filename":"file5"},{"photo_id":"1399350831","filename":"file2"},{"photo_id":"1399350833","filename":"file4"},{"photo_id":"1399350830","filename":"file1"},{"photo_id":"1399350828","filename":"file0"},{"photo_id":"1399350832","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399350832":["hashtag1","hashtag2"]},{"1399350831":["hashtag1","hashtag2"]},{"1399350834":["hashtag1","hashtag2"]},{"1399350828":["hashtag1","hashtag2"]},{"1399350830":["hashtag1","hashtag2"]},{"1399350833":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399350832, 1399350831, 1399350834, 1399350828, 1399350830, 1399350833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98733568191528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:30:22.077888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/58/image_14122025_11_58_45_10656.jpg', '/home/pi/Desktop/images/14122025/11/58/image_14122025_11_58_54_9581.jpg', '/home/pi/Desktop/images/14122025/11/58/image_14122025_11_59_04_9861.jpg', '/home/pi/Desktop/images/14122025/11/59/image_14122025_11_59_15_10648.jpg', '/home/pi/Desktop/images/14122025/11/59/image_14122025_11_59_25_9940.jpg', '/home/pi/Desktop/images/14122025/11/59/image_14122025_11_59_35_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/58/image_14122025_11_58_45_10656.jpg
/home/pi/Desktop/images/14122025/11/58/image_14122025_11_58_54_9581.jpg
/home/pi/Desktop/images/14122025/11/58/image_14122025_11_59_04_9861.jpg
/home/pi/Desktop/images/14122025/11/59/image_14122025_11_59_15_10648.jpg
/home/pi/Desktop/images/14122025/11/59/image_14122025_11_59_25_9940.jpg
/home/pi/Desktop/images/14122025/11/59/image_14122025_11_59_35_9715.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5176384449005127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:30:32.234858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:30:42.050991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_22_2712.jpg', '/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_25_2681.jpg', '/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_29_3766.jpg', '/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_31_2484.jpg', '/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_34_2847.jpg', '/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_38_3607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_22_2712.jpg
/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_25_2681.jpg
/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_29_3766.jpg
/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_31_2484.jpg
/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_34_2847.jpg
/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_38_3607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350850","1399350847","1399350852","1399350849","1399350851","1399350845"],"photo_ids_order":["1399350845","1399350847","1399350849","1399350850","1399350851","1399350852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf4ae19337644e91e3e422a1f1f190eb.jpg","text":"TemporaryFile(/tmp/multipartBody859331322677558374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711902812,"filename":"image_04112025_13_06_31_2484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36fa41bcd500ba7e36750ced73a77fc2.jpg","text":"TemporaryFile(/tmp/multipartBody8724831835872701752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711902812,"filename":"image_04112025_13_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/12/14/897c1c611f47c30fd353c7abd4ffbc73.jpg","text":"TemporaryFile(/tmp/multipartBody5888900733325480812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711902812,"filename":"image_04112025_13_06_38_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6738226f912b35a156882b74b4c181ac.jpg","text":"TemporaryFile(/tmp/multipartBody8613895116012174050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711902812,"filename":"image_04112025_13_06_29_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e5f346b3ad8cdec376bd083b50193480.jpg","text":"TemporaryFile(/tmp/multipartBody2599804753931409232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711902812,"filename":"image_04112025_13_06_34_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/96f0687f04a538e7c6b6f393d8b4f0dd.jpg","text":"TemporaryFile(/tmp/multipartBody1727493193359015229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711902812,"filename":"image_04112025_13_06_22_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350849","file1":"1399350847","file0":"1399350845","file4":"1399350851","file5":"1399350852","file3":"1399350850"},"map_files_photo_id_array":[{"photo_id":"1399350852","filename":"file5"},{"photo_id":"1399350849","filename":"file2"},{"photo_id":"1399350851","filename":"file4"},{"photo_id":"1399350847","filename":"file1"},{"photo_id":"1399350845","filename":"file0"},{"photo_id":"1399350850","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399350850":["hashtag1","hashtag2"]},{"1399350847":["hashtag1","hashtag2"]},{"1399350852":["hashtag1","hashtag2"]},{"1399350849":["hashtag1","hashtag2"]},{"1399350851":["hashtag1","hashtag2"]},{"1399350845":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399350850, 1399350847, 1399350852, 1399350849, 1399350851, 1399350845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34228849411011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:31:22.327209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/58/image_14122025_11_58_45_10656.jpg', '/home/pi/Desktop/images/14122025/11/58/image_14122025_11_58_54_9581.jpg', '/home/pi/Desktop/images/14122025/11/58/image_14122025_11_59_04_9861.jpg', '/home/pi/Desktop/images/14122025/11/59/image_14122025_11_59_15_10648.jpg', '/home/pi/Desktop/images/14122025/11/59/image_14122025_11_59_25_9940.jpg', '/home/pi/Desktop/images/14122025/11/59/image_14122025_11_59_35_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/58/image_14122025_11_58_45_10656.jpg
/home/pi/Desktop/images/14122025/11/58/image_14122025_11_58_54_9581.jpg
/home/pi/Desktop/images/14122025/11/58/image_14122025_11_59_04_9861.jpg
/home/pi/Desktop/images/14122025/11/59/image_14122025_11_59_15_10648.jpg
/home/pi/Desktop/images/14122025/11/59/image_14122025_11_59_25_9940.jpg
/home/pi/Desktop/images/14122025/11/59/image_14122025_11_59_35_9715.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6298291683197021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:31:32.438453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:31:42.316263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_40_2588.jpg', '/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_46_1610.jpg', '/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_50_3700.jpg', '/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_52_2562.jpg', '/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_56_3519.jpg', '/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_04_3086.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_40_2588.jpg
/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_46_1610.jpg
/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_50_3700.jpg
/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_52_2562.jpg
/home/pi/Desktop/images/04112025/13/06/image_04112025_13_06_56_3519.jpg
/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_04_3086.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350870","1399350869","1399350866","1399350871","1399350868","1399350862"],"photo_ids_order":["1399350862","1399350866","1399350868","1399350869","1399350870","1399350871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/daa078d1bcdf6c1745d37a0016d3b694.jpg","text":"TemporaryFile(/tmp/multipartBody1956771115886218586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711963003,"filename":"image_04112025_13_06_56_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/745e1a9bd4fd064a56b3b26096510b91.jpg","text":"TemporaryFile(/tmp/multipartBody8877034516854621787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711963003,"filename":"image_04112025_13_06_52_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24041aba4baf2b24dcf51a2e6e3e79dc.jpg","text":"TemporaryFile(/tmp/multipartBody1360532305395583128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711963003,"filename":"image_04112025_13_06_46_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/272b5a28fa86e51b86b0f50f3c317c22.jpg","text":"TemporaryFile(/tmp/multipartBody1676844225688763996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711963003,"filename":"image_04112025_13_07_04_3086.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d54206081d2dfd96374868cc8b239466.jpg","text":"TemporaryFile(/tmp/multipartBody1072460721760850016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711963003,"filename":"image_04112025_13_06_50_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bc309f38e450abe77f5c166a37118bab.jpg","text":"TemporaryFile(/tmp/multipartBody8284863187727588103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765711963003,"filename":"image_04112025_13_06_40_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350868","file1":"1399350866","file0":"1399350862","file4":"1399350870","file5":"1399350871","file3":"1399350869"},"map_files_photo_id_array":[{"photo_id":"1399350871","filename":"file5"},{"photo_id":"1399350868","filename":"file2"},{"photo_id":"1399350870","filename":"file4"},{"photo_id":"1399350866","filename":"file1"},{"photo_id":"1399350862","filename":"file0"},{"photo_id":"1399350869","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399350870":["hashtag1","hashtag2"]},{"1399350869":["hashtag1","hashtag2"]},{"1399350866":["hashtag1","hashtag2"]},{"1399350871":["hashtag1","hashtag2"]},{"1399350868":["hashtag1","hashtag2"]},{"1399350862":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399350870, 1399350869, 1399350866, 1399350871, 1399350868, 1399350862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.773268938064575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:32:22.578471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/58/image_14122025_11_58_45_10656.jpg', '/home/pi/Desktop/images/14122025/11/58/image_14122025_11_58_54_9581.jpg', '/home/pi/Desktop/images/14122025/11/58/image_14122025_11_59_04_9861.jpg', '/home/pi/Desktop/images/14122025/11/59/image_14122025_11_59_15_10648.jpg', '/home/pi/Desktop/images/14122025/11/59/image_14122025_11_59_25_9940.jpg', '/home/pi/Desktop/images/14122025/11/59/image_14122025_11_59_35_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/58/image_14122025_11_58_45_10656.jpg
/home/pi/Desktop/images/14122025/11/58/image_14122025_11_58_54_9581.jpg
/home/pi/Desktop/images/14122025/11/58/image_14122025_11_59_04_9861.jpg
/home/pi/Desktop/images/14122025/11/59/image_14122025_11_59_15_10648.jpg
/home/pi/Desktop/images/14122025/11/59/image_14122025_11_59_25_9940.jpg
/home/pi/Desktop/images/14122025/11/59/image_14122025_11_59_35_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":["1399350882","1399350876","1399350873","1399350878","1399350880","1399350874"],"photo_ids_order":["1399350873","1399350874","1399350876","1399350878","1399350880","1399350882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ded2d1c91f85d255f2b51ab93b2401bb.jpg","text":"TemporaryFile(/tmp/multipartBody3554057124959986866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712003212,"filename":"image_14122025_11_59_35_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/15bce9095035319a9f6049cc2ae803f4.jpg","text":"TemporaryFile(/tmp/multipartBody2923304407497439108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712003212,"filename":"image_14122025_11_59_04_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/58f68da5e9a4f9e678445116421d0709.jpg","text":"TemporaryFile(/tmp/multipartBody1033522642921737384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712003212,"filename":"image_14122025_11_58_45_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ed27a2b69640ce518d9b311665c0c33.jpg","text":"TemporaryFile(/tmp/multipartBody6879877884057581489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712003212,"filename":"image_14122025_11_59_15_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0101ab5da82a577ec005bc18f964a944.jpg","text":"TemporaryFile(/tmp/multipartBody3303201238001212321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712003212,"filename":"image_14122025_11_59_25_9940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/16824d724c9fe98044556038b1cfd43d.jpg","text":"TemporaryFile(/tmp/multipartBody6774241375740605945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712003212,"filename":"image_14122025_11_58_54_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350876","file1":"1399350874","file0":"1399350873","file4":"1399350880","file5":"1399350882","file3":"1399350878"},"map_files_photo_id_array":[{"photo_id":"1399350882","filename":"file5"},{"photo_id":"1399350876","filename":"file2"},{"photo_id":"1399350880","filename":"file4"},{"photo_id":"1399350874","filename":"file1"},{"photo_id":"1399350873","filename":"file0"},{"photo_id":"1399350878","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350882":["hashtag1","hashtag2"]},{"1399350876":["hashtag1","hashtag2"]},{"1399350873":["hashtag1","hashtag2"]},{"1399350878":["hashtag1","hashtag2"]},{"1399350880":["hashtag1","hashtag2"]},{"1399350874":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350882, 1399350876, 1399350873, 1399350878, 1399350880, 1399350874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6113817691803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:33:03.340771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/11/59/image_14122025_11_59_44_9625.jpg', '/home/pi/Desktop/images/14122025/11/59/image_14122025_11_59_55_10693.jpg', '/home/pi/Desktop/images/14122025/12/01/image_14122025_12_01_13_10039.jpg', '/home/pi/Desktop/images/14122025/12/01/image_14122025_12_01_24_10639.jpg', '/home/pi/Desktop/images/14122025/12/01/image_14122025_12_01_33_9787.jpg', '/home/pi/Desktop/images/14122025/12/01/image_14122025_12_01_43_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/11/59/image_14122025_11_59_44_9625.jpg
/home/pi/Desktop/images/14122025/11/59/image_14122025_11_59_55_10693.jpg
/home/pi/Desktop/images/14122025/12/01/image_14122025_12_01_13_10039.jpg
/home/pi/Desktop/images/14122025/12/01/image_14122025_12_01_24_10639.jpg
/home/pi/Desktop/images/14122025/12/01/image_14122025_12_01_33_9787.jpg
/home/pi/Desktop/images/14122025/12/01/image_14122025_12_01_43_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":["1399350891","1399350888","1399350887","1399350884","1399350886","1399350889"],"photo_ids_order":["1399350884","1399350886","1399350887","1399350888","1399350889","1399350891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c2d0912c061568b4036f4e8c864f1c71.jpg","text":"TemporaryFile(/tmp/multipartBody1470134819181276306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712044019,"filename":"image_14122025_12_01_43_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b96935c9edfac635055809e43b4fd0d5.jpg","text":"TemporaryFile(/tmp/multipartBody6869052807500808465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712044019,"filename":"image_14122025_12_01_24_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e02e68a2c86bb0d89c2b672a8bb81106.jpg","text":"TemporaryFile(/tmp/multipartBody2187791920462217562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712044019,"filename":"image_14122025_12_01_13_10039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d98ee984aa19a8d3a93e14feda495cc1.jpg","text":"TemporaryFile(/tmp/multipartBody2092832054680190728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712044019,"filename":"image_14122025_11_59_44_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d5b678e2be128fd57ee71de7efea8015.jpg","text":"TemporaryFile(/tmp/multipartBody8270861287961318996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712044019,"filename":"image_14122025_11_59_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/12/14/6f52cf3d796f3b2ad270b0a64dcc5397.jpg","text":"TemporaryFile(/tmp/multipartBody1113714525027409289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712044019,"filename":"image_14122025_12_01_33_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350887","file1":"1399350886","file0":"1399350884","file4":"1399350889","file5":"1399350891","file3":"1399350888"},"map_files_photo_id_array":[{"photo_id":"1399350891","filename":"file5"},{"photo_id":"1399350887","filename":"file2"},{"photo_id":"1399350889","filename":"file4"},{"photo_id":"1399350886","filename":"file1"},{"photo_id":"1399350884","filename":"file0"},{"photo_id":"1399350888","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350891":["hashtag1","hashtag2"]},{"1399350888":["hashtag1","hashtag2"]},{"1399350887":["hashtag1","hashtag2"]},{"1399350884":["hashtag1","hashtag2"]},{"1399350886":["hashtag1","hashtag2"]},{"1399350889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350891, 1399350888, 1399350887, 1399350884, 1399350886, 1399350889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78440308570862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:33:42.762652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_06_1589.jpg', '/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_13_3008.jpg', '/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_16_2740.jpg', '/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_19_3592.jpg', '/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_22_2566.jpg', '/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_26_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_06_1589.jpg
/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_13_3008.jpg
/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_16_2740.jpg
/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_19_3592.jpg
/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_22_2566.jpg
/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_26_3587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350897","1399350901","1399350900","1399350903","1399350896","1399350899"],"photo_ids_order":["1399350896","1399350897","1399350899","1399350900","1399350901","1399350903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a0bc0e2dfe8f9067e0c717ce12caca2.jpg","text":"TemporaryFile(/tmp/multipartBody2975751820874394293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712083457,"filename":"image_04112025_13_07_13_3008.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3662074671bede6df8d408f58dab4b06.jpg","text":"TemporaryFile(/tmp/multipartBody6373527686507916336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712083457,"filename":"image_04112025_13_07_22_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e3ee3288de20940b35d713d9cf39ee9d.jpg","text":"TemporaryFile(/tmp/multipartBody1088812148513799949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712083457,"filename":"image_04112025_13_07_19_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4bdec4070247335846a21bb66a06c396.jpg","text":"TemporaryFile(/tmp/multipartBody5684535973029300286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712083457,"filename":"image_04112025_13_07_26_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0127f1fa4a8d863dd255e3ad2faf2eef.jpg","text":"TemporaryFile(/tmp/multipartBody7372830678961050349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712083457,"filename":"image_04112025_13_07_06_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d92a209d44b45ed8c6a66964486b5f52.jpg","text":"TemporaryFile(/tmp/multipartBody8533252689280789790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712083457,"filename":"image_04112025_13_07_16_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350899","file1":"1399350897","file0":"1399350896","file4":"1399350901","file5":"1399350903","file3":"1399350900"},"map_files_photo_id_array":[{"photo_id":"1399350903","filename":"file5"},{"photo_id":"1399350899","filename":"file2"},{"photo_id":"1399350901","filename":"file4"},{"photo_id":"1399350897","filename":"file1"},{"photo_id":"1399350896","filename":"file0"},{"photo_id":"1399350900","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399350897":["hashtag1","hashtag2"]},{"1399350901":["hashtag1","hashtag2"]},{"1399350900":["hashtag1","hashtag2"]},{"1399350903":["hashtag1","hashtag2"]},{"1399350896":["hashtag1","hashtag2"]},{"1399350899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399350897, 1399350901, 1399350900, 1399350903, 1399350896, 1399350899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55245876312256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:34:22.048242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/01/image_14122025_12_01_53_9742.jpg', '/home/pi/Desktop/images/14122025/12/01/image_14122025_12_02_04_10689.jpg', '/home/pi/Desktop/images/14122025/12/02/image_14122025_12_02_14_9978.jpg', '/home/pi/Desktop/images/14122025/12/02/image_14122025_12_02_23_9641.jpg', '/home/pi/Desktop/images/14122025/12/02/image_14122025_12_02_34_10606.jpg', '/home/pi/Desktop/images/14122025/12/02/image_14122025_12_02_44_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/01/image_14122025_12_01_53_9742.jpg
/home/pi/Desktop/images/14122025/12/01/image_14122025_12_02_04_10689.jpg
/home/pi/Desktop/images/14122025/12/02/image_14122025_12_02_14_9978.jpg
/home/pi/Desktop/images/14122025/12/02/image_14122025_12_02_23_9641.jpg
/home/pi/Desktop/images/14122025/12/02/image_14122025_12_02_34_10606.jpg
/home/pi/Desktop/images/14122025/12/02/image_14122025_12_02_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":["1399350913","1399350907","1399350915","1399350909","1399350911","1399350905"],"photo_ids_order":["1399350905","1399350907","1399350909","1399350911","1399350913","1399350915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/af6bd64337e3ac34fc019b53f7c96a8d.jpg","text":"TemporaryFile(/tmp/multipartBody3357764429329352709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712122684,"filename":"image_14122025_12_02_34_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ec67c0aaab95f307f1bbd6761d655e8.jpg","text":"TemporaryFile(/tmp/multipartBody499918015588270639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712122684,"filename":"image_14122025_12_02_04_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b0c4bee4a19381759c5fe5fb219b7927.jpg","text":"TemporaryFile(/tmp/multipartBody7271054293259992597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712122684,"filename":"image_14122025_12_02_44_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36c5ebfac4b88ad0208fa25ddc464023.jpg","text":"TemporaryFile(/tmp/multipartBody5243631577883235584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712122684,"filename":"image_14122025_12_02_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/12/14/f541378af9270c10a8fc6c4a328ddf9e.jpg","text":"TemporaryFile(/tmp/multipartBody5669380222918710471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712122684,"filename":"image_14122025_12_02_23_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/798a15e72eda971bd6e87a82796d0b7d.jpg","text":"TemporaryFile(/tmp/multipartBody5578678059542699234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712122684,"filename":"image_14122025_12_01_53_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350909","file1":"1399350907","file0":"1399350905","file4":"1399350913","file5":"1399350915","file3":"1399350911"},"map_files_photo_id_array":[{"photo_id":"1399350915","filename":"file5"},{"photo_id":"1399350909","filename":"file2"},{"photo_id":"1399350913","filename":"file4"},{"photo_id":"1399350907","filename":"file1"},{"photo_id":"1399350905","filename":"file0"},{"photo_id":"1399350911","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350913":["hashtag1","hashtag2"]},{"1399350907":["hashtag1","hashtag2"]},{"1399350915":["hashtag1","hashtag2"]},{"1399350909":["hashtag1","hashtag2"]},{"1399350911":["hashtag1","hashtag2"]},{"1399350905":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350913, 1399350907, 1399350915, 1399350909, 1399350911, 1399350905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73144173622131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:35:02.964326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/02/image_14122025_12_02_53_9655.jpg', '/home/pi/Desktop/images/14122025/12/02/image_14122025_12_03_04_10607.jpg', '/home/pi/Desktop/images/14122025/12/03/image_14122025_12_03_14_9672.jpg', '/home/pi/Desktop/images/14122025/12/03/image_14122025_12_03_23_9835.jpg', '/home/pi/Desktop/images/14122025/12/03/image_14122025_12_03_33_9755.jpg', '/home/pi/Desktop/images/14122025/12/03/image_14122025_12_03_44_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/02/image_14122025_12_02_53_9655.jpg
/home/pi/Desktop/images/14122025/12/02/image_14122025_12_03_04_10607.jpg
/home/pi/Desktop/images/14122025/12/03/image_14122025_12_03_14_9672.jpg
/home/pi/Desktop/images/14122025/12/03/image_14122025_12_03_23_9835.jpg
/home/pi/Desktop/images/14122025/12/03/image_14122025_12_03_33_9755.jpg
/home/pi/Desktop/images/14122025/12/03/image_14122025_12_03_44_10687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350919","1399350921","1399350924","1399350918","1399350920","1399350917"],"photo_ids_order":["1399350917","1399350918","1399350919","1399350920","1399350921","1399350924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1280036c1bb26b2fc0b6a7f14aee3da9.jpg","text":"TemporaryFile(/tmp/multipartBody355168400333490387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712163684,"filename":"image_14122025_12_03_14_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8ddd0417f9adb0792b56c5d6e7e346f8.jpg","text":"TemporaryFile(/tmp/multipartBody328370998486691342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712163684,"filename":"image_14122025_12_03_33_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1994ed032edb0d0fdd6e90b574524d00.jpg","text":"TemporaryFile(/tmp/multipartBody2837797749774078592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712163684,"filename":"image_14122025_12_03_44_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f29d21e19155903c8190cbead3365d3.jpg","text":"TemporaryFile(/tmp/multipartBody904715552141723137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712163684,"filename":"image_14122025_12_03_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/12/14/65232cad575fa57c5f52691f0315f3b4.jpg","text":"TemporaryFile(/tmp/multipartBody6174445323967085961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712163684,"filename":"image_14122025_12_03_23_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eb9198e3995b8b00feb14ceaef8d0ac3.jpg","text":"TemporaryFile(/tmp/multipartBody7379576076058587637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712163684,"filename":"image_14122025_12_02_53_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350919","file1":"1399350918","file0":"1399350917","file4":"1399350921","file5":"1399350924","file3":"1399350920"},"map_files_photo_id_array":[{"photo_id":"1399350924","filename":"file5"},{"photo_id":"1399350919","filename":"file2"},{"photo_id":"1399350921","filename":"file4"},{"photo_id":"1399350918","filename":"file1"},{"photo_id":"1399350917","filename":"file0"},{"photo_id":"1399350920","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350919":["hashtag1","hashtag2"]},{"1399350921":["hashtag1","hashtag2"]},{"1399350924":["hashtag1","hashtag2"]},{"1399350918":["hashtag1","hashtag2"]},{"1399350920":["hashtag1","hashtag2"]},{"1399350917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350919, 1399350921, 1399350924, 1399350918, 1399350920, 1399350917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86510944366455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:36:02.776286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/03/image_14122025_12_03_54_9767.jpg', '/home/pi/Desktop/images/14122025/12/03/image_14122025_12_04_03_9593.jpg', '/home/pi/Desktop/images/14122025/12/04/image_14122025_12_04_14_10633.jpg', '/home/pi/Desktop/images/14122025/12/04/image_14122025_12_04_24_9697.jpg', '/home/pi/Desktop/images/14122025/12/04/image_14122025_12_04_33_9675.jpg', '/home/pi/Desktop/images/14122025/12/04/image_14122025_12_04_43_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/03/image_14122025_12_03_54_9767.jpg
/home/pi/Desktop/images/14122025/12/03/image_14122025_12_04_03_9593.jpg
/home/pi/Desktop/images/14122025/12/04/image_14122025_12_04_14_10633.jpg
/home/pi/Desktop/images/14122025/12/04/image_14122025_12_04_24_9697.jpg
/home/pi/Desktop/images/14122025/12/04/image_14122025_12_04_33_9675.jpg
/home/pi/Desktop/images/14122025/12/04/image_14122025_12_04_43_9833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350931","1399350933","1399350936","1399350932","1399350935","1399350934"],"photo_ids_order":["1399350931","1399350932","1399350933","1399350934","1399350935","1399350936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c70ba30b8dc4ea661544cb1a359efc6.jpg","text":"TemporaryFile(/tmp/multipartBody3924655970882209160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712223435,"filename":"image_14122025_12_03_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/12/14/92770ea5ee9b9211d24d9e9ff4cc9de5.jpg","text":"TemporaryFile(/tmp/multipartBody5093116948144022740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712223435,"filename":"image_14122025_12_04_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/12/14/7507b5c523296acea93b7e7a9beb5b14.jpg","text":"TemporaryFile(/tmp/multipartBody8686199370140698655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712223435,"filename":"image_14122025_12_04_43_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc8f756df7ce32c75b1b774472c4d341.jpg","text":"TemporaryFile(/tmp/multipartBody4944421681981229739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712223435,"filename":"image_14122025_12_04_03_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c4ed5543b26619cb9ab8162783bea422.jpg","text":"TemporaryFile(/tmp/multipartBody6739744601132912075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712223435,"filename":"image_14122025_12_04_33_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b4f4c0e7498fe5605bfa1e804764039c.jpg","text":"TemporaryFile(/tmp/multipartBody7368314892645482744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712223435,"filename":"image_14122025_12_04_24_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350933","file1":"1399350932","file0":"1399350931","file4":"1399350935","file5":"1399350936","file3":"1399350934"},"map_files_photo_id_array":[{"photo_id":"1399350936","filename":"file5"},{"photo_id":"1399350933","filename":"file2"},{"photo_id":"1399350935","filename":"file4"},{"photo_id":"1399350932","filename":"file1"},{"photo_id":"1399350931","filename":"file0"},{"photo_id":"1399350934","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350931":["hashtag1","hashtag2"]},{"1399350933":["hashtag1","hashtag2"]},{"1399350936":["hashtag1","hashtag2"]},{"1399350932":["hashtag1","hashtag2"]},{"1399350935":["hashtag1","hashtag2"]},{"1399350934":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350931, 1399350933, 1399350936, 1399350932, 1399350935, 1399350934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.849650621414185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:36:42.478126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_35_3360.jpg', '/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_37_2668.jpg', '/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_40_2676.jpg', '/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_43_2785.jpg', '/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_46_3569.jpg', '/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_52_3607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_35_3360.jpg
/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_37_2668.jpg
/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_40_2676.jpg
/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_43_2785.jpg
/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_46_3569.jpg
/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_52_3607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350945","1399350954","1399350941","1399350950","1399350947","1399350952"],"photo_ids_order":["1399350941","1399350945","1399350947","1399350950","1399350952","1399350954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d438c272317e5c7f071662b5234b4f9.jpg","text":"TemporaryFile(/tmp/multipartBody4503982809997418159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712263162,"filename":"image_04112025_13_07_37_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a2a40caa24f7fd0c433ef8b9cfd49133.jpg","text":"TemporaryFile(/tmp/multipartBody3582069136049554232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712263162,"filename":"image_04112025_13_07_52_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/afa3356c8aa3f655114a79e99d4b5d71.jpg","text":"TemporaryFile(/tmp/multipartBody3351403635111345813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712263162,"filename":"image_04112025_13_07_35_3360.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1cea6ffdfec16ba518835618a562ec0e.jpg","text":"TemporaryFile(/tmp/multipartBody5459843339629706573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712263162,"filename":"image_04112025_13_07_43_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b67bd717ba9437a200114954ed6bc8f.jpg","text":"TemporaryFile(/tmp/multipartBody3391509605423198953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712263162,"filename":"image_04112025_13_07_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/12/14/1d168661670514dd0095b13a819edea2.jpg","text":"TemporaryFile(/tmp/multipartBody8830600120686746626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712263162,"filename":"image_04112025_13_07_46_3569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350947","file1":"1399350945","file0":"1399350941","file4":"1399350952","file5":"1399350954","file3":"1399350950"},"map_files_photo_id_array":[{"photo_id":"1399350954","filename":"file5"},{"photo_id":"1399350947","filename":"file2"},{"photo_id":"1399350952","filename":"file4"},{"photo_id":"1399350945","filename":"file1"},{"photo_id":"1399350941","filename":"file0"},{"photo_id":"1399350950","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399350945":["hashtag1","hashtag2"]},{"1399350954":["hashtag1","hashtag2"]},{"1399350941":["hashtag1","hashtag2"]},{"1399350950":["hashtag1","hashtag2"]},{"1399350947":["hashtag1","hashtag2"]},{"1399350952":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399350945, 1399350954, 1399350941, 1399350950, 1399350947, 1399350952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53591465950012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:37:22.719590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/04/image_14122025_12_04_54_10837.jpg', '/home/pi/Desktop/images/14122025/12/04/image_14122025_12_05_04_9722.jpg', '/home/pi/Desktop/images/14122025/12/05/image_14122025_12_05_13_9761.jpg', '/home/pi/Desktop/images/14122025/12/05/image_14122025_12_05_23_9703.jpg', '/home/pi/Desktop/images/14122025/12/05/image_14122025_12_05_43_9666.jpg', '/home/pi/Desktop/images/14122025/12/05/image_14122025_12_05_53_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/04/image_14122025_12_04_54_10837.jpg
/home/pi/Desktop/images/14122025/12/04/image_14122025_12_05_04_9722.jpg
/home/pi/Desktop/images/14122025/12/05/image_14122025_12_05_13_9761.jpg
/home/pi/Desktop/images/14122025/12/05/image_14122025_12_05_23_9703.jpg
/home/pi/Desktop/images/14122025/12/05/image_14122025_12_05_43_9666.jpg
/home/pi/Desktop/images/14122025/12/05/image_14122025_12_05_53_9836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350958","1399350960","1399350962","1399350956","1399350967","1399350955"],"photo_ids_order":["1399350955","1399350956","1399350958","1399350960","1399350962","1399350967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19268d4d9056a21d6bf51a20d6cafc86.jpg","text":"TemporaryFile(/tmp/multipartBody6226110756623752279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712303388,"filename":"image_14122025_12_05_13_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d524c373dccc25a0dc3bf7ea0ad65ae0.jpg","text":"TemporaryFile(/tmp/multipartBody3261044661391429093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712303388,"filename":"image_14122025_12_05_23_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cb2f96f1c157ec216dcc704d06eb19fc.jpg","text":"TemporaryFile(/tmp/multipartBody2449037712176532049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712303388,"filename":"image_14122025_12_05_43_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13b6b2837248db5e8a225edc39902221.jpg","text":"TemporaryFile(/tmp/multipartBody7032145038468882613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712303388,"filename":"image_14122025_12_05_04_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7b7951c16e6c0f684b17b2ab9d0b2f1b.jpg","text":"TemporaryFile(/tmp/multipartBody6375476721953460513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712303388,"filename":"image_14122025_12_05_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/12/14/58ab804810585cbb222d0e850fff0ee4.jpg","text":"TemporaryFile(/tmp/multipartBody5826738630103367352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712303388,"filename":"image_14122025_12_04_54_10837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350958","file1":"1399350956","file0":"1399350955","file4":"1399350962","file5":"1399350967","file3":"1399350960"},"map_files_photo_id_array":[{"photo_id":"1399350967","filename":"file5"},{"photo_id":"1399350958","filename":"file2"},{"photo_id":"1399350962","filename":"file4"},{"photo_id":"1399350956","filename":"file1"},{"photo_id":"1399350955","filename":"file0"},{"photo_id":"1399350960","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350958":["hashtag1","hashtag2"]},{"1399350960":["hashtag1","hashtag2"]},{"1399350962":["hashtag1","hashtag2"]},{"1399350956":["hashtag1","hashtag2"]},{"1399350967":["hashtag1","hashtag2"]},{"1399350955":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350958, 1399350960, 1399350962, 1399350956, 1399350967, 1399350955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.843430042266846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:38:11.870317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:38:21.964402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/05/image_14122025_12_06_04_10611.jpg', '/home/pi/Desktop/images/14122025/12/06/image_14122025_12_06_14_9842.jpg', '/home/pi/Desktop/images/14122025/12/06/image_14122025_12_06_23_9672.jpg', '/home/pi/Desktop/images/14122025/12/06/image_14122025_12_06_33_9935.jpg', '/home/pi/Desktop/images/14122025/12/06/image_14122025_12_06_43_9819.jpg', '/home/pi/Desktop/images/14122025/12/06/image_14122025_12_06_54_10811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/05/image_14122025_12_06_04_10611.jpg
/home/pi/Desktop/images/14122025/12/06/image_14122025_12_06_14_9842.jpg
/home/pi/Desktop/images/14122025/12/06/image_14122025_12_06_23_9672.jpg
/home/pi/Desktop/images/14122025/12/06/image_14122025_12_06_33_9935.jpg
/home/pi/Desktop/images/14122025/12/06/image_14122025_12_06_43_9819.jpg
/home/pi/Desktop/images/14122025/12/06/image_14122025_12_06_54_10811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350984","1399350978","1399350980","1399350974","1399350982","1399350976"],"photo_ids_order":["1399350974","1399350976","1399350978","1399350980","1399350982","1399350984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb8c9bcdb0c12075e914f14c68c9ef7e.jpg","text":"TemporaryFile(/tmp/multipartBody8190960699549885061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712362636,"filename":"image_14122025_12_06_54_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a248ee9256ceb0ca95fdecc01681a50f.jpg","text":"TemporaryFile(/tmp/multipartBody2959506541548700808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712362636,"filename":"image_14122025_12_06_23_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a39cb9ce3fdd86bd1bbc2ccb97bad6e.jpg","text":"TemporaryFile(/tmp/multipartBody7027658445754332717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712362636,"filename":"image_14122025_12_06_33_9935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1335d3e70f43e60e53e6b80f25802a8d.jpg","text":"TemporaryFile(/tmp/multipartBody2375828611658202723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712362636,"filename":"image_14122025_12_06_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/12/14/0872a3c4eef6d3a4ead0b25ca313269b.jpg","text":"TemporaryFile(/tmp/multipartBody3999194412651610982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712362636,"filename":"image_14122025_12_06_43_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/26965499ca0323d0b36e9833ede3a030.jpg","text":"TemporaryFile(/tmp/multipartBody3346106213461534847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712362636,"filename":"image_14122025_12_06_14_9842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350978","file1":"1399350976","file0":"1399350974","file4":"1399350982","file5":"1399350984","file3":"1399350980"},"map_files_photo_id_array":[{"photo_id":"1399350984","filename":"file5"},{"photo_id":"1399350978","filename":"file2"},{"photo_id":"1399350982","filename":"file4"},{"photo_id":"1399350976","filename":"file1"},{"photo_id":"1399350974","filename":"file0"},{"photo_id":"1399350980","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350984":["hashtag1","hashtag2"]},{"1399350978":["hashtag1","hashtag2"]},{"1399350980":["hashtag1","hashtag2"]},{"1399350974":["hashtag1","hashtag2"]},{"1399350982":["hashtag1","hashtag2"]},{"1399350976":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350984, 1399350978, 1399350980, 1399350974, 1399350982, 1399350976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46671438217163 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:39:03.123022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/06/image_14122025_12_07_04_9606.jpg', '/home/pi/Desktop/images/14122025/12/07/image_14122025_12_07_13_9754.jpg', '/home/pi/Desktop/images/14122025/12/07/image_14122025_12_07_24_10588.jpg', '/home/pi/Desktop/images/14122025/12/07/image_14122025_12_07_33_9607.jpg', '/home/pi/Desktop/images/14122025/12/07/image_14122025_12_07_43_9661.jpg', '/home/pi/Desktop/images/14122025/12/07/image_14122025_12_07_54_10875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/06/image_14122025_12_07_04_9606.jpg
/home/pi/Desktop/images/14122025/12/07/image_14122025_12_07_13_9754.jpg
/home/pi/Desktop/images/14122025/12/07/image_14122025_12_07_24_10588.jpg
/home/pi/Desktop/images/14122025/12/07/image_14122025_12_07_33_9607.jpg
/home/pi/Desktop/images/14122025/12/07/image_14122025_12_07_43_9661.jpg
/home/pi/Desktop/images/14122025/12/07/image_14122025_12_07_54_10875.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399350993","1399350987","1399350986","1399350989","1399350991","1399350988"],"photo_ids_order":["1399350986","1399350987","1399350988","1399350989","1399350991","1399350993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7e5983ed906409c159dc4a9c0114b081.jpg","text":"TemporaryFile(/tmp/multipartBody3441704184692655696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712403920,"filename":"image_14122025_12_07_54_10875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d7d2699220ce9e777df94b2b0867d31d.jpg","text":"TemporaryFile(/tmp/multipartBody6623335301360972348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712403920,"filename":"image_14122025_12_07_13_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/80f59f75528519b0891ca64db2127f42.jpg","text":"TemporaryFile(/tmp/multipartBody6241575927920354625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712403920,"filename":"image_14122025_12_07_04_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1345ae7073b3f5330bf10f0db2ee3636.jpg","text":"TemporaryFile(/tmp/multipartBody7613491850948918856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712403920,"filename":"image_14122025_12_07_33_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fd945359136fc1cb6040c318bdb5a28b.jpg","text":"TemporaryFile(/tmp/multipartBody3412450498478400465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712403920,"filename":"image_14122025_12_07_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/12/14/b4dc1281e9f7d79cfd457a4bcadcb873.jpg","text":"TemporaryFile(/tmp/multipartBody5804355780545268848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712403920,"filename":"image_14122025_12_07_24_10588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350988","file1":"1399350987","file0":"1399350986","file4":"1399350991","file5":"1399350993","file3":"1399350989"},"map_files_photo_id_array":[{"photo_id":"1399350993","filename":"file5"},{"photo_id":"1399350988","filename":"file2"},{"photo_id":"1399350991","filename":"file4"},{"photo_id":"1399350987","filename":"file1"},{"photo_id":"1399350986","filename":"file0"},{"photo_id":"1399350989","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399350993":["hashtag1","hashtag2"]},{"1399350987":["hashtag1","hashtag2"]},{"1399350986":["hashtag1","hashtag2"]},{"1399350989":["hashtag1","hashtag2"]},{"1399350991":["hashtag1","hashtag2"]},{"1399350988":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399350993, 1399350987, 1399350986, 1399350989, 1399350991, 1399350988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.422091007232666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:40:02.848502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/07/image_14122025_12_08_04_9737.jpg', '/home/pi/Desktop/images/14122025/12/08/image_14122025_12_08_14_9850.jpg', '/home/pi/Desktop/images/14122025/12/08/image_14122025_12_08_23_9711.jpg', '/home/pi/Desktop/images/14122025/12/08/image_14122025_12_08_33_9708.jpg', '/home/pi/Desktop/images/14122025/12/08/image_14122025_12_08_44_10586.jpg', '/home/pi/Desktop/images/14122025/12/08/image_14122025_12_08_53_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/07/image_14122025_12_08_04_9737.jpg
/home/pi/Desktop/images/14122025/12/08/image_14122025_12_08_14_9850.jpg
/home/pi/Desktop/images/14122025/12/08/image_14122025_12_08_23_9711.jpg
/home/pi/Desktop/images/14122025/12/08/image_14122025_12_08_33_9708.jpg
/home/pi/Desktop/images/14122025/12/08/image_14122025_12_08_44_10586.jpg
/home/pi/Desktop/images/14122025/12/08/image_14122025_12_08_53_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":["1399351000","1399350999","1399351002","1399350998","1399351001","1399350997"],"photo_ids_order":["1399350997","1399350998","1399350999","1399351000","1399351001","1399351002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/42b77b41c485a6d9a432dca8a4284f92.jpg","text":"TemporaryFile(/tmp/multipartBody83047219780411068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712463550,"filename":"image_14122025_12_08_33_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d74c3ee9121911b35735242c97949533.jpg","text":"TemporaryFile(/tmp/multipartBody1730903990435070015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712463550,"filename":"image_14122025_12_08_23_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9196c7f96087cc6a34f5ea25ecb084fa.jpg","text":"TemporaryFile(/tmp/multipartBody1055958646600132865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712463550,"filename":"image_14122025_12_08_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/12/14/2cb548eb6549bb470577499f2d834282.jpg","text":"TemporaryFile(/tmp/multipartBody3775847955662373687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712463550,"filename":"image_14122025_12_08_14_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/de96bc65e3daa3d6435eba3ae563ef29.jpg","text":"TemporaryFile(/tmp/multipartBody8170145399537567306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712463550,"filename":"image_14122025_12_08_44_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8ea7f4977ef7a7a77e7f153e707f5d3b.jpg","text":"TemporaryFile(/tmp/multipartBody3046446280812388459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712463550,"filename":"image_14122025_12_08_04_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399350999","file1":"1399350998","file0":"1399350997","file4":"1399351001","file5":"1399351002","file3":"1399351000"},"map_files_photo_id_array":[{"photo_id":"1399351002","filename":"file5"},{"photo_id":"1399350999","filename":"file2"},{"photo_id":"1399351001","filename":"file4"},{"photo_id":"1399350998","filename":"file1"},{"photo_id":"1399350997","filename":"file0"},{"photo_id":"1399351000","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399351000":["hashtag1","hashtag2"]},{"1399350999":["hashtag1","hashtag2"]},{"1399351002":["hashtag1","hashtag2"]},{"1399350998":["hashtag1","hashtag2"]},{"1399351001":["hashtag1","hashtag2"]},{"1399350997":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399351000, 1399350999, 1399351002, 1399350998, 1399351001, 1399350997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25116324424744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:40:42.468005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_55_2826.jpg', '/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_04_3769.jpg', '/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_07_2594.jpg', '/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_10_3206.jpg', '/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_13_2633.jpg', '/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_16_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/07/image_04112025_13_07_55_2826.jpg
/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_04_3769.jpg
/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_07_2594.jpg
/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_10_3206.jpg
/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_13_2633.jpg
/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_16_3650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399351012","1399351014","1399351008","1399351010","1399351016","1399351018"],"photo_ids_order":["1399351008","1399351010","1399351012","1399351014","1399351016","1399351018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c1e5015e5bd63e8888c6b66e6dcbecb.jpg","text":"TemporaryFile(/tmp/multipartBody6598024337912131652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712503149,"filename":"image_04112025_13_08_07_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/099e59ae032f422a6ec00145b2435317.jpg","text":"TemporaryFile(/tmp/multipartBody6305576370005148951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712503149,"filename":"image_04112025_13_08_10_3206.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3a2393ed08a058fbeac09270319b9a19.jpg","text":"TemporaryFile(/tmp/multipartBody1934922521348657201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712503149,"filename":"image_04112025_13_07_55_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3a9f54fea844f30bf175377acb9d13a3.jpg","text":"TemporaryFile(/tmp/multipartBody4424476698886073237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712503149,"filename":"image_04112025_13_08_04_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29c5d6ee7e018c6a15a49e223b2cf469.jpg","text":"TemporaryFile(/tmp/multipartBody2400882437253232799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712503149,"filename":"image_04112025_13_08_13_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b892119d1940209b20f79059c37d04ae.jpg","text":"TemporaryFile(/tmp/multipartBody301012452339049638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712503149,"filename":"image_04112025_13_08_16_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399351012","file1":"1399351010","file0":"1399351008","file4":"1399351016","file5":"1399351018","file3":"1399351014"},"map_files_photo_id_array":[{"photo_id":"1399351018","filename":"file5"},{"photo_id":"1399351012","filename":"file2"},{"photo_id":"1399351016","filename":"file4"},{"photo_id":"1399351010","filename":"file1"},{"photo_id":"1399351008","filename":"file0"},{"photo_id":"1399351014","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399351012":["hashtag1","hashtag2"]},{"1399351014":["hashtag1","hashtag2"]},{"1399351008":["hashtag1","hashtag2"]},{"1399351010":["hashtag1","hashtag2"]},{"1399351016":["hashtag1","hashtag2"]},{"1399351018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399351012, 1399351014, 1399351008, 1399351010, 1399351016, 1399351018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28661775588989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:41:22.783377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/08/image_14122025_12_09_04_10733.jpg', '/home/pi/Desktop/images/14122025/12/09/image_14122025_12_09_14_9823.jpg', '/home/pi/Desktop/images/14122025/12/09/image_14122025_12_09_23_9593.jpg', '/home/pi/Desktop/images/14122025/12/09/image_14122025_12_09_33_9823.jpg', '/home/pi/Desktop/images/14122025/12/09/image_14122025_12_09_44_10617.jpg', '/home/pi/Desktop/images/14122025/12/09/image_14122025_12_09_54_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/08/image_14122025_12_09_04_10733.jpg
/home/pi/Desktop/images/14122025/12/09/image_14122025_12_09_14_9823.jpg
/home/pi/Desktop/images/14122025/12/09/image_14122025_12_09_23_9593.jpg
/home/pi/Desktop/images/14122025/12/09/image_14122025_12_09_33_9823.jpg
/home/pi/Desktop/images/14122025/12/09/image_14122025_12_09_44_10617.jpg
/home/pi/Desktop/images/14122025/12/09/image_14122025_12_09_54_9711.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.519974946975708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:41:32.720204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:41:42.713420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_19_2715.jpg', '/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_22_2765.jpg', '/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_25_2650.jpg', '/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_28_3879.jpg', '/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_31_2699.jpg', '/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_34_3223.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_19_2715.jpg
/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_22_2765.jpg
/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_25_2650.jpg
/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_28_3879.jpg
/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_31_2699.jpg
/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_34_3223.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399351038","1399351035","1399351037","1399351031","1399351034","1399351036"],"photo_ids_order":["1399351031","1399351034","1399351035","1399351036","1399351037","1399351038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e4d1f24dbdd78467d2fa486f119a6af7.jpg","text":"TemporaryFile(/tmp/multipartBody8384010008785856307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712563409,"filename":"image_04112025_13_08_34_3223.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ffb2d69780849d710473895f4b5e3753.jpg","text":"TemporaryFile(/tmp/multipartBody3174157797150833437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712563409,"filename":"image_04112025_13_08_25_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7cf0c184c6c0a386f973883743b30122.jpg","text":"TemporaryFile(/tmp/multipartBody2520782965774164509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712563409,"filename":"image_04112025_13_08_31_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/140ce4cf8ab05fbc3d32de84a02ff105.jpg","text":"TemporaryFile(/tmp/multipartBody9084453311371512324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712563409,"filename":"image_04112025_13_08_19_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5406b29053507ab94b3ea6192617391d.jpg","text":"TemporaryFile(/tmp/multipartBody948340331447719168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712563409,"filename":"image_04112025_13_08_22_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/635ac5ffbc26b194e46a40432c7a89a5.jpg","text":"TemporaryFile(/tmp/multipartBody5781291039048060080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712563409,"filename":"image_04112025_13_08_28_3879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399351035","file1":"1399351034","file0":"1399351031","file4":"1399351037","file5":"1399351038","file3":"1399351036"},"map_files_photo_id_array":[{"photo_id":"1399351038","filename":"file5"},{"photo_id":"1399351035","filename":"file2"},{"photo_id":"1399351037","filename":"file4"},{"photo_id":"1399351034","filename":"file1"},{"photo_id":"1399351031","filename":"file0"},{"photo_id":"1399351036","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399351038":["hashtag1","hashtag2"]},{"1399351035":["hashtag1","hashtag2"]},{"1399351037":["hashtag1","hashtag2"]},{"1399351031":["hashtag1","hashtag2"]},{"1399351034":["hashtag1","hashtag2"]},{"1399351036":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399351038, 1399351035, 1399351037, 1399351031, 1399351034, 1399351036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53028750419617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:42:22.013224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/08/image_14122025_12_09_04_10733.jpg', '/home/pi/Desktop/images/14122025/12/09/image_14122025_12_09_14_9823.jpg', '/home/pi/Desktop/images/14122025/12/09/image_14122025_12_09_23_9593.jpg', '/home/pi/Desktop/images/14122025/12/09/image_14122025_12_09_33_9823.jpg', '/home/pi/Desktop/images/14122025/12/09/image_14122025_12_09_44_10617.jpg', '/home/pi/Desktop/images/14122025/12/09/image_14122025_12_09_54_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/08/image_14122025_12_09_04_10733.jpg
/home/pi/Desktop/images/14122025/12/09/image_14122025_12_09_14_9823.jpg
/home/pi/Desktop/images/14122025/12/09/image_14122025_12_09_23_9593.jpg
/home/pi/Desktop/images/14122025/12/09/image_14122025_12_09_33_9823.jpg
/home/pi/Desktop/images/14122025/12/09/image_14122025_12_09_44_10617.jpg
/home/pi/Desktop/images/14122025/12/09/image_14122025_12_09_54_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":["1399351044","1399351041","1399351046","1399351051","1399351048","1399351039"],"photo_ids_order":["1399351039","1399351041","1399351044","1399351046","1399351048","1399351051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8286d38fb310a1c9548bf56dc8bdcfa0.jpg","text":"TemporaryFile(/tmp/multipartBody2649284208637255687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712602661,"filename":"image_14122025_12_09_23_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d44113d8a8da8bd4c6eb8f5d8741cebe.jpg","text":"TemporaryFile(/tmp/multipartBody7696000668314555546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712602661,"filename":"image_14122025_12_09_14_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d40498a2b02eeda58fa1c69e4f5f647c.jpg","text":"TemporaryFile(/tmp/multipartBody4580317823247417987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712602661,"filename":"image_14122025_12_09_33_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5fdd5769a27103a566989172dc52be24.jpg","text":"TemporaryFile(/tmp/multipartBody8618492134184855828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712602661,"filename":"image_14122025_12_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/12/14/aa59ac1532cfe3e6c14f8df1fc88cdd2.jpg","text":"TemporaryFile(/tmp/multipartBody2780528235104703125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712602661,"filename":"image_14122025_12_09_44_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a07ab67a6028c9ca28b2818eaf1df2b.jpg","text":"TemporaryFile(/tmp/multipartBody8227434557288198714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712602661,"filename":"image_14122025_12_09_04_10733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399351044","file1":"1399351041","file0":"1399351039","file4":"1399351048","file5":"1399351051","file3":"1399351046"},"map_files_photo_id_array":[{"photo_id":"1399351051","filename":"file5"},{"photo_id":"1399351044","filename":"file2"},{"photo_id":"1399351048","filename":"file4"},{"photo_id":"1399351041","filename":"file1"},{"photo_id":"1399351039","filename":"file0"},{"photo_id":"1399351046","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399351044":["hashtag1","hashtag2"]},{"1399351041":["hashtag1","hashtag2"]},{"1399351046":["hashtag1","hashtag2"]},{"1399351051":["hashtag1","hashtag2"]},{"1399351048":["hashtag1","hashtag2"]},{"1399351039":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399351044, 1399351041, 1399351046, 1399351051, 1399351048, 1399351039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99726915359497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:43:02.814032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/09/image_14122025_12_10_03_9641.jpg', '/home/pi/Desktop/images/14122025/12/10/image_14122025_12_10_14_10742.jpg', '/home/pi/Desktop/images/14122025/12/10/image_14122025_12_10_24_9741.jpg', '/home/pi/Desktop/images/14122025/12/10/image_14122025_12_10_33_9459.jpg', '/home/pi/Desktop/images/14122025/12/10/image_14122025_12_10_43_9915.jpg', '/home/pi/Desktop/images/14122025/12/10/image_14122025_12_10_53_10239.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/09/image_14122025_12_10_03_9641.jpg
/home/pi/Desktop/images/14122025/12/10/image_14122025_12_10_14_10742.jpg
/home/pi/Desktop/images/14122025/12/10/image_14122025_12_10_24_9741.jpg
/home/pi/Desktop/images/14122025/12/10/image_14122025_12_10_33_9459.jpg
/home/pi/Desktop/images/14122025/12/10/image_14122025_12_10_43_9915.jpg
/home/pi/Desktop/images/14122025/12/10/image_14122025_12_10_53_10239.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399351056","1399351058","1399351052","1399351060","1399351054","1399351057"],"photo_ids_order":["1399351052","1399351054","1399351056","1399351057","1399351058","1399351060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1abcc120d8278ec80664b966f77d4d46.jpg","text":"TemporaryFile(/tmp/multipartBody3371740727493763267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712643551,"filename":"image_14122025_12_10_24_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eb5957df0c827450fe8f8686b03d580d.jpg","text":"TemporaryFile(/tmp/multipartBody8308217613546606691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712643551,"filename":"image_14122025_12_10_43_9915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/afd64a3350f687763258a6f76e60fffa.jpg","text":"TemporaryFile(/tmp/multipartBody4532036765541126830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712643551,"filename":"image_14122025_12_10_03_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d265240e75254417cdc97b216106cb9d.jpg","text":"TemporaryFile(/tmp/multipartBody8855811970964552796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712643551,"filename":"image_14122025_12_10_53_10239.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f06e60b0a432605285d9dacf4ea75f1f.jpg","text":"TemporaryFile(/tmp/multipartBody6618838202587045911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712643551,"filename":"image_14122025_12_10_14_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8885d51030b5453d514feaf25bda21fd.jpg","text":"TemporaryFile(/tmp/multipartBody6709340842852967736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712643551,"filename":"image_14122025_12_10_33_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399351056","file1":"1399351054","file0":"1399351052","file4":"1399351058","file5":"1399351060","file3":"1399351057"},"map_files_photo_id_array":[{"photo_id":"1399351060","filename":"file5"},{"photo_id":"1399351056","filename":"file2"},{"photo_id":"1399351058","filename":"file4"},{"photo_id":"1399351054","filename":"file1"},{"photo_id":"1399351052","filename":"file0"},{"photo_id":"1399351057","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399351056":["hashtag1","hashtag2"]},{"1399351058":["hashtag1","hashtag2"]},{"1399351052":["hashtag1","hashtag2"]},{"1399351060":["hashtag1","hashtag2"]},{"1399351054":["hashtag1","hashtag2"]},{"1399351057":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399351056, 1399351058, 1399351052, 1399351060, 1399351054, 1399351057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.362131118774414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:43:42.238296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_40_2599.jpg', '/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_43_3572.jpg', '/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_52_2606.jpg', '/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_58_2671.jpg', '/home/pi/Desktop/images/04112025/13/08/image_04112025_13_09_01_3570.jpg', '/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_04_2789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_40_2599.jpg
/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_43_3572.jpg
/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_52_2606.jpg
/home/pi/Desktop/images/04112025/13/08/image_04112025_13_08_58_2671.jpg
/home/pi/Desktop/images/04112025/13/08/image_04112025_13_09_01_3570.jpg
/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_04_2789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399351071","1399351065","1399351068","1399351067","1399351070","1399351069"],"photo_ids_order":["1399351065","1399351067","1399351068","1399351069","1399351070","1399351071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/303ca286536d3a01f99af2304b4402ee.jpg","text":"TemporaryFile(/tmp/multipartBody8798702972684317875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712683055,"filename":"image_04112025_13_09_04_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9104f3134c7d87b04b6a2e27f755694e.jpg","text":"TemporaryFile(/tmp/multipartBody1712050971435013964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712683055,"filename":"image_04112025_13_08_40_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bc202a7cfdb97c866821f2f1ff24c3c9.jpg","text":"TemporaryFile(/tmp/multipartBody1822324410048923341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712683055,"filename":"image_04112025_13_08_52_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf36a72848c0eeff4af09649b40135ca.jpg","text":"TemporaryFile(/tmp/multipartBody3994619014496665204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712683055,"filename":"image_04112025_13_08_43_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/75c3bb45fc0325b6f86ea05054eda033.jpg","text":"TemporaryFile(/tmp/multipartBody1727644765403610470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712683055,"filename":"image_04112025_13_09_01_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/435d726884d563b25410d3fc2464df29.jpg","text":"TemporaryFile(/tmp/multipartBody6593068807028886435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712683055,"filename":"image_04112025_13_08_58_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399351068","file1":"1399351067","file0":"1399351065","file4":"1399351070","file5":"1399351071","file3":"1399351069"},"map_files_photo_id_array":[{"photo_id":"1399351071","filename":"file5"},{"photo_id":"1399351068","filename":"file2"},{"photo_id":"1399351070","filename":"file4"},{"photo_id":"1399351067","filename":"file1"},{"photo_id":"1399351065","filename":"file0"},{"photo_id":"1399351069","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399351071":["hashtag1","hashtag2"]},{"1399351065":["hashtag1","hashtag2"]},{"1399351068":["hashtag1","hashtag2"]},{"1399351067":["hashtag1","hashtag2"]},{"1399351070":["hashtag1","hashtag2"]},{"1399351069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399351071, 1399351065, 1399351068, 1399351067, 1399351070, 1399351069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.024187088012695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:44:32.650719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:44:42.537039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_06_2561.jpg', '/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_10_3630.jpg', '/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_16_2710.jpg', '/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_31_3824.jpg', '/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_34_2850.jpg', '/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_37_3099.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_06_2561.jpg
/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_10_3630.jpg
/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_16_2710.jpg
/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_31_3824.jpg
/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_34_2850.jpg
/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_37_3099.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5868699550628662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:45:03.551136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/10/image_14122025_12_11_04_10586.jpg', '/home/pi/Desktop/images/14122025/12/11/image_14122025_12_11_14_9779.jpg', '/home/pi/Desktop/images/14122025/12/11/image_14122025_12_11_23_9637.jpg', '/home/pi/Desktop/images/14122025/12/11/image_14122025_12_11_34_10270.jpg', '/home/pi/Desktop/images/14122025/12/11/image_14122025_12_11_43_9787.jpg', '/home/pi/Desktop/images/14122025/12/11/image_14122025_12_11_53_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/10/image_14122025_12_11_04_10586.jpg
/home/pi/Desktop/images/14122025/12/11/image_14122025_12_11_14_9779.jpg
/home/pi/Desktop/images/14122025/12/11/image_14122025_12_11_23_9637.jpg
/home/pi/Desktop/images/14122025/12/11/image_14122025_12_11_34_10270.jpg
/home/pi/Desktop/images/14122025/12/11/image_14122025_12_11_43_9787.jpg
/home/pi/Desktop/images/14122025/12/11/image_14122025_12_11_53_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":["1399351086","1399351085","1399351088","1399351090","1399351087","1399351092"],"photo_ids_order":["1399351085","1399351086","1399351087","1399351088","1399351090","1399351092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7158c430a2bcc8b098d68369030a6781.jpg","text":"TemporaryFile(/tmp/multipartBody2763752378124557963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712764202,"filename":"image_14122025_12_11_14_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e03be83ba45644a96d515ce8b028796d.jpg","text":"TemporaryFile(/tmp/multipartBody4211289689112645962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712764202,"filename":"image_14122025_12_11_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/12/14/04ed58c051c43d2ce2e3c04d789d04bd.jpg","text":"TemporaryFile(/tmp/multipartBody7108188130959087925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712764202,"filename":"image_14122025_12_11_34_10270.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6948b3340a199ae125586d3b1d37c6c1.jpg","text":"TemporaryFile(/tmp/multipartBody6690541206388523227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712764202,"filename":"image_14122025_12_11_43_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e367b7a34d9557caa07fb92b4e77fdd.jpg","text":"TemporaryFile(/tmp/multipartBody923861314484629454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712764202,"filename":"image_14122025_12_11_23_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2723fea2ec41cb6ebaf943ae2424b780.jpg","text":"TemporaryFile(/tmp/multipartBody8504501539900433825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712764202,"filename":"image_14122025_12_11_53_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399351087","file1":"1399351086","file0":"1399351085","file4":"1399351090","file5":"1399351092","file3":"1399351088"},"map_files_photo_id_array":[{"photo_id":"1399351092","filename":"file5"},{"photo_id":"1399351087","filename":"file2"},{"photo_id":"1399351090","filename":"file4"},{"photo_id":"1399351086","filename":"file1"},{"photo_id":"1399351085","filename":"file0"},{"photo_id":"1399351088","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399351086":["hashtag1","hashtag2"]},{"1399351085":["hashtag1","hashtag2"]},{"1399351088":["hashtag1","hashtag2"]},{"1399351090":["hashtag1","hashtag2"]},{"1399351087":["hashtag1","hashtag2"]},{"1399351092":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399351086, 1399351085, 1399351088, 1399351090, 1399351087, 1399351092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75599241256714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:45:42.733570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_06_2561.jpg', '/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_10_3630.jpg', '/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_16_2710.jpg', '/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_31_3824.jpg', '/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_34_2850.jpg', '/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_37_3099.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_06_2561.jpg
/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_10_3630.jpg
/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_16_2710.jpg
/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_31_3824.jpg
/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_34_2850.jpg
/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_37_3099.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399351101","1399351097","1399351103","1399351100","1399351099","1399351102"],"photo_ids_order":["1399351097","1399351099","1399351100","1399351101","1399351102","1399351103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b2c6de7c45e9e13a47f057257aaff6b4.jpg","text":"TemporaryFile(/tmp/multipartBody5033681621070412386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712803377,"filename":"image_04112025_13_09_31_3824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94757f5508707bf26d513ef3bcec85d4.jpg","text":"TemporaryFile(/tmp/multipartBody3294491205105830684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712803377,"filename":"image_04112025_13_09_06_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0dc7be4fb6e9a499dd0bbc69c9878ebd.jpg","text":"TemporaryFile(/tmp/multipartBody1165799931657299897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712803377,"filename":"image_04112025_13_09_37_3099.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e75a343e58ee0a96b05f44bc1c4d24d0.jpg","text":"TemporaryFile(/tmp/multipartBody3968877212096615457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712803377,"filename":"image_04112025_13_09_16_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b5395b61ec0a791bf737b67bbfb7b651.jpg","text":"TemporaryFile(/tmp/multipartBody4661971583121050524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712803377,"filename":"image_04112025_13_09_10_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f2b8a225ac921a2a7245454fe46e2ce.jpg","text":"TemporaryFile(/tmp/multipartBody7046475184100406362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712803377,"filename":"image_04112025_13_09_34_2850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399351100","file1":"1399351099","file0":"1399351097","file4":"1399351102","file5":"1399351103","file3":"1399351101"},"map_files_photo_id_array":[{"photo_id":"1399351103","filename":"file5"},{"photo_id":"1399351100","filename":"file2"},{"photo_id":"1399351102","filename":"file4"},{"photo_id":"1399351099","filename":"file1"},{"photo_id":"1399351097","filename":"file0"},{"photo_id":"1399351101","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399351101":["hashtag1","hashtag2"]},{"1399351097":["hashtag1","hashtag2"]},{"1399351103":["hashtag1","hashtag2"]},{"1399351100":["hashtag1","hashtag2"]},{"1399351099":["hashtag1","hashtag2"]},{"1399351102":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399351101, 1399351097, 1399351103, 1399351100, 1399351099, 1399351102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52021622657776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:46:22.003667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/11/image_14122025_12_12_04_10643.jpg', '/home/pi/Desktop/images/14122025/12/12/image_14122025_12_12_13_9744.jpg', '/home/pi/Desktop/images/14122025/12/12/image_14122025_12_12_23_9960.jpg', '/home/pi/Desktop/images/14122025/12/12/image_14122025_12_12_33_9705.jpg', '/home/pi/Desktop/images/14122025/12/12/image_14122025_12_12_43_10334.jpg', '/home/pi/Desktop/images/14122025/12/12/image_14122025_12_12_53_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/11/image_14122025_12_12_04_10643.jpg
/home/pi/Desktop/images/14122025/12/12/image_14122025_12_12_13_9744.jpg
/home/pi/Desktop/images/14122025/12/12/image_14122025_12_12_23_9960.jpg
/home/pi/Desktop/images/14122025/12/12/image_14122025_12_12_33_9705.jpg
/home/pi/Desktop/images/14122025/12/12/image_14122025_12_12_43_10334.jpg
/home/pi/Desktop/images/14122025/12/12/image_14122025_12_12_53_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.5577175617218018 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:46:32.053398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:46:42.005062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_46_3667.jpg', '/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_49_2692.jpg', '/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_55_6040.jpg', '/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_01_5857.jpg', '/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_07_5962.jpg', '/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_10_1562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_46_3667.jpg
/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_49_2692.jpg
/home/pi/Desktop/images/04112025/13/09/image_04112025_13_09_55_6040.jpg
/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_01_5857.jpg
/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_07_5962.jpg
/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_10_1562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399351119","1399351116","1399351118","1399351115","1399351114","1399351117"],"photo_ids_order":["1399351114","1399351115","1399351116","1399351117","1399351118","1399351119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c0cf1af4dd648f21c95465900aa8b6bd.jpg","text":"TemporaryFile(/tmp/multipartBody3559420781467313378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712862738,"filename":"image_04112025_13_10_10_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/83dfcb32c3aec9f1f12e6b0c18de2577.jpg","text":"TemporaryFile(/tmp/multipartBody1212135207671712874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712862738,"filename":"image_04112025_13_09_55_6040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b8ff7a20de18f8837399e998c16def5f.jpg","text":"TemporaryFile(/tmp/multipartBody1822325058685469939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712862738,"filename":"image_04112025_13_10_07_5962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be53698cff74c0776a31e51a1bd9490f.jpg","text":"TemporaryFile(/tmp/multipartBody6891676292060812655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712862738,"filename":"image_04112025_13_09_49_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e0c4c175fbac6bea72cba1c3837f1fd0.jpg","text":"TemporaryFile(/tmp/multipartBody2609809856908301093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712862738,"filename":"image_04112025_13_09_46_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d8dfc9daf60750577d7692862b61673f.jpg","text":"TemporaryFile(/tmp/multipartBody931679265302199671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712862738,"filename":"image_04112025_13_10_01_5857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399351116","file1":"1399351115","file0":"1399351114","file4":"1399351118","file5":"1399351119","file3":"1399351117"},"map_files_photo_id_array":[{"photo_id":"1399351119","filename":"file5"},{"photo_id":"1399351116","filename":"file2"},{"photo_id":"1399351118","filename":"file4"},{"photo_id":"1399351115","filename":"file1"},{"photo_id":"1399351114","filename":"file0"},{"photo_id":"1399351117","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399351119":["hashtag1","hashtag2"]},{"1399351116":["hashtag1","hashtag2"]},{"1399351118":["hashtag1","hashtag2"]},{"1399351115":["hashtag1","hashtag2"]},{"1399351114":["hashtag1","hashtag2"]},{"1399351117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399351119, 1399351116, 1399351118, 1399351115, 1399351114, 1399351117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.667866468429565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:47:22.184696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/11/image_14122025_12_12_04_10643.jpg', '/home/pi/Desktop/images/14122025/12/12/image_14122025_12_12_13_9744.jpg', '/home/pi/Desktop/images/14122025/12/12/image_14122025_12_12_23_9960.jpg', '/home/pi/Desktop/images/14122025/12/12/image_14122025_12_12_33_9705.jpg', '/home/pi/Desktop/images/14122025/12/12/image_14122025_12_12_43_10334.jpg', '/home/pi/Desktop/images/14122025/12/12/image_14122025_12_12_53_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/11/image_14122025_12_12_04_10643.jpg
/home/pi/Desktop/images/14122025/12/12/image_14122025_12_12_13_9744.jpg
/home/pi/Desktop/images/14122025/12/12/image_14122025_12_12_23_9960.jpg
/home/pi/Desktop/images/14122025/12/12/image_14122025_12_12_33_9705.jpg
/home/pi/Desktop/images/14122025/12/12/image_14122025_12_12_43_10334.jpg
/home/pi/Desktop/images/14122025/12/12/image_14122025_12_12_53_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399351131","1399351125","1399351121","1399351127","1399351120","1399351123"],"photo_ids_order":["1399351120","1399351121","1399351123","1399351125","1399351127","1399351131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24c1e35a2cd1ed87832c66bfe60fa017.jpg","text":"TemporaryFile(/tmp/multipartBody3177332885474866095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712902853,"filename":"image_14122025_12_12_53_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/05550fb5fc9d0025d6e2d07a4901dba1.jpg","text":"TemporaryFile(/tmp/multipartBody7428358738071325537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712902853,"filename":"image_14122025_12_12_33_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/117cfe880b61c9e15e677136ef589c4e.jpg","text":"TemporaryFile(/tmp/multipartBody7492647667390450486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712902853,"filename":"image_14122025_12_12_13_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/18544b51a09e35a2d9f164da08f388df.jpg","text":"TemporaryFile(/tmp/multipartBody3107785836562873324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712902853,"filename":"image_14122025_12_12_43_10334.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d89a52acfb3ff384de895f73e2f2a50c.jpg","text":"TemporaryFile(/tmp/multipartBody286840560579393881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712902853,"filename":"image_14122025_12_12_04_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2cdef0367c08ff9018c5ce9edac1688.jpg","text":"TemporaryFile(/tmp/multipartBody7039921318010552517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712902853,"filename":"image_14122025_12_12_23_9960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399351123","file1":"1399351121","file0":"1399351120","file4":"1399351127","file5":"1399351131","file3":"1399351125"},"map_files_photo_id_array":[{"photo_id":"1399351131","filename":"file5"},{"photo_id":"1399351123","filename":"file2"},{"photo_id":"1399351127","filename":"file4"},{"photo_id":"1399351121","filename":"file1"},{"photo_id":"1399351120","filename":"file0"},{"photo_id":"1399351125","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399351131":["hashtag1","hashtag2"]},{"1399351125":["hashtag1","hashtag2"]},{"1399351121":["hashtag1","hashtag2"]},{"1399351127":["hashtag1","hashtag2"]},{"1399351120":["hashtag1","hashtag2"]},{"1399351123":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399351131, 1399351125, 1399351121, 1399351127, 1399351120, 1399351123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.212059020996094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:48:02.885164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/13/image_14122025_12_13_14_9659.jpg', '/home/pi/Desktop/images/14122025/12/13/image_14122025_12_13_23_9726.jpg', '/home/pi/Desktop/images/14122025/12/13/image_14122025_12_13_34_10587.jpg', '/home/pi/Desktop/images/14122025/12/13/image_14122025_12_13_44_9747.jpg', '/home/pi/Desktop/images/14122025/12/13/image_14122025_12_13_53_9656.jpg', '/home/pi/Desktop/images/14122025/12/13/image_14122025_12_14_03_9841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/13/image_14122025_12_13_14_9659.jpg
/home/pi/Desktop/images/14122025/12/13/image_14122025_12_13_23_9726.jpg
/home/pi/Desktop/images/14122025/12/13/image_14122025_12_13_34_10587.jpg
/home/pi/Desktop/images/14122025/12/13/image_14122025_12_13_44_9747.jpg
/home/pi/Desktop/images/14122025/12/13/image_14122025_12_13_53_9656.jpg
/home/pi/Desktop/images/14122025/12/13/image_14122025_12_14_03_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":["1399351137","1399351140","1399351142","1399351139","1399351144","1399351141"],"photo_ids_order":["1399351137","1399351139","1399351140","1399351141","1399351142","1399351144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9b3f0ab7869ecde47f086c2a3335b0b8.jpg","text":"TemporaryFile(/tmp/multipartBody2229538584054439234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712943531,"filename":"image_14122025_12_13_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/12/14/08bbe3fe73f477df6d22bbd50e8fcebc.jpg","text":"TemporaryFile(/tmp/multipartBody2870880135437584962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712943531,"filename":"image_14122025_12_13_34_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c787a3aee33e8cdadb3c0d7bfd9ab9d.jpg","text":"TemporaryFile(/tmp/multipartBody4421770816524999286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712943531,"filename":"image_14122025_12_13_53_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4dd62ffa4ae42050040878e8ffe876f7.jpg","text":"TemporaryFile(/tmp/multipartBody9075445408346649798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712943531,"filename":"image_14122025_12_13_23_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c54e70bfe0e318d29c1bfd0c2ff17627.jpg","text":"TemporaryFile(/tmp/multipartBody5144582109540595750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712943531,"filename":"image_14122025_12_14_03_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c5b8d91495c25224953ffb06611240b.jpg","text":"TemporaryFile(/tmp/multipartBody8289115821214076298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712943531,"filename":"image_14122025_12_13_44_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399351140","file1":"1399351139","file0":"1399351137","file4":"1399351142","file5":"1399351144","file3":"1399351141"},"map_files_photo_id_array":[{"photo_id":"1399351144","filename":"file5"},{"photo_id":"1399351140","filename":"file2"},{"photo_id":"1399351142","filename":"file4"},{"photo_id":"1399351139","filename":"file1"},{"photo_id":"1399351137","filename":"file0"},{"photo_id":"1399351141","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399351137":["hashtag1","hashtag2"]},{"1399351140":["hashtag1","hashtag2"]},{"1399351142":["hashtag1","hashtag2"]},{"1399351139":["hashtag1","hashtag2"]},{"1399351144":["hashtag1","hashtag2"]},{"1399351141":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399351137, 1399351140, 1399351142, 1399351139, 1399351144, 1399351141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7489230632782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:48:42.475278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_12_1734.jpg', '/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_14_1751.jpg', '/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_15_1613.jpg', '/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_21_5326.jpg', '/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_22_1701.jpg', '/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_24_1592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_12_1734.jpg
/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_14_1751.jpg
/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_15_1613.jpg
/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_21_5326.jpg
/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_22_1701.jpg
/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_24_1592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399351152","1399351149","1399351154","1399351151","1399351153","1399351156"],"photo_ids_order":["1399351149","1399351151","1399351152","1399351153","1399351154","1399351156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ca954df54ff3668d7127004a5782c3da.jpg","text":"TemporaryFile(/tmp/multipartBody874903006497620862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712983191,"filename":"image_04112025_13_10_15_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/175c97cf4d1097e07e7d032e0369fe0b.jpg","text":"TemporaryFile(/tmp/multipartBody5223677913626904815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712983191,"filename":"image_04112025_13_10_12_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e943b50387634cb7b2accaff6f1859b3.jpg","text":"TemporaryFile(/tmp/multipartBody4680941296460955356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712983191,"filename":"image_04112025_13_10_22_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b33513236da16339dbc681bc34534183.jpg","text":"TemporaryFile(/tmp/multipartBody989344638964226099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712983191,"filename":"image_04112025_13_10_14_1751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ff452d9a02443edc9dccff1f4f1adab4.jpg","text":"TemporaryFile(/tmp/multipartBody8498022640027890076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712983191,"filename":"image_04112025_13_10_21_5326.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/de0bae118bf6b97e84d74246c8ef0528.jpg","text":"TemporaryFile(/tmp/multipartBody6126975392849376382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765712983191,"filename":"image_04112025_13_10_24_1592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399351152","file1":"1399351151","file0":"1399351149","file4":"1399351154","file5":"1399351156","file3":"1399351153"},"map_files_photo_id_array":[{"photo_id":"1399351156","filename":"file5"},{"photo_id":"1399351152","filename":"file2"},{"photo_id":"1399351154","filename":"file4"},{"photo_id":"1399351151","filename":"file1"},{"photo_id":"1399351149","filename":"file0"},{"photo_id":"1399351153","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399351152":["hashtag1","hashtag2"]},{"1399351149":["hashtag1","hashtag2"]},{"1399351154":["hashtag1","hashtag2"]},{"1399351151":["hashtag1","hashtag2"]},{"1399351153":["hashtag1","hashtag2"]},{"1399351156":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399351152, 1399351149, 1399351154, 1399351151, 1399351153, 1399351156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.566831827163696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:49:22.874590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/14/image_14122025_12_14_14_10702.jpg', '/home/pi/Desktop/images/14122025/12/14/image_14122025_12_14_23_9658.jpg', '/home/pi/Desktop/images/14122025/12/14/image_14122025_12_14_44_10715.jpg', '/home/pi/Desktop/images/14122025/12/14/image_14122025_12_14_54_9674.jpg', '/home/pi/Desktop/images/14122025/12/14/image_14122025_12_15_03_9696.jpg', '/home/pi/Desktop/images/14122025/12/15/image_14122025_12_15_24_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/14/image_14122025_12_14_14_10702.jpg
/home/pi/Desktop/images/14122025/12/14/image_14122025_12_14_23_9658.jpg
/home/pi/Desktop/images/14122025/12/14/image_14122025_12_14_44_10715.jpg
/home/pi/Desktop/images/14122025/12/14/image_14122025_12_14_54_9674.jpg
/home/pi/Desktop/images/14122025/12/14/image_14122025_12_15_03_9696.jpg
/home/pi/Desktop/images/14122025/12/15/image_14122025_12_15_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":["1399351161","1399351158","1399351169","1399351160","1399351163","1399351165"],"photo_ids_order":["1399351158","1399351160","1399351161","1399351163","1399351165","1399351169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8e403b4dd04238b5a22c75e78498a9be.jpg","text":"TemporaryFile(/tmp/multipartBody2743712127869255296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713023510,"filename":"image_14122025_12_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/12/14/a96b02dc237f5e150a6a99abd799aba7.jpg","text":"TemporaryFile(/tmp/multipartBody5277493128003963603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713023510,"filename":"image_14122025_12_14_14_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/07b1aa3f0c9fae6dceed9131aadec543.jpg","text":"TemporaryFile(/tmp/multipartBody1863497421500276659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713023510,"filename":"image_14122025_12_15_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/12/14/a0b60f3237645a7785b2f9f48e967629.jpg","text":"TemporaryFile(/tmp/multipartBody1617776100374912878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713023510,"filename":"image_14122025_12_14_23_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/67e21a8388914e1daa64a68e3f536867.jpg","text":"TemporaryFile(/tmp/multipartBody401806996224818881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713023510,"filename":"image_14122025_12_14_54_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/976d12f0ef96bed30c2951fce6c0f69c.jpg","text":"TemporaryFile(/tmp/multipartBody2003116835964430827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713023510,"filename":"image_14122025_12_15_03_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399351161","file1":"1399351160","file0":"1399351158","file4":"1399351165","file5":"1399351169","file3":"1399351163"},"map_files_photo_id_array":[{"photo_id":"1399351169","filename":"file5"},{"photo_id":"1399351161","filename":"file2"},{"photo_id":"1399351165","filename":"file4"},{"photo_id":"1399351160","filename":"file1"},{"photo_id":"1399351158","filename":"file0"},{"photo_id":"1399351163","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399351161":["hashtag1","hashtag2"]},{"1399351158":["hashtag1","hashtag2"]},{"1399351169":["hashtag1","hashtag2"]},{"1399351160":["hashtag1","hashtag2"]},{"1399351163":["hashtag1","hashtag2"]},{"1399351165":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399351161, 1399351158, 1399351169, 1399351160, 1399351163, 1399351165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.815831422805786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:50:02.454532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/15/image_14122025_12_15_33_9737.jpg', '/home/pi/Desktop/images/14122025/12/15/image_14122025_12_15_43_9756.jpg', '/home/pi/Desktop/images/14122025/12/15/image_14122025_12_16_04_9747.jpg', '/home/pi/Desktop/images/14122025/12/16/image_14122025_12_16_13_9637.jpg', '/home/pi/Desktop/images/14122025/12/16/image_14122025_12_16_24_10661.jpg', '/home/pi/Desktop/images/14122025/12/16/image_14122025_12_16_34_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/15/image_14122025_12_15_33_9737.jpg
/home/pi/Desktop/images/14122025/12/15/image_14122025_12_15_43_9756.jpg
/home/pi/Desktop/images/14122025/12/15/image_14122025_12_16_04_9747.jpg
/home/pi/Desktop/images/14122025/12/16/image_14122025_12_16_13_9637.jpg
/home/pi/Desktop/images/14122025/12/16/image_14122025_12_16_24_10661.jpg
/home/pi/Desktop/images/14122025/12/16/image_14122025_12_16_34_9806.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5526814460754395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:50:12.111864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:50:22.082733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/15/image_14122025_12_15_33_9737.jpg', '/home/pi/Desktop/images/14122025/12/15/image_14122025_12_15_43_9756.jpg', '/home/pi/Desktop/images/14122025/12/15/image_14122025_12_16_04_9747.jpg', '/home/pi/Desktop/images/14122025/12/16/image_14122025_12_16_13_9637.jpg', '/home/pi/Desktop/images/14122025/12/16/image_14122025_12_16_24_10661.jpg', '/home/pi/Desktop/images/14122025/12/16/image_14122025_12_16_34_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/15/image_14122025_12_15_33_9737.jpg
/home/pi/Desktop/images/14122025/12/15/image_14122025_12_15_43_9756.jpg
/home/pi/Desktop/images/14122025/12/15/image_14122025_12_16_04_9747.jpg
/home/pi/Desktop/images/14122025/12/16/image_14122025_12_16_13_9637.jpg
/home/pi/Desktop/images/14122025/12/16/image_14122025_12_16_24_10661.jpg
/home/pi/Desktop/images/14122025/12/16/image_14122025_12_16_34_9806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399351179","1399351181","1399351175","1399351183","1399351177","1399351186"],"photo_ids_order":["1399351175","1399351177","1399351179","1399351181","1399351183","1399351186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/114a340499ae04b42e47b9fb6d0a30ed.jpg","text":"TemporaryFile(/tmp/multipartBody6519956497163206089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713082709,"filename":"image_14122025_12_16_04_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9988d7e6696ce776d7cfe0c092788df3.jpg","text":"TemporaryFile(/tmp/multipartBody1809175732108869496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713082709,"filename":"image_14122025_12_16_13_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f29989a7623dfc6261c1903b631f22ba.jpg","text":"TemporaryFile(/tmp/multipartBody3667861287180669684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713082709,"filename":"image_14122025_12_15_33_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/22c32797b57ade9b00ba68d05be10251.jpg","text":"TemporaryFile(/tmp/multipartBody6383025904600008384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713082709,"filename":"image_14122025_12_16_24_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/de20c6c26ce3670a818f1c4d24f7616d.jpg","text":"TemporaryFile(/tmp/multipartBody7355202552473657865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713082709,"filename":"image_14122025_12_15_43_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/52eae605165c896e8820c7c312616492.jpg","text":"TemporaryFile(/tmp/multipartBody2727822382468250683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713082709,"filename":"image_14122025_12_16_34_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399351179","file1":"1399351177","file0":"1399351175","file4":"1399351183","file5":"1399351186","file3":"1399351181"},"map_files_photo_id_array":[{"photo_id":"1399351186","filename":"file5"},{"photo_id":"1399351179","filename":"file2"},{"photo_id":"1399351183","filename":"file4"},{"photo_id":"1399351177","filename":"file1"},{"photo_id":"1399351175","filename":"file0"},{"photo_id":"1399351181","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399351179":["hashtag1","hashtag2"]},{"1399351181":["hashtag1","hashtag2"]},{"1399351175":["hashtag1","hashtag2"]},{"1399351183":["hashtag1","hashtag2"]},{"1399351177":["hashtag1","hashtag2"]},{"1399351186":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399351179, 1399351181, 1399351175, 1399351183, 1399351177, 1399351186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44691848754883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:51:03.036664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/16/image_14122025_12_16_43_9561.jpg', '/home/pi/Desktop/images/14122025/12/16/image_14122025_12_16_53_9969.jpg', '/home/pi/Desktop/images/14122025/12/16/image_14122025_12_17_04_10655.jpg', '/home/pi/Desktop/images/14122025/12/17/image_14122025_12_17_14_9877.jpg', '/home/pi/Desktop/images/14122025/12/17/image_14122025_12_17_24_9748.jpg', '/home/pi/Desktop/images/14122025/12/17/image_14122025_12_17_33_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/16/image_14122025_12_16_43_9561.jpg
/home/pi/Desktop/images/14122025/12/16/image_14122025_12_16_53_9969.jpg
/home/pi/Desktop/images/14122025/12/16/image_14122025_12_17_04_10655.jpg
/home/pi/Desktop/images/14122025/12/17/image_14122025_12_17_14_9877.jpg
/home/pi/Desktop/images/14122025/12/17/image_14122025_12_17_24_9748.jpg
/home/pi/Desktop/images/14122025/12/17/image_14122025_12_17_33_9749.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5741734504699707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:51:12.192980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:51:22.244934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/16/image_14122025_12_16_43_9561.jpg', '/home/pi/Desktop/images/14122025/12/16/image_14122025_12_16_53_9969.jpg', '/home/pi/Desktop/images/14122025/12/16/image_14122025_12_17_04_10655.jpg', '/home/pi/Desktop/images/14122025/12/17/image_14122025_12_17_14_9877.jpg', '/home/pi/Desktop/images/14122025/12/17/image_14122025_12_17_24_9748.jpg', '/home/pi/Desktop/images/14122025/12/17/image_14122025_12_17_33_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/16/image_14122025_12_16_43_9561.jpg
/home/pi/Desktop/images/14122025/12/16/image_14122025_12_16_53_9969.jpg
/home/pi/Desktop/images/14122025/12/16/image_14122025_12_17_04_10655.jpg
/home/pi/Desktop/images/14122025/12/17/image_14122025_12_17_14_9877.jpg
/home/pi/Desktop/images/14122025/12/17/image_14122025_12_17_24_9748.jpg
/home/pi/Desktop/images/14122025/12/17/image_14122025_12_17_33_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":["1399351204","1399351197","1399351199","1399351195","1399351192","1399351201"],"photo_ids_order":["1399351192","1399351195","1399351197","1399351199","1399351201","1399351204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6bd4554d4c97718edd533e051b1691ac.jpg","text":"TemporaryFile(/tmp/multipartBody4136969310988518240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713142873,"filename":"image_14122025_12_17_33_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a63f691afff320ae05e607250590f4cd.jpg","text":"TemporaryFile(/tmp/multipartBody4527847717128037790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713142873,"filename":"image_14122025_12_17_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/12/14/25b2abe42b1fc3a3f4cab5ab71b3296b.jpg","text":"TemporaryFile(/tmp/multipartBody3573319771428900243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713142873,"filename":"image_14122025_12_17_14_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cfb5ec56116de6a478d9946d1566fda4.jpg","text":"TemporaryFile(/tmp/multipartBody7646612827325262042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713142873,"filename":"image_14122025_12_16_53_9969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e052aadb454a6657c05d6985a772c306.jpg","text":"TemporaryFile(/tmp/multipartBody391049594318206733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713142873,"filename":"image_14122025_12_16_43_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/15704176094e51a475a8e24dd663f2ee.jpg","text":"TemporaryFile(/tmp/multipartBody3593946296960399600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713142873,"filename":"image_14122025_12_17_24_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399351197","file1":"1399351195","file0":"1399351192","file4":"1399351201","file5":"1399351204","file3":"1399351199"},"map_files_photo_id_array":[{"photo_id":"1399351204","filename":"file5"},{"photo_id":"1399351197","filename":"file2"},{"photo_id":"1399351201","filename":"file4"},{"photo_id":"1399351195","filename":"file1"},{"photo_id":"1399351192","filename":"file0"},{"photo_id":"1399351199","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399351204":["hashtag1","hashtag2"]},{"1399351197":["hashtag1","hashtag2"]},{"1399351199":["hashtag1","hashtag2"]},{"1399351195":["hashtag1","hashtag2"]},{"1399351192":["hashtag1","hashtag2"]},{"1399351201":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399351204, 1399351197, 1399351199, 1399351195, 1399351192, 1399351201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08372187614441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:52:03.030627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/17/image_14122025_12_17_44_10662.jpg', '/home/pi/Desktop/images/14122025/12/18/image_14122025_12_18_13_9845.jpg', '/home/pi/Desktop/images/14122025/12/18/image_14122025_12_18_24_10842.jpg', '/home/pi/Desktop/images/14122025/12/18/image_14122025_12_18_34_9793.jpg', '/home/pi/Desktop/images/14122025/12/18/image_14122025_12_18_43_9661.jpg', '/home/pi/Desktop/images/14122025/12/18/image_14122025_12_18_53_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/17/image_14122025_12_17_44_10662.jpg
/home/pi/Desktop/images/14122025/12/18/image_14122025_12_18_13_9845.jpg
/home/pi/Desktop/images/14122025/12/18/image_14122025_12_18_24_10842.jpg
/home/pi/Desktop/images/14122025/12/18/image_14122025_12_18_34_9793.jpg
/home/pi/Desktop/images/14122025/12/18/image_14122025_12_18_43_9661.jpg
/home/pi/Desktop/images/14122025/12/18/image_14122025_12_18_53_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":["1399351210","1399351209","1399351211","1399351208","1399351213","1399351207"],"photo_ids_order":["1399351207","1399351208","1399351209","1399351210","1399351211","1399351213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b189da9b61c35c2a25fc7bb93197ee3.jpg","text":"TemporaryFile(/tmp/multipartBody8420357492044931283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713183695,"filename":"image_14122025_12_18_34_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b7796365b25179c7cec54d963c338284.jpg","text":"TemporaryFile(/tmp/multipartBody6112321205187248221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713183695,"filename":"image_14122025_12_18_24_10842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ea4848328c448a11d4fda6e52dec8d3.jpg","text":"TemporaryFile(/tmp/multipartBody9160936929709568562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713183695,"filename":"image_14122025_12_18_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/12/14/320b7e0ca017b5bd69deb055f15dade9.jpg","text":"TemporaryFile(/tmp/multipartBody7651614732762339310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713183695,"filename":"image_14122025_12_18_13_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/09047a69830b5a8d3b114e1de4655539.jpg","text":"TemporaryFile(/tmp/multipartBody6643406224714259218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713183695,"filename":"image_14122025_12_18_53_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f051187df4d866cc888211d19c975615.jpg","text":"TemporaryFile(/tmp/multipartBody7366753775719587864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713183695,"filename":"image_14122025_12_17_44_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399351209","file1":"1399351208","file0":"1399351207","file4":"1399351211","file5":"1399351213","file3":"1399351210"},"map_files_photo_id_array":[{"photo_id":"1399351213","filename":"file5"},{"photo_id":"1399351209","filename":"file2"},{"photo_id":"1399351211","filename":"file4"},{"photo_id":"1399351208","filename":"file1"},{"photo_id":"1399351207","filename":"file0"},{"photo_id":"1399351210","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399351210":["hashtag1","hashtag2"]},{"1399351209":["hashtag1","hashtag2"]},{"1399351211":["hashtag1","hashtag2"]},{"1399351208":["hashtag1","hashtag2"]},{"1399351213":["hashtag1","hashtag2"]},{"1399351207":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399351210, 1399351209, 1399351211, 1399351208, 1399351213, 1399351207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01087808609009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:52:42.565549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_26_1773.jpg', '/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_28_2555.jpg', '/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_31_2622.jpg', '/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_34_3519.jpg', '/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_37_2659.jpg', '/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_40_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_26_1773.jpg
/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_28_2555.jpg
/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_31_2622.jpg
/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_34_3519.jpg
/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_37_2659.jpg
/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_40_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":["1399351219","1399351218","1399351221","1399351220","1399351223","1399351217"],"photo_ids_order":["1399351217","1399351218","1399351219","1399351220","1399351221","1399351223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/41ba7d66585412474e2faa4aceff7d30.jpg","text":"TemporaryFile(/tmp/multipartBody6688904199397609878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713223326,"filename":"image_04112025_13_10_31_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d37d206879d64f43ee4663b8c48f32fb.jpg","text":"TemporaryFile(/tmp/multipartBody3160865225322009978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713223326,"filename":"image_04112025_13_10_28_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/503f3bd39396e5b773fbb71b5c6f395b.jpg","text":"TemporaryFile(/tmp/multipartBody5621982973915771372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713223326,"filename":"image_04112025_13_10_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/12/14/aaf2c4c9ed307a4a67af309ec9ab4c7b.jpg","text":"TemporaryFile(/tmp/multipartBody2023077457333579213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713223326,"filename":"image_04112025_13_10_34_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94040b83d11f67a7908df607bba674fa.jpg","text":"TemporaryFile(/tmp/multipartBody1580038938141717803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713223326,"filename":"image_04112025_13_10_40_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc5e737f6c0ef5592bf762c788570c54.jpg","text":"TemporaryFile(/tmp/multipartBody7217792326140585001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713223326,"filename":"image_04112025_13_10_26_1773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399351219","file1":"1399351218","file0":"1399351217","file4":"1399351221","file5":"1399351223","file3":"1399351220"},"map_files_photo_id_array":[{"photo_id":"1399351223","filename":"file5"},{"photo_id":"1399351219","filename":"file2"},{"photo_id":"1399351221","filename":"file4"},{"photo_id":"1399351218","filename":"file1"},{"photo_id":"1399351217","filename":"file0"},{"photo_id":"1399351220","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399351219":["hashtag1","hashtag2"]},{"1399351218":["hashtag1","hashtag2"]},{"1399351221":["hashtag1","hashtag2"]},{"1399351220":["hashtag1","hashtag2"]},{"1399351223":["hashtag1","hashtag2"]},{"1399351217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399351219, 1399351218, 1399351221, 1399351220, 1399351223, 1399351217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25831460952759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:53:21.830487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/18/image_14122025_12_19_04_10888.jpg', '/home/pi/Desktop/images/14122025/12/19/image_14122025_12_19_14_9657.jpg', '/home/pi/Desktop/images/14122025/12/19/image_14122025_12_19_23_9592.jpg', '/home/pi/Desktop/images/14122025/12/19/image_14122025_12_19_44_9647.jpg', '/home/pi/Desktop/images/14122025/12/19/image_14122025_12_19_53_9733.jpg', '/home/pi/Desktop/images/14122025/12/19/image_14122025_12_20_04_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/18/image_14122025_12_19_04_10888.jpg
/home/pi/Desktop/images/14122025/12/19/image_14122025_12_19_14_9657.jpg
/home/pi/Desktop/images/14122025/12/19/image_14122025_12_19_23_9592.jpg
/home/pi/Desktop/images/14122025/12/19/image_14122025_12_19_44_9647.jpg
/home/pi/Desktop/images/14122025/12/19/image_14122025_12_19_53_9733.jpg
/home/pi/Desktop/images/14122025/12/19/image_14122025_12_20_04_10669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399351230","1399351224","1399351235","1399351232","1399351226","1399351228"],"photo_ids_order":["1399351224","1399351226","1399351228","1399351230","1399351232","1399351235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/526d4e14c3d6b0168bdfe1608c665cba.jpg","text":"TemporaryFile(/tmp/multipartBody1771589613584556539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713262499,"filename":"image_14122025_12_19_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f960a6368f9f7d61f692bd1f3c00bf9.jpg","text":"TemporaryFile(/tmp/multipartBody4724198525820534278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713262499,"filename":"image_14122025_12_19_04_10888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e92d050b96f159a8172afba479c0d28c.jpg","text":"TemporaryFile(/tmp/multipartBody279390372181726841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713262499,"filename":"image_14122025_12_20_04_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/781ee7f4cd012e5a22bd1f7486ace494.jpg","text":"TemporaryFile(/tmp/multipartBody7164405085360745202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713262499,"filename":"image_14122025_12_19_53_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9b24a87e2a051f35d6ad5870e47faa99.jpg","text":"TemporaryFile(/tmp/multipartBody908523619729971207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713262499,"filename":"image_14122025_12_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/12/14/c645b6c21913bd9df6af8d5d6eaca68a.jpg","text":"TemporaryFile(/tmp/multipartBody563735536390399273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713262499,"filename":"image_14122025_12_19_23_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399351228","file1":"1399351226","file0":"1399351224","file4":"1399351232","file5":"1399351235","file3":"1399351230"},"map_files_photo_id_array":[{"photo_id":"1399351235","filename":"file5"},{"photo_id":"1399351228","filename":"file2"},{"photo_id":"1399351232","filename":"file4"},{"photo_id":"1399351226","filename":"file1"},{"photo_id":"1399351224","filename":"file0"},{"photo_id":"1399351230","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399351230":["hashtag1","hashtag2"]},{"1399351224":["hashtag1","hashtag2"]},{"1399351235":["hashtag1","hashtag2"]},{"1399351232":["hashtag1","hashtag2"]},{"1399351226":["hashtag1","hashtag2"]},{"1399351228":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399351230, 1399351224, 1399351235, 1399351232, 1399351226, 1399351228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10936117172241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:54:02.774461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/20/image_14122025_12_20_14_9935.jpg', '/home/pi/Desktop/images/14122025/12/20/image_14122025_12_20_24_9680.jpg', '/home/pi/Desktop/images/14122025/12/20/image_14122025_12_20_33_9694.jpg', '/home/pi/Desktop/images/14122025/12/20/image_14122025_12_20_44_10632.jpg', '/home/pi/Desktop/images/14122025/12/20/image_14122025_12_20_54_9781.jpg', '/home/pi/Desktop/images/14122025/12/20/image_14122025_12_21_04_9877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/20/image_14122025_12_20_14_9935.jpg
/home/pi/Desktop/images/14122025/12/20/image_14122025_12_20_24_9680.jpg
/home/pi/Desktop/images/14122025/12/20/image_14122025_12_20_33_9694.jpg
/home/pi/Desktop/images/14122025/12/20/image_14122025_12_20_44_10632.jpg
/home/pi/Desktop/images/14122025/12/20/image_14122025_12_20_54_9781.jpg
/home/pi/Desktop/images/14122025/12/20/image_14122025_12_21_04_9877.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6169760227203369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:54:12.021702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:54:22.038293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/20/image_14122025_12_20_14_9935.jpg', '/home/pi/Desktop/images/14122025/12/20/image_14122025_12_20_24_9680.jpg', '/home/pi/Desktop/images/14122025/12/20/image_14122025_12_20_33_9694.jpg', '/home/pi/Desktop/images/14122025/12/20/image_14122025_12_20_44_10632.jpg', '/home/pi/Desktop/images/14122025/12/20/image_14122025_12_20_54_9781.jpg', '/home/pi/Desktop/images/14122025/12/20/image_14122025_12_21_04_9877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/20/image_14122025_12_20_14_9935.jpg
/home/pi/Desktop/images/14122025/12/20/image_14122025_12_20_24_9680.jpg
/home/pi/Desktop/images/14122025/12/20/image_14122025_12_20_33_9694.jpg
/home/pi/Desktop/images/14122025/12/20/image_14122025_12_20_44_10632.jpg
/home/pi/Desktop/images/14122025/12/20/image_14122025_12_20_54_9781.jpg
/home/pi/Desktop/images/14122025/12/20/image_14122025_12_21_04_9877.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399351245","1399351253","1399351247","1399351250","1399351243","1399351255"],"photo_ids_order":["1399351243","1399351245","1399351247","1399351250","1399351253","1399351255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92c57dda73357edbb6287c29737f5ff4.jpg","text":"TemporaryFile(/tmp/multipartBody8520452460593659444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713322684,"filename":"image_14122025_12_20_24_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56932f8cabcec17b406fb4d7743327c1.jpg","text":"TemporaryFile(/tmp/multipartBody611138681371418940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713322684,"filename":"image_14122025_12_20_54_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1a9b05023cc5cb1ae980f231583a9581.jpg","text":"TemporaryFile(/tmp/multipartBody3796950592355993381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713322684,"filename":"image_14122025_12_20_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/12/14/28da30a0bce44656d7c4bc2bd214e203.jpg","text":"TemporaryFile(/tmp/multipartBody8084588478627065173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713322684,"filename":"image_14122025_12_20_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/12/14/45e1c1bf8cbc9fd4f98b23dcd07b18f8.jpg","text":"TemporaryFile(/tmp/multipartBody6931852848252768003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713322684,"filename":"image_14122025_12_20_14_9935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/49bc3125b0c910f8c633dfcc448fb54d.jpg","text":"TemporaryFile(/tmp/multipartBody6019425379671092911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713322684,"filename":"image_14122025_12_21_04_9877.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399351247","file1":"1399351245","file0":"1399351243","file4":"1399351253","file5":"1399351255","file3":"1399351250"},"map_files_photo_id_array":[{"photo_id":"1399351255","filename":"file5"},{"photo_id":"1399351247","filename":"file2"},{"photo_id":"1399351253","filename":"file4"},{"photo_id":"1399351245","filename":"file1"},{"photo_id":"1399351243","filename":"file0"},{"photo_id":"1399351250","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399351245":["hashtag1","hashtag2"]},{"1399351253":["hashtag1","hashtag2"]},{"1399351247":["hashtag1","hashtag2"]},{"1399351250":["hashtag1","hashtag2"]},{"1399351243":["hashtag1","hashtag2"]},{"1399351255":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399351245, 1399351253, 1399351247, 1399351250, 1399351243, 1399351255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16557025909424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:55:02.843986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/21/image_14122025_12_21_13_9735.jpg', '/home/pi/Desktop/images/14122025/12/21/image_14122025_12_21_34_9789.jpg', '/home/pi/Desktop/images/14122025/12/21/image_14122025_12_21_43_9594.jpg', '/home/pi/Desktop/images/14122025/12/21/image_14122025_12_21_54_10659.jpg', '/home/pi/Desktop/images/14122025/12/21/image_14122025_12_22_04_9617.jpg', '/home/pi/Desktop/images/14122025/12/22/image_14122025_12_22_23_9863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/21/image_14122025_12_21_13_9735.jpg
/home/pi/Desktop/images/14122025/12/21/image_14122025_12_21_34_9789.jpg
/home/pi/Desktop/images/14122025/12/21/image_14122025_12_21_43_9594.jpg
/home/pi/Desktop/images/14122025/12/21/image_14122025_12_21_54_10659.jpg
/home/pi/Desktop/images/14122025/12/21/image_14122025_12_22_04_9617.jpg
/home/pi/Desktop/images/14122025/12/22/image_14122025_12_22_23_9863.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5943737030029297 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 12:55:12.173316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:55:22.205827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/21/image_14122025_12_21_13_9735.jpg', '/home/pi/Desktop/images/14122025/12/21/image_14122025_12_21_34_9789.jpg', '/home/pi/Desktop/images/14122025/12/21/image_14122025_12_21_43_9594.jpg', '/home/pi/Desktop/images/14122025/12/21/image_14122025_12_21_54_10659.jpg', '/home/pi/Desktop/images/14122025/12/21/image_14122025_12_22_04_9617.jpg', '/home/pi/Desktop/images/14122025/12/22/image_14122025_12_22_23_9863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/21/image_14122025_12_21_13_9735.jpg
/home/pi/Desktop/images/14122025/12/21/image_14122025_12_21_34_9789.jpg
/home/pi/Desktop/images/14122025/12/21/image_14122025_12_21_43_9594.jpg
/home/pi/Desktop/images/14122025/12/21/image_14122025_12_21_54_10659.jpg
/home/pi/Desktop/images/14122025/12/21/image_14122025_12_22_04_9617.jpg
/home/pi/Desktop/images/14122025/12/22/image_14122025_12_22_23_9863.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399351272","1399351269","1399351263","1399351265","1399351261","1399351267"],"photo_ids_order":["1399351261","1399351263","1399351265","1399351267","1399351269","1399351272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c199cd4ec854a284f844c5107fa040d3.jpg","text":"TemporaryFile(/tmp/multipartBody4119408678762479979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713382875,"filename":"image_14122025_12_22_23_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae1ba39cefa15518ab1f1b84434ce779.jpg","text":"TemporaryFile(/tmp/multipartBody8760809222406508016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713382875,"filename":"image_14122025_12_22_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/12/14/995816ddb4c992ebe87b97aa6c016d3a.jpg","text":"TemporaryFile(/tmp/multipartBody9092744313057125575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713382875,"filename":"image_14122025_12_21_34_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/485a9f34049e03387db46837dfbc728a.jpg","text":"TemporaryFile(/tmp/multipartBody7153000792562488336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713382875,"filename":"image_14122025_12_21_43_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c95a34ebcc796dc46763bdb5372e6a7a.jpg","text":"TemporaryFile(/tmp/multipartBody6145771713781054732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713382875,"filename":"image_14122025_12_21_13_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a6b90a9340712aa4015ae9939c9c904.jpg","text":"TemporaryFile(/tmp/multipartBody1387807885612129073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713382875,"filename":"image_14122025_12_21_54_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399351265","file1":"1399351263","file0":"1399351261","file4":"1399351269","file5":"1399351272","file3":"1399351267"},"map_files_photo_id_array":[{"photo_id":"1399351272","filename":"file5"},{"photo_id":"1399351265","filename":"file2"},{"photo_id":"1399351269","filename":"file4"},{"photo_id":"1399351263","filename":"file1"},{"photo_id":"1399351261","filename":"file0"},{"photo_id":"1399351267","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399351272":["hashtag1","hashtag2"]},{"1399351269":["hashtag1","hashtag2"]},{"1399351263":["hashtag1","hashtag2"]},{"1399351265":["hashtag1","hashtag2"]},{"1399351261":["hashtag1","hashtag2"]},{"1399351267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399351272, 1399351269, 1399351263, 1399351265, 1399351261, 1399351267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18038535118103 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:56:02.830633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/22/image_14122025_12_22_34_10664.jpg', '/home/pi/Desktop/images/14122025/12/22/image_14122025_12_23_04_10703.jpg', '/home/pi/Desktop/images/14122025/12/23/image_14122025_12_23_14_9598.jpg', '/home/pi/Desktop/images/14122025/12/23/image_14122025_12_23_33_9722.jpg', '/home/pi/Desktop/images/14122025/12/23/image_14122025_12_23_44_10750.jpg', '/home/pi/Desktop/images/14122025/12/23/image_14122025_12_23_54_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/22/image_14122025_12_22_34_10664.jpg
/home/pi/Desktop/images/14122025/12/22/image_14122025_12_23_04_10703.jpg
/home/pi/Desktop/images/14122025/12/23/image_14122025_12_23_14_9598.jpg
/home/pi/Desktop/images/14122025/12/23/image_14122025_12_23_33_9722.jpg
/home/pi/Desktop/images/14122025/12/23/image_14122025_12_23_44_10750.jpg
/home/pi/Desktop/images/14122025/12/23/image_14122025_12_23_54_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":["1399351275","1399351278","1399351277","1399351274","1399351276","1399351279"],"photo_ids_order":["1399351274","1399351275","1399351276","1399351277","1399351278","1399351279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/427f99654403360151ebfe1fdc9df141.jpg","text":"TemporaryFile(/tmp/multipartBody487099524982586735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713423539,"filename":"image_14122025_12_23_04_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f14e083db1e95c64d66d3c56a2410fb.jpg","text":"TemporaryFile(/tmp/multipartBody6631786956612492060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713423539,"filename":"image_14122025_12_23_44_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3a00292d85ef98ea890797ca7f701539.jpg","text":"TemporaryFile(/tmp/multipartBody2948469811779736863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713423539,"filename":"image_14122025_12_23_33_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b24593ceaee631c0a79e86ee7830a2d.jpg","text":"TemporaryFile(/tmp/multipartBody4553899945896751717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713423539,"filename":"image_14122025_12_22_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/12/14/5ba8eedb9cc4d2fddc5d9bd7b0efeb68.jpg","text":"TemporaryFile(/tmp/multipartBody4723370253878121066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713423539,"filename":"image_14122025_12_23_14_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/002bac5c5b676583ee67ce32459f6fb9.jpg","text":"TemporaryFile(/tmp/multipartBody2256745153413564499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713423539,"filename":"image_14122025_12_23_54_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399351276","file1":"1399351275","file0":"1399351274","file4":"1399351278","file5":"1399351279","file3":"1399351277"},"map_files_photo_id_array":[{"photo_id":"1399351279","filename":"file5"},{"photo_id":"1399351276","filename":"file2"},{"photo_id":"1399351278","filename":"file4"},{"photo_id":"1399351275","filename":"file1"},{"photo_id":"1399351274","filename":"file0"},{"photo_id":"1399351277","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399351275":["hashtag1","hashtag2"]},{"1399351278":["hashtag1","hashtag2"]},{"1399351277":["hashtag1","hashtag2"]},{"1399351274":["hashtag1","hashtag2"]},{"1399351276":["hashtag1","hashtag2"]},{"1399351279":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399351275, 1399351278, 1399351277, 1399351274, 1399351276, 1399351279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45644235610962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 12:56:42.359681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_42_2781.jpg', '/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_46_3661.jpg', '/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_49_2632.jpg', '/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_51_2658.jpg', '/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_55_3623.jpg', '/home/pi/Desktop/images/04112025/13/10/image_04112025_13_11_01_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_42_2781.jpg
/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_46_3661.jpg
/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_49_2632.jpg
/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_51_2658.jpg
/home/pi/Desktop/images/04112025/13/10/image_04112025_13_10_55_3623.jpg
/home/pi/Desktop/images/04112025/13/10/image_04112025_13_11_01_3570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399351287","1399351332","1399351289","1399351294","1399351285","1399351372"],"photo_ids_order":["1399351285","1399351287","1399351289","1399351294","1399351332","1399351372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d44f15eb4bc9207ecbd1232233f1e0f7.jpg","text":"TemporaryFile(/tmp/multipartBody7648771583654618811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713463080,"filename":"image_04112025_13_10_46_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ddbfc11ea388fec588e0837af8e145b.jpg","text":"TemporaryFile(/tmp/multipartBody1769973698488538225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713463080,"filename":"image_04112025_13_10_55_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/828dec51ceddcc4d9ab16db50f4d8166.jpg","text":"TemporaryFile(/tmp/multipartBody5237902871926917854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713463080,"filename":"image_04112025_13_10_49_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4216f61a1ca3e1efa04c0162f34bc7c6.jpg","text":"TemporaryFile(/tmp/multipartBody2054734369120742631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713463080,"filename":"image_04112025_13_10_51_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1112fbb5599af158ef9abeb6cd0cb520.jpg","text":"TemporaryFile(/tmp/multipartBody4737014202738628740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713463080,"filename":"image_04112025_13_10_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/12/14/87979876e342196804d0cfce23f96790.jpg","text":"TemporaryFile(/tmp/multipartBody8770674814847802268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713463080,"filename":"image_04112025_13_11_01_3570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399351289","file1":"1399351287","file0":"1399351285","file4":"1399351332","file5":"1399351372","file3":"1399351294"},"map_files_photo_id_array":[{"photo_id":"1399351372","filename":"file5"},{"photo_id":"1399351289","filename":"file2"},{"photo_id":"1399351332","filename":"file4"},{"photo_id":"1399351287","filename":"file1"},{"photo_id":"1399351285","filename":"file0"},{"photo_id":"1399351294","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399351287":["hashtag1","hashtag2"]},{"1399351332":["hashtag1","hashtag2"]},{"1399351289":["hashtag1","hashtag2"]},{"1399351294":["hashtag1","hashtag2"]},{"1399351285":["hashtag1","hashtag2"]},{"1399351372":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399351287, 1399351332, 1399351289, 1399351294, 1399351285, 1399351372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71535634994507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 12:57:22.644189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/23/image_14122025_12_24_03_9711.jpg', '/home/pi/Desktop/images/14122025/12/24/image_14122025_12_24_13_9814.jpg', '/home/pi/Desktop/images/14122025/12/24/image_14122025_12_24_24_10654.jpg', '/home/pi/Desktop/images/14122025/12/24/image_14122025_12_24_43_9789.jpg', '/home/pi/Desktop/images/14122025/12/24/image_14122025_12_24_54_10689.jpg', '/home/pi/Desktop/images/14122025/12/24/image_14122025_12_25_04_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/23/image_14122025_12_24_03_9711.jpg
/home/pi/Desktop/images/14122025/12/24/image_14122025_12_24_13_9814.jpg
/home/pi/Desktop/images/14122025/12/24/image_14122025_12_24_24_10654.jpg
/home/pi/Desktop/images/14122025/12/24/image_14122025_12_24_43_9789.jpg
/home/pi/Desktop/images/14122025/12/24/image_14122025_12_24_54_10689.jpg
/home/pi/Desktop/images/14122025/12/24/image_14122025_12_25_04_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399351557","1399351556","1399351550","1399351594","1399351555","1399351507"],"photo_ids_order":["1399351507","1399351550","1399351555","1399351556","1399351557","1399351594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51cc4ea70f7976e59ea78095899de762.jpg","text":"TemporaryFile(/tmp/multipartBody4037591646908565318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713503283,"filename":"image_14122025_12_24_54_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/30246083acc5a9ca1e96c58536182c74.jpg","text":"TemporaryFile(/tmp/multipartBody8073416102028196063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713503283,"filename":"image_14122025_12_24_43_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b0c1baaa262e95df4551ca78d1d411f1.jpg","text":"TemporaryFile(/tmp/multipartBody3120980844797746289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713503283,"filename":"image_14122025_12_24_13_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/53651efb4a1df43a2c57acb786d28b26.jpg","text":"TemporaryFile(/tmp/multipartBody4818531866546002304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713503283,"filename":"image_14122025_12_25_04_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f8f9214231185d12b2b4a00e20c6f47a.jpg","text":"TemporaryFile(/tmp/multipartBody6540492762324203379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713503283,"filename":"image_14122025_12_24_24_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f761bbebdbd36e6be5c1f4f96252c99.jpg","text":"TemporaryFile(/tmp/multipartBody8240706474898023915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713503283,"filename":"image_14122025_12_24_03_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399351555","file1":"1399351550","file0":"1399351507","file4":"1399351557","file5":"1399351594","file3":"1399351556"},"map_files_photo_id_array":[{"photo_id":"1399351594","filename":"file5"},{"photo_id":"1399351555","filename":"file2"},{"photo_id":"1399351557","filename":"file4"},{"photo_id":"1399351550","filename":"file1"},{"photo_id":"1399351507","filename":"file0"},{"photo_id":"1399351556","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399351557":["hashtag1","hashtag2"]},{"1399351556":["hashtag1","hashtag2"]},{"1399351550":["hashtag1","hashtag2"]},{"1399351594":["hashtag1","hashtag2"]},{"1399351555":["hashtag1","hashtag2"]},{"1399351507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399351557, 1399351556, 1399351550, 1399351594, 1399351555, 1399351507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81660985946655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 12:59:02.854810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/25/image_14122025_12_25_13_9561.jpg', '/home/pi/Desktop/images/14122025/12/25/image_14122025_12_25_24_10721.jpg', '/home/pi/Desktop/images/14122025/12/25/image_14122025_12_25_44_10129.jpg', '/home/pi/Desktop/images/14122025/12/25/image_14122025_12_25_53_9681.jpg', '/home/pi/Desktop/images/14122025/12/25/image_14122025_12_26_03_9766.jpg', '/home/pi/Desktop/images/14122025/12/26/image_14122025_12_26_14_10767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/25/image_14122025_12_25_13_9561.jpg
/home/pi/Desktop/images/14122025/12/25/image_14122025_12_25_24_10721.jpg
/home/pi/Desktop/images/14122025/12/25/image_14122025_12_25_44_10129.jpg
/home/pi/Desktop/images/14122025/12/25/image_14122025_12_25_53_9681.jpg
/home/pi/Desktop/images/14122025/12/25/image_14122025_12_26_03_9766.jpg
/home/pi/Desktop/images/14122025/12/26/image_14122025_12_26_14_10767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352043","1399352037","1399352031","1399352034","1399352039","1399352041"],"photo_ids_order":["1399352031","1399352034","1399352037","1399352039","1399352041","1399352043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d1dc656fa45281662d4e55c4d33fea2b.jpg","text":"TemporaryFile(/tmp/multipartBody3843561457620727363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713603660,"filename":"image_14122025_12_26_14_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6026ecc659af03e0db15f81ee3f2735d.jpg","text":"TemporaryFile(/tmp/multipartBody4201536791640692901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713603660,"filename":"image_14122025_12_25_44_10129.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/96ef50cc58d9652560103aa4ba8554eb.jpg","text":"TemporaryFile(/tmp/multipartBody4721315896960353948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713603660,"filename":"image_14122025_12_25_13_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6032d4045fc1c3627c1f7e5ae69dc563.jpg","text":"TemporaryFile(/tmp/multipartBody7782887601546245780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713603660,"filename":"image_14122025_12_25_24_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8e00fafcba43fb77a8c5907487544923.jpg","text":"TemporaryFile(/tmp/multipartBody5742593919748731638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713603660,"filename":"image_14122025_12_25_53_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3c2bb956cba4cff1d7dfb4bf0d9b1fbf.jpg","text":"TemporaryFile(/tmp/multipartBody2183293596294441037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713603660,"filename":"image_14122025_12_26_03_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352037","file1":"1399352034","file0":"1399352031","file4":"1399352041","file5":"1399352043","file3":"1399352039"},"map_files_photo_id_array":[{"photo_id":"1399352043","filename":"file5"},{"photo_id":"1399352037","filename":"file2"},{"photo_id":"1399352041","filename":"file4"},{"photo_id":"1399352034","filename":"file1"},{"photo_id":"1399352031","filename":"file0"},{"photo_id":"1399352039","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352043":["hashtag1","hashtag2"]},{"1399352037":["hashtag1","hashtag2"]},{"1399352031":["hashtag1","hashtag2"]},{"1399352034":["hashtag1","hashtag2"]},{"1399352039":["hashtag1","hashtag2"]},{"1399352041":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352043, 1399352037, 1399352031, 1399352034, 1399352039, 1399352041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52194118499756 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:00:02.731503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/26/image_14122025_12_26_24_9595.jpg', '/home/pi/Desktop/images/14122025/12/26/image_14122025_12_26_33_9692.jpg', '/home/pi/Desktop/images/14122025/12/26/image_14122025_12_26_44_10675.jpg', '/home/pi/Desktop/images/14122025/12/26/image_14122025_12_26_54_9703.jpg', '/home/pi/Desktop/images/14122025/12/26/image_14122025_12_27_03_9704.jpg', '/home/pi/Desktop/images/14122025/12/27/image_14122025_12_27_13_9861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/26/image_14122025_12_26_24_9595.jpg
/home/pi/Desktop/images/14122025/12/26/image_14122025_12_26_33_9692.jpg
/home/pi/Desktop/images/14122025/12/26/image_14122025_12_26_44_10675.jpg
/home/pi/Desktop/images/14122025/12/26/image_14122025_12_26_54_9703.jpg
/home/pi/Desktop/images/14122025/12/26/image_14122025_12_27_03_9704.jpg
/home/pi/Desktop/images/14122025/12/27/image_14122025_12_27_13_9861.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352058","1399352057","1399352056","1399352059","1399352053","1399352055"],"photo_ids_order":["1399352053","1399352055","1399352056","1399352057","1399352058","1399352059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9baf276e9506ad4178e3dd3cbe6ceeb6.jpg","text":"TemporaryFile(/tmp/multipartBody5419546010755989700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713663417,"filename":"image_14122025_12_27_03_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e45c2666be36890ca2f79a7c1208e7b3.jpg","text":"TemporaryFile(/tmp/multipartBody6804101004754389277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713663417,"filename":"image_14122025_12_26_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/12/14/bd704549254eebf19ecf0f7c802fc821.jpg","text":"TemporaryFile(/tmp/multipartBody4676548352514061900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713663417,"filename":"image_14122025_12_26_44_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/52810e36b1b75b4beca5f15bc738a61b.jpg","text":"TemporaryFile(/tmp/multipartBody7954525631560774462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713663417,"filename":"image_14122025_12_27_13_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e5558bc96a799dbf251d5d989adf48de.jpg","text":"TemporaryFile(/tmp/multipartBody3827427205326662506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713663417,"filename":"image_14122025_12_26_24_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0e0e98d219adb02440d4369511f6163f.jpg","text":"TemporaryFile(/tmp/multipartBody8715938878291175090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713663417,"filename":"image_14122025_12_26_33_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352056","file1":"1399352055","file0":"1399352053","file4":"1399352058","file5":"1399352059","file3":"1399352057"},"map_files_photo_id_array":[{"photo_id":"1399352059","filename":"file5"},{"photo_id":"1399352056","filename":"file2"},{"photo_id":"1399352058","filename":"file4"},{"photo_id":"1399352055","filename":"file1"},{"photo_id":"1399352053","filename":"file0"},{"photo_id":"1399352057","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352058":["hashtag1","hashtag2"]},{"1399352057":["hashtag1","hashtag2"]},{"1399352056":["hashtag1","hashtag2"]},{"1399352059":["hashtag1","hashtag2"]},{"1399352053":["hashtag1","hashtag2"]},{"1399352055":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352058, 1399352057, 1399352056, 1399352059, 1399352053, 1399352055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86365866661072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:00:42.351842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_04_2766.jpg', '/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_07_2711.jpg', '/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_09_2550.jpg', '/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_19_9409.jpg', '/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_20_1702.jpg', '/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_22_1684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_04_2766.jpg
/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_07_2711.jpg
/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_09_2550.jpg
/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_19_9409.jpg
/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_20_1702.jpg
/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_22_1684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352070","1399352075","1399352071","1399352065","1399352068","1399352073"],"photo_ids_order":["1399352065","1399352068","1399352070","1399352071","1399352073","1399352075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c28ae9b44651856576cfa8d1002133a.jpg","text":"TemporaryFile(/tmp/multipartBody6424137604412886042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713703064,"filename":"image_04112025_13_11_09_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c8ba979610fe7b3aeb6102f1365dcf60.jpg","text":"TemporaryFile(/tmp/multipartBody1634654933756182533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713703064,"filename":"image_04112025_13_11_22_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe68ff494d53db301adf9dc22d43627d.jpg","text":"TemporaryFile(/tmp/multipartBody1966804007921557075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713703064,"filename":"image_04112025_13_11_19_9409.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2c69f138cdc37b475c3ffa4ea685efc1.jpg","text":"TemporaryFile(/tmp/multipartBody3292545840443750856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713703064,"filename":"image_04112025_13_11_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/12/14/5c838c423a3b318ad3bc565b4d4e401e.jpg","text":"TemporaryFile(/tmp/multipartBody9072138935217430673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713703064,"filename":"image_04112025_13_11_07_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c991d9718b02ab8a8566f77216530e58.jpg","text":"TemporaryFile(/tmp/multipartBody3836114484259924147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713703064,"filename":"image_04112025_13_11_20_1702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352070","file1":"1399352068","file0":"1399352065","file4":"1399352073","file5":"1399352075","file3":"1399352071"},"map_files_photo_id_array":[{"photo_id":"1399352075","filename":"file5"},{"photo_id":"1399352070","filename":"file2"},{"photo_id":"1399352073","filename":"file4"},{"photo_id":"1399352068","filename":"file1"},{"photo_id":"1399352065","filename":"file0"},{"photo_id":"1399352071","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352070":["hashtag1","hashtag2"]},{"1399352075":["hashtag1","hashtag2"]},{"1399352071":["hashtag1","hashtag2"]},{"1399352065":["hashtag1","hashtag2"]},{"1399352068":["hashtag1","hashtag2"]},{"1399352073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352070, 1399352075, 1399352071, 1399352065, 1399352068, 1399352073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10958194732666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:01:22.720227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/27/image_14122025_12_27_24_10671.jpg', '/home/pi/Desktop/images/14122025/12/27/image_14122025_12_27_34_9707.jpg', '/home/pi/Desktop/images/14122025/12/27/image_14122025_12_27_43_9588.jpg', '/home/pi/Desktop/images/14122025/12/27/image_14122025_12_27_54_10658.jpg', '/home/pi/Desktop/images/14122025/12/27/image_14122025_12_28_03_9554.jpg', '/home/pi/Desktop/images/14122025/12/28/image_14122025_12_28_13_10011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/27/image_14122025_12_27_24_10671.jpg
/home/pi/Desktop/images/14122025/12/27/image_14122025_12_27_34_9707.jpg
/home/pi/Desktop/images/14122025/12/27/image_14122025_12_27_43_9588.jpg
/home/pi/Desktop/images/14122025/12/27/image_14122025_12_27_54_10658.jpg
/home/pi/Desktop/images/14122025/12/27/image_14122025_12_28_03_9554.jpg
/home/pi/Desktop/images/14122025/12/28/image_14122025_12_28_13_10011.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.542743444442749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 13:01:32.608051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:01:42.573407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_24_1598.jpg', '/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_27_1900.jpg', '/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_31_3592.jpg', '/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_34_2573.jpg', '/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_37_3587.jpg', '/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_40_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_24_1598.jpg
/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_27_1900.jpg
/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_31_3592.jpg
/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_34_2573.jpg
/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_37_3587.jpg
/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_40_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":["1399352090","1399352093","1399352087","1399352092","1399352095","1399352091"],"photo_ids_order":["1399352087","1399352090","1399352091","1399352092","1399352093","1399352095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6777bbe5087047b3f603ea6e3df5d13b.jpg","text":"TemporaryFile(/tmp/multipartBody5452578277182495887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713763278,"filename":"image_04112025_13_11_27_1900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/810a7a503f157f1a8cccbbc9be662b56.jpg","text":"TemporaryFile(/tmp/multipartBody4504041750274058328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713763278,"filename":"image_04112025_13_11_37_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f2c8c67297eeabe630e9603ca32356c.jpg","text":"TemporaryFile(/tmp/multipartBody5723884843719328268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713763278,"filename":"image_04112025_13_11_24_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4df22cb1ca96286a788c20721f4a2cf6.jpg","text":"TemporaryFile(/tmp/multipartBody985807069540656369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713763278,"filename":"image_04112025_13_11_34_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d25aac1847f03003d59128a10b33b0e.jpg","text":"TemporaryFile(/tmp/multipartBody6737700389718084762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713763278,"filename":"image_04112025_13_11_40_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db36b0cdd046a9f7c57aca840bc2b0be.jpg","text":"TemporaryFile(/tmp/multipartBody2047055894869805921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713763278,"filename":"image_04112025_13_11_31_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352091","file1":"1399352090","file0":"1399352087","file4":"1399352093","file5":"1399352095","file3":"1399352092"},"map_files_photo_id_array":[{"photo_id":"1399352095","filename":"file5"},{"photo_id":"1399352091","filename":"file2"},{"photo_id":"1399352093","filename":"file4"},{"photo_id":"1399352090","filename":"file1"},{"photo_id":"1399352087","filename":"file0"},{"photo_id":"1399352092","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352090":["hashtag1","hashtag2"]},{"1399352093":["hashtag1","hashtag2"]},{"1399352087":["hashtag1","hashtag2"]},{"1399352092":["hashtag1","hashtag2"]},{"1399352095":["hashtag1","hashtag2"]},{"1399352091":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352090, 1399352093, 1399352087, 1399352092, 1399352095, 1399352091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.756762981414795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:02:21.854151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/27/image_14122025_12_27_24_10671.jpg', '/home/pi/Desktop/images/14122025/12/27/image_14122025_12_27_34_9707.jpg', '/home/pi/Desktop/images/14122025/12/27/image_14122025_12_27_43_9588.jpg', '/home/pi/Desktop/images/14122025/12/27/image_14122025_12_27_54_10658.jpg', '/home/pi/Desktop/images/14122025/12/27/image_14122025_12_28_03_9554.jpg', '/home/pi/Desktop/images/14122025/12/28/image_14122025_12_28_13_10011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/27/image_14122025_12_27_24_10671.jpg
/home/pi/Desktop/images/14122025/12/27/image_14122025_12_27_34_9707.jpg
/home/pi/Desktop/images/14122025/12/27/image_14122025_12_27_43_9588.jpg
/home/pi/Desktop/images/14122025/12/27/image_14122025_12_27_54_10658.jpg
/home/pi/Desktop/images/14122025/12/27/image_14122025_12_28_03_9554.jpg
/home/pi/Desktop/images/14122025/12/28/image_14122025_12_28_13_10011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352103","1399352099","1399352105","1399352107","1399352101","1399352104"],"photo_ids_order":["1399352099","1399352101","1399352103","1399352104","1399352105","1399352107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f6cce183ec60704eca7620f76a053a3.jpg","text":"TemporaryFile(/tmp/multipartBody6899658958111281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713802558,"filename":"image_14122025_12_27_43_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d58d2002e99fc641b7d2a2114f3cb99b.jpg","text":"TemporaryFile(/tmp/multipartBody6792438529439156665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713802558,"filename":"image_14122025_12_27_24_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9aa75a91b82dd69ba2079df0be4c968b.jpg","text":"TemporaryFile(/tmp/multipartBody851185128448597805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713802558,"filename":"image_14122025_12_28_03_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/72fcdb61444cdb1d70054471a92c7cbe.jpg","text":"TemporaryFile(/tmp/multipartBody5149293423366952713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713802558,"filename":"image_14122025_12_28_13_10011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dcd5eec8d19a3b42d63f2f55131ea809.jpg","text":"TemporaryFile(/tmp/multipartBody4003337552527852241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713802558,"filename":"image_14122025_12_27_34_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1179ace8ad8a5a90ef84e936827bb0c0.jpg","text":"TemporaryFile(/tmp/multipartBody6366831271981034141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713802558,"filename":"image_14122025_12_27_54_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352103","file1":"1399352101","file0":"1399352099","file4":"1399352105","file5":"1399352107","file3":"1399352104"},"map_files_photo_id_array":[{"photo_id":"1399352107","filename":"file5"},{"photo_id":"1399352103","filename":"file2"},{"photo_id":"1399352105","filename":"file4"},{"photo_id":"1399352101","filename":"file1"},{"photo_id":"1399352099","filename":"file0"},{"photo_id":"1399352104","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352103":["hashtag1","hashtag2"]},{"1399352099":["hashtag1","hashtag2"]},{"1399352105":["hashtag1","hashtag2"]},{"1399352107":["hashtag1","hashtag2"]},{"1399352101":["hashtag1","hashtag2"]},{"1399352104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352103, 1399352099, 1399352105, 1399352107, 1399352101, 1399352104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3412868976593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:03:02.805713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/28/image_14122025_12_28_23_9717.jpg', '/home/pi/Desktop/images/14122025/12/28/image_14122025_12_28_34_10674.jpg', '/home/pi/Desktop/images/14122025/12/28/image_14122025_12_28_44_9701.jpg', '/home/pi/Desktop/images/14122025/12/28/image_14122025_12_28_53_9752.jpg', '/home/pi/Desktop/images/14122025/12/28/image_14122025_12_29_03_9819.jpg', '/home/pi/Desktop/images/14122025/12/29/image_14122025_12_29_14_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/28/image_14122025_12_28_23_9717.jpg
/home/pi/Desktop/images/14122025/12/28/image_14122025_12_28_34_10674.jpg
/home/pi/Desktop/images/14122025/12/28/image_14122025_12_28_44_9701.jpg
/home/pi/Desktop/images/14122025/12/28/image_14122025_12_28_53_9752.jpg
/home/pi/Desktop/images/14122025/12/28/image_14122025_12_29_03_9819.jpg
/home/pi/Desktop/images/14122025/12/29/image_14122025_12_29_14_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352118","1399352112","1399352115","1399352120","1399352117","1399352116"],"photo_ids_order":["1399352112","1399352115","1399352116","1399352117","1399352118","1399352120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0208e8682b0e155a4f22306e526620d7.jpg","text":"TemporaryFile(/tmp/multipartBody6374742916403156366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713843478,"filename":"image_14122025_12_29_03_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/65328efa174489da56c183296bbfd810.jpg","text":"TemporaryFile(/tmp/multipartBody915918655083357741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713843478,"filename":"image_14122025_12_28_23_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f0f92e968fe6408a3fcfa372cb32aae9.jpg","text":"TemporaryFile(/tmp/multipartBody8133339070399062867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713843478,"filename":"image_14122025_12_28_34_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ff02f3978e5943329c0e20b40fb7ef3f.jpg","text":"TemporaryFile(/tmp/multipartBody5208182601211398597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713843478,"filename":"image_14122025_12_29_14_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0670a5887038d1a9c0526fef66ce6f4d.jpg","text":"TemporaryFile(/tmp/multipartBody6114001772209484405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713843478,"filename":"image_14122025_12_28_53_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d086e4228b872b9bd183be329eb8613e.jpg","text":"TemporaryFile(/tmp/multipartBody7776152312814795205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713843478,"filename":"image_14122025_12_28_44_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352116","file1":"1399352115","file0":"1399352112","file4":"1399352118","file5":"1399352120","file3":"1399352117"},"map_files_photo_id_array":[{"photo_id":"1399352120","filename":"file5"},{"photo_id":"1399352116","filename":"file2"},{"photo_id":"1399352118","filename":"file4"},{"photo_id":"1399352115","filename":"file1"},{"photo_id":"1399352112","filename":"file0"},{"photo_id":"1399352117","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352118":["hashtag1","hashtag2"]},{"1399352112":["hashtag1","hashtag2"]},{"1399352115":["hashtag1","hashtag2"]},{"1399352120":["hashtag1","hashtag2"]},{"1399352117":["hashtag1","hashtag2"]},{"1399352116":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352118, 1399352112, 1399352115, 1399352120, 1399352117, 1399352116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2979781627655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:03:42.140697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_43_2738.jpg', '/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_45_2662.jpg', '/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_49_3926.jpg', '/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_53_3542.jpg', '/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_54_1657.jpg', '/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_07_12413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_43_2738.jpg
/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_45_2662.jpg
/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_49_3926.jpg
/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_53_3542.jpg
/home/pi/Desktop/images/04112025/13/11/image_04112025_13_11_54_1657.jpg
/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_07_12413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352130","1399352133","1399352132","1399352129","1399352131","1399352125"],"photo_ids_order":["1399352125","1399352129","1399352130","1399352131","1399352132","1399352133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c537b362453ead3b1c080f52af677b4c.jpg","text":"TemporaryFile(/tmp/multipartBody7509759049590925993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713882843,"filename":"image_04112025_13_11_49_3926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/018a5c84d332ebb16bc55bcae2a97077.jpg","text":"TemporaryFile(/tmp/multipartBody7934337186214547665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713882843,"filename":"image_04112025_13_12_07_12413.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8d0897a625a8995aca0c53be42fd3b27.jpg","text":"TemporaryFile(/tmp/multipartBody5256335280072351023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713882843,"filename":"image_04112025_13_11_54_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad0f004295cc5c3782e07bb675663d9e.jpg","text":"TemporaryFile(/tmp/multipartBody2352315456359106986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713882843,"filename":"image_04112025_13_11_45_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a6442c2ea9c2045efbc2c6a94bb3668f.jpg","text":"TemporaryFile(/tmp/multipartBody5820113283758642268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713882843,"filename":"image_04112025_13_11_53_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c7a767164181c3bc48baa17ea56afc3.jpg","text":"TemporaryFile(/tmp/multipartBody2521730176651781739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713882843,"filename":"image_04112025_13_11_43_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352130","file1":"1399352129","file0":"1399352125","file4":"1399352132","file5":"1399352133","file3":"1399352131"},"map_files_photo_id_array":[{"photo_id":"1399352133","filename":"file5"},{"photo_id":"1399352130","filename":"file2"},{"photo_id":"1399352132","filename":"file4"},{"photo_id":"1399352129","filename":"file1"},{"photo_id":"1399352125","filename":"file0"},{"photo_id":"1399352131","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352130":["hashtag1","hashtag2"]},{"1399352133":["hashtag1","hashtag2"]},{"1399352132":["hashtag1","hashtag2"]},{"1399352129":["hashtag1","hashtag2"]},{"1399352131":["hashtag1","hashtag2"]},{"1399352125":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352130, 1399352133, 1399352132, 1399352129, 1399352131, 1399352125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.178446531295776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:04:22.455686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/29/image_14122025_12_29_23_9730.jpg', '/home/pi/Desktop/images/14122025/12/29/image_14122025_12_29_33_9729.jpg', '/home/pi/Desktop/images/14122025/12/29/image_14122025_12_29_44_10670.jpg', '/home/pi/Desktop/images/14122025/12/29/image_14122025_12_29_53_9597.jpg', '/home/pi/Desktop/images/14122025/12/30/image_14122025_12_30_15_10053.jpg', '/home/pi/Desktop/images/14122025/12/30/image_14122025_12_30_26_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/29/image_14122025_12_29_23_9730.jpg
/home/pi/Desktop/images/14122025/12/29/image_14122025_12_29_33_9729.jpg
/home/pi/Desktop/images/14122025/12/29/image_14122025_12_29_44_10670.jpg
/home/pi/Desktop/images/14122025/12/29/image_14122025_12_29_53_9597.jpg
/home/pi/Desktop/images/14122025/12/30/image_14122025_12_30_15_10053.jpg
/home/pi/Desktop/images/14122025/12/30/image_14122025_12_30_26_10593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352141","1399352135","1399352137","1399352146","1399352140","1399352134"],"photo_ids_order":["1399352134","1399352135","1399352137","1399352140","1399352141","1399352146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d31895fba1583c04c64e109ac87d3fc.jpg","text":"TemporaryFile(/tmp/multipartBody8963114948563538953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713923130,"filename":"image_14122025_12_30_15_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/746fa0bee14916aadb7f77d07f3b76c5.jpg","text":"TemporaryFile(/tmp/multipartBody8733390426669533234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713923130,"filename":"image_14122025_12_29_33_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a5f5aff3a28d0561b5f7e4273bed454.jpg","text":"TemporaryFile(/tmp/multipartBody4653960460839601016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713923130,"filename":"image_14122025_12_29_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/12/14/4e3837518ed37f7d46b19a02dc88dc76.jpg","text":"TemporaryFile(/tmp/multipartBody3094566039450825844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713923130,"filename":"image_14122025_12_30_26_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/033c0ee2e2a85f580f63fbd25d5134f3.jpg","text":"TemporaryFile(/tmp/multipartBody5723349606241679359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713923130,"filename":"image_14122025_12_29_53_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56d67d4559f3850c1cdc87f5d1ab4084.jpg","text":"TemporaryFile(/tmp/multipartBody4332339801363592388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713923130,"filename":"image_14122025_12_29_23_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352137","file1":"1399352135","file0":"1399352134","file4":"1399352141","file5":"1399352146","file3":"1399352140"},"map_files_photo_id_array":[{"photo_id":"1399352146","filename":"file5"},{"photo_id":"1399352137","filename":"file2"},{"photo_id":"1399352141","filename":"file4"},{"photo_id":"1399352135","filename":"file1"},{"photo_id":"1399352134","filename":"file0"},{"photo_id":"1399352140","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352141":["hashtag1","hashtag2"]},{"1399352135":["hashtag1","hashtag2"]},{"1399352137":["hashtag1","hashtag2"]},{"1399352146":["hashtag1","hashtag2"]},{"1399352140":["hashtag1","hashtag2"]},{"1399352134":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352141, 1399352135, 1399352137, 1399352146, 1399352140, 1399352134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42298746109009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:05:03.228985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/30/image_14122025_12_30_35_9666.jpg', '/home/pi/Desktop/images/14122025/12/30/image_14122025_12_30_46_10651.jpg', '/home/pi/Desktop/images/14122025/12/30/image_14122025_12_30_55_9611.jpg', '/home/pi/Desktop/images/14122025/12/30/image_14122025_12_31_05_9750.jpg', '/home/pi/Desktop/images/14122025/12/31/image_14122025_12_31_15_9809.jpg', '/home/pi/Desktop/images/14122025/12/31/image_14122025_12_31_26_10685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/30/image_14122025_12_30_35_9666.jpg
/home/pi/Desktop/images/14122025/12/30/image_14122025_12_30_46_10651.jpg
/home/pi/Desktop/images/14122025/12/30/image_14122025_12_30_55_9611.jpg
/home/pi/Desktop/images/14122025/12/30/image_14122025_12_31_05_9750.jpg
/home/pi/Desktop/images/14122025/12/31/image_14122025_12_31_15_9809.jpg
/home/pi/Desktop/images/14122025/12/31/image_14122025_12_31_26_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":["1399352151","1399352153","1399352156","1399352155","1399352158","1399352154"],"photo_ids_order":["1399352151","1399352153","1399352154","1399352155","1399352156","1399352158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6915df44e55cc30c3e15c381c6e687da.jpg","text":"TemporaryFile(/tmp/multipartBody506889426715627280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713963906,"filename":"image_14122025_12_30_35_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2350e7b443bc32a317a5643dff44cfc9.jpg","text":"TemporaryFile(/tmp/multipartBody7434235641856800068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713963906,"filename":"image_14122025_12_30_46_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6d85cb54951c97033b9afb08e8d2bf0.jpg","text":"TemporaryFile(/tmp/multipartBody7969360152342008702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713963906,"filename":"image_14122025_12_31_15_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/263c02e5910ccf31395a9cda5ee6d5ab.jpg","text":"TemporaryFile(/tmp/multipartBody4303950972183027376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713963906,"filename":"image_14122025_12_31_05_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/38e9437d77ba6381cd59b1b71f817137.jpg","text":"TemporaryFile(/tmp/multipartBody355516514704598482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713963906,"filename":"image_14122025_12_31_26_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1714a046c643dcc96c22c132860743b.jpg","text":"TemporaryFile(/tmp/multipartBody995838326730230278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765713963906,"filename":"image_14122025_12_30_55_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352154","file1":"1399352153","file0":"1399352151","file4":"1399352156","file5":"1399352158","file3":"1399352155"},"map_files_photo_id_array":[{"photo_id":"1399352158","filename":"file5"},{"photo_id":"1399352154","filename":"file2"},{"photo_id":"1399352156","filename":"file4"},{"photo_id":"1399352153","filename":"file1"},{"photo_id":"1399352151","filename":"file0"},{"photo_id":"1399352155","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352151":["hashtag1","hashtag2"]},{"1399352153":["hashtag1","hashtag2"]},{"1399352156":["hashtag1","hashtag2"]},{"1399352155":["hashtag1","hashtag2"]},{"1399352158":["hashtag1","hashtag2"]},{"1399352154":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352151, 1399352153, 1399352156, 1399352155, 1399352158, 1399352154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41378211975098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:05:42.601776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_08_1610.jpg', '/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_10_1789.jpg', '/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_12_1621.jpg', '/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_13_1628.jpg', '/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_15_1695.jpg', '/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_17_1820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_08_1610.jpg
/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_10_1789.jpg
/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_12_1621.jpg
/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_13_1628.jpg
/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_15_1695.jpg
/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_17_1820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352163","1399352165","1399352168","1399352170","1399352167","1399352166"],"photo_ids_order":["1399352163","1399352165","1399352166","1399352167","1399352168","1399352170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/efd0fe36e938185ab9cf0bf19cf2f709.jpg","text":"TemporaryFile(/tmp/multipartBody2684000340821930180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714003302,"filename":"image_04112025_13_12_08_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e0567bece51294edacfbc40b7d8611bb.jpg","text":"TemporaryFile(/tmp/multipartBody336256029825012808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714003302,"filename":"image_04112025_13_12_10_1789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21a68b95aa247d524fd5b6f9375d6443.jpg","text":"TemporaryFile(/tmp/multipartBody3957871554897293005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714003302,"filename":"image_04112025_13_12_15_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90ce1dae9c3dafd299a25ef6f2506f77.jpg","text":"TemporaryFile(/tmp/multipartBody7452297387561202473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714003302,"filename":"image_04112025_13_12_17_1820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8e0463b2829228b3a330c5450d676012.jpg","text":"TemporaryFile(/tmp/multipartBody7278642966498277154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714003302,"filename":"image_04112025_13_12_13_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1213c38ece13cb76c14bff7a9d0ea9c6.jpg","text":"TemporaryFile(/tmp/multipartBody4233747395218564057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714003302,"filename":"image_04112025_13_12_12_1621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352166","file1":"1399352165","file0":"1399352163","file4":"1399352168","file5":"1399352170","file3":"1399352167"},"map_files_photo_id_array":[{"photo_id":"1399352170","filename":"file5"},{"photo_id":"1399352166","filename":"file2"},{"photo_id":"1399352168","filename":"file4"},{"photo_id":"1399352165","filename":"file1"},{"photo_id":"1399352163","filename":"file0"},{"photo_id":"1399352167","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352163":["hashtag1","hashtag2"]},{"1399352165":["hashtag1","hashtag2"]},{"1399352168":["hashtag1","hashtag2"]},{"1399352170":["hashtag1","hashtag2"]},{"1399352167":["hashtag1","hashtag2"]},{"1399352166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352163, 1399352165, 1399352168, 1399352170, 1399352167, 1399352166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02939534187317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:06:21.896224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/31/image_14122025_12_31_35_9696.jpg', '/home/pi/Desktop/images/14122025/12/31/image_14122025_12_31_45_9661.jpg', '/home/pi/Desktop/images/14122025/12/31/image_14122025_12_31_56_10690.jpg', '/home/pi/Desktop/images/14122025/12/31/image_14122025_12_32_05_9719.jpg', '/home/pi/Desktop/images/14122025/12/32/image_14122025_12_32_15_9850.jpg', '/home/pi/Desktop/images/14122025/12/32/image_14122025_12_32_25_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/31/image_14122025_12_31_35_9696.jpg
/home/pi/Desktop/images/14122025/12/31/image_14122025_12_31_45_9661.jpg
/home/pi/Desktop/images/14122025/12/31/image_14122025_12_31_56_10690.jpg
/home/pi/Desktop/images/14122025/12/31/image_14122025_12_32_05_9719.jpg
/home/pi/Desktop/images/14122025/12/32/image_14122025_12_32_15_9850.jpg
/home/pi/Desktop/images/14122025/12/32/image_14122025_12_32_25_9681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352180","1399352174","1399352182","1399352176","1399352178","1399352172"],"photo_ids_order":["1399352172","1399352174","1399352176","1399352178","1399352180","1399352182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eeb111a6ce83b10c97c094fbaebe8e6c.jpg","text":"TemporaryFile(/tmp/multipartBody762081926835894308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714042526,"filename":"image_14122025_12_32_15_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/02d82668f33f010d97df4c0c2df255cc.jpg","text":"TemporaryFile(/tmp/multipartBody8615811215521227108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714042526,"filename":"image_14122025_12_31_45_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a8db88f88e58404d1bda55a653db46b.jpg","text":"TemporaryFile(/tmp/multipartBody8727572674144928975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714042526,"filename":"image_14122025_12_32_25_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/799cf946fc0344edc0194f13ad3f3b38.jpg","text":"TemporaryFile(/tmp/multipartBody290298496075977873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714042526,"filename":"image_14122025_12_31_56_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ca1acd450be115cc0c72fbec3e0280a.jpg","text":"TemporaryFile(/tmp/multipartBody6740314236300235915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714042526,"filename":"image_14122025_12_32_05_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8eceb859d27bf56290c794be4c5f8ef7.jpg","text":"TemporaryFile(/tmp/multipartBody3243533484268573586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714042526,"filename":"image_14122025_12_31_35_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352176","file1":"1399352174","file0":"1399352172","file4":"1399352180","file5":"1399352182","file3":"1399352178"},"map_files_photo_id_array":[{"photo_id":"1399352182","filename":"file5"},{"photo_id":"1399352176","filename":"file2"},{"photo_id":"1399352180","filename":"file4"},{"photo_id":"1399352174","filename":"file1"},{"photo_id":"1399352172","filename":"file0"},{"photo_id":"1399352178","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352180":["hashtag1","hashtag2"]},{"1399352174":["hashtag1","hashtag2"]},{"1399352182":["hashtag1","hashtag2"]},{"1399352176":["hashtag1","hashtag2"]},{"1399352178":["hashtag1","hashtag2"]},{"1399352172":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352180, 1399352174, 1399352182, 1399352176, 1399352178, 1399352172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00248384475708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:07:02.704820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/32/image_14122025_12_32_36_10785.jpg', '/home/pi/Desktop/images/14122025/12/32/image_14122025_12_32_55_9806.jpg', '/home/pi/Desktop/images/14122025/12/32/image_14122025_12_33_05_9766.jpg', '/home/pi/Desktop/images/14122025/12/33/image_14122025_12_33_16_10656.jpg', '/home/pi/Desktop/images/14122025/12/33/image_14122025_12_33_25_9639.jpg', '/home/pi/Desktop/images/14122025/12/34/image_14122025_12_34_15_9578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/32/image_14122025_12_32_36_10785.jpg
/home/pi/Desktop/images/14122025/12/32/image_14122025_12_32_55_9806.jpg
/home/pi/Desktop/images/14122025/12/32/image_14122025_12_33_05_9766.jpg
/home/pi/Desktop/images/14122025/12/33/image_14122025_12_33_16_10656.jpg
/home/pi/Desktop/images/14122025/12/33/image_14122025_12_33_25_9639.jpg
/home/pi/Desktop/images/14122025/12/34/image_14122025_12_34_15_9578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352186","1399352188","1399352185","1399352190","1399352184","1399352187"],"photo_ids_order":["1399352184","1399352185","1399352186","1399352187","1399352188","1399352190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b0cf15aeb15790e5d5c5025ebc73f92a.jpg","text":"TemporaryFile(/tmp/multipartBody1066418544637608889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714083440,"filename":"image_14122025_12_33_05_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/160da412fc33539e46fd31b47707eb04.jpg","text":"TemporaryFile(/tmp/multipartBody3412451313731049418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714083440,"filename":"image_14122025_12_33_25_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6602a72ecedb1e3452b72dc56231e0d0.jpg","text":"TemporaryFile(/tmp/multipartBody7617279375864365927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714083440,"filename":"image_14122025_12_32_55_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/694bf9dd10e02906bd704fc42b81e422.jpg","text":"TemporaryFile(/tmp/multipartBody3661649339844544856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714083440,"filename":"image_14122025_12_34_15_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e304367e35167db510f5eb2c22859292.jpg","text":"TemporaryFile(/tmp/multipartBody577415222792978509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714083440,"filename":"image_14122025_12_32_36_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c78eab03dde7e8e148d167529b5dc53.jpg","text":"TemporaryFile(/tmp/multipartBody1554995251004163336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714083440,"filename":"image_14122025_12_33_16_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352186","file1":"1399352185","file0":"1399352184","file4":"1399352188","file5":"1399352190","file3":"1399352187"},"map_files_photo_id_array":[{"photo_id":"1399352190","filename":"file5"},{"photo_id":"1399352186","filename":"file2"},{"photo_id":"1399352188","filename":"file4"},{"photo_id":"1399352185","filename":"file1"},{"photo_id":"1399352184","filename":"file0"},{"photo_id":"1399352187","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352186":["hashtag1","hashtag2"]},{"1399352188":["hashtag1","hashtag2"]},{"1399352185":["hashtag1","hashtag2"]},{"1399352190":["hashtag1","hashtag2"]},{"1399352184":["hashtag1","hashtag2"]},{"1399352187":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352186, 1399352188, 1399352185, 1399352190, 1399352184, 1399352187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02305197715759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:07:42.154505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_19_1638.jpg', '/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_21_2645.jpg', '/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_25_3905.jpg', '/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_28_2665.jpg', '/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_30_2654.jpg', '/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_34_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_19_1638.jpg
/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_21_2645.jpg
/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_25_3905.jpg
/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_28_2665.jpg
/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_30_2654.jpg
/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_34_3623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352202","1399352201","1399352194","1399352197","1399352200","1399352199"],"photo_ids_order":["1399352194","1399352197","1399352199","1399352200","1399352201","1399352202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e969fb2b585eb56a14d6e1a81778dab2.jpg","text":"TemporaryFile(/tmp/multipartBody297957278482100951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714122851,"filename":"image_04112025_13_12_34_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1680e0b6141df0455c6a637a0f03e79.jpg","text":"TemporaryFile(/tmp/multipartBody7009334817152857973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714122851,"filename":"image_04112025_13_12_30_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9bb356b8df3f0b6847295e151733768b.jpg","text":"TemporaryFile(/tmp/multipartBody4406188310180771027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714122851,"filename":"image_04112025_13_12_19_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/84748ab3ce19f25ca61c3de6f86aa3ab.jpg","text":"TemporaryFile(/tmp/multipartBody6142691054318730646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714122851,"filename":"image_04112025_13_12_21_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/37c62771b62472744a7949960f2c928e.jpg","text":"TemporaryFile(/tmp/multipartBody1041604642319203033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714122851,"filename":"image_04112025_13_12_28_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/95e92a8bf8890ad2a18b96e932aa452a.jpg","text":"TemporaryFile(/tmp/multipartBody6765476882027681009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714122851,"filename":"image_04112025_13_12_25_3905.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352199","file1":"1399352197","file0":"1399352194","file4":"1399352201","file5":"1399352202","file3":"1399352200"},"map_files_photo_id_array":[{"photo_id":"1399352202","filename":"file5"},{"photo_id":"1399352199","filename":"file2"},{"photo_id":"1399352201","filename":"file4"},{"photo_id":"1399352197","filename":"file1"},{"photo_id":"1399352194","filename":"file0"},{"photo_id":"1399352200","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352202":["hashtag1","hashtag2"]},{"1399352201":["hashtag1","hashtag2"]},{"1399352194":["hashtag1","hashtag2"]},{"1399352197":["hashtag1","hashtag2"]},{"1399352200":["hashtag1","hashtag2"]},{"1399352199":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352202, 1399352201, 1399352194, 1399352197, 1399352200, 1399352199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25628876686096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:08:22.436648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/34/image_14122025_12_34_26_10624.jpg', '/home/pi/Desktop/images/14122025/12/34/image_14122025_12_34_45_9710.jpg', '/home/pi/Desktop/images/14122025/12/34/image_14122025_12_34_55_9692.jpg', '/home/pi/Desktop/images/14122025/12/34/image_14122025_12_35_06_10880.jpg', '/home/pi/Desktop/images/14122025/12/35/image_14122025_12_35_15_9658.jpg', '/home/pi/Desktop/images/14122025/12/35/image_14122025_12_35_25_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/34/image_14122025_12_34_26_10624.jpg
/home/pi/Desktop/images/14122025/12/34/image_14122025_12_34_45_9710.jpg
/home/pi/Desktop/images/14122025/12/34/image_14122025_12_34_55_9692.jpg
/home/pi/Desktop/images/14122025/12/34/image_14122025_12_35_06_10880.jpg
/home/pi/Desktop/images/14122025/12/35/image_14122025_12_35_15_9658.jpg
/home/pi/Desktop/images/14122025/12/35/image_14122025_12_35_25_9790.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5711836814880371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 13:08:32.500328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:08:42.359843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_37_2729.jpg', '/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_39_2675.jpg', '/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_42_2740.jpg', '/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_46_3665.jpg', '/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_49_2702.jpg', '/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_51_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_37_2729.jpg
/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_39_2675.jpg
/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_42_2740.jpg
/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_46_3665.jpg
/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_49_2702.jpg
/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_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":["1399352220","1399352217","1399352213","1399352216","1399352219","1399352218"],"photo_ids_order":["1399352213","1399352216","1399352217","1399352218","1399352219","1399352220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/57b3ebc329fea5e00ab7529d4cee4c58.jpg","text":"TemporaryFile(/tmp/multipartBody3470763077726999454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714183055,"filename":"image_04112025_13_12_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/12/14/91cf057938f5777fb1420c510a744724.jpg","text":"TemporaryFile(/tmp/multipartBody8304854828240889251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714183055,"filename":"image_04112025_13_12_42_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0e2a2242b5786b326388d7543e103745.jpg","text":"TemporaryFile(/tmp/multipartBody5288958517956403005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714183055,"filename":"image_04112025_13_12_37_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ae4a70185f68a46990534b06e812d6f.jpg","text":"TemporaryFile(/tmp/multipartBody692748604737476829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714183055,"filename":"image_04112025_13_12_39_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c24647433719be4e038add9f32e4f70d.jpg","text":"TemporaryFile(/tmp/multipartBody350944541962261008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714183055,"filename":"image_04112025_13_12_49_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1718add6a4af970b76c5828b3cb4ded.jpg","text":"TemporaryFile(/tmp/multipartBody295820702978896888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714183055,"filename":"image_04112025_13_12_46_3665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352217","file1":"1399352216","file0":"1399352213","file4":"1399352219","file5":"1399352220","file3":"1399352218"},"map_files_photo_id_array":[{"photo_id":"1399352220","filename":"file5"},{"photo_id":"1399352217","filename":"file2"},{"photo_id":"1399352219","filename":"file4"},{"photo_id":"1399352216","filename":"file1"},{"photo_id":"1399352213","filename":"file0"},{"photo_id":"1399352218","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352220":["hashtag1","hashtag2"]},{"1399352217":["hashtag1","hashtag2"]},{"1399352213":["hashtag1","hashtag2"]},{"1399352216":["hashtag1","hashtag2"]},{"1399352219":["hashtag1","hashtag2"]},{"1399352218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352220, 1399352217, 1399352213, 1399352216, 1399352219, 1399352218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.619290828704834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:09:22.632896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/34/image_14122025_12_34_26_10624.jpg', '/home/pi/Desktop/images/14122025/12/34/image_14122025_12_34_45_9710.jpg', '/home/pi/Desktop/images/14122025/12/34/image_14122025_12_34_55_9692.jpg', '/home/pi/Desktop/images/14122025/12/34/image_14122025_12_35_06_10880.jpg', '/home/pi/Desktop/images/14122025/12/35/image_14122025_12_35_15_9658.jpg', '/home/pi/Desktop/images/14122025/12/35/image_14122025_12_35_25_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/34/image_14122025_12_34_26_10624.jpg
/home/pi/Desktop/images/14122025/12/34/image_14122025_12_34_45_9710.jpg
/home/pi/Desktop/images/14122025/12/34/image_14122025_12_34_55_9692.jpg
/home/pi/Desktop/images/14122025/12/34/image_14122025_12_35_06_10880.jpg
/home/pi/Desktop/images/14122025/12/35/image_14122025_12_35_15_9658.jpg
/home/pi/Desktop/images/14122025/12/35/image_14122025_12_35_25_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":["1399352223","1399352226","1399352234","1399352228","1399352222","1399352230"],"photo_ids_order":["1399352222","1399352223","1399352226","1399352228","1399352230","1399352234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c2200ef4a0076130a709fec2c7e3cf8.jpg","text":"TemporaryFile(/tmp/multipartBody5664317255568890614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714223272,"filename":"image_14122025_12_34_45_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/68e08010714951863571cf13ebe7c2dc.jpg","text":"TemporaryFile(/tmp/multipartBody462981194511258514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714223272,"filename":"image_14122025_12_34_55_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/26353c7e493ffd7ffc815c192fd0b12d.jpg","text":"TemporaryFile(/tmp/multipartBody4541968336072180629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714223272,"filename":"image_14122025_12_35_25_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8abb935a1a64c59f58063fda4790088c.jpg","text":"TemporaryFile(/tmp/multipartBody3089265880332263323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714223272,"filename":"image_14122025_12_35_06_10880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21b82b92e36c5d6493acbeee6205be61.jpg","text":"TemporaryFile(/tmp/multipartBody7694579991993745417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714223272,"filename":"image_14122025_12_34_26_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9d979365f4d34d31c4c5a064b9d9dc9d.jpg","text":"TemporaryFile(/tmp/multipartBody8332884101774744843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714223272,"filename":"image_14122025_12_35_15_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352226","file1":"1399352223","file0":"1399352222","file4":"1399352230","file5":"1399352234","file3":"1399352228"},"map_files_photo_id_array":[{"photo_id":"1399352234","filename":"file5"},{"photo_id":"1399352226","filename":"file2"},{"photo_id":"1399352230","filename":"file4"},{"photo_id":"1399352223","filename":"file1"},{"photo_id":"1399352222","filename":"file0"},{"photo_id":"1399352228","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352223":["hashtag1","hashtag2"]},{"1399352226":["hashtag1","hashtag2"]},{"1399352234":["hashtag1","hashtag2"]},{"1399352228":["hashtag1","hashtag2"]},{"1399352222":["hashtag1","hashtag2"]},{"1399352230":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352223, 1399352226, 1399352234, 1399352228, 1399352222, 1399352230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.73386192321777 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 13:10:11.909908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:10:21.972220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/35/image_14122025_12_35_35_9665.jpg', '/home/pi/Desktop/images/14122025/12/35/image_14122025_12_35_46_10744.jpg', '/home/pi/Desktop/images/14122025/12/35/image_14122025_12_35_55_9764.jpg', '/home/pi/Desktop/images/14122025/12/35/image_14122025_12_36_05_9690.jpg', '/home/pi/Desktop/images/14122025/12/36/image_14122025_12_36_16_10590.jpg', '/home/pi/Desktop/images/14122025/12/36/image_14122025_12_36_25_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/35/image_14122025_12_35_35_9665.jpg
/home/pi/Desktop/images/14122025/12/35/image_14122025_12_35_46_10744.jpg
/home/pi/Desktop/images/14122025/12/35/image_14122025_12_35_55_9764.jpg
/home/pi/Desktop/images/14122025/12/35/image_14122025_12_36_05_9690.jpg
/home/pi/Desktop/images/14122025/12/36/image_14122025_12_36_16_10590.jpg
/home/pi/Desktop/images/14122025/12/36/image_14122025_12_36_25_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":["1399352241","1399352235","1399352244","1399352246","1399352237","1399352239"],"photo_ids_order":["1399352235","1399352237","1399352239","1399352241","1399352244","1399352246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba29032c9ffc6cc380e1e5a1d715f7eb.jpg","text":"TemporaryFile(/tmp/multipartBody3384386639858885873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714282601,"filename":"image_14122025_12_36_05_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/32b54d55dfd1988ceb39315c21747157.jpg","text":"TemporaryFile(/tmp/multipartBody2656653391904171529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714282601,"filename":"image_14122025_12_35_35_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/de7d1f68679ef9221b112eadc395110d.jpg","text":"TemporaryFile(/tmp/multipartBody3077931117006169649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714282601,"filename":"image_14122025_12_36_16_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e825d1804b1bfa1c06f5e2f9d262d966.jpg","text":"TemporaryFile(/tmp/multipartBody1528555798927865578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714282601,"filename":"image_14122025_12_36_25_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b54c7bb8cdac987d7ceab92b1d1da12.jpg","text":"TemporaryFile(/tmp/multipartBody8744551764433731745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714282601,"filename":"image_14122025_12_35_46_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f347d2d8c8abd7f3835abe9e1bbb4cb9.jpg","text":"TemporaryFile(/tmp/multipartBody439644740059193131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714282601,"filename":"image_14122025_12_35_55_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352239","file1":"1399352237","file0":"1399352235","file4":"1399352244","file5":"1399352246","file3":"1399352241"},"map_files_photo_id_array":[{"photo_id":"1399352246","filename":"file5"},{"photo_id":"1399352239","filename":"file2"},{"photo_id":"1399352244","filename":"file4"},{"photo_id":"1399352237","filename":"file1"},{"photo_id":"1399352235","filename":"file0"},{"photo_id":"1399352241","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352241":["hashtag1","hashtag2"]},{"1399352235":["hashtag1","hashtag2"]},{"1399352244":["hashtag1","hashtag2"]},{"1399352246":["hashtag1","hashtag2"]},{"1399352237":["hashtag1","hashtag2"]},{"1399352239":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352241, 1399352235, 1399352244, 1399352246, 1399352237, 1399352239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.652116537094116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:11:02.706437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/36/image_14122025_12_36_35_9689.jpg', '/home/pi/Desktop/images/14122025/12/36/image_14122025_12_36_45_9802.jpg', '/home/pi/Desktop/images/14122025/12/36/image_14122025_12_36_56_10684.jpg', '/home/pi/Desktop/images/14122025/12/36/image_14122025_12_37_05_9835.jpg', '/home/pi/Desktop/images/14122025/12/37/image_14122025_12_37_15_9763.jpg', '/home/pi/Desktop/images/14122025/12/37/image_14122025_12_37_25_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/36/image_14122025_12_36_35_9689.jpg
/home/pi/Desktop/images/14122025/12/36/image_14122025_12_36_45_9802.jpg
/home/pi/Desktop/images/14122025/12/36/image_14122025_12_36_56_10684.jpg
/home/pi/Desktop/images/14122025/12/36/image_14122025_12_37_05_9835.jpg
/home/pi/Desktop/images/14122025/12/37/image_14122025_12_37_15_9763.jpg
/home/pi/Desktop/images/14122025/12/37/image_14122025_12_37_25_9708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352256","1399352249","1399352254","1399352248","1399352250","1399352247"],"photo_ids_order":["1399352247","1399352248","1399352249","1399352250","1399352254","1399352256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ce2dd47b58b83157d4d65b654da4c81.jpg","text":"TemporaryFile(/tmp/multipartBody1135513274629584369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714323415,"filename":"image_14122025_12_37_25_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b87c245fde7bd558bbf79562833a8ca.jpg","text":"TemporaryFile(/tmp/multipartBody151694724768733821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714323415,"filename":"image_14122025_12_36_56_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0898689dc40eb4918fc57805386d8d5f.jpg","text":"TemporaryFile(/tmp/multipartBody88660922423520912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714323415,"filename":"image_14122025_12_37_15_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1450835d95fff87f42d527e09ed41ce8.jpg","text":"TemporaryFile(/tmp/multipartBody4687351073786954112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714323415,"filename":"image_14122025_12_36_45_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/054dcb7701751691ae231088b921c724.jpg","text":"TemporaryFile(/tmp/multipartBody2152637889131181635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714323415,"filename":"image_14122025_12_37_05_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f9630d8c3396491edccd5d89d9d9e379.jpg","text":"TemporaryFile(/tmp/multipartBody5655665685416461821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714323415,"filename":"image_14122025_12_36_35_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352249","file1":"1399352248","file0":"1399352247","file4":"1399352254","file5":"1399352256","file3":"1399352250"},"map_files_photo_id_array":[{"photo_id":"1399352256","filename":"file5"},{"photo_id":"1399352249","filename":"file2"},{"photo_id":"1399352254","filename":"file4"},{"photo_id":"1399352248","filename":"file1"},{"photo_id":"1399352247","filename":"file0"},{"photo_id":"1399352250","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352256":["hashtag1","hashtag2"]},{"1399352249":["hashtag1","hashtag2"]},{"1399352254":["hashtag1","hashtag2"]},{"1399352248":["hashtag1","hashtag2"]},{"1399352250":["hashtag1","hashtag2"]},{"1399352247":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352256, 1399352249, 1399352254, 1399352248, 1399352250, 1399352247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.363160133361816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:12:02.872030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/37/image_14122025_12_37_36_10679.jpg', '/home/pi/Desktop/images/14122025/12/37/image_14122025_12_37_45_9658.jpg', '/home/pi/Desktop/images/14122025/12/37/image_14122025_12_37_55_9719.jpg', '/home/pi/Desktop/images/14122025/12/37/image_14122025_12_38_05_9927.jpg', '/home/pi/Desktop/images/14122025/12/38/image_14122025_12_38_16_10645.jpg', '/home/pi/Desktop/images/14122025/12/38/image_14122025_12_38_25_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/37/image_14122025_12_37_36_10679.jpg
/home/pi/Desktop/images/14122025/12/37/image_14122025_12_37_45_9658.jpg
/home/pi/Desktop/images/14122025/12/37/image_14122025_12_37_55_9719.jpg
/home/pi/Desktop/images/14122025/12/37/image_14122025_12_38_05_9927.jpg
/home/pi/Desktop/images/14122025/12/38/image_14122025_12_38_16_10645.jpg
/home/pi/Desktop/images/14122025/12/38/image_14122025_12_38_25_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352262","1399352261","1399352264","1399352260","1399352263","1399352265"],"photo_ids_order":["1399352260","1399352261","1399352262","1399352263","1399352264","1399352265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b27c03adc4059e68bf127b8a7fbe549.jpg","text":"TemporaryFile(/tmp/multipartBody3344232456610840366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714383510,"filename":"image_14122025_12_37_55_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b107ef91f3f91c5b75fe29fb973a9dc.jpg","text":"TemporaryFile(/tmp/multipartBody6293015941062918546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714383510,"filename":"image_14122025_12_37_45_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a71803ac037db4cd49a09cee89a37e97.jpg","text":"TemporaryFile(/tmp/multipartBody8825786445050686257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714383510,"filename":"image_14122025_12_38_16_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f877be440f47c2834f7f9a5ece0c93e.jpg","text":"TemporaryFile(/tmp/multipartBody2673004761897605642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714383510,"filename":"image_14122025_12_37_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/12/14/2774b6f28bff351fbc7fb3001cb21dd8.jpg","text":"TemporaryFile(/tmp/multipartBody4483270177375161636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714383510,"filename":"image_14122025_12_38_05_9927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a2e56da77b0572f758e475e4f5c79c5.jpg","text":"TemporaryFile(/tmp/multipartBody7301396691757070007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714383510,"filename":"image_14122025_12_38_25_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352262","file1":"1399352261","file0":"1399352260","file4":"1399352264","file5":"1399352265","file3":"1399352263"},"map_files_photo_id_array":[{"photo_id":"1399352265","filename":"file5"},{"photo_id":"1399352262","filename":"file2"},{"photo_id":"1399352264","filename":"file4"},{"photo_id":"1399352261","filename":"file1"},{"photo_id":"1399352260","filename":"file0"},{"photo_id":"1399352263","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352262":["hashtag1","hashtag2"]},{"1399352261":["hashtag1","hashtag2"]},{"1399352264":["hashtag1","hashtag2"]},{"1399352260":["hashtag1","hashtag2"]},{"1399352263":["hashtag1","hashtag2"]},{"1399352265":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352262, 1399352261, 1399352264, 1399352260, 1399352263, 1399352265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09307861328125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:12:42.376452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_54_2754.jpg', '/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_58_3611.jpg', '/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_02_4292.jpg', '/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_04_1618.jpg', '/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_06_2681.jpg', '/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_10_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_54_2754.jpg
/home/pi/Desktop/images/04112025/13/12/image_04112025_13_12_58_3611.jpg
/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_02_4292.jpg
/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_04_1618.jpg
/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_06_2681.jpg
/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_10_3556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352282","1399352275","1399352278","1399352277","1399352271","1399352280"],"photo_ids_order":["1399352271","1399352275","1399352277","1399352278","1399352280","1399352282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3fb7c2e2abcd6cfbaf4514b2c308f68d.jpg","text":"TemporaryFile(/tmp/multipartBody39867657885783624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714423087,"filename":"image_04112025_13_13_10_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a7d0a0c1313a8274d4e1e8c5db8241b3.jpg","text":"TemporaryFile(/tmp/multipartBody7663619778076542119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714423087,"filename":"image_04112025_13_12_58_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4501b7d0c7afeff0874057fd40da7ad5.jpg","text":"TemporaryFile(/tmp/multipartBody8143818966320184632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714423087,"filename":"image_04112025_13_13_04_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b754bd08ff9be5c33c762903c8b266e1.jpg","text":"TemporaryFile(/tmp/multipartBody7064144996001234682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714423087,"filename":"image_04112025_13_13_02_4292.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24fa008d1518da6ea0cb975626ffa39d.jpg","text":"TemporaryFile(/tmp/multipartBody4139245599639538002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714423087,"filename":"image_04112025_13_12_54_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e065fedc77bc5e1064adb207fdff8046.jpg","text":"TemporaryFile(/tmp/multipartBody7970603951623063464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714423087,"filename":"image_04112025_13_13_06_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352277","file1":"1399352275","file0":"1399352271","file4":"1399352280","file5":"1399352282","file3":"1399352278"},"map_files_photo_id_array":[{"photo_id":"1399352282","filename":"file5"},{"photo_id":"1399352277","filename":"file2"},{"photo_id":"1399352280","filename":"file4"},{"photo_id":"1399352275","filename":"file1"},{"photo_id":"1399352271","filename":"file0"},{"photo_id":"1399352278","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352282":["hashtag1","hashtag2"]},{"1399352275":["hashtag1","hashtag2"]},{"1399352278":["hashtag1","hashtag2"]},{"1399352277":["hashtag1","hashtag2"]},{"1399352271":["hashtag1","hashtag2"]},{"1399352280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352282, 1399352275, 1399352278, 1399352277, 1399352271, 1399352280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.420717000961304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:13:22.761901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/38/image_14122025_12_38_35_9704.jpg', '/home/pi/Desktop/images/14122025/12/38/image_14122025_12_38_46_10845.jpg', '/home/pi/Desktop/images/14122025/12/38/image_14122025_12_38_56_9752.jpg', '/home/pi/Desktop/images/14122025/12/38/image_14122025_12_39_05_9858.jpg', '/home/pi/Desktop/images/14122025/12/39/image_14122025_12_39_15_9769.jpg', '/home/pi/Desktop/images/14122025/12/39/image_14122025_12_39_25_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/38/image_14122025_12_38_35_9704.jpg
/home/pi/Desktop/images/14122025/12/38/image_14122025_12_38_46_10845.jpg
/home/pi/Desktop/images/14122025/12/38/image_14122025_12_38_56_9752.jpg
/home/pi/Desktop/images/14122025/12/38/image_14122025_12_39_05_9858.jpg
/home/pi/Desktop/images/14122025/12/39/image_14122025_12_39_15_9769.jpg
/home/pi/Desktop/images/14122025/12/39/image_14122025_12_39_25_9747.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5682296752929688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 13:13:32.679326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:13:42.596570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_13_2632.jpg', '/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_15_2655.jpg', '/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_19_3654.jpg', '/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_22_2738.jpg', '/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_24_2520.jpg', '/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_28_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_13_2632.jpg
/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_15_2655.jpg
/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_19_3654.jpg
/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_22_2738.jpg
/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_24_2520.jpg
/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_28_3661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352294","1399352297","1399352300","1399352299","1399352296","1399352298"],"photo_ids_order":["1399352294","1399352296","1399352297","1399352298","1399352299","1399352300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/795c6e8228daa168334ab25d3771e936.jpg","text":"TemporaryFile(/tmp/multipartBody4994682730786317231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714483398,"filename":"image_04112025_13_13_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/12/14/b8610cc1c8f9c9499b57b5a04af7fc73.jpg","text":"TemporaryFile(/tmp/multipartBody6320371580616257896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714483398,"filename":"image_04112025_13_13_19_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/264d4d1c4a65effe66f449dfcf4e0373.jpg","text":"TemporaryFile(/tmp/multipartBody5021175189005036092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714483398,"filename":"image_04112025_13_13_28_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/015ca8cd4ac690a821612b8a8d767767.jpg","text":"TemporaryFile(/tmp/multipartBody8091518467342839718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714483398,"filename":"image_04112025_13_13_24_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/96fa509c61ae668f6eea36d71afe4115.jpg","text":"TemporaryFile(/tmp/multipartBody3165003752498589204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714483398,"filename":"image_04112025_13_13_15_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a7c1a4b8886fdfbc34739b8f87b1be6.jpg","text":"TemporaryFile(/tmp/multipartBody3563233084388968643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714483398,"filename":"image_04112025_13_13_22_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352297","file1":"1399352296","file0":"1399352294","file4":"1399352299","file5":"1399352300","file3":"1399352298"},"map_files_photo_id_array":[{"photo_id":"1399352300","filename":"file5"},{"photo_id":"1399352297","filename":"file2"},{"photo_id":"1399352299","filename":"file4"},{"photo_id":"1399352296","filename":"file1"},{"photo_id":"1399352294","filename":"file0"},{"photo_id":"1399352298","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352294":["hashtag1","hashtag2"]},{"1399352297":["hashtag1","hashtag2"]},{"1399352300":["hashtag1","hashtag2"]},{"1399352299":["hashtag1","hashtag2"]},{"1399352296":["hashtag1","hashtag2"]},{"1399352298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352294, 1399352297, 1399352300, 1399352299, 1399352296, 1399352298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95728135108948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:14:22.016546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/38/image_14122025_12_38_35_9704.jpg', '/home/pi/Desktop/images/14122025/12/38/image_14122025_12_38_46_10845.jpg', '/home/pi/Desktop/images/14122025/12/38/image_14122025_12_38_56_9752.jpg', '/home/pi/Desktop/images/14122025/12/38/image_14122025_12_39_05_9858.jpg', '/home/pi/Desktop/images/14122025/12/39/image_14122025_12_39_15_9769.jpg', '/home/pi/Desktop/images/14122025/12/39/image_14122025_12_39_25_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/38/image_14122025_12_38_35_9704.jpg
/home/pi/Desktop/images/14122025/12/38/image_14122025_12_38_46_10845.jpg
/home/pi/Desktop/images/14122025/12/38/image_14122025_12_38_56_9752.jpg
/home/pi/Desktop/images/14122025/12/38/image_14122025_12_39_05_9858.jpg
/home/pi/Desktop/images/14122025/12/39/image_14122025_12_39_15_9769.jpg
/home/pi/Desktop/images/14122025/12/39/image_14122025_12_39_25_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":["1399352304","1399352307","1399352315","1399352309","1399352311","1399352302"],"photo_ids_order":["1399352302","1399352304","1399352307","1399352309","1399352311","1399352315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/16dc740b1985a70a5aecb03db8aad4d6.jpg","text":"TemporaryFile(/tmp/multipartBody3225344280661124370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714522650,"filename":"image_14122025_12_38_46_10845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba3319b382d78b5caebe51e5bed37ab7.jpg","text":"TemporaryFile(/tmp/multipartBody6893387242981121735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714522650,"filename":"image_14122025_12_38_56_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36c3d4acaf0c06f840576471122bf88d.jpg","text":"TemporaryFile(/tmp/multipartBody5394543927959246572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714522650,"filename":"image_14122025_12_39_25_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b73eb9fa6cbf5f400c107bc437535e7.jpg","text":"TemporaryFile(/tmp/multipartBody5921551748534000110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714522650,"filename":"image_14122025_12_39_05_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/743ad95378ec95b26ccd8ef437fc1f95.jpg","text":"TemporaryFile(/tmp/multipartBody8058832700699804553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714522650,"filename":"image_14122025_12_39_15_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/79b4d135e6f1b1359c7f08fb87a3c88f.jpg","text":"TemporaryFile(/tmp/multipartBody6841513540236181700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714522650,"filename":"image_14122025_12_38_35_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352307","file1":"1399352304","file0":"1399352302","file4":"1399352311","file5":"1399352315","file3":"1399352309"},"map_files_photo_id_array":[{"photo_id":"1399352315","filename":"file5"},{"photo_id":"1399352307","filename":"file2"},{"photo_id":"1399352311","filename":"file4"},{"photo_id":"1399352304","filename":"file1"},{"photo_id":"1399352302","filename":"file0"},{"photo_id":"1399352309","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352304":["hashtag1","hashtag2"]},{"1399352307":["hashtag1","hashtag2"]},{"1399352315":["hashtag1","hashtag2"]},{"1399352309":["hashtag1","hashtag2"]},{"1399352311":["hashtag1","hashtag2"]},{"1399352302":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352304, 1399352307, 1399352315, 1399352309, 1399352311, 1399352302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07955765724182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:15:02.766168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/39/image_14122025_12_39_36_10561.jpg', '/home/pi/Desktop/images/14122025/12/39/image_14122025_12_39_45_9709.jpg', '/home/pi/Desktop/images/14122025/12/39/image_14122025_12_39_55_9725.jpg', '/home/pi/Desktop/images/14122025/12/39/image_14122025_12_40_06_10853.jpg', '/home/pi/Desktop/images/14122025/12/40/image_14122025_12_40_15_9645.jpg', '/home/pi/Desktop/images/14122025/12/40/image_14122025_12_40_25_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/39/image_14122025_12_39_36_10561.jpg
/home/pi/Desktop/images/14122025/12/39/image_14122025_12_39_45_9709.jpg
/home/pi/Desktop/images/14122025/12/39/image_14122025_12_39_55_9725.jpg
/home/pi/Desktop/images/14122025/12/39/image_14122025_12_40_06_10853.jpg
/home/pi/Desktop/images/14122025/12/40/image_14122025_12_40_15_9645.jpg
/home/pi/Desktop/images/14122025/12/40/image_14122025_12_40_25_9801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352319","1399352321","1399352318","1399352323","1399352317","1399352320"],"photo_ids_order":["1399352317","1399352318","1399352319","1399352320","1399352321","1399352323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/708ddec190341108d2265b2c639de0e9.jpg","text":"TemporaryFile(/tmp/multipartBody5769646683156221117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714563505,"filename":"image_14122025_12_39_55_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be6c1ac650ed4ea4d19e255b4c2a3091.jpg","text":"TemporaryFile(/tmp/multipartBody1530056449014781995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714563505,"filename":"image_14122025_12_40_15_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2397fcea25a6ec4afc00e28f92098636.jpg","text":"TemporaryFile(/tmp/multipartBody370143514117759615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714563505,"filename":"image_14122025_12_39_45_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b4d1e9cd7795103368769ac11ac6e98a.jpg","text":"TemporaryFile(/tmp/multipartBody2209402949693348713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714563505,"filename":"image_14122025_12_40_25_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a59d099dc0a67b16dd274123af338349.jpg","text":"TemporaryFile(/tmp/multipartBody1366726687677803403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714563505,"filename":"image_14122025_12_39_36_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8828a4314d770e2f86670ea99e73e448.jpg","text":"TemporaryFile(/tmp/multipartBody1911371183948845535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714563505,"filename":"image_14122025_12_40_06_10853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352319","file1":"1399352318","file0":"1399352317","file4":"1399352321","file5":"1399352323","file3":"1399352320"},"map_files_photo_id_array":[{"photo_id":"1399352323","filename":"file5"},{"photo_id":"1399352319","filename":"file2"},{"photo_id":"1399352321","filename":"file4"},{"photo_id":"1399352318","filename":"file1"},{"photo_id":"1399352317","filename":"file0"},{"photo_id":"1399352320","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352319":["hashtag1","hashtag2"]},{"1399352321":["hashtag1","hashtag2"]},{"1399352318":["hashtag1","hashtag2"]},{"1399352323":["hashtag1","hashtag2"]},{"1399352317":["hashtag1","hashtag2"]},{"1399352320":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352319, 1399352321, 1399352318, 1399352323, 1399352317, 1399352320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.949636936187744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:15:42.182372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_30_2697.jpg', '/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_34_3579.jpg', '/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_37_2644.jpg', '/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_39_2515.jpg', '/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_43_3623.jpg', '/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_45_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_30_2697.jpg
/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_34_3579.jpg
/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_37_2644.jpg
/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_39_2515.jpg
/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_43_3623.jpg
/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_45_2557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352334","1399352328","1399352333","1399352335","1399352332","1399352331"],"photo_ids_order":["1399352328","1399352331","1399352332","1399352333","1399352334","1399352335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6377203a0e4651d81c01c696772e6daf.jpg","text":"TemporaryFile(/tmp/multipartBody1072879611106278009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714602908,"filename":"image_04112025_13_13_43_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/00c70985a058d3a970bb323a6a087dbd.jpg","text":"TemporaryFile(/tmp/multipartBody5742884384328363429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714602908,"filename":"image_04112025_13_13_30_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2df88fea0f4d2d3b3c2ec87594ba09c.jpg","text":"TemporaryFile(/tmp/multipartBody631088776567624628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714602908,"filename":"image_04112025_13_13_39_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/44d14d4829b2237216e6c7c495e2e75a.jpg","text":"TemporaryFile(/tmp/multipartBody469718041238925469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714602908,"filename":"image_04112025_13_13_45_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a56ad8b90751f110212f77e6ab1b6206.jpg","text":"TemporaryFile(/tmp/multipartBody1731281163470465714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714602908,"filename":"image_04112025_13_13_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/12/14/4755fb4d7f5585569349c9c39d77cff0.jpg","text":"TemporaryFile(/tmp/multipartBody8662565028313335787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714602908,"filename":"image_04112025_13_13_34_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352332","file1":"1399352331","file0":"1399352328","file4":"1399352334","file5":"1399352335","file3":"1399352333"},"map_files_photo_id_array":[{"photo_id":"1399352335","filename":"file5"},{"photo_id":"1399352332","filename":"file2"},{"photo_id":"1399352334","filename":"file4"},{"photo_id":"1399352331","filename":"file1"},{"photo_id":"1399352328","filename":"file0"},{"photo_id":"1399352333","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352334":["hashtag1","hashtag2"]},{"1399352328":["hashtag1","hashtag2"]},{"1399352333":["hashtag1","hashtag2"]},{"1399352335":["hashtag1","hashtag2"]},{"1399352332":["hashtag1","hashtag2"]},{"1399352331":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352334, 1399352328, 1399352333, 1399352335, 1399352332, 1399352331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52876567840576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:16:22.446370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/40/image_14122025_12_40_36_10545.jpg', '/home/pi/Desktop/images/14122025/12/40/image_14122025_12_40_45_9610.jpg', '/home/pi/Desktop/images/14122025/12/40/image_14122025_12_40_55_9780.jpg', '/home/pi/Desktop/images/14122025/12/40/image_14122025_12_41_05_10026.jpg', '/home/pi/Desktop/images/14122025/12/41/image_14122025_12_41_15_9772.jpg', '/home/pi/Desktop/images/14122025/12/41/image_14122025_12_41_35_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/40/image_14122025_12_40_36_10545.jpg
/home/pi/Desktop/images/14122025/12/40/image_14122025_12_40_45_9610.jpg
/home/pi/Desktop/images/14122025/12/40/image_14122025_12_40_55_9780.jpg
/home/pi/Desktop/images/14122025/12/40/image_14122025_12_41_05_10026.jpg
/home/pi/Desktop/images/14122025/12/41/image_14122025_12_41_15_9772.jpg
/home/pi/Desktop/images/14122025/12/41/image_14122025_12_41_35_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352343","1399352337","1399352339","1399352336","1399352347","1399352341"],"photo_ids_order":["1399352336","1399352337","1399352339","1399352341","1399352343","1399352347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c035cedab07b5b1cf4c2f02a9f4ae632.jpg","text":"TemporaryFile(/tmp/multipartBody2219529295550671239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714643080,"filename":"image_14122025_12_41_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/12/14/7dddc64dd97b034b0def6ccda00c5f4e.jpg","text":"TemporaryFile(/tmp/multipartBody8230404527018147898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714643080,"filename":"image_14122025_12_40_45_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28cc42dd0e58ec30a01ac483c8ffb406.jpg","text":"TemporaryFile(/tmp/multipartBody3269367835674999060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714643080,"filename":"image_14122025_12_40_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/12/14/cc8491be1885afcd54976edef74e855e.jpg","text":"TemporaryFile(/tmp/multipartBody684971628032198350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714643080,"filename":"image_14122025_12_40_36_10545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/30d89f60dcc60bc9c7b3cf9114b6d70f.jpg","text":"TemporaryFile(/tmp/multipartBody2864436879628603180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714643080,"filename":"image_14122025_12_41_35_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88f5b0c313a59d1bcca4ade3d5364c42.jpg","text":"TemporaryFile(/tmp/multipartBody7394748090651004285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714643080,"filename":"image_14122025_12_41_05_10026.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352339","file1":"1399352337","file0":"1399352336","file4":"1399352343","file5":"1399352347","file3":"1399352341"},"map_files_photo_id_array":[{"photo_id":"1399352347","filename":"file5"},{"photo_id":"1399352339","filename":"file2"},{"photo_id":"1399352343","filename":"file4"},{"photo_id":"1399352337","filename":"file1"},{"photo_id":"1399352336","filename":"file0"},{"photo_id":"1399352341","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352343":["hashtag1","hashtag2"]},{"1399352337":["hashtag1","hashtag2"]},{"1399352339":["hashtag1","hashtag2"]},{"1399352336":["hashtag1","hashtag2"]},{"1399352347":["hashtag1","hashtag2"]},{"1399352341":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352343, 1399352337, 1399352339, 1399352336, 1399352347, 1399352341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95612859725952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:17:03.376647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/41/image_14122025_12_41_56_10667.jpg', '/home/pi/Desktop/images/14122025/12/41/image_14122025_12_42_05_9691.jpg', '/home/pi/Desktop/images/14122025/12/42/image_14122025_12_42_15_9640.jpg', '/home/pi/Desktop/images/14122025/12/42/image_14122025_12_42_26_10601.jpg', '/home/pi/Desktop/images/14122025/12/42/image_14122025_12_42_35_9717.jpg', '/home/pi/Desktop/images/14122025/12/42/image_14122025_12_42_45_9870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/41/image_14122025_12_41_56_10667.jpg
/home/pi/Desktop/images/14122025/12/41/image_14122025_12_42_05_9691.jpg
/home/pi/Desktop/images/14122025/12/42/image_14122025_12_42_15_9640.jpg
/home/pi/Desktop/images/14122025/12/42/image_14122025_12_42_26_10601.jpg
/home/pi/Desktop/images/14122025/12/42/image_14122025_12_42_35_9717.jpg
/home/pi/Desktop/images/14122025/12/42/image_14122025_12_42_45_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":["1399352355","1399352354","1399352353","1399352356","1399352358","1399352352"],"photo_ids_order":["1399352352","1399352353","1399352354","1399352355","1399352356","1399352358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1679e8d59c189f9725ceefc348c0bbfa.jpg","text":"TemporaryFile(/tmp/multipartBody4324269016174263293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714684071,"filename":"image_14122025_12_42_26_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/41fe328742d0e73b5c8416b3a05cb7f0.jpg","text":"TemporaryFile(/tmp/multipartBody5585747667862542435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714684071,"filename":"image_14122025_12_42_15_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/74b39166c3b51553f0ee478ab88d152d.jpg","text":"TemporaryFile(/tmp/multipartBody7326930397737430633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714684071,"filename":"image_14122025_12_42_05_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d9391ecfe82456c869840d77204edffb.jpg","text":"TemporaryFile(/tmp/multipartBody7724418224715634237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714684071,"filename":"image_14122025_12_42_35_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/748be7d5569080c19ef330323eef4c59.jpg","text":"TemporaryFile(/tmp/multipartBody280892457270870785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714684071,"filename":"image_14122025_12_42_45_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/86af6a01da64148be0ef647dc7f56e31.jpg","text":"TemporaryFile(/tmp/multipartBody8311520943082788844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714684071,"filename":"image_14122025_12_41_56_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352354","file1":"1399352353","file0":"1399352352","file4":"1399352356","file5":"1399352358","file3":"1399352355"},"map_files_photo_id_array":[{"photo_id":"1399352358","filename":"file5"},{"photo_id":"1399352354","filename":"file2"},{"photo_id":"1399352356","filename":"file4"},{"photo_id":"1399352353","filename":"file1"},{"photo_id":"1399352352","filename":"file0"},{"photo_id":"1399352355","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352355":["hashtag1","hashtag2"]},{"1399352354":["hashtag1","hashtag2"]},{"1399352353":["hashtag1","hashtag2"]},{"1399352356":["hashtag1","hashtag2"]},{"1399352358":["hashtag1","hashtag2"]},{"1399352352":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352355, 1399352354, 1399352353, 1399352356, 1399352358, 1399352352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.756869077682495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:17:42.676896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_48_2684.jpg', '/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_52_3464.jpg', '/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_54_2694.jpg', '/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_58_3672.jpg', '/home/pi/Desktop/images/04112025/13/13/image_04112025_13_14_00_2583.jpg', '/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_03_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_48_2684.jpg
/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_52_3464.jpg
/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_54_2694.jpg
/home/pi/Desktop/images/04112025/13/13/image_04112025_13_13_58_3672.jpg
/home/pi/Desktop/images/04112025/13/13/image_04112025_13_14_00_2583.jpg
/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_03_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":["1399352363","1399352366","1399352365","1399352368","1399352370","1399352367"],"photo_ids_order":["1399352363","1399352365","1399352366","1399352367","1399352368","1399352370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a48a7e28eabc6b5b41f76fd9e142954f.jpg","text":"TemporaryFile(/tmp/multipartBody4013975417912714530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714723388,"filename":"image_04112025_13_13_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/12/14/fb1602066a7bce161f7e88bb9c30f448.jpg","text":"TemporaryFile(/tmp/multipartBody4661516134788409277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714723388,"filename":"image_04112025_13_13_54_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56598ff70c26aeb144ce2c1d25e0dc57.jpg","text":"TemporaryFile(/tmp/multipartBody2031174364405413009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714723388,"filename":"image_04112025_13_13_52_3464.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2bfad37858fc625d27334ec3ec4d196c.jpg","text":"TemporaryFile(/tmp/multipartBody7267658751959428269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714723388,"filename":"image_04112025_13_14_00_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1e49de450953d35f0743559b482ec3d.jpg","text":"TemporaryFile(/tmp/multipartBody2168874399022505578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714723388,"filename":"image_04112025_13_14_03_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c08d2bb12adf410e9ae290c0707cc93d.jpg","text":"TemporaryFile(/tmp/multipartBody1418870049923463412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714723388,"filename":"image_04112025_13_13_58_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352366","file1":"1399352365","file0":"1399352363","file4":"1399352368","file5":"1399352370","file3":"1399352367"},"map_files_photo_id_array":[{"photo_id":"1399352370","filename":"file5"},{"photo_id":"1399352366","filename":"file2"},{"photo_id":"1399352368","filename":"file4"},{"photo_id":"1399352365","filename":"file1"},{"photo_id":"1399352363","filename":"file0"},{"photo_id":"1399352367","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352363":["hashtag1","hashtag2"]},{"1399352366":["hashtag1","hashtag2"]},{"1399352365":["hashtag1","hashtag2"]},{"1399352368":["hashtag1","hashtag2"]},{"1399352370":["hashtag1","hashtag2"]},{"1399352367":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352363, 1399352366, 1399352365, 1399352368, 1399352370, 1399352367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38267111778259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:18:21.973673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/42/image_14122025_12_42_55_9643.jpg', '/home/pi/Desktop/images/14122025/12/42/image_14122025_12_43_06_10687.jpg', '/home/pi/Desktop/images/14122025/12/43/image_14122025_12_43_15_9651.jpg', '/home/pi/Desktop/images/14122025/12/43/image_14122025_12_43_25_9648.jpg', '/home/pi/Desktop/images/14122025/12/43/image_14122025_12_43_46_9867.jpg', '/home/pi/Desktop/images/14122025/12/43/image_14122025_12_44_05_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/42/image_14122025_12_42_55_9643.jpg
/home/pi/Desktop/images/14122025/12/42/image_14122025_12_43_06_10687.jpg
/home/pi/Desktop/images/14122025/12/43/image_14122025_12_43_15_9651.jpg
/home/pi/Desktop/images/14122025/12/43/image_14122025_12_43_25_9648.jpg
/home/pi/Desktop/images/14122025/12/43/image_14122025_12_43_46_9867.jpg
/home/pi/Desktop/images/14122025/12/43/image_14122025_12_44_05_9722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352375","1399352372","1399352380","1399352382","1399352376","1399352379"],"photo_ids_order":["1399352372","1399352375","1399352376","1399352379","1399352380","1399352382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e963f14e71da28cf56b563d430b7576a.jpg","text":"TemporaryFile(/tmp/multipartBody2962257705153357188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714762645,"filename":"image_14122025_12_43_06_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dad8e07f65a1b74791918a9e969e5cc4.jpg","text":"TemporaryFile(/tmp/multipartBody2646067427329806498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714762645,"filename":"image_14122025_12_42_55_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e9a1e5bff72cef85de0551dcdd349550.jpg","text":"TemporaryFile(/tmp/multipartBody7073737548437011259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714762645,"filename":"image_14122025_12_43_46_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf943ef5b0fcaf7af244c17bd9083ab6.jpg","text":"TemporaryFile(/tmp/multipartBody3020698718668508453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714762645,"filename":"image_14122025_12_44_05_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db00b2fdcbb1f4f863a0aeddebce0ef8.jpg","text":"TemporaryFile(/tmp/multipartBody7784437295577266230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714762645,"filename":"image_14122025_12_43_15_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fc40a28aa32302671131317a28b85542.jpg","text":"TemporaryFile(/tmp/multipartBody1731810667700723031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714762645,"filename":"image_14122025_12_43_25_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352376","file1":"1399352375","file0":"1399352372","file4":"1399352380","file5":"1399352382","file3":"1399352379"},"map_files_photo_id_array":[{"photo_id":"1399352382","filename":"file5"},{"photo_id":"1399352376","filename":"file2"},{"photo_id":"1399352380","filename":"file4"},{"photo_id":"1399352375","filename":"file1"},{"photo_id":"1399352372","filename":"file0"},{"photo_id":"1399352379","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352375":["hashtag1","hashtag2"]},{"1399352372":["hashtag1","hashtag2"]},{"1399352380":["hashtag1","hashtag2"]},{"1399352382":["hashtag1","hashtag2"]},{"1399352376":["hashtag1","hashtag2"]},{"1399352379":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352375, 1399352372, 1399352380, 1399352382, 1399352376, 1399352379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78625011444092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:19:03.050965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/44/image_14122025_12_44_55_9667.jpg', '/home/pi/Desktop/images/14122025/12/44/image_14122025_12_45_06_10627.jpg', '/home/pi/Desktop/images/14122025/12/45/image_14122025_12_45_16_9726.jpg', '/home/pi/Desktop/images/14122025/12/45/image_14122025_12_45_46_10742.jpg', '/home/pi/Desktop/images/14122025/12/45/image_14122025_12_45_56_9912.jpg', '/home/pi/Desktop/images/14122025/12/46/image_14122025_12_46_26_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/44/image_14122025_12_44_55_9667.jpg
/home/pi/Desktop/images/14122025/12/44/image_14122025_12_45_06_10627.jpg
/home/pi/Desktop/images/14122025/12/45/image_14122025_12_45_16_9726.jpg
/home/pi/Desktop/images/14122025/12/45/image_14122025_12_45_46_10742.jpg
/home/pi/Desktop/images/14122025/12/45/image_14122025_12_45_56_9912.jpg
/home/pi/Desktop/images/14122025/12/46/image_14122025_12_46_26_10699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352387","1399352390","1399352383","1399352391","1399352385","1399352388"],"photo_ids_order":["1399352383","1399352385","1399352387","1399352388","1399352390","1399352391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ad63eb75bb0d46133fa0b37affa7bad.jpg","text":"TemporaryFile(/tmp/multipartBody3261635608894713030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714803815,"filename":"image_14122025_12_45_16_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf69852b51c33497dca117dcc934c6e3.jpg","text":"TemporaryFile(/tmp/multipartBody2633480051077850838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714803815,"filename":"image_14122025_12_45_56_9912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/79c292e226c2bfa626dd748fc653cf3d.jpg","text":"TemporaryFile(/tmp/multipartBody2810580925080673982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714803815,"filename":"image_14122025_12_44_55_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4fe2bf8d4cf1b5eb166e9b791d31909d.jpg","text":"TemporaryFile(/tmp/multipartBody8953188805941130653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714803815,"filename":"image_14122025_12_46_26_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a2a3485283a9c9c9b9f740c0e7b64a79.jpg","text":"TemporaryFile(/tmp/multipartBody7192346047193345618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714803815,"filename":"image_14122025_12_45_06_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/46d8ef8e362d80b9adba97c9b839a538.jpg","text":"TemporaryFile(/tmp/multipartBody8203894383393014052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714803815,"filename":"image_14122025_12_45_46_10742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352387","file1":"1399352385","file0":"1399352383","file4":"1399352390","file5":"1399352391","file3":"1399352388"},"map_files_photo_id_array":[{"photo_id":"1399352391","filename":"file5"},{"photo_id":"1399352387","filename":"file2"},{"photo_id":"1399352390","filename":"file4"},{"photo_id":"1399352385","filename":"file1"},{"photo_id":"1399352383","filename":"file0"},{"photo_id":"1399352388","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352387":["hashtag1","hashtag2"]},{"1399352390":["hashtag1","hashtag2"]},{"1399352383":["hashtag1","hashtag2"]},{"1399352391":["hashtag1","hashtag2"]},{"1399352385":["hashtag1","hashtag2"]},{"1399352388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352387, 1399352390, 1399352383, 1399352391, 1399352385, 1399352388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54071760177612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:19:42.190621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_07_3421.jpg', '/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_09_2797.jpg', '/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_12_2791.jpg', '/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_16_3605.jpg', '/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_19_2771.jpg', '/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_21_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_07_3421.jpg
/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_09_2797.jpg
/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_12_2791.jpg
/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_16_3605.jpg
/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_19_2771.jpg
/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_21_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":["1399352400","1399352399","1399352396","1399352398","1399352402","1399352401"],"photo_ids_order":["1399352396","1399352398","1399352399","1399352400","1399352401","1399352402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9271f2baa7676d0458a966b91cc5b219.jpg","text":"TemporaryFile(/tmp/multipartBody9196693413268676430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714842915,"filename":"image_04112025_13_14_16_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/74c52c24a7e0940fe84de12cb644715a.jpg","text":"TemporaryFile(/tmp/multipartBody6503842997309798865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714842915,"filename":"image_04112025_13_14_12_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/08a6a181275cd47d77e0f8a5de1e15ad.jpg","text":"TemporaryFile(/tmp/multipartBody3511421744848712244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714842915,"filename":"image_04112025_13_14_07_3421.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fc2c9919408f97bc2c545397a30552aa.jpg","text":"TemporaryFile(/tmp/multipartBody565484051912715010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714842915,"filename":"image_04112025_13_14_09_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28cc0e453d3a8c705a83d39d55040081.jpg","text":"TemporaryFile(/tmp/multipartBody3742260457148844593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714842915,"filename":"image_04112025_13_14_21_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/32ecbfd5bc1a01aa876e85c1d4315f1b.jpg","text":"TemporaryFile(/tmp/multipartBody3502157706358051905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714842915,"filename":"image_04112025_13_14_19_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352399","file1":"1399352398","file0":"1399352396","file4":"1399352401","file5":"1399352402","file3":"1399352400"},"map_files_photo_id_array":[{"photo_id":"1399352402","filename":"file5"},{"photo_id":"1399352399","filename":"file2"},{"photo_id":"1399352401","filename":"file4"},{"photo_id":"1399352398","filename":"file1"},{"photo_id":"1399352396","filename":"file0"},{"photo_id":"1399352400","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352400":["hashtag1","hashtag2"]},{"1399352399":["hashtag1","hashtag2"]},{"1399352396":["hashtag1","hashtag2"]},{"1399352398":["hashtag1","hashtag2"]},{"1399352402":["hashtag1","hashtag2"]},{"1399352401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352400, 1399352399, 1399352396, 1399352398, 1399352402, 1399352401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74268579483032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:20:22.439490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/46/image_14122025_12_46_45_9736.jpg', '/home/pi/Desktop/images/14122025/12/47/image_14122025_12_47_46_10681.jpg', '/home/pi/Desktop/images/14122025/12/47/image_14122025_12_47_55_9600.jpg', '/home/pi/Desktop/images/14122025/12/47/image_14122025_12_48_05_9705.jpg', '/home/pi/Desktop/images/14122025/12/48/image_14122025_12_48_16_10690.jpg', '/home/pi/Desktop/images/14122025/12/48/image_14122025_12_48_25_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/46/image_14122025_12_46_45_9736.jpg
/home/pi/Desktop/images/14122025/12/47/image_14122025_12_47_46_10681.jpg
/home/pi/Desktop/images/14122025/12/47/image_14122025_12_47_55_9600.jpg
/home/pi/Desktop/images/14122025/12/47/image_14122025_12_48_05_9705.jpg
/home/pi/Desktop/images/14122025/12/48/image_14122025_12_48_16_10690.jpg
/home/pi/Desktop/images/14122025/12/48/image_14122025_12_48_25_9688.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5570032596588135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 13:20:32.421494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:20:42.511648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_25_3744.jpg', '/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_27_2607.jpg', '/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_30_2664.jpg', '/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_34_3631.jpg', '/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_36_2706.jpg', '/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_39_2798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_25_3744.jpg
/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_27_2607.jpg
/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_30_2664.jpg
/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_34_3631.jpg
/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_36_2706.jpg
/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_39_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":["1399352418","1399352420","1399352414","1399352417","1399352416","1399352419"],"photo_ids_order":["1399352414","1399352416","1399352417","1399352418","1399352419","1399352420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/daf48e9585cbcf08fd126eaca07cc786.jpg","text":"TemporaryFile(/tmp/multipartBody7371814013501230097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714903272,"filename":"image_04112025_13_14_34_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2394dc8c073448cebc8108be851b67af.jpg","text":"TemporaryFile(/tmp/multipartBody3110872690322521689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714903272,"filename":"image_04112025_13_14_39_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a8e07113215ab252faebabb256d551e7.jpg","text":"TemporaryFile(/tmp/multipartBody5277975533772619770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714903272,"filename":"image_04112025_13_14_25_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e3a84beae3e9adde9ddc957e6a86cd48.jpg","text":"TemporaryFile(/tmp/multipartBody5992057836882543720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714903272,"filename":"image_04112025_13_14_30_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bfbd01f5291eddd4ff0b67a77c0429ba.jpg","text":"TemporaryFile(/tmp/multipartBody1706166605769565531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714903272,"filename":"image_04112025_13_14_27_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e1bcbba2c9d49269318aac2f3578820e.jpg","text":"TemporaryFile(/tmp/multipartBody71088668731519747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714903272,"filename":"image_04112025_13_14_36_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352417","file1":"1399352416","file0":"1399352414","file4":"1399352419","file5":"1399352420","file3":"1399352418"},"map_files_photo_id_array":[{"photo_id":"1399352420","filename":"file5"},{"photo_id":"1399352417","filename":"file2"},{"photo_id":"1399352419","filename":"file4"},{"photo_id":"1399352416","filename":"file1"},{"photo_id":"1399352414","filename":"file0"},{"photo_id":"1399352418","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352418":["hashtag1","hashtag2"]},{"1399352420":["hashtag1","hashtag2"]},{"1399352414":["hashtag1","hashtag2"]},{"1399352417":["hashtag1","hashtag2"]},{"1399352416":["hashtag1","hashtag2"]},{"1399352419":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352418, 1399352420, 1399352414, 1399352417, 1399352416, 1399352419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.954301834106445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:21:22.833570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/46/image_14122025_12_46_45_9736.jpg', '/home/pi/Desktop/images/14122025/12/47/image_14122025_12_47_46_10681.jpg', '/home/pi/Desktop/images/14122025/12/47/image_14122025_12_47_55_9600.jpg', '/home/pi/Desktop/images/14122025/12/47/image_14122025_12_48_05_9705.jpg', '/home/pi/Desktop/images/14122025/12/48/image_14122025_12_48_16_10690.jpg', '/home/pi/Desktop/images/14122025/12/48/image_14122025_12_48_25_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/46/image_14122025_12_46_45_9736.jpg
/home/pi/Desktop/images/14122025/12/47/image_14122025_12_47_46_10681.jpg
/home/pi/Desktop/images/14122025/12/47/image_14122025_12_47_55_9600.jpg
/home/pi/Desktop/images/14122025/12/47/image_14122025_12_48_05_9705.jpg
/home/pi/Desktop/images/14122025/12/48/image_14122025_12_48_16_10690.jpg
/home/pi/Desktop/images/14122025/12/48/image_14122025_12_48_25_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":["1399352424","1399352432","1399352426","1399352428","1399352422","1399352430"],"photo_ids_order":["1399352422","1399352424","1399352426","1399352428","1399352430","1399352432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7c189a497b84c58ca19c35fb20c3411b.jpg","text":"TemporaryFile(/tmp/multipartBody6623146435810672442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714943470,"filename":"image_14122025_12_47_46_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc1451e42971a543784fd6fb19ea2ff0.jpg","text":"TemporaryFile(/tmp/multipartBody5997396551173016670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714943470,"filename":"image_14122025_12_48_25_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a37aa35380021b978f04878bcb7e7f20.jpg","text":"TemporaryFile(/tmp/multipartBody6921399838086272813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714943470,"filename":"image_14122025_12_47_55_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e62879b52d0beef527ec6fc00df6c54c.jpg","text":"TemporaryFile(/tmp/multipartBody4646515460827544739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714943470,"filename":"image_14122025_12_48_05_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f4e0e4897210bec7a03573f4f75db402.jpg","text":"TemporaryFile(/tmp/multipartBody5720370919808745795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714943470,"filename":"image_14122025_12_46_45_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d633e77dfc556aba39112aefecaa9872.jpg","text":"TemporaryFile(/tmp/multipartBody7299148108938619291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714943470,"filename":"image_14122025_12_48_16_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352426","file1":"1399352424","file0":"1399352422","file4":"1399352430","file5":"1399352432","file3":"1399352428"},"map_files_photo_id_array":[{"photo_id":"1399352432","filename":"file5"},{"photo_id":"1399352426","filename":"file2"},{"photo_id":"1399352430","filename":"file4"},{"photo_id":"1399352424","filename":"file1"},{"photo_id":"1399352422","filename":"file0"},{"photo_id":"1399352428","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352424":["hashtag1","hashtag2"]},{"1399352432":["hashtag1","hashtag2"]},{"1399352426":["hashtag1","hashtag2"]},{"1399352428":["hashtag1","hashtag2"]},{"1399352422":["hashtag1","hashtag2"]},{"1399352430":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352424, 1399352432, 1399352426, 1399352428, 1399352422, 1399352430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89233422279358 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:22:02.427776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/48/image_14122025_12_48_35_9695.jpg', '/home/pi/Desktop/images/14122025/12/48/image_14122025_12_48_46_10611.jpg', '/home/pi/Desktop/images/14122025/12/48/image_14122025_12_48_55_9656.jpg', '/home/pi/Desktop/images/14122025/12/48/image_14122025_12_49_05_9791.jpg', '/home/pi/Desktop/images/14122025/12/49/image_14122025_12_49_16_10707.jpg', '/home/pi/Desktop/images/14122025/12/49/image_14122025_12_49_26_9865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/48/image_14122025_12_48_35_9695.jpg
/home/pi/Desktop/images/14122025/12/48/image_14122025_12_48_46_10611.jpg
/home/pi/Desktop/images/14122025/12/48/image_14122025_12_48_55_9656.jpg
/home/pi/Desktop/images/14122025/12/48/image_14122025_12_49_05_9791.jpg
/home/pi/Desktop/images/14122025/12/49/image_14122025_12_49_16_10707.jpg
/home/pi/Desktop/images/14122025/12/49/image_14122025_12_49_26_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":["1399352442","1399352438","1399352440","1399352434","1399352437","1399352439"],"photo_ids_order":["1399352434","1399352437","1399352438","1399352439","1399352440","1399352442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/068376267752db17af7c2e56909c9aac.jpg","text":"TemporaryFile(/tmp/multipartBody3821230158136418998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714983117,"filename":"image_14122025_12_49_26_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c19f95fc1e39513d0a370d428dca27a1.jpg","text":"TemporaryFile(/tmp/multipartBody1816135054125488547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714983117,"filename":"image_14122025_12_48_55_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b016219f5dc2e02f9103fdbe0b412485.jpg","text":"TemporaryFile(/tmp/multipartBody7873105866004928953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714983117,"filename":"image_14122025_12_49_16_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8abc568770877bfbec5ad5817d7c287b.jpg","text":"TemporaryFile(/tmp/multipartBody2922283844754598461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714983117,"filename":"image_14122025_12_48_35_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/444d3cf8a824e8e7e93984950176616e.jpg","text":"TemporaryFile(/tmp/multipartBody1656969701000136367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714983117,"filename":"image_14122025_12_48_46_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/26f339d9e250fc3833346d31acbb8bb7.jpg","text":"TemporaryFile(/tmp/multipartBody4821414697713498969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765714983117,"filename":"image_14122025_12_49_05_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352438","file1":"1399352437","file0":"1399352434","file4":"1399352440","file5":"1399352442","file3":"1399352439"},"map_files_photo_id_array":[{"photo_id":"1399352442","filename":"file5"},{"photo_id":"1399352438","filename":"file2"},{"photo_id":"1399352440","filename":"file4"},{"photo_id":"1399352437","filename":"file1"},{"photo_id":"1399352434","filename":"file0"},{"photo_id":"1399352439","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352442":["hashtag1","hashtag2"]},{"1399352438":["hashtag1","hashtag2"]},{"1399352440":["hashtag1","hashtag2"]},{"1399352434":["hashtag1","hashtag2"]},{"1399352437":["hashtag1","hashtag2"]},{"1399352439":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352442, 1399352438, 1399352440, 1399352434, 1399352437, 1399352439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18806505203247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:22:42.017816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_43_3625.jpg', '/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_46_2599.jpg', '/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_51_2739.jpg', '/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_55_3368.jpg', '/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_57_2592.jpg', '/home/pi/Desktop/images/04112025/13/14/image_04112025_13_15_00_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_43_3625.jpg
/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_46_2599.jpg
/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_51_2739.jpg
/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_55_3368.jpg
/home/pi/Desktop/images/04112025/13/14/image_04112025_13_14_57_2592.jpg
/home/pi/Desktop/images/04112025/13/14/image_04112025_13_15_00_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":["1399352454","1399352448","1399352450","1399352453","1399352452","1399352451"],"photo_ids_order":["1399352448","1399352450","1399352451","1399352452","1399352453","1399352454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/98ac882c9f8596509e8d5ed51f2f83a3.jpg","text":"TemporaryFile(/tmp/multipartBody2787997893832212650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715022715,"filename":"image_04112025_13_15_00_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/44731b8509baee20da8aa634f2939674.jpg","text":"TemporaryFile(/tmp/multipartBody7433344600311373574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715022715,"filename":"image_04112025_13_14_43_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bcd740afd59ac1fc4b5a460d6678b108.jpg","text":"TemporaryFile(/tmp/multipartBody3674697922595412683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715022715,"filename":"image_04112025_13_14_46_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19930f8ee272dbb6641a0fa4c793af06.jpg","text":"TemporaryFile(/tmp/multipartBody3096337410640149980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715022715,"filename":"image_04112025_13_14_57_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f56e59aef36033b73262805a0c72b33b.jpg","text":"TemporaryFile(/tmp/multipartBody1906943680716098294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715022715,"filename":"image_04112025_13_14_55_3368.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a45dc879081e42cdfff2f2c0ea94e8e0.jpg","text":"TemporaryFile(/tmp/multipartBody7348686392080045068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715022715,"filename":"image_04112025_13_14_51_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352451","file1":"1399352450","file0":"1399352448","file4":"1399352453","file5":"1399352454","file3":"1399352452"},"map_files_photo_id_array":[{"photo_id":"1399352454","filename":"file5"},{"photo_id":"1399352451","filename":"file2"},{"photo_id":"1399352453","filename":"file4"},{"photo_id":"1399352450","filename":"file1"},{"photo_id":"1399352448","filename":"file0"},{"photo_id":"1399352452","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352454":["hashtag1","hashtag2"]},{"1399352448":["hashtag1","hashtag2"]},{"1399352450":["hashtag1","hashtag2"]},{"1399352453":["hashtag1","hashtag2"]},{"1399352452":["hashtag1","hashtag2"]},{"1399352451":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352454, 1399352448, 1399352450, 1399352453, 1399352452, 1399352451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.306488275527954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:23:22.313443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/49/image_14122025_12_49_35_9893.jpg', '/home/pi/Desktop/images/14122025/12/49/image_14122025_12_49_45_9705.jpg', '/home/pi/Desktop/images/14122025/12/49/image_14122025_12_49_56_10670.jpg', '/home/pi/Desktop/images/14122025/12/50/image_14122025_12_50_15_9866.jpg', '/home/pi/Desktop/images/14122025/12/50/image_14122025_12_50_25_9748.jpg', '/home/pi/Desktop/images/14122025/12/50/image_14122025_12_50_36_10729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/49/image_14122025_12_49_35_9893.jpg
/home/pi/Desktop/images/14122025/12/49/image_14122025_12_49_45_9705.jpg
/home/pi/Desktop/images/14122025/12/49/image_14122025_12_49_56_10670.jpg
/home/pi/Desktop/images/14122025/12/50/image_14122025_12_50_15_9866.jpg
/home/pi/Desktop/images/14122025/12/50/image_14122025_12_50_25_9748.jpg
/home/pi/Desktop/images/14122025/12/50/image_14122025_12_50_36_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":["1399352468","1399352459","1399352461","1399352455","1399352463","1399352457"],"photo_ids_order":["1399352455","1399352457","1399352459","1399352461","1399352463","1399352468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fa1488ffd8b33a71aba0f8d598e00259.jpg","text":"TemporaryFile(/tmp/multipartBody8329394273934873166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715062954,"filename":"image_14122025_12_50_36_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/45600e3efa6d646ca883a51270a694b0.jpg","text":"TemporaryFile(/tmp/multipartBody3035057192096526989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715062954,"filename":"image_14122025_12_49_56_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a59fc5e57370572c017bdf78dfe20da8.jpg","text":"TemporaryFile(/tmp/multipartBody8014321299913136355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715062954,"filename":"image_14122025_12_50_15_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d568c0ebe1ec06fc454619bd44152361.jpg","text":"TemporaryFile(/tmp/multipartBody6726002202188482998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715062954,"filename":"image_14122025_12_49_35_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/73c7084a7e3a85998a3b98e865f9112e.jpg","text":"TemporaryFile(/tmp/multipartBody1953020523180703278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715062954,"filename":"image_14122025_12_50_25_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e36458c4f451050ec0e57e868b0d44bc.jpg","text":"TemporaryFile(/tmp/multipartBody8324467733337474212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715062954,"filename":"image_14122025_12_49_45_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352459","file1":"1399352457","file0":"1399352455","file4":"1399352463","file5":"1399352468","file3":"1399352461"},"map_files_photo_id_array":[{"photo_id":"1399352468","filename":"file5"},{"photo_id":"1399352459","filename":"file2"},{"photo_id":"1399352463","filename":"file4"},{"photo_id":"1399352457","filename":"file1"},{"photo_id":"1399352455","filename":"file0"},{"photo_id":"1399352461","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352468":["hashtag1","hashtag2"]},{"1399352459":["hashtag1","hashtag2"]},{"1399352461":["hashtag1","hashtag2"]},{"1399352455":["hashtag1","hashtag2"]},{"1399352463":["hashtag1","hashtag2"]},{"1399352457":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352468, 1399352459, 1399352461, 1399352455, 1399352463, 1399352457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09227156639099 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:24:03.261158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/50/image_14122025_12_50_45_9601.jpg', '/home/pi/Desktop/images/14122025/12/50/image_14122025_12_50_55_9813.jpg', '/home/pi/Desktop/images/14122025/12/50/image_14122025_12_51_06_10607.jpg', '/home/pi/Desktop/images/14122025/12/51/image_14122025_12_51_16_9684.jpg', '/home/pi/Desktop/images/14122025/12/51/image_14122025_12_51_25_9669.jpg', '/home/pi/Desktop/images/14122025/12/51/image_14122025_12_51_35_9834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/50/image_14122025_12_50_45_9601.jpg
/home/pi/Desktop/images/14122025/12/50/image_14122025_12_50_55_9813.jpg
/home/pi/Desktop/images/14122025/12/50/image_14122025_12_51_06_10607.jpg
/home/pi/Desktop/images/14122025/12/51/image_14122025_12_51_16_9684.jpg
/home/pi/Desktop/images/14122025/12/51/image_14122025_12_51_25_9669.jpg
/home/pi/Desktop/images/14122025/12/51/image_14122025_12_51_35_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":["1399352474","1399352471","1399352470","1399352473","1399352475","1399352472"],"photo_ids_order":["1399352470","1399352471","1399352472","1399352473","1399352474","1399352475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd8d3f631329f8b4a2fd2e2f337f4021.jpg","text":"TemporaryFile(/tmp/multipartBody1280406170748247982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715104010,"filename":"image_14122025_12_51_25_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8d9e735092ee31904821ce9d62abb063.jpg","text":"TemporaryFile(/tmp/multipartBody3099914641244157876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715104010,"filename":"image_14122025_12_50_55_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/05760c3a0b0b1053154eb2fc12fd3e9a.jpg","text":"TemporaryFile(/tmp/multipartBody18630556157922178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715104010,"filename":"image_14122025_12_50_45_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c4e65f692ea71389c2e4a377811b9cc.jpg","text":"TemporaryFile(/tmp/multipartBody6356214484225494858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715104010,"filename":"image_14122025_12_51_16_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b0059b3022cc79a5c30d893a4b3f117.jpg","text":"TemporaryFile(/tmp/multipartBody3996898777949135684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715104010,"filename":"image_14122025_12_51_35_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/70e82e295195e3d86e2d6b387e055c65.jpg","text":"TemporaryFile(/tmp/multipartBody4094260072060787610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715104010,"filename":"image_14122025_12_51_06_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352472","file1":"1399352471","file0":"1399352470","file4":"1399352474","file5":"1399352475","file3":"1399352473"},"map_files_photo_id_array":[{"photo_id":"1399352475","filename":"file5"},{"photo_id":"1399352472","filename":"file2"},{"photo_id":"1399352474","filename":"file4"},{"photo_id":"1399352471","filename":"file1"},{"photo_id":"1399352470","filename":"file0"},{"photo_id":"1399352473","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352474":["hashtag1","hashtag2"]},{"1399352471":["hashtag1","hashtag2"]},{"1399352470":["hashtag1","hashtag2"]},{"1399352473":["hashtag1","hashtag2"]},{"1399352475":["hashtag1","hashtag2"]},{"1399352472":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352474, 1399352471, 1399352470, 1399352473, 1399352475, 1399352472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.674052476882935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:24:42.562715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_04_3574.jpg', '/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_06_2767.jpg', '/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_09_3045.jpg', '/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_12_2767.jpg', '/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_16_3537.jpg', '/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_18_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_04_3574.jpg
/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_06_2767.jpg
/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_09_3045.jpg
/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_12_2767.jpg
/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_16_3537.jpg
/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_18_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":["1399352489","1399352491","1399352493","1399352481","1399352484","1399352487"],"photo_ids_order":["1399352481","1399352484","1399352487","1399352489","1399352491","1399352493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/359cfcb95252416b8c2bc4e114fd6de3.jpg","text":"TemporaryFile(/tmp/multipartBody6485023883169107418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715143254,"filename":"image_04112025_13_15_12_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/89bdcd6c3266fbea8b2cc6820ccd74a8.jpg","text":"TemporaryFile(/tmp/multipartBody7885267677105821887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715143254,"filename":"image_04112025_13_15_16_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b5ac3ed8ad1ff736cb91e78e815ff93.jpg","text":"TemporaryFile(/tmp/multipartBody5935874059806328702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715143254,"filename":"image_04112025_13_15_18_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a2b317be166086e9dcedd9fe7955197.jpg","text":"TemporaryFile(/tmp/multipartBody1812222220859379520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715143254,"filename":"image_04112025_13_15_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/12/14/ad4cf82e02fb63f7a14e48d89113c6e3.jpg","text":"TemporaryFile(/tmp/multipartBody3249042947956025030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715143254,"filename":"image_04112025_13_15_06_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fc228a4d68dc3b8b08393a1df8fd3c37.jpg","text":"TemporaryFile(/tmp/multipartBody7133696262586078941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715143254,"filename":"image_04112025_13_15_09_3045.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352487","file1":"1399352484","file0":"1399352481","file4":"1399352491","file5":"1399352493","file3":"1399352489"},"map_files_photo_id_array":[{"photo_id":"1399352493","filename":"file5"},{"photo_id":"1399352487","filename":"file2"},{"photo_id":"1399352491","filename":"file4"},{"photo_id":"1399352484","filename":"file1"},{"photo_id":"1399352481","filename":"file0"},{"photo_id":"1399352489","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352489":["hashtag1","hashtag2"]},{"1399352491":["hashtag1","hashtag2"]},{"1399352493":["hashtag1","hashtag2"]},{"1399352481":["hashtag1","hashtag2"]},{"1399352484":["hashtag1","hashtag2"]},{"1399352487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352489, 1399352491, 1399352493, 1399352481, 1399352484, 1399352487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10504984855652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:25:21.803969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/51/image_14122025_12_51_46_10780.jpg', '/home/pi/Desktop/images/14122025/12/51/image_14122025_12_51_56_9840.jpg', '/home/pi/Desktop/images/14122025/12/51/image_14122025_12_52_05_9704.jpg', '/home/pi/Desktop/images/14122025/12/52/image_14122025_12_52_15_9682.jpg', '/home/pi/Desktop/images/14122025/12/52/image_14122025_12_52_26_10617.jpg', '/home/pi/Desktop/images/14122025/12/52/image_14122025_12_52_35_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/51/image_14122025_12_51_46_10780.jpg
/home/pi/Desktop/images/14122025/12/51/image_14122025_12_51_56_9840.jpg
/home/pi/Desktop/images/14122025/12/51/image_14122025_12_52_05_9704.jpg
/home/pi/Desktop/images/14122025/12/52/image_14122025_12_52_15_9682.jpg
/home/pi/Desktop/images/14122025/12/52/image_14122025_12_52_26_10617.jpg
/home/pi/Desktop/images/14122025/12/52/image_14122025_12_52_35_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":["1399352498","1399352502","1399352504","1399352494","1399352500","1399352496"],"photo_ids_order":["1399352494","1399352496","1399352498","1399352500","1399352502","1399352504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad66520add380d762a497c52432095f3.jpg","text":"TemporaryFile(/tmp/multipartBody7099641982938824647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715182437,"filename":"image_14122025_12_52_05_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/509d353a9de2fc35aa820249e05edf1d.jpg","text":"TemporaryFile(/tmp/multipartBody8335483087445951428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715182437,"filename":"image_14122025_12_52_26_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/52687eb35aa3425087d8a8add09456b4.jpg","text":"TemporaryFile(/tmp/multipartBody9040373826085197885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715182437,"filename":"image_14122025_12_52_35_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f11254aec33c370a8b8f7f1cea859693.jpg","text":"TemporaryFile(/tmp/multipartBody1673531577066428687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715182437,"filename":"image_14122025_12_51_46_10780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0625354aea20135cae75fdf8af121b9d.jpg","text":"TemporaryFile(/tmp/multipartBody7376975727882150680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715182437,"filename":"image_14122025_12_52_15_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/22fd2654386e31fa3c5c77000408f900.jpg","text":"TemporaryFile(/tmp/multipartBody9102456513404725765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715182437,"filename":"image_14122025_12_51_56_9840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352498","file1":"1399352496","file0":"1399352494","file4":"1399352502","file5":"1399352504","file3":"1399352500"},"map_files_photo_id_array":[{"photo_id":"1399352504","filename":"file5"},{"photo_id":"1399352498","filename":"file2"},{"photo_id":"1399352502","filename":"file4"},{"photo_id":"1399352496","filename":"file1"},{"photo_id":"1399352494","filename":"file0"},{"photo_id":"1399352500","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352498":["hashtag1","hashtag2"]},{"1399352502":["hashtag1","hashtag2"]},{"1399352504":["hashtag1","hashtag2"]},{"1399352494":["hashtag1","hashtag2"]},{"1399352500":["hashtag1","hashtag2"]},{"1399352496":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352498, 1399352502, 1399352504, 1399352494, 1399352500, 1399352496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68033790588379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:26:02.522709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/52/image_14122025_12_52_56_10676.jpg', '/home/pi/Desktop/images/14122025/12/52/image_14122025_12_53_06_9698.jpg', '/home/pi/Desktop/images/14122025/12/53/image_14122025_12_53_15_9748.jpg', '/home/pi/Desktop/images/14122025/12/53/image_14122025_12_53_25_9809.jpg', '/home/pi/Desktop/images/14122025/12/53/image_14122025_12_53_36_10582.jpg', '/home/pi/Desktop/images/14122025/12/53/image_14122025_12_53_45_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/52/image_14122025_12_52_56_10676.jpg
/home/pi/Desktop/images/14122025/12/52/image_14122025_12_53_06_9698.jpg
/home/pi/Desktop/images/14122025/12/53/image_14122025_12_53_15_9748.jpg
/home/pi/Desktop/images/14122025/12/53/image_14122025_12_53_25_9809.jpg
/home/pi/Desktop/images/14122025/12/53/image_14122025_12_53_36_10582.jpg
/home/pi/Desktop/images/14122025/12/53/image_14122025_12_53_45_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":["1399352511","1399352513","1399352507","1399352515","1399352509","1399352512"],"photo_ids_order":["1399352507","1399352509","1399352511","1399352512","1399352513","1399352515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ea4f7a7728cc8a6d3d6c9b12678c6ac.jpg","text":"TemporaryFile(/tmp/multipartBody8472404761616744603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715223146,"filename":"image_14122025_12_53_15_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4af8f8756c24b01bb56009b103215234.jpg","text":"TemporaryFile(/tmp/multipartBody4428645836620435136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715223146,"filename":"image_14122025_12_53_36_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c0cd87b95792634f3117868e481c403.jpg","text":"TemporaryFile(/tmp/multipartBody3798869716471134310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715223146,"filename":"image_14122025_12_52_56_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d183469b9d4b2737658ba09f9b38454b.jpg","text":"TemporaryFile(/tmp/multipartBody1855251326126688202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715223146,"filename":"image_14122025_12_53_45_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b1a66139528acc528e2571c65a1e31a8.jpg","text":"TemporaryFile(/tmp/multipartBody8620590831384946264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715223146,"filename":"image_14122025_12_53_06_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba279401ea4b3bf5d523e501207acc69.jpg","text":"TemporaryFile(/tmp/multipartBody1974587812777303028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715223146,"filename":"image_14122025_12_53_25_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352511","file1":"1399352509","file0":"1399352507","file4":"1399352513","file5":"1399352515","file3":"1399352512"},"map_files_photo_id_array":[{"photo_id":"1399352515","filename":"file5"},{"photo_id":"1399352511","filename":"file2"},{"photo_id":"1399352513","filename":"file4"},{"photo_id":"1399352509","filename":"file1"},{"photo_id":"1399352507","filename":"file0"},{"photo_id":"1399352512","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352511":["hashtag1","hashtag2"]},{"1399352513":["hashtag1","hashtag2"]},{"1399352507":["hashtag1","hashtag2"]},{"1399352515":["hashtag1","hashtag2"]},{"1399352509":["hashtag1","hashtag2"]},{"1399352512":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352511, 1399352513, 1399352507, 1399352515, 1399352509, 1399352512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2219398021698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:26:42.090739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_21_2690.jpg', '/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_24_2807.jpg', '/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_36_11800.jpg', '/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_39_3225.jpg', '/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_41_1602.jpg', '/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_42_1771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_21_2690.jpg
/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_24_2807.jpg
/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_36_11800.jpg
/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_39_3225.jpg
/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_41_1602.jpg
/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_42_1771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352526","1399352520","1399352523","1399352525","1399352527","1399352524"],"photo_ids_order":["1399352520","1399352523","1399352524","1399352525","1399352526","1399352527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b7cc5cdded083690ce25d5e5edaf3e65.jpg","text":"TemporaryFile(/tmp/multipartBody5202685219785913853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715262782,"filename":"image_04112025_13_15_41_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c2d3bd38928fa72a41f1729373411b5c.jpg","text":"TemporaryFile(/tmp/multipartBody3519863543075355912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715262782,"filename":"image_04112025_13_15_21_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/42e828ebfff4f58359d0afbe25603819.jpg","text":"TemporaryFile(/tmp/multipartBody9104145388532824629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715262782,"filename":"image_04112025_13_15_24_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/826befa5880b70b7d44f6b1fadb6ea85.jpg","text":"TemporaryFile(/tmp/multipartBody5110544460847713701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715262782,"filename":"image_04112025_13_15_39_3225.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd8cfb2d49156eb45187ba6baac1936d.jpg","text":"TemporaryFile(/tmp/multipartBody4329752149102961068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715262782,"filename":"image_04112025_13_15_42_1771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f9c3a5d60d984a8b217bca8e6fdbea7b.jpg","text":"TemporaryFile(/tmp/multipartBody529855234892669462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715262782,"filename":"image_04112025_13_15_36_11800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352524","file1":"1399352523","file0":"1399352520","file4":"1399352526","file5":"1399352527","file3":"1399352525"},"map_files_photo_id_array":[{"photo_id":"1399352527","filename":"file5"},{"photo_id":"1399352524","filename":"file2"},{"photo_id":"1399352526","filename":"file4"},{"photo_id":"1399352523","filename":"file1"},{"photo_id":"1399352520","filename":"file0"},{"photo_id":"1399352525","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352526":["hashtag1","hashtag2"]},{"1399352520":["hashtag1","hashtag2"]},{"1399352523":["hashtag1","hashtag2"]},{"1399352525":["hashtag1","hashtag2"]},{"1399352527":["hashtag1","hashtag2"]},{"1399352524":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352526, 1399352520, 1399352523, 1399352525, 1399352527, 1399352524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82954692840576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:27:22.388835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/53/image_14122025_12_53_55_9592.jpg', '/home/pi/Desktop/images/14122025/12/53/image_14122025_12_54_06_10665.jpg', '/home/pi/Desktop/images/14122025/12/54/image_14122025_12_54_16_9807.jpg', '/home/pi/Desktop/images/14122025/12/54/image_14122025_12_54_25_9626.jpg', '/home/pi/Desktop/images/14122025/12/54/image_14122025_12_54_35_9797.jpg', '/home/pi/Desktop/images/14122025/12/54/image_14122025_12_54_46_10776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/53/image_14122025_12_53_55_9592.jpg
/home/pi/Desktop/images/14122025/12/53/image_14122025_12_54_06_10665.jpg
/home/pi/Desktop/images/14122025/12/54/image_14122025_12_54_16_9807.jpg
/home/pi/Desktop/images/14122025/12/54/image_14122025_12_54_25_9626.jpg
/home/pi/Desktop/images/14122025/12/54/image_14122025_12_54_35_9797.jpg
/home/pi/Desktop/images/14122025/12/54/image_14122025_12_54_46_10776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352529","1399352534","1399352533","1399352536","1399352539","1399352530"],"photo_ids_order":["1399352529","1399352530","1399352533","1399352534","1399352536","1399352539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/30dfbbeaa8fc1a93a2ee59709df297a4.jpg","text":"TemporaryFile(/tmp/multipartBody2235752430852180402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715303023,"filename":"image_14122025_12_53_55_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/95074e2049f112bb59859c3d8df14359.jpg","text":"TemporaryFile(/tmp/multipartBody5640636654666798588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715303023,"filename":"image_14122025_12_54_25_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/191c8beb9ea9f1481fd310836f267021.jpg","text":"TemporaryFile(/tmp/multipartBody3192886308979457011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715303023,"filename":"image_14122025_12_54_16_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bdcb1234db3fce342b52fb15aaa1d12a.jpg","text":"TemporaryFile(/tmp/multipartBody8987099625187789217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715303023,"filename":"image_14122025_12_54_35_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/731cdf1e1dc2dfc0e131818eb017da6e.jpg","text":"TemporaryFile(/tmp/multipartBody6167403024856810015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715303023,"filename":"image_14122025_12_54_46_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a0c5d69507e55de98b34a5d75737fd55.jpg","text":"TemporaryFile(/tmp/multipartBody3186165172566854861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715303023,"filename":"image_14122025_12_54_06_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352533","file1":"1399352530","file0":"1399352529","file4":"1399352536","file5":"1399352539","file3":"1399352534"},"map_files_photo_id_array":[{"photo_id":"1399352539","filename":"file5"},{"photo_id":"1399352533","filename":"file2"},{"photo_id":"1399352536","filename":"file4"},{"photo_id":"1399352530","filename":"file1"},{"photo_id":"1399352529","filename":"file0"},{"photo_id":"1399352534","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352529":["hashtag1","hashtag2"]},{"1399352534":["hashtag1","hashtag2"]},{"1399352533":["hashtag1","hashtag2"]},{"1399352536":["hashtag1","hashtag2"]},{"1399352539":["hashtag1","hashtag2"]},{"1399352530":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352529, 1399352534, 1399352533, 1399352536, 1399352539, 1399352530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79333758354187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:28:03.045902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/54/image_14122025_12_54_55_9588.jpg', '/home/pi/Desktop/images/14122025/12/54/image_14122025_12_55_05_9807.jpg', '/home/pi/Desktop/images/14122025/12/55/image_14122025_12_55_15_9759.jpg', '/home/pi/Desktop/images/14122025/12/55/image_14122025_12_55_26_10695.jpg', '/home/pi/Desktop/images/14122025/12/55/image_14122025_12_55_35_9640.jpg', '/home/pi/Desktop/images/14122025/12/55/image_14122025_12_55_46_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/54/image_14122025_12_54_55_9588.jpg
/home/pi/Desktop/images/14122025/12/54/image_14122025_12_55_05_9807.jpg
/home/pi/Desktop/images/14122025/12/55/image_14122025_12_55_15_9759.jpg
/home/pi/Desktop/images/14122025/12/55/image_14122025_12_55_26_10695.jpg
/home/pi/Desktop/images/14122025/12/55/image_14122025_12_55_35_9640.jpg
/home/pi/Desktop/images/14122025/12/55/image_14122025_12_55_46_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352547","1399352543","1399352546","1399352545","1399352542","1399352544"],"photo_ids_order":["1399352542","1399352543","1399352544","1399352545","1399352546","1399352547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d4690bd9bf91ef98484bb590d54c497.jpg","text":"TemporaryFile(/tmp/multipartBody1568075170651911402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715343686,"filename":"image_14122025_12_55_46_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e8a2b5cf7f194e517f8a19f52f98d84e.jpg","text":"TemporaryFile(/tmp/multipartBody8705713882454155179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715343686,"filename":"image_14122025_12_55_05_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d01b53a1a8d156ea83e64fde57602c6.jpg","text":"TemporaryFile(/tmp/multipartBody4764089148807696450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715343686,"filename":"image_14122025_12_55_35_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/074cfa4464c5ae51aa15e7a462dc3e5a.jpg","text":"TemporaryFile(/tmp/multipartBody6652073967604887244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715343686,"filename":"image_14122025_12_55_26_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/71a2621deba6153b78946cc4e9a62986.jpg","text":"TemporaryFile(/tmp/multipartBody670713181998966974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715343686,"filename":"image_14122025_12_54_55_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/097fd72f1340840fd6e5b24f59b964d9.jpg","text":"TemporaryFile(/tmp/multipartBody6535435620470073424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715343686,"filename":"image_14122025_12_55_15_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352544","file1":"1399352543","file0":"1399352542","file4":"1399352546","file5":"1399352547","file3":"1399352545"},"map_files_photo_id_array":[{"photo_id":"1399352547","filename":"file5"},{"photo_id":"1399352544","filename":"file2"},{"photo_id":"1399352546","filename":"file4"},{"photo_id":"1399352543","filename":"file1"},{"photo_id":"1399352542","filename":"file0"},{"photo_id":"1399352545","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352547":["hashtag1","hashtag2"]},{"1399352543":["hashtag1","hashtag2"]},{"1399352546":["hashtag1","hashtag2"]},{"1399352545":["hashtag1","hashtag2"]},{"1399352542":["hashtag1","hashtag2"]},{"1399352544":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352547, 1399352543, 1399352546, 1399352545, 1399352542, 1399352544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.448163986206055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:28:42.566729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_44_1644.jpg', '/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_46_1747.jpg', '/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_47_1709.jpg', '/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_49_1603.jpg', '/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_52_2643.jpg', '/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_54_2506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_44_1644.jpg
/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_46_1747.jpg
/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_47_1709.jpg
/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_49_1603.jpg
/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_52_2643.jpg
/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_54_2506.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352561","1399352564","1399352563","1399352554","1399352557","1399352559"],"photo_ids_order":["1399352554","1399352557","1399352559","1399352561","1399352563","1399352564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5c6ee27c9bc986e8e2b8be1806ee3bf2.jpg","text":"TemporaryFile(/tmp/multipartBody6094104045853273252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715383291,"filename":"image_04112025_13_15_49_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/087cde9c5c07ed13b7d54bb7484527df.jpg","text":"TemporaryFile(/tmp/multipartBody5915893530454919608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715383291,"filename":"image_04112025_13_15_54_2506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ab52bb85d4b50ec796c8f81547c634d.jpg","text":"TemporaryFile(/tmp/multipartBody6859022353431985522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715383291,"filename":"image_04112025_13_15_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/12/14/dd01388a1e22bee5df9f5f82f4742c65.jpg","text":"TemporaryFile(/tmp/multipartBody6158086116693301334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715383291,"filename":"image_04112025_13_15_44_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4433d3ca275abca1c8a0669395ca4135.jpg","text":"TemporaryFile(/tmp/multipartBody2122249899059733488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715383291,"filename":"image_04112025_13_15_46_1747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cfde2f15cb95482597c20a36492e4316.jpg","text":"TemporaryFile(/tmp/multipartBody3583050327161276297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715383291,"filename":"image_04112025_13_15_47_1709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352559","file1":"1399352557","file0":"1399352554","file4":"1399352563","file5":"1399352564","file3":"1399352561"},"map_files_photo_id_array":[{"photo_id":"1399352564","filename":"file5"},{"photo_id":"1399352559","filename":"file2"},{"photo_id":"1399352563","filename":"file4"},{"photo_id":"1399352557","filename":"file1"},{"photo_id":"1399352554","filename":"file0"},{"photo_id":"1399352561","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352561":["hashtag1","hashtag2"]},{"1399352564":["hashtag1","hashtag2"]},{"1399352563":["hashtag1","hashtag2"]},{"1399352554":["hashtag1","hashtag2"]},{"1399352557":["hashtag1","hashtag2"]},{"1399352559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352561, 1399352564, 1399352563, 1399352554, 1399352557, 1399352559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93983221054077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:29:21.971925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/55/image_14122025_12_55_56_9809.jpg', '/home/pi/Desktop/images/14122025/12/55/image_14122025_12_56_05_9784.jpg', '/home/pi/Desktop/images/14122025/12/56/image_14122025_12_56_15_9690.jpg', '/home/pi/Desktop/images/14122025/12/56/image_14122025_12_56_26_10747.jpg', '/home/pi/Desktop/images/14122025/12/56/image_14122025_12_56_36_9720.jpg', '/home/pi/Desktop/images/14122025/12/56/image_14122025_12_56_45_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/55/image_14122025_12_55_56_9809.jpg
/home/pi/Desktop/images/14122025/12/55/image_14122025_12_56_05_9784.jpg
/home/pi/Desktop/images/14122025/12/56/image_14122025_12_56_15_9690.jpg
/home/pi/Desktop/images/14122025/12/56/image_14122025_12_56_26_10747.jpg
/home/pi/Desktop/images/14122025/12/56/image_14122025_12_56_36_9720.jpg
/home/pi/Desktop/images/14122025/12/56/image_14122025_12_56_45_9722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352573","1399352567","1399352578","1399352575","1399352569","1399352571"],"photo_ids_order":["1399352567","1399352569","1399352571","1399352573","1399352575","1399352578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/734a1a586f961b6fe4511d7671e8fd0c.jpg","text":"TemporaryFile(/tmp/multipartBody8299642805809057778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715422605,"filename":"image_14122025_12_56_26_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d10407df472c8d268e6d549c7b000b8b.jpg","text":"TemporaryFile(/tmp/multipartBody3831258421937606685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715422605,"filename":"image_14122025_12_55_56_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f8bd1b3abb146371b13851f3d7480a8.jpg","text":"TemporaryFile(/tmp/multipartBody5471327082952622608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715422605,"filename":"image_14122025_12_56_45_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae65d9c807aed298f07a0f03363f7834.jpg","text":"TemporaryFile(/tmp/multipartBody6526960238816210205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715422605,"filename":"image_14122025_12_56_36_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3748e7dfafda9cd87ea4fe445574338b.jpg","text":"TemporaryFile(/tmp/multipartBody1571219204327949681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715422605,"filename":"image_14122025_12_56_05_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/37b1922ba365ab6ca337aa4fc320ce5a.jpg","text":"TemporaryFile(/tmp/multipartBody4055047258674686834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715422605,"filename":"image_14122025_12_56_15_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352571","file1":"1399352569","file0":"1399352567","file4":"1399352575","file5":"1399352578","file3":"1399352573"},"map_files_photo_id_array":[{"photo_id":"1399352578","filename":"file5"},{"photo_id":"1399352571","filename":"file2"},{"photo_id":"1399352575","filename":"file4"},{"photo_id":"1399352569","filename":"file1"},{"photo_id":"1399352567","filename":"file0"},{"photo_id":"1399352573","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352573":["hashtag1","hashtag2"]},{"1399352567":["hashtag1","hashtag2"]},{"1399352578":["hashtag1","hashtag2"]},{"1399352575":["hashtag1","hashtag2"]},{"1399352569":["hashtag1","hashtag2"]},{"1399352571":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352573, 1399352567, 1399352578, 1399352575, 1399352569, 1399352571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.094722747802734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:30:02.549899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/56/image_14122025_12_56_55_9659.jpg', '/home/pi/Desktop/images/14122025/12/56/image_14122025_12_57_06_10585.jpg', '/home/pi/Desktop/images/14122025/12/57/image_14122025_12_57_15_9873.jpg', '/home/pi/Desktop/images/14122025/12/57/image_14122025_12_57_25_9852.jpg', '/home/pi/Desktop/images/14122025/12/57/image_14122025_12_57_35_9792.jpg', '/home/pi/Desktop/images/14122025/12/57/image_14122025_12_57_46_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/56/image_14122025_12_56_55_9659.jpg
/home/pi/Desktop/images/14122025/12/56/image_14122025_12_57_06_10585.jpg
/home/pi/Desktop/images/14122025/12/57/image_14122025_12_57_15_9873.jpg
/home/pi/Desktop/images/14122025/12/57/image_14122025_12_57_25_9852.jpg
/home/pi/Desktop/images/14122025/12/57/image_14122025_12_57_35_9792.jpg
/home/pi/Desktop/images/14122025/12/57/image_14122025_12_57_46_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":["1399352585","1399352582","1399352581","1399352584","1399352587","1399352583"],"photo_ids_order":["1399352581","1399352582","1399352583","1399352584","1399352585","1399352587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6d49aa5b83203a49ab144b61bd803e7c.jpg","text":"TemporaryFile(/tmp/multipartBody9214913079886789714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715463222,"filename":"image_14122025_12_57_35_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7784457ddef8f280053564863ee0353d.jpg","text":"TemporaryFile(/tmp/multipartBody2019146250266691084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715463222,"filename":"image_14122025_12_57_06_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b7dccb8c8a537cfb02139271485dd22b.jpg","text":"TemporaryFile(/tmp/multipartBody1278267415565298830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715463222,"filename":"image_14122025_12_56_55_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8fb0ffb19be93ebe6b89d53192ca30c9.jpg","text":"TemporaryFile(/tmp/multipartBody3786160842270247702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715463222,"filename":"image_14122025_12_57_25_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b663102079a61c5466afd0a9bcffb78.jpg","text":"TemporaryFile(/tmp/multipartBody725936900107145030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715463222,"filename":"image_14122025_12_57_46_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a15748a58f2c692fdfd28eb533a31a4a.jpg","text":"TemporaryFile(/tmp/multipartBody2823776290299343507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715463222,"filename":"image_14122025_12_57_15_9873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352583","file1":"1399352582","file0":"1399352581","file4":"1399352585","file5":"1399352587","file3":"1399352584"},"map_files_photo_id_array":[{"photo_id":"1399352587","filename":"file5"},{"photo_id":"1399352583","filename":"file2"},{"photo_id":"1399352585","filename":"file4"},{"photo_id":"1399352582","filename":"file1"},{"photo_id":"1399352581","filename":"file0"},{"photo_id":"1399352584","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352585":["hashtag1","hashtag2"]},{"1399352582":["hashtag1","hashtag2"]},{"1399352581":["hashtag1","hashtag2"]},{"1399352584":["hashtag1","hashtag2"]},{"1399352587":["hashtag1","hashtag2"]},{"1399352583":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352585, 1399352582, 1399352581, 1399352584, 1399352587, 1399352583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43391680717468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:30:42.081731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_58_3618.jpg', '/home/pi/Desktop/images/04112025/13/15/image_04112025_13_16_00_2684.jpg', '/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_03_2710.jpg', '/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_07_3584.jpg', '/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_09_2572.jpg', '/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_12_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_58_3618.jpg
/home/pi/Desktop/images/04112025/13/15/image_04112025_13_16_00_2684.jpg
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_03_2710.jpg
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_07_3584.jpg
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_09_2572.jpg
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_12_2662.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5912613868713379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:31:03.017935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/57/image_14122025_12_57_55_9702.jpg', '/home/pi/Desktop/images/14122025/12/57/image_14122025_12_58_05_9708.jpg', '/home/pi/Desktop/images/14122025/12/58/image_14122025_12_58_16_10680.jpg', '/home/pi/Desktop/images/14122025/12/58/image_14122025_12_58_26_9800.jpg', '/home/pi/Desktop/images/14122025/12/58/image_14122025_12_58_35_9764.jpg', '/home/pi/Desktop/images/14122025/12/58/image_14122025_12_58_45_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/57/image_14122025_12_57_55_9702.jpg
/home/pi/Desktop/images/14122025/12/57/image_14122025_12_58_05_9708.jpg
/home/pi/Desktop/images/14122025/12/58/image_14122025_12_58_16_10680.jpg
/home/pi/Desktop/images/14122025/12/58/image_14122025_12_58_26_9800.jpg
/home/pi/Desktop/images/14122025/12/58/image_14122025_12_58_35_9764.jpg
/home/pi/Desktop/images/14122025/12/58/image_14122025_12_58_45_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":["1399352601","1399352603","1399352600","1399352599","1399352602","1399352605"],"photo_ids_order":["1399352599","1399352600","1399352601","1399352602","1399352603","1399352605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c9b44965692c9a9ec719a73c3acafa1b.jpg","text":"TemporaryFile(/tmp/multipartBody2643255491726703027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715523684,"filename":"image_14122025_12_58_16_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f68307a5ede13a6b2ffa75ae5d1f66d1.jpg","text":"TemporaryFile(/tmp/multipartBody4377996135789246854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715523684,"filename":"image_14122025_12_58_35_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc33d3dd99e7af33234ef1a566d6c438.jpg","text":"TemporaryFile(/tmp/multipartBody8945488471452847938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715523684,"filename":"image_14122025_12_58_05_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd1ec536ff730cc0f17d5900499de5f0.jpg","text":"TemporaryFile(/tmp/multipartBody8468235464597046870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715523684,"filename":"image_14122025_12_57_55_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92826dc7c7923656a2b1b7c771603b2f.jpg","text":"TemporaryFile(/tmp/multipartBody183447224705366184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715523684,"filename":"image_14122025_12_58_26_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d0d407ab47a443b5e1303906c1c1a41.jpg","text":"TemporaryFile(/tmp/multipartBody2610644583377814405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715523684,"filename":"image_14122025_12_58_45_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352601","file1":"1399352600","file0":"1399352599","file4":"1399352603","file5":"1399352605","file3":"1399352602"},"map_files_photo_id_array":[{"photo_id":"1399352605","filename":"file5"},{"photo_id":"1399352601","filename":"file2"},{"photo_id":"1399352603","filename":"file4"},{"photo_id":"1399352600","filename":"file1"},{"photo_id":"1399352599","filename":"file0"},{"photo_id":"1399352602","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352601":["hashtag1","hashtag2"]},{"1399352603":["hashtag1","hashtag2"]},{"1399352600":["hashtag1","hashtag2"]},{"1399352599":["hashtag1","hashtag2"]},{"1399352602":["hashtag1","hashtag2"]},{"1399352605":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352601, 1399352603, 1399352600, 1399352599, 1399352602, 1399352605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.104382276535034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:31:42.320704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_58_3618.jpg', '/home/pi/Desktop/images/04112025/13/15/image_04112025_13_16_00_2684.jpg', '/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_03_2710.jpg', '/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_07_3584.jpg', '/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_09_2572.jpg', '/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_12_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/15/image_04112025_13_15_58_3618.jpg
/home/pi/Desktop/images/04112025/13/15/image_04112025_13_16_00_2684.jpg
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_03_2710.jpg
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_07_3584.jpg
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_09_2572.jpg
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_12_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":["1399352616","1399352615","1399352618","1399352614","1399352617","1399352611"],"photo_ids_order":["1399352611","1399352614","1399352615","1399352616","1399352617","1399352618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aebb54f9cace27fb34fda9696b4f5e84.jpg","text":"TemporaryFile(/tmp/multipartBody3945538892619671972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715562912,"filename":"image_04112025_13_16_07_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b6b8b95735a3257946afca602581cfb.jpg","text":"TemporaryFile(/tmp/multipartBody4649378764384519771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715562912,"filename":"image_04112025_13_16_03_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d39360455eb5b8c4d4c7dfad1424787.jpg","text":"TemporaryFile(/tmp/multipartBody8996148051792708754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715562912,"filename":"image_04112025_13_16_12_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/43882312b8fd1657e20931ba22be6cb8.jpg","text":"TemporaryFile(/tmp/multipartBody7019436334665556461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715562912,"filename":"image_04112025_13_16_00_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ab6b749317252b8680910c37a5f3ab7.jpg","text":"TemporaryFile(/tmp/multipartBody4941300146111135184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715562912,"filename":"image_04112025_13_16_09_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ef0eb8931671672ed25779c69ac718b.jpg","text":"TemporaryFile(/tmp/multipartBody8306024602728277882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715562912,"filename":"image_04112025_13_15_58_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352615","file1":"1399352614","file0":"1399352611","file4":"1399352617","file5":"1399352618","file3":"1399352616"},"map_files_photo_id_array":[{"photo_id":"1399352618","filename":"file5"},{"photo_id":"1399352615","filename":"file2"},{"photo_id":"1399352617","filename":"file4"},{"photo_id":"1399352614","filename":"file1"},{"photo_id":"1399352611","filename":"file0"},{"photo_id":"1399352616","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352616":["hashtag1","hashtag2"]},{"1399352615":["hashtag1","hashtag2"]},{"1399352618":["hashtag1","hashtag2"]},{"1399352614":["hashtag1","hashtag2"]},{"1399352617":["hashtag1","hashtag2"]},{"1399352611":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352616, 1399352615, 1399352618, 1399352614, 1399352617, 1399352611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88462424278259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:32:22.633400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/58/image_14122025_12_58_56_10702.jpg', '/home/pi/Desktop/images/14122025/12/58/image_14122025_12_59_05_9647.jpg', '/home/pi/Desktop/images/14122025/12/59/image_14122025_12_59_15_9681.jpg', '/home/pi/Desktop/images/14122025/12/59/image_14122025_12_59_26_10704.jpg', '/home/pi/Desktop/images/14122025/12/59/image_14122025_12_59_35_9742.jpg', '/home/pi/Desktop/images/14122025/12/59/image_14122025_12_59_45_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/58/image_14122025_12_58_56_10702.jpg
/home/pi/Desktop/images/14122025/12/58/image_14122025_12_59_05_9647.jpg
/home/pi/Desktop/images/14122025/12/59/image_14122025_12_59_15_9681.jpg
/home/pi/Desktop/images/14122025/12/59/image_14122025_12_59_26_10704.jpg
/home/pi/Desktop/images/14122025/12/59/image_14122025_12_59_35_9742.jpg
/home/pi/Desktop/images/14122025/12/59/image_14122025_12_59_45_9591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352625","1399352619","1399352621","1399352630","1399352627","1399352623"],"photo_ids_order":["1399352619","1399352621","1399352623","1399352625","1399352627","1399352630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2014da1c98b3d055b778ce0f5e84a06.jpg","text":"TemporaryFile(/tmp/multipartBody222620748114189681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715603271,"filename":"image_14122025_12_59_26_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/de47a853b37b602d299a43977909cad1.jpg","text":"TemporaryFile(/tmp/multipartBody1551550322384296361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715603271,"filename":"image_14122025_12_58_56_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/62d9021c48ffc228ca37699a182ae796.jpg","text":"TemporaryFile(/tmp/multipartBody5645964856090590286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715603271,"filename":"image_14122025_12_59_05_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f2feae3491cf2826076b08642d39825.jpg","text":"TemporaryFile(/tmp/multipartBody8138958842249832196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715603271,"filename":"image_14122025_12_59_45_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a5022fc397ceff5839dec6693307dcf.jpg","text":"TemporaryFile(/tmp/multipartBody7516170207829634592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715603271,"filename":"image_14122025_12_59_35_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cdddbb836e5dc849a0952629739773d2.jpg","text":"TemporaryFile(/tmp/multipartBody581799055951077524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715603271,"filename":"image_14122025_12_59_15_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352623","file1":"1399352621","file0":"1399352619","file4":"1399352627","file5":"1399352630","file3":"1399352625"},"map_files_photo_id_array":[{"photo_id":"1399352630","filename":"file5"},{"photo_id":"1399352623","filename":"file2"},{"photo_id":"1399352627","filename":"file4"},{"photo_id":"1399352621","filename":"file1"},{"photo_id":"1399352619","filename":"file0"},{"photo_id":"1399352625","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352625":["hashtag1","hashtag2"]},{"1399352619":["hashtag1","hashtag2"]},{"1399352621":["hashtag1","hashtag2"]},{"1399352630":["hashtag1","hashtag2"]},{"1399352627":["hashtag1","hashtag2"]},{"1399352623":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352625, 1399352619, 1399352621, 1399352630, 1399352627, 1399352623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.977822065353394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:33:03.453284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/12/59/image_14122025_12_59_55_9955.jpg', '/home/pi/Desktop/images/14122025/13/01/image_14122025_13_01_14_10037.jpg', '/home/pi/Desktop/images/14122025/13/01/image_14122025_13_01_24_10684.jpg', '/home/pi/Desktop/images/14122025/13/01/image_14122025_13_01_34_9828.jpg', '/home/pi/Desktop/images/14122025/13/01/image_14122025_13_01_44_9713.jpg', '/home/pi/Desktop/images/14122025/13/01/image_14122025_13_01_54_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/12/59/image_14122025_12_59_55_9955.jpg
/home/pi/Desktop/images/14122025/13/01/image_14122025_13_01_14_10037.jpg
/home/pi/Desktop/images/14122025/13/01/image_14122025_13_01_24_10684.jpg
/home/pi/Desktop/images/14122025/13/01/image_14122025_13_01_34_9828.jpg
/home/pi/Desktop/images/14122025/13/01/image_14122025_13_01_44_9713.jpg
/home/pi/Desktop/images/14122025/13/01/image_14122025_13_01_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":["1399352634","1399352633","1399352636","1399352632","1399352635","1399352638"],"photo_ids_order":["1399352632","1399352633","1399352634","1399352635","1399352636","1399352638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8dee082df38dc284f9c8756bd2dfb624.jpg","text":"TemporaryFile(/tmp/multipartBody1299961779684145745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715644101,"filename":"image_14122025_13_01_24_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d116ce948320dfd52a9a5984c7c7c7a6.jpg","text":"TemporaryFile(/tmp/multipartBody5670124047033386625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715644101,"filename":"image_14122025_13_01_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/555892a8a4c5b8c20e088f24c9c415c0.jpg","text":"TemporaryFile(/tmp/multipartBody5120879109051411437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715644101,"filename":"image_14122025_13_01_44_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b4bc09be63d08b519275eed6d000f43.jpg","text":"TemporaryFile(/tmp/multipartBody4406535953511832732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715644101,"filename":"image_14122025_12_59_55_9955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/41b8574a1f3196a4111d100c6f880cce.jpg","text":"TemporaryFile(/tmp/multipartBody8824352534412605364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715644101,"filename":"image_14122025_13_01_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/12/14/402b9a5561f418765dab1e111d178acc.jpg","text":"TemporaryFile(/tmp/multipartBody7477274148390378357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715644101,"filename":"image_14122025_13_01_54_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352634","file1":"1399352633","file0":"1399352632","file4":"1399352636","file5":"1399352638","file3":"1399352635"},"map_files_photo_id_array":[{"photo_id":"1399352638","filename":"file5"},{"photo_id":"1399352634","filename":"file2"},{"photo_id":"1399352636","filename":"file4"},{"photo_id":"1399352633","filename":"file1"},{"photo_id":"1399352632","filename":"file0"},{"photo_id":"1399352635","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352634":["hashtag1","hashtag2"]},{"1399352633":["hashtag1","hashtag2"]},{"1399352636":["hashtag1","hashtag2"]},{"1399352632":["hashtag1","hashtag2"]},{"1399352635":["hashtag1","hashtag2"]},{"1399352638":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352634, 1399352633, 1399352636, 1399352632, 1399352635, 1399352638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25282406806946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:33:42.882391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_16_3777.jpg', '/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_19_2901.jpg', '/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_21_2675.jpg', '/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_24_2648.jpg', '/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_28_3767.jpg', '/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_30_2509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_16_3777.jpg
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_19_2901.jpg
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_21_2675.jpg
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_24_2648.jpg
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_28_3767.jpg
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_30_2509.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352646","1399352648","1399352650","1399352644","1399352647","1399352649"],"photo_ids_order":["1399352644","1399352646","1399352647","1399352648","1399352649","1399352650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dbb7dc0b5fb7bd600f027b93878f0214.jpg","text":"TemporaryFile(/tmp/multipartBody5870530795925418581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715683580,"filename":"image_04112025_13_16_19_2901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/930e8c8d53487924af70173abb19a3ec.jpg","text":"TemporaryFile(/tmp/multipartBody472626808474724875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715683580,"filename":"image_04112025_13_16_24_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2c35182851f4f4224e661bf450446994.jpg","text":"TemporaryFile(/tmp/multipartBody2554084710244071722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715683580,"filename":"image_04112025_13_16_30_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/22770e92d83162d6014c6eb9b4c0ec12.jpg","text":"TemporaryFile(/tmp/multipartBody8464342237997896538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715683580,"filename":"image_04112025_13_16_16_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0a362b04889a2ceff0b5bdc44e761996.jpg","text":"TemporaryFile(/tmp/multipartBody2395898595485772917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715683580,"filename":"image_04112025_13_16_21_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63ac03762d1a3c4896ea7260d3fbd2b1.jpg","text":"TemporaryFile(/tmp/multipartBody4365522145159447311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715683580,"filename":"image_04112025_13_16_28_3767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352647","file1":"1399352646","file0":"1399352644","file4":"1399352649","file5":"1399352650","file3":"1399352648"},"map_files_photo_id_array":[{"photo_id":"1399352650","filename":"file5"},{"photo_id":"1399352647","filename":"file2"},{"photo_id":"1399352649","filename":"file4"},{"photo_id":"1399352646","filename":"file1"},{"photo_id":"1399352644","filename":"file0"},{"photo_id":"1399352648","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352646":["hashtag1","hashtag2"]},{"1399352648":["hashtag1","hashtag2"]},{"1399352650":["hashtag1","hashtag2"]},{"1399352644":["hashtag1","hashtag2"]},{"1399352647":["hashtag1","hashtag2"]},{"1399352649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352646, 1399352648, 1399352650, 1399352644, 1399352647, 1399352649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20232319831848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:34:22.323279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/01/image_14122025_13_02_04_10669.jpg', '/home/pi/Desktop/images/14122025/13/02/image_14122025_13_02_14_9702.jpg', '/home/pi/Desktop/images/14122025/13/02/image_14122025_13_02_24_9583.jpg', '/home/pi/Desktop/images/14122025/13/02/image_14122025_13_02_34_10684.jpg', '/home/pi/Desktop/images/14122025/13/02/image_14122025_13_02_44_9839.jpg', '/home/pi/Desktop/images/14122025/13/02/image_14122025_13_02_54_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/01/image_14122025_13_02_04_10669.jpg
/home/pi/Desktop/images/14122025/13/02/image_14122025_13_02_14_9702.jpg
/home/pi/Desktop/images/14122025/13/02/image_14122025_13_02_24_9583.jpg
/home/pi/Desktop/images/14122025/13/02/image_14122025_13_02_34_10684.jpg
/home/pi/Desktop/images/14122025/13/02/image_14122025_13_02_44_9839.jpg
/home/pi/Desktop/images/14122025/13/02/image_14122025_13_02_54_9920.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.530052900314331 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 13:34:32.119015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:34:42.125104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_33_2605.jpg', '/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_37_3639.jpg', '/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_39_2799.jpg', '/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_42_2777.jpg', '/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_46_3631.jpg', '/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_51_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_33_2605.jpg
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_37_3639.jpg
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_39_2799.jpg
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_42_2777.jpg
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_46_3631.jpg
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_51_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":["1399352666","1399352663","1399352665","1399352667","1399352661","1399352664"],"photo_ids_order":["1399352661","1399352663","1399352664","1399352665","1399352666","1399352667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/44bd08ffc2010ec102276bd75180b2de.jpg","text":"TemporaryFile(/tmp/multipartBody4983176593056959047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715742893,"filename":"image_04112025_13_16_46_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/96fe60c0567c676cde64dcb1ad5b0544.jpg","text":"TemporaryFile(/tmp/multipartBody2754935472762194635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715742893,"filename":"image_04112025_13_16_37_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4206d38e3ad500fb4f3c82a75260afdb.jpg","text":"TemporaryFile(/tmp/multipartBody8163439333117226066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715742893,"filename":"image_04112025_13_16_42_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a36e93b1a94d80f08b830571d0dbb8e.jpg","text":"TemporaryFile(/tmp/multipartBody1118197077721578819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715742893,"filename":"image_04112025_13_16_51_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/17c8454c0f871b12fed4f18f672c1e9f.jpg","text":"TemporaryFile(/tmp/multipartBody3828114043736204025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715742893,"filename":"image_04112025_13_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/12/14/92f0752611b339a24d2ae8cb380916ae.jpg","text":"TemporaryFile(/tmp/multipartBody7147661547919424379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715742893,"filename":"image_04112025_13_16_39_2799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352664","file1":"1399352663","file0":"1399352661","file4":"1399352666","file5":"1399352667","file3":"1399352665"},"map_files_photo_id_array":[{"photo_id":"1399352667","filename":"file5"},{"photo_id":"1399352664","filename":"file2"},{"photo_id":"1399352666","filename":"file4"},{"photo_id":"1399352663","filename":"file1"},{"photo_id":"1399352661","filename":"file0"},{"photo_id":"1399352665","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352666":["hashtag1","hashtag2"]},{"1399352663":["hashtag1","hashtag2"]},{"1399352665":["hashtag1","hashtag2"]},{"1399352667":["hashtag1","hashtag2"]},{"1399352661":["hashtag1","hashtag2"]},{"1399352664":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352666, 1399352663, 1399352665, 1399352667, 1399352661, 1399352664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.957924127578735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:35:22.500766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/01/image_14122025_13_02_04_10669.jpg', '/home/pi/Desktop/images/14122025/13/02/image_14122025_13_02_14_9702.jpg', '/home/pi/Desktop/images/14122025/13/02/image_14122025_13_02_24_9583.jpg', '/home/pi/Desktop/images/14122025/13/02/image_14122025_13_02_34_10684.jpg', '/home/pi/Desktop/images/14122025/13/02/image_14122025_13_02_44_9839.jpg', '/home/pi/Desktop/images/14122025/13/02/image_14122025_13_02_54_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/01/image_14122025_13_02_04_10669.jpg
/home/pi/Desktop/images/14122025/13/02/image_14122025_13_02_14_9702.jpg
/home/pi/Desktop/images/14122025/13/02/image_14122025_13_02_24_9583.jpg
/home/pi/Desktop/images/14122025/13/02/image_14122025_13_02_34_10684.jpg
/home/pi/Desktop/images/14122025/13/02/image_14122025_13_02_44_9839.jpg
/home/pi/Desktop/images/14122025/13/02/image_14122025_13_02_54_9920.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352675","1399352669","1399352680","1399352677","1399352671","1399352673"],"photo_ids_order":["1399352669","1399352671","1399352673","1399352675","1399352677","1399352680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c853997c39679686ff91b37530db3030.jpg","text":"TemporaryFile(/tmp/multipartBody2735678907106699475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715783144,"filename":"image_14122025_13_02_34_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c1474fabd4f61959fcdffe16202f0bf.jpg","text":"TemporaryFile(/tmp/multipartBody665658166282020231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715783144,"filename":"image_14122025_13_02_04_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/537d7212efb2d28066a0aca81de1e775.jpg","text":"TemporaryFile(/tmp/multipartBody8493351958575542952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715783144,"filename":"image_14122025_13_02_54_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c73c68757f989290d7d0f3c9d6a1466.jpg","text":"TemporaryFile(/tmp/multipartBody6352248578639427332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715783144,"filename":"image_14122025_13_02_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/12/14/c3ee3efdd6b08d0bb1eaae7957d4ce0a.jpg","text":"TemporaryFile(/tmp/multipartBody4807869403221331521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715783144,"filename":"image_14122025_13_02_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/411ca5aece4fb7e09e378728c0fcf0ef.jpg","text":"TemporaryFile(/tmp/multipartBody1280832992467290901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715783144,"filename":"image_14122025_13_02_24_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352673","file1":"1399352671","file0":"1399352669","file4":"1399352677","file5":"1399352680","file3":"1399352675"},"map_files_photo_id_array":[{"photo_id":"1399352680","filename":"file5"},{"photo_id":"1399352673","filename":"file2"},{"photo_id":"1399352677","filename":"file4"},{"photo_id":"1399352671","filename":"file1"},{"photo_id":"1399352669","filename":"file0"},{"photo_id":"1399352675","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352675":["hashtag1","hashtag2"]},{"1399352669":["hashtag1","hashtag2"]},{"1399352680":["hashtag1","hashtag2"]},{"1399352677":["hashtag1","hashtag2"]},{"1399352671":["hashtag1","hashtag2"]},{"1399352673":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352675, 1399352669, 1399352680, 1399352677, 1399352671, 1399352673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76657199859619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:36:03.071069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/02/image_14122025_13_03_04_9677.jpg', '/home/pi/Desktop/images/14122025/13/03/image_14122025_13_03_14_9932.jpg', '/home/pi/Desktop/images/14122025/13/03/image_14122025_13_03_24_10562.jpg', '/home/pi/Desktop/images/14122025/13/03/image_14122025_13_03_34_9655.jpg', '/home/pi/Desktop/images/14122025/13/03/image_14122025_13_03_45_10581.jpg', '/home/pi/Desktop/images/14122025/13/03/image_14122025_13_03_54_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/02/image_14122025_13_03_04_9677.jpg
/home/pi/Desktop/images/14122025/13/03/image_14122025_13_03_14_9932.jpg
/home/pi/Desktop/images/14122025/13/03/image_14122025_13_03_24_10562.jpg
/home/pi/Desktop/images/14122025/13/03/image_14122025_13_03_34_9655.jpg
/home/pi/Desktop/images/14122025/13/03/image_14122025_13_03_45_10581.jpg
/home/pi/Desktop/images/14122025/13/03/image_14122025_13_03_54_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":["1399352690","1399352684","1399352687","1399352686","1399352688","1399352682"],"photo_ids_order":["1399352682","1399352684","1399352686","1399352687","1399352688","1399352690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b55a80649ac2fe09b9e8361613c51ba3.jpg","text":"TemporaryFile(/tmp/multipartBody8468096462435877869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715823717,"filename":"image_14122025_13_03_54_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/584e8fba13f0e878123d3927b169bb91.jpg","text":"TemporaryFile(/tmp/multipartBody7927821821256642970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715823717,"filename":"image_14122025_13_03_14_9932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f58421b3581aae9bb7e79521583b33d.jpg","text":"TemporaryFile(/tmp/multipartBody3974004887782174746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715823717,"filename":"image_14122025_13_03_34_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fc6ac82f63b58bfde60c7e9682229763.jpg","text":"TemporaryFile(/tmp/multipartBody7037181505880904648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715823717,"filename":"image_14122025_13_03_24_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f888cfca9a247d2c06e482f92300d409.jpg","text":"TemporaryFile(/tmp/multipartBody8082566633113642659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715823717,"filename":"image_14122025_13_03_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/12/14/c9d12904b2e04aa58081e04de3e1b655.jpg","text":"TemporaryFile(/tmp/multipartBody464010480952869936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715823717,"filename":"image_14122025_13_03_04_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352686","file1":"1399352684","file0":"1399352682","file4":"1399352688","file5":"1399352690","file3":"1399352687"},"map_files_photo_id_array":[{"photo_id":"1399352690","filename":"file5"},{"photo_id":"1399352686","filename":"file2"},{"photo_id":"1399352688","filename":"file4"},{"photo_id":"1399352684","filename":"file1"},{"photo_id":"1399352682","filename":"file0"},{"photo_id":"1399352687","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352690":["hashtag1","hashtag2"]},{"1399352684":["hashtag1","hashtag2"]},{"1399352687":["hashtag1","hashtag2"]},{"1399352686":["hashtag1","hashtag2"]},{"1399352688":["hashtag1","hashtag2"]},{"1399352682":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352690, 1399352684, 1399352687, 1399352686, 1399352688, 1399352682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49145793914795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:36:42.576323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_54_2728.jpg', '/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_57_3651.jpg', '/home/pi/Desktop/images/04112025/13/16/image_04112025_13_17_00_2661.jpg', '/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_04_3604.jpg', '/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_06_2837.jpg', '/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_12_5866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_54_2728.jpg
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_16_57_3651.jpg
/home/pi/Desktop/images/04112025/13/16/image_04112025_13_17_00_2661.jpg
/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_04_3604.jpg
/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_06_2837.jpg
/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_12_5866.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352696","1399352700","1399352699","1399352702","1399352698","1399352701"],"photo_ids_order":["1399352696","1399352698","1399352699","1399352700","1399352701","1399352702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b1e99cd6f33dfcf26cc759ba0429a55e.jpg","text":"TemporaryFile(/tmp/multipartBody1769722383355668999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715863314,"filename":"image_04112025_13_16_54_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/26150857067c04d3fdb809db2fd7d66d.jpg","text":"TemporaryFile(/tmp/multipartBody393630602240590113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715863314,"filename":"image_04112025_13_17_04_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f540ad30418440fe0be1efe678de5cea.jpg","text":"TemporaryFile(/tmp/multipartBody4456151237255362555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715863314,"filename":"image_04112025_13_17_00_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d6a3cea1788e5babb5143c464576015.jpg","text":"TemporaryFile(/tmp/multipartBody3605569610025684050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715863314,"filename":"image_04112025_13_17_12_5866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e85e115718be984980f3b4ab0d9a7184.jpg","text":"TemporaryFile(/tmp/multipartBody6031275873574083035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715863314,"filename":"image_04112025_13_16_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/12/14/e79210ce647fdeb354b88ef3f0a71519.jpg","text":"TemporaryFile(/tmp/multipartBody2386791923683300697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715863314,"filename":"image_04112025_13_17_06_2837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352699","file1":"1399352698","file0":"1399352696","file4":"1399352701","file5":"1399352702","file3":"1399352700"},"map_files_photo_id_array":[{"photo_id":"1399352702","filename":"file5"},{"photo_id":"1399352699","filename":"file2"},{"photo_id":"1399352701","filename":"file4"},{"photo_id":"1399352698","filename":"file1"},{"photo_id":"1399352696","filename":"file0"},{"photo_id":"1399352700","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352696":["hashtag1","hashtag2"]},{"1399352700":["hashtag1","hashtag2"]},{"1399352699":["hashtag1","hashtag2"]},{"1399352702":["hashtag1","hashtag2"]},{"1399352698":["hashtag1","hashtag2"]},{"1399352701":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352696, 1399352700, 1399352699, 1399352702, 1399352698, 1399352701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15489411354065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:37:21.855610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/03/image_14122025_13_04_04_9659.jpg', '/home/pi/Desktop/images/14122025/13/04/image_14122025_13_04_15_10742.jpg', '/home/pi/Desktop/images/14122025/13/04/image_14122025_13_04_24_9658.jpg', '/home/pi/Desktop/images/14122025/13/04/image_14122025_13_04_34_9605.jpg', '/home/pi/Desktop/images/14122025/13/04/image_14122025_13_04_44_9830.jpg', '/home/pi/Desktop/images/14122025/13/04/image_14122025_13_04_54_10697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/03/image_14122025_13_04_04_9659.jpg
/home/pi/Desktop/images/14122025/13/04/image_14122025_13_04_15_10742.jpg
/home/pi/Desktop/images/14122025/13/04/image_14122025_13_04_24_9658.jpg
/home/pi/Desktop/images/14122025/13/04/image_14122025_13_04_34_9605.jpg
/home/pi/Desktop/images/14122025/13/04/image_14122025_13_04_44_9830.jpg
/home/pi/Desktop/images/14122025/13/04/image_14122025_13_04_54_10697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352712","1399352715","1399352703","1399352705","1399352707","1399352710"],"photo_ids_order":["1399352703","1399352705","1399352707","1399352710","1399352712","1399352715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f7d48db0aa660fd2f50e990eee6d50e.jpg","text":"TemporaryFile(/tmp/multipartBody1008158454702164201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715902488,"filename":"image_14122025_13_04_44_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a009b6f0eac3795b0c96d69539b22a00.jpg","text":"TemporaryFile(/tmp/multipartBody3901151975446429835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715902488,"filename":"image_14122025_13_04_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/12/14/b205c8b36817ee63b6c8eaa7df5510ba.jpg","text":"TemporaryFile(/tmp/multipartBody5394665771543205250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715902488,"filename":"image_14122025_13_04_04_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a4cff942650c5e4e562b010dec60bf69.jpg","text":"TemporaryFile(/tmp/multipartBody1583978673862009338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715902488,"filename":"image_14122025_13_04_15_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fd180896107a377d719bbcf741369de4.jpg","text":"TemporaryFile(/tmp/multipartBody4619810171584033408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715902488,"filename":"image_14122025_13_04_24_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b029f517b6a3bd419d16dbd2fd40cf7b.jpg","text":"TemporaryFile(/tmp/multipartBody2998213034736946963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715902488,"filename":"image_14122025_13_04_34_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352707","file1":"1399352705","file0":"1399352703","file4":"1399352712","file5":"1399352715","file3":"1399352710"},"map_files_photo_id_array":[{"photo_id":"1399352715","filename":"file5"},{"photo_id":"1399352707","filename":"file2"},{"photo_id":"1399352712","filename":"file4"},{"photo_id":"1399352705","filename":"file1"},{"photo_id":"1399352703","filename":"file0"},{"photo_id":"1399352710","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352712":["hashtag1","hashtag2"]},{"1399352715":["hashtag1","hashtag2"]},{"1399352703":["hashtag1","hashtag2"]},{"1399352705":["hashtag1","hashtag2"]},{"1399352707":["hashtag1","hashtag2"]},{"1399352710":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352712, 1399352715, 1399352703, 1399352705, 1399352707, 1399352710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.708680152893066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:38:02.558667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/04/image_14122025_13_05_04_9865.jpg', '/home/pi/Desktop/images/14122025/13/05/image_14122025_13_05_14_9586.jpg', '/home/pi/Desktop/images/14122025/13/05/image_14122025_13_05_25_10661.jpg', '/home/pi/Desktop/images/14122025/13/05/image_14122025_13_05_34_9583.jpg', '/home/pi/Desktop/images/14122025/13/05/image_14122025_13_05_44_9780.jpg', '/home/pi/Desktop/images/14122025/13/05/image_14122025_13_05_54_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/04/image_14122025_13_05_04_9865.jpg
/home/pi/Desktop/images/14122025/13/05/image_14122025_13_05_14_9586.jpg
/home/pi/Desktop/images/14122025/13/05/image_14122025_13_05_25_10661.jpg
/home/pi/Desktop/images/14122025/13/05/image_14122025_13_05_34_9583.jpg
/home/pi/Desktop/images/14122025/13/05/image_14122025_13_05_44_9780.jpg
/home/pi/Desktop/images/14122025/13/05/image_14122025_13_05_54_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":["1399352718","1399352721","1399352720","1399352717","1399352722","1399352719"],"photo_ids_order":["1399352717","1399352718","1399352719","1399352720","1399352721","1399352722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e138c3c9d57d60551baa991319f1f578.jpg","text":"TemporaryFile(/tmp/multipartBody6598769420593741881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715943186,"filename":"image_14122025_13_05_14_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b6ef1faae105d1418096fe73e750f9d.jpg","text":"TemporaryFile(/tmp/multipartBody4481726532846463475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715943186,"filename":"image_14122025_13_05_44_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/890d7246e4f617491849a8ac292d52a2.jpg","text":"TemporaryFile(/tmp/multipartBody1505350853107997359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715943186,"filename":"image_14122025_13_05_34_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7001c81f541deaaaa597b66bca1bd85.jpg","text":"TemporaryFile(/tmp/multipartBody7029804761265833898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715943186,"filename":"image_14122025_13_05_04_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5c00330d4df02752f75f1dd1a0201619.jpg","text":"TemporaryFile(/tmp/multipartBody5572187787752218920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715943186,"filename":"image_14122025_13_05_54_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2c466de83207733477cc6c9e1d31263a.jpg","text":"TemporaryFile(/tmp/multipartBody3729695402984988345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715943186,"filename":"image_14122025_13_05_25_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352719","file1":"1399352718","file0":"1399352717","file4":"1399352721","file5":"1399352722","file3":"1399352720"},"map_files_photo_id_array":[{"photo_id":"1399352722","filename":"file5"},{"photo_id":"1399352719","filename":"file2"},{"photo_id":"1399352721","filename":"file4"},{"photo_id":"1399352718","filename":"file1"},{"photo_id":"1399352717","filename":"file0"},{"photo_id":"1399352720","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352718":["hashtag1","hashtag2"]},{"1399352721":["hashtag1","hashtag2"]},{"1399352720":["hashtag1","hashtag2"]},{"1399352717":["hashtag1","hashtag2"]},{"1399352722":["hashtag1","hashtag2"]},{"1399352719":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352718, 1399352721, 1399352720, 1399352717, 1399352722, 1399352719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37801790237427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:38:42.064543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_15_3023.jpg', '/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_17_1699.jpg', '/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_19_1827.jpg', '/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_22_2663.jpg', '/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_24_2631.jpg', '/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_27_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_15_3023.jpg
/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_17_1699.jpg
/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_19_1827.jpg
/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_22_2663.jpg
/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_24_2631.jpg
/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_27_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":["1399352730","1399352727","1399352732","1399352734","1399352737","1399352736"],"photo_ids_order":["1399352727","1399352730","1399352732","1399352734","1399352736","1399352737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e3c67bf7335dcf00af4b3589e8b7c6a9.jpg","text":"TemporaryFile(/tmp/multipartBody8945567751580999978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715982812,"filename":"image_04112025_13_17_17_1699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14e0ff17158e80c803925e7eb98fbbf1.jpg","text":"TemporaryFile(/tmp/multipartBody6628481764361069456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715982812,"filename":"image_04112025_13_17_15_3023.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7cc445146117e8f06e6f13da16495eb4.jpg","text":"TemporaryFile(/tmp/multipartBody178254557205333183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715982812,"filename":"image_04112025_13_17_19_1827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69d8faf72d67725e803ea6fd8c91e045.jpg","text":"TemporaryFile(/tmp/multipartBody8590645392149828070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715982812,"filename":"image_04112025_13_17_22_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5659a307b420cb9ca055a9961ba0df4c.jpg","text":"TemporaryFile(/tmp/multipartBody5282902917886495189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715982812,"filename":"image_04112025_13_17_27_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2e02516e9443459572daa1763cf86f02.jpg","text":"TemporaryFile(/tmp/multipartBody7035853979882515515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765715982812,"filename":"image_04112025_13_17_24_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352732","file1":"1399352730","file0":"1399352727","file4":"1399352736","file5":"1399352737","file3":"1399352734"},"map_files_photo_id_array":[{"photo_id":"1399352737","filename":"file5"},{"photo_id":"1399352732","filename":"file2"},{"photo_id":"1399352736","filename":"file4"},{"photo_id":"1399352730","filename":"file1"},{"photo_id":"1399352727","filename":"file0"},{"photo_id":"1399352734","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352730":["hashtag1","hashtag2"]},{"1399352727":["hashtag1","hashtag2"]},{"1399352732":["hashtag1","hashtag2"]},{"1399352734":["hashtag1","hashtag2"]},{"1399352737":["hashtag1","hashtag2"]},{"1399352736":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352730, 1399352727, 1399352732, 1399352734, 1399352737, 1399352736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4156928062439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:39:22.378579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/05/image_14122025_13_06_04_10618.jpg', '/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_14_9676.jpg', '/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_24_9791.jpg', '/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_35_10765.jpg', '/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_44_9613.jpg', '/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/05/image_14122025_13_06_04_10618.jpg
/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_14_9676.jpg
/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_24_9791.jpg
/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_35_10765.jpg
/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_44_9613.jpg
/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_54_9718.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5294692516326904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 13:39:32.405968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:39:42.252431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_35_8049.jpg', '/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_36_1514.jpg', '/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_38_1568.jpg', '/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_40_1559.jpg', '/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_44_4135.jpg', '/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_48_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_35_8049.jpg
/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_36_1514.jpg
/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_38_1568.jpg
/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_40_1559.jpg
/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_44_4135.jpg
/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_48_2612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352750","1399352753","1399352756","1399352746","1399352755","1399352754"],"photo_ids_order":["1399352746","1399352750","1399352753","1399352754","1399352755","1399352756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d779fed23f77ad34e198754d621c8f20.jpg","text":"TemporaryFile(/tmp/multipartBody8314058342586942948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716043014,"filename":"image_04112025_13_17_36_1514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f2f977673298368053319f94f39cda5d.jpg","text":"TemporaryFile(/tmp/multipartBody5093929382401597729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716043014,"filename":"image_04112025_13_17_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/12/14/2cbefa9c1ebaed5f993cf5be3e4161eb.jpg","text":"TemporaryFile(/tmp/multipartBody4586490224020436251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716043014,"filename":"image_04112025_13_17_48_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a164875964319c21797f29a325efa3ae.jpg","text":"TemporaryFile(/tmp/multipartBody5611367573044814078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716043014,"filename":"image_04112025_13_17_35_8049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/149e9244a5eb7eddd801ce24848ef4ba.jpg","text":"TemporaryFile(/tmp/multipartBody3757892303217714838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716043014,"filename":"image_04112025_13_17_44_4135.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0a6787a8dfb856e69cfb99f41cb753a2.jpg","text":"TemporaryFile(/tmp/multipartBody5233585851765143579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716043014,"filename":"image_04112025_13_17_40_1559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352753","file1":"1399352750","file0":"1399352746","file4":"1399352755","file5":"1399352756","file3":"1399352754"},"map_files_photo_id_array":[{"photo_id":"1399352756","filename":"file5"},{"photo_id":"1399352753","filename":"file2"},{"photo_id":"1399352755","filename":"file4"},{"photo_id":"1399352750","filename":"file1"},{"photo_id":"1399352746","filename":"file0"},{"photo_id":"1399352754","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352750":["hashtag1","hashtag2"]},{"1399352753":["hashtag1","hashtag2"]},{"1399352756":["hashtag1","hashtag2"]},{"1399352746":["hashtag1","hashtag2"]},{"1399352755":["hashtag1","hashtag2"]},{"1399352754":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352750, 1399352753, 1399352756, 1399352746, 1399352755, 1399352754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76850175857544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:40:22.639326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/05/image_14122025_13_06_04_10618.jpg', '/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_14_9676.jpg', '/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_24_9791.jpg', '/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_35_10765.jpg', '/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_44_9613.jpg', '/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/05/image_14122025_13_06_04_10618.jpg
/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_14_9676.jpg
/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_24_9791.jpg
/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_35_10765.jpg
/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_44_9613.jpg
/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_54_9718.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5196864604949951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 13:40:32.677058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:40:42.566205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_51_2811.jpg', '/home/pi/Desktop/images/04112025/13/17/image_04112025_13_18_00_1704.jpg', '/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_03_2545.jpg', '/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_06_2566.jpg', '/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_09_3575.jpg', '/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_12_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/17/image_04112025_13_17_51_2811.jpg
/home/pi/Desktop/images/04112025/13/17/image_04112025_13_18_00_1704.jpg
/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_03_2545.jpg
/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_06_2566.jpg
/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_09_3575.jpg
/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_12_2570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352771","1399352774","1399352768","1399352773","1399352772","1399352769"],"photo_ids_order":["1399352768","1399352769","1399352771","1399352772","1399352773","1399352774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c2f8c1ffd081a4fef89fbb475a4df1d0.jpg","text":"TemporaryFile(/tmp/multipartBody1256294724302593688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716103273,"filename":"image_04112025_13_18_03_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f169406b262c11f1c10acfebb8157bf.jpg","text":"TemporaryFile(/tmp/multipartBody489550888851138543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716103273,"filename":"image_04112025_13_18_12_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/384a8600a2eb495fabdf20b2399f45a7.jpg","text":"TemporaryFile(/tmp/multipartBody2736639624642595691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716103273,"filename":"image_04112025_13_17_51_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/249de0750081c4bcd488699faae497e9.jpg","text":"TemporaryFile(/tmp/multipartBody7578714221459173211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716103273,"filename":"image_04112025_13_18_09_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d8d14e8cf8deb491919058478fb41b6b.jpg","text":"TemporaryFile(/tmp/multipartBody6398959529204734351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716103273,"filename":"image_04112025_13_18_06_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/09abe04934ae29d85c0668f72edc25f6.jpg","text":"TemporaryFile(/tmp/multipartBody6725817137243727448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716103273,"filename":"image_04112025_13_18_00_1704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352771","file1":"1399352769","file0":"1399352768","file4":"1399352773","file5":"1399352774","file3":"1399352772"},"map_files_photo_id_array":[{"photo_id":"1399352774","filename":"file5"},{"photo_id":"1399352771","filename":"file2"},{"photo_id":"1399352773","filename":"file4"},{"photo_id":"1399352769","filename":"file1"},{"photo_id":"1399352768","filename":"file0"},{"photo_id":"1399352772","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352771":["hashtag1","hashtag2"]},{"1399352774":["hashtag1","hashtag2"]},{"1399352768":["hashtag1","hashtag2"]},{"1399352773":["hashtag1","hashtag2"]},{"1399352772":["hashtag1","hashtag2"]},{"1399352769":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352771, 1399352774, 1399352768, 1399352773, 1399352772, 1399352769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47464394569397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:41:21.973439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/05/image_14122025_13_06_04_10618.jpg', '/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_14_9676.jpg', '/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_24_9791.jpg', '/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_35_10765.jpg', '/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_44_9613.jpg', '/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/05/image_14122025_13_06_04_10618.jpg
/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_14_9676.jpg
/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_24_9791.jpg
/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_35_10765.jpg
/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_44_9613.jpg
/home/pi/Desktop/images/14122025/13/06/image_14122025_13_06_54_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":["1399352783","1399352777","1399352786","1399352779","1399352781","1399352775"],"photo_ids_order":["1399352775","1399352777","1399352779","1399352781","1399352783","1399352786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1fa77d5bdcf26eed4f7ea2d1775cf91.jpg","text":"TemporaryFile(/tmp/multipartBody3762633447702772440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716142609,"filename":"image_14122025_13_06_44_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/257a6b6dc28f852a60be7fb3b94d3d16.jpg","text":"TemporaryFile(/tmp/multipartBody9122415324826691917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716142609,"filename":"image_14122025_13_06_14_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1a4817b44f203f2370dfb3bd07cc6c4.jpg","text":"TemporaryFile(/tmp/multipartBody2937574217325346979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716142609,"filename":"image_14122025_13_06_54_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e04186f6f3424bf998ce411d2ced93ad.jpg","text":"TemporaryFile(/tmp/multipartBody5865819558411186205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716142609,"filename":"image_14122025_13_06_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/12/14/ddc640d8c852c0632407af59969cefc2.jpg","text":"TemporaryFile(/tmp/multipartBody1041518787587956857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716142609,"filename":"image_14122025_13_06_35_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ee062a817c99114b89ff28dbf9c5b2b4.jpg","text":"TemporaryFile(/tmp/multipartBody4732548185066537809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716142609,"filename":"image_14122025_13_06_04_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352779","file1":"1399352777","file0":"1399352775","file4":"1399352783","file5":"1399352786","file3":"1399352781"},"map_files_photo_id_array":[{"photo_id":"1399352786","filename":"file5"},{"photo_id":"1399352779","filename":"file2"},{"photo_id":"1399352783","filename":"file4"},{"photo_id":"1399352777","filename":"file1"},{"photo_id":"1399352775","filename":"file0"},{"photo_id":"1399352781","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352783":["hashtag1","hashtag2"]},{"1399352777":["hashtag1","hashtag2"]},{"1399352786":["hashtag1","hashtag2"]},{"1399352779":["hashtag1","hashtag2"]},{"1399352781":["hashtag1","hashtag2"]},{"1399352775":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352783, 1399352777, 1399352786, 1399352779, 1399352781, 1399352775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.513325214385986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:42:02.642266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/06/image_14122025_13_07_04_9877.jpg', '/home/pi/Desktop/images/14122025/13/07/image_14122025_13_07_14_10615.jpg', '/home/pi/Desktop/images/14122025/13/07/image_14122025_13_07_24_9685.jpg', '/home/pi/Desktop/images/14122025/13/07/image_14122025_13_07_34_9839.jpg', '/home/pi/Desktop/images/14122025/13/07/image_14122025_13_07_44_9739.jpg', '/home/pi/Desktop/images/14122025/13/07/image_14122025_13_07_54_10758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/06/image_14122025_13_07_04_9877.jpg
/home/pi/Desktop/images/14122025/13/07/image_14122025_13_07_14_10615.jpg
/home/pi/Desktop/images/14122025/13/07/image_14122025_13_07_24_9685.jpg
/home/pi/Desktop/images/14122025/13/07/image_14122025_13_07_34_9839.jpg
/home/pi/Desktop/images/14122025/13/07/image_14122025_13_07_44_9739.jpg
/home/pi/Desktop/images/14122025/13/07/image_14122025_13_07_54_10758.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5410366058349609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 13:42:12.183976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:42:22.274296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/06/image_14122025_13_07_04_9877.jpg', '/home/pi/Desktop/images/14122025/13/07/image_14122025_13_07_14_10615.jpg', '/home/pi/Desktop/images/14122025/13/07/image_14122025_13_07_24_9685.jpg', '/home/pi/Desktop/images/14122025/13/07/image_14122025_13_07_34_9839.jpg', '/home/pi/Desktop/images/14122025/13/07/image_14122025_13_07_44_9739.jpg', '/home/pi/Desktop/images/14122025/13/07/image_14122025_13_07_54_10758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/06/image_14122025_13_07_04_9877.jpg
/home/pi/Desktop/images/14122025/13/07/image_14122025_13_07_14_10615.jpg
/home/pi/Desktop/images/14122025/13/07/image_14122025_13_07_24_9685.jpg
/home/pi/Desktop/images/14122025/13/07/image_14122025_13_07_34_9839.jpg
/home/pi/Desktop/images/14122025/13/07/image_14122025_13_07_44_9739.jpg
/home/pi/Desktop/images/14122025/13/07/image_14122025_13_07_54_10758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352802","1399352795","1399352804","1399352797","1399352799","1399352793"],"photo_ids_order":["1399352793","1399352795","1399352797","1399352799","1399352802","1399352804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e0d8cece6883f91862a57db9c37ae7e.jpg","text":"TemporaryFile(/tmp/multipartBody787049500935760493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716202949,"filename":"image_14122025_13_07_44_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae42752789a4bad8891d8b4aaaf1382c.jpg","text":"TemporaryFile(/tmp/multipartBody5213744239230196074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716202949,"filename":"image_14122025_13_07_14_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c8e1b5076a79b96036755d596674cf5b.jpg","text":"TemporaryFile(/tmp/multipartBody3243791828277408858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716202949,"filename":"image_14122025_13_07_54_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cdd061b1dfd859df7de201cc2e1eb122.jpg","text":"TemporaryFile(/tmp/multipartBody2002176733838476350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716202949,"filename":"image_14122025_13_07_24_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8899252d1084e31df7125b8f6c1373a8.jpg","text":"TemporaryFile(/tmp/multipartBody1805582400445526062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716202949,"filename":"image_14122025_13_07_34_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f76f8e5aa38dc82999df5f3472cde604.jpg","text":"TemporaryFile(/tmp/multipartBody2668054668313828429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716202949,"filename":"image_14122025_13_07_04_9877.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352797","file1":"1399352795","file0":"1399352793","file4":"1399352802","file5":"1399352804","file3":"1399352799"},"map_files_photo_id_array":[{"photo_id":"1399352804","filename":"file5"},{"photo_id":"1399352797","filename":"file2"},{"photo_id":"1399352802","filename":"file4"},{"photo_id":"1399352795","filename":"file1"},{"photo_id":"1399352793","filename":"file0"},{"photo_id":"1399352799","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352802":["hashtag1","hashtag2"]},{"1399352795":["hashtag1","hashtag2"]},{"1399352804":["hashtag1","hashtag2"]},{"1399352797":["hashtag1","hashtag2"]},{"1399352799":["hashtag1","hashtag2"]},{"1399352793":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352802, 1399352795, 1399352804, 1399352797, 1399352799, 1399352793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35865640640259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:43:03.224775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/07/image_14122025_13_08_04_9714.jpg', '/home/pi/Desktop/images/14122025/13/08/image_14122025_13_08_14_9645.jpg', '/home/pi/Desktop/images/14122025/13/08/image_14122025_13_08_24_10626.jpg', '/home/pi/Desktop/images/14122025/13/08/image_14122025_13_08_34_9652.jpg', '/home/pi/Desktop/images/14122025/13/08/image_14122025_13_08_44_9685.jpg', '/home/pi/Desktop/images/14122025/13/08/image_14122025_13_08_54_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/07/image_14122025_13_08_04_9714.jpg
/home/pi/Desktop/images/14122025/13/08/image_14122025_13_08_14_9645.jpg
/home/pi/Desktop/images/14122025/13/08/image_14122025_13_08_24_10626.jpg
/home/pi/Desktop/images/14122025/13/08/image_14122025_13_08_34_9652.jpg
/home/pi/Desktop/images/14122025/13/08/image_14122025_13_08_44_9685.jpg
/home/pi/Desktop/images/14122025/13/08/image_14122025_13_08_54_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":["1399352811","1399352805","1399352808","1399352807","1399352806","1399352809"],"photo_ids_order":["1399352805","1399352806","1399352807","1399352808","1399352809","1399352811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf2ad3882e2327bdea11f7216744da1d.jpg","text":"TemporaryFile(/tmp/multipartBody5101679438309657621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716243902,"filename":"image_14122025_13_08_54_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c2ea8d42d5d784f8f605f3f565a7156c.jpg","text":"TemporaryFile(/tmp/multipartBody8568982548331004039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716243902,"filename":"image_14122025_13_08_04_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13b5ccb1c0dfed72d0a3a7f7c26789a0.jpg","text":"TemporaryFile(/tmp/multipartBody1701520866688924458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716243902,"filename":"image_14122025_13_08_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8230a1f02f23f350b0852739e33457e1.jpg","text":"TemporaryFile(/tmp/multipartBody922152643601601435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716243902,"filename":"image_14122025_13_08_24_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/538d49d2f108c94fb0352394091b6350.jpg","text":"TemporaryFile(/tmp/multipartBody5230999700736474366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716243902,"filename":"image_14122025_13_08_14_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f1e18850426876d05e1b5136b5ccd2b.jpg","text":"TemporaryFile(/tmp/multipartBody9106137343688470160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716243902,"filename":"image_14122025_13_08_44_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352807","file1":"1399352806","file0":"1399352805","file4":"1399352809","file5":"1399352811","file3":"1399352808"},"map_files_photo_id_array":[{"photo_id":"1399352811","filename":"file5"},{"photo_id":"1399352807","filename":"file2"},{"photo_id":"1399352809","filename":"file4"},{"photo_id":"1399352806","filename":"file1"},{"photo_id":"1399352805","filename":"file0"},{"photo_id":"1399352808","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352811":["hashtag1","hashtag2"]},{"1399352805":["hashtag1","hashtag2"]},{"1399352808":["hashtag1","hashtag2"]},{"1399352807":["hashtag1","hashtag2"]},{"1399352806":["hashtag1","hashtag2"]},{"1399352809":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352811, 1399352805, 1399352808, 1399352807, 1399352806, 1399352809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76194930076599 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:43:42.573749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_15_3547.jpg', '/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_21_3650.jpg', '/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_25_3309.jpg', '/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_27_2592.jpg', '/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_31_3190.jpg', '/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_36_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_15_3547.jpg
/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_21_3650.jpg
/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_25_3309.jpg
/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_27_2592.jpg
/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_31_3190.jpg
/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_36_2744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352822","1399352816","1399352819","1399352821","1399352818","1399352820"],"photo_ids_order":["1399352816","1399352818","1399352819","1399352820","1399352821","1399352822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3294f9faa08169784c15fe4e9059dc7b.jpg","text":"TemporaryFile(/tmp/multipartBody1914164693326433740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716283272,"filename":"image_04112025_13_18_36_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/755ee0c099e4a5be0de795fa1f6e87af.jpg","text":"TemporaryFile(/tmp/multipartBody7258214743739141809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716283272,"filename":"image_04112025_13_18_15_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0517515d3200b59e871f48b6e566065c.jpg","text":"TemporaryFile(/tmp/multipartBody5335160817079176001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716283272,"filename":"image_04112025_13_18_25_3309.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21fde2c7cbc4c78a20a0a3fd4157a85c.jpg","text":"TemporaryFile(/tmp/multipartBody819654254862410395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716283272,"filename":"image_04112025_13_18_31_3190.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e890333aa3a7a4da817e8a7c7f699137.jpg","text":"TemporaryFile(/tmp/multipartBody7268022775182854357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716283272,"filename":"image_04112025_13_18_21_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bddaf9652ccbe5249f25220a80981aab.jpg","text":"TemporaryFile(/tmp/multipartBody2023308609287910956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716283272,"filename":"image_04112025_13_18_27_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352819","file1":"1399352818","file0":"1399352816","file4":"1399352821","file5":"1399352822","file3":"1399352820"},"map_files_photo_id_array":[{"photo_id":"1399352822","filename":"file5"},{"photo_id":"1399352819","filename":"file2"},{"photo_id":"1399352821","filename":"file4"},{"photo_id":"1399352818","filename":"file1"},{"photo_id":"1399352816","filename":"file0"},{"photo_id":"1399352820","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352822":["hashtag1","hashtag2"]},{"1399352816":["hashtag1","hashtag2"]},{"1399352819":["hashtag1","hashtag2"]},{"1399352821":["hashtag1","hashtag2"]},{"1399352818":["hashtag1","hashtag2"]},{"1399352820":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352822, 1399352816, 1399352819, 1399352821, 1399352818, 1399352820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.934425830841064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:44:21.878091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/08/image_14122025_13_09_04_9796.jpg', '/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_14_9672.jpg', '/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_24_9743.jpg', '/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_34_10684.jpg', '/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_44_9637.jpg', '/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_54_9851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/08/image_14122025_13_09_04_9796.jpg
/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_14_9672.jpg
/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_24_9743.jpg
/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_34_10684.jpg
/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_44_9637.jpg
/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_54_9851.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5744481086730957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 13:44:31.925607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:44:41.835103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_39_2871.jpg', '/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_42_2931.jpg', '/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_45_3605.jpg', '/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_51_3638.jpg', '/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_54_2715.jpg', '/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_57_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_39_2871.jpg
/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_42_2931.jpg
/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_45_3605.jpg
/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_51_3638.jpg
/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_54_2715.jpg
/home/pi/Desktop/images/04112025/13/18/image_04112025_13_18_57_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":["1399352840","1399352834","1399352837","1399352842","1399352839","1399352841"],"photo_ids_order":["1399352834","1399352837","1399352839","1399352840","1399352841","1399352842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1377d3970fef63aecede13b5394455d.jpg","text":"TemporaryFile(/tmp/multipartBody5081567368539014674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716342593,"filename":"image_04112025_13_18_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/12/14/e53d7c7d4dfd7af95599eb316f6d7b63.jpg","text":"TemporaryFile(/tmp/multipartBody3251073373420213535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716342593,"filename":"image_04112025_13_18_39_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c7c65188f128072a8ab38927144e1d6.jpg","text":"TemporaryFile(/tmp/multipartBody2041751431682473031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716342593,"filename":"image_04112025_13_18_42_2931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5c2211eea10e5f83e34e8fabb60dd1ec.jpg","text":"TemporaryFile(/tmp/multipartBody7068877954111122058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716342593,"filename":"image_04112025_13_18_57_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/93d71db17c55437d9203758722493bb8.jpg","text":"TemporaryFile(/tmp/multipartBody8444042915389959499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716342593,"filename":"image_04112025_13_18_45_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa9b658c6210ed6655f36e601f909989.jpg","text":"TemporaryFile(/tmp/multipartBody5058649997605157257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716342593,"filename":"image_04112025_13_18_54_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352839","file1":"1399352837","file0":"1399352834","file4":"1399352841","file5":"1399352842","file3":"1399352840"},"map_files_photo_id_array":[{"photo_id":"1399352842","filename":"file5"},{"photo_id":"1399352839","filename":"file2"},{"photo_id":"1399352841","filename":"file4"},{"photo_id":"1399352837","filename":"file1"},{"photo_id":"1399352834","filename":"file0"},{"photo_id":"1399352840","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352840":["hashtag1","hashtag2"]},{"1399352834":["hashtag1","hashtag2"]},{"1399352837":["hashtag1","hashtag2"]},{"1399352842":["hashtag1","hashtag2"]},{"1399352839":["hashtag1","hashtag2"]},{"1399352841":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352840, 1399352834, 1399352837, 1399352842, 1399352839, 1399352841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85607838630676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:45:22.114793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/08/image_14122025_13_09_04_9796.jpg', '/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_14_9672.jpg', '/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_24_9743.jpg', '/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_34_10684.jpg', '/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_44_9637.jpg', '/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_54_9851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/08/image_14122025_13_09_04_9796.jpg
/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_14_9672.jpg
/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_24_9743.jpg
/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_34_10684.jpg
/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_44_9637.jpg
/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_54_9851.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5325045585632324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 13:45:32.231140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:45:42.072728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/18/image_04112025_13_19_00_2817.jpg', '/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_04_4284.jpg', '/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_06_1690.jpg', '/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_09_3697.jpg', '/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_15_3587.jpg', '/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_22_1647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/18/image_04112025_13_19_00_2817.jpg
/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_04_4284.jpg
/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_06_1690.jpg
/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_09_3697.jpg
/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_15_3587.jpg
/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_22_1647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352859","1399352858","1399352861","1399352860","1399352857","1399352853"],"photo_ids_order":["1399352853","1399352857","1399352858","1399352859","1399352860","1399352861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/813545424f47908229b0b4de1135e6e0.jpg","text":"TemporaryFile(/tmp/multipartBody6787149807243502235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716402822,"filename":"image_04112025_13_19_09_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/659be60478c464cfc324821252244789.jpg","text":"TemporaryFile(/tmp/multipartBody749081569480006985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716402822,"filename":"image_04112025_13_19_06_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1e1db35b9e85a29163a82f00f2cf1a6.jpg","text":"TemporaryFile(/tmp/multipartBody3985321812159104669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716402822,"filename":"image_04112025_13_19_22_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13195bf3553aa61319cb3c1a5a3dae37.jpg","text":"TemporaryFile(/tmp/multipartBody4692058996333839830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716402822,"filename":"image_04112025_13_19_15_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a5dd6246ccb93f7fe68d88c592121dc5.jpg","text":"TemporaryFile(/tmp/multipartBody3672910561930726006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716402822,"filename":"image_04112025_13_19_04_4284.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e26c4234e221451c8850e94724b5ed7e.jpg","text":"TemporaryFile(/tmp/multipartBody2844708039793898453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716402822,"filename":"image_04112025_13_19_00_2817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352858","file1":"1399352857","file0":"1399352853","file4":"1399352860","file5":"1399352861","file3":"1399352859"},"map_files_photo_id_array":[{"photo_id":"1399352861","filename":"file5"},{"photo_id":"1399352858","filename":"file2"},{"photo_id":"1399352860","filename":"file4"},{"photo_id":"1399352857","filename":"file1"},{"photo_id":"1399352853","filename":"file0"},{"photo_id":"1399352859","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352859":["hashtag1","hashtag2"]},{"1399352858":["hashtag1","hashtag2"]},{"1399352861":["hashtag1","hashtag2"]},{"1399352860":["hashtag1","hashtag2"]},{"1399352857":["hashtag1","hashtag2"]},{"1399352853":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352859, 1399352858, 1399352861, 1399352860, 1399352857, 1399352853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6828932762146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:46:22.329767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/08/image_14122025_13_09_04_9796.jpg', '/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_14_9672.jpg', '/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_24_9743.jpg', '/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_34_10684.jpg', '/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_44_9637.jpg', '/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_54_9851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/08/image_14122025_13_09_04_9796.jpg
/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_14_9672.jpg
/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_24_9743.jpg
/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_34_10684.jpg
/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_44_9637.jpg
/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_54_9851.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5202462673187256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 13:46:32.346813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:46:42.318053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_27_2744.jpg', '/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_30_2667.jpg', '/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_36_2777.jpg', '/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_48_2548.jpg', '/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_51_2712.jpg', '/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_54_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_27_2744.jpg
/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_30_2667.jpg
/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_36_2777.jpg
/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_48_2548.jpg
/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_51_2712.jpg
/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_54_2693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352876","1399352872","1399352875","1399352878","1399352874","1399352877"],"photo_ids_order":["1399352872","1399352874","1399352875","1399352876","1399352877","1399352878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9bdf81aae4d2da189ac23359de0a1555.jpg","text":"TemporaryFile(/tmp/multipartBody2880670830586700399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716463109,"filename":"image_04112025_13_19_48_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d6b5739d686bc39d8f4dc8cd5d297e73.jpg","text":"TemporaryFile(/tmp/multipartBody1623589636537118329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716463109,"filename":"image_04112025_13_19_27_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3c174de3753b7947b28062211968fad3.jpg","text":"TemporaryFile(/tmp/multipartBody2876940577439090443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716463109,"filename":"image_04112025_13_19_36_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f6174b521476cb425e759bbdb89e1b9.jpg","text":"TemporaryFile(/tmp/multipartBody1487803858070263951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716463109,"filename":"image_04112025_13_19_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/12/14/d318257281d669cff392b7ca7f00e1a3.jpg","text":"TemporaryFile(/tmp/multipartBody7279136534604956443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716463109,"filename":"image_04112025_13_19_30_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a2dd60cc89b633c7b7a1533eb1cf77a5.jpg","text":"TemporaryFile(/tmp/multipartBody1020108997021622210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716463109,"filename":"image_04112025_13_19_51_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352875","file1":"1399352874","file0":"1399352872","file4":"1399352877","file5":"1399352878","file3":"1399352876"},"map_files_photo_id_array":[{"photo_id":"1399352878","filename":"file5"},{"photo_id":"1399352875","filename":"file2"},{"photo_id":"1399352877","filename":"file4"},{"photo_id":"1399352874","filename":"file1"},{"photo_id":"1399352872","filename":"file0"},{"photo_id":"1399352876","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352876":["hashtag1","hashtag2"]},{"1399352872":["hashtag1","hashtag2"]},{"1399352875":["hashtag1","hashtag2"]},{"1399352878":["hashtag1","hashtag2"]},{"1399352874":["hashtag1","hashtag2"]},{"1399352877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352876, 1399352872, 1399352875, 1399352878, 1399352874, 1399352877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74758267402649 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:47:22.664596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/08/image_14122025_13_09_04_9796.jpg', '/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_14_9672.jpg', '/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_24_9743.jpg', '/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_34_10684.jpg', '/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_44_9637.jpg', '/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_54_9851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/08/image_14122025_13_09_04_9796.jpg
/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_14_9672.jpg
/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_24_9743.jpg
/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_34_10684.jpg
/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_44_9637.jpg
/home/pi/Desktop/images/14122025/13/09/image_14122025_13_09_54_9851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352882","1399352887","1399352884","1399352886","1399352889","1399352880"],"photo_ids_order":["1399352880","1399352882","1399352884","1399352886","1399352887","1399352889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51f940c3d7f9e0c407c9941dbd1fb761.jpg","text":"TemporaryFile(/tmp/multipartBody1300834312335578449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716503293,"filename":"image_14122025_13_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/12/14/37a808ee656e4b55dafb19f3a777defe.jpg","text":"TemporaryFile(/tmp/multipartBody5912408995478630192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716503293,"filename":"image_14122025_13_09_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/12/14/594214be78b84d94c30ac0ac90b5fa8f.jpg","text":"TemporaryFile(/tmp/multipartBody6386405828067864797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716503293,"filename":"image_14122025_13_09_24_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dee6bed7b5423f78ecc42a21cfbcc6cd.jpg","text":"TemporaryFile(/tmp/multipartBody2519344574474596710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716503293,"filename":"image_14122025_13_09_34_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be57322b8e96f49e329010a34003349b.jpg","text":"TemporaryFile(/tmp/multipartBody6578027005287151973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716503293,"filename":"image_14122025_13_09_54_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d9bc89d627b4ece6c54ad80eed0d18c.jpg","text":"TemporaryFile(/tmp/multipartBody2130235317896194340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716503293,"filename":"image_14122025_13_09_04_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352884","file1":"1399352882","file0":"1399352880","file4":"1399352887","file5":"1399352889","file3":"1399352886"},"map_files_photo_id_array":[{"photo_id":"1399352889","filename":"file5"},{"photo_id":"1399352884","filename":"file2"},{"photo_id":"1399352887","filename":"file4"},{"photo_id":"1399352882","filename":"file1"},{"photo_id":"1399352880","filename":"file0"},{"photo_id":"1399352886","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352882":["hashtag1","hashtag2"]},{"1399352887":["hashtag1","hashtag2"]},{"1399352884":["hashtag1","hashtag2"]},{"1399352886":["hashtag1","hashtag2"]},{"1399352889":["hashtag1","hashtag2"]},{"1399352880":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352882, 1399352887, 1399352884, 1399352886, 1399352889, 1399352880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47039318084717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:48:03.268643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/09/image_14122025_13_10_04_9851.jpg', '/home/pi/Desktop/images/14122025/13/10/image_14122025_13_10_15_10771.jpg', '/home/pi/Desktop/images/14122025/13/10/image_14122025_13_10_24_9729.jpg', '/home/pi/Desktop/images/14122025/13/10/image_14122025_13_10_34_9805.jpg', '/home/pi/Desktop/images/14122025/13/10/image_14122025_13_10_44_9647.jpg', '/home/pi/Desktop/images/14122025/13/10/image_14122025_13_10_54_10719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/09/image_14122025_13_10_04_9851.jpg
/home/pi/Desktop/images/14122025/13/10/image_14122025_13_10_15_10771.jpg
/home/pi/Desktop/images/14122025/13/10/image_14122025_13_10_24_9729.jpg
/home/pi/Desktop/images/14122025/13/10/image_14122025_13_10_34_9805.jpg
/home/pi/Desktop/images/14122025/13/10/image_14122025_13_10_44_9647.jpg
/home/pi/Desktop/images/14122025/13/10/image_14122025_13_10_54_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":["1399352897","1399352900","1399352896","1399352898","1399352892","1399352895"],"photo_ids_order":["1399352892","1399352895","1399352896","1399352897","1399352898","1399352900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14142d26b74c2534ac109a04a4dca993.jpg","text":"TemporaryFile(/tmp/multipartBody968634363640432981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716543902,"filename":"image_14122025_13_10_34_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/89cb8c995669782e7c34ba6c4e34acfe.jpg","text":"TemporaryFile(/tmp/multipartBody7752614877193557693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716543902,"filename":"image_14122025_13_10_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/12/14/e2b848768a7836a7412b6b70440ef3b2.jpg","text":"TemporaryFile(/tmp/multipartBody8357134282728470424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716543902,"filename":"image_14122025_13_10_24_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f575f4c3552529d11d6cd7ff66b4376.jpg","text":"TemporaryFile(/tmp/multipartBody9183003712777954320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716543902,"filename":"image_14122025_13_10_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/747d86d7cf1a503640e72601426cf1ca.jpg","text":"TemporaryFile(/tmp/multipartBody2715624278436067119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716543902,"filename":"image_14122025_13_10_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/12/14/1c575664c1d948b0f181985a99cb6ad1.jpg","text":"TemporaryFile(/tmp/multipartBody8462446228993641296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716543902,"filename":"image_14122025_13_10_15_10771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352896","file1":"1399352895","file0":"1399352892","file4":"1399352898","file5":"1399352900","file3":"1399352897"},"map_files_photo_id_array":[{"photo_id":"1399352900","filename":"file5"},{"photo_id":"1399352896","filename":"file2"},{"photo_id":"1399352898","filename":"file4"},{"photo_id":"1399352895","filename":"file1"},{"photo_id":"1399352892","filename":"file0"},{"photo_id":"1399352897","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352897":["hashtag1","hashtag2"]},{"1399352900":["hashtag1","hashtag2"]},{"1399352896":["hashtag1","hashtag2"]},{"1399352898":["hashtag1","hashtag2"]},{"1399352892":["hashtag1","hashtag2"]},{"1399352895":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352897, 1399352900, 1399352896, 1399352898, 1399352892, 1399352895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.710253953933716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:48:42.786197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_57_3554.jpg', '/home/pi/Desktop/images/04112025/13/19/image_04112025_13_20_00_2587.jpg', '/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_02_2644.jpg', '/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_05_3029.jpg', '/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_09_3731.jpg', '/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_15_6206.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/19/image_04112025_13_19_57_3554.jpg
/home/pi/Desktop/images/04112025/13/19/image_04112025_13_20_00_2587.jpg
/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_02_2644.jpg
/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_05_3029.jpg
/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_09_3731.jpg
/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_15_6206.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352910","1399352907","1399352912","1399352909","1399352905","1399352908"],"photo_ids_order":["1399352905","1399352907","1399352908","1399352909","1399352910","1399352912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3c9ee8241db0ac428483141650b40e46.jpg","text":"TemporaryFile(/tmp/multipartBody4487976211728944179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716583491,"filename":"image_04112025_13_20_09_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8282714c3a944434946a5e1b937e1e67.jpg","text":"TemporaryFile(/tmp/multipartBody6914689206724257473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716583491,"filename":"image_04112025_13_20_00_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/75087ceaaaa5fe1bd386bbd6dc986fd9.jpg","text":"TemporaryFile(/tmp/multipartBody1037700575188928516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716583491,"filename":"image_04112025_13_20_15_6206.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0eb0a5e0ab02d1c68397481685b08488.jpg","text":"TemporaryFile(/tmp/multipartBody3078040484535724801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716583491,"filename":"image_04112025_13_20_05_3029.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/99567de2eef53695a23d8fb9d878fb1c.jpg","text":"TemporaryFile(/tmp/multipartBody35768461449819339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716583491,"filename":"image_04112025_13_19_57_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b42d89f64d597f93c4b2a288fb4ec478.jpg","text":"TemporaryFile(/tmp/multipartBody8592086299789977366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716583491,"filename":"image_04112025_13_20_02_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352908","file1":"1399352907","file0":"1399352905","file4":"1399352910","file5":"1399352912","file3":"1399352909"},"map_files_photo_id_array":[{"photo_id":"1399352912","filename":"file5"},{"photo_id":"1399352908","filename":"file2"},{"photo_id":"1399352910","filename":"file4"},{"photo_id":"1399352907","filename":"file1"},{"photo_id":"1399352905","filename":"file0"},{"photo_id":"1399352909","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352910":["hashtag1","hashtag2"]},{"1399352907":["hashtag1","hashtag2"]},{"1399352912":["hashtag1","hashtag2"]},{"1399352909":["hashtag1","hashtag2"]},{"1399352905":["hashtag1","hashtag2"]},{"1399352908":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352910, 1399352907, 1399352912, 1399352909, 1399352905, 1399352908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.456079959869385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:49:22.143529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/10/image_14122025_13_11_04_9894.jpg', '/home/pi/Desktop/images/14122025/13/11/image_14122025_13_11_14_9627.jpg', '/home/pi/Desktop/images/14122025/13/11/image_14122025_13_11_24_9803.jpg', '/home/pi/Desktop/images/14122025/13/11/image_14122025_13_11_34_10566.jpg', '/home/pi/Desktop/images/14122025/13/11/image_14122025_13_11_44_9742.jpg', '/home/pi/Desktop/images/14122025/13/11/image_14122025_13_11_54_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/10/image_14122025_13_11_04_9894.jpg
/home/pi/Desktop/images/14122025/13/11/image_14122025_13_11_14_9627.jpg
/home/pi/Desktop/images/14122025/13/11/image_14122025_13_11_24_9803.jpg
/home/pi/Desktop/images/14122025/13/11/image_14122025_13_11_34_10566.jpg
/home/pi/Desktop/images/14122025/13/11/image_14122025_13_11_44_9742.jpg
/home/pi/Desktop/images/14122025/13/11/image_14122025_13_11_54_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352922","1399352925","1399352913","1399352915","1399352918","1399352920"],"photo_ids_order":["1399352913","1399352915","1399352918","1399352920","1399352922","1399352925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/952874377e065c23d216c8eacf5c0627.jpg","text":"TemporaryFile(/tmp/multipartBody303791848332819794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716622780,"filename":"image_14122025_13_11_44_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3e59de4d59337519bf3259b86302de28.jpg","text":"TemporaryFile(/tmp/multipartBody7454815459498887150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716622780,"filename":"image_14122025_13_11_54_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f87f0e21b4a2eae9a6821a812e32706.jpg","text":"TemporaryFile(/tmp/multipartBody4499068052106393018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716622780,"filename":"image_14122025_13_11_04_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b06cbc3831cdf0713b1bf4ee55a601ba.jpg","text":"TemporaryFile(/tmp/multipartBody7793457016172131452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716622780,"filename":"image_14122025_13_11_14_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b5fd6cb65002d53e0b74c0e21663d5f.jpg","text":"TemporaryFile(/tmp/multipartBody2266060917186105384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716622780,"filename":"image_14122025_13_11_24_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/745a6aa94c2f6fa45867bc26f5f66f60.jpg","text":"TemporaryFile(/tmp/multipartBody7263915710385064106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716622780,"filename":"image_14122025_13_11_34_10566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352918","file1":"1399352915","file0":"1399352913","file4":"1399352922","file5":"1399352925","file3":"1399352920"},"map_files_photo_id_array":[{"photo_id":"1399352925","filename":"file5"},{"photo_id":"1399352918","filename":"file2"},{"photo_id":"1399352922","filename":"file4"},{"photo_id":"1399352915","filename":"file1"},{"photo_id":"1399352913","filename":"file0"},{"photo_id":"1399352920","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352922":["hashtag1","hashtag2"]},{"1399352925":["hashtag1","hashtag2"]},{"1399352913":["hashtag1","hashtag2"]},{"1399352915":["hashtag1","hashtag2"]},{"1399352918":["hashtag1","hashtag2"]},{"1399352920":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352922, 1399352925, 1399352913, 1399352915, 1399352918, 1399352920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.507174491882324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:50:02.961032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/11/image_14122025_13_12_04_10691.jpg', '/home/pi/Desktop/images/14122025/13/12/image_14122025_13_12_14_9670.jpg', '/home/pi/Desktop/images/14122025/13/12/image_14122025_13_12_24_9716.jpg', '/home/pi/Desktop/images/14122025/13/12/image_14122025_13_12_34_10587.jpg', '/home/pi/Desktop/images/14122025/13/12/image_14122025_13_12_44_9528.jpg', '/home/pi/Desktop/images/14122025/13/12/image_14122025_13_12_54_9835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/11/image_14122025_13_12_04_10691.jpg
/home/pi/Desktop/images/14122025/13/12/image_14122025_13_12_14_9670.jpg
/home/pi/Desktop/images/14122025/13/12/image_14122025_13_12_24_9716.jpg
/home/pi/Desktop/images/14122025/13/12/image_14122025_13_12_34_10587.jpg
/home/pi/Desktop/images/14122025/13/12/image_14122025_13_12_44_9528.jpg
/home/pi/Desktop/images/14122025/13/12/image_14122025_13_12_54_9835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352931","1399352930","1399352927","1399352926","1399352929","1399352928"],"photo_ids_order":["1399352926","1399352927","1399352928","1399352929","1399352930","1399352931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d4551d49abe1808de6f08d92b573268.jpg","text":"TemporaryFile(/tmp/multipartBody819377225855302942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716663607,"filename":"image_14122025_13_12_54_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54407128476db07b6f9399ca2c14eaba.jpg","text":"TemporaryFile(/tmp/multipartBody5791865579727288405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716663607,"filename":"image_14122025_13_12_44_9528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d3256d2b1d914acb913b499f059c9805.jpg","text":"TemporaryFile(/tmp/multipartBody4125934349866007575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716663607,"filename":"image_14122025_13_12_14_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1afecb8de5ec262bb655e8c024c67106.jpg","text":"TemporaryFile(/tmp/multipartBody7306511607505091176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716663607,"filename":"image_14122025_13_12_04_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/083a3cafaacf20e576424b2e852b122f.jpg","text":"TemporaryFile(/tmp/multipartBody2288746430150478570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716663607,"filename":"image_14122025_13_12_34_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ceedd5d734fd5a7e71f0954c20db70a.jpg","text":"TemporaryFile(/tmp/multipartBody6736514896395900890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716663607,"filename":"image_14122025_13_12_24_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352928","file1":"1399352927","file0":"1399352926","file4":"1399352930","file5":"1399352931","file3":"1399352929"},"map_files_photo_id_array":[{"photo_id":"1399352931","filename":"file5"},{"photo_id":"1399352928","filename":"file2"},{"photo_id":"1399352930","filename":"file4"},{"photo_id":"1399352927","filename":"file1"},{"photo_id":"1399352926","filename":"file0"},{"photo_id":"1399352929","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352931":["hashtag1","hashtag2"]},{"1399352930":["hashtag1","hashtag2"]},{"1399352927":["hashtag1","hashtag2"]},{"1399352926":["hashtag1","hashtag2"]},{"1399352929":["hashtag1","hashtag2"]},{"1399352928":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352931, 1399352930, 1399352927, 1399352926, 1399352929, 1399352928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.934648752212524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:50:42.447598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_17_1785.jpg', '/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_32_8660.jpg', '/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_34_1636.jpg', '/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_36_1759.jpg', '/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_37_1679.jpg', '/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_39_1636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_17_1785.jpg
/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_32_8660.jpg
/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_34_1636.jpg
/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_36_1759.jpg
/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_37_1679.jpg
/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_39_1636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352943","1399352937","1399352945","1399352939","1399352941","1399352947"],"photo_ids_order":["1399352937","1399352939","1399352941","1399352943","1399352945","1399352947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/44457d8c88269bdfe29178c032811c29.jpg","text":"TemporaryFile(/tmp/multipartBody4498008473760393613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716703155,"filename":"image_04112025_13_20_36_1759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/943c0dfa0c7be26880e758310b2bec30.jpg","text":"TemporaryFile(/tmp/multipartBody8047294335692769534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716703155,"filename":"image_04112025_13_20_17_1785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/85cfa01c5ccffb1bc9913f5c2bd1b448.jpg","text":"TemporaryFile(/tmp/multipartBody1056169615949134523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716703155,"filename":"image_04112025_13_20_37_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/696460ac7cdca4ebdbe1e45ad9892249.jpg","text":"TemporaryFile(/tmp/multipartBody2053680878542792831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716703155,"filename":"image_04112025_13_20_32_8660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a8009ad76fbe79d95a7f20fe427ba5df.jpg","text":"TemporaryFile(/tmp/multipartBody6808703863110891843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716703155,"filename":"image_04112025_13_20_34_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/191efd4f89cf221d1bf1de11ac7f118b.jpg","text":"TemporaryFile(/tmp/multipartBody3645086415637030029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716703155,"filename":"image_04112025_13_20_39_1636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352941","file1":"1399352939","file0":"1399352937","file4":"1399352945","file5":"1399352947","file3":"1399352943"},"map_files_photo_id_array":[{"photo_id":"1399352947","filename":"file5"},{"photo_id":"1399352941","filename":"file2"},{"photo_id":"1399352945","filename":"file4"},{"photo_id":"1399352939","filename":"file1"},{"photo_id":"1399352937","filename":"file0"},{"photo_id":"1399352943","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352943":["hashtag1","hashtag2"]},{"1399352937":["hashtag1","hashtag2"]},{"1399352945":["hashtag1","hashtag2"]},{"1399352939":["hashtag1","hashtag2"]},{"1399352941":["hashtag1","hashtag2"]},{"1399352947":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352943, 1399352937, 1399352945, 1399352939, 1399352941, 1399352947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24679374694824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:51:22.794536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/12/image_14122025_13_13_04_10665.jpg', '/home/pi/Desktop/images/14122025/13/13/image_14122025_13_13_14_9708.jpg', '/home/pi/Desktop/images/14122025/13/13/image_14122025_13_13_24_9746.jpg', '/home/pi/Desktop/images/14122025/13/13/image_14122025_13_13_34_10652.jpg', '/home/pi/Desktop/images/14122025/13/13/image_14122025_13_13_44_9747.jpg', '/home/pi/Desktop/images/14122025/13/13/image_14122025_13_13_54_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/12/image_14122025_13_13_04_10665.jpg
/home/pi/Desktop/images/14122025/13/13/image_14122025_13_13_14_9708.jpg
/home/pi/Desktop/images/14122025/13/13/image_14122025_13_13_24_9746.jpg
/home/pi/Desktop/images/14122025/13/13/image_14122025_13_13_34_10652.jpg
/home/pi/Desktop/images/14122025/13/13/image_14122025_13_13_44_9747.jpg
/home/pi/Desktop/images/14122025/13/13/image_14122025_13_13_54_9745.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5232241153717041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 13:51:32.794642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:51:42.786663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_41_1786.jpg', '/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_42_1640.jpg', '/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_44_1641.jpg', '/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_46_1611.jpg', '/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_48_2558.jpg', '/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_51_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_41_1786.jpg
/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_42_1640.jpg
/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_44_1641.jpg
/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_46_1611.jpg
/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_48_2558.jpg
/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_51_2732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352963","1399352966","1399352962","1399352965","1399352959","1399352964"],"photo_ids_order":["1399352959","1399352962","1399352963","1399352964","1399352965","1399352966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1d7c31fe7602e1d2002a3795049ddf6.jpg","text":"TemporaryFile(/tmp/multipartBody8091129233885102819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716765347,"filename":"image_04112025_13_20_44_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e9d12532e334bd1ed8367fdeeed7a7da.jpg","text":"TemporaryFile(/tmp/multipartBody7114579275220736652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716765347,"filename":"image_04112025_13_20_51_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e6f58b630c940121063d6d66cab018c.jpg","text":"TemporaryFile(/tmp/multipartBody8460424569567463186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716765347,"filename":"image_04112025_13_20_42_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/44733b749563a30a1c415336948c4958.jpg","text":"TemporaryFile(/tmp/multipartBody6434319026027553620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716765347,"filename":"image_04112025_13_20_48_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4910c3bc3b5a96b4f420d2a360a45088.jpg","text":"TemporaryFile(/tmp/multipartBody3307485507888274182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716765347,"filename":"image_04112025_13_20_41_1786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/71a4f153a6414745c40200b3cfc1f830.jpg","text":"TemporaryFile(/tmp/multipartBody4194913022555915608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716765347,"filename":"image_04112025_13_20_46_1611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352963","file1":"1399352962","file0":"1399352959","file4":"1399352965","file5":"1399352966","file3":"1399352964"},"map_files_photo_id_array":[{"photo_id":"1399352966","filename":"file5"},{"photo_id":"1399352963","filename":"file2"},{"photo_id":"1399352965","filename":"file4"},{"photo_id":"1399352962","filename":"file1"},{"photo_id":"1399352959","filename":"file0"},{"photo_id":"1399352964","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352963":["hashtag1","hashtag2"]},{"1399352966":["hashtag1","hashtag2"]},{"1399352962":["hashtag1","hashtag2"]},{"1399352965":["hashtag1","hashtag2"]},{"1399352959":["hashtag1","hashtag2"]},{"1399352964":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352963, 1399352966, 1399352962, 1399352965, 1399352959, 1399352964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85943794250488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:52:22.009802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/12/image_14122025_13_13_04_10665.jpg', '/home/pi/Desktop/images/14122025/13/13/image_14122025_13_13_14_9708.jpg', '/home/pi/Desktop/images/14122025/13/13/image_14122025_13_13_24_9746.jpg', '/home/pi/Desktop/images/14122025/13/13/image_14122025_13_13_34_10652.jpg', '/home/pi/Desktop/images/14122025/13/13/image_14122025_13_13_44_9747.jpg', '/home/pi/Desktop/images/14122025/13/13/image_14122025_13_13_54_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/12/image_14122025_13_13_04_10665.jpg
/home/pi/Desktop/images/14122025/13/13/image_14122025_13_13_14_9708.jpg
/home/pi/Desktop/images/14122025/13/13/image_14122025_13_13_24_9746.jpg
/home/pi/Desktop/images/14122025/13/13/image_14122025_13_13_34_10652.jpg
/home/pi/Desktop/images/14122025/13/13/image_14122025_13_13_44_9747.jpg
/home/pi/Desktop/images/14122025/13/13/image_14122025_13_13_54_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":["1399352975","1399352978","1399352971","1399352968","1399352970","1399352973"],"photo_ids_order":["1399352968","1399352970","1399352971","1399352973","1399352975","1399352978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/733bf47a0dd0c3b6841c30840b1c4dd1.jpg","text":"TemporaryFile(/tmp/multipartBody3372034774473583707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716802659,"filename":"image_14122025_13_13_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/12/14/8eec334facafcd6a754b51bca565cef1.jpg","text":"TemporaryFile(/tmp/multipartBody6395953754476510651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716802659,"filename":"image_14122025_13_13_54_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/946ca14dd77691775f0c8f7aff76ff43.jpg","text":"TemporaryFile(/tmp/multipartBody923645967392825911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716802659,"filename":"image_14122025_13_13_24_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f09a993be141d3513755d2818df11131.jpg","text":"TemporaryFile(/tmp/multipartBody2095281883065771110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716802659,"filename":"image_14122025_13_13_04_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/badae4626e0e340067e18d0c5d462a67.jpg","text":"TemporaryFile(/tmp/multipartBody4486734846056849707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716802659,"filename":"image_14122025_13_13_14_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a2bf6d0c8f1072f118c164fbb9b1592.jpg","text":"TemporaryFile(/tmp/multipartBody2746572923901414477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716802659,"filename":"image_14122025_13_13_34_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352971","file1":"1399352970","file0":"1399352968","file4":"1399352975","file5":"1399352978","file3":"1399352973"},"map_files_photo_id_array":[{"photo_id":"1399352978","filename":"file5"},{"photo_id":"1399352971","filename":"file2"},{"photo_id":"1399352975","filename":"file4"},{"photo_id":"1399352970","filename":"file1"},{"photo_id":"1399352968","filename":"file0"},{"photo_id":"1399352973","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352975":["hashtag1","hashtag2"]},{"1399352978":["hashtag1","hashtag2"]},{"1399352971":["hashtag1","hashtag2"]},{"1399352968":["hashtag1","hashtag2"]},{"1399352970":["hashtag1","hashtag2"]},{"1399352973":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352975, 1399352978, 1399352971, 1399352968, 1399352970, 1399352973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55265522003174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:53:02.878049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/13/image_14122025_13_14_04_9750.jpg', '/home/pi/Desktop/images/14122025/13/14/image_14122025_13_14_15_10811.jpg', '/home/pi/Desktop/images/14122025/13/14/image_14122025_13_14_24_9576.jpg', '/home/pi/Desktop/images/14122025/13/14/image_14122025_13_14_34_9803.jpg', '/home/pi/Desktop/images/14122025/13/14/image_14122025_13_14_45_10647.jpg', '/home/pi/Desktop/images/14122025/13/14/image_14122025_13_14_54_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/13/image_14122025_13_14_04_9750.jpg
/home/pi/Desktop/images/14122025/13/14/image_14122025_13_14_15_10811.jpg
/home/pi/Desktop/images/14122025/13/14/image_14122025_13_14_24_9576.jpg
/home/pi/Desktop/images/14122025/13/14/image_14122025_13_14_34_9803.jpg
/home/pi/Desktop/images/14122025/13/14/image_14122025_13_14_45_10647.jpg
/home/pi/Desktop/images/14122025/13/14/image_14122025_13_14_54_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352981","1399352980","1399352983","1399352982","1399352985","1399352979"],"photo_ids_order":["1399352979","1399352980","1399352981","1399352982","1399352983","1399352985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c496a732395cfa0b6d2262e56ad8b548.jpg","text":"TemporaryFile(/tmp/multipartBody4732383504293556825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716843540,"filename":"image_14122025_13_14_24_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/48aa19ccb28a33a56ecf30c6046fb86d.jpg","text":"TemporaryFile(/tmp/multipartBody2958729769754538445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716843540,"filename":"image_14122025_13_14_15_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a2a900876c6eff7f8a231fb084936a5f.jpg","text":"TemporaryFile(/tmp/multipartBody2845560783288953538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716843540,"filename":"image_14122025_13_14_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c9a33014faa53936416c95e0c46e074.jpg","text":"TemporaryFile(/tmp/multipartBody1342126555472263733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716843540,"filename":"image_14122025_13_14_34_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/59fbf761a5c092d58419a051aa387e4e.jpg","text":"TemporaryFile(/tmp/multipartBody3126089969405064885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716843540,"filename":"image_14122025_13_14_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/12/14/848a74d8136f0ebc68851fd526e43806.jpg","text":"TemporaryFile(/tmp/multipartBody755672464750600790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716843540,"filename":"image_14122025_13_14_04_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352981","file1":"1399352980","file0":"1399352979","file4":"1399352983","file5":"1399352985","file3":"1399352982"},"map_files_photo_id_array":[{"photo_id":"1399352985","filename":"file5"},{"photo_id":"1399352981","filename":"file2"},{"photo_id":"1399352983","filename":"file4"},{"photo_id":"1399352980","filename":"file1"},{"photo_id":"1399352979","filename":"file0"},{"photo_id":"1399352982","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399352981":["hashtag1","hashtag2"]},{"1399352980":["hashtag1","hashtag2"]},{"1399352983":["hashtag1","hashtag2"]},{"1399352982":["hashtag1","hashtag2"]},{"1399352985":["hashtag1","hashtag2"]},{"1399352979":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399352981, 1399352980, 1399352983, 1399352982, 1399352985, 1399352979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67769718170166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:53:42.302836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_54_2706.jpg', '/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_57_3639.jpg', '/home/pi/Desktop/images/04112025/13/20/image_04112025_13_21_00_2691.jpg', '/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_03_2771.jpg', '/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_06_3622.jpg', '/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_09_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_54_2706.jpg
/home/pi/Desktop/images/04112025/13/20/image_04112025_13_20_57_3639.jpg
/home/pi/Desktop/images/04112025/13/20/image_04112025_13_21_00_2691.jpg
/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_03_2771.jpg
/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_06_3622.jpg
/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_09_2759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399352993","1399352996","1399352992","1399352995","1399352991","1399352994"],"photo_ids_order":["1399352991","1399352992","1399352993","1399352994","1399352995","1399352996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ad4ae2b606cbad42be9b8ad9f68e005.jpg","text":"TemporaryFile(/tmp/multipartBody9112664068278125714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716883010,"filename":"image_04112025_13_21_00_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3e5ac30891364d50df3e0e4752d2f7e4.jpg","text":"TemporaryFile(/tmp/multipartBody9156384120748617601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716883010,"filename":"image_04112025_13_21_09_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/37c368dc52cc471747f5301faf156248.jpg","text":"TemporaryFile(/tmp/multipartBody4323721168569267031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716883010,"filename":"image_04112025_13_20_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/12/14/215e9b710c5ee4ac705827c6afd062cd.jpg","text":"TemporaryFile(/tmp/multipartBody5561867859562588766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716883010,"filename":"image_04112025_13_21_06_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/48a01de61b79e45619e7aaf4ba06441c.jpg","text":"TemporaryFile(/tmp/multipartBody5493325328946392664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716883010,"filename":"image_04112025_13_20_54_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2859ebc6bccc5f289886554c49d159fa.jpg","text":"TemporaryFile(/tmp/multipartBody3972393318935379135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716883010,"filename":"image_04112025_13_21_03_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399352993","file1":"1399352992","file0":"1399352991","file4":"1399352995","file5":"1399352996","file3":"1399352994"},"map_files_photo_id_array":[{"photo_id":"1399352996","filename":"file5"},{"photo_id":"1399352993","filename":"file2"},{"photo_id":"1399352995","filename":"file4"},{"photo_id":"1399352992","filename":"file1"},{"photo_id":"1399352991","filename":"file0"},{"photo_id":"1399352994","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399352993":["hashtag1","hashtag2"]},{"1399352996":["hashtag1","hashtag2"]},{"1399352992":["hashtag1","hashtag2"]},{"1399352995":["hashtag1","hashtag2"]},{"1399352991":["hashtag1","hashtag2"]},{"1399352994":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399352993, 1399352996, 1399352992, 1399352995, 1399352991, 1399352994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.137133836746216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:54:22.594057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/14/image_14122025_13_15_04_9755.jpg', '/home/pi/Desktop/images/14122025/13/15/image_14122025_13_15_14_9834.jpg', '/home/pi/Desktop/images/14122025/13/15/image_14122025_13_15_25_10722.jpg', '/home/pi/Desktop/images/14122025/13/15/image_14122025_13_15_34_9692.jpg', '/home/pi/Desktop/images/14122025/13/15/image_14122025_13_15_44_9647.jpg', '/home/pi/Desktop/images/14122025/13/15/image_14122025_13_15_54_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/14/image_14122025_13_15_04_9755.jpg
/home/pi/Desktop/images/14122025/13/15/image_14122025_13_15_14_9834.jpg
/home/pi/Desktop/images/14122025/13/15/image_14122025_13_15_25_10722.jpg
/home/pi/Desktop/images/14122025/13/15/image_14122025_13_15_34_9692.jpg
/home/pi/Desktop/images/14122025/13/15/image_14122025_13_15_44_9647.jpg
/home/pi/Desktop/images/14122025/13/15/image_14122025_13_15_54_10626.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.523169994354248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 13:54:32.680688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:54:42.529852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_12_2803.jpg', '/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_15_2765.jpg', '/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_18_3507.jpg', '/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_21_2840.jpg', '/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_23_2555.jpg', '/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_27_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_12_2803.jpg
/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_15_2765.jpg
/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_18_3507.jpg
/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_21_2840.jpg
/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_23_2555.jpg
/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_27_3636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399353012","1399353011","1399353010","1399353013","1399353007","1399353009"],"photo_ids_order":["1399353007","1399353009","1399353010","1399353011","1399353012","1399353013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5af5efdf800a94f70f6ff06958f5d749.jpg","text":"TemporaryFile(/tmp/multipartBody1213087879834082135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716943271,"filename":"image_04112025_13_21_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/12/14/8f70bc40f7aecb6afb390eb131e62d21.jpg","text":"TemporaryFile(/tmp/multipartBody5018196427103911105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716943271,"filename":"image_04112025_13_21_21_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e3be4f48a586ce06595f82bdcabbc0b2.jpg","text":"TemporaryFile(/tmp/multipartBody1257916834570780925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716943271,"filename":"image_04112025_13_21_18_3507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/395cbd6ca9532aa7097c2b57419ddaa5.jpg","text":"TemporaryFile(/tmp/multipartBody2631799090454456349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716943271,"filename":"image_04112025_13_21_27_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f9801fb19985ef1e21d573cd5ff8ef9.jpg","text":"TemporaryFile(/tmp/multipartBody5723299486113781533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716943271,"filename":"image_04112025_13_21_12_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/896a656c5bf1c8abd423b9f53517dfcc.jpg","text":"TemporaryFile(/tmp/multipartBody2580446109107070698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716943271,"filename":"image_04112025_13_21_15_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399353010","file1":"1399353009","file0":"1399353007","file4":"1399353012","file5":"1399353013","file3":"1399353011"},"map_files_photo_id_array":[{"photo_id":"1399353013","filename":"file5"},{"photo_id":"1399353010","filename":"file2"},{"photo_id":"1399353012","filename":"file4"},{"photo_id":"1399353009","filename":"file1"},{"photo_id":"1399353007","filename":"file0"},{"photo_id":"1399353011","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399353012":["hashtag1","hashtag2"]},{"1399353011":["hashtag1","hashtag2"]},{"1399353010":["hashtag1","hashtag2"]},{"1399353013":["hashtag1","hashtag2"]},{"1399353007":["hashtag1","hashtag2"]},{"1399353009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399353012, 1399353011, 1399353010, 1399353013, 1399353007, 1399353009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67702770233154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:55:22.755973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/14/image_14122025_13_15_04_9755.jpg', '/home/pi/Desktop/images/14122025/13/15/image_14122025_13_15_14_9834.jpg', '/home/pi/Desktop/images/14122025/13/15/image_14122025_13_15_25_10722.jpg', '/home/pi/Desktop/images/14122025/13/15/image_14122025_13_15_34_9692.jpg', '/home/pi/Desktop/images/14122025/13/15/image_14122025_13_15_44_9647.jpg', '/home/pi/Desktop/images/14122025/13/15/image_14122025_13_15_54_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/14/image_14122025_13_15_04_9755.jpg
/home/pi/Desktop/images/14122025/13/15/image_14122025_13_15_14_9834.jpg
/home/pi/Desktop/images/14122025/13/15/image_14122025_13_15_25_10722.jpg
/home/pi/Desktop/images/14122025/13/15/image_14122025_13_15_34_9692.jpg
/home/pi/Desktop/images/14122025/13/15/image_14122025_13_15_44_9647.jpg
/home/pi/Desktop/images/14122025/13/15/image_14122025_13_15_54_10626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399353023","1399353017","1399353025","1399353019","1399353021","1399353015"],"photo_ids_order":["1399353015","1399353017","1399353019","1399353021","1399353023","1399353025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0467ee92bc3adb516d7f2de8b3bf4a51.jpg","text":"TemporaryFile(/tmp/multipartBody6925809971205008210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716983389,"filename":"image_14122025_13_15_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2779df40a8421324c442eb20e77b6d63.jpg","text":"TemporaryFile(/tmp/multipartBody3254050834721927851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716983389,"filename":"image_14122025_13_15_14_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e07f0a852693a0c0a45ab822089ca545.jpg","text":"TemporaryFile(/tmp/multipartBody7239870099660530187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716983389,"filename":"image_14122025_13_15_54_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c0cf93ff756d307b71089fc149d54007.jpg","text":"TemporaryFile(/tmp/multipartBody9073509049506021453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716983389,"filename":"image_14122025_13_15_25_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/09a7c6d20b501b3208c5cec70f847c4e.jpg","text":"TemporaryFile(/tmp/multipartBody5531433841844638363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716983389,"filename":"image_14122025_13_15_34_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/769f92c074e69d0631d45ef5c68b55b9.jpg","text":"TemporaryFile(/tmp/multipartBody8829680756453933409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765716983389,"filename":"image_14122025_13_15_04_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399353019","file1":"1399353017","file0":"1399353015","file4":"1399353023","file5":"1399353025","file3":"1399353021"},"map_files_photo_id_array":[{"photo_id":"1399353025","filename":"file5"},{"photo_id":"1399353019","filename":"file2"},{"photo_id":"1399353023","filename":"file4"},{"photo_id":"1399353017","filename":"file1"},{"photo_id":"1399353015","filename":"file0"},{"photo_id":"1399353021","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399353023":["hashtag1","hashtag2"]},{"1399353017":["hashtag1","hashtag2"]},{"1399353025":["hashtag1","hashtag2"]},{"1399353019":["hashtag1","hashtag2"]},{"1399353021":["hashtag1","hashtag2"]},{"1399353015":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399353023, 1399353017, 1399353025, 1399353019, 1399353021, 1399353015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.213940382003784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:56:02.417601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/15/image_14122025_13_16_04_9808.jpg', '/home/pi/Desktop/images/14122025/13/16/image_14122025_13_16_14_9755.jpg', '/home/pi/Desktop/images/14122025/13/16/image_14122025_13_16_24_9738.jpg', '/home/pi/Desktop/images/14122025/13/16/image_14122025_13_16_35_10781.jpg', '/home/pi/Desktop/images/14122025/13/16/image_14122025_13_16_44_9566.jpg', '/home/pi/Desktop/images/14122025/13/16/image_14122025_13_16_54_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/15/image_14122025_13_16_04_9808.jpg
/home/pi/Desktop/images/14122025/13/16/image_14122025_13_16_14_9755.jpg
/home/pi/Desktop/images/14122025/13/16/image_14122025_13_16_24_9738.jpg
/home/pi/Desktop/images/14122025/13/16/image_14122025_13_16_35_10781.jpg
/home/pi/Desktop/images/14122025/13/16/image_14122025_13_16_44_9566.jpg
/home/pi/Desktop/images/14122025/13/16/image_14122025_13_16_54_9830.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399353026","1399353029","1399353031","1399353028","1399353033","1399353030"],"photo_ids_order":["1399353026","1399353028","1399353029","1399353030","1399353031","1399353033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/af8f3f50b588cd88123091fbb158f114.jpg","text":"TemporaryFile(/tmp/multipartBody8769520871850881963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717023131,"filename":"image_14122025_13_16_04_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b1c4f448c4ea3b2f054a7980ab6ab73.jpg","text":"TemporaryFile(/tmp/multipartBody1480011467379232401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717023131,"filename":"image_14122025_13_16_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/12/14/1b62610bd99ae33d0ed26fdc930eff1a.jpg","text":"TemporaryFile(/tmp/multipartBody3065391075222453724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717023131,"filename":"image_14122025_13_16_44_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6a803222fbb7c1311d10ee818b12249b.jpg","text":"TemporaryFile(/tmp/multipartBody8302050254049115212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717023131,"filename":"image_14122025_13_16_14_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/74808cc368a2fa49a505128b68ef5b1d.jpg","text":"TemporaryFile(/tmp/multipartBody1474309626342215742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717023131,"filename":"image_14122025_13_16_54_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5deb3e7f9e8bfd7398eb0ab2dbf0d3ce.jpg","text":"TemporaryFile(/tmp/multipartBody3762856223556577964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717023131,"filename":"image_14122025_13_16_35_10781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399353029","file1":"1399353028","file0":"1399353026","file4":"1399353031","file5":"1399353033","file3":"1399353030"},"map_files_photo_id_array":[{"photo_id":"1399353033","filename":"file5"},{"photo_id":"1399353029","filename":"file2"},{"photo_id":"1399353031","filename":"file4"},{"photo_id":"1399353028","filename":"file1"},{"photo_id":"1399353026","filename":"file0"},{"photo_id":"1399353030","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399353026":["hashtag1","hashtag2"]},{"1399353029":["hashtag1","hashtag2"]},{"1399353031":["hashtag1","hashtag2"]},{"1399353028":["hashtag1","hashtag2"]},{"1399353033":["hashtag1","hashtag2"]},{"1399353030":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399353026, 1399353029, 1399353031, 1399353028, 1399353033, 1399353030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69872713088989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 13:56:41.877564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_30_2749.jpg', '/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_32_2574.jpg', '/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_36_3759.jpg', '/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_41_5209.jpg', '/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_47_5704.jpg', '/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_50_3104.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_30_2749.jpg
/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_32_2574.jpg
/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_36_3759.jpg
/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_41_5209.jpg
/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_47_5704.jpg
/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_50_3104.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399353038","1399353041","1399353040","1399353043","1399353042","1399353039"],"photo_ids_order":["1399353038","1399353039","1399353040","1399353041","1399353042","1399353043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/673cd38551ed09b7c7fbd45de8ec3a04.jpg","text":"TemporaryFile(/tmp/multipartBody3666217814180668334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717062589,"filename":"image_04112025_13_21_30_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc9824fc60ed2680319a5582e8f081b8.jpg","text":"TemporaryFile(/tmp/multipartBody8240517060229144138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717062589,"filename":"image_04112025_13_21_41_5209.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4cc3864e60d017247612571a2e104d04.jpg","text":"TemporaryFile(/tmp/multipartBody3248968990538945623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717062589,"filename":"image_04112025_13_21_36_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f87b2a5530b4f63aa63fe0c1f88ce9c.jpg","text":"TemporaryFile(/tmp/multipartBody2819054472381913906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717062589,"filename":"image_04112025_13_21_50_3104.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd1ade2a76e9f294061b66ac68f26a38.jpg","text":"TemporaryFile(/tmp/multipartBody334666419020532113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717062589,"filename":"image_04112025_13_21_47_5704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da4fca6920f562a0322dc6c83dbc9bbd.jpg","text":"TemporaryFile(/tmp/multipartBody4020037484401814368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717062589,"filename":"image_04112025_13_21_32_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399353040","file1":"1399353039","file0":"1399353038","file4":"1399353042","file5":"1399353043","file3":"1399353041"},"map_files_photo_id_array":[{"photo_id":"1399353043","filename":"file5"},{"photo_id":"1399353040","filename":"file2"},{"photo_id":"1399353042","filename":"file4"},{"photo_id":"1399353039","filename":"file1"},{"photo_id":"1399353038","filename":"file0"},{"photo_id":"1399353041","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399353038":["hashtag1","hashtag2"]},{"1399353041":["hashtag1","hashtag2"]},{"1399353040":["hashtag1","hashtag2"]},{"1399353043":["hashtag1","hashtag2"]},{"1399353042":["hashtag1","hashtag2"]},{"1399353039":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399353038, 1399353041, 1399353040, 1399353043, 1399353042, 1399353039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96855354309082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 13:57:22.261435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/16/image_14122025_13_17_04_9750.jpg', '/home/pi/Desktop/images/14122025/13/17/image_14122025_13_17_14_10696.jpg', '/home/pi/Desktop/images/14122025/13/17/image_14122025_13_17_24_9718.jpg', '/home/pi/Desktop/images/14122025/13/17/image_14122025_13_17_34_9717.jpg', '/home/pi/Desktop/images/14122025/13/17/image_14122025_13_17_45_10678.jpg', '/home/pi/Desktop/images/14122025/13/17/image_14122025_13_17_54_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/16/image_14122025_13_17_04_9750.jpg
/home/pi/Desktop/images/14122025/13/17/image_14122025_13_17_14_10696.jpg
/home/pi/Desktop/images/14122025/13/17/image_14122025_13_17_24_9718.jpg
/home/pi/Desktop/images/14122025/13/17/image_14122025_13_17_34_9717.jpg
/home/pi/Desktop/images/14122025/13/17/image_14122025_13_17_45_10678.jpg
/home/pi/Desktop/images/14122025/13/17/image_14122025_13_17_54_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":["1399353056","1399353044","1399353053","1399353046","1399353051","1399353048"],"photo_ids_order":["1399353044","1399353046","1399353048","1399353051","1399353053","1399353056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0fb284a8266e20d1e2f936306047cad4.jpg","text":"TemporaryFile(/tmp/multipartBody4137659302377897953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717102904,"filename":"image_14122025_13_17_54_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bbee8f61bc4cf764124df810c50a08e1.jpg","text":"TemporaryFile(/tmp/multipartBody4811667758317866038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717102904,"filename":"image_14122025_13_17_04_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/75c76784e916bf56038c914a381b1e52.jpg","text":"TemporaryFile(/tmp/multipartBody2144935515811007216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717102904,"filename":"image_14122025_13_17_45_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/18b7dea7b79f87e2acee61eeb764070b.jpg","text":"TemporaryFile(/tmp/multipartBody8755507639005057833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717102904,"filename":"image_14122025_13_17_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/12/14/d7243f8c2a2140f0b454423dc5e5cf72.jpg","text":"TemporaryFile(/tmp/multipartBody1817142281283865283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717102904,"filename":"image_14122025_13_17_34_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/34c88f7deb4160f1f9c069a0e28a3a4b.jpg","text":"TemporaryFile(/tmp/multipartBody1811189102346349820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717102904,"filename":"image_14122025_13_17_24_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399353048","file1":"1399353046","file0":"1399353044","file4":"1399353053","file5":"1399353056","file3":"1399353051"},"map_files_photo_id_array":[{"photo_id":"1399353056","filename":"file5"},{"photo_id":"1399353048","filename":"file2"},{"photo_id":"1399353053","filename":"file4"},{"photo_id":"1399353046","filename":"file1"},{"photo_id":"1399353044","filename":"file0"},{"photo_id":"1399353051","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399353056":["hashtag1","hashtag2"]},{"1399353044":["hashtag1","hashtag2"]},{"1399353053":["hashtag1","hashtag2"]},{"1399353046":["hashtag1","hashtag2"]},{"1399353051":["hashtag1","hashtag2"]},{"1399353048":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399353056, 1399353044, 1399353053, 1399353046, 1399353051, 1399353048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63486695289612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 13:59:03.570139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/17/image_14122025_13_18_04_9788.jpg', '/home/pi/Desktop/images/14122025/13/18/image_14122025_13_18_14_9710.jpg', '/home/pi/Desktop/images/14122025/13/18/image_14122025_13_18_24_10683.jpg', '/home/pi/Desktop/images/14122025/13/18/image_14122025_13_18_34_9818.jpg', '/home/pi/Desktop/images/14122025/13/18/image_14122025_13_18_44_9605.jpg', '/home/pi/Desktop/images/14122025/13/18/image_14122025_13_18_54_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/17/image_14122025_13_18_04_9788.jpg
/home/pi/Desktop/images/14122025/13/18/image_14122025_13_18_14_9710.jpg
/home/pi/Desktop/images/14122025/13/18/image_14122025_13_18_24_10683.jpg
/home/pi/Desktop/images/14122025/13/18/image_14122025_13_18_34_9818.jpg
/home/pi/Desktop/images/14122025/13/18/image_14122025_13_18_44_9605.jpg
/home/pi/Desktop/images/14122025/13/18/image_14122025_13_18_54_10653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399353302","1399353295","1399353292","1399353288","1399353297","1399353299"],"photo_ids_order":["1399353288","1399353292","1399353295","1399353297","1399353299","1399353302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c7e91d83177a7853f90701af305397fd.jpg","text":"TemporaryFile(/tmp/multipartBody6623219564939247775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717204286,"filename":"image_14122025_13_18_54_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d939a85f9fbc6b2d63624c3c67f203c.jpg","text":"TemporaryFile(/tmp/multipartBody3042231663158643317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717204286,"filename":"image_14122025_13_18_24_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/44847bc8515da2249a8d1799507b7bdd.jpg","text":"TemporaryFile(/tmp/multipartBody5222985729571187257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717204286,"filename":"image_14122025_13_18_14_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3baf64d5e7f0c6a1ba7fd92389e8781a.jpg","text":"TemporaryFile(/tmp/multipartBody2166227963823191605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717204286,"filename":"image_14122025_13_18_04_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/98e346fff077c80e9925268cb75b53b9.jpg","text":"TemporaryFile(/tmp/multipartBody2187715374549927787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717204286,"filename":"image_14122025_13_18_34_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ecd47b3303764e22f4570792108a2126.jpg","text":"TemporaryFile(/tmp/multipartBody1327756130939886050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717204286,"filename":"image_14122025_13_18_44_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399353295","file1":"1399353292","file0":"1399353288","file4":"1399353299","file5":"1399353302","file3":"1399353297"},"map_files_photo_id_array":[{"photo_id":"1399353302","filename":"file5"},{"photo_id":"1399353295","filename":"file2"},{"photo_id":"1399353299","filename":"file4"},{"photo_id":"1399353292","filename":"file1"},{"photo_id":"1399353288","filename":"file0"},{"photo_id":"1399353297","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399353302":["hashtag1","hashtag2"]},{"1399353295":["hashtag1","hashtag2"]},{"1399353292":["hashtag1","hashtag2"]},{"1399353288":["hashtag1","hashtag2"]},{"1399353297":["hashtag1","hashtag2"]},{"1399353299":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399353302, 1399353295, 1399353292, 1399353288, 1399353297, 1399353299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13644313812256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:00:02.238674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/18/image_14122025_13_19_04_9896.jpg', '/home/pi/Desktop/images/14122025/13/19/image_14122025_13_19_14_9820.jpg', '/home/pi/Desktop/images/14122025/13/19/image_14122025_13_19_24_9866.jpg', '/home/pi/Desktop/images/14122025/13/19/image_14122025_13_19_34_9697.jpg', '/home/pi/Desktop/images/14122025/13/19/image_14122025_13_19_44_10696.jpg', '/home/pi/Desktop/images/14122025/13/19/image_14122025_13_19_54_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/18/image_14122025_13_19_04_9896.jpg
/home/pi/Desktop/images/14122025/13/19/image_14122025_13_19_14_9820.jpg
/home/pi/Desktop/images/14122025/13/19/image_14122025_13_19_24_9866.jpg
/home/pi/Desktop/images/14122025/13/19/image_14122025_13_19_34_9697.jpg
/home/pi/Desktop/images/14122025/13/19/image_14122025_13_19_44_10696.jpg
/home/pi/Desktop/images/14122025/13/19/image_14122025_13_19_54_9724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399353335","1399353314","1399353313","1399353316","1399353312","1399353315"],"photo_ids_order":["1399353312","1399353313","1399353314","1399353315","1399353316","1399353335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94f94efde1f06fc5ec16454d3edd794b.jpg","text":"TemporaryFile(/tmp/multipartBody8457463600070571757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717262858,"filename":"image_14122025_13_19_54_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b53ba2e4eae0140486cf3d35fadad015.jpg","text":"TemporaryFile(/tmp/multipartBody4392106266219469295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717262858,"filename":"image_14122025_13_19_24_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6631db020111769c913ca6465fc38d01.jpg","text":"TemporaryFile(/tmp/multipartBody6798311494412694304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717262858,"filename":"image_14122025_13_19_14_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e92cc0a55174e8c31af416796fd185b3.jpg","text":"TemporaryFile(/tmp/multipartBody8350198666116722257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717262858,"filename":"image_14122025_13_19_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/12/14/f41719667a4ce70636c119b350b494db.jpg","text":"TemporaryFile(/tmp/multipartBody1045088000814755521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717262858,"filename":"image_14122025_13_19_04_9896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c634050633088a97eaa6dc22cef15797.jpg","text":"TemporaryFile(/tmp/multipartBody1028119200376158165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717262858,"filename":"image_14122025_13_19_34_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399353314","file1":"1399353313","file0":"1399353312","file4":"1399353316","file5":"1399353335","file3":"1399353315"},"map_files_photo_id_array":[{"photo_id":"1399353335","filename":"file5"},{"photo_id":"1399353314","filename":"file2"},{"photo_id":"1399353316","filename":"file4"},{"photo_id":"1399353313","filename":"file1"},{"photo_id":"1399353312","filename":"file0"},{"photo_id":"1399353315","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399353335":["hashtag1","hashtag2"]},{"1399353314":["hashtag1","hashtag2"]},{"1399353313":["hashtag1","hashtag2"]},{"1399353316":["hashtag1","hashtag2"]},{"1399353312":["hashtag1","hashtag2"]},{"1399353315":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399353335, 1399353314, 1399353313, 1399353316, 1399353312, 1399353315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58147382736206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:00:41.837877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_52_1641.jpg', '/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_53_1644.jpg', '/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_55_1672.jpg', '/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_57_1607.jpg', '/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_59_2607.jpg', '/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_03_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_52_1641.jpg
/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_53_1644.jpg
/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_55_1672.jpg
/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_57_1607.jpg
/home/pi/Desktop/images/04112025/13/21/image_04112025_13_21_59_2607.jpg
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_03_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":["1399353671","1399353917","1399353821","1399353747","1399354023","1399353596"],"photo_ids_order":["1399353596","1399353671","1399353747","1399353821","1399353917","1399354023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d03f1d87be6dbfcc5e62afb3ae0f7615.jpg","text":"TemporaryFile(/tmp/multipartBody5921572450919324958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717302601,"filename":"image_04112025_13_21_53_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7be9ee5c7699100726c30f7f984df80a.jpg","text":"TemporaryFile(/tmp/multipartBody1239815030778721449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717302601,"filename":"image_04112025_13_21_59_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e29d47053426a1aa7ae20a28194a698a.jpg","text":"TemporaryFile(/tmp/multipartBody7756595920196412321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717302601,"filename":"image_04112025_13_21_57_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b297ce4773729bff04504f81f977c086.jpg","text":"TemporaryFile(/tmp/multipartBody1431551425086284815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717302601,"filename":"image_04112025_13_21_55_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c45cd879b6610f1f15ff1c74f9b0da0c.jpg","text":"TemporaryFile(/tmp/multipartBody4758271358196087215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717302601,"filename":"image_04112025_13_22_03_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e78a56c3b84bfe340bf3c4e9ebfc05ba.jpg","text":"TemporaryFile(/tmp/multipartBody2534917362064128299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717302601,"filename":"image_04112025_13_21_52_1641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399353747","file1":"1399353671","file0":"1399353596","file4":"1399353917","file5":"1399354023","file3":"1399353821"},"map_files_photo_id_array":[{"photo_id":"1399354023","filename":"file5"},{"photo_id":"1399353747","filename":"file2"},{"photo_id":"1399353917","filename":"file4"},{"photo_id":"1399353671","filename":"file1"},{"photo_id":"1399353596","filename":"file0"},{"photo_id":"1399353821","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399353671":["hashtag1","hashtag2"]},{"1399353917":["hashtag1","hashtag2"]},{"1399353821":["hashtag1","hashtag2"]},{"1399353747":["hashtag1","hashtag2"]},{"1399354023":["hashtag1","hashtag2"]},{"1399353596":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399353671, 1399353917, 1399353821, 1399353747, 1399354023, 1399353596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28386878967285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:01:22.149599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/19/image_14122025_13_20_04_9780.jpg', '/home/pi/Desktop/images/14122025/13/20/image_14122025_13_20_15_10680.jpg', '/home/pi/Desktop/images/14122025/13/20/image_14122025_13_20_24_9598.jpg', '/home/pi/Desktop/images/14122025/13/20/image_14122025_13_20_34_9618.jpg', '/home/pi/Desktop/images/14122025/13/20/image_14122025_13_20_45_10720.jpg', '/home/pi/Desktop/images/14122025/13/20/image_14122025_13_20_54_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/19/image_14122025_13_20_04_9780.jpg
/home/pi/Desktop/images/14122025/13/20/image_14122025_13_20_15_10680.jpg
/home/pi/Desktop/images/14122025/13/20/image_14122025_13_20_24_9598.jpg
/home/pi/Desktop/images/14122025/13/20/image_14122025_13_20_34_9618.jpg
/home/pi/Desktop/images/14122025/13/20/image_14122025_13_20_45_10720.jpg
/home/pi/Desktop/images/14122025/13/20/image_14122025_13_20_54_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":["1399354978","1399354863","1399354758","1399354647","1399354425","1399354538"],"photo_ids_order":["1399354425","1399354538","1399354647","1399354758","1399354863","1399354978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/776b8a8d21913ca86014aa87bef464be.jpg","text":"TemporaryFile(/tmp/multipartBody4672123276836462014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717342830,"filename":"image_14122025_13_20_54_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aefc6785cd4305c964370a581370a28f.jpg","text":"TemporaryFile(/tmp/multipartBody4897345230864528090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717342830,"filename":"image_14122025_13_20_45_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/de5ae77690b58d444e547c6297580f39.jpg","text":"TemporaryFile(/tmp/multipartBody3377289494814529235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717342830,"filename":"image_14122025_13_20_34_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bad09f6192660d5bf0b0b5cff5c69ed5.jpg","text":"TemporaryFile(/tmp/multipartBody8117378915714120031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717342830,"filename":"image_14122025_13_20_24_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d8c0e62ff4971b04e0b956495a6d8633.jpg","text":"TemporaryFile(/tmp/multipartBody3345549678630503064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717342830,"filename":"image_14122025_13_20_04_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/498aa452b70dfd9253dbde20a2c435c4.jpg","text":"TemporaryFile(/tmp/multipartBody2335238991257590706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717342830,"filename":"image_14122025_13_20_15_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399354647","file1":"1399354538","file0":"1399354425","file4":"1399354863","file5":"1399354978","file3":"1399354758"},"map_files_photo_id_array":[{"photo_id":"1399354978","filename":"file5"},{"photo_id":"1399354647","filename":"file2"},{"photo_id":"1399354863","filename":"file4"},{"photo_id":"1399354538","filename":"file1"},{"photo_id":"1399354425","filename":"file0"},{"photo_id":"1399354758","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399354978":["hashtag1","hashtag2"]},{"1399354863":["hashtag1","hashtag2"]},{"1399354758":["hashtag1","hashtag2"]},{"1399354647":["hashtag1","hashtag2"]},{"1399354425":["hashtag1","hashtag2"]},{"1399354538":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399354978, 1399354863, 1399354758, 1399354647, 1399354425, 1399354538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.666937589645386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:02:02.858898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/20/image_14122025_13_21_04_9840.jpg', '/home/pi/Desktop/images/14122025/13/21/image_14122025_13_21_14_9679.jpg', '/home/pi/Desktop/images/14122025/13/21/image_14122025_13_21_25_10738.jpg', '/home/pi/Desktop/images/14122025/13/21/image_14122025_13_21_34_9740.jpg', '/home/pi/Desktop/images/14122025/13/21/image_14122025_13_21_55_10646.jpg', '/home/pi/Desktop/images/14122025/13/21/image_14122025_13_22_04_9825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/20/image_14122025_13_21_04_9840.jpg
/home/pi/Desktop/images/14122025/13/21/image_14122025_13_21_14_9679.jpg
/home/pi/Desktop/images/14122025/13/21/image_14122025_13_21_25_10738.jpg
/home/pi/Desktop/images/14122025/13/21/image_14122025_13_21_34_9740.jpg
/home/pi/Desktop/images/14122025/13/21/image_14122025_13_21_55_10646.jpg
/home/pi/Desktop/images/14122025/13/21/image_14122025_13_22_04_9825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399355563","1399355391","1399355715","1399355792","1399355645","1399355482"],"photo_ids_order":["1399355391","1399355482","1399355563","1399355645","1399355715","1399355792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a49e2992f3586f54028bbf6ba490ad73.jpg","text":"TemporaryFile(/tmp/multipartBody8312462094064753890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717383518,"filename":"image_14122025_13_21_25_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1eb790fac3031d8f87273efb01eaa8d0.jpg","text":"TemporaryFile(/tmp/multipartBody1090146082988439657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717383518,"filename":"image_14122025_13_21_04_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/70fd111c522415a63315abefbbfcc337.jpg","text":"TemporaryFile(/tmp/multipartBody5368373249133085474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717383518,"filename":"image_14122025_13_21_55_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f12f612463a707fa71e05ade97400786.jpg","text":"TemporaryFile(/tmp/multipartBody7445175490236287575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717383518,"filename":"image_14122025_13_22_04_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e197872e200e35371129fc8513575a0.jpg","text":"TemporaryFile(/tmp/multipartBody3743483971223076806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717383518,"filename":"image_14122025_13_21_34_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f5d44e98ba5518c48c4a200573031200.jpg","text":"TemporaryFile(/tmp/multipartBody1997042924287288144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717383518,"filename":"image_14122025_13_21_14_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399355563","file1":"1399355482","file0":"1399355391","file4":"1399355715","file5":"1399355792","file3":"1399355645"},"map_files_photo_id_array":[{"photo_id":"1399355792","filename":"file5"},{"photo_id":"1399355563","filename":"file2"},{"photo_id":"1399355715","filename":"file4"},{"photo_id":"1399355482","filename":"file1"},{"photo_id":"1399355391","filename":"file0"},{"photo_id":"1399355645","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399355563":["hashtag1","hashtag2"]},{"1399355391":["hashtag1","hashtag2"]},{"1399355715":["hashtag1","hashtag2"]},{"1399355792":["hashtag1","hashtag2"]},{"1399355645":["hashtag1","hashtag2"]},{"1399355482":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399355563, 1399355391, 1399355715, 1399355792, 1399355645, 1399355482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.658161640167236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:02:42.293549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_06_2697.jpg', '/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_08_2642.jpg', '/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_11_2923.jpg', '/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_15_3710.jpg', '/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_18_2682.jpg', '/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_20_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_06_2697.jpg
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_08_2642.jpg
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_11_2923.jpg
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_15_3710.jpg
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_18_2682.jpg
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_20_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":["1399355854","1399355866","1399355991","1399355865","1399355940","1399355903"],"photo_ids_order":["1399355854","1399355865","1399355866","1399355903","1399355940","1399355991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/89b89f834fecd1ccf2e42c5c164ec86d.jpg","text":"TemporaryFile(/tmp/multipartBody1412550863178463286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717422994,"filename":"image_04112025_13_22_06_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b7aa938affcee6e85e0b6ec7dc08dd67.jpg","text":"TemporaryFile(/tmp/multipartBody3598037990988093577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717422994,"filename":"image_04112025_13_22_11_2923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6d31d86bf574e2316598031bfb295874.jpg","text":"TemporaryFile(/tmp/multipartBody8761600015776565575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717422994,"filename":"image_04112025_13_22_20_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/412c62f8927f01f689372828e7928e22.jpg","text":"TemporaryFile(/tmp/multipartBody5945632877694390452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717422994,"filename":"image_04112025_13_22_08_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/57c350aa97870d29eb2a6d690765fe41.jpg","text":"TemporaryFile(/tmp/multipartBody1074863357414731386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717422994,"filename":"image_04112025_13_22_18_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/02d312c1f3d707d7ab3650ce5efe8279.jpg","text":"TemporaryFile(/tmp/multipartBody7807215814184017115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717422994,"filename":"image_04112025_13_22_15_3710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399355866","file1":"1399355865","file0":"1399355854","file4":"1399355940","file5":"1399355991","file3":"1399355903"},"map_files_photo_id_array":[{"photo_id":"1399355991","filename":"file5"},{"photo_id":"1399355866","filename":"file2"},{"photo_id":"1399355940","filename":"file4"},{"photo_id":"1399355865","filename":"file1"},{"photo_id":"1399355854","filename":"file0"},{"photo_id":"1399355903","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399355854":["hashtag1","hashtag2"]},{"1399355866":["hashtag1","hashtag2"]},{"1399355991":["hashtag1","hashtag2"]},{"1399355865":["hashtag1","hashtag2"]},{"1399355940":["hashtag1","hashtag2"]},{"1399355903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399355854, 1399355866, 1399355991, 1399355865, 1399355940, 1399355903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96205997467041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:03:22.608332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/22/image_14122025_13_22_14_9658.jpg', '/home/pi/Desktop/images/14122025/13/22/image_14122025_13_22_24_9658.jpg', '/home/pi/Desktop/images/14122025/13/22/image_14122025_13_22_35_10736.jpg', '/home/pi/Desktop/images/14122025/13/22/image_14122025_13_22_44_9724.jpg', '/home/pi/Desktop/images/14122025/13/22/image_14122025_13_22_54_9696.jpg', '/home/pi/Desktop/images/14122025/13/22/image_14122025_13_23_05_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/22/image_14122025_13_22_14_9658.jpg
/home/pi/Desktop/images/14122025/13/22/image_14122025_13_22_24_9658.jpg
/home/pi/Desktop/images/14122025/13/22/image_14122025_13_22_35_10736.jpg
/home/pi/Desktop/images/14122025/13/22/image_14122025_13_22_44_9724.jpg
/home/pi/Desktop/images/14122025/13/22/image_14122025_13_22_54_9696.jpg
/home/pi/Desktop/images/14122025/13/22/image_14122025_13_23_05_10634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399356505","1399356375","1399356237","1399356272","1399356311","1399356424"],"photo_ids_order":["1399356237","1399356272","1399356311","1399356375","1399356424","1399356505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/98b5ac05e8f123c596d3e9b1e110733e.jpg","text":"TemporaryFile(/tmp/multipartBody4286059575134079005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717463248,"filename":"image_14122025_13_23_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c44c2e3534f59a03ba497bd1e52f9f2.jpg","text":"TemporaryFile(/tmp/multipartBody8198117047988726172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717463248,"filename":"image_14122025_13_22_44_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/652855bcf4f1368cec8a12cb79d33938.jpg","text":"TemporaryFile(/tmp/multipartBody2699632880264285645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717463248,"filename":"image_14122025_13_22_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2bba685c95422c52c394800c18100686.jpg","text":"TemporaryFile(/tmp/multipartBody1346542851333080730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717463248,"filename":"image_14122025_13_22_24_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d22b64c36582c1d8cba293f89a7dcf50.jpg","text":"TemporaryFile(/tmp/multipartBody6921233137022306968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717463248,"filename":"image_14122025_13_22_35_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/98cb2fb97d1b64ccdd8d0ec3c645268d.jpg","text":"TemporaryFile(/tmp/multipartBody268451061998861269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717463248,"filename":"image_14122025_13_22_54_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399356311","file1":"1399356272","file0":"1399356237","file4":"1399356424","file5":"1399356505","file3":"1399356375"},"map_files_photo_id_array":[{"photo_id":"1399356505","filename":"file5"},{"photo_id":"1399356311","filename":"file2"},{"photo_id":"1399356424","filename":"file4"},{"photo_id":"1399356272","filename":"file1"},{"photo_id":"1399356237","filename":"file0"},{"photo_id":"1399356375","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399356505":["hashtag1","hashtag2"]},{"1399356375":["hashtag1","hashtag2"]},{"1399356237":["hashtag1","hashtag2"]},{"1399356272":["hashtag1","hashtag2"]},{"1399356311":["hashtag1","hashtag2"]},{"1399356424":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399356505, 1399356375, 1399356237, 1399356272, 1399356311, 1399356424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52486848831177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:04:02.579431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/23/image_14122025_13_23_14_9661.jpg', '/home/pi/Desktop/images/14122025/13/23/image_14122025_13_23_24_9741.jpg', '/home/pi/Desktop/images/14122025/13/23/image_14122025_13_23_35_10582.jpg', '/home/pi/Desktop/images/14122025/13/23/image_14122025_13_23_54_9789.jpg', '/home/pi/Desktop/images/14122025/13/23/image_14122025_13_24_04_9801.jpg', '/home/pi/Desktop/images/14122025/13/24/image_14122025_13_24_15_10852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/23/image_14122025_13_23_14_9661.jpg
/home/pi/Desktop/images/14122025/13/23/image_14122025_13_23_24_9741.jpg
/home/pi/Desktop/images/14122025/13/23/image_14122025_13_23_35_10582.jpg
/home/pi/Desktop/images/14122025/13/23/image_14122025_13_23_54_9789.jpg
/home/pi/Desktop/images/14122025/13/23/image_14122025_13_24_04_9801.jpg
/home/pi/Desktop/images/14122025/13/24/image_14122025_13_24_15_10852.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399356690","1399356692","1399356761","1399356725","1399356691","1399356682"],"photo_ids_order":["1399356682","1399356690","1399356691","1399356692","1399356725","1399356761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/046bff9c6fa6a2121d629ec546ed8870.jpg","text":"TemporaryFile(/tmp/multipartBody3527999127861775177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717503379,"filename":"image_14122025_13_23_24_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db60c84b1beac0e0a2c6da4a41a374f3.jpg","text":"TemporaryFile(/tmp/multipartBody370845165096973575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717503379,"filename":"image_14122025_13_23_54_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/04dd0d4afe8df467f8cd186e68386aa0.jpg","text":"TemporaryFile(/tmp/multipartBody7143786425716579880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717503379,"filename":"image_14122025_13_24_15_10852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/78a88af6cce2fef6dd4257d0f901a663.jpg","text":"TemporaryFile(/tmp/multipartBody37771863597593487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717503379,"filename":"image_14122025_13_24_04_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d71e88980c6e7fa40b74e4968a044dbc.jpg","text":"TemporaryFile(/tmp/multipartBody6937368834206734443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717503379,"filename":"image_14122025_13_23_35_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c74aa0044b6b96e5e231d3d7d87cf570.jpg","text":"TemporaryFile(/tmp/multipartBody4742915677597678119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717503379,"filename":"image_14122025_13_23_14_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399356691","file1":"1399356690","file0":"1399356682","file4":"1399356725","file5":"1399356761","file3":"1399356692"},"map_files_photo_id_array":[{"photo_id":"1399356761","filename":"file5"},{"photo_id":"1399356691","filename":"file2"},{"photo_id":"1399356725","filename":"file4"},{"photo_id":"1399356690","filename":"file1"},{"photo_id":"1399356682","filename":"file0"},{"photo_id":"1399356692","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399356690":["hashtag1","hashtag2"]},{"1399356692":["hashtag1","hashtag2"]},{"1399356761":["hashtag1","hashtag2"]},{"1399356725":["hashtag1","hashtag2"]},{"1399356691":["hashtag1","hashtag2"]},{"1399356682":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399356690, 1399356692, 1399356761, 1399356725, 1399356691, 1399356682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.518524169921875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:04:41.835192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_24_3679.jpg', '/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_27_2613.jpg', '/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_29_2570.jpg', '/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_33_3602.jpg', '/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_36_2846.jpg', '/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_38_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_24_3679.jpg
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_27_2613.jpg
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_29_2570.jpg
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_33_3602.jpg
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_36_2846.jpg
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_38_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":["1399356852","1399356848","1399356812","1399356850","1399356847","1399356835"],"photo_ids_order":["1399356812","1399356835","1399356847","1399356848","1399356850","1399356852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c09c34e12ee1dc907c748c0138d4b250.jpg","text":"TemporaryFile(/tmp/multipartBody8464744442452138733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717542661,"filename":"image_04112025_13_22_38_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da2c29adf94aea6d0bd7c9106679d754.jpg","text":"TemporaryFile(/tmp/multipartBody7610201854736473197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717542661,"filename":"image_04112025_13_22_33_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/573cda30f9806226bd49e49c29654e8a.jpg","text":"TemporaryFile(/tmp/multipartBody1081256654842266053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717542661,"filename":"image_04112025_13_22_24_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1284d0b8e4ad72ff7d66665fbba5c649.jpg","text":"TemporaryFile(/tmp/multipartBody7215514627615487906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717542661,"filename":"image_04112025_13_22_36_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5fdd34649d2b55f23a5a88071804df62.jpg","text":"TemporaryFile(/tmp/multipartBody4056820377137458946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717542661,"filename":"image_04112025_13_22_29_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7825642717c20167cadc2ad9fa205823.jpg","text":"TemporaryFile(/tmp/multipartBody5991817359394505536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717542661,"filename":"image_04112025_13_22_27_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399356847","file1":"1399356835","file0":"1399356812","file4":"1399356850","file5":"1399356852","file3":"1399356848"},"map_files_photo_id_array":[{"photo_id":"1399356852","filename":"file5"},{"photo_id":"1399356847","filename":"file2"},{"photo_id":"1399356850","filename":"file4"},{"photo_id":"1399356835","filename":"file1"},{"photo_id":"1399356812","filename":"file0"},{"photo_id":"1399356848","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399356852":["hashtag1","hashtag2"]},{"1399356848":["hashtag1","hashtag2"]},{"1399356812":["hashtag1","hashtag2"]},{"1399356850":["hashtag1","hashtag2"]},{"1399356847":["hashtag1","hashtag2"]},{"1399356835":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399356852, 1399356848, 1399356812, 1399356850, 1399356847, 1399356835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26005530357361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:05:22.090310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/24/image_14122025_13_24_34_9727.jpg', '/home/pi/Desktop/images/14122025/13/24/image_14122025_13_24_44_9785.jpg', '/home/pi/Desktop/images/14122025/13/24/image_14122025_13_24_54_10591.jpg', '/home/pi/Desktop/images/14122025/13/24/image_14122025_13_25_04_9994.jpg', '/home/pi/Desktop/images/14122025/13/25/image_14122025_13_25_14_9803.jpg', '/home/pi/Desktop/images/14122025/13/25/image_14122025_13_25_24_9892.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/24/image_14122025_13_24_34_9727.jpg
/home/pi/Desktop/images/14122025/13/24/image_14122025_13_24_44_9785.jpg
/home/pi/Desktop/images/14122025/13/24/image_14122025_13_24_54_10591.jpg
/home/pi/Desktop/images/14122025/13/24/image_14122025_13_25_04_9994.jpg
/home/pi/Desktop/images/14122025/13/25/image_14122025_13_25_14_9803.jpg
/home/pi/Desktop/images/14122025/13/25/image_14122025_13_25_24_9892.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399356861","1399356855","1399356854","1399356857","1399356865","1399356859"],"photo_ids_order":["1399356854","1399356855","1399356857","1399356859","1399356861","1399356865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d05c58cde5cf1627845ead9d70e13ec.jpg","text":"TemporaryFile(/tmp/multipartBody5827801616338048579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717582744,"filename":"image_14122025_13_25_14_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3610bf0d8400b342143750fcf83fa41c.jpg","text":"TemporaryFile(/tmp/multipartBody2363243829226972913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717582744,"filename":"image_14122025_13_24_44_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13be6fae24671a96880ece9b90c106ef.jpg","text":"TemporaryFile(/tmp/multipartBody8465973549096496886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717582744,"filename":"image_14122025_13_24_34_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/528a954d953113d063bb4a6b5373f7ee.jpg","text":"TemporaryFile(/tmp/multipartBody5604311505447448910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717582744,"filename":"image_14122025_13_24_54_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/339ad3b73cc9ad08515fc9d2a247de66.jpg","text":"TemporaryFile(/tmp/multipartBody2341470518534487957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717582744,"filename":"image_14122025_13_25_24_9892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b2be1ee396a392e17affc445f7906af.jpg","text":"TemporaryFile(/tmp/multipartBody6359128082251753798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717582744,"filename":"image_14122025_13_25_04_9994.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399356857","file1":"1399356855","file0":"1399356854","file4":"1399356861","file5":"1399356865","file3":"1399356859"},"map_files_photo_id_array":[{"photo_id":"1399356865","filename":"file5"},{"photo_id":"1399356857","filename":"file2"},{"photo_id":"1399356861","filename":"file4"},{"photo_id":"1399356855","filename":"file1"},{"photo_id":"1399356854","filename":"file0"},{"photo_id":"1399356859","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399356861":["hashtag1","hashtag2"]},{"1399356855":["hashtag1","hashtag2"]},{"1399356854":["hashtag1","hashtag2"]},{"1399356857":["hashtag1","hashtag2"]},{"1399356865":["hashtag1","hashtag2"]},{"1399356859":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399356861, 1399356855, 1399356854, 1399356857, 1399356865, 1399356859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19765830039978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:06:02.955139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/25/image_14122025_13_25_35_10622.jpg', '/home/pi/Desktop/images/14122025/13/25/image_14122025_13_25_44_9820.jpg', '/home/pi/Desktop/images/14122025/13/25/image_14122025_13_25_54_9767.jpg', '/home/pi/Desktop/images/14122025/13/25/image_14122025_13_26_04_9678.jpg', '/home/pi/Desktop/images/14122025/13/26/image_14122025_13_26_15_10626.jpg', '/home/pi/Desktop/images/14122025/13/26/image_14122025_13_26_24_9557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/25/image_14122025_13_25_35_10622.jpg
/home/pi/Desktop/images/14122025/13/25/image_14122025_13_25_44_9820.jpg
/home/pi/Desktop/images/14122025/13/25/image_14122025_13_25_54_9767.jpg
/home/pi/Desktop/images/14122025/13/25/image_14122025_13_26_04_9678.jpg
/home/pi/Desktop/images/14122025/13/26/image_14122025_13_26_15_10626.jpg
/home/pi/Desktop/images/14122025/13/26/image_14122025_13_26_24_9557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399356882","1399356884","1399356881","1399356883","1399356886","1399356880"],"photo_ids_order":["1399356880","1399356881","1399356882","1399356883","1399356884","1399356886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/584f19532fceced289c9215d748c51b1.jpg","text":"TemporaryFile(/tmp/multipartBody3427030790551363786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717623580,"filename":"image_14122025_13_25_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/12/14/7fc56dbaa08f63ce4f5a138266f6c07c.jpg","text":"TemporaryFile(/tmp/multipartBody671329797040777662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717623580,"filename":"image_14122025_13_26_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/12/14/6ec61fc0df327d70ebeb98bfdcdf6f17.jpg","text":"TemporaryFile(/tmp/multipartBody4163832827791224912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717623580,"filename":"image_14122025_13_25_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/12/14/088d5ef2b67faecc7fbc88c870916325.jpg","text":"TemporaryFile(/tmp/multipartBody4220659126711117208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717623580,"filename":"image_14122025_13_26_04_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27ad2ffcd7ceb26a1f8e30f34fb1ca26.jpg","text":"TemporaryFile(/tmp/multipartBody3499599488193417931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717623580,"filename":"image_14122025_13_26_24_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90e3e5f5a59414114ceb02d725a16e29.jpg","text":"TemporaryFile(/tmp/multipartBody370228104835253515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717623580,"filename":"image_14122025_13_25_35_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399356882","file1":"1399356881","file0":"1399356880","file4":"1399356884","file5":"1399356886","file3":"1399356883"},"map_files_photo_id_array":[{"photo_id":"1399356886","filename":"file5"},{"photo_id":"1399356882","filename":"file2"},{"photo_id":"1399356884","filename":"file4"},{"photo_id":"1399356881","filename":"file1"},{"photo_id":"1399356880","filename":"file0"},{"photo_id":"1399356883","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399356882":["hashtag1","hashtag2"]},{"1399356884":["hashtag1","hashtag2"]},{"1399356881":["hashtag1","hashtag2"]},{"1399356883":["hashtag1","hashtag2"]},{"1399356886":["hashtag1","hashtag2"]},{"1399356880":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399356882, 1399356884, 1399356881, 1399356883, 1399356886, 1399356880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.323224782943726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:06:42.339140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_41_2943.jpg', '/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_45_3818.jpg', '/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_48_2612.jpg', '/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_50_2520.jpg', '/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_54_3584.jpg', '/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_57_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_41_2943.jpg
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_45_3818.jpg
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_48_2612.jpg
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_50_2520.jpg
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_54_3584.jpg
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_57_2712.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5968232154846191 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:07:03.312488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/26/image_14122025_13_26_34_9741.jpg', '/home/pi/Desktop/images/14122025/13/26/image_14122025_13_26_44_10640.jpg', '/home/pi/Desktop/images/14122025/13/26/image_14122025_13_26_54_9742.jpg', '/home/pi/Desktop/images/14122025/13/26/image_14122025_13_27_04_9677.jpg', '/home/pi/Desktop/images/14122025/13/27/image_14122025_13_27_14_9806.jpg', '/home/pi/Desktop/images/14122025/13/27/image_14122025_13_27_24_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/26/image_14122025_13_26_34_9741.jpg
/home/pi/Desktop/images/14122025/13/26/image_14122025_13_26_44_10640.jpg
/home/pi/Desktop/images/14122025/13/26/image_14122025_13_26_54_9742.jpg
/home/pi/Desktop/images/14122025/13/26/image_14122025_13_27_04_9677.jpg
/home/pi/Desktop/images/14122025/13/27/image_14122025_13_27_14_9806.jpg
/home/pi/Desktop/images/14122025/13/27/image_14122025_13_27_24_10728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399356901","1399356904","1399356900","1399356899","1399356898","1399356902"],"photo_ids_order":["1399356898","1399356899","1399356900","1399356901","1399356902","1399356904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/175139c232be2310243a81ae08ef48fc.jpg","text":"TemporaryFile(/tmp/multipartBody8870931887924662606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717684069,"filename":"image_14122025_13_27_04_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4af1b680226b58a2cc4d9c4e03cae0bb.jpg","text":"TemporaryFile(/tmp/multipartBody1030242338911983168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717684069,"filename":"image_14122025_13_27_24_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a0a7d005fb7fc9ed9b95502eefd281f4.jpg","text":"TemporaryFile(/tmp/multipartBody1259509876262339901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717684069,"filename":"image_14122025_13_26_54_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24534987dfb9be5e8f0ea2a812ecb6fa.jpg","text":"TemporaryFile(/tmp/multipartBody6144037136202705057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717684069,"filename":"image_14122025_13_26_44_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6523cb841042707d2dfb11bdcdc97b09.jpg","text":"TemporaryFile(/tmp/multipartBody6040371409588308386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717684069,"filename":"image_14122025_13_26_34_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/66a5f7a0c2747754079e1248a8664f6e.jpg","text":"TemporaryFile(/tmp/multipartBody4755785443104248978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717684069,"filename":"image_14122025_13_27_14_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399356900","file1":"1399356899","file0":"1399356898","file4":"1399356902","file5":"1399356904","file3":"1399356901"},"map_files_photo_id_array":[{"photo_id":"1399356904","filename":"file5"},{"photo_id":"1399356900","filename":"file2"},{"photo_id":"1399356902","filename":"file4"},{"photo_id":"1399356899","filename":"file1"},{"photo_id":"1399356898","filename":"file0"},{"photo_id":"1399356901","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399356901":["hashtag1","hashtag2"]},{"1399356904":["hashtag1","hashtag2"]},{"1399356900":["hashtag1","hashtag2"]},{"1399356899":["hashtag1","hashtag2"]},{"1399356898":["hashtag1","hashtag2"]},{"1399356902":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399356901, 1399356904, 1399356900, 1399356899, 1399356898, 1399356902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65594816207886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:07:42.634054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_41_2943.jpg', '/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_45_3818.jpg', '/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_48_2612.jpg', '/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_50_2520.jpg', '/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_54_3584.jpg', '/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_57_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_41_2943.jpg
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_45_3818.jpg
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_48_2612.jpg
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_50_2520.jpg
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_54_3584.jpg
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_57_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":["1399356910","1399356912","1399356909","1399356911","1399356914","1399356913"],"photo_ids_order":["1399356909","1399356910","1399356911","1399356912","1399356913","1399356914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28882f72323f7645ba89127afeebfeb7.jpg","text":"TemporaryFile(/tmp/multipartBody8383404687101328249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717723236,"filename":"image_04112025_13_22_45_3818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4233a7ba233270fc0282bd93a69f6874.jpg","text":"TemporaryFile(/tmp/multipartBody6806931506103838939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717723236,"filename":"image_04112025_13_22_50_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b3801eb538260f13cf5bd3fe48d3eda.jpg","text":"TemporaryFile(/tmp/multipartBody2262008257348519527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717723236,"filename":"image_04112025_13_22_41_2943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d4f46fb73b52454fb4ad09f1f264969a.jpg","text":"TemporaryFile(/tmp/multipartBody9007078851024209713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717723236,"filename":"image_04112025_13_22_48_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/74a8be03a1c313a6d13ff7f959e19ba5.jpg","text":"TemporaryFile(/tmp/multipartBody3563296859325237547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717723236,"filename":"image_04112025_13_22_57_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c9bf3928388eb2922ffc42697b90430.jpg","text":"TemporaryFile(/tmp/multipartBody6243347278127039713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717723236,"filename":"image_04112025_13_22_54_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399356911","file1":"1399356910","file0":"1399356909","file4":"1399356913","file5":"1399356914","file3":"1399356912"},"map_files_photo_id_array":[{"photo_id":"1399356914","filename":"file5"},{"photo_id":"1399356911","filename":"file2"},{"photo_id":"1399356913","filename":"file4"},{"photo_id":"1399356910","filename":"file1"},{"photo_id":"1399356909","filename":"file0"},{"photo_id":"1399356912","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399356910":["hashtag1","hashtag2"]},{"1399356912":["hashtag1","hashtag2"]},{"1399356909":["hashtag1","hashtag2"]},{"1399356911":["hashtag1","hashtag2"]},{"1399356914":["hashtag1","hashtag2"]},{"1399356913":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399356910, 1399356912, 1399356909, 1399356911, 1399356914, 1399356913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.978848934173584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:08:21.979240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/27/image_14122025_13_27_34_9718.jpg', '/home/pi/Desktop/images/14122025/13/27/image_14122025_13_27_44_9748.jpg', '/home/pi/Desktop/images/14122025/13/27/image_14122025_13_27_54_9806.jpg', '/home/pi/Desktop/images/14122025/13/27/image_14122025_13_28_05_10857.jpg', '/home/pi/Desktop/images/14122025/13/28/image_14122025_13_28_14_9793.jpg', '/home/pi/Desktop/images/14122025/13/28/image_14122025_13_28_24_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/27/image_14122025_13_27_34_9718.jpg
/home/pi/Desktop/images/14122025/13/27/image_14122025_13_27_44_9748.jpg
/home/pi/Desktop/images/14122025/13/27/image_14122025_13_27_54_9806.jpg
/home/pi/Desktop/images/14122025/13/27/image_14122025_13_28_05_10857.jpg
/home/pi/Desktop/images/14122025/13/28/image_14122025_13_28_14_9793.jpg
/home/pi/Desktop/images/14122025/13/28/image_14122025_13_28_24_9608.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5352263450622559 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 14:08:31.928516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:08:41.889978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_59_2642.jpg', '/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_03_3678.jpg', '/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_05_2594.jpg', '/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_08_2654.jpg', '/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_12_3719.jpg', '/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_15_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/22/image_04112025_13_22_59_2642.jpg
/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_03_3678.jpg
/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_05_2594.jpg
/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_08_2654.jpg
/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_12_3719.jpg
/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_15_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":["1399356937","1399356925","1399356939","1399356938","1399356940","1399356928"],"photo_ids_order":["1399356925","1399356928","1399356937","1399356938","1399356939","1399356940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/decaf6f8d10b2d019381d4f6073c845b.jpg","text":"TemporaryFile(/tmp/multipartBody1701494618014983928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717782635,"filename":"image_04112025_13_23_05_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/702bfa6d16561c8905aa95c4ef7fb95a.jpg","text":"TemporaryFile(/tmp/multipartBody1219292133050980646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717782635,"filename":"image_04112025_13_22_59_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db309eafc9aa8294d5262328d9f0d304.jpg","text":"TemporaryFile(/tmp/multipartBody7293106501734784117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717782635,"filename":"image_04112025_13_23_12_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/421d00c249df953911c2b4a5a69fab0e.jpg","text":"TemporaryFile(/tmp/multipartBody6866151728981062842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717782635,"filename":"image_04112025_13_23_08_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/791f7f862ed4764ef10935b2c7fd171f.jpg","text":"TemporaryFile(/tmp/multipartBody2991445592422038246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717782635,"filename":"image_04112025_13_23_15_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0fe59c98f30ee9a13fdcf17ea424a558.jpg","text":"TemporaryFile(/tmp/multipartBody8516135736129198753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717782635,"filename":"image_04112025_13_23_03_3678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399356937","file1":"1399356928","file0":"1399356925","file4":"1399356939","file5":"1399356940","file3":"1399356938"},"map_files_photo_id_array":[{"photo_id":"1399356940","filename":"file5"},{"photo_id":"1399356937","filename":"file2"},{"photo_id":"1399356939","filename":"file4"},{"photo_id":"1399356928","filename":"file1"},{"photo_id":"1399356925","filename":"file0"},{"photo_id":"1399356938","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399356937":["hashtag1","hashtag2"]},{"1399356925":["hashtag1","hashtag2"]},{"1399356939":["hashtag1","hashtag2"]},{"1399356938":["hashtag1","hashtag2"]},{"1399356940":["hashtag1","hashtag2"]},{"1399356928":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399356937, 1399356925, 1399356939, 1399356938, 1399356940, 1399356928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84553527832031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:09:22.144392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/27/image_14122025_13_27_34_9718.jpg', '/home/pi/Desktop/images/14122025/13/27/image_14122025_13_27_44_9748.jpg', '/home/pi/Desktop/images/14122025/13/27/image_14122025_13_27_54_9806.jpg', '/home/pi/Desktop/images/14122025/13/27/image_14122025_13_28_05_10857.jpg', '/home/pi/Desktop/images/14122025/13/28/image_14122025_13_28_14_9793.jpg', '/home/pi/Desktop/images/14122025/13/28/image_14122025_13_28_24_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/27/image_14122025_13_27_34_9718.jpg
/home/pi/Desktop/images/14122025/13/27/image_14122025_13_27_44_9748.jpg
/home/pi/Desktop/images/14122025/13/27/image_14122025_13_27_54_9806.jpg
/home/pi/Desktop/images/14122025/13/27/image_14122025_13_28_05_10857.jpg
/home/pi/Desktop/images/14122025/13/28/image_14122025_13_28_14_9793.jpg
/home/pi/Desktop/images/14122025/13/28/image_14122025_13_28_24_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399356942","1399356953","1399356941","1399356950","1399356944","1399356946"],"photo_ids_order":["1399356941","1399356942","1399356944","1399356946","1399356950","1399356953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/357ddd85ee63278939ed20913403f614.jpg","text":"TemporaryFile(/tmp/multipartBody2903841218562750584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717822790,"filename":"image_14122025_13_27_44_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/348558fbd4c911a1891906ef566a4c29.jpg","text":"TemporaryFile(/tmp/multipartBody7229420380431861892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717822790,"filename":"image_14122025_13_28_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba6a6b8ec6e294560fde6d9491714d53.jpg","text":"TemporaryFile(/tmp/multipartBody695743213099717284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717822790,"filename":"image_14122025_13_27_34_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eff0f7bb8a48c526b77eb3cdfef00c54.jpg","text":"TemporaryFile(/tmp/multipartBody7949127570137174319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717822790,"filename":"image_14122025_13_28_14_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f52cd031857184495efbf549bc4b4d5e.jpg","text":"TemporaryFile(/tmp/multipartBody4062845581668010054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717822790,"filename":"image_14122025_13_27_54_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6a11dcee2292bbdb4ff12ab35b934cfe.jpg","text":"TemporaryFile(/tmp/multipartBody1521835721235247487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717822790,"filename":"image_14122025_13_28_05_10857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399356944","file1":"1399356942","file0":"1399356941","file4":"1399356950","file5":"1399356953","file3":"1399356946"},"map_files_photo_id_array":[{"photo_id":"1399356953","filename":"file5"},{"photo_id":"1399356944","filename":"file2"},{"photo_id":"1399356950","filename":"file4"},{"photo_id":"1399356942","filename":"file1"},{"photo_id":"1399356941","filename":"file0"},{"photo_id":"1399356946","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399356942":["hashtag1","hashtag2"]},{"1399356953":["hashtag1","hashtag2"]},{"1399356941":["hashtag1","hashtag2"]},{"1399356950":["hashtag1","hashtag2"]},{"1399356944":["hashtag1","hashtag2"]},{"1399356946":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399356942, 1399356953, 1399356941, 1399356950, 1399356944, 1399356946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.659215688705444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:10:02.772038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/28/image_14122025_13_28_34_9704.jpg', '/home/pi/Desktop/images/14122025/13/28/image_14122025_13_28_45_10861.jpg', '/home/pi/Desktop/images/14122025/13/28/image_14122025_13_28_54_9571.jpg', '/home/pi/Desktop/images/14122025/13/28/image_14122025_13_29_04_9607.jpg', '/home/pi/Desktop/images/14122025/13/29/image_14122025_13_29_14_10768.jpg', '/home/pi/Desktop/images/14122025/13/29/image_14122025_13_29_24_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/28/image_14122025_13_28_34_9704.jpg
/home/pi/Desktop/images/14122025/13/28/image_14122025_13_28_45_10861.jpg
/home/pi/Desktop/images/14122025/13/28/image_14122025_13_28_54_9571.jpg
/home/pi/Desktop/images/14122025/13/28/image_14122025_13_29_04_9607.jpg
/home/pi/Desktop/images/14122025/13/29/image_14122025_13_29_14_10768.jpg
/home/pi/Desktop/images/14122025/13/29/image_14122025_13_29_24_9711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399356960","1399356963","1399356965","1399356962","1399356958","1399356961"],"photo_ids_order":["1399356958","1399356960","1399356961","1399356962","1399356963","1399356965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c406f238f844a97bc78f0651cebcc38d.jpg","text":"TemporaryFile(/tmp/multipartBody2680227294748061403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717863427,"filename":"image_14122025_13_28_45_10861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eee6bfe988e55aa504383db6502e441a.jpg","text":"TemporaryFile(/tmp/multipartBody2423702410800264707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717863427,"filename":"image_14122025_13_29_14_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e1ffa89d87949aa3fbea3afa8c28e9b.jpg","text":"TemporaryFile(/tmp/multipartBody8063645578002814115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717863427,"filename":"image_14122025_13_29_24_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6658c4c7b5c7b5ac6606b81c83b2c43e.jpg","text":"TemporaryFile(/tmp/multipartBody1157029821826450577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717863427,"filename":"image_14122025_13_29_04_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4dec902f4a4888af2dd2a5a4510bf26a.jpg","text":"TemporaryFile(/tmp/multipartBody1715496132145216298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717863427,"filename":"image_14122025_13_28_34_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c8913f5b921b3add5b95b5c47fc2f4c0.jpg","text":"TemporaryFile(/tmp/multipartBody4586564744183381617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717863427,"filename":"image_14122025_13_28_54_9571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399356961","file1":"1399356960","file0":"1399356958","file4":"1399356963","file5":"1399356965","file3":"1399356962"},"map_files_photo_id_array":[{"photo_id":"1399356965","filename":"file5"},{"photo_id":"1399356961","filename":"file2"},{"photo_id":"1399356963","filename":"file4"},{"photo_id":"1399356960","filename":"file1"},{"photo_id":"1399356958","filename":"file0"},{"photo_id":"1399356962","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399356960":["hashtag1","hashtag2"]},{"1399356963":["hashtag1","hashtag2"]},{"1399356965":["hashtag1","hashtag2"]},{"1399356962":["hashtag1","hashtag2"]},{"1399356958":["hashtag1","hashtag2"]},{"1399356961":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399356960, 1399356963, 1399356965, 1399356962, 1399356958, 1399356961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56954622268677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:10:42.253788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_17_2556.jpg', '/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_21_3669.jpg', '/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_23_2649.jpg', '/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_27_3643.jpg', '/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_33_5521.jpg', '/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_38_5924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_17_2556.jpg
/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_21_3669.jpg
/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_23_2649.jpg
/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_27_3643.jpg
/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_33_5521.jpg
/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_38_5924.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6051394939422607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:11:03.377485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/29/image_14122025_13_29_34_9766.jpg', '/home/pi/Desktop/images/14122025/13/29/image_14122025_13_29_44_9824.jpg', '/home/pi/Desktop/images/14122025/13/29/image_14122025_13_29_54_10646.jpg', '/home/pi/Desktop/images/14122025/13/30/image_14122025_13_30_14_10061.jpg', '/home/pi/Desktop/images/14122025/13/30/image_14122025_13_30_25_10787.jpg', '/home/pi/Desktop/images/14122025/13/30/image_14122025_13_30_34_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/29/image_14122025_13_29_34_9766.jpg
/home/pi/Desktop/images/14122025/13/29/image_14122025_13_29_44_9824.jpg
/home/pi/Desktop/images/14122025/13/29/image_14122025_13_29_54_10646.jpg
/home/pi/Desktop/images/14122025/13/30/image_14122025_13_30_14_10061.jpg
/home/pi/Desktop/images/14122025/13/30/image_14122025_13_30_25_10787.jpg
/home/pi/Desktop/images/14122025/13/30/image_14122025_13_30_34_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":["1399356981","1399356984","1399356978","1399356980","1399356982","1399356979"],"photo_ids_order":["1399356978","1399356979","1399356980","1399356981","1399356982","1399356984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fd46017d9cd97651696ae9dd868a9089.jpg","text":"TemporaryFile(/tmp/multipartBody6682834042893900381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717924063,"filename":"image_14122025_13_30_14_10061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3654bd1ba4fbb939ce218e43272bce15.jpg","text":"TemporaryFile(/tmp/multipartBody8054325563602659183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717924063,"filename":"image_14122025_13_30_34_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bbf54931a1a1ff5d4f8be6f2dc357d62.jpg","text":"TemporaryFile(/tmp/multipartBody4220850644005865985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717924063,"filename":"image_14122025_13_29_34_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/138375ff05ec8f1bbab530e2020d14ce.jpg","text":"TemporaryFile(/tmp/multipartBody2629968086648275527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717924063,"filename":"image_14122025_13_29_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81840a0cdc808f9af115748178d51370.jpg","text":"TemporaryFile(/tmp/multipartBody6643021799859475477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717924063,"filename":"image_14122025_13_30_25_10787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/811af191723354159a1b178771a014e6.jpg","text":"TemporaryFile(/tmp/multipartBody1328665664645390368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717924063,"filename":"image_14122025_13_29_44_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399356980","file1":"1399356979","file0":"1399356978","file4":"1399356982","file5":"1399356984","file3":"1399356981"},"map_files_photo_id_array":[{"photo_id":"1399356984","filename":"file5"},{"photo_id":"1399356980","filename":"file2"},{"photo_id":"1399356982","filename":"file4"},{"photo_id":"1399356979","filename":"file1"},{"photo_id":"1399356978","filename":"file0"},{"photo_id":"1399356981","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399356981":["hashtag1","hashtag2"]},{"1399356984":["hashtag1","hashtag2"]},{"1399356978":["hashtag1","hashtag2"]},{"1399356980":["hashtag1","hashtag2"]},{"1399356982":["hashtag1","hashtag2"]},{"1399356979":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399356981, 1399356984, 1399356978, 1399356980, 1399356982, 1399356979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.021440744400024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:11:42.538425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_17_2556.jpg', '/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_21_3669.jpg', '/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_23_2649.jpg', '/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_27_3643.jpg', '/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_33_5521.jpg', '/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_38_5924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_17_2556.jpg
/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_21_3669.jpg
/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_23_2649.jpg
/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_27_3643.jpg
/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_33_5521.jpg
/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_38_5924.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357006","1399356996","1399357002","1399356989","1399357004","1399357003"],"photo_ids_order":["1399356989","1399356996","1399357002","1399357003","1399357004","1399357006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d0f6e2fad88a142208c331db139a0cd2.jpg","text":"TemporaryFile(/tmp/multipartBody1057003568554779125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717963164,"filename":"image_04112025_13_23_38_5924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/43778c6d711b9a451b1e6052ae1ac890.jpg","text":"TemporaryFile(/tmp/multipartBody3565549193650158168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717963164,"filename":"image_04112025_13_23_21_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76b06d33a90b8a4eccc9376abc3b4b78.jpg","text":"TemporaryFile(/tmp/multipartBody4954754953586005056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717963164,"filename":"image_04112025_13_23_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/12/14/ff9affd962ba14d1b326dc3f0ae13239.jpg","text":"TemporaryFile(/tmp/multipartBody1986559578718973818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717963164,"filename":"image_04112025_13_23_17_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7e18f9fa26696c6efeb85c1cb31b0c33.jpg","text":"TemporaryFile(/tmp/multipartBody7999041129192870578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717963164,"filename":"image_04112025_13_23_33_5521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/befe3e495e9026cdd3e8083437359478.jpg","text":"TemporaryFile(/tmp/multipartBody1403508275513545917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765717963164,"filename":"image_04112025_13_23_27_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357002","file1":"1399356996","file0":"1399356989","file4":"1399357004","file5":"1399357006","file3":"1399357003"},"map_files_photo_id_array":[{"photo_id":"1399357006","filename":"file5"},{"photo_id":"1399357002","filename":"file2"},{"photo_id":"1399357004","filename":"file4"},{"photo_id":"1399356996","filename":"file1"},{"photo_id":"1399356989","filename":"file0"},{"photo_id":"1399357003","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399357006":["hashtag1","hashtag2"]},{"1399356996":["hashtag1","hashtag2"]},{"1399357002":["hashtag1","hashtag2"]},{"1399356989":["hashtag1","hashtag2"]},{"1399357004":["hashtag1","hashtag2"]},{"1399357003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399357006, 1399356996, 1399357002, 1399356989, 1399357004, 1399357003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.738505601882935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:12:22.794404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/30/image_14122025_13_30_44_9653.jpg', '/home/pi/Desktop/images/14122025/13/30/image_14122025_13_30_54_9887.jpg', '/home/pi/Desktop/images/14122025/13/30/image_14122025_13_31_05_10827.jpg', '/home/pi/Desktop/images/14122025/13/31/image_14122025_13_31_14_9909.jpg', '/home/pi/Desktop/images/14122025/13/31/image_14122025_13_31_24_9773.jpg', '/home/pi/Desktop/images/14122025/13/31/image_14122025_13_31_34_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/30/image_14122025_13_30_44_9653.jpg
/home/pi/Desktop/images/14122025/13/30/image_14122025_13_30_54_9887.jpg
/home/pi/Desktop/images/14122025/13/30/image_14122025_13_31_05_10827.jpg
/home/pi/Desktop/images/14122025/13/31/image_14122025_13_31_14_9909.jpg
/home/pi/Desktop/images/14122025/13/31/image_14122025_13_31_24_9773.jpg
/home/pi/Desktop/images/14122025/13/31/image_14122025_13_31_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":["1399357008","1399357016","1399357010","1399357013","1399357012","1399357018"],"photo_ids_order":["1399357008","1399357010","1399357012","1399357013","1399357016","1399357018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19ef46d4897c748b312af27b02e7038b.jpg","text":"TemporaryFile(/tmp/multipartBody1415086544083597187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718003474,"filename":"image_14122025_13_30_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e4ee1f0bab4032deb4810f12339f0c55.jpg","text":"TemporaryFile(/tmp/multipartBody3558352594071496422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718003474,"filename":"image_14122025_13_31_24_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f930a7ab0b5737c89ec78b52454d1033.jpg","text":"TemporaryFile(/tmp/multipartBody1739035578073843335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718003474,"filename":"image_14122025_13_30_54_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f4f3c174f9a3b1827a77f0f3e222dfd9.jpg","text":"TemporaryFile(/tmp/multipartBody9174347210448658602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718003474,"filename":"image_14122025_13_31_14_9909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7033ad70fa35bf8a6264c0ceffbbb6a7.jpg","text":"TemporaryFile(/tmp/multipartBody8096286133473810444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718003474,"filename":"image_14122025_13_31_05_10827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d68d8bd77f92c1b5f29eac4102b577bf.jpg","text":"TemporaryFile(/tmp/multipartBody1461483609427315228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718003474,"filename":"image_14122025_13_31_34_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357012","file1":"1399357010","file0":"1399357008","file4":"1399357016","file5":"1399357018","file3":"1399357013"},"map_files_photo_id_array":[{"photo_id":"1399357018","filename":"file5"},{"photo_id":"1399357012","filename":"file2"},{"photo_id":"1399357016","filename":"file4"},{"photo_id":"1399357010","filename":"file1"},{"photo_id":"1399357008","filename":"file0"},{"photo_id":"1399357013","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357008":["hashtag1","hashtag2"]},{"1399357016":["hashtag1","hashtag2"]},{"1399357010":["hashtag1","hashtag2"]},{"1399357013":["hashtag1","hashtag2"]},{"1399357012":["hashtag1","hashtag2"]},{"1399357018":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357008, 1399357016, 1399357010, 1399357013, 1399357012, 1399357018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.265512228012085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:13:02.734959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/31/image_14122025_13_31_44_9810.jpg', '/home/pi/Desktop/images/14122025/13/31/image_14122025_13_32_04_9889.jpg', '/home/pi/Desktop/images/14122025/13/32/image_14122025_13_32_14_9718.jpg', '/home/pi/Desktop/images/14122025/13/32/image_14122025_13_32_24_9633.jpg', '/home/pi/Desktop/images/14122025/13/32/image_14122025_13_32_35_10753.jpg', '/home/pi/Desktop/images/14122025/13/33/image_14122025_13_33_15_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/31/image_14122025_13_31_44_9810.jpg
/home/pi/Desktop/images/14122025/13/31/image_14122025_13_32_04_9889.jpg
/home/pi/Desktop/images/14122025/13/32/image_14122025_13_32_14_9718.jpg
/home/pi/Desktop/images/14122025/13/32/image_14122025_13_32_24_9633.jpg
/home/pi/Desktop/images/14122025/13/32/image_14122025_13_32_35_10753.jpg
/home/pi/Desktop/images/14122025/13/33/image_14122025_13_33_15_10673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357023","1399357022","1399357025","1399357027","1399357021","1399357024"],"photo_ids_order":["1399357021","1399357022","1399357023","1399357024","1399357025","1399357027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe91763f8df8e2dc52e5527458a5ae48.jpg","text":"TemporaryFile(/tmp/multipartBody3881857717760654146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718043412,"filename":"image_14122025_13_32_14_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e6aee0dc996f3ba5b0901ee38cc8b427.jpg","text":"TemporaryFile(/tmp/multipartBody1427565965631438221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718043412,"filename":"image_14122025_13_32_04_9889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/75fcc9273bad661a82bf7e9b14caa11e.jpg","text":"TemporaryFile(/tmp/multipartBody3503590335017359168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718043412,"filename":"image_14122025_13_32_35_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b6dc37b93c37a8fc5eec74515c660ad.jpg","text":"TemporaryFile(/tmp/multipartBody4831255540624348330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718043412,"filename":"image_14122025_13_33_15_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce9df2b05a20204c4fad8670475d016c.jpg","text":"TemporaryFile(/tmp/multipartBody8421313808523054675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718043412,"filename":"image_14122025_13_31_44_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ebc5e39f14293e3808f070380d41c593.jpg","text":"TemporaryFile(/tmp/multipartBody4783290219993340921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718043412,"filename":"image_14122025_13_32_24_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357023","file1":"1399357022","file0":"1399357021","file4":"1399357025","file5":"1399357027","file3":"1399357024"},"map_files_photo_id_array":[{"photo_id":"1399357027","filename":"file5"},{"photo_id":"1399357023","filename":"file2"},{"photo_id":"1399357025","filename":"file4"},{"photo_id":"1399357022","filename":"file1"},{"photo_id":"1399357021","filename":"file0"},{"photo_id":"1399357024","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357023":["hashtag1","hashtag2"]},{"1399357022":["hashtag1","hashtag2"]},{"1399357025":["hashtag1","hashtag2"]},{"1399357027":["hashtag1","hashtag2"]},{"1399357021":["hashtag1","hashtag2"]},{"1399357024":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357023, 1399357022, 1399357025, 1399357027, 1399357021, 1399357024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16703414916992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:13:42.049706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_42_3377.jpg', '/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_44_1812.jpg', '/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_45_1749.jpg', '/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_52_6743.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_10_17435.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_11_1702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_42_3377.jpg
/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_44_1812.jpg
/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_45_1749.jpg
/home/pi/Desktop/images/04112025/13/23/image_04112025_13_23_52_6743.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_10_17435.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_11_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":["1399357038","1399357035","1399357037","1399357039","1399357033","1399357036"],"photo_ids_order":["1399357033","1399357035","1399357036","1399357037","1399357038","1399357039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/feb58b753c718d8486d4bc0c14491f34.jpg","text":"TemporaryFile(/tmp/multipartBody7951810938017667629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718082768,"filename":"image_04112025_13_24_10_17435.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dcfb15776926aad77725a5ecfa0471c9.jpg","text":"TemporaryFile(/tmp/multipartBody6309125091340265950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718082768,"filename":"image_04112025_13_23_44_1812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8dd2fd306ecb6103cdd083717bf26cc7.jpg","text":"TemporaryFile(/tmp/multipartBody8985910428392243945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718082768,"filename":"image_04112025_13_23_52_6743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76b95c479cad0ffeb9105eab4ebd9c69.jpg","text":"TemporaryFile(/tmp/multipartBody7939210517381381833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718082768,"filename":"image_04112025_13_24_11_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/37ec9d48311b8cdd58615ed95c5cceb0.jpg","text":"TemporaryFile(/tmp/multipartBody8763721759051864267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718082768,"filename":"image_04112025_13_23_42_3377.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c6188f1eb11de4abbdf34801906affeb.jpg","text":"TemporaryFile(/tmp/multipartBody3018905359122548494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718082768,"filename":"image_04112025_13_23_45_1749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357036","file1":"1399357035","file0":"1399357033","file4":"1399357038","file5":"1399357039","file3":"1399357037"},"map_files_photo_id_array":[{"photo_id":"1399357039","filename":"file5"},{"photo_id":"1399357036","filename":"file2"},{"photo_id":"1399357038","filename":"file4"},{"photo_id":"1399357035","filename":"file1"},{"photo_id":"1399357033","filename":"file0"},{"photo_id":"1399357037","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399357038":["hashtag1","hashtag2"]},{"1399357035":["hashtag1","hashtag2"]},{"1399357037":["hashtag1","hashtag2"]},{"1399357039":["hashtag1","hashtag2"]},{"1399357033":["hashtag1","hashtag2"]},{"1399357036":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399357038, 1399357035, 1399357037, 1399357039, 1399357033, 1399357036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53933334350586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:14:22.313287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/33/image_14122025_13_33_45_10698.jpg', '/home/pi/Desktop/images/14122025/13/33/image_14122025_13_33_54_9705.jpg', '/home/pi/Desktop/images/14122025/13/34/image_14122025_13_34_14_9663.jpg', '/home/pi/Desktop/images/14122025/13/34/image_14122025_13_34_24_10569.jpg', '/home/pi/Desktop/images/14122025/13/34/image_14122025_13_34_34_9691.jpg', '/home/pi/Desktop/images/14122025/13/34/image_14122025_13_34_44_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/33/image_14122025_13_33_45_10698.jpg
/home/pi/Desktop/images/14122025/13/33/image_14122025_13_33_54_9705.jpg
/home/pi/Desktop/images/14122025/13/34/image_14122025_13_34_14_9663.jpg
/home/pi/Desktop/images/14122025/13/34/image_14122025_13_34_24_10569.jpg
/home/pi/Desktop/images/14122025/13/34/image_14122025_13_34_34_9691.jpg
/home/pi/Desktop/images/14122025/13/34/image_14122025_13_34_44_9633.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5296194553375244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 14:14:32.380218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:14:42.265433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_13_1587.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_14_1603.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_16_1622.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_18_1661.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_22_3989.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_23_1722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_13_1587.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_14_1603.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_16_1622.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_18_1661.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_22_3989.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_23_1722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357068","1399357070","1399357064","1399357067","1399357052","1399357069"],"photo_ids_order":["1399357052","1399357064","1399357067","1399357068","1399357069","1399357070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/46a4d314535d714baaee24fae1b52541.jpg","text":"TemporaryFile(/tmp/multipartBody8107859171618885098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718143031,"filename":"image_04112025_13_24_18_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/813368f63644ebdf3654a2d3038035a8.jpg","text":"TemporaryFile(/tmp/multipartBody128337912631793056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718143031,"filename":"image_04112025_13_24_23_1722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb7d6b85d4ecd9cf20b3cd81ffe9106d.jpg","text":"TemporaryFile(/tmp/multipartBody4008066461384843696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718143031,"filename":"image_04112025_13_24_14_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/879f39ea0ebc96242ceeb623e718990c.jpg","text":"TemporaryFile(/tmp/multipartBody7035457814143542491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718143031,"filename":"image_04112025_13_24_16_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e3d6e3ccf8c8dca7bcc7276029fab3d5.jpg","text":"TemporaryFile(/tmp/multipartBody809590979262181877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718143031,"filename":"image_04112025_13_24_13_1587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d5a1c12367522f2aebffa4fdf17f8161.jpg","text":"TemporaryFile(/tmp/multipartBody1930774308234936427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718143031,"filename":"image_04112025_13_24_22_3989.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357067","file1":"1399357064","file0":"1399357052","file4":"1399357069","file5":"1399357070","file3":"1399357068"},"map_files_photo_id_array":[{"photo_id":"1399357070","filename":"file5"},{"photo_id":"1399357067","filename":"file2"},{"photo_id":"1399357069","filename":"file4"},{"photo_id":"1399357064","filename":"file1"},{"photo_id":"1399357052","filename":"file0"},{"photo_id":"1399357068","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399357068":["hashtag1","hashtag2"]},{"1399357070":["hashtag1","hashtag2"]},{"1399357064":["hashtag1","hashtag2"]},{"1399357067":["hashtag1","hashtag2"]},{"1399357052":["hashtag1","hashtag2"]},{"1399357069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399357068, 1399357070, 1399357064, 1399357067, 1399357052, 1399357069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.417269229888916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:15:22.557564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/33/image_14122025_13_33_45_10698.jpg', '/home/pi/Desktop/images/14122025/13/33/image_14122025_13_33_54_9705.jpg', '/home/pi/Desktop/images/14122025/13/34/image_14122025_13_34_14_9663.jpg', '/home/pi/Desktop/images/14122025/13/34/image_14122025_13_34_24_10569.jpg', '/home/pi/Desktop/images/14122025/13/34/image_14122025_13_34_34_9691.jpg', '/home/pi/Desktop/images/14122025/13/34/image_14122025_13_34_44_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/33/image_14122025_13_33_45_10698.jpg
/home/pi/Desktop/images/14122025/13/33/image_14122025_13_33_54_9705.jpg
/home/pi/Desktop/images/14122025/13/34/image_14122025_13_34_14_9663.jpg
/home/pi/Desktop/images/14122025/13/34/image_14122025_13_34_24_10569.jpg
/home/pi/Desktop/images/14122025/13/34/image_14122025_13_34_34_9691.jpg
/home/pi/Desktop/images/14122025/13/34/image_14122025_13_34_44_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357077","1399357082","1399357079","1399357073","1399357075","1399357072"],"photo_ids_order":["1399357072","1399357073","1399357075","1399357077","1399357079","1399357082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/85186e69c825845a468a4ac110c65395.jpg","text":"TemporaryFile(/tmp/multipartBody530710643405415436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718183194,"filename":"image_14122025_13_34_24_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b6d2ead20b58b3763304422346a68b3.jpg","text":"TemporaryFile(/tmp/multipartBody7521731842346316532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718183194,"filename":"image_14122025_13_34_44_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/466a33eb315a5e5ab4ef101cd367ae21.jpg","text":"TemporaryFile(/tmp/multipartBody8831238518008241819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718183194,"filename":"image_14122025_13_34_34_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a551225adbc9939ed836441cd14cd57a.jpg","text":"TemporaryFile(/tmp/multipartBody1281510378290151292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718183194,"filename":"image_14122025_13_33_54_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3515bdfa1a3602cca7925058045cc34.jpg","text":"TemporaryFile(/tmp/multipartBody423688860754906107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718183194,"filename":"image_14122025_13_34_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/837cb045d91f71c3c961b9f346b99d6d.jpg","text":"TemporaryFile(/tmp/multipartBody801924101695892941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718183194,"filename":"image_14122025_13_33_45_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357075","file1":"1399357073","file0":"1399357072","file4":"1399357079","file5":"1399357082","file3":"1399357077"},"map_files_photo_id_array":[{"photo_id":"1399357082","filename":"file5"},{"photo_id":"1399357075","filename":"file2"},{"photo_id":"1399357079","filename":"file4"},{"photo_id":"1399357073","filename":"file1"},{"photo_id":"1399357072","filename":"file0"},{"photo_id":"1399357077","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357077":["hashtag1","hashtag2"]},{"1399357082":["hashtag1","hashtag2"]},{"1399357079":["hashtag1","hashtag2"]},{"1399357073":["hashtag1","hashtag2"]},{"1399357075":["hashtag1","hashtag2"]},{"1399357072":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357077, 1399357082, 1399357079, 1399357073, 1399357075, 1399357072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.266714572906494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:16:22.803903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/34/image_14122025_13_35_04_9698.jpg', '/home/pi/Desktop/images/14122025/13/35/image_14122025_13_35_34_9833.jpg', '/home/pi/Desktop/images/14122025/13/35/image_14122025_13_35_44_9790.jpg', '/home/pi/Desktop/images/14122025/13/35/image_14122025_13_36_04_10713.jpg', '/home/pi/Desktop/images/14122025/13/36/image_14122025_13_36_14_9765.jpg', '/home/pi/Desktop/images/14122025/13/36/image_14122025_13_36_24_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/34/image_14122025_13_35_04_9698.jpg
/home/pi/Desktop/images/14122025/13/35/image_14122025_13_35_34_9833.jpg
/home/pi/Desktop/images/14122025/13/35/image_14122025_13_35_44_9790.jpg
/home/pi/Desktop/images/14122025/13/35/image_14122025_13_36_04_10713.jpg
/home/pi/Desktop/images/14122025/13/36/image_14122025_13_36_14_9765.jpg
/home/pi/Desktop/images/14122025/13/36/image_14122025_13_36_24_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":["1399357089","1399357091","1399357085","1399357093","1399357096","1399357087"],"photo_ids_order":["1399357085","1399357087","1399357089","1399357091","1399357093","1399357096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9d42ab6e1cffd4ff347fdc224435ef97.jpg","text":"TemporaryFile(/tmp/multipartBody6784208900342144092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718243475,"filename":"image_14122025_13_35_44_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a351a559145a022b6fc99a556660ca10.jpg","text":"TemporaryFile(/tmp/multipartBody5048928225721048061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718243475,"filename":"image_14122025_13_36_04_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c31191f674cba445b543780fc3895c3c.jpg","text":"TemporaryFile(/tmp/multipartBody3647366670099125834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718243475,"filename":"image_14122025_13_35_04_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2fe3c61d803f70ed98a1bdc033d2839a.jpg","text":"TemporaryFile(/tmp/multipartBody1674650267857293727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718243475,"filename":"image_14122025_13_36_14_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c24d8b9e13d5ab7f66679fccd6e2c37f.jpg","text":"TemporaryFile(/tmp/multipartBody2299909322325227351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718243475,"filename":"image_14122025_13_36_24_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c3d65f354bc470230a57cb078a370fd0.jpg","text":"TemporaryFile(/tmp/multipartBody4277772985505199329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718243475,"filename":"image_14122025_13_35_34_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357089","file1":"1399357087","file0":"1399357085","file4":"1399357093","file5":"1399357096","file3":"1399357091"},"map_files_photo_id_array":[{"photo_id":"1399357096","filename":"file5"},{"photo_id":"1399357089","filename":"file2"},{"photo_id":"1399357093","filename":"file4"},{"photo_id":"1399357087","filename":"file1"},{"photo_id":"1399357085","filename":"file0"},{"photo_id":"1399357091","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357089":["hashtag1","hashtag2"]},{"1399357091":["hashtag1","hashtag2"]},{"1399357085":["hashtag1","hashtag2"]},{"1399357093":["hashtag1","hashtag2"]},{"1399357096":["hashtag1","hashtag2"]},{"1399357087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357089, 1399357091, 1399357085, 1399357093, 1399357096, 1399357087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65377116203308 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:17:02.688547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/36/image_14122025_13_36_35_10617.jpg', '/home/pi/Desktop/images/14122025/13/36/image_14122025_13_36_44_9772.jpg', '/home/pi/Desktop/images/14122025/13/36/image_14122025_13_37_04_9830.jpg', '/home/pi/Desktop/images/14122025/13/37/image_14122025_13_37_15_10755.jpg', '/home/pi/Desktop/images/14122025/13/37/image_14122025_13_37_34_9731.jpg', '/home/pi/Desktop/images/14122025/13/37/image_14122025_13_37_45_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/36/image_14122025_13_36_35_10617.jpg
/home/pi/Desktop/images/14122025/13/36/image_14122025_13_36_44_9772.jpg
/home/pi/Desktop/images/14122025/13/36/image_14122025_13_37_04_9830.jpg
/home/pi/Desktop/images/14122025/13/37/image_14122025_13_37_15_10755.jpg
/home/pi/Desktop/images/14122025/13/37/image_14122025_13_37_34_9731.jpg
/home/pi/Desktop/images/14122025/13/37/image_14122025_13_37_45_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357104","1399357101","1399357100","1399357099","1399357098","1399357102"],"photo_ids_order":["1399357098","1399357099","1399357100","1399357101","1399357102","1399357104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1930c424cb784fa0573a9ab3b09d585e.jpg","text":"TemporaryFile(/tmp/multipartBody5168052692372753931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718283362,"filename":"image_14122025_13_37_45_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/941564379f15b46cb41a7bdf5da59ef0.jpg","text":"TemporaryFile(/tmp/multipartBody2670662642147931104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718283362,"filename":"image_14122025_13_37_15_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/89215c133a5713b04991edb3b01968c1.jpg","text":"TemporaryFile(/tmp/multipartBody8305746276181048582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718283362,"filename":"image_14122025_13_37_04_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/662048336e0c1b133e75e33d240150ea.jpg","text":"TemporaryFile(/tmp/multipartBody4779362653620215551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718283362,"filename":"image_14122025_13_36_44_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c026554fd08bd3417e0616fbdb88d424.jpg","text":"TemporaryFile(/tmp/multipartBody836719892448202131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718283362,"filename":"image_14122025_13_36_35_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be35b79d97c140868740a2795643819d.jpg","text":"TemporaryFile(/tmp/multipartBody822600494107588418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718283362,"filename":"image_14122025_13_37_34_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357100","file1":"1399357099","file0":"1399357098","file4":"1399357102","file5":"1399357104","file3":"1399357101"},"map_files_photo_id_array":[{"photo_id":"1399357104","filename":"file5"},{"photo_id":"1399357100","filename":"file2"},{"photo_id":"1399357102","filename":"file4"},{"photo_id":"1399357099","filename":"file1"},{"photo_id":"1399357098","filename":"file0"},{"photo_id":"1399357101","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357104":["hashtag1","hashtag2"]},{"1399357101":["hashtag1","hashtag2"]},{"1399357100":["hashtag1","hashtag2"]},{"1399357099":["hashtag1","hashtag2"]},{"1399357098":["hashtag1","hashtag2"]},{"1399357102":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357104, 1399357101, 1399357100, 1399357099, 1399357098, 1399357102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45569205284119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:17:42.048802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_28_4066.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_29_1658.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_31_1750.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_33_1638.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_34_1746.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_36_1604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_28_4066.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_29_1658.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_31_1750.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_33_1638.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_34_1746.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_36_1604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357122","1399357125","1399357110","1399357124","1399357112","1399357123"],"photo_ids_order":["1399357110","1399357112","1399357122","1399357123","1399357124","1399357125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae358e2d703c3d7e684227e2bbe27620.jpg","text":"TemporaryFile(/tmp/multipartBody1668735346367418136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718322790,"filename":"image_04112025_13_24_31_1750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6d42356d7487c283686057edcb88e14a.jpg","text":"TemporaryFile(/tmp/multipartBody7382387998484674002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718322790,"filename":"image_04112025_13_24_36_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d39da81ff3271a4fb7c4bc29f2700496.jpg","text":"TemporaryFile(/tmp/multipartBody2780645561545537879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718322790,"filename":"image_04112025_13_24_28_4066.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba9efbd44a8c507fbfb610a51935d3a8.jpg","text":"TemporaryFile(/tmp/multipartBody1695675647209593313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718322790,"filename":"image_04112025_13_24_34_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8e09759ebce4476b7ce21e182ef490d6.jpg","text":"TemporaryFile(/tmp/multipartBody1262698041981648064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718322790,"filename":"image_04112025_13_24_29_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0a5bbbc139d543f3ef6342a3e031fde1.jpg","text":"TemporaryFile(/tmp/multipartBody3719965102176603410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718322790,"filename":"image_04112025_13_24_33_1638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357122","file1":"1399357112","file0":"1399357110","file4":"1399357124","file5":"1399357125","file3":"1399357123"},"map_files_photo_id_array":[{"photo_id":"1399357125","filename":"file5"},{"photo_id":"1399357122","filename":"file2"},{"photo_id":"1399357124","filename":"file4"},{"photo_id":"1399357112","filename":"file1"},{"photo_id":"1399357110","filename":"file0"},{"photo_id":"1399357123","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399357122":["hashtag1","hashtag2"]},{"1399357125":["hashtag1","hashtag2"]},{"1399357110":["hashtag1","hashtag2"]},{"1399357124":["hashtag1","hashtag2"]},{"1399357112":["hashtag1","hashtag2"]},{"1399357123":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399357122, 1399357125, 1399357110, 1399357124, 1399357112, 1399357123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.161869764328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:18:22.309882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/37/image_14122025_13_37_54_9698.jpg', '/home/pi/Desktop/images/14122025/13/37/image_14122025_13_38_04_9712.jpg', '/home/pi/Desktop/images/14122025/13/38/image_14122025_13_38_14_9612.jpg', '/home/pi/Desktop/images/14122025/13/38/image_14122025_13_38_24_10758.jpg', '/home/pi/Desktop/images/14122025/13/38/image_14122025_13_38_55_10689.jpg', '/home/pi/Desktop/images/14122025/13/38/image_14122025_13_39_04_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/37/image_14122025_13_37_54_9698.jpg
/home/pi/Desktop/images/14122025/13/37/image_14122025_13_38_04_9712.jpg
/home/pi/Desktop/images/14122025/13/38/image_14122025_13_38_14_9612.jpg
/home/pi/Desktop/images/14122025/13/38/image_14122025_13_38_24_10758.jpg
/home/pi/Desktop/images/14122025/13/38/image_14122025_13_38_55_10689.jpg
/home/pi/Desktop/images/14122025/13/38/image_14122025_13_39_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":["1399357137","1399357131","1399357133","1399357127","1399357126","1399357129"],"photo_ids_order":["1399357126","1399357127","1399357129","1399357131","1399357133","1399357137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b12a81b81839927bbe62d1cdfee95d19.jpg","text":"TemporaryFile(/tmp/multipartBody8392334353192443274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718362961,"filename":"image_14122025_13_39_04_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3f6f84d7f33819c25b059826531e05d.jpg","text":"TemporaryFile(/tmp/multipartBody2200335556101852082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718362961,"filename":"image_14122025_13_38_24_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f6a3ff07c4fb471b5b0fb40f19afa7fc.jpg","text":"TemporaryFile(/tmp/multipartBody3015784725216034131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718362961,"filename":"image_14122025_13_38_55_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ddb43b71b0780a34ce78fc95e32371f1.jpg","text":"TemporaryFile(/tmp/multipartBody5042807352365455239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718362961,"filename":"image_14122025_13_38_04_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/08d67b7d9c6c64c1cae031b46eaf1413.jpg","text":"TemporaryFile(/tmp/multipartBody1553381283517590634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718362961,"filename":"image_14122025_13_37_54_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e6f000fee6a38a9e9d346ba884024ed3.jpg","text":"TemporaryFile(/tmp/multipartBody1153259966007059362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718362961,"filename":"image_14122025_13_38_14_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357129","file1":"1399357127","file0":"1399357126","file4":"1399357133","file5":"1399357137","file3":"1399357131"},"map_files_photo_id_array":[{"photo_id":"1399357137","filename":"file5"},{"photo_id":"1399357129","filename":"file2"},{"photo_id":"1399357133","filename":"file4"},{"photo_id":"1399357127","filename":"file1"},{"photo_id":"1399357126","filename":"file0"},{"photo_id":"1399357131","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357137":["hashtag1","hashtag2"]},{"1399357131":["hashtag1","hashtag2"]},{"1399357133":["hashtag1","hashtag2"]},{"1399357127":["hashtag1","hashtag2"]},{"1399357126":["hashtag1","hashtag2"]},{"1399357129":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357137, 1399357131, 1399357133, 1399357127, 1399357126, 1399357129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09277606010437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:19:03.378925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/39/image_14122025_13_39_14_9754.jpg', '/home/pi/Desktop/images/14122025/13/39/image_14122025_13_39_25_10666.jpg', '/home/pi/Desktop/images/14122025/13/39/image_14122025_13_39_34_9610.jpg', '/home/pi/Desktop/images/14122025/13/39/image_14122025_13_39_44_9573.jpg', '/home/pi/Desktop/images/14122025/13/39/image_14122025_13_39_54_10661.jpg', '/home/pi/Desktop/images/14122025/13/39/image_14122025_13_40_04_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/39/image_14122025_13_39_14_9754.jpg
/home/pi/Desktop/images/14122025/13/39/image_14122025_13_39_25_10666.jpg
/home/pi/Desktop/images/14122025/13/39/image_14122025_13_39_34_9610.jpg
/home/pi/Desktop/images/14122025/13/39/image_14122025_13_39_44_9573.jpg
/home/pi/Desktop/images/14122025/13/39/image_14122025_13_39_54_10661.jpg
/home/pi/Desktop/images/14122025/13/39/image_14122025_13_40_04_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":["1399357149","1399357146","1399357151","1399357148","1399357144","1399357147"],"photo_ids_order":["1399357144","1399357146","1399357147","1399357148","1399357149","1399357151"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0cdac3d22d1bed2cbaf9bbf744d255e8.jpg","text":"TemporaryFile(/tmp/multipartBody5086976394961581521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718404120,"filename":"image_14122025_13_39_54_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24ce0347816580f89370ee20ba5800e8.jpg","text":"TemporaryFile(/tmp/multipartBody661030379565583278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718404120,"filename":"image_14122025_13_39_25_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f1e5561034cfdb7ba15c7fd378f9dfa.jpg","text":"TemporaryFile(/tmp/multipartBody4950834595727345638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718404120,"filename":"image_14122025_13_40_04_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1c733e029da1388c58c8788c88f64b5.jpg","text":"TemporaryFile(/tmp/multipartBody3299379414270945611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718404120,"filename":"image_14122025_13_39_44_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe9430e9f6476e7a74f5295794f6798f.jpg","text":"TemporaryFile(/tmp/multipartBody503996611598699731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718404120,"filename":"image_14122025_13_39_14_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/173d4707e73eae81f9e2b81540a45050.jpg","text":"TemporaryFile(/tmp/multipartBody8522340061158668236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718404120,"filename":"image_14122025_13_39_34_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357147","file1":"1399357146","file0":"1399357144","file4":"1399357149","file5":"1399357151","file3":"1399357148"},"map_files_photo_id_array":[{"photo_id":"1399357151","filename":"file5"},{"photo_id":"1399357147","filename":"file2"},{"photo_id":"1399357149","filename":"file4"},{"photo_id":"1399357146","filename":"file1"},{"photo_id":"1399357144","filename":"file0"},{"photo_id":"1399357148","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357149":["hashtag1","hashtag2"]},{"1399357146":["hashtag1","hashtag2"]},{"1399357151":["hashtag1","hashtag2"]},{"1399357148":["hashtag1","hashtag2"]},{"1399357144":["hashtag1","hashtag2"]},{"1399357147":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357149, 1399357146, 1399357151, 1399357148, 1399357144, 1399357147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27776646614075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:19:42.466567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_38_1629.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_39_1631.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_41_1633.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_42_1586.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_44_1627.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_48_4359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_38_1629.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_39_1631.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_41_1633.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_42_1586.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_44_1627.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_48_4359.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5970697402954102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:20:03.236993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/40/image_14122025_13_40_24_9713.jpg', '/home/pi/Desktop/images/14122025/13/40/image_14122025_13_40_35_10925.jpg', '/home/pi/Desktop/images/14122025/13/40/image_14122025_13_40_54_9724.jpg', '/home/pi/Desktop/images/14122025/13/40/image_14122025_13_41_05_10705.jpg', '/home/pi/Desktop/images/14122025/13/41/image_14122025_13_41_14_9719.jpg', '/home/pi/Desktop/images/14122025/13/41/image_14122025_13_41_24_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/40/image_14122025_13_40_24_9713.jpg
/home/pi/Desktop/images/14122025/13/40/image_14122025_13_40_35_10925.jpg
/home/pi/Desktop/images/14122025/13/40/image_14122025_13_40_54_9724.jpg
/home/pi/Desktop/images/14122025/13/40/image_14122025_13_41_05_10705.jpg
/home/pi/Desktop/images/14122025/13/41/image_14122025_13_41_14_9719.jpg
/home/pi/Desktop/images/14122025/13/41/image_14122025_13_41_24_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357164","1399357163","1399357166","1399357162","1399357165","1399357168"],"photo_ids_order":["1399357162","1399357163","1399357164","1399357165","1399357166","1399357168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/beb8cce0e907112c79e1d0b599cf61b4.jpg","text":"TemporaryFile(/tmp/multipartBody1484695660124528110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718463924,"filename":"image_14122025_13_40_54_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/691c4b1182e04d9aeca339d201c22b82.jpg","text":"TemporaryFile(/tmp/multipartBody2731212817627346007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718463924,"filename":"image_14122025_13_40_35_10925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a80888e107a0972a586911423454100.jpg","text":"TemporaryFile(/tmp/multipartBody6052490808188650641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718463924,"filename":"image_14122025_13_41_14_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dcb1006fa676c94ef23c06d89a155238.jpg","text":"TemporaryFile(/tmp/multipartBody7646543216279945782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718463924,"filename":"image_14122025_13_40_24_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7642d12ed04240273cea65e6722e5f8a.jpg","text":"TemporaryFile(/tmp/multipartBody2341514219595356192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718463924,"filename":"image_14122025_13_41_05_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6713b80265590f41c0f0c6bb21b2ffad.jpg","text":"TemporaryFile(/tmp/multipartBody6590094046485979388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718463924,"filename":"image_14122025_13_41_24_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357164","file1":"1399357163","file0":"1399357162","file4":"1399357166","file5":"1399357168","file3":"1399357165"},"map_files_photo_id_array":[{"photo_id":"1399357168","filename":"file5"},{"photo_id":"1399357164","filename":"file2"},{"photo_id":"1399357166","filename":"file4"},{"photo_id":"1399357163","filename":"file1"},{"photo_id":"1399357162","filename":"file0"},{"photo_id":"1399357165","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357164":["hashtag1","hashtag2"]},{"1399357163":["hashtag1","hashtag2"]},{"1399357166":["hashtag1","hashtag2"]},{"1399357162":["hashtag1","hashtag2"]},{"1399357165":["hashtag1","hashtag2"]},{"1399357168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357164, 1399357163, 1399357166, 1399357162, 1399357165, 1399357168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86657357215881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:20:42.774078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_38_1629.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_39_1631.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_41_1633.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_42_1586.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_44_1627.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_48_4359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_38_1629.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_39_1631.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_41_1633.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_42_1586.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_44_1627.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_48_4359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357173","1399357187","1399357189","1399357183","1399357186","1399357185"],"photo_ids_order":["1399357173","1399357183","1399357185","1399357186","1399357187","1399357189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eedfb5498ddf89b3623c99ccc22a0dc1.jpg","text":"TemporaryFile(/tmp/multipartBody8407897229547986952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718503408,"filename":"image_04112025_13_24_38_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1dc5211dafc209b21bc24ef574d1453a.jpg","text":"TemporaryFile(/tmp/multipartBody3068914341893034065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718503408,"filename":"image_04112025_13_24_44_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aef6bd1bb2ee3e5bb09b7d1fa2891710.jpg","text":"TemporaryFile(/tmp/multipartBody6517988515555049761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718503408,"filename":"image_04112025_13_24_48_4359.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/996c78d2606062dcc29e75e8fb16a196.jpg","text":"TemporaryFile(/tmp/multipartBody4839655447804684392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718503408,"filename":"image_04112025_13_24_39_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8d3ba9f5d04e22bc648d845f028b29a8.jpg","text":"TemporaryFile(/tmp/multipartBody1047571496117185579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718503408,"filename":"image_04112025_13_24_42_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/04ca52b99eb55982a5535016f34201b9.jpg","text":"TemporaryFile(/tmp/multipartBody5366229781948387399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718503408,"filename":"image_04112025_13_24_41_1633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357185","file1":"1399357183","file0":"1399357173","file4":"1399357187","file5":"1399357189","file3":"1399357186"},"map_files_photo_id_array":[{"photo_id":"1399357189","filename":"file5"},{"photo_id":"1399357185","filename":"file2"},{"photo_id":"1399357187","filename":"file4"},{"photo_id":"1399357183","filename":"file1"},{"photo_id":"1399357173","filename":"file0"},{"photo_id":"1399357186","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399357173":["hashtag1","hashtag2"]},{"1399357187":["hashtag1","hashtag2"]},{"1399357189":["hashtag1","hashtag2"]},{"1399357183":["hashtag1","hashtag2"]},{"1399357186":["hashtag1","hashtag2"]},{"1399357185":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399357173, 1399357187, 1399357189, 1399357183, 1399357186, 1399357185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.079943895339966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:21:22.025873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/41/image_14122025_13_41_34_9728.jpg', '/home/pi/Desktop/images/14122025/13/41/image_14122025_13_41_44_10647.jpg', '/home/pi/Desktop/images/14122025/13/41/image_14122025_13_41_54_9772.jpg', '/home/pi/Desktop/images/14122025/13/41/image_14122025_13_42_04_9595.jpg', '/home/pi/Desktop/images/14122025/13/42/image_14122025_13_42_15_10781.jpg', '/home/pi/Desktop/images/14122025/13/42/image_14122025_13_42_34_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/41/image_14122025_13_41_34_9728.jpg
/home/pi/Desktop/images/14122025/13/41/image_14122025_13_41_44_10647.jpg
/home/pi/Desktop/images/14122025/13/41/image_14122025_13_41_54_9772.jpg
/home/pi/Desktop/images/14122025/13/41/image_14122025_13_42_04_9595.jpg
/home/pi/Desktop/images/14122025/13/42/image_14122025_13_42_15_10781.jpg
/home/pi/Desktop/images/14122025/13/42/image_14122025_13_42_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":["1399357199","1399357193","1399357202","1399357195","1399357197","1399357191"],"photo_ids_order":["1399357191","1399357193","1399357195","1399357197","1399357199","1399357202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5c30386435cf5bcf08878ad70d413a14.jpg","text":"TemporaryFile(/tmp/multipartBody8081069107776291908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718542660,"filename":"image_14122025_13_42_15_10781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8032e7596dad5f137595a7fceeee8051.jpg","text":"TemporaryFile(/tmp/multipartBody9045697996882969174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718542660,"filename":"image_14122025_13_41_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d059be2addfb428eb1f1ee59e85e6ad.jpg","text":"TemporaryFile(/tmp/multipartBody4431186062485644693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718542660,"filename":"image_14122025_13_42_34_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d34f70ab298574aa805380da94e7e742.jpg","text":"TemporaryFile(/tmp/multipartBody3489499074917752431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718542660,"filename":"image_14122025_13_41_54_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7cef618f3d50694cdbe95941d59efc88.jpg","text":"TemporaryFile(/tmp/multipartBody3256485048121857169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718542660,"filename":"image_14122025_13_42_04_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0e46ec79469fba739b17818bcc2b0f3f.jpg","text":"TemporaryFile(/tmp/multipartBody4229312940703426936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718542660,"filename":"image_14122025_13_41_34_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357195","file1":"1399357193","file0":"1399357191","file4":"1399357199","file5":"1399357202","file3":"1399357197"},"map_files_photo_id_array":[{"photo_id":"1399357202","filename":"file5"},{"photo_id":"1399357195","filename":"file2"},{"photo_id":"1399357199","filename":"file4"},{"photo_id":"1399357193","filename":"file1"},{"photo_id":"1399357191","filename":"file0"},{"photo_id":"1399357197","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357199":["hashtag1","hashtag2"]},{"1399357193":["hashtag1","hashtag2"]},{"1399357202":["hashtag1","hashtag2"]},{"1399357195":["hashtag1","hashtag2"]},{"1399357197":["hashtag1","hashtag2"]},{"1399357191":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357199, 1399357193, 1399357202, 1399357195, 1399357197, 1399357191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7022488117218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:22:02.682034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/42/image_14122025_13_42_44_10571.jpg', '/home/pi/Desktop/images/14122025/13/43/image_14122025_13_43_15_10641.jpg', '/home/pi/Desktop/images/14122025/13/43/image_14122025_13_43_24_9844.jpg', '/home/pi/Desktop/images/14122025/13/43/image_14122025_13_43_34_9730.jpg', '/home/pi/Desktop/images/14122025/13/43/image_14122025_13_43_44_9686.jpg', '/home/pi/Desktop/images/14122025/13/43/image_14122025_13_43_55_10736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/42/image_14122025_13_42_44_10571.jpg
/home/pi/Desktop/images/14122025/13/43/image_14122025_13_43_15_10641.jpg
/home/pi/Desktop/images/14122025/13/43/image_14122025_13_43_24_9844.jpg
/home/pi/Desktop/images/14122025/13/43/image_14122025_13_43_34_9730.jpg
/home/pi/Desktop/images/14122025/13/43/image_14122025_13_43_44_9686.jpg
/home/pi/Desktop/images/14122025/13/43/image_14122025_13_43_55_10736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357204","1399357206","1399357208","1399357205","1399357210","1399357207"],"photo_ids_order":["1399357204","1399357205","1399357206","1399357207","1399357208","1399357210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e3634a2f48c1c238ffc25feea7d0357f.jpg","text":"TemporaryFile(/tmp/multipartBody38820984858326513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718583375,"filename":"image_14122025_13_42_44_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63bc3f0cd56e19e42888e3c2ad3dfbac.jpg","text":"TemporaryFile(/tmp/multipartBody4790627037670424492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718583375,"filename":"image_14122025_13_43_24_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3800c409c54b452e139c44474d577022.jpg","text":"TemporaryFile(/tmp/multipartBody5122039269258032334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718583375,"filename":"image_14122025_13_43_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/12/14/72e5755187e8ae22092719b56ae971e9.jpg","text":"TemporaryFile(/tmp/multipartBody224734081356796509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718583375,"filename":"image_14122025_13_43_15_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8e0128140c27e11ddc673b11ef7c8e37.jpg","text":"TemporaryFile(/tmp/multipartBody6319712341655864528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718583375,"filename":"image_14122025_13_43_55_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/700b70e70ac627410a2ba1b8fe553c50.jpg","text":"TemporaryFile(/tmp/multipartBody4193363530593679135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718583375,"filename":"image_14122025_13_43_34_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357206","file1":"1399357205","file0":"1399357204","file4":"1399357208","file5":"1399357210","file3":"1399357207"},"map_files_photo_id_array":[{"photo_id":"1399357210","filename":"file5"},{"photo_id":"1399357206","filename":"file2"},{"photo_id":"1399357208","filename":"file4"},{"photo_id":"1399357205","filename":"file1"},{"photo_id":"1399357204","filename":"file0"},{"photo_id":"1399357207","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357204":["hashtag1","hashtag2"]},{"1399357206":["hashtag1","hashtag2"]},{"1399357208":["hashtag1","hashtag2"]},{"1399357205":["hashtag1","hashtag2"]},{"1399357210":["hashtag1","hashtag2"]},{"1399357207":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357204, 1399357206, 1399357208, 1399357205, 1399357210, 1399357207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.082698345184326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:22:42.197136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_54_4256.jpg', '/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_56_1634.jpg', '/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_09_12874.jpg', '/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_21_11943.jpg', '/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_22_1666.jpg', '/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_24_1607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_54_4256.jpg
/home/pi/Desktop/images/04112025/13/24/image_04112025_13_24_56_1634.jpg
/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_09_12874.jpg
/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_21_11943.jpg
/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_22_1666.jpg
/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_24_1607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357223","1399357225","1399357219","1399357228","1399357222","1399357216"],"photo_ids_order":["1399357216","1399357219","1399357222","1399357223","1399357225","1399357228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/93793e57fed55110791423bbd7ec67a6.jpg","text":"TemporaryFile(/tmp/multipartBody692000377934495580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718623046,"filename":"image_04112025_13_25_21_11943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6954c6ddb978971ef5f71dfb41329029.jpg","text":"TemporaryFile(/tmp/multipartBody7656401534893110247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718623046,"filename":"image_04112025_13_25_22_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/792c055a01655a4fe29a02ab6468e70e.jpg","text":"TemporaryFile(/tmp/multipartBody8587178425768584548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718623046,"filename":"image_04112025_13_24_56_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d3badacc5820fb6730d8214b00c5a279.jpg","text":"TemporaryFile(/tmp/multipartBody4586689087196541021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718623046,"filename":"image_04112025_13_25_24_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92d2c0aa777b19640f077930f2097b57.jpg","text":"TemporaryFile(/tmp/multipartBody8617369731828473205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718623046,"filename":"image_04112025_13_25_09_12874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/636aa3705f3fabb434e33e8faec2d457.jpg","text":"TemporaryFile(/tmp/multipartBody6256324672125301019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718623046,"filename":"image_04112025_13_24_54_4256.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357222","file1":"1399357219","file0":"1399357216","file4":"1399357225","file5":"1399357228","file3":"1399357223"},"map_files_photo_id_array":[{"photo_id":"1399357228","filename":"file5"},{"photo_id":"1399357222","filename":"file2"},{"photo_id":"1399357225","filename":"file4"},{"photo_id":"1399357219","filename":"file1"},{"photo_id":"1399357216","filename":"file0"},{"photo_id":"1399357223","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399357223":["hashtag1","hashtag2"]},{"1399357225":["hashtag1","hashtag2"]},{"1399357219":["hashtag1","hashtag2"]},{"1399357228":["hashtag1","hashtag2"]},{"1399357222":["hashtag1","hashtag2"]},{"1399357216":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399357223, 1399357225, 1399357219, 1399357228, 1399357222, 1399357216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.546098709106445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:23:22.459998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/43/image_14122025_13_44_04_9747.jpg', '/home/pi/Desktop/images/14122025/13/44/image_14122025_13_44_24_9971.jpg', '/home/pi/Desktop/images/14122025/13/44/image_14122025_13_44_34_9795.jpg', '/home/pi/Desktop/images/14122025/13/44/image_14122025_13_44_45_10746.jpg', '/home/pi/Desktop/images/14122025/13/44/image_14122025_13_44_54_9754.jpg', '/home/pi/Desktop/images/14122025/13/45/image_14122025_13_45_15_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/43/image_14122025_13_44_04_9747.jpg
/home/pi/Desktop/images/14122025/13/44/image_14122025_13_44_24_9971.jpg
/home/pi/Desktop/images/14122025/13/44/image_14122025_13_44_34_9795.jpg
/home/pi/Desktop/images/14122025/13/44/image_14122025_13_44_45_10746.jpg
/home/pi/Desktop/images/14122025/13/44/image_14122025_13_44_54_9754.jpg
/home/pi/Desktop/images/14122025/13/45/image_14122025_13_45_15_10704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357236","1399357230","1399357232","1399357238","1399357240","1399357234"],"photo_ids_order":["1399357230","1399357232","1399357234","1399357236","1399357238","1399357240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0fbe0dda13173e7a3ca1ef8bbf6fe27f.jpg","text":"TemporaryFile(/tmp/multipartBody677948965565093940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718663107,"filename":"image_14122025_13_44_45_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ee5012e70592047b2946f56e503de63.jpg","text":"TemporaryFile(/tmp/multipartBody1094923507943003529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718663107,"filename":"image_14122025_13_44_04_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c60ca923e5bca53765b94692238c09b.jpg","text":"TemporaryFile(/tmp/multipartBody8788460898122448212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718663107,"filename":"image_14122025_13_44_24_9971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad4d1e1166109af9306e1e88a54c6e0c.jpg","text":"TemporaryFile(/tmp/multipartBody2353459009325948952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718663107,"filename":"image_14122025_13_44_54_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1d386cfbc2bfb83afbecd2e3d510079.jpg","text":"TemporaryFile(/tmp/multipartBody7465211160062446694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718663107,"filename":"image_14122025_13_45_15_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f2be544d844566b30e1744f0bf64fe74.jpg","text":"TemporaryFile(/tmp/multipartBody3170644767459238533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718663107,"filename":"image_14122025_13_44_34_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357234","file1":"1399357232","file0":"1399357230","file4":"1399357238","file5":"1399357240","file3":"1399357236"},"map_files_photo_id_array":[{"photo_id":"1399357240","filename":"file5"},{"photo_id":"1399357234","filename":"file2"},{"photo_id":"1399357238","filename":"file4"},{"photo_id":"1399357232","filename":"file1"},{"photo_id":"1399357230","filename":"file0"},{"photo_id":"1399357236","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357236":["hashtag1","hashtag2"]},{"1399357230":["hashtag1","hashtag2"]},{"1399357232":["hashtag1","hashtag2"]},{"1399357238":["hashtag1","hashtag2"]},{"1399357240":["hashtag1","hashtag2"]},{"1399357234":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357236, 1399357230, 1399357232, 1399357238, 1399357240, 1399357234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08830261230469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:24:03.325180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/45/image_14122025_13_45_24_9660.jpg', '/home/pi/Desktop/images/14122025/13/45/image_14122025_13_45_34_9810.jpg', '/home/pi/Desktop/images/14122025/13/45/image_14122025_13_45_44_9695.jpg', '/home/pi/Desktop/images/14122025/13/45/image_14122025_13_46_04_9695.jpg', '/home/pi/Desktop/images/14122025/13/46/image_14122025_13_46_14_9651.jpg', '/home/pi/Desktop/images/14122025/13/46/image_14122025_13_46_25_10748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/45/image_14122025_13_45_24_9660.jpg
/home/pi/Desktop/images/14122025/13/45/image_14122025_13_45_34_9810.jpg
/home/pi/Desktop/images/14122025/13/45/image_14122025_13_45_44_9695.jpg
/home/pi/Desktop/images/14122025/13/45/image_14122025_13_46_04_9695.jpg
/home/pi/Desktop/images/14122025/13/46/image_14122025_13_46_14_9651.jpg
/home/pi/Desktop/images/14122025/13/46/image_14122025_13_46_25_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":["1399357248","1399357245","1399357250","1399357244","1399357247","1399357246"],"photo_ids_order":["1399357244","1399357245","1399357246","1399357247","1399357248","1399357250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/12ca8857a5cf95af706ca9036e70bc75.jpg","text":"TemporaryFile(/tmp/multipartBody3028715692403272152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718704060,"filename":"image_14122025_13_46_14_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/78a4336090bebf72a2092e2adee886de.jpg","text":"TemporaryFile(/tmp/multipartBody5536425965622308538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718704060,"filename":"image_14122025_13_45_34_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1c2de15037e4ffc7741963a62145363.jpg","text":"TemporaryFile(/tmp/multipartBody5257711082911832811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718704060,"filename":"image_14122025_13_46_25_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7a6cebac692c698bc63a05236ed3ddc.jpg","text":"TemporaryFile(/tmp/multipartBody1205485612074572692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718704060,"filename":"image_14122025_13_45_24_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d6a7ef66293e809a8cb2eadc2ab861f2.jpg","text":"TemporaryFile(/tmp/multipartBody3904067683896704999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718704060,"filename":"image_14122025_13_46_04_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/facd2568cdf41ef8d8f75acfb63b2be0.jpg","text":"TemporaryFile(/tmp/multipartBody3600685359182892735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718704060,"filename":"image_14122025_13_45_44_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357246","file1":"1399357245","file0":"1399357244","file4":"1399357248","file5":"1399357250","file3":"1399357247"},"map_files_photo_id_array":[{"photo_id":"1399357250","filename":"file5"},{"photo_id":"1399357246","filename":"file2"},{"photo_id":"1399357248","filename":"file4"},{"photo_id":"1399357245","filename":"file1"},{"photo_id":"1399357244","filename":"file0"},{"photo_id":"1399357247","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357248":["hashtag1","hashtag2"]},{"1399357245":["hashtag1","hashtag2"]},{"1399357250":["hashtag1","hashtag2"]},{"1399357244":["hashtag1","hashtag2"]},{"1399357247":["hashtag1","hashtag2"]},{"1399357246":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357248, 1399357245, 1399357250, 1399357244, 1399357247, 1399357246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8872549533844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:24:42.676998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_26_1635.jpg', '/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_27_1614.jpg', '/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_29_1606.jpg', '/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_31_1674.jpg', '/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_32_1652.jpg', '/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_34_1600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_26_1635.jpg
/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_27_1614.jpg
/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_29_1606.jpg
/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_31_1674.jpg
/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_32_1652.jpg
/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_34_1600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357257","1399357259","1399357256","1399357261","1399357255","1399357258"],"photo_ids_order":["1399357255","1399357256","1399357257","1399357258","1399357259","1399357261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d26aed968252eec14c4ab3beec8b8929.jpg","text":"TemporaryFile(/tmp/multipartBody6961144578746406630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718743401,"filename":"image_04112025_13_25_29_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bcdc271a1efc4b05cfb53db692866c73.jpg","text":"TemporaryFile(/tmp/multipartBody7330610454028345934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718743401,"filename":"image_04112025_13_25_32_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/49b7d1b064f7149aec31c67da16b1c1f.jpg","text":"TemporaryFile(/tmp/multipartBody8780536371382072352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718743401,"filename":"image_04112025_13_25_27_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/98746afc3e809dbb325325d72ef2e519.jpg","text":"TemporaryFile(/tmp/multipartBody3368310469834039239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718743401,"filename":"image_04112025_13_25_34_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e447a8206134c8fe3e69b9f1881e4e0.jpg","text":"TemporaryFile(/tmp/multipartBody1235454302408578478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718743401,"filename":"image_04112025_13_25_26_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1068d962c821bd9a8af9353f8eab0201.jpg","text":"TemporaryFile(/tmp/multipartBody3341690068400658228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718743401,"filename":"image_04112025_13_25_31_1674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357257","file1":"1399357256","file0":"1399357255","file4":"1399357259","file5":"1399357261","file3":"1399357258"},"map_files_photo_id_array":[{"photo_id":"1399357261","filename":"file5"},{"photo_id":"1399357257","filename":"file2"},{"photo_id":"1399357259","filename":"file4"},{"photo_id":"1399357256","filename":"file1"},{"photo_id":"1399357255","filename":"file0"},{"photo_id":"1399357258","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399357257":["hashtag1","hashtag2"]},{"1399357259":["hashtag1","hashtag2"]},{"1399357256":["hashtag1","hashtag2"]},{"1399357261":["hashtag1","hashtag2"]},{"1399357255":["hashtag1","hashtag2"]},{"1399357258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399357257, 1399357259, 1399357256, 1399357261, 1399357255, 1399357258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58174395561218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:25:21.941577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/46/image_14122025_13_46_34_9649.jpg', '/home/pi/Desktop/images/14122025/13/46/image_14122025_13_46_55_10715.jpg', '/home/pi/Desktop/images/14122025/13/46/image_14122025_13_47_04_9735.jpg', '/home/pi/Desktop/images/14122025/13/47/image_14122025_13_47_14_9732.jpg', '/home/pi/Desktop/images/14122025/13/47/image_14122025_13_47_24_9897.jpg', '/home/pi/Desktop/images/14122025/13/47/image_14122025_13_47_35_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/46/image_14122025_13_46_34_9649.jpg
/home/pi/Desktop/images/14122025/13/46/image_14122025_13_46_55_10715.jpg
/home/pi/Desktop/images/14122025/13/46/image_14122025_13_47_04_9735.jpg
/home/pi/Desktop/images/14122025/13/47/image_14122025_13_47_14_9732.jpg
/home/pi/Desktop/images/14122025/13/47/image_14122025_13_47_24_9897.jpg
/home/pi/Desktop/images/14122025/13/47/image_14122025_13_47_35_10613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357269","1399357262","1399357271","1399357274","1399357264","1399357267"],"photo_ids_order":["1399357262","1399357264","1399357267","1399357269","1399357271","1399357274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4db9af4406390c006cdc09511728b947.jpg","text":"TemporaryFile(/tmp/multipartBody1112535436142550075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718782588,"filename":"image_14122025_13_47_14_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f8490aba3cf8fdda0d53ba40ce07cede.jpg","text":"TemporaryFile(/tmp/multipartBody441957012563087855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718782588,"filename":"image_14122025_13_46_34_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27ee055d09134ca3522a1ba3e961e570.jpg","text":"TemporaryFile(/tmp/multipartBody379019893073992966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718782588,"filename":"image_14122025_13_47_24_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6217276e1b9d13eb7bbad28c9197fa08.jpg","text":"TemporaryFile(/tmp/multipartBody4800058435105449154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718782588,"filename":"image_14122025_13_47_35_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d00cdaefa1ca443065f29950366bdbd4.jpg","text":"TemporaryFile(/tmp/multipartBody3999229920507379031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718782588,"filename":"image_14122025_13_46_55_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cffa83498aec04bc7c7cefeddd9d082d.jpg","text":"TemporaryFile(/tmp/multipartBody7646437545902245667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718782588,"filename":"image_14122025_13_47_04_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357267","file1":"1399357264","file0":"1399357262","file4":"1399357271","file5":"1399357274","file3":"1399357269"},"map_files_photo_id_array":[{"photo_id":"1399357274","filename":"file5"},{"photo_id":"1399357267","filename":"file2"},{"photo_id":"1399357271","filename":"file4"},{"photo_id":"1399357264","filename":"file1"},{"photo_id":"1399357262","filename":"file0"},{"photo_id":"1399357269","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357269":["hashtag1","hashtag2"]},{"1399357262":["hashtag1","hashtag2"]},{"1399357271":["hashtag1","hashtag2"]},{"1399357274":["hashtag1","hashtag2"]},{"1399357264":["hashtag1","hashtag2"]},{"1399357267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357269, 1399357262, 1399357271, 1399357274, 1399357264, 1399357267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43404698371887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:26:02.680048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/48/image_14122025_13_48_34_9654.jpg', '/home/pi/Desktop/images/14122025/13/49/image_14122025_13_49_24_10754.jpg', '/home/pi/Desktop/images/14122025/13/49/image_14122025_13_49_34_9638.jpg', '/home/pi/Desktop/images/14122025/13/49/image_14122025_13_49_55_10807.jpg', '/home/pi/Desktop/images/14122025/13/49/image_14122025_13_50_04_9779.jpg', '/home/pi/Desktop/images/14122025/13/50/image_14122025_13_50_54_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/48/image_14122025_13_48_34_9654.jpg
/home/pi/Desktop/images/14122025/13/49/image_14122025_13_49_24_10754.jpg
/home/pi/Desktop/images/14122025/13/49/image_14122025_13_49_34_9638.jpg
/home/pi/Desktop/images/14122025/13/49/image_14122025_13_49_55_10807.jpg
/home/pi/Desktop/images/14122025/13/49/image_14122025_13_50_04_9779.jpg
/home/pi/Desktop/images/14122025/13/50/image_14122025_13_50_54_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":["1399357275","1399357280","1399357277","1399357276","1399357279","1399357278"],"photo_ids_order":["1399357275","1399357276","1399357277","1399357278","1399357279","1399357280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce7b8ff8537f634db38154a276fbecfd.jpg","text":"TemporaryFile(/tmp/multipartBody1571726876474170425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718823342,"filename":"image_14122025_13_48_34_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14f54b9900b1d2394ed710130f1617b9.jpg","text":"TemporaryFile(/tmp/multipartBody2185790737408597764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718823342,"filename":"image_14122025_13_50_54_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a55ada1b3810c2b8b68c74da022b3b0e.jpg","text":"TemporaryFile(/tmp/multipartBody1093465437139740426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718823342,"filename":"image_14122025_13_49_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a4f930322b9c85139dddea436abda819.jpg","text":"TemporaryFile(/tmp/multipartBody5149351960863768376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718823342,"filename":"image_14122025_13_49_24_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27e9241738093abe51aa65a1bce7e4c1.jpg","text":"TemporaryFile(/tmp/multipartBody725914247856388916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718823342,"filename":"image_14122025_13_50_04_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1d8971bc6a3651aa0603dd3657b765cf.jpg","text":"TemporaryFile(/tmp/multipartBody6157470461652807537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718823342,"filename":"image_14122025_13_49_55_10807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357277","file1":"1399357276","file0":"1399357275","file4":"1399357279","file5":"1399357280","file3":"1399357278"},"map_files_photo_id_array":[{"photo_id":"1399357280","filename":"file5"},{"photo_id":"1399357277","filename":"file2"},{"photo_id":"1399357279","filename":"file4"},{"photo_id":"1399357276","filename":"file1"},{"photo_id":"1399357275","filename":"file0"},{"photo_id":"1399357278","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357275":["hashtag1","hashtag2"]},{"1399357280":["hashtag1","hashtag2"]},{"1399357277":["hashtag1","hashtag2"]},{"1399357276":["hashtag1","hashtag2"]},{"1399357279":["hashtag1","hashtag2"]},{"1399357278":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357275, 1399357280, 1399357277, 1399357276, 1399357279, 1399357278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20976781845093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:26:42.101544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_36_1692.jpg', '/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_37_1579.jpg', '/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_39_1605.jpg', '/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_41_1875.jpg', '/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_42_1620.jpg', '/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_44_1549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_36_1692.jpg
/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_37_1579.jpg
/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_39_1605.jpg
/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_41_1875.jpg
/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_42_1620.jpg
/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_44_1549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357303","1399357305","1399357308","1399357301","1399357285","1399357290"],"photo_ids_order":["1399357285","1399357290","1399357301","1399357303","1399357305","1399357308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/65c6017a3b2de1c987afe7d616052ac4.jpg","text":"TemporaryFile(/tmp/multipartBody1734409387733444183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718862815,"filename":"image_04112025_13_25_41_1875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81587f671b54a10b386e14666b5856b9.jpg","text":"TemporaryFile(/tmp/multipartBody3411647123893704599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718862815,"filename":"image_04112025_13_25_42_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8694cd7e829c0c1e0c340a38d5e57555.jpg","text":"TemporaryFile(/tmp/multipartBody9102194409234024475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718862815,"filename":"image_04112025_13_25_44_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0280cc8121e582b4ad2b46b80858a5f4.jpg","text":"TemporaryFile(/tmp/multipartBody2201290031092142760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718862815,"filename":"image_04112025_13_25_39_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d179cb234a8b91c867ee0a1e314954a2.jpg","text":"TemporaryFile(/tmp/multipartBody7562029123045029040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718862815,"filename":"image_04112025_13_25_36_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/791502d1ab875bbef89ddb93a81d43d1.jpg","text":"TemporaryFile(/tmp/multipartBody7951727402892541639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718862815,"filename":"image_04112025_13_25_37_1579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357301","file1":"1399357290","file0":"1399357285","file4":"1399357305","file5":"1399357308","file3":"1399357303"},"map_files_photo_id_array":[{"photo_id":"1399357308","filename":"file5"},{"photo_id":"1399357301","filename":"file2"},{"photo_id":"1399357305","filename":"file4"},{"photo_id":"1399357290","filename":"file1"},{"photo_id":"1399357285","filename":"file0"},{"photo_id":"1399357303","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399357303":["hashtag1","hashtag2"]},{"1399357305":["hashtag1","hashtag2"]},{"1399357308":["hashtag1","hashtag2"]},{"1399357301":["hashtag1","hashtag2"]},{"1399357285":["hashtag1","hashtag2"]},{"1399357290":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399357303, 1399357305, 1399357308, 1399357301, 1399357285, 1399357290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88128876686096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:27:22.387504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/51/image_14122025_13_51_14_9574.jpg', '/home/pi/Desktop/images/14122025/13/51/image_14122025_13_51_54_9630.jpg', '/home/pi/Desktop/images/14122025/13/51/image_14122025_13_52_04_10642.jpg', '/home/pi/Desktop/images/14122025/13/52/image_14122025_13_52_24_9734.jpg', '/home/pi/Desktop/images/14122025/13/52/image_14122025_13_52_35_10751.jpg', '/home/pi/Desktop/images/14122025/13/52/image_14122025_13_52_44_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/51/image_14122025_13_51_14_9574.jpg
/home/pi/Desktop/images/14122025/13/51/image_14122025_13_51_54_9630.jpg
/home/pi/Desktop/images/14122025/13/51/image_14122025_13_52_04_10642.jpg
/home/pi/Desktop/images/14122025/13/52/image_14122025_13_52_24_9734.jpg
/home/pi/Desktop/images/14122025/13/52/image_14122025_13_52_35_10751.jpg
/home/pi/Desktop/images/14122025/13/52/image_14122025_13_52_44_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":["1399357320","1399357314","1399357316","1399357318","1399357312","1399357309"],"photo_ids_order":["1399357309","1399357312","1399357314","1399357316","1399357318","1399357320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14c8ff31f3539cb47a40a1740f51be58.jpg","text":"TemporaryFile(/tmp/multipartBody2312835875412059591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718903063,"filename":"image_14122025_13_52_44_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c2c48effb8a9af123e054dc8d8e36497.jpg","text":"TemporaryFile(/tmp/multipartBody8328164255426934962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718903063,"filename":"image_14122025_13_52_04_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19cd4bac90183b80256e6039a1cdf18e.jpg","text":"TemporaryFile(/tmp/multipartBody3529254807598511041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718903063,"filename":"image_14122025_13_52_24_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/02c2848f12deb9b0aa35a1f8ebb52dd0.jpg","text":"TemporaryFile(/tmp/multipartBody1717027930119467015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718903063,"filename":"image_14122025_13_52_35_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5bcb66e90b3a3e1f0ebcbe7140d7bffd.jpg","text":"TemporaryFile(/tmp/multipartBody8465622789508400419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718903063,"filename":"image_14122025_13_51_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/12/14/bb0c2c0789d2e2e781ee32c7ec832c6d.jpg","text":"TemporaryFile(/tmp/multipartBody7332589799419736879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718903063,"filename":"image_14122025_13_51_14_9574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357314","file1":"1399357312","file0":"1399357309","file4":"1399357318","file5":"1399357320","file3":"1399357316"},"map_files_photo_id_array":[{"photo_id":"1399357320","filename":"file5"},{"photo_id":"1399357314","filename":"file2"},{"photo_id":"1399357318","filename":"file4"},{"photo_id":"1399357312","filename":"file1"},{"photo_id":"1399357309","filename":"file0"},{"photo_id":"1399357316","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357320":["hashtag1","hashtag2"]},{"1399357314":["hashtag1","hashtag2"]},{"1399357316":["hashtag1","hashtag2"]},{"1399357318":["hashtag1","hashtag2"]},{"1399357312":["hashtag1","hashtag2"]},{"1399357309":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357320, 1399357314, 1399357316, 1399357318, 1399357312, 1399357309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35662794113159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:28:03.093131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/52/image_14122025_13_52_54_9712.jpg', '/home/pi/Desktop/images/14122025/13/52/image_14122025_13_53_05_10676.jpg', '/home/pi/Desktop/images/14122025/13/53/image_14122025_13_53_14_9750.jpg', '/home/pi/Desktop/images/14122025/13/53/image_14122025_13_53_24_9654.jpg', '/home/pi/Desktop/images/14122025/13/53/image_14122025_13_53_54_9829.jpg', '/home/pi/Desktop/images/14122025/13/54/image_14122025_13_54_14_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/52/image_14122025_13_52_54_9712.jpg
/home/pi/Desktop/images/14122025/13/52/image_14122025_13_53_05_10676.jpg
/home/pi/Desktop/images/14122025/13/53/image_14122025_13_53_14_9750.jpg
/home/pi/Desktop/images/14122025/13/53/image_14122025_13_53_24_9654.jpg
/home/pi/Desktop/images/14122025/13/53/image_14122025_13_53_54_9829.jpg
/home/pi/Desktop/images/14122025/13/54/image_14122025_13_54_14_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":["1399357323","1399357326","1399357325","1399357328","1399357324","1399357321"],"photo_ids_order":["1399357321","1399357323","1399357324","1399357325","1399357326","1399357328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/699fe3eefaa505d9fd48d69c3d614035.jpg","text":"TemporaryFile(/tmp/multipartBody8980858270580468890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718943733,"filename":"image_14122025_13_53_05_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eaf13aec2d694ec73ff15e408a931be1.jpg","text":"TemporaryFile(/tmp/multipartBody2230525674830009957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718943733,"filename":"image_14122025_13_53_54_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/26e58267896fce3b644290e8731cd9e0.jpg","text":"TemporaryFile(/tmp/multipartBody3449715117871158500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718943733,"filename":"image_14122025_13_53_24_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d372f087144d80c1ec83497c88bada67.jpg","text":"TemporaryFile(/tmp/multipartBody7252914771247369966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718943733,"filename":"image_14122025_13_54_14_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/de481ca4f06d5af667c463859f0be0e5.jpg","text":"TemporaryFile(/tmp/multipartBody5414841576921495583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718943733,"filename":"image_14122025_13_53_14_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fce6a0daf0034b778758d805417471f1.jpg","text":"TemporaryFile(/tmp/multipartBody1026438884398851551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718943733,"filename":"image_14122025_13_52_54_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357324","file1":"1399357323","file0":"1399357321","file4":"1399357326","file5":"1399357328","file3":"1399357325"},"map_files_photo_id_array":[{"photo_id":"1399357328","filename":"file5"},{"photo_id":"1399357324","filename":"file2"},{"photo_id":"1399357326","filename":"file4"},{"photo_id":"1399357323","filename":"file1"},{"photo_id":"1399357321","filename":"file0"},{"photo_id":"1399357325","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357323":["hashtag1","hashtag2"]},{"1399357326":["hashtag1","hashtag2"]},{"1399357325":["hashtag1","hashtag2"]},{"1399357328":["hashtag1","hashtag2"]},{"1399357324":["hashtag1","hashtag2"]},{"1399357321":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357323, 1399357326, 1399357325, 1399357328, 1399357324, 1399357321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91267991065979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:28:42.651664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_45_1531.jpg', '/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_47_1710.jpg', '/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_51_3556.jpg', '/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_53_2903.jpg', '/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_59_5371.jpg', '/home/pi/Desktop/images/04112025/13/25/image_04112025_13_26_00_1591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_45_1531.jpg
/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_47_1710.jpg
/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_51_3556.jpg
/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_53_2903.jpg
/home/pi/Desktop/images/04112025/13/25/image_04112025_13_25_59_5371.jpg
/home/pi/Desktop/images/04112025/13/25/image_04112025_13_26_00_1591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357341","1399357338","1399357340","1399357336","1399357339","1399357333"],"photo_ids_order":["1399357333","1399357336","1399357338","1399357339","1399357340","1399357341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d9daf4ed575ac4a0786ece72b864daf4.jpg","text":"TemporaryFile(/tmp/multipartBody3105522542165684930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718983344,"filename":"image_04112025_13_26_00_1591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a362d38e223bbad07dded1780f89b621.jpg","text":"TemporaryFile(/tmp/multipartBody2029664463838990910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718983344,"filename":"image_04112025_13_25_51_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f78bcf29118b4715fc10334d01b9e57a.jpg","text":"TemporaryFile(/tmp/multipartBody757455495824606076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718983344,"filename":"image_04112025_13_25_59_5371.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/03ae0e77f462cf420f9e0411265684d1.jpg","text":"TemporaryFile(/tmp/multipartBody128019957114588609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718983344,"filename":"image_04112025_13_25_47_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d666554f7b47fa299c602c99c64ef273.jpg","text":"TemporaryFile(/tmp/multipartBody689683386254838591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718983344,"filename":"image_04112025_13_25_53_2903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6d7056127c62c94fdb5c34e57ad86609.jpg","text":"TemporaryFile(/tmp/multipartBody8542451743703596888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765718983344,"filename":"image_04112025_13_25_45_1531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357338","file1":"1399357336","file0":"1399357333","file4":"1399357340","file5":"1399357341","file3":"1399357339"},"map_files_photo_id_array":[{"photo_id":"1399357341","filename":"file5"},{"photo_id":"1399357338","filename":"file2"},{"photo_id":"1399357340","filename":"file4"},{"photo_id":"1399357336","filename":"file1"},{"photo_id":"1399357333","filename":"file0"},{"photo_id":"1399357339","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399357341":["hashtag1","hashtag2"]},{"1399357338":["hashtag1","hashtag2"]},{"1399357340":["hashtag1","hashtag2"]},{"1399357336":["hashtag1","hashtag2"]},{"1399357339":["hashtag1","hashtag2"]},{"1399357333":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399357341, 1399357338, 1399357340, 1399357336, 1399357339, 1399357333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97739911079407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:29:21.865034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/54/image_14122025_13_54_44_9741.jpg', '/home/pi/Desktop/images/14122025/13/54/image_14122025_13_55_05_10874.jpg', '/home/pi/Desktop/images/14122025/13/55/image_14122025_13_55_24_9762.jpg', '/home/pi/Desktop/images/14122025/13/55/image_14122025_13_55_54_9734.jpg', '/home/pi/Desktop/images/14122025/13/55/image_14122025_13_56_04_9795.jpg', '/home/pi/Desktop/images/14122025/13/56/image_14122025_13_56_15_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/54/image_14122025_13_54_44_9741.jpg
/home/pi/Desktop/images/14122025/13/54/image_14122025_13_55_05_10874.jpg
/home/pi/Desktop/images/14122025/13/55/image_14122025_13_55_24_9762.jpg
/home/pi/Desktop/images/14122025/13/55/image_14122025_13_55_54_9734.jpg
/home/pi/Desktop/images/14122025/13/55/image_14122025_13_56_04_9795.jpg
/home/pi/Desktop/images/14122025/13/56/image_14122025_13_56_15_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":["1399357350","1399357343","1399357352","1399357346","1399357355","1399357348"],"photo_ids_order":["1399357343","1399357346","1399357348","1399357350","1399357352","1399357355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/93d04d6ece58b4d7c73f16577d1b488d.jpg","text":"TemporaryFile(/tmp/multipartBody902415131035984139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719022519,"filename":"image_14122025_13_55_54_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa6515220ba0f0a5f101d156c1f2df80.jpg","text":"TemporaryFile(/tmp/multipartBody4034070581132310591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719022519,"filename":"image_14122025_13_54_44_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ce303faed959b1941f859ecd07bb1a7.jpg","text":"TemporaryFile(/tmp/multipartBody94209170735482698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719022519,"filename":"image_14122025_13_56_04_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13ac34935303c06cf34cbf32c5d16ff4.jpg","text":"TemporaryFile(/tmp/multipartBody1991705723892922335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719022519,"filename":"image_14122025_13_55_05_10874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6afdb543b32fd2de3817a5afaa59027f.jpg","text":"TemporaryFile(/tmp/multipartBody2365348827686679792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719022519,"filename":"image_14122025_13_56_15_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/475844e04f2baee827d3040e44c18800.jpg","text":"TemporaryFile(/tmp/multipartBody5936098262043508114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719022519,"filename":"image_14122025_13_55_24_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357348","file1":"1399357346","file0":"1399357343","file4":"1399357352","file5":"1399357355","file3":"1399357350"},"map_files_photo_id_array":[{"photo_id":"1399357355","filename":"file5"},{"photo_id":"1399357348","filename":"file2"},{"photo_id":"1399357352","filename":"file4"},{"photo_id":"1399357346","filename":"file1"},{"photo_id":"1399357343","filename":"file0"},{"photo_id":"1399357350","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357350":["hashtag1","hashtag2"]},{"1399357343":["hashtag1","hashtag2"]},{"1399357352":["hashtag1","hashtag2"]},{"1399357346":["hashtag1","hashtag2"]},{"1399357355":["hashtag1","hashtag2"]},{"1399357348":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357350, 1399357343, 1399357352, 1399357346, 1399357355, 1399357348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85490131378174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:30:02.556186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/56/image_14122025_13_56_34_9722.jpg', '/home/pi/Desktop/images/14122025/13/56/image_14122025_13_56_45_10632.jpg', '/home/pi/Desktop/images/14122025/13/57/image_14122025_13_57_34_9769.jpg', '/home/pi/Desktop/images/14122025/13/57/image_14122025_13_57_45_10876.jpg', '/home/pi/Desktop/images/14122025/13/57/image_14122025_13_57_54_9792.jpg', '/home/pi/Desktop/images/14122025/13/57/image_14122025_13_58_04_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/56/image_14122025_13_56_34_9722.jpg
/home/pi/Desktop/images/14122025/13/56/image_14122025_13_56_45_10632.jpg
/home/pi/Desktop/images/14122025/13/57/image_14122025_13_57_34_9769.jpg
/home/pi/Desktop/images/14122025/13/57/image_14122025_13_57_45_10876.jpg
/home/pi/Desktop/images/14122025/13/57/image_14122025_13_57_54_9792.jpg
/home/pi/Desktop/images/14122025/13/57/image_14122025_13_58_04_9795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357371","1399357368","1399357370","1399357367","1399357372","1399357369"],"photo_ids_order":["1399357367","1399357368","1399357369","1399357370","1399357371","1399357372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/066ce82f29e6a1499581269c0d6b0eee.jpg","text":"TemporaryFile(/tmp/multipartBody2240566184082526066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719063225,"filename":"image_14122025_13_57_54_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7baff1bb7bb334fb3400ee4e8f099d7a.jpg","text":"TemporaryFile(/tmp/multipartBody3558701700862732457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719063225,"filename":"image_14122025_13_56_45_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2194a8da76603fa7462a630ae7ec4f2.jpg","text":"TemporaryFile(/tmp/multipartBody5661456517276567072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719063225,"filename":"image_14122025_13_57_45_10876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/05ec84b6c0caa5ea2ec43b8719ea61c5.jpg","text":"TemporaryFile(/tmp/multipartBody7062221663410200101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719063225,"filename":"image_14122025_13_56_34_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90f6c2ce5b4c4cc0482e071f9ebce585.jpg","text":"TemporaryFile(/tmp/multipartBody3183959644823631103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719063225,"filename":"image_14122025_13_58_04_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e216e61560a6b6adf3816cd0b6da333b.jpg","text":"TemporaryFile(/tmp/multipartBody5425015189944911813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719063225,"filename":"image_14122025_13_57_34_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357369","file1":"1399357368","file0":"1399357367","file4":"1399357371","file5":"1399357372","file3":"1399357370"},"map_files_photo_id_array":[{"photo_id":"1399357372","filename":"file5"},{"photo_id":"1399357369","filename":"file2"},{"photo_id":"1399357371","filename":"file4"},{"photo_id":"1399357368","filename":"file1"},{"photo_id":"1399357367","filename":"file0"},{"photo_id":"1399357370","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357371":["hashtag1","hashtag2"]},{"1399357368":["hashtag1","hashtag2"]},{"1399357370":["hashtag1","hashtag2"]},{"1399357367":["hashtag1","hashtag2"]},{"1399357372":["hashtag1","hashtag2"]},{"1399357369":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357371, 1399357368, 1399357370, 1399357367, 1399357372, 1399357369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72090697288513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:30:42.088643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_02_1522.jpg', '/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_06_3804.jpg', '/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_08_2525.jpg', '/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_11_3141.jpg', '/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_14_2713.jpg', '/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_17_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_02_1522.jpg
/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_06_3804.jpg
/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_08_2525.jpg
/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_11_3141.jpg
/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_14_2713.jpg
/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_17_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":["1399357382","1399357385","1399357390","1399357384","1399357387","1399357377"],"photo_ids_order":["1399357377","1399357382","1399357384","1399357385","1399357387","1399357390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bbdefc4aca2a17752f830cc20d3b637d.jpg","text":"TemporaryFile(/tmp/multipartBody3789387593147326371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719102848,"filename":"image_04112025_13_26_06_3804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1df4866be26f9cd681df0dd3b332196.jpg","text":"TemporaryFile(/tmp/multipartBody4514861601440490083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719102848,"filename":"image_04112025_13_26_11_3141.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e512d2dc0e5dad85c4889e9c1227c148.jpg","text":"TemporaryFile(/tmp/multipartBody6235766421673754398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719102848,"filename":"image_04112025_13_26_17_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/134e2b511af1404098233110e2fc4bfc.jpg","text":"TemporaryFile(/tmp/multipartBody8522328774157352986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719102848,"filename":"image_04112025_13_26_08_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dac05117417072b55bbef36b7957c73b.jpg","text":"TemporaryFile(/tmp/multipartBody4755589902544430280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719102848,"filename":"image_04112025_13_26_14_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f551c8d5f0d85e23e199924f5d4b08e.jpg","text":"TemporaryFile(/tmp/multipartBody4973307278651131322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719102848,"filename":"image_04112025_13_26_02_1522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357384","file1":"1399357382","file0":"1399357377","file4":"1399357387","file5":"1399357390","file3":"1399357385"},"map_files_photo_id_array":[{"photo_id":"1399357390","filename":"file5"},{"photo_id":"1399357384","filename":"file2"},{"photo_id":"1399357387","filename":"file4"},{"photo_id":"1399357382","filename":"file1"},{"photo_id":"1399357377","filename":"file0"},{"photo_id":"1399357385","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399357382":["hashtag1","hashtag2"]},{"1399357385":["hashtag1","hashtag2"]},{"1399357390":["hashtag1","hashtag2"]},{"1399357384":["hashtag1","hashtag2"]},{"1399357387":["hashtag1","hashtag2"]},{"1399357377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399357382, 1399357385, 1399357390, 1399357384, 1399357387, 1399357377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18713688850403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:31:22.361995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/59/image_14122025_13_59_34_9734.jpg', '/home/pi/Desktop/images/14122025/13/59/image_14122025_13_59_44_10644.jpg', '/home/pi/Desktop/images/14122025/14/00/image_14122025_14_00_15_10056.jpg', '/home/pi/Desktop/images/14122025/14/00/image_14122025_14_00_26_10816.jpg', '/home/pi/Desktop/images/14122025/14/03/image_14122025_14_03_26_10686.jpg', '/home/pi/Desktop/images/14122025/14/04/image_14122025_14_04_25_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/59/image_14122025_13_59_34_9734.jpg
/home/pi/Desktop/images/14122025/13/59/image_14122025_13_59_44_10644.jpg
/home/pi/Desktop/images/14122025/14/00/image_14122025_14_00_15_10056.jpg
/home/pi/Desktop/images/14122025/14/00/image_14122025_14_00_26_10816.jpg
/home/pi/Desktop/images/14122025/14/03/image_14122025_14_03_26_10686.jpg
/home/pi/Desktop/images/14122025/14/04/image_14122025_14_04_25_9707.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5451924800872803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 14:31:32.383668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:31:42.329535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_20_3595.jpg', '/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_23_2582.jpg', '/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_26_2891.jpg', '/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_30_3697.jpg', '/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_32_2610.jpg', '/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_35_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_20_3595.jpg
/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_23_2582.jpg
/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_26_2891.jpg
/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_30_3697.jpg
/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_32_2610.jpg
/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_35_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":["1399357401","1399357404","1399357407","1399357406","1399357403","1399357405"],"photo_ids_order":["1399357401","1399357403","1399357404","1399357405","1399357406","1399357407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0078fb155a5ed75219f32ec18a2058eb.jpg","text":"TemporaryFile(/tmp/multipartBody3827891853972467703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719163040,"filename":"image_04112025_13_26_20_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0df07543c87b08273b4afc43fede4b3a.jpg","text":"TemporaryFile(/tmp/multipartBody3507784986338826362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719163040,"filename":"image_04112025_13_26_26_2891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b0219a463d736b1ad87124269df54934.jpg","text":"TemporaryFile(/tmp/multipartBody4841063129588272989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719163040,"filename":"image_04112025_13_26_35_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d3f15ccddd7428fedfade45556cf938.jpg","text":"TemporaryFile(/tmp/multipartBody5531784215684339261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719163040,"filename":"image_04112025_13_26_32_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e07aeaa277ee45ca1c0d8c1e042f515.jpg","text":"TemporaryFile(/tmp/multipartBody1893956742981118753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719163040,"filename":"image_04112025_13_26_23_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1d16f5b7b3a6f0d3cbe931a10d20b230.jpg","text":"TemporaryFile(/tmp/multipartBody5820038012469324887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719163040,"filename":"image_04112025_13_26_30_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357404","file1":"1399357403","file0":"1399357401","file4":"1399357406","file5":"1399357407","file3":"1399357405"},"map_files_photo_id_array":[{"photo_id":"1399357407","filename":"file5"},{"photo_id":"1399357404","filename":"file2"},{"photo_id":"1399357406","filename":"file4"},{"photo_id":"1399357403","filename":"file1"},{"photo_id":"1399357401","filename":"file0"},{"photo_id":"1399357405","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399357401":["hashtag1","hashtag2"]},{"1399357404":["hashtag1","hashtag2"]},{"1399357407":["hashtag1","hashtag2"]},{"1399357406":["hashtag1","hashtag2"]},{"1399357403":["hashtag1","hashtag2"]},{"1399357405":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399357401, 1399357404, 1399357407, 1399357406, 1399357403, 1399357405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37363004684448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:32:22.601063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/13/59/image_14122025_13_59_34_9734.jpg', '/home/pi/Desktop/images/14122025/13/59/image_14122025_13_59_44_10644.jpg', '/home/pi/Desktop/images/14122025/14/00/image_14122025_14_00_15_10056.jpg', '/home/pi/Desktop/images/14122025/14/00/image_14122025_14_00_26_10816.jpg', '/home/pi/Desktop/images/14122025/14/03/image_14122025_14_03_26_10686.jpg', '/home/pi/Desktop/images/14122025/14/04/image_14122025_14_04_25_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/13/59/image_14122025_13_59_34_9734.jpg
/home/pi/Desktop/images/14122025/13/59/image_14122025_13_59_44_10644.jpg
/home/pi/Desktop/images/14122025/14/00/image_14122025_14_00_15_10056.jpg
/home/pi/Desktop/images/14122025/14/00/image_14122025_14_00_26_10816.jpg
/home/pi/Desktop/images/14122025/14/03/image_14122025_14_03_26_10686.jpg
/home/pi/Desktop/images/14122025/14/04/image_14122025_14_04_25_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357413","1399357419","1399357415","1399357409","1399357417","1399357411"],"photo_ids_order":["1399357409","1399357411","1399357413","1399357415","1399357417","1399357419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad9e2197cd2f4c673f48f9f61f5714c5.jpg","text":"TemporaryFile(/tmp/multipartBody7428279155980933237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719203252,"filename":"image_14122025_14_00_15_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf66570a422da5f84bea861fa07c1b4d.jpg","text":"TemporaryFile(/tmp/multipartBody6069660899266362455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719203252,"filename":"image_14122025_14_04_25_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f0ded9883164bcea926d229de5dc664e.jpg","text":"TemporaryFile(/tmp/multipartBody2424108951047013701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719203252,"filename":"image_14122025_14_00_26_10816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b8de614ec993e461c9d2b5a15a09717.jpg","text":"TemporaryFile(/tmp/multipartBody2505726513231300616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719203252,"filename":"image_14122025_13_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/12/14/4d0807caec62f96246021adc07dee72e.jpg","text":"TemporaryFile(/tmp/multipartBody673209802595450956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719203252,"filename":"image_14122025_14_03_26_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4faa5137398d28a65c20a14a00b0bb7b.jpg","text":"TemporaryFile(/tmp/multipartBody7334606803978274484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719203252,"filename":"image_14122025_13_59_44_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357413","file1":"1399357411","file0":"1399357409","file4":"1399357417","file5":"1399357419","file3":"1399357415"},"map_files_photo_id_array":[{"photo_id":"1399357419","filename":"file5"},{"photo_id":"1399357413","filename":"file2"},{"photo_id":"1399357417","filename":"file4"},{"photo_id":"1399357411","filename":"file1"},{"photo_id":"1399357409","filename":"file0"},{"photo_id":"1399357415","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357413":["hashtag1","hashtag2"]},{"1399357419":["hashtag1","hashtag2"]},{"1399357415":["hashtag1","hashtag2"]},{"1399357409":["hashtag1","hashtag2"]},{"1399357417":["hashtag1","hashtag2"]},{"1399357411":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357413, 1399357419, 1399357415, 1399357409, 1399357417, 1399357411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88747572898865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:33:03.231298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/05/image_14122025_14_05_15_9816.jpg', '/home/pi/Desktop/images/14122025/14/05/image_14122025_14_05_26_10557.jpg', '/home/pi/Desktop/images/14122025/14/05/image_14122025_14_05_35_9750.jpg', '/home/pi/Desktop/images/14122025/14/07/image_14122025_14_07_45_9714.jpg', '/home/pi/Desktop/images/14122025/14/08/image_14122025_14_08_45_9768.jpg', '/home/pi/Desktop/images/14122025/14/08/image_14122025_14_08_55_9910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/05/image_14122025_14_05_15_9816.jpg
/home/pi/Desktop/images/14122025/14/05/image_14122025_14_05_26_10557.jpg
/home/pi/Desktop/images/14122025/14/05/image_14122025_14_05_35_9750.jpg
/home/pi/Desktop/images/14122025/14/07/image_14122025_14_07_45_9714.jpg
/home/pi/Desktop/images/14122025/14/08/image_14122025_14_08_45_9768.jpg
/home/pi/Desktop/images/14122025/14/08/image_14122025_14_08_55_9910.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357431","1399357440","1399357434","1399357437","1399357436","1399357435"],"photo_ids_order":["1399357431","1399357434","1399357435","1399357436","1399357437","1399357440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8af3ef44d35390b2c4d13d22fc08ed35.jpg","text":"TemporaryFile(/tmp/multipartBody4657354160460468976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719243929,"filename":"image_14122025_14_05_15_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a728719f2f4fcd245db327a466408d1.jpg","text":"TemporaryFile(/tmp/multipartBody6349293676728567673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719243929,"filename":"image_14122025_14_08_55_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d19f21f52d9ebd15e8cc922cf858a410.jpg","text":"TemporaryFile(/tmp/multipartBody5573998978549839178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719243929,"filename":"image_14122025_14_05_26_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3a422025d42c9b635c87e3b99245f544.jpg","text":"TemporaryFile(/tmp/multipartBody3712862415932603780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719243929,"filename":"image_14122025_14_08_45_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a280aad5daa75c35cd09cc63c54a8c57.jpg","text":"TemporaryFile(/tmp/multipartBody1690666575311633555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719243929,"filename":"image_14122025_14_07_45_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/52bbed46266dbcc5c6547d71320e8da0.jpg","text":"TemporaryFile(/tmp/multipartBody1340775053139956982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719243929,"filename":"image_14122025_14_05_35_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357435","file1":"1399357434","file0":"1399357431","file4":"1399357437","file5":"1399357440","file3":"1399357436"},"map_files_photo_id_array":[{"photo_id":"1399357440","filename":"file5"},{"photo_id":"1399357435","filename":"file2"},{"photo_id":"1399357437","filename":"file4"},{"photo_id":"1399357434","filename":"file1"},{"photo_id":"1399357431","filename":"file0"},{"photo_id":"1399357436","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357431":["hashtag1","hashtag2"]},{"1399357440":["hashtag1","hashtag2"]},{"1399357434":["hashtag1","hashtag2"]},{"1399357437":["hashtag1","hashtag2"]},{"1399357436":["hashtag1","hashtag2"]},{"1399357435":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357431, 1399357440, 1399357434, 1399357437, 1399357436, 1399357435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.308459997177124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:33:42.724890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_39_3780.jpg', '/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_41_2761.jpg', '/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_44_2664.jpg', '/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_47_2815.jpg', '/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_50_3571.jpg', '/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_53_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_39_3780.jpg
/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_41_2761.jpg
/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_44_2664.jpg
/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_47_2815.jpg
/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_50_3571.jpg
/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_53_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":["1399357446","1399357449","1399357445","1399357448","1399357447","1399357450"],"photo_ids_order":["1399357445","1399357446","1399357447","1399357448","1399357449","1399357450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f204961c0b4d8dae466d35e00ffc07c0.jpg","text":"TemporaryFile(/tmp/multipartBody68402582511299932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719283427,"filename":"image_04112025_13_26_41_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ae5cd1ef77d923c7d73bf7ec3052650.jpg","text":"TemporaryFile(/tmp/multipartBody3644304151393106423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719283427,"filename":"image_04112025_13_26_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/12/14/d282a2a2ef745c5ebf9e8aafcfb9a26a.jpg","text":"TemporaryFile(/tmp/multipartBody6433894979973952010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719283427,"filename":"image_04112025_13_26_39_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aae1f02b861bda7d460277772e6f081f.jpg","text":"TemporaryFile(/tmp/multipartBody3065403351701230110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719283427,"filename":"image_04112025_13_26_47_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/62b320b063b5766b37b58730f0c19e3b.jpg","text":"TemporaryFile(/tmp/multipartBody2892481322262399869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719283427,"filename":"image_04112025_13_26_44_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2edf44ad1c5c81d4d95682f7865bd316.jpg","text":"TemporaryFile(/tmp/multipartBody4283054122787223179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719283427,"filename":"image_04112025_13_26_53_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357447","file1":"1399357446","file0":"1399357445","file4":"1399357449","file5":"1399357450","file3":"1399357448"},"map_files_photo_id_array":[{"photo_id":"1399357450","filename":"file5"},{"photo_id":"1399357447","filename":"file2"},{"photo_id":"1399357449","filename":"file4"},{"photo_id":"1399357446","filename":"file1"},{"photo_id":"1399357445","filename":"file0"},{"photo_id":"1399357448","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399357446":["hashtag1","hashtag2"]},{"1399357449":["hashtag1","hashtag2"]},{"1399357445":["hashtag1","hashtag2"]},{"1399357448":["hashtag1","hashtag2"]},{"1399357447":["hashtag1","hashtag2"]},{"1399357450":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399357446, 1399357449, 1399357445, 1399357448, 1399357447, 1399357450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32281160354614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:34:22.057433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/08/image_14122025_14_09_06_10649.jpg', '/home/pi/Desktop/images/14122025/14/09/image_14122025_14_09_35_9893.jpg', '/home/pi/Desktop/images/14122025/14/09/image_14122025_14_09_56_10692.jpg', '/home/pi/Desktop/images/14122025/14/09/image_14122025_14_10_05_9831.jpg', '/home/pi/Desktop/images/14122025/14/10/image_14122025_14_10_15_9629.jpg', '/home/pi/Desktop/images/14122025/14/10/image_14122025_14_10_35_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/08/image_14122025_14_09_06_10649.jpg
/home/pi/Desktop/images/14122025/14/09/image_14122025_14_09_35_9893.jpg
/home/pi/Desktop/images/14122025/14/09/image_14122025_14_09_56_10692.jpg
/home/pi/Desktop/images/14122025/14/09/image_14122025_14_10_05_9831.jpg
/home/pi/Desktop/images/14122025/14/10/image_14122025_14_10_15_9629.jpg
/home/pi/Desktop/images/14122025/14/10/image_14122025_14_10_35_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":["1399357452","1399357455","1399357451","1399357462","1399357456","1399357459"],"photo_ids_order":["1399357451","1399357452","1399357455","1399357456","1399357459","1399357462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bfe89c62910a232ecfc06221a1d6570c.jpg","text":"TemporaryFile(/tmp/multipartBody3309448095362076119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719322712,"filename":"image_14122025_14_09_35_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ed49b080c26b511f5d740b51a6bc555.jpg","text":"TemporaryFile(/tmp/multipartBody98180366787937010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719322712,"filename":"image_14122025_14_09_56_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f6bde9170edbb36a4a5f63cb0df371c4.jpg","text":"TemporaryFile(/tmp/multipartBody1565458250858757563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719322712,"filename":"image_14122025_14_09_06_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1a7b96593e22ff2f690df3f508a1b468.jpg","text":"TemporaryFile(/tmp/multipartBody5020385348886798035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719322712,"filename":"image_14122025_14_10_35_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/769af428965ebec420d09caebbcdab62.jpg","text":"TemporaryFile(/tmp/multipartBody1808887619225085384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719322712,"filename":"image_14122025_14_10_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/12/14/a1c174539dadb3894a935930270d1690.jpg","text":"TemporaryFile(/tmp/multipartBody4353814893611489255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719322712,"filename":"image_14122025_14_10_15_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357455","file1":"1399357452","file0":"1399357451","file4":"1399357459","file5":"1399357462","file3":"1399357456"},"map_files_photo_id_array":[{"photo_id":"1399357462","filename":"file5"},{"photo_id":"1399357455","filename":"file2"},{"photo_id":"1399357459","filename":"file4"},{"photo_id":"1399357452","filename":"file1"},{"photo_id":"1399357451","filename":"file0"},{"photo_id":"1399357456","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357452":["hashtag1","hashtag2"]},{"1399357455":["hashtag1","hashtag2"]},{"1399357451":["hashtag1","hashtag2"]},{"1399357462":["hashtag1","hashtag2"]},{"1399357456":["hashtag1","hashtag2"]},{"1399357459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357452, 1399357455, 1399357451, 1399357462, 1399357456, 1399357459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65604305267334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:35:02.845825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/10/image_14122025_14_10_56_10658.jpg', '/home/pi/Desktop/images/14122025/14/10/image_14122025_14_11_06_9906.jpg', '/home/pi/Desktop/images/14122025/14/11/image_14122025_14_11_25_9693.jpg', '/home/pi/Desktop/images/14122025/14/11/image_14122025_14_11_45_10678.jpg', '/home/pi/Desktop/images/14122025/14/11/image_14122025_14_11_55_9757.jpg', '/home/pi/Desktop/images/14122025/14/12/image_14122025_14_12_16_10725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/10/image_14122025_14_10_56_10658.jpg
/home/pi/Desktop/images/14122025/14/10/image_14122025_14_11_06_9906.jpg
/home/pi/Desktop/images/14122025/14/11/image_14122025_14_11_25_9693.jpg
/home/pi/Desktop/images/14122025/14/11/image_14122025_14_11_45_10678.jpg
/home/pi/Desktop/images/14122025/14/11/image_14122025_14_11_55_9757.jpg
/home/pi/Desktop/images/14122025/14/12/image_14122025_14_12_16_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":["1399357470","1399357473","1399357472","1399357474","1399357468","1399357476"],"photo_ids_order":["1399357468","1399357470","1399357472","1399357473","1399357474","1399357476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/016628037232d66f7cc2192bf227ac22.jpg","text":"TemporaryFile(/tmp/multipartBody6678303698612777473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719363521,"filename":"image_14122025_14_11_06_9906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bc7530d3348f908f8f72b59dd63b8039.jpg","text":"TemporaryFile(/tmp/multipartBody814811424242256398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719363521,"filename":"image_14122025_14_11_45_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db996485514a6a745340c5deabb39b68.jpg","text":"TemporaryFile(/tmp/multipartBody1676504929894903466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719363521,"filename":"image_14122025_14_11_25_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b849eab262e69381384c3e151737d443.jpg","text":"TemporaryFile(/tmp/multipartBody3806520748060587423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719363521,"filename":"image_14122025_14_11_55_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ab2778a038e921081bc0f75ce57e999.jpg","text":"TemporaryFile(/tmp/multipartBody6023689594353520338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719363521,"filename":"image_14122025_14_10_56_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc1dd5d8e189b9e4389a4cdcefef7d5f.jpg","text":"TemporaryFile(/tmp/multipartBody7022294847710679934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719363521,"filename":"image_14122025_14_12_16_10725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357472","file1":"1399357470","file0":"1399357468","file4":"1399357474","file5":"1399357476","file3":"1399357473"},"map_files_photo_id_array":[{"photo_id":"1399357476","filename":"file5"},{"photo_id":"1399357472","filename":"file2"},{"photo_id":"1399357474","filename":"file4"},{"photo_id":"1399357470","filename":"file1"},{"photo_id":"1399357468","filename":"file0"},{"photo_id":"1399357473","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357470":["hashtag1","hashtag2"]},{"1399357473":["hashtag1","hashtag2"]},{"1399357472":["hashtag1","hashtag2"]},{"1399357474":["hashtag1","hashtag2"]},{"1399357468":["hashtag1","hashtag2"]},{"1399357476":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357470, 1399357473, 1399357472, 1399357474, 1399357468, 1399357476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01143217086792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:35:42.167525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_56_2668.jpg', '/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_59_3698.jpg', '/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_02_2679.jpg', '/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_05_2667.jpg', '/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_08_3639.jpg', '/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_11_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_56_2668.jpg
/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_59_3698.jpg
/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_02_2679.jpg
/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_05_2667.jpg
/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_08_3639.jpg
/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_11_2645.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5847139358520508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:36:02.867324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/12/image_14122025_14_12_55_9698.jpg', '/home/pi/Desktop/images/14122025/14/13/image_14122025_14_13_15_9860.jpg', '/home/pi/Desktop/images/14122025/14/13/image_14122025_14_13_25_10592.jpg', '/home/pi/Desktop/images/14122025/14/16/image_14122025_14_16_25_9679.jpg', '/home/pi/Desktop/images/14122025/14/16/image_14122025_14_16_55_9824.jpg', '/home/pi/Desktop/images/14122025/14/17/image_14122025_14_17_15_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/12/image_14122025_14_12_55_9698.jpg
/home/pi/Desktop/images/14122025/14/13/image_14122025_14_13_15_9860.jpg
/home/pi/Desktop/images/14122025/14/13/image_14122025_14_13_25_10592.jpg
/home/pi/Desktop/images/14122025/14/16/image_14122025_14_16_25_9679.jpg
/home/pi/Desktop/images/14122025/14/16/image_14122025_14_16_55_9824.jpg
/home/pi/Desktop/images/14122025/14/17/image_14122025_14_17_15_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357500","1399357499","1399357498","1399357502","1399357501","1399357504"],"photo_ids_order":["1399357498","1399357499","1399357500","1399357501","1399357502","1399357504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/670e11b582268efacf9ee67d73c68cff.jpg","text":"TemporaryFile(/tmp/multipartBody5447675933156687891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719423546,"filename":"image_14122025_14_13_25_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0a5dd171f574a96b9815e93dc462de50.jpg","text":"TemporaryFile(/tmp/multipartBody1513033401053704921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719423546,"filename":"image_14122025_14_13_15_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3f5878f2fbca4171c7f830ff4418d8a.jpg","text":"TemporaryFile(/tmp/multipartBody9045695796088555883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719423546,"filename":"image_14122025_14_12_55_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0bb87aff555c39b534fe337781933037.jpg","text":"TemporaryFile(/tmp/multipartBody5992053493434843722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719423546,"filename":"image_14122025_14_16_55_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/47375a0b393e863f72a565b5e045bdbf.jpg","text":"TemporaryFile(/tmp/multipartBody9033823291395609449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719423546,"filename":"image_14122025_14_16_25_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7c72f652fd434fb4a78669c56d5f6d5b.jpg","text":"TemporaryFile(/tmp/multipartBody6342636410143793579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719423546,"filename":"image_14122025_14_17_15_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357500","file1":"1399357499","file0":"1399357498","file4":"1399357502","file5":"1399357504","file3":"1399357501"},"map_files_photo_id_array":[{"photo_id":"1399357504","filename":"file5"},{"photo_id":"1399357500","filename":"file2"},{"photo_id":"1399357502","filename":"file4"},{"photo_id":"1399357499","filename":"file1"},{"photo_id":"1399357498","filename":"file0"},{"photo_id":"1399357501","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357500":["hashtag1","hashtag2"]},{"1399357499":["hashtag1","hashtag2"]},{"1399357498":["hashtag1","hashtag2"]},{"1399357502":["hashtag1","hashtag2"]},{"1399357501":["hashtag1","hashtag2"]},{"1399357504":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357500, 1399357499, 1399357498, 1399357502, 1399357501, 1399357504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28733277320862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:36:42.406639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_56_2668.jpg', '/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_59_3698.jpg', '/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_02_2679.jpg', '/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_05_2667.jpg', '/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_08_3639.jpg', '/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_11_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_56_2668.jpg
/home/pi/Desktop/images/04112025/13/26/image_04112025_13_26_59_3698.jpg
/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_02_2679.jpg
/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_05_2667.jpg
/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_08_3639.jpg
/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_11_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":["1399357515","1399357509","1399357511","1399357514","1399357517","1399357513"],"photo_ids_order":["1399357509","1399357511","1399357513","1399357514","1399357515","1399357517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2da84a3bf026dad14a46c2c3ca57920d.jpg","text":"TemporaryFile(/tmp/multipartBody5771075645007781265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719463023,"filename":"image_04112025_13_27_08_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/67c614b895156566e465d3dc9363c9ac.jpg","text":"TemporaryFile(/tmp/multipartBody2956995720099220804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719463023,"filename":"image_04112025_13_26_56_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/49bca2b20097806436d8eac468a11c8d.jpg","text":"TemporaryFile(/tmp/multipartBody4244154682965902961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719463023,"filename":"image_04112025_13_26_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/12/14/ae86c33b1df3816f6ba865b11a12ef75.jpg","text":"TemporaryFile(/tmp/multipartBody8464594825088523814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719463023,"filename":"image_04112025_13_27_05_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b7e01fedeb07dfafb667de9c6881205c.jpg","text":"TemporaryFile(/tmp/multipartBody187717592288655320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719463023,"filename":"image_04112025_13_27_11_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/528e5d085c26fdd89e7e9829d4ea8e41.jpg","text":"TemporaryFile(/tmp/multipartBody8194787936740885283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719463023,"filename":"image_04112025_13_27_02_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357513","file1":"1399357511","file0":"1399357509","file4":"1399357515","file5":"1399357517","file3":"1399357514"},"map_files_photo_id_array":[{"photo_id":"1399357517","filename":"file5"},{"photo_id":"1399357513","filename":"file2"},{"photo_id":"1399357515","filename":"file4"},{"photo_id":"1399357511","filename":"file1"},{"photo_id":"1399357509","filename":"file0"},{"photo_id":"1399357514","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399357515":["hashtag1","hashtag2"]},{"1399357509":["hashtag1","hashtag2"]},{"1399357511":["hashtag1","hashtag2"]},{"1399357514":["hashtag1","hashtag2"]},{"1399357517":["hashtag1","hashtag2"]},{"1399357513":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399357515, 1399357509, 1399357511, 1399357514, 1399357517, 1399357513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11150050163269 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:37:22.654305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/20/image_14122025_14_20_15_9690.jpg', '/home/pi/Desktop/images/14122025/14/20/image_14122025_14_21_05_9671.jpg', '/home/pi/Desktop/images/14122025/14/21/image_14122025_14_21_15_9779.jpg', '/home/pi/Desktop/images/14122025/14/21/image_14122025_14_21_26_10725.jpg', '/home/pi/Desktop/images/14122025/14/21/image_14122025_14_21_35_9676.jpg', '/home/pi/Desktop/images/14122025/14/21/image_14122025_14_21_45_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/20/image_14122025_14_20_15_9690.jpg
/home/pi/Desktop/images/14122025/14/20/image_14122025_14_21_05_9671.jpg
/home/pi/Desktop/images/14122025/14/21/image_14122025_14_21_15_9779.jpg
/home/pi/Desktop/images/14122025/14/21/image_14122025_14_21_26_10725.jpg
/home/pi/Desktop/images/14122025/14/21/image_14122025_14_21_35_9676.jpg
/home/pi/Desktop/images/14122025/14/21/image_14122025_14_21_45_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":["1399357530","1399357524","1399357526","1399357520","1399357528","1399357522"],"photo_ids_order":["1399357520","1399357522","1399357524","1399357526","1399357528","1399357530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6270371b7e060ea0ee5b92deb7f4c7e6.jpg","text":"TemporaryFile(/tmp/multipartBody5054468836686931126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719503281,"filename":"image_14122025_14_21_45_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/62b95da22acc3f2a2b870f0358d8a072.jpg","text":"TemporaryFile(/tmp/multipartBody371254465919384462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719503281,"filename":"image_14122025_14_21_15_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1d42dd9d5b1820e923cf33df47859bbf.jpg","text":"TemporaryFile(/tmp/multipartBody1653011407294308654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719503281,"filename":"image_14122025_14_21_26_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf1e8db35fb4ada1bbeabd00ecd4924e.jpg","text":"TemporaryFile(/tmp/multipartBody3335414853305040266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719503281,"filename":"image_14122025_14_20_15_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db9c019d79be01070421a4a0955cf155.jpg","text":"TemporaryFile(/tmp/multipartBody420319066185559387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719503281,"filename":"image_14122025_14_21_35_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d63f418826eee78efef2fff69cdb876.jpg","text":"TemporaryFile(/tmp/multipartBody3286349710796091666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719503281,"filename":"image_14122025_14_21_05_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357524","file1":"1399357522","file0":"1399357520","file4":"1399357528","file5":"1399357530","file3":"1399357526"},"map_files_photo_id_array":[{"photo_id":"1399357530","filename":"file5"},{"photo_id":"1399357524","filename":"file2"},{"photo_id":"1399357528","filename":"file4"},{"photo_id":"1399357522","filename":"file1"},{"photo_id":"1399357520","filename":"file0"},{"photo_id":"1399357526","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357530":["hashtag1","hashtag2"]},{"1399357524":["hashtag1","hashtag2"]},{"1399357526":["hashtag1","hashtag2"]},{"1399357520":["hashtag1","hashtag2"]},{"1399357528":["hashtag1","hashtag2"]},{"1399357522":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357530, 1399357524, 1399357526, 1399357520, 1399357528, 1399357522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46308350563049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:38:02.402999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/21/image_14122025_14_21_55_9952.jpg', '/home/pi/Desktop/images/14122025/14/21/image_14122025_14_22_06_10686.jpg', '/home/pi/Desktop/images/14122025/14/22/image_14122025_14_22_25_9667.jpg', '/home/pi/Desktop/images/14122025/14/22/image_14122025_14_22_45_10564.jpg', '/home/pi/Desktop/images/14122025/14/22/image_14122025_14_22_55_9717.jpg', '/home/pi/Desktop/images/14122025/14/22/image_14122025_14_23_05_9865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/21/image_14122025_14_21_55_9952.jpg
/home/pi/Desktop/images/14122025/14/21/image_14122025_14_22_06_10686.jpg
/home/pi/Desktop/images/14122025/14/22/image_14122025_14_22_25_9667.jpg
/home/pi/Desktop/images/14122025/14/22/image_14122025_14_22_45_10564.jpg
/home/pi/Desktop/images/14122025/14/22/image_14122025_14_22_55_9717.jpg
/home/pi/Desktop/images/14122025/14/22/image_14122025_14_23_05_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":["1399357533","1399357536","1399357532","1399357535","1399357534","1399357531"],"photo_ids_order":["1399357531","1399357532","1399357533","1399357534","1399357535","1399357536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c44ca390a93e00671758e0b7e8cc5da8.jpg","text":"TemporaryFile(/tmp/multipartBody7336681812810746101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719543051,"filename":"image_14122025_14_22_25_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c8af9a9d2512321a09d9a52f37ff182.jpg","text":"TemporaryFile(/tmp/multipartBody7217313685303207742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719543051,"filename":"image_14122025_14_23_05_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9e23ad622423a5ace56d941fcaf7d7d8.jpg","text":"TemporaryFile(/tmp/multipartBody2325908534948910718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719543051,"filename":"image_14122025_14_22_06_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d7518616e2e0ca2376ddd5af312379e.jpg","text":"TemporaryFile(/tmp/multipartBody4831779165522984704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719543051,"filename":"image_14122025_14_22_55_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d3378512c7b348164725a4e118cc4887.jpg","text":"TemporaryFile(/tmp/multipartBody9045602682713482322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719543051,"filename":"image_14122025_14_22_45_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/22744ca30c64ed857a744332e15afc9e.jpg","text":"TemporaryFile(/tmp/multipartBody3997532179603597570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719543051,"filename":"image_14122025_14_21_55_9952.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357533","file1":"1399357532","file0":"1399357531","file4":"1399357535","file5":"1399357536","file3":"1399357534"},"map_files_photo_id_array":[{"photo_id":"1399357536","filename":"file5"},{"photo_id":"1399357533","filename":"file2"},{"photo_id":"1399357535","filename":"file4"},{"photo_id":"1399357532","filename":"file1"},{"photo_id":"1399357531","filename":"file0"},{"photo_id":"1399357534","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357533":["hashtag1","hashtag2"]},{"1399357536":["hashtag1","hashtag2"]},{"1399357532":["hashtag1","hashtag2"]},{"1399357535":["hashtag1","hashtag2"]},{"1399357534":["hashtag1","hashtag2"]},{"1399357531":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357533, 1399357536, 1399357532, 1399357535, 1399357534, 1399357531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39677047729492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:38:41.926330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_14_2644.jpg', '/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_18_3870.jpg', '/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_21_2948.jpg', '/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_23_2662.jpg', '/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_26_2609.jpg', '/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_29_2865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_14_2644.jpg
/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_18_3870.jpg
/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_21_2948.jpg
/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_23_2662.jpg
/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_26_2609.jpg
/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_29_2865.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357560","1399357554","1399357542","1399357562","1399357564","1399357558"],"photo_ids_order":["1399357542","1399357554","1399357558","1399357560","1399357562","1399357564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c206ec9120808a5910d95e2e1502bba6.jpg","text":"TemporaryFile(/tmp/multipartBody5600760976143915499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719582691,"filename":"image_04112025_13_27_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/12/14/33a1b51f46f376138b061480e04b85e6.jpg","text":"TemporaryFile(/tmp/multipartBody5775531222667686729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719582691,"filename":"image_04112025_13_27_18_3870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f10f72ab93532c74b90f6230f6fa0f43.jpg","text":"TemporaryFile(/tmp/multipartBody3771409606956043536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719582691,"filename":"image_04112025_13_27_14_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8f3d3b8a30fd3e8974837f41f3e2799d.jpg","text":"TemporaryFile(/tmp/multipartBody8641555974022334644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719582691,"filename":"image_04112025_13_27_26_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd641f0ac1a1e07973d61721ded60394.jpg","text":"TemporaryFile(/tmp/multipartBody3540637390371239087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719582691,"filename":"image_04112025_13_27_29_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1d4063cb384c2d0dcbe55f2d06f0b21c.jpg","text":"TemporaryFile(/tmp/multipartBody8635209512311775431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719582691,"filename":"image_04112025_13_27_21_2948.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357558","file1":"1399357554","file0":"1399357542","file4":"1399357562","file5":"1399357564","file3":"1399357560"},"map_files_photo_id_array":[{"photo_id":"1399357564","filename":"file5"},{"photo_id":"1399357558","filename":"file2"},{"photo_id":"1399357562","filename":"file4"},{"photo_id":"1399357554","filename":"file1"},{"photo_id":"1399357542","filename":"file0"},{"photo_id":"1399357560","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399357560":["hashtag1","hashtag2"]},{"1399357554":["hashtag1","hashtag2"]},{"1399357542":["hashtag1","hashtag2"]},{"1399357562":["hashtag1","hashtag2"]},{"1399357564":["hashtag1","hashtag2"]},{"1399357558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399357560, 1399357554, 1399357542, 1399357562, 1399357564, 1399357558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.142486810684204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:39:22.302239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/23/image_14122025_14_23_16_10732.jpg', '/home/pi/Desktop/images/14122025/14/23/image_14122025_14_23_25_9629.jpg', '/home/pi/Desktop/images/14122025/14/23/image_14122025_14_23_35_9705.jpg', '/home/pi/Desktop/images/14122025/14/23/image_14122025_14_23_46_10569.jpg', '/home/pi/Desktop/images/14122025/14/23/image_14122025_14_23_55_9592.jpg', '/home/pi/Desktop/images/14122025/14/23/image_14122025_14_24_05_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/23/image_14122025_14_23_16_10732.jpg
/home/pi/Desktop/images/14122025/14/23/image_14122025_14_23_25_9629.jpg
/home/pi/Desktop/images/14122025/14/23/image_14122025_14_23_35_9705.jpg
/home/pi/Desktop/images/14122025/14/23/image_14122025_14_23_46_10569.jpg
/home/pi/Desktop/images/14122025/14/23/image_14122025_14_23_55_9592.jpg
/home/pi/Desktop/images/14122025/14/23/image_14122025_14_24_05_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.5266029834747314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 14:39:32.232060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:39:42.111334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_32_3781.jpg', '/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_35_2753.jpg', '/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_38_2650.jpg', '/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_42_3704.jpg', '/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_01_19272.jpg', '/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_03_1695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_32_3781.jpg
/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_35_2753.jpg
/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_38_2650.jpg
/home/pi/Desktop/images/04112025/13/27/image_04112025_13_27_42_3704.jpg
/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_01_19272.jpg
/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_03_1695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357578","1399357580","1399357574","1399357582","1399357579","1399357581"],"photo_ids_order":["1399357574","1399357578","1399357579","1399357580","1399357581","1399357582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fd4af232946cdfee506247f5dac94e3e.jpg","text":"TemporaryFile(/tmp/multipartBody3078997901990303037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719642817,"filename":"image_04112025_13_27_35_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5aeb54c5105ec76153d8de5cedbfa24d.jpg","text":"TemporaryFile(/tmp/multipartBody1720197521151496449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719642817,"filename":"image_04112025_13_27_42_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa46d2fce05a52cd8ea84e147f529cc8.jpg","text":"TemporaryFile(/tmp/multipartBody5567407152411575415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719642817,"filename":"image_04112025_13_27_32_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a6d2d6c7f2b916ba657876c79ae62727.jpg","text":"TemporaryFile(/tmp/multipartBody176123234695523148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719642817,"filename":"image_04112025_13_28_03_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/518fa7a2f2f13641de608c60b46ace62.jpg","text":"TemporaryFile(/tmp/multipartBody2470127593112219873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719642817,"filename":"image_04112025_13_27_38_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/492f197fb3a33e9a342a16ddaad73288.jpg","text":"TemporaryFile(/tmp/multipartBody6453183525848628375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719642817,"filename":"image_04112025_13_28_01_19272.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357579","file1":"1399357578","file0":"1399357574","file4":"1399357581","file5":"1399357582","file3":"1399357580"},"map_files_photo_id_array":[{"photo_id":"1399357582","filename":"file5"},{"photo_id":"1399357579","filename":"file2"},{"photo_id":"1399357581","filename":"file4"},{"photo_id":"1399357578","filename":"file1"},{"photo_id":"1399357574","filename":"file0"},{"photo_id":"1399357580","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399357578":["hashtag1","hashtag2"]},{"1399357580":["hashtag1","hashtag2"]},{"1399357574":["hashtag1","hashtag2"]},{"1399357582":["hashtag1","hashtag2"]},{"1399357579":["hashtag1","hashtag2"]},{"1399357581":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399357578, 1399357580, 1399357574, 1399357582, 1399357579, 1399357581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82705044746399 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:40:22.458623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/23/image_14122025_14_23_16_10732.jpg', '/home/pi/Desktop/images/14122025/14/23/image_14122025_14_23_25_9629.jpg', '/home/pi/Desktop/images/14122025/14/23/image_14122025_14_23_35_9705.jpg', '/home/pi/Desktop/images/14122025/14/23/image_14122025_14_23_46_10569.jpg', '/home/pi/Desktop/images/14122025/14/23/image_14122025_14_23_55_9592.jpg', '/home/pi/Desktop/images/14122025/14/23/image_14122025_14_24_05_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/23/image_14122025_14_23_16_10732.jpg
/home/pi/Desktop/images/14122025/14/23/image_14122025_14_23_25_9629.jpg
/home/pi/Desktop/images/14122025/14/23/image_14122025_14_23_35_9705.jpg
/home/pi/Desktop/images/14122025/14/23/image_14122025_14_23_46_10569.jpg
/home/pi/Desktop/images/14122025/14/23/image_14122025_14_23_55_9592.jpg
/home/pi/Desktop/images/14122025/14/23/image_14122025_14_24_05_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":["1399357584","1399357587","1399357589","1399357591","1399357585","1399357593"],"photo_ids_order":["1399357584","1399357585","1399357587","1399357589","1399357591","1399357593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e205a033249108d68211c2995cecef33.jpg","text":"TemporaryFile(/tmp/multipartBody8184759892037039211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719683103,"filename":"image_14122025_14_23_16_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7dc0d2c47061123f0957bd03ecd405b9.jpg","text":"TemporaryFile(/tmp/multipartBody7220710853136007433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719683103,"filename":"image_14122025_14_23_35_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a0f619e7738d81be525b49b4d158b5b8.jpg","text":"TemporaryFile(/tmp/multipartBody893005775438632188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719683103,"filename":"image_14122025_14_23_46_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4df9e3fbf0056fb71e63ca0f73577161.jpg","text":"TemporaryFile(/tmp/multipartBody1127074465222452768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719683103,"filename":"image_14122025_14_23_55_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/210fc5774cd39e63454bf6554771ba59.jpg","text":"TemporaryFile(/tmp/multipartBody8229807235103986170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719683103,"filename":"image_14122025_14_23_25_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/122d8ecf4138f6271f5685ac57279d96.jpg","text":"TemporaryFile(/tmp/multipartBody4367470876325015309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719683103,"filename":"image_14122025_14_24_05_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357587","file1":"1399357585","file0":"1399357584","file4":"1399357591","file5":"1399357593","file3":"1399357589"},"map_files_photo_id_array":[{"photo_id":"1399357593","filename":"file5"},{"photo_id":"1399357587","filename":"file2"},{"photo_id":"1399357591","filename":"file4"},{"photo_id":"1399357585","filename":"file1"},{"photo_id":"1399357584","filename":"file0"},{"photo_id":"1399357589","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357584":["hashtag1","hashtag2"]},{"1399357587":["hashtag1","hashtag2"]},{"1399357589":["hashtag1","hashtag2"]},{"1399357591":["hashtag1","hashtag2"]},{"1399357585":["hashtag1","hashtag2"]},{"1399357593":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357584, 1399357587, 1399357589, 1399357591, 1399357585, 1399357593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76443147659302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:41:03.373262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/24/image_14122025_14_24_15_10592.jpg', '/home/pi/Desktop/images/14122025/14/24/image_14122025_14_24_25_9814.jpg', '/home/pi/Desktop/images/14122025/14/24/image_14122025_14_24_35_9674.jpg', '/home/pi/Desktop/images/14122025/14/24/image_14122025_14_24_46_10690.jpg', '/home/pi/Desktop/images/14122025/14/24/image_14122025_14_24_55_9742.jpg', '/home/pi/Desktop/images/14122025/14/24/image_14122025_14_25_05_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/24/image_14122025_14_24_15_10592.jpg
/home/pi/Desktop/images/14122025/14/24/image_14122025_14_24_25_9814.jpg
/home/pi/Desktop/images/14122025/14/24/image_14122025_14_24_35_9674.jpg
/home/pi/Desktop/images/14122025/14/24/image_14122025_14_24_46_10690.jpg
/home/pi/Desktop/images/14122025/14/24/image_14122025_14_24_55_9742.jpg
/home/pi/Desktop/images/14122025/14/24/image_14122025_14_25_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":["1399357599","1399357602","1399357605","1399357597","1399357601","1399357603"],"photo_ids_order":["1399357597","1399357599","1399357601","1399357602","1399357603","1399357605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ba04b20ef4ee7dc184516a3d623986c.jpg","text":"TemporaryFile(/tmp/multipartBody7864916910509628881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719724046,"filename":"image_14122025_14_24_25_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc72851ba5c426cd9855f17c7e8ba00d.jpg","text":"TemporaryFile(/tmp/multipartBody6208904064102251732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719724046,"filename":"image_14122025_14_24_46_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ab3e2098173f921a74340f4bb2f2aec.jpg","text":"TemporaryFile(/tmp/multipartBody1699430492778119110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719724046,"filename":"image_14122025_14_25_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/12/14/5ba29d23b06172fee650823a6e9eeb41.jpg","text":"TemporaryFile(/tmp/multipartBody6889848527716985132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719724046,"filename":"image_14122025_14_24_15_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9644ae20f0c70b31d2a695ba0d82eea6.jpg","text":"TemporaryFile(/tmp/multipartBody3226988880457670656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719724046,"filename":"image_14122025_14_24_35_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e97bc49cd4b7df67a0f475e5c72c099d.jpg","text":"TemporaryFile(/tmp/multipartBody2325960612744805944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719724046,"filename":"image_14122025_14_24_55_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357601","file1":"1399357599","file0":"1399357597","file4":"1399357603","file5":"1399357605","file3":"1399357602"},"map_files_photo_id_array":[{"photo_id":"1399357605","filename":"file5"},{"photo_id":"1399357601","filename":"file2"},{"photo_id":"1399357603","filename":"file4"},{"photo_id":"1399357599","filename":"file1"},{"photo_id":"1399357597","filename":"file0"},{"photo_id":"1399357602","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357599":["hashtag1","hashtag2"]},{"1399357602":["hashtag1","hashtag2"]},{"1399357605":["hashtag1","hashtag2"]},{"1399357597":["hashtag1","hashtag2"]},{"1399357601":["hashtag1","hashtag2"]},{"1399357603":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357599, 1399357602, 1399357605, 1399357597, 1399357601, 1399357603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72358822822571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:41:42.576918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_04_1571.jpg', '/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_37_33313.jpg', '/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_44_6271.jpg', '/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_45_1603.jpg', '/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_47_1846.jpg', '/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_49_1615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_04_1571.jpg
/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_37_33313.jpg
/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_44_6271.jpg
/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_45_1603.jpg
/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_47_1846.jpg
/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_49_1615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357611","1399357614","1399357617","1399357616","1399357613","1399357615"],"photo_ids_order":["1399357611","1399357613","1399357614","1399357615","1399357616","1399357617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c9c193e6f7c1e9ec0ff121365726540e.jpg","text":"TemporaryFile(/tmp/multipartBody5706693844932418296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719763320,"filename":"image_04112025_13_28_04_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a6df0d3f8d02388a6a97d37e33b6a561.jpg","text":"TemporaryFile(/tmp/multipartBody7394050922847896888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719763320,"filename":"image_04112025_13_28_44_6271.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1fbb5c2ce15400028a573f2df4bafe12.jpg","text":"TemporaryFile(/tmp/multipartBody11513468571528212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719763320,"filename":"image_04112025_13_28_49_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2d4f733fa080984224f1b1d210afaab.jpg","text":"TemporaryFile(/tmp/multipartBody6006594410411513499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719763320,"filename":"image_04112025_13_28_47_1846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88fb6b046a8216ac64606e8833c4f5b4.jpg","text":"TemporaryFile(/tmp/multipartBody7119794768319231734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719763320,"filename":"image_04112025_13_28_37_33313.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/369f3b519c7b3e2ccc859771ddfc1b40.jpg","text":"TemporaryFile(/tmp/multipartBody5008083577344862717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719763320,"filename":"image_04112025_13_28_45_1603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357614","file1":"1399357613","file0":"1399357611","file4":"1399357616","file5":"1399357617","file3":"1399357615"},"map_files_photo_id_array":[{"photo_id":"1399357617","filename":"file5"},{"photo_id":"1399357614","filename":"file2"},{"photo_id":"1399357616","filename":"file4"},{"photo_id":"1399357613","filename":"file1"},{"photo_id":"1399357611","filename":"file0"},{"photo_id":"1399357615","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399357611":["hashtag1","hashtag2"]},{"1399357614":["hashtag1","hashtag2"]},{"1399357617":["hashtag1","hashtag2"]},{"1399357616":["hashtag1","hashtag2"]},{"1399357613":["hashtag1","hashtag2"]},{"1399357615":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399357611, 1399357614, 1399357617, 1399357616, 1399357613, 1399357615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67347288131714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:42:21.856627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/25/image_14122025_14_25_25_10750.jpg', '/home/pi/Desktop/images/14122025/14/25/image_14122025_14_25_55_10616.jpg', '/home/pi/Desktop/images/14122025/14/25/image_14122025_14_26_05_9750.jpg', '/home/pi/Desktop/images/14122025/14/26/image_14122025_14_26_15_9693.jpg', '/home/pi/Desktop/images/14122025/14/26/image_14122025_14_26_25_10642.jpg', '/home/pi/Desktop/images/14122025/14/26/image_14122025_14_26_35_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/25/image_14122025_14_25_25_10750.jpg
/home/pi/Desktop/images/14122025/14/25/image_14122025_14_25_55_10616.jpg
/home/pi/Desktop/images/14122025/14/25/image_14122025_14_26_05_9750.jpg
/home/pi/Desktop/images/14122025/14/26/image_14122025_14_26_15_9693.jpg
/home/pi/Desktop/images/14122025/14/26/image_14122025_14_26_25_10642.jpg
/home/pi/Desktop/images/14122025/14/26/image_14122025_14_26_35_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":["1399357629","1399357623","1399357625","1399357619","1399357621","1399357618"],"photo_ids_order":["1399357618","1399357619","1399357621","1399357623","1399357625","1399357629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e5f63fc21803ed7b18577c0713614be2.jpg","text":"TemporaryFile(/tmp/multipartBody1921917682985627418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719802501,"filename":"image_14122025_14_26_35_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e56087cdd7a5372f63eae200cfcd994c.jpg","text":"TemporaryFile(/tmp/multipartBody2095346819873940244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719802501,"filename":"image_14122025_14_26_15_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c4318b36dac886cb8da50eee53adfa92.jpg","text":"TemporaryFile(/tmp/multipartBody8392281566475380223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719802501,"filename":"image_14122025_14_26_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d1f9765c0f6b6d35cef487c75d5f9e2.jpg","text":"TemporaryFile(/tmp/multipartBody859054832836340774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719802501,"filename":"image_14122025_14_25_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d79151df0062b093dc6b0f150e6d4a5.jpg","text":"TemporaryFile(/tmp/multipartBody2091408462505284192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719802501,"filename":"image_14122025_14_26_05_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d91f3d896b820b4c5c1fd43e5a279443.jpg","text":"TemporaryFile(/tmp/multipartBody2810333681296495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719802501,"filename":"image_14122025_14_25_25_10750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357621","file1":"1399357619","file0":"1399357618","file4":"1399357625","file5":"1399357629","file3":"1399357623"},"map_files_photo_id_array":[{"photo_id":"1399357629","filename":"file5"},{"photo_id":"1399357621","filename":"file2"},{"photo_id":"1399357625","filename":"file4"},{"photo_id":"1399357619","filename":"file1"},{"photo_id":"1399357618","filename":"file0"},{"photo_id":"1399357623","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357629":["hashtag1","hashtag2"]},{"1399357623":["hashtag1","hashtag2"]},{"1399357625":["hashtag1","hashtag2"]},{"1399357619":["hashtag1","hashtag2"]},{"1399357621":["hashtag1","hashtag2"]},{"1399357618":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357629, 1399357623, 1399357625, 1399357619, 1399357621, 1399357618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31151986122131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:43:02.570900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/26/image_14122025_14_26_45_9739.jpg', '/home/pi/Desktop/images/14122025/14/27/image_14122025_14_27_25_9842.jpg', '/home/pi/Desktop/images/14122025/14/27/image_14122025_14_27_35_10760.jpg', '/home/pi/Desktop/images/14122025/14/27/image_14122025_14_27_45_9767.jpg', '/home/pi/Desktop/images/14122025/14/27/image_14122025_14_27_55_9679.jpg', '/home/pi/Desktop/images/14122025/14/28/image_14122025_14_28_25_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/26/image_14122025_14_26_45_9739.jpg
/home/pi/Desktop/images/14122025/14/27/image_14122025_14_27_25_9842.jpg
/home/pi/Desktop/images/14122025/14/27/image_14122025_14_27_35_10760.jpg
/home/pi/Desktop/images/14122025/14/27/image_14122025_14_27_45_9767.jpg
/home/pi/Desktop/images/14122025/14/27/image_14122025_14_27_55_9679.jpg
/home/pi/Desktop/images/14122025/14/28/image_14122025_14_28_25_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":["1399357644","1399357641","1399357640","1399357642","1399357636","1399357639"],"photo_ids_order":["1399357636","1399357639","1399357640","1399357641","1399357642","1399357644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb38857bd74c3bb6f26b6b9049159c9a.jpg","text":"TemporaryFile(/tmp/multipartBody3907139357688367927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719843268,"filename":"image_14122025_14_28_25_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0232055ef2a133c2ac685199c365d5b5.jpg","text":"TemporaryFile(/tmp/multipartBody5257989926244064693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719843268,"filename":"image_14122025_14_27_45_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef5ce4baee37e9340d2ee1531006b141.jpg","text":"TemporaryFile(/tmp/multipartBody3018109761990777142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719843268,"filename":"image_14122025_14_27_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/12/14/55cc11112bf728dc58c2fbe787ed83d4.jpg","text":"TemporaryFile(/tmp/multipartBody5362359685070967224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719843268,"filename":"image_14122025_14_27_55_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cce93430f270f332bb305d64cef4645c.jpg","text":"TemporaryFile(/tmp/multipartBody6469738466254054362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719843268,"filename":"image_14122025_14_26_45_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92643afc3ccf91fc9d688951d29be262.jpg","text":"TemporaryFile(/tmp/multipartBody4393500727117762188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719843268,"filename":"image_14122025_14_27_25_9842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357640","file1":"1399357639","file0":"1399357636","file4":"1399357642","file5":"1399357644","file3":"1399357641"},"map_files_photo_id_array":[{"photo_id":"1399357644","filename":"file5"},{"photo_id":"1399357640","filename":"file2"},{"photo_id":"1399357642","filename":"file4"},{"photo_id":"1399357639","filename":"file1"},{"photo_id":"1399357636","filename":"file0"},{"photo_id":"1399357641","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357644":["hashtag1","hashtag2"]},{"1399357641":["hashtag1","hashtag2"]},{"1399357640":["hashtag1","hashtag2"]},{"1399357642":["hashtag1","hashtag2"]},{"1399357636":["hashtag1","hashtag2"]},{"1399357639":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357644, 1399357641, 1399357640, 1399357642, 1399357636, 1399357639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24672198295593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:43:42.119251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_51_1825.jpg', '/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_52_1662.jpg', '/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_54_1681.jpg', '/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_56_1686.jpg', '/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_57_1666.jpg', '/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_59_1788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_51_1825.jpg
/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_52_1662.jpg
/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_54_1681.jpg
/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_56_1686.jpg
/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_57_1666.jpg
/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_59_1788.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6185917854309082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:44:03.088998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/28/image_14122025_14_28_35_9718.jpg', '/home/pi/Desktop/images/14122025/14/28/image_14122025_14_28_46_10558.jpg', '/home/pi/Desktop/images/14122025/14/28/image_14122025_14_28_55_9673.jpg', '/home/pi/Desktop/images/14122025/14/28/image_14122025_14_29_05_9643.jpg', '/home/pi/Desktop/images/14122025/14/29/image_14122025_14_29_16_10752.jpg', '/home/pi/Desktop/images/14122025/14/29/image_14122025_14_29_25_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/28/image_14122025_14_28_35_9718.jpg
/home/pi/Desktop/images/14122025/14/28/image_14122025_14_28_46_10558.jpg
/home/pi/Desktop/images/14122025/14/28/image_14122025_14_28_55_9673.jpg
/home/pi/Desktop/images/14122025/14/28/image_14122025_14_29_05_9643.jpg
/home/pi/Desktop/images/14122025/14/29/image_14122025_14_29_16_10752.jpg
/home/pi/Desktop/images/14122025/14/29/image_14122025_14_29_25_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357662","1399357656","1399357659","1399357655","1399357658","1399357660"],"photo_ids_order":["1399357655","1399357656","1399357658","1399357659","1399357660","1399357662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd23e72f6e397cf5f9f5cc2c840fa56a.jpg","text":"TemporaryFile(/tmp/multipartBody26791026200465701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719903782,"filename":"image_14122025_14_29_25_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d7aa6a0151006549ef8d9e79c2a429ea.jpg","text":"TemporaryFile(/tmp/multipartBody3667936149296940258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719903782,"filename":"image_14122025_14_28_46_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3504b09ebaadc7689b307bdb67f84203.jpg","text":"TemporaryFile(/tmp/multipartBody2528885205522309766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719903782,"filename":"image_14122025_14_29_05_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f55a499e600837d2af4981fdddb55b15.jpg","text":"TemporaryFile(/tmp/multipartBody651024968776071742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719903782,"filename":"image_14122025_14_28_35_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a83778fc64ab612897a8fb2316bc8705.jpg","text":"TemporaryFile(/tmp/multipartBody3570153564476299009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719903782,"filename":"image_14122025_14_28_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/12/14/28f0ff3f064c2d84c830833dca89b442.jpg","text":"TemporaryFile(/tmp/multipartBody3091674552028189225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719903782,"filename":"image_14122025_14_29_16_10752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357658","file1":"1399357656","file0":"1399357655","file4":"1399357660","file5":"1399357662","file3":"1399357659"},"map_files_photo_id_array":[{"photo_id":"1399357662","filename":"file5"},{"photo_id":"1399357658","filename":"file2"},{"photo_id":"1399357660","filename":"file4"},{"photo_id":"1399357656","filename":"file1"},{"photo_id":"1399357655","filename":"file0"},{"photo_id":"1399357659","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357662":["hashtag1","hashtag2"]},{"1399357656":["hashtag1","hashtag2"]},{"1399357659":["hashtag1","hashtag2"]},{"1399357655":["hashtag1","hashtag2"]},{"1399357658":["hashtag1","hashtag2"]},{"1399357660":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357662, 1399357656, 1399357659, 1399357655, 1399357658, 1399357660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.99840021133423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:44:42.361316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_51_1825.jpg', '/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_52_1662.jpg', '/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_54_1681.jpg', '/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_56_1686.jpg', '/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_57_1666.jpg', '/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_59_1788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_51_1825.jpg
/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_52_1662.jpg
/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_54_1681.jpg
/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_56_1686.jpg
/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_57_1666.jpg
/home/pi/Desktop/images/04112025/13/28/image_04112025_13_28_59_1788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357683","1399357685","1399357679","1399357682","1399357681","1399357668"],"photo_ids_order":["1399357668","1399357679","1399357681","1399357682","1399357683","1399357685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d5c44e8802bb799b0f07c573d7caed29.jpg","text":"TemporaryFile(/tmp/multipartBody1355917442964434586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719943002,"filename":"image_04112025_13_28_57_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/139c53fe8be4fec78106dd9a6196da5d.jpg","text":"TemporaryFile(/tmp/multipartBody3305113019202230828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719943002,"filename":"image_04112025_13_28_59_1788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69b5aca722fae3f3919dc94563b1edb3.jpg","text":"TemporaryFile(/tmp/multipartBody1618242929742890308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719943002,"filename":"image_04112025_13_28_52_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6fc6760dd28c25bd92bde70e3f52186a.jpg","text":"TemporaryFile(/tmp/multipartBody5336426349131095839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719943002,"filename":"image_04112025_13_28_56_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a60c1e6838c14e704aeb93a201daafa2.jpg","text":"TemporaryFile(/tmp/multipartBody6614989086035528315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719943002,"filename":"image_04112025_13_28_54_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c172b60ff61cf09dd72ce5afaaa4a6d0.jpg","text":"TemporaryFile(/tmp/multipartBody2326210985870970806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719943002,"filename":"image_04112025_13_28_51_1825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357681","file1":"1399357679","file0":"1399357668","file4":"1399357683","file5":"1399357685","file3":"1399357682"},"map_files_photo_id_array":[{"photo_id":"1399357685","filename":"file5"},{"photo_id":"1399357681","filename":"file2"},{"photo_id":"1399357683","filename":"file4"},{"photo_id":"1399357679","filename":"file1"},{"photo_id":"1399357668","filename":"file0"},{"photo_id":"1399357682","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399357683":["hashtag1","hashtag2"]},{"1399357685":["hashtag1","hashtag2"]},{"1399357679":["hashtag1","hashtag2"]},{"1399357682":["hashtag1","hashtag2"]},{"1399357681":["hashtag1","hashtag2"]},{"1399357668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399357683, 1399357685, 1399357679, 1399357682, 1399357681, 1399357668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51478147506714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:45:22.639741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/29/image_14122025_14_29_35_9686.jpg', '/home/pi/Desktop/images/14122025/14/29/image_14122025_14_29_45_9761.jpg', '/home/pi/Desktop/images/14122025/14/29/image_14122025_14_29_55_10661.jpg', '/home/pi/Desktop/images/14122025/14/30/image_14122025_14_30_34_9599.jpg', '/home/pi/Desktop/images/14122025/14/30/image_14122025_14_30_45_10618.jpg', '/home/pi/Desktop/images/14122025/14/30/image_14122025_14_31_04_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/29/image_14122025_14_29_35_9686.jpg
/home/pi/Desktop/images/14122025/14/29/image_14122025_14_29_45_9761.jpg
/home/pi/Desktop/images/14122025/14/29/image_14122025_14_29_55_10661.jpg
/home/pi/Desktop/images/14122025/14/30/image_14122025_14_30_34_9599.jpg
/home/pi/Desktop/images/14122025/14/30/image_14122025_14_30_45_10618.jpg
/home/pi/Desktop/images/14122025/14/30/image_14122025_14_31_04_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":["1399357698","1399357691","1399357693","1399357687","1399357695","1399357689"],"photo_ids_order":["1399357687","1399357689","1399357691","1399357693","1399357695","1399357698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27d7b8d09713e10eefe860eae00b2e78.jpg","text":"TemporaryFile(/tmp/multipartBody4423113243077986793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719983285,"filename":"image_14122025_14_31_04_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/443cde3282a842858eeefa8af2cc6433.jpg","text":"TemporaryFile(/tmp/multipartBody7117088378458617083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719983285,"filename":"image_14122025_14_29_55_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9dc33365f8e33bfe1070127204ff188f.jpg","text":"TemporaryFile(/tmp/multipartBody9106133988414588594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719983285,"filename":"image_14122025_14_30_34_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/59d7fd3aa6287617e971cd1777107792.jpg","text":"TemporaryFile(/tmp/multipartBody1640570259063614049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719983285,"filename":"image_14122025_14_29_35_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8761d82277b0244d204a684ac95b4246.jpg","text":"TemporaryFile(/tmp/multipartBody3487315648048777477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719983285,"filename":"image_14122025_14_30_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/366523a9e18fbc6d8dbc5cb315387758.jpg","text":"TemporaryFile(/tmp/multipartBody6817732289886784056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765719983285,"filename":"image_14122025_14_29_45_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357691","file1":"1399357689","file0":"1399357687","file4":"1399357695","file5":"1399357698","file3":"1399357693"},"map_files_photo_id_array":[{"photo_id":"1399357698","filename":"file5"},{"photo_id":"1399357691","filename":"file2"},{"photo_id":"1399357695","filename":"file4"},{"photo_id":"1399357689","filename":"file1"},{"photo_id":"1399357687","filename":"file0"},{"photo_id":"1399357693","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357698":["hashtag1","hashtag2"]},{"1399357691":["hashtag1","hashtag2"]},{"1399357693":["hashtag1","hashtag2"]},{"1399357687":["hashtag1","hashtag2"]},{"1399357695":["hashtag1","hashtag2"]},{"1399357689":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357698, 1399357691, 1399357693, 1399357687, 1399357695, 1399357689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.328418493270874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:46:02.521704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 14:46:12.510872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:46:21.918870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:46:41.820624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:47:02.698927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/31/image_14122025_14_31_14_9688.jpg', '/home/pi/Desktop/images/14122025/14/31/image_14122025_14_31_24_10635.jpg', '/home/pi/Desktop/images/14122025/14/31/image_14122025_14_31_34_9765.jpg', '/home/pi/Desktop/images/14122025/14/31/image_14122025_14_31_44_9689.jpg', '/home/pi/Desktop/images/14122025/14/31/image_14122025_14_31_55_10811.jpg', '/home/pi/Desktop/images/14122025/14/31/image_14122025_14_32_04_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/31/image_14122025_14_31_14_9688.jpg
/home/pi/Desktop/images/14122025/14/31/image_14122025_14_31_24_10635.jpg
/home/pi/Desktop/images/14122025/14/31/image_14122025_14_31_34_9765.jpg
/home/pi/Desktop/images/14122025/14/31/image_14122025_14_31_44_9689.jpg
/home/pi/Desktop/images/14122025/14/31/image_14122025_14_31_55_10811.jpg
/home/pi/Desktop/images/14122025/14/31/image_14122025_14_32_04_9720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357713","1399357716","1399357718","1399357712","1399357714","1399357711"],"photo_ids_order":["1399357711","1399357712","1399357713","1399357714","1399357716","1399357718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/efdef05a72d0b1dbde2cf77c894dc13c.jpg","text":"TemporaryFile(/tmp/multipartBody868235921190066206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720087276,"filename":"image_14122025_14_31_34_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/06f92c06c101c7fe8e3e4abfd4f25471.jpg","text":"TemporaryFile(/tmp/multipartBody2258263741130548689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720087276,"filename":"image_14122025_14_31_55_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d42b44599d888c66eb13c86382b4783a.jpg","text":"TemporaryFile(/tmp/multipartBody5620882929604408179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720087276,"filename":"image_14122025_14_32_04_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d32805c005f9768f3ee9f619bf7236f6.jpg","text":"TemporaryFile(/tmp/multipartBody6996430048132819124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720087276,"filename":"image_14122025_14_31_24_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88cab036fa1f8a13ec211eda2ed93591.jpg","text":"TemporaryFile(/tmp/multipartBody6079973459559626896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720087276,"filename":"image_14122025_14_31_44_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b42b77ad00a46ac01b3fd4c8bac8bac1.jpg","text":"TemporaryFile(/tmp/multipartBody3878817571022224229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720087276,"filename":"image_14122025_14_31_14_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357713","file1":"1399357712","file0":"1399357711","file4":"1399357716","file5":"1399357718","file3":"1399357714"},"map_files_photo_id_array":[{"photo_id":"1399357718","filename":"file5"},{"photo_id":"1399357713","filename":"file2"},{"photo_id":"1399357716","filename":"file4"},{"photo_id":"1399357712","filename":"file1"},{"photo_id":"1399357711","filename":"file0"},{"photo_id":"1399357714","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357713":["hashtag1","hashtag2"]},{"1399357716":["hashtag1","hashtag2"]},{"1399357718":["hashtag1","hashtag2"]},{"1399357712":["hashtag1","hashtag2"]},{"1399357714":["hashtag1","hashtag2"]},{"1399357711":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357713, 1399357716, 1399357718, 1399357712, 1399357714, 1399357711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.80350708961487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:48:02.844059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/32/image_14122025_14_32_14_9802.jpg', '/home/pi/Desktop/images/14122025/14/32/image_14122025_14_32_44_9583.jpg', '/home/pi/Desktop/images/14122025/14/32/image_14122025_14_32_55_10566.jpg', '/home/pi/Desktop/images/14122025/14/32/image_14122025_14_33_04_9726.jpg', '/home/pi/Desktop/images/14122025/14/33/image_14122025_14_33_24_9732.jpg', '/home/pi/Desktop/images/14122025/14/33/image_14122025_14_33_34_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/32/image_14122025_14_32_14_9802.jpg
/home/pi/Desktop/images/14122025/14/32/image_14122025_14_32_44_9583.jpg
/home/pi/Desktop/images/14122025/14/32/image_14122025_14_32_55_10566.jpg
/home/pi/Desktop/images/14122025/14/32/image_14122025_14_33_04_9726.jpg
/home/pi/Desktop/images/14122025/14/33/image_14122025_14_33_24_9732.jpg
/home/pi/Desktop/images/14122025/14/33/image_14122025_14_33_34_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":["1399357731","1399357728","1399357730","1399357727","1399357726","1399357729"],"photo_ids_order":["1399357726","1399357727","1399357728","1399357729","1399357730","1399357731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dcaf493dc83375aa0b6bcc31ca735711.jpg","text":"TemporaryFile(/tmp/multipartBody3233778647863822336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720143500,"filename":"image_14122025_14_33_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/12/14/c2bd5d0fe9482eee690c952a069d4675.jpg","text":"TemporaryFile(/tmp/multipartBody3947640205947336717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720143500,"filename":"image_14122025_14_32_55_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8e063692aa0c6d6057c487e31df0fc01.jpg","text":"TemporaryFile(/tmp/multipartBody7548685719328830878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720143500,"filename":"image_14122025_14_33_24_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f463702470157c05026b773eeb1b433f.jpg","text":"TemporaryFile(/tmp/multipartBody4876382440122000153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720143500,"filename":"image_14122025_14_32_44_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2e8dcb0c8edc14bc040e7e701c5d4e7f.jpg","text":"TemporaryFile(/tmp/multipartBody2028138638143995673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720143500,"filename":"image_14122025_14_32_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/12/14/51ec71776f65597b5e918ba5948bc8c0.jpg","text":"TemporaryFile(/tmp/multipartBody882177175474444657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720143500,"filename":"image_14122025_14_33_04_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357728","file1":"1399357727","file0":"1399357726","file4":"1399357730","file5":"1399357731","file3":"1399357729"},"map_files_photo_id_array":[{"photo_id":"1399357731","filename":"file5"},{"photo_id":"1399357728","filename":"file2"},{"photo_id":"1399357730","filename":"file4"},{"photo_id":"1399357727","filename":"file1"},{"photo_id":"1399357726","filename":"file0"},{"photo_id":"1399357729","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357731":["hashtag1","hashtag2"]},{"1399357728":["hashtag1","hashtag2"]},{"1399357730":["hashtag1","hashtag2"]},{"1399357727":["hashtag1","hashtag2"]},{"1399357726":["hashtag1","hashtag2"]},{"1399357729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357731, 1399357728, 1399357730, 1399357727, 1399357726, 1399357729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9956169128418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:48:42.445812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_01_1589.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_02_1701.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_04_1658.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_06_1773.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_07_1576.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_09_1979.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_01_1589.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_02_1701.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_04_1658.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_06_1773.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_07_1576.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_09_1979.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357746","1399357748","1399357742","1399357750","1399357744","1399357738"],"photo_ids_order":["1399357738","1399357742","1399357744","1399357746","1399357748","1399357750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c48ce55ed37b2d6aa8f6a5b7a2efd71e.jpg","text":"TemporaryFile(/tmp/multipartBody7109202790167149537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720183169,"filename":"image_04112025_13_29_06_1773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d0dae6110d26e6b9f8e90bc958001cfb.jpg","text":"TemporaryFile(/tmp/multipartBody4644965166251702401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720183169,"filename":"image_04112025_13_29_07_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29e55a92cc15e7ec2e7545bb07812f84.jpg","text":"TemporaryFile(/tmp/multipartBody6115992934544481917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720183169,"filename":"image_04112025_13_29_02_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c59a6cb5b6f89b840cd03075099a72e6.jpg","text":"TemporaryFile(/tmp/multipartBody6168017829834145827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720183169,"filename":"image_04112025_13_29_09_1979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d5de33e67913e28ce843103d8f947a25.jpg","text":"TemporaryFile(/tmp/multipartBody3124499867829330407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720183169,"filename":"image_04112025_13_29_04_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/35210fbff8166642b67b230e3de8d6ec.jpg","text":"TemporaryFile(/tmp/multipartBody2846705762521497325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720183169,"filename":"image_04112025_13_29_01_1589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357744","file1":"1399357742","file0":"1399357738","file4":"1399357748","file5":"1399357750","file3":"1399357746"},"map_files_photo_id_array":[{"photo_id":"1399357750","filename":"file5"},{"photo_id":"1399357744","filename":"file2"},{"photo_id":"1399357748","filename":"file4"},{"photo_id":"1399357742","filename":"file1"},{"photo_id":"1399357738","filename":"file0"},{"photo_id":"1399357746","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399357746":["hashtag1","hashtag2"]},{"1399357748":["hashtag1","hashtag2"]},{"1399357742":["hashtag1","hashtag2"]},{"1399357750":["hashtag1","hashtag2"]},{"1399357744":["hashtag1","hashtag2"]},{"1399357738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399357746, 1399357748, 1399357742, 1399357750, 1399357744, 1399357738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.6319363117218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:49:22.814367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/34/image_14122025_14_34_34_9881.jpg', '/home/pi/Desktop/images/14122025/14/35/image_14122025_14_35_34_9683.jpg', '/home/pi/Desktop/images/14122025/14/35/image_14122025_14_35_44_9690.jpg', '/home/pi/Desktop/images/14122025/14/35/image_14122025_14_35_54_9691.jpg', '/home/pi/Desktop/images/14122025/14/36/image_14122025_14_36_24_9762.jpg', '/home/pi/Desktop/images/14122025/14/36/image_14122025_14_36_44_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/34/image_14122025_14_34_34_9881.jpg
/home/pi/Desktop/images/14122025/14/35/image_14122025_14_35_34_9683.jpg
/home/pi/Desktop/images/14122025/14/35/image_14122025_14_35_44_9690.jpg
/home/pi/Desktop/images/14122025/14/35/image_14122025_14_35_54_9691.jpg
/home/pi/Desktop/images/14122025/14/36/image_14122025_14_36_24_9762.jpg
/home/pi/Desktop/images/14122025/14/36/image_14122025_14_36_44_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.5378618240356445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 14:49:32.823123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:49:42.646559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_11_1680.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_13_1703.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_14_1742.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_16_1657.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_18_1623.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_20_1814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_11_1680.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_13_1703.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_14_1742.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_16_1657.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_18_1623.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_20_1814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357764","1399357766","1399357763","1399357762","1399357765","1399357767"],"photo_ids_order":["1399357762","1399357763","1399357764","1399357765","1399357766","1399357767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/748ae79da04dd4e2b456b45e135ec419.jpg","text":"TemporaryFile(/tmp/multipartBody3323791202360766615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720243381,"filename":"image_04112025_13_29_14_1742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ca06a1f3919bc9a101cdcf12daebe06.jpg","text":"TemporaryFile(/tmp/multipartBody3418373655034493431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720243381,"filename":"image_04112025_13_29_18_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88190fc24dc6b5892888844c19501bbd.jpg","text":"TemporaryFile(/tmp/multipartBody8033174313777805989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720243381,"filename":"image_04112025_13_29_13_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e829d53f97cbfbd51764eccf2a47601c.jpg","text":"TemporaryFile(/tmp/multipartBody320112048638015748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720243381,"filename":"image_04112025_13_29_11_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/251c75c222ac269b93b76216a939d7cf.jpg","text":"TemporaryFile(/tmp/multipartBody1192937622133158828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720243381,"filename":"image_04112025_13_29_16_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fffdbda9ccedc00caeec0c66e5e151e9.jpg","text":"TemporaryFile(/tmp/multipartBody6105671919487852784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720243381,"filename":"image_04112025_13_29_20_1814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357764","file1":"1399357763","file0":"1399357762","file4":"1399357766","file5":"1399357767","file3":"1399357765"},"map_files_photo_id_array":[{"photo_id":"1399357767","filename":"file5"},{"photo_id":"1399357764","filename":"file2"},{"photo_id":"1399357766","filename":"file4"},{"photo_id":"1399357763","filename":"file1"},{"photo_id":"1399357762","filename":"file0"},{"photo_id":"1399357765","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399357764":["hashtag1","hashtag2"]},{"1399357766":["hashtag1","hashtag2"]},{"1399357763":["hashtag1","hashtag2"]},{"1399357762":["hashtag1","hashtag2"]},{"1399357765":["hashtag1","hashtag2"]},{"1399357767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399357764, 1399357766, 1399357763, 1399357762, 1399357765, 1399357767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51494002342224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:50:21.945264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/34/image_14122025_14_34_34_9881.jpg', '/home/pi/Desktop/images/14122025/14/35/image_14122025_14_35_34_9683.jpg', '/home/pi/Desktop/images/14122025/14/35/image_14122025_14_35_44_9690.jpg', '/home/pi/Desktop/images/14122025/14/35/image_14122025_14_35_54_9691.jpg', '/home/pi/Desktop/images/14122025/14/36/image_14122025_14_36_24_9762.jpg', '/home/pi/Desktop/images/14122025/14/36/image_14122025_14_36_44_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/34/image_14122025_14_34_34_9881.jpg
/home/pi/Desktop/images/14122025/14/35/image_14122025_14_35_34_9683.jpg
/home/pi/Desktop/images/14122025/14/35/image_14122025_14_35_44_9690.jpg
/home/pi/Desktop/images/14122025/14/35/image_14122025_14_35_54_9691.jpg
/home/pi/Desktop/images/14122025/14/36/image_14122025_14_36_24_9762.jpg
/home/pi/Desktop/images/14122025/14/36/image_14122025_14_36_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":["1399357776","1399357770","1399357772","1399357775","1399357780","1399357768"],"photo_ids_order":["1399357768","1399357770","1399357772","1399357775","1399357776","1399357780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e15963d7bae79150a4d2e7eb396efde.jpg","text":"TemporaryFile(/tmp/multipartBody7434266360258669458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720282598,"filename":"image_14122025_14_36_24_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fa051e1f5d3ca7f431587b7ecfa8b699.jpg","text":"TemporaryFile(/tmp/multipartBody7485441826578486718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720282598,"filename":"image_14122025_14_35_34_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eaf41b840067753c371c5b6fcd5ec02b.jpg","text":"TemporaryFile(/tmp/multipartBody238076750817553582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720282598,"filename":"image_14122025_14_35_44_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4be2cf8927a244a86b6b1bb30ce33344.jpg","text":"TemporaryFile(/tmp/multipartBody6643113988428437357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720282598,"filename":"image_14122025_14_35_54_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/342ff25f1d1f72f971e2a78ada91cbb9.jpg","text":"TemporaryFile(/tmp/multipartBody870189892423102612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720282598,"filename":"image_14122025_14_36_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/12/14/b9253f75f85f4b60f1f590b69ae81071.jpg","text":"TemporaryFile(/tmp/multipartBody7600983066965824996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720282598,"filename":"image_14122025_14_34_34_9881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357772","file1":"1399357770","file0":"1399357768","file4":"1399357776","file5":"1399357780","file3":"1399357775"},"map_files_photo_id_array":[{"photo_id":"1399357780","filename":"file5"},{"photo_id":"1399357772","filename":"file2"},{"photo_id":"1399357776","filename":"file4"},{"photo_id":"1399357770","filename":"file1"},{"photo_id":"1399357768","filename":"file0"},{"photo_id":"1399357775","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357776":["hashtag1","hashtag2"]},{"1399357770":["hashtag1","hashtag2"]},{"1399357772":["hashtag1","hashtag2"]},{"1399357775":["hashtag1","hashtag2"]},{"1399357780":["hashtag1","hashtag2"]},{"1399357768":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357776, 1399357770, 1399357772, 1399357775, 1399357780, 1399357768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63170599937439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:51:02.741338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/36/image_14122025_14_36_54_9706.jpg', '/home/pi/Desktop/images/14122025/14/36/image_14122025_14_37_04_10642.jpg', '/home/pi/Desktop/images/14122025/14/37/image_14122025_14_37_14_9660.jpg', '/home/pi/Desktop/images/14122025/14/37/image_14122025_14_37_24_9778.jpg', '/home/pi/Desktop/images/14122025/14/37/image_14122025_14_37_34_9820.jpg', '/home/pi/Desktop/images/14122025/14/37/image_14122025_14_37_45_10836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/36/image_14122025_14_36_54_9706.jpg
/home/pi/Desktop/images/14122025/14/36/image_14122025_14_37_04_10642.jpg
/home/pi/Desktop/images/14122025/14/37/image_14122025_14_37_14_9660.jpg
/home/pi/Desktop/images/14122025/14/37/image_14122025_14_37_24_9778.jpg
/home/pi/Desktop/images/14122025/14/37/image_14122025_14_37_34_9820.jpg
/home/pi/Desktop/images/14122025/14/37/image_14122025_14_37_45_10836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357782","1399357784","1399357783","1399357786","1399357785","1399357788"],"photo_ids_order":["1399357782","1399357783","1399357784","1399357785","1399357786","1399357788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a43d5e5609d189f1cd211207a5ed0f8.jpg","text":"TemporaryFile(/tmp/multipartBody5158268454155534267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720323450,"filename":"image_14122025_14_36_54_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c0f664bf1b4831f7957f74ca5c4d4d36.jpg","text":"TemporaryFile(/tmp/multipartBody6642918982619556749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720323450,"filename":"image_14122025_14_37_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d68c5a4cecc284500f374a90e36f5662.jpg","text":"TemporaryFile(/tmp/multipartBody3153808371292764214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720323450,"filename":"image_14122025_14_37_04_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/46c32e5bd902562f57cfb441db066d87.jpg","text":"TemporaryFile(/tmp/multipartBody3025328913213718401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720323450,"filename":"image_14122025_14_37_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/12/14/4efe719b2a1f222f3605d43b09148964.jpg","text":"TemporaryFile(/tmp/multipartBody1018843450645968097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720323450,"filename":"image_14122025_14_37_24_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a56a2a0a0e4a18f2055cff9990c9838e.jpg","text":"TemporaryFile(/tmp/multipartBody7463618812433947086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720323450,"filename":"image_14122025_14_37_45_10836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357784","file1":"1399357783","file0":"1399357782","file4":"1399357786","file5":"1399357788","file3":"1399357785"},"map_files_photo_id_array":[{"photo_id":"1399357788","filename":"file5"},{"photo_id":"1399357784","filename":"file2"},{"photo_id":"1399357786","filename":"file4"},{"photo_id":"1399357783","filename":"file1"},{"photo_id":"1399357782","filename":"file0"},{"photo_id":"1399357785","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357782":["hashtag1","hashtag2"]},{"1399357784":["hashtag1","hashtag2"]},{"1399357783":["hashtag1","hashtag2"]},{"1399357786":["hashtag1","hashtag2"]},{"1399357785":["hashtag1","hashtag2"]},{"1399357788":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357782, 1399357784, 1399357783, 1399357786, 1399357785, 1399357788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11208653450012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:51:42.170505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_21_1872.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_23_1839.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_25_1751.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_27_1529.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_28_1789.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_31_2250.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_21_1872.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_23_1839.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_25_1751.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_27_1529.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_28_1789.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_31_2250.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357797","1399357796","1399357800","1399357799","1399357798","1399357794"],"photo_ids_order":["1399357794","1399357796","1399357797","1399357798","1399357799","1399357800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b70618455bbf3e6d6a5f01bbe2f4e476.jpg","text":"TemporaryFile(/tmp/multipartBody2397181260391599622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720362879,"filename":"image_04112025_13_29_25_1751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d0fe901b41ed606158e2d241da1593e1.jpg","text":"TemporaryFile(/tmp/multipartBody7033341013114034153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720362879,"filename":"image_04112025_13_29_23_1839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dcb763cc69e32272dbd3ce93932cbde2.jpg","text":"TemporaryFile(/tmp/multipartBody1094941060464785093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720362879,"filename":"image_04112025_13_29_31_2250.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29419da5098ccdff1b6d8fd5685e54f4.jpg","text":"TemporaryFile(/tmp/multipartBody5474125397682103266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720362879,"filename":"image_04112025_13_29_28_1789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1819742374439eba34c63ae967da60de.jpg","text":"TemporaryFile(/tmp/multipartBody4089616607935179529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720362879,"filename":"image_04112025_13_29_27_1529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/96c67a70ab02e1f5ea5294a85d71bb02.jpg","text":"TemporaryFile(/tmp/multipartBody6986291733299425103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720362879,"filename":"image_04112025_13_29_21_1872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357797","file1":"1399357796","file0":"1399357794","file4":"1399357799","file5":"1399357800","file3":"1399357798"},"map_files_photo_id_array":[{"photo_id":"1399357800","filename":"file5"},{"photo_id":"1399357797","filename":"file2"},{"photo_id":"1399357799","filename":"file4"},{"photo_id":"1399357796","filename":"file1"},{"photo_id":"1399357794","filename":"file0"},{"photo_id":"1399357798","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399357797":["hashtag1","hashtag2"]},{"1399357796":["hashtag1","hashtag2"]},{"1399357800":["hashtag1","hashtag2"]},{"1399357799":["hashtag1","hashtag2"]},{"1399357798":["hashtag1","hashtag2"]},{"1399357794":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399357797, 1399357796, 1399357800, 1399357799, 1399357798, 1399357794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.309836864471436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:52:22.419837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/37/image_14122025_14_37_54_9758.jpg', '/home/pi/Desktop/images/14122025/14/37/image_14122025_14_38_04_9655.jpg', '/home/pi/Desktop/images/14122025/14/38/image_14122025_14_38_25_9895.jpg', '/home/pi/Desktop/images/14122025/14/38/image_14122025_14_38_34_9569.jpg', '/home/pi/Desktop/images/14122025/14/38/image_14122025_14_38_44_9641.jpg', '/home/pi/Desktop/images/14122025/14/38/image_14122025_14_38_54_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/37/image_14122025_14_37_54_9758.jpg
/home/pi/Desktop/images/14122025/14/37/image_14122025_14_38_04_9655.jpg
/home/pi/Desktop/images/14122025/14/38/image_14122025_14_38_25_9895.jpg
/home/pi/Desktop/images/14122025/14/38/image_14122025_14_38_34_9569.jpg
/home/pi/Desktop/images/14122025/14/38/image_14122025_14_38_44_9641.jpg
/home/pi/Desktop/images/14122025/14/38/image_14122025_14_38_54_10629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357809","1399357802","1399357805","1399357813","1399357807","1399357801"],"photo_ids_order":["1399357801","1399357802","1399357805","1399357807","1399357809","1399357813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b171022c944d379fe008a2aa11433303.jpg","text":"TemporaryFile(/tmp/multipartBody710249430306683851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720403075,"filename":"image_14122025_14_38_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b30039f293fa4e173bf7c86b569dcab.jpg","text":"TemporaryFile(/tmp/multipartBody5436794881627830285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720403075,"filename":"image_14122025_14_38_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/868919088139eb1fb9607f49e7b4746b.jpg","text":"TemporaryFile(/tmp/multipartBody6837885632676113499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720403075,"filename":"image_14122025_14_38_25_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd384b29d2a8cce538b1ecdd05477f54.jpg","text":"TemporaryFile(/tmp/multipartBody8625665502577324204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720403075,"filename":"image_14122025_14_38_54_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/913df8f0fc58e79a429b779bc8615689.jpg","text":"TemporaryFile(/tmp/multipartBody2697462230948716395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720403075,"filename":"image_14122025_14_38_34_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f06411334c0bed9b4cb58c5764bbe438.jpg","text":"TemporaryFile(/tmp/multipartBody679777833818082591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720403075,"filename":"image_14122025_14_37_54_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357805","file1":"1399357802","file0":"1399357801","file4":"1399357809","file5":"1399357813","file3":"1399357807"},"map_files_photo_id_array":[{"photo_id":"1399357813","filename":"file5"},{"photo_id":"1399357805","filename":"file2"},{"photo_id":"1399357809","filename":"file4"},{"photo_id":"1399357802","filename":"file1"},{"photo_id":"1399357801","filename":"file0"},{"photo_id":"1399357807","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357809":["hashtag1","hashtag2"]},{"1399357802":["hashtag1","hashtag2"]},{"1399357805":["hashtag1","hashtag2"]},{"1399357813":["hashtag1","hashtag2"]},{"1399357807":["hashtag1","hashtag2"]},{"1399357801":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357809, 1399357802, 1399357805, 1399357813, 1399357807, 1399357801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.711833477020264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:53:03.319009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/38/image_14122025_14_39_04_9796.jpg', '/home/pi/Desktop/images/14122025/14/39/image_14122025_14_39_14_10068.jpg', '/home/pi/Desktop/images/14122025/14/39/image_14122025_14_39_35_10712.jpg', '/home/pi/Desktop/images/14122025/14/39/image_14122025_14_39_44_9691.jpg', '/home/pi/Desktop/images/14122025/14/40/image_14122025_14_40_14_10811.jpg', '/home/pi/Desktop/images/14122025/14/40/image_14122025_14_40_24_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/38/image_14122025_14_39_04_9796.jpg
/home/pi/Desktop/images/14122025/14/39/image_14122025_14_39_14_10068.jpg
/home/pi/Desktop/images/14122025/14/39/image_14122025_14_39_35_10712.jpg
/home/pi/Desktop/images/14122025/14/39/image_14122025_14_39_44_9691.jpg
/home/pi/Desktop/images/14122025/14/40/image_14122025_14_40_14_10811.jpg
/home/pi/Desktop/images/14122025/14/40/image_14122025_14_40_24_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357824","1399357827","1399357823","1399357825","1399357822","1399357819"],"photo_ids_order":["1399357819","1399357822","1399357823","1399357824","1399357825","1399357827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ed9c5d5a99f3560f95dc767d84daa04.jpg","text":"TemporaryFile(/tmp/multipartBody6435695626798215068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720444004,"filename":"image_14122025_14_39_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/12/14/1902b320b01671b0d08b47e746ce5b20.jpg","text":"TemporaryFile(/tmp/multipartBody4837333926124185127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720444004,"filename":"image_14122025_14_40_24_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a86da3b83482341d116ab263b655b15d.jpg","text":"TemporaryFile(/tmp/multipartBody1162170470438615703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720444004,"filename":"image_14122025_14_39_35_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/626dc841a704d33d080ac1e29b9efee3.jpg","text":"TemporaryFile(/tmp/multipartBody1163654644694771711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720444004,"filename":"image_14122025_14_40_14_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/966a768a490b9f0a31277d70e82e3cf2.jpg","text":"TemporaryFile(/tmp/multipartBody1059339159015067432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720444004,"filename":"image_14122025_14_39_14_10068.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81afb3ca4cc81e11e3e32e9e52e9ba84.jpg","text":"TemporaryFile(/tmp/multipartBody3751051937876298034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720444004,"filename":"image_14122025_14_39_04_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357823","file1":"1399357822","file0":"1399357819","file4":"1399357825","file5":"1399357827","file3":"1399357824"},"map_files_photo_id_array":[{"photo_id":"1399357827","filename":"file5"},{"photo_id":"1399357823","filename":"file2"},{"photo_id":"1399357825","filename":"file4"},{"photo_id":"1399357822","filename":"file1"},{"photo_id":"1399357819","filename":"file0"},{"photo_id":"1399357824","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357824":["hashtag1","hashtag2"]},{"1399357827":["hashtag1","hashtag2"]},{"1399357823":["hashtag1","hashtag2"]},{"1399357825":["hashtag1","hashtag2"]},{"1399357822":["hashtag1","hashtag2"]},{"1399357819":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357824, 1399357827, 1399357823, 1399357825, 1399357822, 1399357819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9294810295105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:53:42.591647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_32_1893.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_34_1712.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_48_13388.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_49_1608.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_51_1700.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_53_1642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_32_1893.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_34_1712.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_48_13388.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_49_1608.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_51_1700.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_53_1642.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.628359317779541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:54:02.449245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/40/image_14122025_14_40_34_9701.jpg', '/home/pi/Desktop/images/14122025/14/40/image_14122025_14_40_45_10713.jpg', '/home/pi/Desktop/images/14122025/14/41/image_14122025_14_41_14_9843.jpg', '/home/pi/Desktop/images/14122025/14/41/image_14122025_14_41_24_9764.jpg', '/home/pi/Desktop/images/14122025/14/41/image_14122025_14_41_34_10603.jpg', '/home/pi/Desktop/images/14122025/14/41/image_14122025_14_41_44_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/40/image_14122025_14_40_34_9701.jpg
/home/pi/Desktop/images/14122025/14/40/image_14122025_14_40_45_10713.jpg
/home/pi/Desktop/images/14122025/14/41/image_14122025_14_41_14_9843.jpg
/home/pi/Desktop/images/14122025/14/41/image_14122025_14_41_24_9764.jpg
/home/pi/Desktop/images/14122025/14/41/image_14122025_14_41_34_10603.jpg
/home/pi/Desktop/images/14122025/14/41/image_14122025_14_41_44_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357842","1399357845","1399357847","1399357841","1399357844","1399357843"],"photo_ids_order":["1399357841","1399357842","1399357843","1399357844","1399357845","1399357847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/afcd0e2e73b335aa6379fd490466fbbf.jpg","text":"TemporaryFile(/tmp/multipartBody1149064520615829237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720503134,"filename":"image_14122025_14_40_45_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ccc12b371d327ebb96535bdc3022a1d4.jpg","text":"TemporaryFile(/tmp/multipartBody7667888789130714169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720503134,"filename":"image_14122025_14_41_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/12/14/00f43c603cd48007cc12de96c6675b50.jpg","text":"TemporaryFile(/tmp/multipartBody8525734885415221637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720503134,"filename":"image_14122025_14_41_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/60a6034941f72df5dc0ad0c80a6990a8.jpg","text":"TemporaryFile(/tmp/multipartBody4910804201413943441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720503134,"filename":"image_14122025_14_40_34_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7e5502e532281902a3495c68de133cc9.jpg","text":"TemporaryFile(/tmp/multipartBody7488801457553524244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720503134,"filename":"image_14122025_14_41_24_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/120ec8c20b22db433dfbd652f5009325.jpg","text":"TemporaryFile(/tmp/multipartBody8962336801459220815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720503134,"filename":"image_14122025_14_41_14_9843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357843","file1":"1399357842","file0":"1399357841","file4":"1399357845","file5":"1399357847","file3":"1399357844"},"map_files_photo_id_array":[{"photo_id":"1399357847","filename":"file5"},{"photo_id":"1399357843","filename":"file2"},{"photo_id":"1399357845","filename":"file4"},{"photo_id":"1399357842","filename":"file1"},{"photo_id":"1399357841","filename":"file0"},{"photo_id":"1399357844","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357842":["hashtag1","hashtag2"]},{"1399357845":["hashtag1","hashtag2"]},{"1399357847":["hashtag1","hashtag2"]},{"1399357841":["hashtag1","hashtag2"]},{"1399357844":["hashtag1","hashtag2"]},{"1399357843":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357842, 1399357845, 1399357847, 1399357841, 1399357844, 1399357843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30863809585571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:54:41.944040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_32_1893.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_34_1712.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_48_13388.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_49_1608.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_51_1700.jpg', '/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_53_1642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_32_1893.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_34_1712.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_48_13388.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_49_1608.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_51_1700.jpg
/home/pi/Desktop/images/04112025/13/29/image_04112025_13_29_53_1642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357860","1399357857","1399357859","1399357856","1399357858","1399357852"],"photo_ids_order":["1399357852","1399357856","1399357857","1399357858","1399357859","1399357860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9895414d05d0d4e5de300a14a4498d46.jpg","text":"TemporaryFile(/tmp/multipartBody575926798588826775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720542531,"filename":"image_04112025_13_29_53_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6a589449c5764b50655d7dd58c5aa5e5.jpg","text":"TemporaryFile(/tmp/multipartBody6132155619219560212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720542531,"filename":"image_04112025_13_29_48_13388.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7bb8a094798da45e866e4457b0de34c6.jpg","text":"TemporaryFile(/tmp/multipartBody5034637844122839259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720542531,"filename":"image_04112025_13_29_51_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/80aef016873a2d0271d475c9eb0487d4.jpg","text":"TemporaryFile(/tmp/multipartBody4106615159818322057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720542531,"filename":"image_04112025_13_29_34_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be1fb6fa011e872394a1bb916f1ee33f.jpg","text":"TemporaryFile(/tmp/multipartBody8234283767431429735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720542531,"filename":"image_04112025_13_29_49_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da2735beac9f5db95d0af9fb6edd791c.jpg","text":"TemporaryFile(/tmp/multipartBody5636016389367081191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720542531,"filename":"image_04112025_13_29_32_1893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357857","file1":"1399357856","file0":"1399357852","file4":"1399357859","file5":"1399357860","file3":"1399357858"},"map_files_photo_id_array":[{"photo_id":"1399357860","filename":"file5"},{"photo_id":"1399357857","filename":"file2"},{"photo_id":"1399357859","filename":"file4"},{"photo_id":"1399357856","filename":"file1"},{"photo_id":"1399357852","filename":"file0"},{"photo_id":"1399357858","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399357860":["hashtag1","hashtag2"]},{"1399357857":["hashtag1","hashtag2"]},{"1399357859":["hashtag1","hashtag2"]},{"1399357856":["hashtag1","hashtag2"]},{"1399357858":["hashtag1","hashtag2"]},{"1399357852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399357860, 1399357857, 1399357859, 1399357856, 1399357858, 1399357852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.143868923187256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:55:22.184404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/41/image_14122025_14_41_54_9678.jpg', '/home/pi/Desktop/images/14122025/14/41/image_14122025_14_42_05_10762.jpg', '/home/pi/Desktop/images/14122025/14/42/image_14122025_14_42_14_9647.jpg', '/home/pi/Desktop/images/14122025/14/42/image_14122025_14_42_24_9713.jpg', '/home/pi/Desktop/images/14122025/14/42/image_14122025_14_42_34_9812.jpg', '/home/pi/Desktop/images/14122025/14/42/image_14122025_14_42_44_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/41/image_14122025_14_41_54_9678.jpg
/home/pi/Desktop/images/14122025/14/41/image_14122025_14_42_05_10762.jpg
/home/pi/Desktop/images/14122025/14/42/image_14122025_14_42_14_9647.jpg
/home/pi/Desktop/images/14122025/14/42/image_14122025_14_42_24_9713.jpg
/home/pi/Desktop/images/14122025/14/42/image_14122025_14_42_34_9812.jpg
/home/pi/Desktop/images/14122025/14/42/image_14122025_14_42_44_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":["1399357868","1399357862","1399357870","1399357864","1399357873","1399357866"],"photo_ids_order":["1399357862","1399357864","1399357866","1399357868","1399357870","1399357873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/737f13cc55ff2119a5d2537b16600b8a.jpg","text":"TemporaryFile(/tmp/multipartBody5405320721556672863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720582826,"filename":"image_14122025_14_42_24_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2e0582b8f7f629f9fe6e22c417491e21.jpg","text":"TemporaryFile(/tmp/multipartBody4623836309405112310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720582826,"filename":"image_14122025_14_41_54_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ebefb3db83d1184cf0cecfa6e6243539.jpg","text":"TemporaryFile(/tmp/multipartBody2988117599243501653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720582826,"filename":"image_14122025_14_42_34_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/58e9ce253931a92418400391826ccd64.jpg","text":"TemporaryFile(/tmp/multipartBody4035105245445934862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720582826,"filename":"image_14122025_14_42_05_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9aefc6cef97417a58251744de00f19a1.jpg","text":"TemporaryFile(/tmp/multipartBody5660004031471767391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720582826,"filename":"image_14122025_14_42_44_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a9d85074ee2afc703f7329949c1d87b4.jpg","text":"TemporaryFile(/tmp/multipartBody5005557206515780429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720582826,"filename":"image_14122025_14_42_14_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357866","file1":"1399357864","file0":"1399357862","file4":"1399357870","file5":"1399357873","file3":"1399357868"},"map_files_photo_id_array":[{"photo_id":"1399357873","filename":"file5"},{"photo_id":"1399357866","filename":"file2"},{"photo_id":"1399357870","filename":"file4"},{"photo_id":"1399357864","filename":"file1"},{"photo_id":"1399357862","filename":"file0"},{"photo_id":"1399357868","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357868":["hashtag1","hashtag2"]},{"1399357862":["hashtag1","hashtag2"]},{"1399357870":["hashtag1","hashtag2"]},{"1399357864":["hashtag1","hashtag2"]},{"1399357873":["hashtag1","hashtag2"]},{"1399357866":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357868, 1399357862, 1399357870, 1399357864, 1399357873, 1399357866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.053502321243286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:56:03.034143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/42/image_14122025_14_42_54_9724.jpg', '/home/pi/Desktop/images/14122025/14/42/image_14122025_14_43_04_9656.jpg', '/home/pi/Desktop/images/14122025/14/43/image_14122025_14_43_14_10701.jpg', '/home/pi/Desktop/images/14122025/14/43/image_14122025_14_43_24_9605.jpg', '/home/pi/Desktop/images/14122025/14/43/image_14122025_14_43_45_10894.jpg', '/home/pi/Desktop/images/14122025/14/43/image_14122025_14_43_54_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/42/image_14122025_14_42_54_9724.jpg
/home/pi/Desktop/images/14122025/14/42/image_14122025_14_43_04_9656.jpg
/home/pi/Desktop/images/14122025/14/43/image_14122025_14_43_14_10701.jpg
/home/pi/Desktop/images/14122025/14/43/image_14122025_14_43_24_9605.jpg
/home/pi/Desktop/images/14122025/14/43/image_14122025_14_43_45_10894.jpg
/home/pi/Desktop/images/14122025/14/43/image_14122025_14_43_54_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":["1399357875","1399357878","1399357877","1399357874","1399357876","1399357879"],"photo_ids_order":["1399357874","1399357875","1399357876","1399357877","1399357878","1399357879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6666454b308fb3fb142c883e497303cd.jpg","text":"TemporaryFile(/tmp/multipartBody2481745657548317258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720623674,"filename":"image_14122025_14_43_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b269ba42ad66351d9a60aceff12363b.jpg","text":"TemporaryFile(/tmp/multipartBody7339639766059005431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720623674,"filename":"image_14122025_14_43_45_10894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc8ffdea891fb10f09881a7c7fc9e0cd.jpg","text":"TemporaryFile(/tmp/multipartBody6063360386073157849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720623674,"filename":"image_14122025_14_43_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/12/14/ec15ad583adbb305e32db30e94166fd7.jpg","text":"TemporaryFile(/tmp/multipartBody103477073295036129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720623674,"filename":"image_14122025_14_42_54_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ebd356315c510452d8c30aaaeb44f64b.jpg","text":"TemporaryFile(/tmp/multipartBody6651160094165157990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720623674,"filename":"image_14122025_14_43_14_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7613df88be33b309cfcdb216075a54a3.jpg","text":"TemporaryFile(/tmp/multipartBody8094740274348193658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720623674,"filename":"image_14122025_14_43_54_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357876","file1":"1399357875","file0":"1399357874","file4":"1399357878","file5":"1399357879","file3":"1399357877"},"map_files_photo_id_array":[{"photo_id":"1399357879","filename":"file5"},{"photo_id":"1399357876","filename":"file2"},{"photo_id":"1399357878","filename":"file4"},{"photo_id":"1399357875","filename":"file1"},{"photo_id":"1399357874","filename":"file0"},{"photo_id":"1399357877","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357875":["hashtag1","hashtag2"]},{"1399357878":["hashtag1","hashtag2"]},{"1399357877":["hashtag1","hashtag2"]},{"1399357874":["hashtag1","hashtag2"]},{"1399357876":["hashtag1","hashtag2"]},{"1399357879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357875, 1399357878, 1399357877, 1399357874, 1399357876, 1399357879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.625211238861084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 14:56:42.493281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_06_3019.jpg', '/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_10_3744.jpg', '/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_12_2635.jpg', '/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_16_3581.jpg', '/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_19_2683.jpg', '/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_22_3326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_06_3019.jpg
/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_10_3744.jpg
/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_12_2635.jpg
/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_16_3581.jpg
/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_19_2683.jpg
/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_22_3326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357895","1399357886","1399357901","1399357906","1399357899","1399357903"],"photo_ids_order":["1399357886","1399357895","1399357899","1399357901","1399357903","1399357906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5cfc41aca25a97dca61f319d277ae083.jpg","text":"TemporaryFile(/tmp/multipartBody2638356794745277373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720663270,"filename":"image_04112025_13_31_10_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24caf0b4585e1d24a42340838d662d91.jpg","text":"TemporaryFile(/tmp/multipartBody8066066270602682905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720663270,"filename":"image_04112025_13_31_06_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/984a0ec42911e5e5ec85f0b1ffe4df00.jpg","text":"TemporaryFile(/tmp/multipartBody7066465206315065569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720663270,"filename":"image_04112025_13_31_16_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a20d2f5d1256b89426633e91ab664716.jpg","text":"TemporaryFile(/tmp/multipartBody4098056085336057000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720663270,"filename":"image_04112025_13_31_22_3326.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4cfac37bb634b9cbc4ad38aa6f4d95b4.jpg","text":"TemporaryFile(/tmp/multipartBody5731103369650299929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720663270,"filename":"image_04112025_13_31_12_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6af98a00ae02adc3142d96b1796f7618.jpg","text":"TemporaryFile(/tmp/multipartBody5370491050089868023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720663270,"filename":"image_04112025_13_31_19_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357899","file1":"1399357895","file0":"1399357886","file4":"1399357903","file5":"1399357906","file3":"1399357901"},"map_files_photo_id_array":[{"photo_id":"1399357906","filename":"file5"},{"photo_id":"1399357899","filename":"file2"},{"photo_id":"1399357903","filename":"file4"},{"photo_id":"1399357895","filename":"file1"},{"photo_id":"1399357886","filename":"file0"},{"photo_id":"1399357901","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399357895":["hashtag1","hashtag2"]},{"1399357886":["hashtag1","hashtag2"]},{"1399357901":["hashtag1","hashtag2"]},{"1399357906":["hashtag1","hashtag2"]},{"1399357899":["hashtag1","hashtag2"]},{"1399357903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399357895, 1399357886, 1399357901, 1399357906, 1399357899, 1399357903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02025127410889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 14:57:22.792369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/43/image_14122025_14_44_04_9738.jpg', '/home/pi/Desktop/images/14122025/14/44/image_14122025_14_44_14_9655.jpg', '/home/pi/Desktop/images/14122025/14/44/image_14122025_14_44_24_10750.jpg', '/home/pi/Desktop/images/14122025/14/44/image_14122025_14_44_34_9587.jpg', '/home/pi/Desktop/images/14122025/14/44/image_14122025_14_44_45_10603.jpg', '/home/pi/Desktop/images/14122025/14/44/image_14122025_14_44_54_9861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/43/image_14122025_14_44_04_9738.jpg
/home/pi/Desktop/images/14122025/14/44/image_14122025_14_44_14_9655.jpg
/home/pi/Desktop/images/14122025/14/44/image_14122025_14_44_24_10750.jpg
/home/pi/Desktop/images/14122025/14/44/image_14122025_14_44_34_9587.jpg
/home/pi/Desktop/images/14122025/14/44/image_14122025_14_44_45_10603.jpg
/home/pi/Desktop/images/14122025/14/44/image_14122025_14_44_54_9861.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357911","1399357914","1399357913","1399357916","1399357918","1399357915"],"photo_ids_order":["1399357911","1399357913","1399357914","1399357915","1399357916","1399357918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0159eb05f9d4db17bd02a8125a18ed30.jpg","text":"TemporaryFile(/tmp/multipartBody5362701750400186164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720703487,"filename":"image_14122025_14_44_04_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ccae9cabca90294ff338e7835e538be0.jpg","text":"TemporaryFile(/tmp/multipartBody4592940243934878765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720703487,"filename":"image_14122025_14_44_24_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c7420a9cfa657ffb122629b895c98835.jpg","text":"TemporaryFile(/tmp/multipartBody3329833090993445114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720703487,"filename":"image_14122025_14_44_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/55fe55b7914dd0c207cc052341814b34.jpg","text":"TemporaryFile(/tmp/multipartBody6280195214919107633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720703487,"filename":"image_14122025_14_44_45_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d3fbb8dccca29f27bfa3954994953bb4.jpg","text":"TemporaryFile(/tmp/multipartBody6211657084396608455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720703487,"filename":"image_14122025_14_44_54_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/17e50f8dcb87831497e66ce210f83965.jpg","text":"TemporaryFile(/tmp/multipartBody780548557242334989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720703487,"filename":"image_14122025_14_44_34_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357914","file1":"1399357913","file0":"1399357911","file4":"1399357916","file5":"1399357918","file3":"1399357915"},"map_files_photo_id_array":[{"photo_id":"1399357918","filename":"file5"},{"photo_id":"1399357914","filename":"file2"},{"photo_id":"1399357916","filename":"file4"},{"photo_id":"1399357913","filename":"file1"},{"photo_id":"1399357911","filename":"file0"},{"photo_id":"1399357915","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357911":["hashtag1","hashtag2"]},{"1399357914":["hashtag1","hashtag2"]},{"1399357913":["hashtag1","hashtag2"]},{"1399357916":["hashtag1","hashtag2"]},{"1399357918":["hashtag1","hashtag2"]},{"1399357915":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357911, 1399357914, 1399357913, 1399357916, 1399357918, 1399357915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42150354385376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 14:59:02.800483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/45/image_14122025_14_45_14_9612.jpg', '/home/pi/Desktop/images/14122025/14/45/image_14122025_14_45_25_10775.jpg', '/home/pi/Desktop/images/14122025/14/45/image_14122025_14_45_34_9579.jpg', '/home/pi/Desktop/images/14122025/14/45/image_14122025_14_45_44_9712.jpg', '/home/pi/Desktop/images/14122025/14/45/image_14122025_14_46_04_9680.jpg', '/home/pi/Desktop/images/14122025/14/46/image_14122025_14_46_14_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/45/image_14122025_14_45_14_9612.jpg
/home/pi/Desktop/images/14122025/14/45/image_14122025_14_45_25_10775.jpg
/home/pi/Desktop/images/14122025/14/45/image_14122025_14_45_34_9579.jpg
/home/pi/Desktop/images/14122025/14/45/image_14122025_14_45_44_9712.jpg
/home/pi/Desktop/images/14122025/14/45/image_14122025_14_46_04_9680.jpg
/home/pi/Desktop/images/14122025/14/46/image_14122025_14_46_14_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399357935","1399357923","1399357926","1399357931","1399357978","1399358017"],"photo_ids_order":["1399357923","1399357926","1399357931","1399357935","1399357978","1399358017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f4c41c829aba7514ced3dc116b791966.jpg","text":"TemporaryFile(/tmp/multipartBody3911937684173106607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720803734,"filename":"image_14122025_14_45_44_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c00d57eac3bc24f291284a2c36a981c.jpg","text":"TemporaryFile(/tmp/multipartBody3361865455059921206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720803734,"filename":"image_14122025_14_45_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/12/14/2a27c0a3636d2edc245cd47057ca31ac.jpg","text":"TemporaryFile(/tmp/multipartBody8478279770837758234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720803734,"filename":"image_14122025_14_45_25_10775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/99c9b45e9458c8852cc75f43aaf7dc27.jpg","text":"TemporaryFile(/tmp/multipartBody8074679342109399536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720803734,"filename":"image_14122025_14_45_34_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f674471310029ee72846350b97b3089.jpg","text":"TemporaryFile(/tmp/multipartBody3120937094656010356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720803734,"filename":"image_14122025_14_46_04_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/08728e24a270058a13e033e0915869a4.jpg","text":"TemporaryFile(/tmp/multipartBody1920049141287295000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720803734,"filename":"image_14122025_14_46_14_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399357931","file1":"1399357926","file0":"1399357923","file4":"1399357978","file5":"1399358017","file3":"1399357935"},"map_files_photo_id_array":[{"photo_id":"1399358017","filename":"file5"},{"photo_id":"1399357931","filename":"file2"},{"photo_id":"1399357978","filename":"file4"},{"photo_id":"1399357926","filename":"file1"},{"photo_id":"1399357923","filename":"file0"},{"photo_id":"1399357935","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399357935":["hashtag1","hashtag2"]},{"1399357923":["hashtag1","hashtag2"]},{"1399357926":["hashtag1","hashtag2"]},{"1399357931":["hashtag1","hashtag2"]},{"1399357978":["hashtag1","hashtag2"]},{"1399358017":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399357935, 1399357923, 1399357926, 1399357931, 1399357978, 1399358017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35066223144531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:00:02.906691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/46/image_14122025_14_46_35_10731.jpg', '/home/pi/Desktop/images/14122025/14/46/image_14122025_14_46_44_9621.jpg', '/home/pi/Desktop/images/14122025/14/46/image_14122025_14_46_54_9630.jpg', '/home/pi/Desktop/images/14122025/14/47/image_14122025_14_47_15_10015.jpg', '/home/pi/Desktop/images/14122025/14/47/image_14122025_14_47_34_10233.jpg', '/home/pi/Desktop/images/14122025/14/47/image_14122025_14_47_44_9879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/46/image_14122025_14_46_35_10731.jpg
/home/pi/Desktop/images/14122025/14/46/image_14122025_14_46_44_9621.jpg
/home/pi/Desktop/images/14122025/14/46/image_14122025_14_46_54_9630.jpg
/home/pi/Desktop/images/14122025/14/47/image_14122025_14_47_15_10015.jpg
/home/pi/Desktop/images/14122025/14/47/image_14122025_14_47_34_10233.jpg
/home/pi/Desktop/images/14122025/14/47/image_14122025_14_47_44_9879.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399358417","1399358452","1399358496","1399358308","1399358379","1399358343"],"photo_ids_order":["1399358308","1399358343","1399358379","1399358417","1399358452","1399358496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/41d4e3282074296709b661a1ce5e9234.jpg","text":"TemporaryFile(/tmp/multipartBody5002538517507597363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720863562,"filename":"image_14122025_14_47_15_10015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba6c24b61280c6291c69c61e7b2053d0.jpg","text":"TemporaryFile(/tmp/multipartBody6185264880656107763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720863562,"filename":"image_14122025_14_47_34_10233.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0944cf6a1112ce9ed9cc2f794dbca1a2.jpg","text":"TemporaryFile(/tmp/multipartBody5104131845501132595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720863562,"filename":"image_14122025_14_47_44_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2038ff1e69303c76894a33575ae85fbe.jpg","text":"TemporaryFile(/tmp/multipartBody1486213302295358303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720863562,"filename":"image_14122025_14_46_35_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/84c75aee3e642490944a1dd1fd9a29b2.jpg","text":"TemporaryFile(/tmp/multipartBody9136386506844402720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720863562,"filename":"image_14122025_14_46_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/12/14/25d9e2a6258723722575b170da62623c.jpg","text":"TemporaryFile(/tmp/multipartBody1550813757927264787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720863562,"filename":"image_14122025_14_46_44_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399358379","file1":"1399358343","file0":"1399358308","file4":"1399358452","file5":"1399358496","file3":"1399358417"},"map_files_photo_id_array":[{"photo_id":"1399358496","filename":"file5"},{"photo_id":"1399358379","filename":"file2"},{"photo_id":"1399358452","filename":"file4"},{"photo_id":"1399358343","filename":"file1"},{"photo_id":"1399358308","filename":"file0"},{"photo_id":"1399358417","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399358417":["hashtag1","hashtag2"]},{"1399358452":["hashtag1","hashtag2"]},{"1399358496":["hashtag1","hashtag2"]},{"1399358308":["hashtag1","hashtag2"]},{"1399358379":["hashtag1","hashtag2"]},{"1399358343":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399358417, 1399358452, 1399358496, 1399358308, 1399358379, 1399358343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.940439224243164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:00:42.415484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_25_2636.jpg', '/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_27_2752.jpg', '/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_30_2634.jpg', '/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_35_4449.jpg', '/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_36_1549.jpg', '/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_40_3595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_25_2636.jpg
/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_27_2752.jpg
/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_30_2634.jpg
/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_35_4449.jpg
/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_36_1549.jpg
/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_40_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":["1399358844","1399358771","1399358918","1399359124","1399358994","1399358688"],"photo_ids_order":["1399358688","1399358771","1399358844","1399358918","1399358994","1399359124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7604aaaa5ca8e74160e89d275fd78e13.jpg","text":"TemporaryFile(/tmp/multipartBody46964973413341782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720903124,"filename":"image_04112025_13_31_30_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29164adab09462439820278ce432a312.jpg","text":"TemporaryFile(/tmp/multipartBody5459689289452942990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720903124,"filename":"image_04112025_13_31_27_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ab904e6a85e698819faff96372a1ca1b.jpg","text":"TemporaryFile(/tmp/multipartBody7526618756635345169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720903124,"filename":"image_04112025_13_31_35_4449.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36277bc58575a1f05ff415de0358655d.jpg","text":"TemporaryFile(/tmp/multipartBody1141721895405031733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720903124,"filename":"image_04112025_13_31_40_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/03a2a71f429c223009aa7b50afafe50a.jpg","text":"TemporaryFile(/tmp/multipartBody7695025118772729130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720903124,"filename":"image_04112025_13_31_36_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d49261e7599d13fd85e0ae30f4aff292.jpg","text":"TemporaryFile(/tmp/multipartBody6581267683820820294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720903124,"filename":"image_04112025_13_31_25_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399358844","file1":"1399358771","file0":"1399358688","file4":"1399358994","file5":"1399359124","file3":"1399358918"},"map_files_photo_id_array":[{"photo_id":"1399359124","filename":"file5"},{"photo_id":"1399358844","filename":"file2"},{"photo_id":"1399358994","filename":"file4"},{"photo_id":"1399358771","filename":"file1"},{"photo_id":"1399358688","filename":"file0"},{"photo_id":"1399358918","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399358844":["hashtag1","hashtag2"]},{"1399358771":["hashtag1","hashtag2"]},{"1399358918":["hashtag1","hashtag2"]},{"1399359124":["hashtag1","hashtag2"]},{"1399358994":["hashtag1","hashtag2"]},{"1399358688":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399358844, 1399358771, 1399358918, 1399359124, 1399358994, 1399358688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.986334562301636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:01:22.650786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/47/image_14122025_14_47_58_13640.jpg', '/home/pi/Desktop/images/14122025/14/48/image_14122025_14_48_04_5796.jpg', '/home/pi/Desktop/images/14122025/14/48/image_14122025_14_48_14_10287.jpg', '/home/pi/Desktop/images/14122025/14/48/image_14122025_14_48_35_10608.jpg', '/home/pi/Desktop/images/14122025/14/48/image_14122025_14_48_44_9678.jpg', '/home/pi/Desktop/images/14122025/14/48/image_14122025_14_48_54_9843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/47/image_14122025_14_47_58_13640.jpg
/home/pi/Desktop/images/14122025/14/48/image_14122025_14_48_04_5796.jpg
/home/pi/Desktop/images/14122025/14/48/image_14122025_14_48_14_10287.jpg
/home/pi/Desktop/images/14122025/14/48/image_14122025_14_48_35_10608.jpg
/home/pi/Desktop/images/14122025/14/48/image_14122025_14_48_44_9678.jpg
/home/pi/Desktop/images/14122025/14/48/image_14122025_14_48_54_9843.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.531083345413208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 15:01:32.851192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:01:42.754566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_43_3734.jpg', '/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_45_1638.jpg', '/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_51_5633.jpg', '/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_54_1744.jpg', '/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_58_3560.jpg', '/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_07_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_43_3734.jpg
/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_45_1638.jpg
/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_51_5633.jpg
/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_54_1744.jpg
/home/pi/Desktop/images/04112025/13/31/image_04112025_13_31_58_3560.jpg
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_07_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":["1399359956","1399359839","1399359908","1399359990","1399360066","1399360024"],"photo_ids_order":["1399359839","1399359908","1399359956","1399359990","1399360024","1399360066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b79fb3328af31f424ab631bad92221b.jpg","text":"TemporaryFile(/tmp/multipartBody2697767888674246131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720963498,"filename":"image_04112025_13_31_51_5633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63fe56b8b0d013415528ac7094b7d4fb.jpg","text":"TemporaryFile(/tmp/multipartBody7249835752519031670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720963498,"filename":"image_04112025_13_31_43_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d0feea566026ac844f8758cfb265018.jpg","text":"TemporaryFile(/tmp/multipartBody4837142724825358817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720963498,"filename":"image_04112025_13_31_45_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/440bce9c99949fc1bf9fa5a5122ea102.jpg","text":"TemporaryFile(/tmp/multipartBody1724096632196382429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720963498,"filename":"image_04112025_13_31_54_1744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f25f10e8c54ea346de93620754718b27.jpg","text":"TemporaryFile(/tmp/multipartBody4501652121247427227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720963498,"filename":"image_04112025_13_32_07_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/743f0dd38aabaaa90b7e8a539175d6af.jpg","text":"TemporaryFile(/tmp/multipartBody7107631177826856414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765720963498,"filename":"image_04112025_13_31_58_3560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399359956","file1":"1399359908","file0":"1399359839","file4":"1399360024","file5":"1399360066","file3":"1399359990"},"map_files_photo_id_array":[{"photo_id":"1399360066","filename":"file5"},{"photo_id":"1399359956","filename":"file2"},{"photo_id":"1399360024","filename":"file4"},{"photo_id":"1399359908","filename":"file1"},{"photo_id":"1399359839","filename":"file0"},{"photo_id":"1399359990","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399359956":["hashtag1","hashtag2"]},{"1399359839":["hashtag1","hashtag2"]},{"1399359908":["hashtag1","hashtag2"]},{"1399359990":["hashtag1","hashtag2"]},{"1399360066":["hashtag1","hashtag2"]},{"1399360024":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399359956, 1399359839, 1399359908, 1399359990, 1399360066, 1399360024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.580456256866455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:02:22.055774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/47/image_14122025_14_47_58_13640.jpg', '/home/pi/Desktop/images/14122025/14/48/image_14122025_14_48_04_5796.jpg', '/home/pi/Desktop/images/14122025/14/48/image_14122025_14_48_14_10287.jpg', '/home/pi/Desktop/images/14122025/14/48/image_14122025_14_48_35_10608.jpg', '/home/pi/Desktop/images/14122025/14/48/image_14122025_14_48_44_9678.jpg', '/home/pi/Desktop/images/14122025/14/48/image_14122025_14_48_54_9843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/47/image_14122025_14_47_58_13640.jpg
/home/pi/Desktop/images/14122025/14/48/image_14122025_14_48_04_5796.jpg
/home/pi/Desktop/images/14122025/14/48/image_14122025_14_48_14_10287.jpg
/home/pi/Desktop/images/14122025/14/48/image_14122025_14_48_35_10608.jpg
/home/pi/Desktop/images/14122025/14/48/image_14122025_14_48_44_9678.jpg
/home/pi/Desktop/images/14122025/14/48/image_14122025_14_48_54_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":["1399360524","1399360297","1399360429","1399360366","1399360228","1399360467"],"photo_ids_order":["1399360228","1399360297","1399360366","1399360429","1399360467","1399360524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56dd689c32430a47afb13582e662999d.jpg","text":"TemporaryFile(/tmp/multipartBody8043857202476905822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721002716,"filename":"image_14122025_14_48_54_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c050b0877ab82ac29d36284aa6b047a.jpg","text":"TemporaryFile(/tmp/multipartBody4285926104137572188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721002716,"filename":"image_14122025_14_48_04_5796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56a46251947dcfdde11b8dfb66aca606.jpg","text":"TemporaryFile(/tmp/multipartBody5393216382689618038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721002716,"filename":"image_14122025_14_48_35_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a7687234566f5b83931413ad46a41b4f.jpg","text":"TemporaryFile(/tmp/multipartBody1357992448913987176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721002716,"filename":"image_14122025_14_48_14_10287.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/053d548acdd0bacb82b3ed2f235584b0.jpg","text":"TemporaryFile(/tmp/multipartBody7113793397986498110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721002716,"filename":"image_14122025_14_47_58_13640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf1e8ecf85ae94f619c32ecae73da1ac.jpg","text":"TemporaryFile(/tmp/multipartBody8631181307704091969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721002716,"filename":"image_14122025_14_48_44_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399360366","file1":"1399360297","file0":"1399360228","file4":"1399360467","file5":"1399360524","file3":"1399360429"},"map_files_photo_id_array":[{"photo_id":"1399360524","filename":"file5"},{"photo_id":"1399360366","filename":"file2"},{"photo_id":"1399360467","filename":"file4"},{"photo_id":"1399360297","filename":"file1"},{"photo_id":"1399360228","filename":"file0"},{"photo_id":"1399360429","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399360524":["hashtag1","hashtag2"]},{"1399360297":["hashtag1","hashtag2"]},{"1399360429":["hashtag1","hashtag2"]},{"1399360366":["hashtag1","hashtag2"]},{"1399360228":["hashtag1","hashtag2"]},{"1399360467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399360524, 1399360297, 1399360429, 1399360366, 1399360228, 1399360467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67565631866455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:03:02.788239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/48/image_14122025_14_49_04_9728.jpg', '/home/pi/Desktop/images/14122025/14/49/image_14122025_14_49_15_10761.jpg', '/home/pi/Desktop/images/14122025/14/49/image_14122025_14_49_24_9687.jpg', '/home/pi/Desktop/images/14122025/14/49/image_14122025_14_49_45_10713.jpg', '/home/pi/Desktop/images/14122025/14/49/image_14122025_14_49_54_9620.jpg', '/home/pi/Desktop/images/14122025/14/49/image_14122025_14_50_04_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/48/image_14122025_14_49_04_9728.jpg
/home/pi/Desktop/images/14122025/14/49/image_14122025_14_49_15_10761.jpg
/home/pi/Desktop/images/14122025/14/49/image_14122025_14_49_24_9687.jpg
/home/pi/Desktop/images/14122025/14/49/image_14122025_14_49_45_10713.jpg
/home/pi/Desktop/images/14122025/14/49/image_14122025_14_49_54_9620.jpg
/home/pi/Desktop/images/14122025/14/49/image_14122025_14_50_04_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399360641","1399360643","1399360637","1399360645","1399360639","1399360647"],"photo_ids_order":["1399360637","1399360639","1399360641","1399360643","1399360645","1399360647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/48b44a89153047b78ca18cb3d4566964.jpg","text":"TemporaryFile(/tmp/multipartBody7586717988244108377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721043520,"filename":"image_14122025_14_49_24_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/09cdc2a05a451c732a713efbed066ee8.jpg","text":"TemporaryFile(/tmp/multipartBody5240905699180485980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721043520,"filename":"image_14122025_14_49_45_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51ea7b5e1cb8ec6f95c5fda9fe93d5f5.jpg","text":"TemporaryFile(/tmp/multipartBody2544878662344309924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721043520,"filename":"image_14122025_14_49_04_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7c90b3ae9391fe018f21906e49e114bc.jpg","text":"TemporaryFile(/tmp/multipartBody2792459661598199962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721043520,"filename":"image_14122025_14_49_54_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f138f57cb534edcd6d06bc8c40d3b55b.jpg","text":"TemporaryFile(/tmp/multipartBody7742362170546131744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721043520,"filename":"image_14122025_14_49_15_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/59bd261cf36d564801fdfbb7511a8f89.jpg","text":"TemporaryFile(/tmp/multipartBody2695542112372303422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721043520,"filename":"image_14122025_14_50_04_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399360641","file1":"1399360639","file0":"1399360637","file4":"1399360645","file5":"1399360647","file3":"1399360643"},"map_files_photo_id_array":[{"photo_id":"1399360647","filename":"file5"},{"photo_id":"1399360641","filename":"file2"},{"photo_id":"1399360645","filename":"file4"},{"photo_id":"1399360639","filename":"file1"},{"photo_id":"1399360637","filename":"file0"},{"photo_id":"1399360643","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399360641":["hashtag1","hashtag2"]},{"1399360643":["hashtag1","hashtag2"]},{"1399360637":["hashtag1","hashtag2"]},{"1399360645":["hashtag1","hashtag2"]},{"1399360639":["hashtag1","hashtag2"]},{"1399360647":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399360641, 1399360643, 1399360637, 1399360645, 1399360639, 1399360647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62845826148987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:03:42.390052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_13_5896.jpg', '/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_16_2954.jpg', '/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_18_1602.jpg', '/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_19_1564.jpg', '/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_21_1652.jpg', '/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_24_2806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_13_5896.jpg
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_16_2954.jpg
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_18_1602.jpg
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_19_1564.jpg
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_21_1652.jpg
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_24_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":["1399360704","1399360655","1399360649","1399360652","1399360741","1399360668"],"photo_ids_order":["1399360649","1399360652","1399360655","1399360668","1399360704","1399360741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f6e9734497a1cbca7a7d69ec43fa167b.jpg","text":"TemporaryFile(/tmp/multipartBody4913375167377823929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721083102,"filename":"image_04112025_13_32_21_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9e9c515311538c9d5d2812d6981faf43.jpg","text":"TemporaryFile(/tmp/multipartBody1189124025991161069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721083102,"filename":"image_04112025_13_32_18_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c40905b664b267fdc61456c05d3cdec4.jpg","text":"TemporaryFile(/tmp/multipartBody8558456266865909991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721083102,"filename":"image_04112025_13_32_13_5896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/df6d51f018663f1bd4a24ddada52e1c0.jpg","text":"TemporaryFile(/tmp/multipartBody7295606982007556185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721083102,"filename":"image_04112025_13_32_16_2954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0249bc085e01338c2997e134858d6407.jpg","text":"TemporaryFile(/tmp/multipartBody6129763120586408668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721083102,"filename":"image_04112025_13_32_24_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/170070cd30ed6353f8338987d0bf1ff8.jpg","text":"TemporaryFile(/tmp/multipartBody6007638147216376426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721083102,"filename":"image_04112025_13_32_19_1564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399360655","file1":"1399360652","file0":"1399360649","file4":"1399360704","file5":"1399360741","file3":"1399360668"},"map_files_photo_id_array":[{"photo_id":"1399360741","filename":"file5"},{"photo_id":"1399360655","filename":"file2"},{"photo_id":"1399360704","filename":"file4"},{"photo_id":"1399360652","filename":"file1"},{"photo_id":"1399360649","filename":"file0"},{"photo_id":"1399360668","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399360704":["hashtag1","hashtag2"]},{"1399360655":["hashtag1","hashtag2"]},{"1399360649":["hashtag1","hashtag2"]},{"1399360652":["hashtag1","hashtag2"]},{"1399360741":["hashtag1","hashtag2"]},{"1399360668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399360704, 1399360655, 1399360649, 1399360652, 1399360741, 1399360668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.986409187316895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:04:22.658709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/50/image_14122025_14_50_15_10710.jpg', '/home/pi/Desktop/images/14122025/14/50/image_14122025_14_50_24_9666.jpg', '/home/pi/Desktop/images/14122025/14/50/image_14122025_14_50_34_9732.jpg', '/home/pi/Desktop/images/14122025/14/50/image_14122025_14_50_55_10888.jpg', '/home/pi/Desktop/images/14122025/14/50/image_14122025_14_51_04_9805.jpg', '/home/pi/Desktop/images/14122025/14/51/image_14122025_14_51_14_9963.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/50/image_14122025_14_50_15_10710.jpg
/home/pi/Desktop/images/14122025/14/50/image_14122025_14_50_24_9666.jpg
/home/pi/Desktop/images/14122025/14/50/image_14122025_14_50_34_9732.jpg
/home/pi/Desktop/images/14122025/14/50/image_14122025_14_50_55_10888.jpg
/home/pi/Desktop/images/14122025/14/50/image_14122025_14_51_04_9805.jpg
/home/pi/Desktop/images/14122025/14/51/image_14122025_14_51_14_9963.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399360970","1399360901","1399360864","1399360966","1399360939","1399360959"],"photo_ids_order":["1399360864","1399360901","1399360939","1399360959","1399360966","1399360970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d8a8417923500ba07b1feee78d78bb2d.jpg","text":"TemporaryFile(/tmp/multipartBody821137456291811338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721123309,"filename":"image_14122025_14_51_14_9963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5778a384a5fc8004e4ae7f85e3e6aa97.jpg","text":"TemporaryFile(/tmp/multipartBody1358512185563679501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721123309,"filename":"image_14122025_14_50_24_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b04d5e574f59f109a93560f9c7ae17a.jpg","text":"TemporaryFile(/tmp/multipartBody1331801995037978272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721123309,"filename":"image_14122025_14_50_15_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d0ba7b34f613a5fe7fa23be595c99125.jpg","text":"TemporaryFile(/tmp/multipartBody8667099168335210026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721123309,"filename":"image_14122025_14_51_04_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/40a900f9bdb880c2070893eaf0e33649.jpg","text":"TemporaryFile(/tmp/multipartBody8694568910332671575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721123309,"filename":"image_14122025_14_50_34_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b149dfdf7ccef944a52a240084e981ab.jpg","text":"TemporaryFile(/tmp/multipartBody974727323016140468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721123309,"filename":"image_14122025_14_50_55_10888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399360939","file1":"1399360901","file0":"1399360864","file4":"1399360966","file5":"1399360970","file3":"1399360959"},"map_files_photo_id_array":[{"photo_id":"1399360970","filename":"file5"},{"photo_id":"1399360939","filename":"file2"},{"photo_id":"1399360966","filename":"file4"},{"photo_id":"1399360901","filename":"file1"},{"photo_id":"1399360864","filename":"file0"},{"photo_id":"1399360959","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399360970":["hashtag1","hashtag2"]},{"1399360901":["hashtag1","hashtag2"]},{"1399360864":["hashtag1","hashtag2"]},{"1399360966":["hashtag1","hashtag2"]},{"1399360939":["hashtag1","hashtag2"]},{"1399360959":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399360970, 1399360901, 1399360864, 1399360966, 1399360939, 1399360959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47588896751404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:05:02.675668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/51/image_14122025_14_51_24_9621.jpg', '/home/pi/Desktop/images/14122025/14/51/image_14122025_14_51_35_10624.jpg', '/home/pi/Desktop/images/14122025/14/51/image_14122025_14_51_44_9689.jpg', '/home/pi/Desktop/images/14122025/14/51/image_14122025_14_51_54_9773.jpg', '/home/pi/Desktop/images/14122025/14/51/image_14122025_14_52_04_9619.jpg', '/home/pi/Desktop/images/14122025/14/52/image_14122025_14_52_24_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/51/image_14122025_14_51_24_9621.jpg
/home/pi/Desktop/images/14122025/14/51/image_14122025_14_51_35_10624.jpg
/home/pi/Desktop/images/14122025/14/51/image_14122025_14_51_44_9689.jpg
/home/pi/Desktop/images/14122025/14/51/image_14122025_14_51_54_9773.jpg
/home/pi/Desktop/images/14122025/14/51/image_14122025_14_52_04_9619.jpg
/home/pi/Desktop/images/14122025/14/52/image_14122025_14_52_24_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361042","1399361077","1399361005","1399361107","1399361076","1399361075"],"photo_ids_order":["1399361005","1399361042","1399361075","1399361076","1399361077","1399361107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b8b15e906b2364390936296b7ebf6e6.jpg","text":"TemporaryFile(/tmp/multipartBody5135986226755924657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721163343,"filename":"image_14122025_14_51_35_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7c11773246e3b6df40b6426ed66c3ae7.jpg","text":"TemporaryFile(/tmp/multipartBody452680805849651844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721163343,"filename":"image_14122025_14_52_04_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d617db1a402e2c2e15b419df507dfbd7.jpg","text":"TemporaryFile(/tmp/multipartBody1130100545658974431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721163343,"filename":"image_14122025_14_51_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/12/14/196f045355072ce13c981c932b36ff2b.jpg","text":"TemporaryFile(/tmp/multipartBody3830016224546033863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721163343,"filename":"image_14122025_14_52_24_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dbe8807f4b9a94caa4824403116ba420.jpg","text":"TemporaryFile(/tmp/multipartBody7491043513931286435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721163343,"filename":"image_14122025_14_51_54_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f96ff442ad59481590f7df8be40955f.jpg","text":"TemporaryFile(/tmp/multipartBody3021098853688655836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721163343,"filename":"image_14122025_14_51_44_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361075","file1":"1399361042","file0":"1399361005","file4":"1399361077","file5":"1399361107","file3":"1399361076"},"map_files_photo_id_array":[{"photo_id":"1399361107","filename":"file5"},{"photo_id":"1399361075","filename":"file2"},{"photo_id":"1399361077","filename":"file4"},{"photo_id":"1399361042","filename":"file1"},{"photo_id":"1399361005","filename":"file0"},{"photo_id":"1399361076","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361042":["hashtag1","hashtag2"]},{"1399361077":["hashtag1","hashtag2"]},{"1399361005":["hashtag1","hashtag2"]},{"1399361107":["hashtag1","hashtag2"]},{"1399361076":["hashtag1","hashtag2"]},{"1399361075":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361042, 1399361077, 1399361005, 1399361107, 1399361076, 1399361075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27914476394653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:05:41.973833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_26_1667.jpg', '/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_27_1629.jpg', '/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_29_1599.jpg', '/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_31_1731.jpg', '/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_33_2511.jpg', '/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_36_3358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_26_1667.jpg
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_27_1629.jpg
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_29_1599.jpg
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_31_1731.jpg
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_33_2511.jpg
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_36_3358.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.620140552520752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:06:02.718501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/52/image_14122025_14_52_34_9671.jpg', '/home/pi/Desktop/images/14122025/14/52/image_14122025_14_52_44_10655.jpg', '/home/pi/Desktop/images/14122025/14/52/image_14122025_14_52_54_9864.jpg', '/home/pi/Desktop/images/14122025/14/53/image_14122025_14_53_14_9689.jpg', '/home/pi/Desktop/images/14122025/14/53/image_14122025_14_53_24_10671.jpg', '/home/pi/Desktop/images/14122025/14/53/image_14122025_14_53_34_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/52/image_14122025_14_52_34_9671.jpg
/home/pi/Desktop/images/14122025/14/52/image_14122025_14_52_44_10655.jpg
/home/pi/Desktop/images/14122025/14/52/image_14122025_14_52_54_9864.jpg
/home/pi/Desktop/images/14122025/14/53/image_14122025_14_53_14_9689.jpg
/home/pi/Desktop/images/14122025/14/53/image_14122025_14_53_24_10671.jpg
/home/pi/Desktop/images/14122025/14/53/image_14122025_14_53_34_9706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361150","1399361153","1399361155","1399361149","1399361152","1399361151"],"photo_ids_order":["1399361149","1399361150","1399361151","1399361152","1399361153","1399361155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f2687be2a67f25a164e30153e9b90bd9.jpg","text":"TemporaryFile(/tmp/multipartBody6213008910551086372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721223378,"filename":"image_14122025_14_52_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1eabf51b696a62a38e7cedd73cd701c.jpg","text":"TemporaryFile(/tmp/multipartBody2143965707594326617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721223378,"filename":"image_14122025_14_53_24_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a2d5bd70a4a13e931bf2f54dba859df3.jpg","text":"TemporaryFile(/tmp/multipartBody7070370130364983276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721223378,"filename":"image_14122025_14_53_34_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/79a20b720b13b8fbd9237c831371243b.jpg","text":"TemporaryFile(/tmp/multipartBody8688145175150237492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721223378,"filename":"image_14122025_14_52_34_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/496fed9648436cedcca7c7986d7575da.jpg","text":"TemporaryFile(/tmp/multipartBody8569559342846965198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721223378,"filename":"image_14122025_14_53_14_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb30d0874b71b61d65a6a5ec567e25e4.jpg","text":"TemporaryFile(/tmp/multipartBody8466664437436089973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721223378,"filename":"image_14122025_14_52_54_9864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361151","file1":"1399361150","file0":"1399361149","file4":"1399361153","file5":"1399361155","file3":"1399361152"},"map_files_photo_id_array":[{"photo_id":"1399361155","filename":"file5"},{"photo_id":"1399361151","filename":"file2"},{"photo_id":"1399361153","filename":"file4"},{"photo_id":"1399361150","filename":"file1"},{"photo_id":"1399361149","filename":"file0"},{"photo_id":"1399361152","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361150":["hashtag1","hashtag2"]},{"1399361153":["hashtag1","hashtag2"]},{"1399361155":["hashtag1","hashtag2"]},{"1399361149":["hashtag1","hashtag2"]},{"1399361152":["hashtag1","hashtag2"]},{"1399361151":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361150, 1399361153, 1399361155, 1399361149, 1399361152, 1399361151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50758171081543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:06:42.231778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_26_1667.jpg', '/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_27_1629.jpg', '/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_29_1599.jpg', '/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_31_1731.jpg', '/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_33_2511.jpg', '/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_36_3358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_26_1667.jpg
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_27_1629.jpg
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_29_1599.jpg
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_31_1731.jpg
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_33_2511.jpg
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_36_3358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361162","1399361161","1399361164","1399361163","1399361166","1399361160"],"photo_ids_order":["1399361160","1399361161","1399361162","1399361163","1399361164","1399361166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9d36b7560c60f2054b4f880304ea0634.jpg","text":"TemporaryFile(/tmp/multipartBody6388674189289894321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721262876,"filename":"image_04112025_13_32_29_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b4029a59e0c3ba8eac0c9881d90a8ae.jpg","text":"TemporaryFile(/tmp/multipartBody6664725772983125423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721262876,"filename":"image_04112025_13_32_27_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/238567b08a61bcaa98af5abc2eba5442.jpg","text":"TemporaryFile(/tmp/multipartBody8413671106402094083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721262876,"filename":"image_04112025_13_32_33_2511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29e54d64238ba2b44a7c338d314722a9.jpg","text":"TemporaryFile(/tmp/multipartBody3441062698758674129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721262876,"filename":"image_04112025_13_32_31_1731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4950b877a6663a0f17390eab71d8d036.jpg","text":"TemporaryFile(/tmp/multipartBody1349408712477475469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721262876,"filename":"image_04112025_13_32_36_3358.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8968245a6ee9cb3d6216dc64dd50bebc.jpg","text":"TemporaryFile(/tmp/multipartBody1751937818358702173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721262876,"filename":"image_04112025_13_32_26_1667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361162","file1":"1399361161","file0":"1399361160","file4":"1399361164","file5":"1399361166","file3":"1399361163"},"map_files_photo_id_array":[{"photo_id":"1399361166","filename":"file5"},{"photo_id":"1399361162","filename":"file2"},{"photo_id":"1399361164","filename":"file4"},{"photo_id":"1399361161","filename":"file1"},{"photo_id":"1399361160","filename":"file0"},{"photo_id":"1399361163","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399361162":["hashtag1","hashtag2"]},{"1399361161":["hashtag1","hashtag2"]},{"1399361164":["hashtag1","hashtag2"]},{"1399361163":["hashtag1","hashtag2"]},{"1399361166":["hashtag1","hashtag2"]},{"1399361160":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399361162, 1399361161, 1399361164, 1399361163, 1399361166, 1399361160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86798810958862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:07:22.491958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/53/image_14122025_14_53_44_9689.jpg', '/home/pi/Desktop/images/14122025/14/53/image_14122025_14_53_54_10619.jpg', '/home/pi/Desktop/images/14122025/14/53/image_14122025_14_54_04_9754.jpg', '/home/pi/Desktop/images/14122025/14/54/image_14122025_14_54_14_9762.jpg', '/home/pi/Desktop/images/14122025/14/54/image_14122025_14_54_25_10771.jpg', '/home/pi/Desktop/images/14122025/14/54/image_14122025_14_54_34_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/53/image_14122025_14_53_44_9689.jpg
/home/pi/Desktop/images/14122025/14/53/image_14122025_14_53_54_10619.jpg
/home/pi/Desktop/images/14122025/14/53/image_14122025_14_54_04_9754.jpg
/home/pi/Desktop/images/14122025/14/54/image_14122025_14_54_14_9762.jpg
/home/pi/Desktop/images/14122025/14/54/image_14122025_14_54_25_10771.jpg
/home/pi/Desktop/images/14122025/14/54/image_14122025_14_54_34_9761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361168","1399361179","1399361170","1399361176","1399361172","1399361174"],"photo_ids_order":["1399361168","1399361170","1399361172","1399361174","1399361176","1399361179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f8ab3074dcdd75126ed97d9818a561f2.jpg","text":"TemporaryFile(/tmp/multipartBody7895566205694398303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721303151,"filename":"image_14122025_14_53_44_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/100889e9da18beb0a596ef7bf2243c11.jpg","text":"TemporaryFile(/tmp/multipartBody6288781384641234323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721303151,"filename":"image_14122025_14_54_34_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b70d2482ede9cea7f5582e3813206cf8.jpg","text":"TemporaryFile(/tmp/multipartBody1633439282944798623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721303151,"filename":"image_14122025_14_53_54_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/07546e474b558eb93108e665921d9cbb.jpg","text":"TemporaryFile(/tmp/multipartBody2708248072190613273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721303151,"filename":"image_14122025_14_54_25_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f475e7501d044216f6f5e76790628ece.jpg","text":"TemporaryFile(/tmp/multipartBody4177762808245288983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721303151,"filename":"image_14122025_14_54_04_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3de94624c00aa4820f86d55351e87be.jpg","text":"TemporaryFile(/tmp/multipartBody3929738052844052702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721303151,"filename":"image_14122025_14_54_14_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361172","file1":"1399361170","file0":"1399361168","file4":"1399361176","file5":"1399361179","file3":"1399361174"},"map_files_photo_id_array":[{"photo_id":"1399361179","filename":"file5"},{"photo_id":"1399361172","filename":"file2"},{"photo_id":"1399361176","filename":"file4"},{"photo_id":"1399361170","filename":"file1"},{"photo_id":"1399361168","filename":"file0"},{"photo_id":"1399361174","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361168":["hashtag1","hashtag2"]},{"1399361179":["hashtag1","hashtag2"]},{"1399361170":["hashtag1","hashtag2"]},{"1399361176":["hashtag1","hashtag2"]},{"1399361172":["hashtag1","hashtag2"]},{"1399361174":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361168, 1399361179, 1399361170, 1399361176, 1399361172, 1399361174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35674214363098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:08:03.153482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/54/image_14122025_14_54_54_9613.jpg', '/home/pi/Desktop/images/14122025/14/54/image_14122025_14_55_04_10608.jpg', '/home/pi/Desktop/images/14122025/14/55/image_14122025_14_55_14_9874.jpg', '/home/pi/Desktop/images/14122025/14/55/image_14122025_14_55_24_9566.jpg', '/home/pi/Desktop/images/14122025/14/55/image_14122025_14_55_34_10642.jpg', '/home/pi/Desktop/images/14122025/14/55/image_14122025_14_55_44_9812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/54/image_14122025_14_54_54_9613.jpg
/home/pi/Desktop/images/14122025/14/54/image_14122025_14_55_04_10608.jpg
/home/pi/Desktop/images/14122025/14/55/image_14122025_14_55_14_9874.jpg
/home/pi/Desktop/images/14122025/14/55/image_14122025_14_55_24_9566.jpg
/home/pi/Desktop/images/14122025/14/55/image_14122025_14_55_34_10642.jpg
/home/pi/Desktop/images/14122025/14/55/image_14122025_14_55_44_9812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361183","1399361186","1399361185","1399361182","1399361181","1399361184"],"photo_ids_order":["1399361181","1399361182","1399361183","1399361184","1399361185","1399361186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f9ae3ced219286b2fa15ed08c198a89b.jpg","text":"TemporaryFile(/tmp/multipartBody3840655715745910691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721343854,"filename":"image_14122025_14_55_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/12/14/74f18c5bdd1498b34fb9b4a2586ea903.jpg","text":"TemporaryFile(/tmp/multipartBody3531344244658119294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721343854,"filename":"image_14122025_14_55_44_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/75d3f07026aee7e95652bced85bbd27d.jpg","text":"TemporaryFile(/tmp/multipartBody147693408265311694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721343854,"filename":"image_14122025_14_55_34_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69ff7d34c3340bb1e6ba51aba183cb38.jpg","text":"TemporaryFile(/tmp/multipartBody8883572396824814392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721343854,"filename":"image_14122025_14_55_04_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fd7a55964adaa9032ea0eb30bd0b5d71.jpg","text":"TemporaryFile(/tmp/multipartBody2651127857754746559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721343854,"filename":"image_14122025_14_54_54_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a2edf4a41c6113e9c8026864bc1a010.jpg","text":"TemporaryFile(/tmp/multipartBody3048673059393211046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721343854,"filename":"image_14122025_14_55_24_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361183","file1":"1399361182","file0":"1399361181","file4":"1399361185","file5":"1399361186","file3":"1399361184"},"map_files_photo_id_array":[{"photo_id":"1399361186","filename":"file5"},{"photo_id":"1399361183","filename":"file2"},{"photo_id":"1399361185","filename":"file4"},{"photo_id":"1399361182","filename":"file1"},{"photo_id":"1399361181","filename":"file0"},{"photo_id":"1399361184","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361183":["hashtag1","hashtag2"]},{"1399361186":["hashtag1","hashtag2"]},{"1399361185":["hashtag1","hashtag2"]},{"1399361182":["hashtag1","hashtag2"]},{"1399361181":["hashtag1","hashtag2"]},{"1399361184":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361183, 1399361186, 1399361185, 1399361182, 1399361181, 1399361184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.502201080322266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:08:42.637669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_39_2721.jpg', '/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_44_5358.jpg', '/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_46_1610.jpg', '/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_49_2737.jpg', '/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_51_2568.jpg', '/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_55_4028.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_39_2721.jpg
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_44_5358.jpg
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_46_1610.jpg
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_49_2737.jpg
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_51_2568.jpg
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_55_4028.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361207","1399361212","1399361209","1399361193","1399361211","1399361195"],"photo_ids_order":["1399361193","1399361195","1399361207","1399361209","1399361211","1399361212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1fb375a34a78d82b6d6f46500395427d.jpg","text":"TemporaryFile(/tmp/multipartBody783478665643710963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721383359,"filename":"image_04112025_13_32_46_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bcc3f2e67bc55330031ba3ce5025b909.jpg","text":"TemporaryFile(/tmp/multipartBody2497493090717849953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721383359,"filename":"image_04112025_13_32_55_4028.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92edf14d57ad82450266daf22416b85d.jpg","text":"TemporaryFile(/tmp/multipartBody5009840648571121530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721383359,"filename":"image_04112025_13_32_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/12/14/d4c61af8d906d4ca67b93093865187d7.jpg","text":"TemporaryFile(/tmp/multipartBody1223544878839603201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721383359,"filename":"image_04112025_13_32_39_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6960bcf53ab7bd49220bed5576ca5de9.jpg","text":"TemporaryFile(/tmp/multipartBody2525958792608692129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721383359,"filename":"image_04112025_13_32_51_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d16667f10c41e0ca3b2e72b57553f810.jpg","text":"TemporaryFile(/tmp/multipartBody1157809878321393806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721383359,"filename":"image_04112025_13_32_44_5358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361207","file1":"1399361195","file0":"1399361193","file4":"1399361211","file5":"1399361212","file3":"1399361209"},"map_files_photo_id_array":[{"photo_id":"1399361212","filename":"file5"},{"photo_id":"1399361207","filename":"file2"},{"photo_id":"1399361211","filename":"file4"},{"photo_id":"1399361195","filename":"file1"},{"photo_id":"1399361193","filename":"file0"},{"photo_id":"1399361209","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399361207":["hashtag1","hashtag2"]},{"1399361212":["hashtag1","hashtag2"]},{"1399361209":["hashtag1","hashtag2"]},{"1399361193":["hashtag1","hashtag2"]},{"1399361211":["hashtag1","hashtag2"]},{"1399361195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399361207, 1399361212, 1399361209, 1399361193, 1399361211, 1399361195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22442650794983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:09:21.894519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/55/image_14122025_14_56_05_10696.jpg', '/home/pi/Desktop/images/14122025/14/56/image_14122025_14_56_14_9798.jpg', '/home/pi/Desktop/images/14122025/14/56/image_14122025_14_56_24_9946.jpg', '/home/pi/Desktop/images/14122025/14/56/image_14122025_14_56_34_9738.jpg', '/home/pi/Desktop/images/14122025/14/56/image_14122025_14_56_44_9765.jpg', '/home/pi/Desktop/images/14122025/14/56/image_14122025_14_57_04_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/55/image_14122025_14_56_05_10696.jpg
/home/pi/Desktop/images/14122025/14/56/image_14122025_14_56_14_9798.jpg
/home/pi/Desktop/images/14122025/14/56/image_14122025_14_56_24_9946.jpg
/home/pi/Desktop/images/14122025/14/56/image_14122025_14_56_34_9738.jpg
/home/pi/Desktop/images/14122025/14/56/image_14122025_14_56_44_9765.jpg
/home/pi/Desktop/images/14122025/14/56/image_14122025_14_57_04_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361225","1399361213","1399361221","1399361215","1399361218","1399361220"],"photo_ids_order":["1399361213","1399361215","1399361218","1399361220","1399361221","1399361225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb10ace28872c1a4053cb468b74aba55.jpg","text":"TemporaryFile(/tmp/multipartBody1161045786134896296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721422543,"filename":"image_14122025_14_57_04_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/499e966b1e770d7b7e0ca1fd8c563eab.jpg","text":"TemporaryFile(/tmp/multipartBody7133458257025805796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721422543,"filename":"image_14122025_14_56_05_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/770d496cf65208cc22b1c244bf49b7bb.jpg","text":"TemporaryFile(/tmp/multipartBody3039029251867086703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721422543,"filename":"image_14122025_14_56_44_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6fce63c569427e5003c84fa7baa3315a.jpg","text":"TemporaryFile(/tmp/multipartBody8423392512366793300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721422543,"filename":"image_14122025_14_56_14_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c270eea922b63dca6584cb7443cfb9d.jpg","text":"TemporaryFile(/tmp/multipartBody7310973272295841719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721422543,"filename":"image_14122025_14_56_24_9946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2e66634f3d7bb7866d3b142bdab8ad06.jpg","text":"TemporaryFile(/tmp/multipartBody6475332760320544855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721422543,"filename":"image_14122025_14_56_34_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361218","file1":"1399361215","file0":"1399361213","file4":"1399361221","file5":"1399361225","file3":"1399361220"},"map_files_photo_id_array":[{"photo_id":"1399361225","filename":"file5"},{"photo_id":"1399361218","filename":"file2"},{"photo_id":"1399361221","filename":"file4"},{"photo_id":"1399361215","filename":"file1"},{"photo_id":"1399361213","filename":"file0"},{"photo_id":"1399361220","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361225":["hashtag1","hashtag2"]},{"1399361213":["hashtag1","hashtag2"]},{"1399361221":["hashtag1","hashtag2"]},{"1399361215":["hashtag1","hashtag2"]},{"1399361218":["hashtag1","hashtag2"]},{"1399361220":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361225, 1399361213, 1399361221, 1399361215, 1399361218, 1399361220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.068341970443726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:10:02.506602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/57/image_14122025_14_57_25_10716.jpg', '/home/pi/Desktop/images/14122025/14/57/image_14122025_14_57_34_9736.jpg', '/home/pi/Desktop/images/14122025/14/57/image_14122025_14_57_44_9601.jpg', '/home/pi/Desktop/images/14122025/14/57/image_14122025_14_57_55_10637.jpg', '/home/pi/Desktop/images/14122025/14/57/image_14122025_14_58_04_9725.jpg', '/home/pi/Desktop/images/14122025/14/58/image_14122025_14_58_14_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/57/image_14122025_14_57_25_10716.jpg
/home/pi/Desktop/images/14122025/14/57/image_14122025_14_57_34_9736.jpg
/home/pi/Desktop/images/14122025/14/57/image_14122025_14_57_44_9601.jpg
/home/pi/Desktop/images/14122025/14/57/image_14122025_14_57_55_10637.jpg
/home/pi/Desktop/images/14122025/14/57/image_14122025_14_58_04_9725.jpg
/home/pi/Desktop/images/14122025/14/58/image_14122025_14_58_14_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":["1399361231","1399361228","1399361233","1399361230","1399361227","1399361229"],"photo_ids_order":["1399361227","1399361228","1399361229","1399361230","1399361231","1399361233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd440cda36b2af76df39aecd99631f7c.jpg","text":"TemporaryFile(/tmp/multipartBody7423095724545787580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721463183,"filename":"image_14122025_14_58_04_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c0872f6747e3778fdb14ae0e45a5f8f.jpg","text":"TemporaryFile(/tmp/multipartBody6028611301769422459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721463183,"filename":"image_14122025_14_57_34_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/571ead9560068b56c89cde9050764326.jpg","text":"TemporaryFile(/tmp/multipartBody6122566025470443280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721463183,"filename":"image_14122025_14_58_14_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d03566aaea0b224eabcc966a2a2ddf02.jpg","text":"TemporaryFile(/tmp/multipartBody585623256902920112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721463183,"filename":"image_14122025_14_57_55_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/61b4fe31ea325df7860c0debde6c9fba.jpg","text":"TemporaryFile(/tmp/multipartBody9115580599654698076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721463183,"filename":"image_14122025_14_57_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/12/14/0e98b8dab038c44df44fda5ba4e9a54e.jpg","text":"TemporaryFile(/tmp/multipartBody6301150863815753236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721463183,"filename":"image_14122025_14_57_44_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361229","file1":"1399361228","file0":"1399361227","file4":"1399361231","file5":"1399361233","file3":"1399361230"},"map_files_photo_id_array":[{"photo_id":"1399361233","filename":"file5"},{"photo_id":"1399361229","filename":"file2"},{"photo_id":"1399361231","filename":"file4"},{"photo_id":"1399361228","filename":"file1"},{"photo_id":"1399361227","filename":"file0"},{"photo_id":"1399361230","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361231":["hashtag1","hashtag2"]},{"1399361228":["hashtag1","hashtag2"]},{"1399361233":["hashtag1","hashtag2"]},{"1399361230":["hashtag1","hashtag2"]},{"1399361227":["hashtag1","hashtag2"]},{"1399361229":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361231, 1399361228, 1399361233, 1399361230, 1399361227, 1399361229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.373377323150635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:10:42.137226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_57_1622.jpg', '/home/pi/Desktop/images/04112025/13/33/image_04112025_13_33_01_4237.jpg', '/home/pi/Desktop/images/04112025/13/33/image_04112025_13_33_21_20144.jpg', '/home/pi/Desktop/images/04112025/13/33/image_04112025_13_33_36_15005.jpg', '/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_07_3012.jpg', '/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_12_4345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/32/image_04112025_13_32_57_1622.jpg
/home/pi/Desktop/images/04112025/13/33/image_04112025_13_33_01_4237.jpg
/home/pi/Desktop/images/04112025/13/33/image_04112025_13_33_21_20144.jpg
/home/pi/Desktop/images/04112025/13/33/image_04112025_13_33_36_15005.jpg
/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_07_3012.jpg
/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_12_4345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361243","1399361240","1399361242","1399361244","1399361241","1399361238"],"photo_ids_order":["1399361238","1399361240","1399361241","1399361242","1399361243","1399361244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c93bf18c3eb348b5afc3be53d1725d1.jpg","text":"TemporaryFile(/tmp/multipartBody6937632375285792343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721502852,"filename":"image_04112025_13_35_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/147b8b4a5996087b098dfc708a276b0e.jpg","text":"TemporaryFile(/tmp/multipartBody2227770667035899540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721502852,"filename":"image_04112025_13_33_01_4237.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6bc1e8d0fedc15dcadff5cabe9e45d1.jpg","text":"TemporaryFile(/tmp/multipartBody7354624253844720579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721502852,"filename":"image_04112025_13_33_36_15005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1bd66ef66b595cfa5059b2742fe27b39.jpg","text":"TemporaryFile(/tmp/multipartBody5771921008774657324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721502852,"filename":"image_04112025_13_35_12_4345.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/85ba18acb66643cc895ca38083bf0061.jpg","text":"TemporaryFile(/tmp/multipartBody2807114372382375255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721502852,"filename":"image_04112025_13_33_21_20144.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c4c66a128c9dab94d1c3a90ae904bcb6.jpg","text":"TemporaryFile(/tmp/multipartBody5855553948164753190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721502852,"filename":"image_04112025_13_32_57_1622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361241","file1":"1399361240","file0":"1399361238","file4":"1399361243","file5":"1399361244","file3":"1399361242"},"map_files_photo_id_array":[{"photo_id":"1399361244","filename":"file5"},{"photo_id":"1399361241","filename":"file2"},{"photo_id":"1399361243","filename":"file4"},{"photo_id":"1399361240","filename":"file1"},{"photo_id":"1399361238","filename":"file0"},{"photo_id":"1399361242","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399361243":["hashtag1","hashtag2"]},{"1399361240":["hashtag1","hashtag2"]},{"1399361242":["hashtag1","hashtag2"]},{"1399361244":["hashtag1","hashtag2"]},{"1399361241":["hashtag1","hashtag2"]},{"1399361238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399361243, 1399361240, 1399361242, 1399361244, 1399361241, 1399361238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11295485496521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:11:22.381732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/58/image_14122025_14_58_24_9738.jpg', '/home/pi/Desktop/images/14122025/14/58/image_14122025_14_58_34_10667.jpg', '/home/pi/Desktop/images/14122025/14/58/image_14122025_14_58_44_9894.jpg', '/home/pi/Desktop/images/14122025/14/58/image_14122025_14_58_54_9590.jpg', '/home/pi/Desktop/images/14122025/14/58/image_14122025_14_59_05_10708.jpg', '/home/pi/Desktop/images/14122025/14/59/image_14122025_14_59_14_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/58/image_14122025_14_58_24_9738.jpg
/home/pi/Desktop/images/14122025/14/58/image_14122025_14_58_34_10667.jpg
/home/pi/Desktop/images/14122025/14/58/image_14122025_14_58_44_9894.jpg
/home/pi/Desktop/images/14122025/14/58/image_14122025_14_58_54_9590.jpg
/home/pi/Desktop/images/14122025/14/58/image_14122025_14_59_05_10708.jpg
/home/pi/Desktop/images/14122025/14/59/image_14122025_14_59_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":["1399361249","1399361258","1399361252","1399361254","1399361245","1399361247"],"photo_ids_order":["1399361245","1399361247","1399361249","1399361252","1399361254","1399361258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/80575deba9ce91282964e5e64245bf68.jpg","text":"TemporaryFile(/tmp/multipartBody2958586818425441433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721543068,"filename":"image_14122025_14_58_44_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fef0f901a8532aeaa53d48b491672f49.jpg","text":"TemporaryFile(/tmp/multipartBody2664872167666865748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721543068,"filename":"image_14122025_14_59_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7b1888678889c89f0fa3d0bf1db7a1cf.jpg","text":"TemporaryFile(/tmp/multipartBody7816063995719990849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721543068,"filename":"image_14122025_14_58_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/12/14/cba8e1b7bc684d79e81e0584ac9b6ee3.jpg","text":"TemporaryFile(/tmp/multipartBody7135286129362306337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721543068,"filename":"image_14122025_14_59_05_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc4f1289544fcde48f9c7ae338444f25.jpg","text":"TemporaryFile(/tmp/multipartBody8264907439669725639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721543068,"filename":"image_14122025_14_58_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/12/14/fa214d87070704a31c44854a3c39e737.jpg","text":"TemporaryFile(/tmp/multipartBody1148940922297411002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721543068,"filename":"image_14122025_14_58_34_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361249","file1":"1399361247","file0":"1399361245","file4":"1399361254","file5":"1399361258","file3":"1399361252"},"map_files_photo_id_array":[{"photo_id":"1399361258","filename":"file5"},{"photo_id":"1399361249","filename":"file2"},{"photo_id":"1399361254","filename":"file4"},{"photo_id":"1399361247","filename":"file1"},{"photo_id":"1399361245","filename":"file0"},{"photo_id":"1399361252","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361249":["hashtag1","hashtag2"]},{"1399361258":["hashtag1","hashtag2"]},{"1399361252":["hashtag1","hashtag2"]},{"1399361254":["hashtag1","hashtag2"]},{"1399361245":["hashtag1","hashtag2"]},{"1399361247":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361249, 1399361258, 1399361252, 1399361254, 1399361245, 1399361247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.01818561553955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:12:02.957057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/14/59/image_14122025_14_59_34_9707.jpg', '/home/pi/Desktop/images/14122025/14/59/image_14122025_14_59_44_10655.jpg', '/home/pi/Desktop/images/14122025/14/59/image_14122025_14_59_54_9611.jpg', '/home/pi/Desktop/images/14122025/15/00/image_14122025_15_00_14_10057.jpg', '/home/pi/Desktop/images/14122025/15/00/image_14122025_15_00_25_10690.jpg', '/home/pi/Desktop/images/14122025/15/00/image_14122025_15_00_44_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/14/59/image_14122025_14_59_34_9707.jpg
/home/pi/Desktop/images/14122025/14/59/image_14122025_14_59_44_10655.jpg
/home/pi/Desktop/images/14122025/14/59/image_14122025_14_59_54_9611.jpg
/home/pi/Desktop/images/14122025/15/00/image_14122025_15_00_14_10057.jpg
/home/pi/Desktop/images/14122025/15/00/image_14122025_15_00_25_10690.jpg
/home/pi/Desktop/images/14122025/15/00/image_14122025_15_00_44_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361261","1399361264","1399361260","1399361263","1399361262","1399361259"],"photo_ids_order":["1399361259","1399361260","1399361261","1399361262","1399361263","1399361264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c28ed6706cf0d9a7d63191e981be1a36.jpg","text":"TemporaryFile(/tmp/multipartBody2983646610807320415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721583631,"filename":"image_14122025_14_59_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/12/14/46df8555444a9b890f80711505e4d308.jpg","text":"TemporaryFile(/tmp/multipartBody6770551623914424256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721583631,"filename":"image_14122025_15_00_44_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54677cf8bdacdf30eaba2b8ea0ed3b5d.jpg","text":"TemporaryFile(/tmp/multipartBody6133981002410552330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721583631,"filename":"image_14122025_14_59_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/82719bb8d137924c3d5381f765b4b378.jpg","text":"TemporaryFile(/tmp/multipartBody7290828296073791578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721583631,"filename":"image_14122025_15_00_25_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a2ce78fed80cbe79c8caff0d62a7596.jpg","text":"TemporaryFile(/tmp/multipartBody9136956369544374071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721583631,"filename":"image_14122025_15_00_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/59c7207746bb079036dadab63db5c82d.jpg","text":"TemporaryFile(/tmp/multipartBody1261991118954505092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721583631,"filename":"image_14122025_14_59_34_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361261","file1":"1399361260","file0":"1399361259","file4":"1399361263","file5":"1399361264","file3":"1399361262"},"map_files_photo_id_array":[{"photo_id":"1399361264","filename":"file5"},{"photo_id":"1399361261","filename":"file2"},{"photo_id":"1399361263","filename":"file4"},{"photo_id":"1399361260","filename":"file1"},{"photo_id":"1399361259","filename":"file0"},{"photo_id":"1399361262","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361261":["hashtag1","hashtag2"]},{"1399361264":["hashtag1","hashtag2"]},{"1399361260":["hashtag1","hashtag2"]},{"1399361263":["hashtag1","hashtag2"]},{"1399361262":["hashtag1","hashtag2"]},{"1399361259":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361261, 1399361264, 1399361260, 1399361263, 1399361262, 1399361259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.264580488204956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:12:42.481370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_14_2535.jpg', '/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_29_14838.jpg', '/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_31_1654.jpg', '/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_32_1491.jpg', '/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_34_1619.jpg', '/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_36_1636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_14_2535.jpg
/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_29_14838.jpg
/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_31_1654.jpg
/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_32_1491.jpg
/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_34_1619.jpg
/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_36_1636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361279","1399361270","1399361272","1399361280","1399361277","1399361274"],"photo_ids_order":["1399361270","1399361272","1399361274","1399361277","1399361279","1399361280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2c42da6b0589cd651304fa822026b7eb.jpg","text":"TemporaryFile(/tmp/multipartBody4202224570559997944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721623193,"filename":"image_04112025_13_35_34_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e494974053cf6cd2fd556dc81472f2d5.jpg","text":"TemporaryFile(/tmp/multipartBody2652564606644087275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721623193,"filename":"image_04112025_13_35_14_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c6aff7c0921acba7fb724859dd776346.jpg","text":"TemporaryFile(/tmp/multipartBody6866239735419810717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721623193,"filename":"image_04112025_13_35_29_14838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ea1760ac0e407c8bc0abaf88aaa1709.jpg","text":"TemporaryFile(/tmp/multipartBody3942958736743670512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721623193,"filename":"image_04112025_13_35_36_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/00484ced5e4d23339219bbc16ea4fbdc.jpg","text":"TemporaryFile(/tmp/multipartBody8711018824566132926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721623193,"filename":"image_04112025_13_35_32_1491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a5c48a3be69973888a8e9aec30d57acd.jpg","text":"TemporaryFile(/tmp/multipartBody5235039839020236001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721623193,"filename":"image_04112025_13_35_31_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361274","file1":"1399361272","file0":"1399361270","file4":"1399361279","file5":"1399361280","file3":"1399361277"},"map_files_photo_id_array":[{"photo_id":"1399361280","filename":"file5"},{"photo_id":"1399361274","filename":"file2"},{"photo_id":"1399361279","filename":"file4"},{"photo_id":"1399361272","filename":"file1"},{"photo_id":"1399361270","filename":"file0"},{"photo_id":"1399361277","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399361279":["hashtag1","hashtag2"]},{"1399361270":["hashtag1","hashtag2"]},{"1399361272":["hashtag1","hashtag2"]},{"1399361280":["hashtag1","hashtag2"]},{"1399361277":["hashtag1","hashtag2"]},{"1399361274":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399361279, 1399361270, 1399361272, 1399361280, 1399361277, 1399361274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.751347064971924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:13:22.726375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/00/image_14122025_15_00_55_10799.jpg', '/home/pi/Desktop/images/14122025/15/00/image_14122025_15_01_05_9858.jpg', '/home/pi/Desktop/images/14122025/15/01/image_14122025_15_01_15_9841.jpg', '/home/pi/Desktop/images/14122025/15/01/image_14122025_15_01_25_9712.jpg', '/home/pi/Desktop/images/14122025/15/01/image_14122025_15_01_34_9680.jpg', '/home/pi/Desktop/images/14122025/15/01/image_14122025_15_01_45_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/00/image_14122025_15_00_55_10799.jpg
/home/pi/Desktop/images/14122025/15/00/image_14122025_15_01_05_9858.jpg
/home/pi/Desktop/images/14122025/15/01/image_14122025_15_01_15_9841.jpg
/home/pi/Desktop/images/14122025/15/01/image_14122025_15_01_25_9712.jpg
/home/pi/Desktop/images/14122025/15/01/image_14122025_15_01_34_9680.jpg
/home/pi/Desktop/images/14122025/15/01/image_14122025_15_01_45_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":["1399361282","1399361284","1399361281","1399361286","1399361291","1399361288"],"photo_ids_order":["1399361281","1399361282","1399361284","1399361286","1399361288","1399361291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b2d44006a92f48ad8011f0d7664618bc.jpg","text":"TemporaryFile(/tmp/multipartBody233204612273108399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721663408,"filename":"image_14122025_15_01_05_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/60d0e1ceb21276b01acc3161a09d67ab.jpg","text":"TemporaryFile(/tmp/multipartBody5149061018886997298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721663408,"filename":"image_14122025_15_01_15_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ccf6ea084e5c9193b570796e35e0c3d8.jpg","text":"TemporaryFile(/tmp/multipartBody8614112418565307812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721663408,"filename":"image_14122025_15_00_55_10799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b20e96172efaa36e5ece6ab0a965d83b.jpg","text":"TemporaryFile(/tmp/multipartBody2217108762361047807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721663408,"filename":"image_14122025_15_01_25_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b0d87339727cfa487f97544b19b41d9.jpg","text":"TemporaryFile(/tmp/multipartBody3085842091936452056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721663408,"filename":"image_14122025_15_01_45_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54b5b493bbc2678fdae2932fc813a697.jpg","text":"TemporaryFile(/tmp/multipartBody594979962018482156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721663408,"filename":"image_14122025_15_01_34_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361284","file1":"1399361282","file0":"1399361281","file4":"1399361288","file5":"1399361291","file3":"1399361286"},"map_files_photo_id_array":[{"photo_id":"1399361291","filename":"file5"},{"photo_id":"1399361284","filename":"file2"},{"photo_id":"1399361288","filename":"file4"},{"photo_id":"1399361282","filename":"file1"},{"photo_id":"1399361281","filename":"file0"},{"photo_id":"1399361286","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361282":["hashtag1","hashtag2"]},{"1399361284":["hashtag1","hashtag2"]},{"1399361281":["hashtag1","hashtag2"]},{"1399361286":["hashtag1","hashtag2"]},{"1399361291":["hashtag1","hashtag2"]},{"1399361288":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361282, 1399361284, 1399361281, 1399361286, 1399361291, 1399361288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.87106156349182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:14:02.704874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/01/image_14122025_15_01_55_9601.jpg', '/home/pi/Desktop/images/14122025/15/01/image_14122025_15_02_05_10619.jpg', '/home/pi/Desktop/images/14122025/15/02/image_14122025_15_02_15_9799.jpg', '/home/pi/Desktop/images/14122025/15/02/image_14122025_15_02_25_9811.jpg', '/home/pi/Desktop/images/14122025/15/02/image_14122025_15_02_35_9711.jpg', '/home/pi/Desktop/images/14122025/15/02/image_14122025_15_02_45_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/01/image_14122025_15_01_55_9601.jpg
/home/pi/Desktop/images/14122025/15/01/image_14122025_15_02_05_10619.jpg
/home/pi/Desktop/images/14122025/15/02/image_14122025_15_02_15_9799.jpg
/home/pi/Desktop/images/14122025/15/02/image_14122025_15_02_25_9811.jpg
/home/pi/Desktop/images/14122025/15/02/image_14122025_15_02_35_9711.jpg
/home/pi/Desktop/images/14122025/15/02/image_14122025_15_02_45_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":["1399361297","1399361300","1399361303","1399361302","1399361307","1399361301"],"photo_ids_order":["1399361297","1399361300","1399361301","1399361302","1399361303","1399361307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/916ee7b0f8c3f91cc8539fafe6955467.jpg","text":"TemporaryFile(/tmp/multipartBody3691182702751302915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721703389,"filename":"image_14122025_15_01_55_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/39ffca548787acc5dffd2eb026e7b66d.jpg","text":"TemporaryFile(/tmp/multipartBody8291759693855669353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721703389,"filename":"image_14122025_15_02_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/401472b9cf2a44f2d96695a906eca93e.jpg","text":"TemporaryFile(/tmp/multipartBody2866028041687051538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721703389,"filename":"image_14122025_15_02_35_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3aef0293c212ffae217f9ca6ca567db.jpg","text":"TemporaryFile(/tmp/multipartBody7144691658757054633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721703389,"filename":"image_14122025_15_02_25_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d52150285226a3adcbb14c2a0531cbb.jpg","text":"TemporaryFile(/tmp/multipartBody635484163923616378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721703389,"filename":"image_14122025_15_02_45_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f7284a1daac676409f7e669acf808d5.jpg","text":"TemporaryFile(/tmp/multipartBody7946634451804596531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721703389,"filename":"image_14122025_15_02_15_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361301","file1":"1399361300","file0":"1399361297","file4":"1399361303","file5":"1399361307","file3":"1399361302"},"map_files_photo_id_array":[{"photo_id":"1399361307","filename":"file5"},{"photo_id":"1399361301","filename":"file2"},{"photo_id":"1399361303","filename":"file4"},{"photo_id":"1399361300","filename":"file1"},{"photo_id":"1399361297","filename":"file0"},{"photo_id":"1399361302","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361297":["hashtag1","hashtag2"]},{"1399361300":["hashtag1","hashtag2"]},{"1399361303":["hashtag1","hashtag2"]},{"1399361302":["hashtag1","hashtag2"]},{"1399361307":["hashtag1","hashtag2"]},{"1399361301":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361297, 1399361300, 1399361303, 1399361302, 1399361307, 1399361301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59481143951416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:14:42.027804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_37_1641.jpg', '/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_40_2437.jpg', '/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_44_4478.jpg', '/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_47_1498.jpg', '/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_51_3384.jpg', '/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_52_1627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_37_1641.jpg
/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_40_2437.jpg
/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_44_4478.jpg
/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_47_1498.jpg
/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_51_3384.jpg
/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_52_1627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361324","1399361317","1399361326","1399361311","1399361325","1399361328"],"photo_ids_order":["1399361311","1399361317","1399361324","1399361325","1399361326","1399361328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c512729ebbcc8175995da6e2f8820754.jpg","text":"TemporaryFile(/tmp/multipartBody771233825801354484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721742724,"filename":"image_04112025_13_35_44_4478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d544eed53a1714f0a48776953f103813.jpg","text":"TemporaryFile(/tmp/multipartBody4062961955871418475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721742724,"filename":"image_04112025_13_35_40_2437.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f96d470b8442d7884f4d4ee584e56dec.jpg","text":"TemporaryFile(/tmp/multipartBody4637673287412102596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721742724,"filename":"image_04112025_13_35_51_3384.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0a35417e62f960e6d19f839f726df2d3.jpg","text":"TemporaryFile(/tmp/multipartBody546137789321834178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721742724,"filename":"image_04112025_13_35_37_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c7fca6e1dd16687f8771418f672d56b1.jpg","text":"TemporaryFile(/tmp/multipartBody5319806707582005291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721742724,"filename":"image_04112025_13_35_47_1498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ab9834184b6b93dbc527cb3bba40bf3.jpg","text":"TemporaryFile(/tmp/multipartBody7241915119791137188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721742724,"filename":"image_04112025_13_35_52_1627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361324","file1":"1399361317","file0":"1399361311","file4":"1399361326","file5":"1399361328","file3":"1399361325"},"map_files_photo_id_array":[{"photo_id":"1399361328","filename":"file5"},{"photo_id":"1399361324","filename":"file2"},{"photo_id":"1399361326","filename":"file4"},{"photo_id":"1399361317","filename":"file1"},{"photo_id":"1399361311","filename":"file0"},{"photo_id":"1399361325","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399361324":["hashtag1","hashtag2"]},{"1399361317":["hashtag1","hashtag2"]},{"1399361326":["hashtag1","hashtag2"]},{"1399361311":["hashtag1","hashtag2"]},{"1399361325":["hashtag1","hashtag2"]},{"1399361328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399361324, 1399361317, 1399361326, 1399361311, 1399361325, 1399361328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.206419467926025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:15:22.326412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/02/image_14122025_15_02_55_9644.jpg', '/home/pi/Desktop/images/14122025/15/02/image_14122025_15_03_05_9741.jpg', '/home/pi/Desktop/images/14122025/15/03/image_14122025_15_03_14_9720.jpg', '/home/pi/Desktop/images/14122025/15/03/image_14122025_15_03_25_10676.jpg', '/home/pi/Desktop/images/14122025/15/03/image_14122025_15_03_35_9693.jpg', '/home/pi/Desktop/images/14122025/15/03/image_14122025_15_03_44_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/02/image_14122025_15_02_55_9644.jpg
/home/pi/Desktop/images/14122025/15/02/image_14122025_15_03_05_9741.jpg
/home/pi/Desktop/images/14122025/15/03/image_14122025_15_03_14_9720.jpg
/home/pi/Desktop/images/14122025/15/03/image_14122025_15_03_25_10676.jpg
/home/pi/Desktop/images/14122025/15/03/image_14122025_15_03_35_9693.jpg
/home/pi/Desktop/images/14122025/15/03/image_14122025_15_03_44_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361336","1399361339","1399361330","1399361332","1399361334","1399361337"],"photo_ids_order":["1399361330","1399361332","1399361334","1399361336","1399361337","1399361339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/046b2acee22028d9ac8f2a013f638e5f.jpg","text":"TemporaryFile(/tmp/multipartBody1463671548303731355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721782973,"filename":"image_14122025_15_03_25_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f0dde0a395bf49d69b1dc7695c1dc7f.jpg","text":"TemporaryFile(/tmp/multipartBody6391175972791066199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721782973,"filename":"image_14122025_15_03_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/12/14/d64bd1f4d0ab8435a735cebca763b38f.jpg","text":"TemporaryFile(/tmp/multipartBody9049962546174334580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721782973,"filename":"image_14122025_15_02_55_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ef22363f45c8dbae6ee4a7b1d80ce7a.jpg","text":"TemporaryFile(/tmp/multipartBody7443465733470120689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721782973,"filename":"image_14122025_15_03_05_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/953c9e79d2f125284291e32bac70d4b7.jpg","text":"TemporaryFile(/tmp/multipartBody6278785455841293442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721782973,"filename":"image_14122025_15_03_14_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f26d2f969764de721ff1f98f0cccd88.jpg","text":"TemporaryFile(/tmp/multipartBody4305966186806173201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721782973,"filename":"image_14122025_15_03_35_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361334","file1":"1399361332","file0":"1399361330","file4":"1399361337","file5":"1399361339","file3":"1399361336"},"map_files_photo_id_array":[{"photo_id":"1399361339","filename":"file5"},{"photo_id":"1399361334","filename":"file2"},{"photo_id":"1399361337","filename":"file4"},{"photo_id":"1399361332","filename":"file1"},{"photo_id":"1399361330","filename":"file0"},{"photo_id":"1399361336","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361336":["hashtag1","hashtag2"]},{"1399361339":["hashtag1","hashtag2"]},{"1399361330":["hashtag1","hashtag2"]},{"1399361332":["hashtag1","hashtag2"]},{"1399361334":["hashtag1","hashtag2"]},{"1399361337":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361336, 1399361339, 1399361330, 1399361332, 1399361334, 1399361337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42200970649719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:16:03.045113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/03/image_14122025_15_03_55_10808.jpg', '/home/pi/Desktop/images/14122025/15/03/image_14122025_15_04_05_9730.jpg', '/home/pi/Desktop/images/14122025/15/04/image_14122025_15_04_15_9718.jpg', '/home/pi/Desktop/images/14122025/15/04/image_14122025_15_04_24_9817.jpg', '/home/pi/Desktop/images/14122025/15/04/image_14122025_15_04_34_9804.jpg', '/home/pi/Desktop/images/14122025/15/04/image_14122025_15_04_45_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/03/image_14122025_15_03_55_10808.jpg
/home/pi/Desktop/images/14122025/15/03/image_14122025_15_04_05_9730.jpg
/home/pi/Desktop/images/14122025/15/04/image_14122025_15_04_15_9718.jpg
/home/pi/Desktop/images/14122025/15/04/image_14122025_15_04_24_9817.jpg
/home/pi/Desktop/images/14122025/15/04/image_14122025_15_04_34_9804.jpg
/home/pi/Desktop/images/14122025/15/04/image_14122025_15_04_45_10629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361342","1399361345","1399361341","1399361344","1399361343","1399361340"],"photo_ids_order":["1399361340","1399361341","1399361342","1399361343","1399361344","1399361345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/690c339ea05a6de026cbdf08c3aec381.jpg","text":"TemporaryFile(/tmp/multipartBody3922227565755153114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721823695,"filename":"image_14122025_15_04_15_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1cfabedd0c261f0bd4a446916ccd43a5.jpg","text":"TemporaryFile(/tmp/multipartBody3460703338262792672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721823695,"filename":"image_14122025_15_04_45_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d1850d06a765a7aa6cafbf6387312a09.jpg","text":"TemporaryFile(/tmp/multipartBody3694429576574423998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721823695,"filename":"image_14122025_15_04_05_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5aabcc50d0030151d63067febebc3836.jpg","text":"TemporaryFile(/tmp/multipartBody7785708778012889439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721823695,"filename":"image_14122025_15_04_34_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/881d533667694127bf8cef31615ea99d.jpg","text":"TemporaryFile(/tmp/multipartBody505573077476943051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721823695,"filename":"image_14122025_15_04_24_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a857885158a2a63b832bf8921927638a.jpg","text":"TemporaryFile(/tmp/multipartBody1735739660837123964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721823695,"filename":"image_14122025_15_03_55_10808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361342","file1":"1399361341","file0":"1399361340","file4":"1399361344","file5":"1399361345","file3":"1399361343"},"map_files_photo_id_array":[{"photo_id":"1399361345","filename":"file5"},{"photo_id":"1399361342","filename":"file2"},{"photo_id":"1399361344","filename":"file4"},{"photo_id":"1399361341","filename":"file1"},{"photo_id":"1399361340","filename":"file0"},{"photo_id":"1399361343","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361342":["hashtag1","hashtag2"]},{"1399361345":["hashtag1","hashtag2"]},{"1399361341":["hashtag1","hashtag2"]},{"1399361344":["hashtag1","hashtag2"]},{"1399361343":["hashtag1","hashtag2"]},{"1399361340":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361342, 1399361345, 1399361341, 1399361344, 1399361343, 1399361340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21062111854553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:16:42.533067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_54_1582.jpg', '/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_56_1677.jpg', '/home/pi/Desktop/images/04112025/13/38/image_04112025_13_38_11_6492.jpg', '/home/pi/Desktop/images/04112025/13/38/image_04112025_13_38_14_2997.jpg', '/home/pi/Desktop/images/04112025/13/38/image_04112025_13_38_15_1574.jpg', '/home/pi/Desktop/images/04112025/13/38/image_04112025_13_38_17_1645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_54_1582.jpg
/home/pi/Desktop/images/04112025/13/35/image_04112025_13_35_56_1677.jpg
/home/pi/Desktop/images/04112025/13/38/image_04112025_13_38_11_6492.jpg
/home/pi/Desktop/images/04112025/13/38/image_04112025_13_38_14_2997.jpg
/home/pi/Desktop/images/04112025/13/38/image_04112025_13_38_15_1574.jpg
/home/pi/Desktop/images/04112025/13/38/image_04112025_13_38_17_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":["1399361360","1399361354","1399361362","1399361356","1399361358","1399361352"],"photo_ids_order":["1399361352","1399361354","1399361356","1399361358","1399361360","1399361362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b0f91ba0af5e42f87a9a33b0a9f9b3d5.jpg","text":"TemporaryFile(/tmp/multipartBody3634395086087872035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721863285,"filename":"image_04112025_13_38_15_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24c1bf81855ce349256f85cbf7f26e77.jpg","text":"TemporaryFile(/tmp/multipartBody6848128297725026959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721863285,"filename":"image_04112025_13_35_56_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a6e518413ae9736a16fe2816e15dd98e.jpg","text":"TemporaryFile(/tmp/multipartBody5259742097886436962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721863285,"filename":"image_04112025_13_38_17_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3cf9958b2bdfb1b052e6037dc696482.jpg","text":"TemporaryFile(/tmp/multipartBody186878622684810667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721863285,"filename":"image_04112025_13_38_11_6492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/679aee20b2b234735aa001c7bf9b96ff.jpg","text":"TemporaryFile(/tmp/multipartBody6502265819049626424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721863285,"filename":"image_04112025_13_38_14_2997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5344428ac1e0c1372197d0986033c0af.jpg","text":"TemporaryFile(/tmp/multipartBody3258029563316555198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721863285,"filename":"image_04112025_13_35_54_1582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361356","file1":"1399361354","file0":"1399361352","file4":"1399361360","file5":"1399361362","file3":"1399361358"},"map_files_photo_id_array":[{"photo_id":"1399361362","filename":"file5"},{"photo_id":"1399361356","filename":"file2"},{"photo_id":"1399361360","filename":"file4"},{"photo_id":"1399361354","filename":"file1"},{"photo_id":"1399361352","filename":"file0"},{"photo_id":"1399361358","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399361360":["hashtag1","hashtag2"]},{"1399361354":["hashtag1","hashtag2"]},{"1399361362":["hashtag1","hashtag2"]},{"1399361356":["hashtag1","hashtag2"]},{"1399361358":["hashtag1","hashtag2"]},{"1399361352":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399361360, 1399361354, 1399361362, 1399361356, 1399361358, 1399361352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.975332498550415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:17:22.835648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/04/image_14122025_15_04_55_9712.jpg', '/home/pi/Desktop/images/14122025/15/04/image_14122025_15_05_04_9727.jpg', '/home/pi/Desktop/images/14122025/15/05/image_14122025_15_05_15_10806.jpg', '/home/pi/Desktop/images/14122025/15/05/image_14122025_15_05_25_9671.jpg', '/home/pi/Desktop/images/14122025/15/05/image_14122025_15_05_34_9608.jpg', '/home/pi/Desktop/images/14122025/15/05/image_14122025_15_05_45_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/04/image_14122025_15_04_55_9712.jpg
/home/pi/Desktop/images/14122025/15/04/image_14122025_15_05_04_9727.jpg
/home/pi/Desktop/images/14122025/15/05/image_14122025_15_05_15_10806.jpg
/home/pi/Desktop/images/14122025/15/05/image_14122025_15_05_25_9671.jpg
/home/pi/Desktop/images/14122025/15/05/image_14122025_15_05_34_9608.jpg
/home/pi/Desktop/images/14122025/15/05/image_14122025_15_05_45_10650.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5474107265472412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 15:17:32.851993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:17:42.763883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/38/image_04112025_13_38_19_2550.jpg', '/home/pi/Desktop/images/04112025/13/38/image_04112025_13_38_23_3707.jpg', '/home/pi/Desktop/images/04112025/13/38/image_04112025_13_38_26_2628.jpg', '/home/pi/Desktop/images/04112025/13/38/image_04112025_13_38_28_2703.jpg', '/home/pi/Desktop/images/04112025/13/38/image_04112025_13_38_56_27935.jpg', '/home/pi/Desktop/images/04112025/13/38/image_04112025_13_38_58_1581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/38/image_04112025_13_38_19_2550.jpg
/home/pi/Desktop/images/04112025/13/38/image_04112025_13_38_23_3707.jpg
/home/pi/Desktop/images/04112025/13/38/image_04112025_13_38_26_2628.jpg
/home/pi/Desktop/images/04112025/13/38/image_04112025_13_38_28_2703.jpg
/home/pi/Desktop/images/04112025/13/38/image_04112025_13_38_56_27935.jpg
/home/pi/Desktop/images/04112025/13/38/image_04112025_13_38_58_1581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361375","1399361377","1399361386","1399361389","1399361388","1399361387"],"photo_ids_order":["1399361375","1399361377","1399361386","1399361387","1399361388","1399361389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2915971171f3aa8c6960fd19ca4f21cc.jpg","text":"TemporaryFile(/tmp/multipartBody1555987462053680935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721923449,"filename":"image_04112025_13_38_19_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d1d0e75646d76c855cd1ac711c95bbc9.jpg","text":"TemporaryFile(/tmp/multipartBody3288474037929236371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721923449,"filename":"image_04112025_13_38_23_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/05cb5ca4f03474999f48ed5e1c05ee10.jpg","text":"TemporaryFile(/tmp/multipartBody7049786466621679307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721923449,"filename":"image_04112025_13_38_26_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/97cd10393d3cae3eca5023238c93a60e.jpg","text":"TemporaryFile(/tmp/multipartBody7688152812653911063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721923449,"filename":"image_04112025_13_38_58_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c3808dededde7d1ef204195cbceb6f1.jpg","text":"TemporaryFile(/tmp/multipartBody5308714740331632729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721923449,"filename":"image_04112025_13_38_56_27935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/df35d072b23eb8f77471de86ef566229.jpg","text":"TemporaryFile(/tmp/multipartBody1358164743043077303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721923449,"filename":"image_04112025_13_38_28_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361386","file1":"1399361377","file0":"1399361375","file4":"1399361388","file5":"1399361389","file3":"1399361387"},"map_files_photo_id_array":[{"photo_id":"1399361389","filename":"file5"},{"photo_id":"1399361386","filename":"file2"},{"photo_id":"1399361388","filename":"file4"},{"photo_id":"1399361377","filename":"file1"},{"photo_id":"1399361375","filename":"file0"},{"photo_id":"1399361387","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399361375":["hashtag1","hashtag2"]},{"1399361377":["hashtag1","hashtag2"]},{"1399361386":["hashtag1","hashtag2"]},{"1399361389":["hashtag1","hashtag2"]},{"1399361388":["hashtag1","hashtag2"]},{"1399361387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399361375, 1399361377, 1399361386, 1399361389, 1399361388, 1399361387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84964394569397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:18:22.118008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/04/image_14122025_15_04_55_9712.jpg', '/home/pi/Desktop/images/14122025/15/04/image_14122025_15_05_04_9727.jpg', '/home/pi/Desktop/images/14122025/15/05/image_14122025_15_05_15_10806.jpg', '/home/pi/Desktop/images/14122025/15/05/image_14122025_15_05_25_9671.jpg', '/home/pi/Desktop/images/14122025/15/05/image_14122025_15_05_34_9608.jpg', '/home/pi/Desktop/images/14122025/15/05/image_14122025_15_05_45_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/04/image_14122025_15_04_55_9712.jpg
/home/pi/Desktop/images/14122025/15/04/image_14122025_15_05_04_9727.jpg
/home/pi/Desktop/images/14122025/15/05/image_14122025_15_05_15_10806.jpg
/home/pi/Desktop/images/14122025/15/05/image_14122025_15_05_25_9671.jpg
/home/pi/Desktop/images/14122025/15/05/image_14122025_15_05_34_9608.jpg
/home/pi/Desktop/images/14122025/15/05/image_14122025_15_05_45_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361396","1399361398","1399361392","1399361394","1399361400","1399361390"],"photo_ids_order":["1399361390","1399361392","1399361394","1399361396","1399361398","1399361400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/44446a0e8d0703fdae33d0e802dcb619.jpg","text":"TemporaryFile(/tmp/multipartBody1683313799945043127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721962770,"filename":"image_14122025_15_05_25_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/041a6e88e6aaef06e2a55b2c2e7fc197.jpg","text":"TemporaryFile(/tmp/multipartBody1115495189027585023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721962770,"filename":"image_14122025_15_05_34_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8fde17a977cc98cf6b7aacb98f9a01b3.jpg","text":"TemporaryFile(/tmp/multipartBody7751185384905566394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721962770,"filename":"image_14122025_15_05_04_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/281f0d4856d1c81fbc86a9833a785144.jpg","text":"TemporaryFile(/tmp/multipartBody5108621491829356601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721962770,"filename":"image_14122025_15_05_15_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7570fb1ac2da7b9af7492a48f164c3b9.jpg","text":"TemporaryFile(/tmp/multipartBody7737931018062648816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721962770,"filename":"image_14122025_15_05_45_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/10df3719b6eec97e9955d52cd1ff7dfa.jpg","text":"TemporaryFile(/tmp/multipartBody3472401228282045120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765721962770,"filename":"image_14122025_15_04_55_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361394","file1":"1399361392","file0":"1399361390","file4":"1399361398","file5":"1399361400","file3":"1399361396"},"map_files_photo_id_array":[{"photo_id":"1399361400","filename":"file5"},{"photo_id":"1399361394","filename":"file2"},{"photo_id":"1399361398","filename":"file4"},{"photo_id":"1399361392","filename":"file1"},{"photo_id":"1399361390","filename":"file0"},{"photo_id":"1399361396","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361396":["hashtag1","hashtag2"]},{"1399361398":["hashtag1","hashtag2"]},{"1399361392":["hashtag1","hashtag2"]},{"1399361394":["hashtag1","hashtag2"]},{"1399361400":["hashtag1","hashtag2"]},{"1399361390":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361396, 1399361398, 1399361392, 1399361394, 1399361400, 1399361390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.780150413513184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:19:03.217063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/05/image_14122025_15_05_55_9763.jpg', '/home/pi/Desktop/images/14122025/15/05/image_14122025_15_06_04_9656.jpg', '/home/pi/Desktop/images/14122025/15/06/image_14122025_15_06_15_10667.jpg', '/home/pi/Desktop/images/14122025/15/06/image_14122025_15_06_25_9676.jpg', '/home/pi/Desktop/images/14122025/15/06/image_14122025_15_06_35_9763.jpg', '/home/pi/Desktop/images/14122025/15/06/image_14122025_15_06_44_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/05/image_14122025_15_05_55_9763.jpg
/home/pi/Desktop/images/14122025/15/05/image_14122025_15_06_04_9656.jpg
/home/pi/Desktop/images/14122025/15/06/image_14122025_15_06_15_10667.jpg
/home/pi/Desktop/images/14122025/15/06/image_14122025_15_06_25_9676.jpg
/home/pi/Desktop/images/14122025/15/06/image_14122025_15_06_35_9763.jpg
/home/pi/Desktop/images/14122025/15/06/image_14122025_15_06_44_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":["1399361402","1399361405","1399361408","1399361404","1399361406","1399361403"],"photo_ids_order":["1399361402","1399361403","1399361404","1399361405","1399361406","1399361408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9075265d8c22abd56ca8ade570c36d67.jpg","text":"TemporaryFile(/tmp/multipartBody1665477044684577372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722004040,"filename":"image_14122025_15_05_55_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2745366b81b39887732d6bf472d85c99.jpg","text":"TemporaryFile(/tmp/multipartBody1543312139486572722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722004040,"filename":"image_14122025_15_06_25_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4585b464b2f78929818bc81634c0d3b2.jpg","text":"TemporaryFile(/tmp/multipartBody5139951530773496872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722004040,"filename":"image_14122025_15_06_44_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd9b7d3d4fbd59217c3639a211f18208.jpg","text":"TemporaryFile(/tmp/multipartBody6765652560658312786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722004040,"filename":"image_14122025_15_06_15_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/647d53e8e50d87001a5de4e7b06857aa.jpg","text":"TemporaryFile(/tmp/multipartBody2820349433823667150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722004040,"filename":"image_14122025_15_06_35_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ac3c1bd5083f0fe9571c9c780e1de7f3.jpg","text":"TemporaryFile(/tmp/multipartBody8879408126670777672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722004040,"filename":"image_14122025_15_06_04_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361404","file1":"1399361403","file0":"1399361402","file4":"1399361406","file5":"1399361408","file3":"1399361405"},"map_files_photo_id_array":[{"photo_id":"1399361408","filename":"file5"},{"photo_id":"1399361404","filename":"file2"},{"photo_id":"1399361406","filename":"file4"},{"photo_id":"1399361403","filename":"file1"},{"photo_id":"1399361402","filename":"file0"},{"photo_id":"1399361405","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361402":["hashtag1","hashtag2"]},{"1399361405":["hashtag1","hashtag2"]},{"1399361408":["hashtag1","hashtag2"]},{"1399361404":["hashtag1","hashtag2"]},{"1399361406":["hashtag1","hashtag2"]},{"1399361403":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361402, 1399361405, 1399361408, 1399361404, 1399361406, 1399361403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76367139816284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:19:42.242185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/38/image_04112025_13_39_00_1621.jpg', '/home/pi/Desktop/images/04112025/13/39/image_04112025_13_39_01_1748.jpg', '/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_07_3016.jpg', '/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_11_3696.jpg', '/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_13_2636.jpg', '/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_16_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/38/image_04112025_13_39_00_1621.jpg
/home/pi/Desktop/images/04112025/13/39/image_04112025_13_39_01_1748.jpg
/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_07_3016.jpg
/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_11_3696.jpg
/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_13_2636.jpg
/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_16_2764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361420","1399361413","1399361416","1399361419","1399361421","1399361418"],"photo_ids_order":["1399361413","1399361416","1399361418","1399361419","1399361420","1399361421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/57612e2723a94e1fe83308da21e45aae.jpg","text":"TemporaryFile(/tmp/multipartBody1361581536698478879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722042999,"filename":"image_04112025_13_40_13_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/79c4ace112152d7568d6fe89d28f2e77.jpg","text":"TemporaryFile(/tmp/multipartBody7705117723712804034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722042999,"filename":"image_04112025_13_39_00_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/23ed198cf9a23e72407dc167431ecde9.jpg","text":"TemporaryFile(/tmp/multipartBody6482463666611169954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722042999,"filename":"image_04112025_13_39_01_1748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/79e3282005ec3081a78b325e44f8505b.jpg","text":"TemporaryFile(/tmp/multipartBody5727543743949929255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722042999,"filename":"image_04112025_13_40_11_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/06def62befdba2ee564727d12b9f22e5.jpg","text":"TemporaryFile(/tmp/multipartBody165396310730566983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722042999,"filename":"image_04112025_13_40_16_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ac2f10bbe49f2c103004d37f5190371.jpg","text":"TemporaryFile(/tmp/multipartBody7600342620810994400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722042999,"filename":"image_04112025_13_40_07_3016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361418","file1":"1399361416","file0":"1399361413","file4":"1399361420","file5":"1399361421","file3":"1399361419"},"map_files_photo_id_array":[{"photo_id":"1399361421","filename":"file5"},{"photo_id":"1399361418","filename":"file2"},{"photo_id":"1399361420","filename":"file4"},{"photo_id":"1399361416","filename":"file1"},{"photo_id":"1399361413","filename":"file0"},{"photo_id":"1399361419","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399361420":["hashtag1","hashtag2"]},{"1399361413":["hashtag1","hashtag2"]},{"1399361416":["hashtag1","hashtag2"]},{"1399361419":["hashtag1","hashtag2"]},{"1399361421":["hashtag1","hashtag2"]},{"1399361418":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399361420, 1399361413, 1399361416, 1399361419, 1399361421, 1399361418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88499903678894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:20:22.509025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/06/image_14122025_15_06_55_10706.jpg', '/home/pi/Desktop/images/14122025/15/06/image_14122025_15_07_05_9642.jpg', '/home/pi/Desktop/images/14122025/15/07/image_14122025_15_07_14_9700.jpg', '/home/pi/Desktop/images/14122025/15/07/image_14122025_15_07_25_10678.jpg', '/home/pi/Desktop/images/14122025/15/07/image_14122025_15_07_45_9852.jpg', '/home/pi/Desktop/images/14122025/15/07/image_14122025_15_07_55_9855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/06/image_14122025_15_06_55_10706.jpg
/home/pi/Desktop/images/14122025/15/06/image_14122025_15_07_05_9642.jpg
/home/pi/Desktop/images/14122025/15/07/image_14122025_15_07_14_9700.jpg
/home/pi/Desktop/images/14122025/15/07/image_14122025_15_07_25_10678.jpg
/home/pi/Desktop/images/14122025/15/07/image_14122025_15_07_45_9852.jpg
/home/pi/Desktop/images/14122025/15/07/image_14122025_15_07_55_9855.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361429","1399361423","1399361422","1399361425","1399361433","1399361427"],"photo_ids_order":["1399361422","1399361423","1399361425","1399361427","1399361429","1399361433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/07be5f346f63ceddbf237d5a7ec94ab2.jpg","text":"TemporaryFile(/tmp/multipartBody6624883524082807443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722083161,"filename":"image_14122025_15_07_45_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29d3d6a82b5f809f56147bcbe8fa0882.jpg","text":"TemporaryFile(/tmp/multipartBody1095432179501982421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722083161,"filename":"image_14122025_15_07_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2a67b2e1aeff5a10e8027b89b66ac9e.jpg","text":"TemporaryFile(/tmp/multipartBody4243476470057169723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722083161,"filename":"image_14122025_15_06_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/12/14/7cb18c18629c38f5c96f55f3a88b5013.jpg","text":"TemporaryFile(/tmp/multipartBody70068222039657308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722083161,"filename":"image_14122025_15_07_14_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5451f2b2421fb3ddeb3b732474846ff8.jpg","text":"TemporaryFile(/tmp/multipartBody2696609249766366338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722083161,"filename":"image_14122025_15_07_55_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/22ab8cfd2b6efd72261ac1b3bead1052.jpg","text":"TemporaryFile(/tmp/multipartBody7499947048716464450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722083161,"filename":"image_14122025_15_07_25_10678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361425","file1":"1399361423","file0":"1399361422","file4":"1399361429","file5":"1399361433","file3":"1399361427"},"map_files_photo_id_array":[{"photo_id":"1399361433","filename":"file5"},{"photo_id":"1399361425","filename":"file2"},{"photo_id":"1399361429","filename":"file4"},{"photo_id":"1399361423","filename":"file1"},{"photo_id":"1399361422","filename":"file0"},{"photo_id":"1399361427","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361429":["hashtag1","hashtag2"]},{"1399361423":["hashtag1","hashtag2"]},{"1399361422":["hashtag1","hashtag2"]},{"1399361425":["hashtag1","hashtag2"]},{"1399361433":["hashtag1","hashtag2"]},{"1399361427":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361429, 1399361423, 1399361422, 1399361425, 1399361433, 1399361427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93371343612671 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:21:03.311407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/07/image_14122025_15_08_04_9673.jpg', '/home/pi/Desktop/images/14122025/15/08/image_14122025_15_08_25_9759.jpg', '/home/pi/Desktop/images/14122025/15/08/image_14122025_15_08_34_9586.jpg', '/home/pi/Desktop/images/14122025/15/08/image_14122025_15_08_45_10669.jpg', '/home/pi/Desktop/images/14122025/15/08/image_14122025_15_08_55_9669.jpg', '/home/pi/Desktop/images/14122025/15/08/image_14122025_15_09_04_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/07/image_14122025_15_08_04_9673.jpg
/home/pi/Desktop/images/14122025/15/08/image_14122025_15_08_25_9759.jpg
/home/pi/Desktop/images/14122025/15/08/image_14122025_15_08_34_9586.jpg
/home/pi/Desktop/images/14122025/15/08/image_14122025_15_08_45_10669.jpg
/home/pi/Desktop/images/14122025/15/08/image_14122025_15_08_55_9669.jpg
/home/pi/Desktop/images/14122025/15/08/image_14122025_15_09_04_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361453","1399361456","1399361452","1399361449","1399361451","1399361454"],"photo_ids_order":["1399361449","1399361451","1399361452","1399361453","1399361454","1399361456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/232d34b3a6769ebb385339f9447058cb.jpg","text":"TemporaryFile(/tmp/multipartBody7964715687230093507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722124033,"filename":"image_14122025_15_08_45_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8ef35de652bd8194b0099b4b9cc76cce.jpg","text":"TemporaryFile(/tmp/multipartBody3979085144468924663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722124033,"filename":"image_14122025_15_09_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7a492e455cbf9f2aaf12cd3443320ce.jpg","text":"TemporaryFile(/tmp/multipartBody7596158963228504924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722124033,"filename":"image_14122025_15_08_34_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28dc8a5c0e773b5a21c854151522f1f6.jpg","text":"TemporaryFile(/tmp/multipartBody6946788058464119183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722124033,"filename":"image_14122025_15_08_04_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b50ca348739eefaba19519b13ccc0d31.jpg","text":"TemporaryFile(/tmp/multipartBody3484519255889385631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722124033,"filename":"image_14122025_15_08_25_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8bcd9c7d02777ad9676d3dcc2414401f.jpg","text":"TemporaryFile(/tmp/multipartBody307286947959749384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722124033,"filename":"image_14122025_15_08_55_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361452","file1":"1399361451","file0":"1399361449","file4":"1399361454","file5":"1399361456","file3":"1399361453"},"map_files_photo_id_array":[{"photo_id":"1399361456","filename":"file5"},{"photo_id":"1399361452","filename":"file2"},{"photo_id":"1399361454","filename":"file4"},{"photo_id":"1399361451","filename":"file1"},{"photo_id":"1399361449","filename":"file0"},{"photo_id":"1399361453","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361453":["hashtag1","hashtag2"]},{"1399361456":["hashtag1","hashtag2"]},{"1399361452":["hashtag1","hashtag2"]},{"1399361449":["hashtag1","hashtag2"]},{"1399361451":["hashtag1","hashtag2"]},{"1399361454":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361453, 1399361456, 1399361452, 1399361449, 1399361451, 1399361454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.746431827545166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:21:42.797675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_20_3791.jpg', '/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_23_2574.jpg', '/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_26_3098.jpg', '/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_39_13457.jpg', '/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_41_1654.jpg', '/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_42_1649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_20_3791.jpg
/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_23_2574.jpg
/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_26_3098.jpg
/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_39_13457.jpg
/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_41_1654.jpg
/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_42_1649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361464","1399361467","1399361461","1399361469","1399361466","1399361465"],"photo_ids_order":["1399361461","1399361464","1399361465","1399361466","1399361467","1399361469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ab6cf2d5e17f8204f19b7d2023e415f.jpg","text":"TemporaryFile(/tmp/multipartBody2305922038272793611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722163519,"filename":"image_04112025_13_40_23_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf4f615087773923a1f778de40b6f9fa.jpg","text":"TemporaryFile(/tmp/multipartBody4685222520731515622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722163519,"filename":"image_04112025_13_40_41_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ddbd226be4ac2eaea1e18448f577f183.jpg","text":"TemporaryFile(/tmp/multipartBody305486912542776274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722163519,"filename":"image_04112025_13_40_20_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51b894099c9476cf3dab6dfe6fe1c90f.jpg","text":"TemporaryFile(/tmp/multipartBody6242079770645781489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722163519,"filename":"image_04112025_13_40_42_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e8d2ac45da1a9be1bb48b0957746bdbd.jpg","text":"TemporaryFile(/tmp/multipartBody7719581332076698495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722163519,"filename":"image_04112025_13_40_39_13457.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da8eb4fd72bcf87692c434ad43eac3bf.jpg","text":"TemporaryFile(/tmp/multipartBody250224487575501780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722163519,"filename":"image_04112025_13_40_26_3098.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361465","file1":"1399361464","file0":"1399361461","file4":"1399361467","file5":"1399361469","file3":"1399361466"},"map_files_photo_id_array":[{"photo_id":"1399361469","filename":"file5"},{"photo_id":"1399361465","filename":"file2"},{"photo_id":"1399361467","filename":"file4"},{"photo_id":"1399361464","filename":"file1"},{"photo_id":"1399361461","filename":"file0"},{"photo_id":"1399361466","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399361464":["hashtag1","hashtag2"]},{"1399361467":["hashtag1","hashtag2"]},{"1399361461":["hashtag1","hashtag2"]},{"1399361469":["hashtag1","hashtag2"]},{"1399361466":["hashtag1","hashtag2"]},{"1399361465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399361464, 1399361467, 1399361461, 1399361469, 1399361466, 1399361465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.877053022384644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:22:22.064312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/09/image_14122025_15_09_14_9927.jpg', '/home/pi/Desktop/images/14122025/15/09/image_14122025_15_09_25_10725.jpg', '/home/pi/Desktop/images/14122025/15/09/image_14122025_15_09_35_9809.jpg', '/home/pi/Desktop/images/14122025/15/09/image_14122025_15_09_44_9556.jpg', '/home/pi/Desktop/images/14122025/15/09/image_14122025_15_09_55_10679.jpg', '/home/pi/Desktop/images/14122025/15/09/image_14122025_15_10_05_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/09/image_14122025_15_09_14_9927.jpg
/home/pi/Desktop/images/14122025/15/09/image_14122025_15_09_25_10725.jpg
/home/pi/Desktop/images/14122025/15/09/image_14122025_15_09_35_9809.jpg
/home/pi/Desktop/images/14122025/15/09/image_14122025_15_09_44_9556.jpg
/home/pi/Desktop/images/14122025/15/09/image_14122025_15_09_55_10679.jpg
/home/pi/Desktop/images/14122025/15/09/image_14122025_15_10_05_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361480","1399361474","1399361476","1399361478","1399361472","1399361483"],"photo_ids_order":["1399361472","1399361474","1399361476","1399361478","1399361480","1399361483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a364c9309b5e7897e9090043d525786.jpg","text":"TemporaryFile(/tmp/multipartBody1122273800829960265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722202717,"filename":"image_14122025_15_09_55_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c868e88e2e7188bd7935627832a1e5f8.jpg","text":"TemporaryFile(/tmp/multipartBody2808708931680982910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722202717,"filename":"image_14122025_15_09_25_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d55f10709f628dff316ae4113919c22.jpg","text":"TemporaryFile(/tmp/multipartBody26233072805032240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722202717,"filename":"image_14122025_15_09_35_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7eaef60e074ace039f963c0b5f928b15.jpg","text":"TemporaryFile(/tmp/multipartBody3785759557607034793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722202717,"filename":"image_14122025_15_09_44_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e0dac86a11153d8ead262a4f6e3daeee.jpg","text":"TemporaryFile(/tmp/multipartBody169481139930196053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722202717,"filename":"image_14122025_15_09_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/12/14/8d4ef0f041c4498523cdb8501fcdf166.jpg","text":"TemporaryFile(/tmp/multipartBody3856263939401316351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722202717,"filename":"image_14122025_15_10_05_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361476","file1":"1399361474","file0":"1399361472","file4":"1399361480","file5":"1399361483","file3":"1399361478"},"map_files_photo_id_array":[{"photo_id":"1399361483","filename":"file5"},{"photo_id":"1399361476","filename":"file2"},{"photo_id":"1399361480","filename":"file4"},{"photo_id":"1399361474","filename":"file1"},{"photo_id":"1399361472","filename":"file0"},{"photo_id":"1399361478","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361480":["hashtag1","hashtag2"]},{"1399361474":["hashtag1","hashtag2"]},{"1399361476":["hashtag1","hashtag2"]},{"1399361478":["hashtag1","hashtag2"]},{"1399361472":["hashtag1","hashtag2"]},{"1399361483":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361480, 1399361474, 1399361476, 1399361478, 1399361472, 1399361483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66420841217041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:23:02.963941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/10/image_14122025_15_10_15_9786.jpg', '/home/pi/Desktop/images/14122025/15/10/image_14122025_15_10_24_9830.jpg', '/home/pi/Desktop/images/14122025/15/10/image_14122025_15_10_35_10667.jpg', '/home/pi/Desktop/images/14122025/15/10/image_14122025_15_10_45_9699.jpg', '/home/pi/Desktop/images/14122025/15/10/image_14122025_15_10_55_9751.jpg', '/home/pi/Desktop/images/14122025/15/10/image_14122025_15_11_04_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/10/image_14122025_15_10_15_9786.jpg
/home/pi/Desktop/images/14122025/15/10/image_14122025_15_10_24_9830.jpg
/home/pi/Desktop/images/14122025/15/10/image_14122025_15_10_35_10667.jpg
/home/pi/Desktop/images/14122025/15/10/image_14122025_15_10_45_9699.jpg
/home/pi/Desktop/images/14122025/15/10/image_14122025_15_10_55_9751.jpg
/home/pi/Desktop/images/14122025/15/10/image_14122025_15_11_04_9822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361485","1399361488","1399361487","1399361490","1399361484","1399361486"],"photo_ids_order":["1399361484","1399361485","1399361486","1399361487","1399361488","1399361490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b38c0fd1cb1f9b7782641aed86d0cf2f.jpg","text":"TemporaryFile(/tmp/multipartBody1167317445597955985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722243677,"filename":"image_14122025_15_10_24_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d7e9bed95bb3af08525161480c3fbac8.jpg","text":"TemporaryFile(/tmp/multipartBody6387286470996506847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722243677,"filename":"image_14122025_15_10_55_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2d9eb68bc563e42ba5987d82745afc1.jpg","text":"TemporaryFile(/tmp/multipartBody2902221873514673091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722243677,"filename":"image_14122025_15_10_45_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce886a2ef6c7d472b7818348af18dc6a.jpg","text":"TemporaryFile(/tmp/multipartBody3311719354562262365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722243677,"filename":"image_14122025_15_11_04_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cfea0c9de793be52b56b53ab09020fe5.jpg","text":"TemporaryFile(/tmp/multipartBody3562989485378168496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722243677,"filename":"image_14122025_15_10_15_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ec43a9015169a85068ddaff17731dfbe.jpg","text":"TemporaryFile(/tmp/multipartBody4681435983591189144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722243677,"filename":"image_14122025_15_10_35_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361486","file1":"1399361485","file0":"1399361484","file4":"1399361488","file5":"1399361490","file3":"1399361487"},"map_files_photo_id_array":[{"photo_id":"1399361490","filename":"file5"},{"photo_id":"1399361486","filename":"file2"},{"photo_id":"1399361488","filename":"file4"},{"photo_id":"1399361485","filename":"file1"},{"photo_id":"1399361484","filename":"file0"},{"photo_id":"1399361487","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361485":["hashtag1","hashtag2"]},{"1399361488":["hashtag1","hashtag2"]},{"1399361487":["hashtag1","hashtag2"]},{"1399361490":["hashtag1","hashtag2"]},{"1399361484":["hashtag1","hashtag2"]},{"1399361486":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361485, 1399361488, 1399361487, 1399361490, 1399361484, 1399361486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.345924615859985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:23:42.222809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_44_1742.jpg', '/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_46_1569.jpg', '/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_50_4345.jpg', '/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_52_1611.jpg', '/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_53_1614.jpg', '/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_55_1883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_44_1742.jpg
/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_46_1569.jpg
/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_50_4345.jpg
/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_52_1611.jpg
/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_53_1614.jpg
/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_55_1883.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361495","1399361510","1399361513","1399361507","1399361512","1399361511"],"photo_ids_order":["1399361495","1399361507","1399361510","1399361511","1399361512","1399361513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e738a22fbcb258df676fd46c4504bc3.jpg","text":"TemporaryFile(/tmp/multipartBody1719843229377403582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722282977,"filename":"image_04112025_13_40_44_1742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/32d276942c6c6265712b721883230507.jpg","text":"TemporaryFile(/tmp/multipartBody6924012775192492872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722282977,"filename":"image_04112025_13_40_50_4345.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb249666b596a68677f41037482dc0dd.jpg","text":"TemporaryFile(/tmp/multipartBody8270887967558501295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722282977,"filename":"image_04112025_13_40_55_1883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/87c188af752cc81fada5870f1d3cfe4b.jpg","text":"TemporaryFile(/tmp/multipartBody1795585498133400939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722282977,"filename":"image_04112025_13_40_46_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d858ee5f6e2ca2011c9863127b2d9344.jpg","text":"TemporaryFile(/tmp/multipartBody3268110093788287184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722282977,"filename":"image_04112025_13_40_53_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8fee1e75cbb28e5f4b43888163d8fd15.jpg","text":"TemporaryFile(/tmp/multipartBody3994589959158032311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722282977,"filename":"image_04112025_13_40_52_1611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361510","file1":"1399361507","file0":"1399361495","file4":"1399361512","file5":"1399361513","file3":"1399361511"},"map_files_photo_id_array":[{"photo_id":"1399361513","filename":"file5"},{"photo_id":"1399361510","filename":"file2"},{"photo_id":"1399361512","filename":"file4"},{"photo_id":"1399361507","filename":"file1"},{"photo_id":"1399361495","filename":"file0"},{"photo_id":"1399361511","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399361495":["hashtag1","hashtag2"]},{"1399361510":["hashtag1","hashtag2"]},{"1399361513":["hashtag1","hashtag2"]},{"1399361507":["hashtag1","hashtag2"]},{"1399361512":["hashtag1","hashtag2"]},{"1399361511":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399361495, 1399361510, 1399361513, 1399361507, 1399361512, 1399361511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.376439809799194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:24:22.490176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/11/image_14122025_15_11_15_10647.jpg', '/home/pi/Desktop/images/14122025/15/11/image_14122025_15_11_25_9662.jpg', '/home/pi/Desktop/images/14122025/15/11/image_14122025_15_11_34_9686.jpg', '/home/pi/Desktop/images/14122025/15/11/image_14122025_15_11_45_10802.jpg', '/home/pi/Desktop/images/14122025/15/11/image_14122025_15_11_55_9628.jpg', '/home/pi/Desktop/images/14122025/15/11/image_14122025_15_12_05_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/11/image_14122025_15_11_15_10647.jpg
/home/pi/Desktop/images/14122025/15/11/image_14122025_15_11_25_9662.jpg
/home/pi/Desktop/images/14122025/15/11/image_14122025_15_11_34_9686.jpg
/home/pi/Desktop/images/14122025/15/11/image_14122025_15_11_45_10802.jpg
/home/pi/Desktop/images/14122025/15/11/image_14122025_15_11_55_9628.jpg
/home/pi/Desktop/images/14122025/15/11/image_14122025_15_12_05_9771.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5426945686340332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 15:24:32.421143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:24:42.417614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_57_1766.jpg', '/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_58_1513.jpg', '/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_01_2614.jpg', '/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_09_8204.jpg', '/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_12_2993.jpg', '/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_14_1729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_57_1766.jpg
/home/pi/Desktop/images/04112025/13/40/image_04112025_13_40_58_1513.jpg
/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_01_2614.jpg
/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_09_8204.jpg
/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_12_2993.jpg
/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_14_1729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361528","1399361530","1399361527","1399361524","1399361526","1399361529"],"photo_ids_order":["1399361524","1399361526","1399361527","1399361528","1399361529","1399361530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c18db74b498c2a85ff47420a716b6af4.jpg","text":"TemporaryFile(/tmp/multipartBody8223568525527712691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722343101,"filename":"image_04112025_13_41_09_8204.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/43bedf4bb688a8fd001b6e4fde8bb5c2.jpg","text":"TemporaryFile(/tmp/multipartBody3498790333267852363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722343101,"filename":"image_04112025_13_41_14_1729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e8b9d0a95a6dd473792dc1894bd96def.jpg","text":"TemporaryFile(/tmp/multipartBody717332445803056034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722343101,"filename":"image_04112025_13_41_01_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fccabcdc81326a65309a4f18473f86bb.jpg","text":"TemporaryFile(/tmp/multipartBody6066180526811280497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722343101,"filename":"image_04112025_13_40_57_1766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7b10877c8855db9dfd6db7cb15e057df.jpg","text":"TemporaryFile(/tmp/multipartBody6850156699924630318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722343101,"filename":"image_04112025_13_40_58_1513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/12b32b2f83d61c8b373d5028d4349b75.jpg","text":"TemporaryFile(/tmp/multipartBody4828691579074956912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722343101,"filename":"image_04112025_13_41_12_2993.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361527","file1":"1399361526","file0":"1399361524","file4":"1399361529","file5":"1399361530","file3":"1399361528"},"map_files_photo_id_array":[{"photo_id":"1399361530","filename":"file5"},{"photo_id":"1399361527","filename":"file2"},{"photo_id":"1399361529","filename":"file4"},{"photo_id":"1399361526","filename":"file1"},{"photo_id":"1399361524","filename":"file0"},{"photo_id":"1399361528","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399361528":["hashtag1","hashtag2"]},{"1399361530":["hashtag1","hashtag2"]},{"1399361527":["hashtag1","hashtag2"]},{"1399361524":["hashtag1","hashtag2"]},{"1399361526":["hashtag1","hashtag2"]},{"1399361529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399361528, 1399361530, 1399361527, 1399361524, 1399361526, 1399361529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51514720916748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:25:22.659158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/11/image_14122025_15_11_15_10647.jpg', '/home/pi/Desktop/images/14122025/15/11/image_14122025_15_11_25_9662.jpg', '/home/pi/Desktop/images/14122025/15/11/image_14122025_15_11_34_9686.jpg', '/home/pi/Desktop/images/14122025/15/11/image_14122025_15_11_45_10802.jpg', '/home/pi/Desktop/images/14122025/15/11/image_14122025_15_11_55_9628.jpg', '/home/pi/Desktop/images/14122025/15/11/image_14122025_15_12_05_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/11/image_14122025_15_11_15_10647.jpg
/home/pi/Desktop/images/14122025/15/11/image_14122025_15_11_25_9662.jpg
/home/pi/Desktop/images/14122025/15/11/image_14122025_15_11_34_9686.jpg
/home/pi/Desktop/images/14122025/15/11/image_14122025_15_11_45_10802.jpg
/home/pi/Desktop/images/14122025/15/11/image_14122025_15_11_55_9628.jpg
/home/pi/Desktop/images/14122025/15/11/image_14122025_15_12_05_9771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361537","1399361539","1399361533","1399361536","1399361541","1399361532"],"photo_ids_order":["1399361532","1399361533","1399361536","1399361537","1399361539","1399361541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/83191a9231d9fde6d7de892ba9ac96fe.jpg","text":"TemporaryFile(/tmp/multipartBody5874195780337652486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722383357,"filename":"image_14122025_15_11_45_10802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/35fe7063a2ab12eae0b1c621d2b894b6.jpg","text":"TemporaryFile(/tmp/multipartBody4586832450560311215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722383357,"filename":"image_14122025_15_11_55_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a450c1e497f226ed401a6b5b674fe04b.jpg","text":"TemporaryFile(/tmp/multipartBody1821195279636126296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722383357,"filename":"image_14122025_15_11_25_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a040ee57f7589b3bf17d915fe38f6484.jpg","text":"TemporaryFile(/tmp/multipartBody7459796758606624040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722383357,"filename":"image_14122025_15_11_34_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2196063b77b6c01473303ef12753aafa.jpg","text":"TemporaryFile(/tmp/multipartBody7669616509947302939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722383357,"filename":"image_14122025_15_12_05_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/11499b4c5c5500e4410ca7f26fab490b.jpg","text":"TemporaryFile(/tmp/multipartBody5211619294379669991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722383357,"filename":"image_14122025_15_11_15_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361536","file1":"1399361533","file0":"1399361532","file4":"1399361539","file5":"1399361541","file3":"1399361537"},"map_files_photo_id_array":[{"photo_id":"1399361541","filename":"file5"},{"photo_id":"1399361536","filename":"file2"},{"photo_id":"1399361539","filename":"file4"},{"photo_id":"1399361533","filename":"file1"},{"photo_id":"1399361532","filename":"file0"},{"photo_id":"1399361537","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361537":["hashtag1","hashtag2"]},{"1399361539":["hashtag1","hashtag2"]},{"1399361533":["hashtag1","hashtag2"]},{"1399361536":["hashtag1","hashtag2"]},{"1399361541":["hashtag1","hashtag2"]},{"1399361532":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361537, 1399361539, 1399361533, 1399361536, 1399361541, 1399361532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.228121519088745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:26:02.352797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/12/image_14122025_15_12_14_9872.jpg', '/home/pi/Desktop/images/14122025/15/12/image_14122025_15_12_24_9860.jpg', '/home/pi/Desktop/images/14122025/15/12/image_14122025_15_12_35_10633.jpg', '/home/pi/Desktop/images/14122025/15/12/image_14122025_15_12_45_9689.jpg', '/home/pi/Desktop/images/14122025/15/12/image_14122025_15_12_55_10660.jpg', '/home/pi/Desktop/images/14122025/15/12/image_14122025_15_13_05_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/12/image_14122025_15_12_14_9872.jpg
/home/pi/Desktop/images/14122025/15/12/image_14122025_15_12_24_9860.jpg
/home/pi/Desktop/images/14122025/15/12/image_14122025_15_12_35_10633.jpg
/home/pi/Desktop/images/14122025/15/12/image_14122025_15_12_45_9689.jpg
/home/pi/Desktop/images/14122025/15/12/image_14122025_15_12_55_10660.jpg
/home/pi/Desktop/images/14122025/15/12/image_14122025_15_13_05_9664.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5792129039764404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 15:26:11.794527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:26:21.892857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/12/image_14122025_15_12_14_9872.jpg', '/home/pi/Desktop/images/14122025/15/12/image_14122025_15_12_24_9860.jpg', '/home/pi/Desktop/images/14122025/15/12/image_14122025_15_12_35_10633.jpg', '/home/pi/Desktop/images/14122025/15/12/image_14122025_15_12_45_9689.jpg', '/home/pi/Desktop/images/14122025/15/12/image_14122025_15_12_55_10660.jpg', '/home/pi/Desktop/images/14122025/15/12/image_14122025_15_13_05_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/12/image_14122025_15_12_14_9872.jpg
/home/pi/Desktop/images/14122025/15/12/image_14122025_15_12_24_9860.jpg
/home/pi/Desktop/images/14122025/15/12/image_14122025_15_12_35_10633.jpg
/home/pi/Desktop/images/14122025/15/12/image_14122025_15_12_45_9689.jpg
/home/pi/Desktop/images/14122025/15/12/image_14122025_15_12_55_10660.jpg
/home/pi/Desktop/images/14122025/15/12/image_14122025_15_13_05_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361552","1399361554","1399361548","1399361556","1399361559","1399361550"],"photo_ids_order":["1399361548","1399361550","1399361552","1399361554","1399361556","1399361559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5010ff8bc1c505088e34bbf1132ee284.jpg","text":"TemporaryFile(/tmp/multipartBody4411547480439968683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722442539,"filename":"image_14122025_15_12_35_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/437a17c1c5c75c63fa72672d41c1a8c3.jpg","text":"TemporaryFile(/tmp/multipartBody7061755090426448644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722442539,"filename":"image_14122025_15_12_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/12/14/16c89fee5943fa31867297f82dcf1258.jpg","text":"TemporaryFile(/tmp/multipartBody4848698754664353634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722442539,"filename":"image_14122025_15_12_14_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19bda321c74d3c282cb2633617e7eefd.jpg","text":"TemporaryFile(/tmp/multipartBody9215024006146233159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722442539,"filename":"image_14122025_15_12_55_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/31894056c38cbacbb87656c073c34bf1.jpg","text":"TemporaryFile(/tmp/multipartBody2070493672630707128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722442539,"filename":"image_14122025_15_13_05_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/637f2b7d5afcaae8447f8247b1b59b07.jpg","text":"TemporaryFile(/tmp/multipartBody1881862780994555331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722442539,"filename":"image_14122025_15_12_24_9860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361552","file1":"1399361550","file0":"1399361548","file4":"1399361556","file5":"1399361559","file3":"1399361554"},"map_files_photo_id_array":[{"photo_id":"1399361559","filename":"file5"},{"photo_id":"1399361552","filename":"file2"},{"photo_id":"1399361556","filename":"file4"},{"photo_id":"1399361550","filename":"file1"},{"photo_id":"1399361548","filename":"file0"},{"photo_id":"1399361554","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361552":["hashtag1","hashtag2"]},{"1399361554":["hashtag1","hashtag2"]},{"1399361548":["hashtag1","hashtag2"]},{"1399361556":["hashtag1","hashtag2"]},{"1399361559":["hashtag1","hashtag2"]},{"1399361550":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361552, 1399361554, 1399361548, 1399361556, 1399361559, 1399361550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41005825996399 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:27:02.497656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/13/image_14122025_15_13_15_9621.jpg', '/home/pi/Desktop/images/14122025/15/13/image_14122025_15_13_25_10623.jpg', '/home/pi/Desktop/images/14122025/15/13/image_14122025_15_13_35_9550.jpg', '/home/pi/Desktop/images/14122025/15/13/image_14122025_15_13_44_9758.jpg', '/home/pi/Desktop/images/14122025/15/13/image_14122025_15_13_55_10656.jpg', '/home/pi/Desktop/images/14122025/15/13/image_14122025_15_14_05_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/13/image_14122025_15_13_15_9621.jpg
/home/pi/Desktop/images/14122025/15/13/image_14122025_15_13_25_10623.jpg
/home/pi/Desktop/images/14122025/15/13/image_14122025_15_13_35_9550.jpg
/home/pi/Desktop/images/14122025/15/13/image_14122025_15_13_44_9758.jpg
/home/pi/Desktop/images/14122025/15/13/image_14122025_15_13_55_10656.jpg
/home/pi/Desktop/images/14122025/15/13/image_14122025_15_14_05_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":["1399361573","1399361575","1399361572","1399361571","1399361577","1399361570"],"photo_ids_order":["1399361570","1399361571","1399361572","1399361573","1399361575","1399361577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4713151a1860c23fce07492f89c545e6.jpg","text":"TemporaryFile(/tmp/multipartBody6348547149106639680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722485300,"filename":"image_14122025_15_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/12/14/16e7f56f7de298682d1ad3ac32beded0.jpg","text":"TemporaryFile(/tmp/multipartBody8975476503371701638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722485300,"filename":"image_14122025_15_13_55_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90ab221e1e9cdb8cedf404b901a78941.jpg","text":"TemporaryFile(/tmp/multipartBody482805317273866974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722485300,"filename":"image_14122025_15_13_35_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/18c591f84fa81100072cd2ec67560a3b.jpg","text":"TemporaryFile(/tmp/multipartBody3699868718674892324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722485300,"filename":"image_14122025_15_13_25_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ef47a6643f15f8872d169710e8cf7a1.jpg","text":"TemporaryFile(/tmp/multipartBody6927974630248113928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722485300,"filename":"image_14122025_15_14_05_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f6d6e42507905a9cdd2e97efe96fe85.jpg","text":"TemporaryFile(/tmp/multipartBody7737956555556870987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722485300,"filename":"image_14122025_15_13_15_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361572","file1":"1399361571","file0":"1399361570","file4":"1399361575","file5":"1399361577","file3":"1399361573"},"map_files_photo_id_array":[{"photo_id":"1399361577","filename":"file5"},{"photo_id":"1399361572","filename":"file2"},{"photo_id":"1399361575","filename":"file4"},{"photo_id":"1399361571","filename":"file1"},{"photo_id":"1399361570","filename":"file0"},{"photo_id":"1399361573","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361573":["hashtag1","hashtag2"]},{"1399361575":["hashtag1","hashtag2"]},{"1399361572":["hashtag1","hashtag2"]},{"1399361571":["hashtag1","hashtag2"]},{"1399361577":["hashtag1","hashtag2"]},{"1399361570":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361573, 1399361575, 1399361572, 1399361571, 1399361577, 1399361570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10421800613403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:28:02.704686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/14/image_14122025_15_14_15_9743.jpg', '/home/pi/Desktop/images/14122025/15/14/image_14122025_15_14_25_10642.jpg', '/home/pi/Desktop/images/14122025/15/14/image_14122025_15_14_35_9560.jpg', '/home/pi/Desktop/images/14122025/15/14/image_14122025_15_14_44_9677.jpg', '/home/pi/Desktop/images/14122025/15/14/image_14122025_15_14_55_10688.jpg', '/home/pi/Desktop/images/14122025/15/14/image_14122025_15_15_05_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/14/image_14122025_15_14_15_9743.jpg
/home/pi/Desktop/images/14122025/15/14/image_14122025_15_14_25_10642.jpg
/home/pi/Desktop/images/14122025/15/14/image_14122025_15_14_35_9560.jpg
/home/pi/Desktop/images/14122025/15/14/image_14122025_15_14_44_9677.jpg
/home/pi/Desktop/images/14122025/15/14/image_14122025_15_14_55_10688.jpg
/home/pi/Desktop/images/14122025/15/14/image_14122025_15_15_05_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":["1399361588","1399361587","1399361590","1399361584","1399361586","1399361585"],"photo_ids_order":["1399361584","1399361585","1399361586","1399361587","1399361588","1399361590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/86b434db47f5873c334ac509e99ec6f9.jpg","text":"TemporaryFile(/tmp/multipartBody911940282378686417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722543384,"filename":"image_14122025_15_14_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/12/14/d039ef133b0cc661d54f17c457ede01c.jpg","text":"TemporaryFile(/tmp/multipartBody5321219418569756434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722543384,"filename":"image_14122025_15_14_44_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/55886bd3c6e1b06be48da7d31ae70dec.jpg","text":"TemporaryFile(/tmp/multipartBody993794010539983582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722543384,"filename":"image_14122025_15_15_05_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/722b808513c570d523b8ae037d218847.jpg","text":"TemporaryFile(/tmp/multipartBody8990847280889965521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722543384,"filename":"image_14122025_15_14_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/12/14/083affb33aee8e7e25fad03216bf6328.jpg","text":"TemporaryFile(/tmp/multipartBody6593535259886404459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722543384,"filename":"image_14122025_15_14_35_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/25369ca600a56703dfaf3ebcf6ba3054.jpg","text":"TemporaryFile(/tmp/multipartBody4674015842243740227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722543384,"filename":"image_14122025_15_14_25_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361586","file1":"1399361585","file0":"1399361584","file4":"1399361588","file5":"1399361590","file3":"1399361587"},"map_files_photo_id_array":[{"photo_id":"1399361590","filename":"file5"},{"photo_id":"1399361586","filename":"file2"},{"photo_id":"1399361588","filename":"file4"},{"photo_id":"1399361585","filename":"file1"},{"photo_id":"1399361584","filename":"file0"},{"photo_id":"1399361587","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361588":["hashtag1","hashtag2"]},{"1399361587":["hashtag1","hashtag2"]},{"1399361590":["hashtag1","hashtag2"]},{"1399361584":["hashtag1","hashtag2"]},{"1399361586":["hashtag1","hashtag2"]},{"1399361585":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361588, 1399361587, 1399361590, 1399361584, 1399361586, 1399361585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.969402551651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:28:42.274597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_16_1555.jpg', '/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_38_22208.jpg', '/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_41_3373.jpg', '/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_43_1710.jpg', '/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_44_1610.jpg', '/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_46_1690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_16_1555.jpg
/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_38_22208.jpg
/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_41_3373.jpg
/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_43_1710.jpg
/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_44_1610.jpg
/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_46_1690.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6059129238128662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:29:03.290200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/15/image_14122025_15_15_15_9877.jpg', '/home/pi/Desktop/images/14122025/15/15/image_14122025_15_15_24_9717.jpg', '/home/pi/Desktop/images/14122025/15/15/image_14122025_15_15_35_10633.jpg', '/home/pi/Desktop/images/14122025/15/15/image_14122025_15_15_45_9704.jpg', '/home/pi/Desktop/images/14122025/15/15/image_14122025_15_15_54_9681.jpg', '/home/pi/Desktop/images/14122025/15/15/image_14122025_15_16_05_10749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/15/image_14122025_15_15_15_9877.jpg
/home/pi/Desktop/images/14122025/15/15/image_14122025_15_15_24_9717.jpg
/home/pi/Desktop/images/14122025/15/15/image_14122025_15_15_35_10633.jpg
/home/pi/Desktop/images/14122025/15/15/image_14122025_15_15_45_9704.jpg
/home/pi/Desktop/images/14122025/15/15/image_14122025_15_15_54_9681.jpg
/home/pi/Desktop/images/14122025/15/15/image_14122025_15_16_05_10749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361609","1399361603","1399361606","1399361602","1399361605","1399361607"],"photo_ids_order":["1399361602","1399361603","1399361605","1399361606","1399361607","1399361609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14de22a6165904935f82a184b603b449.jpg","text":"TemporaryFile(/tmp/multipartBody5426546288325408474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722604073,"filename":"image_14122025_15_16_05_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b3c2256e74029a997fec7a76dac7193c.jpg","text":"TemporaryFile(/tmp/multipartBody2774162297722792485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722604073,"filename":"image_14122025_15_15_24_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b647a9228147cd876457d4b6fe11659b.jpg","text":"TemporaryFile(/tmp/multipartBody8180371295034478027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722604073,"filename":"image_14122025_15_15_45_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/618f28c196207c2bf0064bdecab5b026.jpg","text":"TemporaryFile(/tmp/multipartBody1802901531004094749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722604073,"filename":"image_14122025_15_15_15_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/86e091b49da4b2f470b2ebc97a12338d.jpg","text":"TemporaryFile(/tmp/multipartBody347817893438484754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722604073,"filename":"image_14122025_15_15_35_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2dd3829c2f372e5bac820bc750bad29f.jpg","text":"TemporaryFile(/tmp/multipartBody1382896807761687678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722604073,"filename":"image_14122025_15_15_54_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361605","file1":"1399361603","file0":"1399361602","file4":"1399361607","file5":"1399361609","file3":"1399361606"},"map_files_photo_id_array":[{"photo_id":"1399361609","filename":"file5"},{"photo_id":"1399361605","filename":"file2"},{"photo_id":"1399361607","filename":"file4"},{"photo_id":"1399361603","filename":"file1"},{"photo_id":"1399361602","filename":"file0"},{"photo_id":"1399361606","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361609":["hashtag1","hashtag2"]},{"1399361603":["hashtag1","hashtag2"]},{"1399361606":["hashtag1","hashtag2"]},{"1399361602":["hashtag1","hashtag2"]},{"1399361605":["hashtag1","hashtag2"]},{"1399361607":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361609, 1399361603, 1399361606, 1399361602, 1399361605, 1399361607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6330292224884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:29:42.435349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_16_1555.jpg', '/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_38_22208.jpg', '/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_41_3373.jpg', '/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_43_1710.jpg', '/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_44_1610.jpg', '/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_46_1690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_16_1555.jpg
/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_38_22208.jpg
/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_41_3373.jpg
/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_43_1710.jpg
/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_44_1610.jpg
/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_46_1690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361615","1399361624","1399361620","1399361623","1399361622","1399361625"],"photo_ids_order":["1399361615","1399361620","1399361622","1399361623","1399361624","1399361625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/97c0071d911fb13f5aa32ed68c9d7cc1.jpg","text":"TemporaryFile(/tmp/multipartBody2085384149951667451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722643034,"filename":"image_04112025_13_41_16_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/052db5613085a4262bf359701a46716f.jpg","text":"TemporaryFile(/tmp/multipartBody5908531625697799601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722643034,"filename":"image_04112025_13_41_44_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/875bf3c13d96b639cac399a40d9b2bc6.jpg","text":"TemporaryFile(/tmp/multipartBody4224327009639118915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722643034,"filename":"image_04112025_13_41_38_22208.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94a83cc74fae37541c1cba51338db611.jpg","text":"TemporaryFile(/tmp/multipartBody5328143107017116039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722643034,"filename":"image_04112025_13_41_43_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/66312ac37bb8f196646240e1854758b6.jpg","text":"TemporaryFile(/tmp/multipartBody2873000519893465035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722643034,"filename":"image_04112025_13_41_41_3373.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2fb24640599d33b446cfa62408c7324f.jpg","text":"TemporaryFile(/tmp/multipartBody7790538254856853449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722643034,"filename":"image_04112025_13_41_46_1690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361622","file1":"1399361620","file0":"1399361615","file4":"1399361624","file5":"1399361625","file3":"1399361623"},"map_files_photo_id_array":[{"photo_id":"1399361625","filename":"file5"},{"photo_id":"1399361622","filename":"file2"},{"photo_id":"1399361624","filename":"file4"},{"photo_id":"1399361620","filename":"file1"},{"photo_id":"1399361615","filename":"file0"},{"photo_id":"1399361623","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399361615":["hashtag1","hashtag2"]},{"1399361624":["hashtag1","hashtag2"]},{"1399361620":["hashtag1","hashtag2"]},{"1399361623":["hashtag1","hashtag2"]},{"1399361622":["hashtag1","hashtag2"]},{"1399361625":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399361615, 1399361624, 1399361620, 1399361623, 1399361622, 1399361625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22075605392456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:30:22.642183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/16/image_14122025_15_16_15_9725.jpg', '/home/pi/Desktop/images/14122025/15/16/image_14122025_15_16_25_9627.jpg', '/home/pi/Desktop/images/14122025/15/16/image_14122025_15_16_35_10662.jpg', '/home/pi/Desktop/images/14122025/15/16/image_14122025_15_16_45_9684.jpg', '/home/pi/Desktop/images/14122025/15/16/image_14122025_15_16_54_9591.jpg', '/home/pi/Desktop/images/14122025/15/16/image_14122025_15_17_05_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/16/image_14122025_15_16_15_9725.jpg
/home/pi/Desktop/images/14122025/15/16/image_14122025_15_16_25_9627.jpg
/home/pi/Desktop/images/14122025/15/16/image_14122025_15_16_35_10662.jpg
/home/pi/Desktop/images/14122025/15/16/image_14122025_15_16_45_9684.jpg
/home/pi/Desktop/images/14122025/15/16/image_14122025_15_16_54_9591.jpg
/home/pi/Desktop/images/14122025/15/16/image_14122025_15_17_05_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":["1399361633","1399361626","1399361635","1399361629","1399361637","1399361631"],"photo_ids_order":["1399361626","1399361629","1399361631","1399361633","1399361635","1399361637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d6881fed35c8e70beaa8e74022ce0c7.jpg","text":"TemporaryFile(/tmp/multipartBody1464144013505578446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722683268,"filename":"image_14122025_15_16_45_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/afda5f3f569447e757ca25af5d6e0a28.jpg","text":"TemporaryFile(/tmp/multipartBody1664209298924538743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722683268,"filename":"image_14122025_15_16_15_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ee00254f660c91e94057d8f76562432d.jpg","text":"TemporaryFile(/tmp/multipartBody778986217371150848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722683268,"filename":"image_14122025_15_16_54_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc6b73be3b7ceecbb3c41f2f1aacc466.jpg","text":"TemporaryFile(/tmp/multipartBody4293850223914252444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722683268,"filename":"image_14122025_15_16_25_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b7ff97e92d120605994c104f00c5820.jpg","text":"TemporaryFile(/tmp/multipartBody6465213178893739595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722683268,"filename":"image_14122025_15_17_05_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ab08dc06f8c626922f05047194dfc2a7.jpg","text":"TemporaryFile(/tmp/multipartBody8376116437156457255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722683268,"filename":"image_14122025_15_16_35_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361631","file1":"1399361629","file0":"1399361626","file4":"1399361635","file5":"1399361637","file3":"1399361633"},"map_files_photo_id_array":[{"photo_id":"1399361637","filename":"file5"},{"photo_id":"1399361631","filename":"file2"},{"photo_id":"1399361635","filename":"file4"},{"photo_id":"1399361629","filename":"file1"},{"photo_id":"1399361626","filename":"file0"},{"photo_id":"1399361633","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361633":["hashtag1","hashtag2"]},{"1399361626":["hashtag1","hashtag2"]},{"1399361635":["hashtag1","hashtag2"]},{"1399361629":["hashtag1","hashtag2"]},{"1399361637":["hashtag1","hashtag2"]},{"1399361631":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361633, 1399361626, 1399361635, 1399361629, 1399361637, 1399361631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32107663154602 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:31:02.584637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/17/image_14122025_15_17_15_9822.jpg', '/home/pi/Desktop/images/14122025/15/17/image_14122025_15_17_25_9767.jpg', '/home/pi/Desktop/images/14122025/15/17/image_14122025_15_17_34_9704.jpg', '/home/pi/Desktop/images/14122025/15/17/image_14122025_15_17_45_10684.jpg', '/home/pi/Desktop/images/14122025/15/17/image_14122025_15_17_55_9839.jpg', '/home/pi/Desktop/images/14122025/15/17/image_14122025_15_18_05_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/17/image_14122025_15_17_15_9822.jpg
/home/pi/Desktop/images/14122025/15/17/image_14122025_15_17_25_9767.jpg
/home/pi/Desktop/images/14122025/15/17/image_14122025_15_17_34_9704.jpg
/home/pi/Desktop/images/14122025/15/17/image_14122025_15_17_45_10684.jpg
/home/pi/Desktop/images/14122025/15/17/image_14122025_15_17_55_9839.jpg
/home/pi/Desktop/images/14122025/15/17/image_14122025_15_18_05_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":["1399361642","1399361639","1399361641","1399361640","1399361643","1399361646"],"photo_ids_order":["1399361639","1399361640","1399361641","1399361642","1399361643","1399361646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c5e4e34309ee0731228039c745fa6f0.jpg","text":"TemporaryFile(/tmp/multipartBody8687120193675860165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722723356,"filename":"image_14122025_15_17_45_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b956293e633a0b2312945fa47067a7e7.jpg","text":"TemporaryFile(/tmp/multipartBody2127147314937773723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722723356,"filename":"image_14122025_15_17_15_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2b5a55e7b52418d2112816fa3444adc.jpg","text":"TemporaryFile(/tmp/multipartBody6422838138501945306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722723356,"filename":"image_14122025_15_17_34_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a54ddaa012fb7823b7d341fde1f62d11.jpg","text":"TemporaryFile(/tmp/multipartBody4917599241957437888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722723356,"filename":"image_14122025_15_17_25_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/77f15f741b4f2610d4f74008d064fd01.jpg","text":"TemporaryFile(/tmp/multipartBody2647956720656152076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722723356,"filename":"image_14122025_15_17_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/12/14/12d2107a2b8b261f92c502fc8a05a336.jpg","text":"TemporaryFile(/tmp/multipartBody5542865904849633421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722723356,"filename":"image_14122025_15_18_05_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361641","file1":"1399361640","file0":"1399361639","file4":"1399361643","file5":"1399361646","file3":"1399361642"},"map_files_photo_id_array":[{"photo_id":"1399361646","filename":"file5"},{"photo_id":"1399361641","filename":"file2"},{"photo_id":"1399361643","filename":"file4"},{"photo_id":"1399361640","filename":"file1"},{"photo_id":"1399361639","filename":"file0"},{"photo_id":"1399361642","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361642":["hashtag1","hashtag2"]},{"1399361639":["hashtag1","hashtag2"]},{"1399361641":["hashtag1","hashtag2"]},{"1399361640":["hashtag1","hashtag2"]},{"1399361643":["hashtag1","hashtag2"]},{"1399361646":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361642, 1399361639, 1399361641, 1399361640, 1399361643, 1399361646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46232509613037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:31:41.943093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_55_8574.jpg', '/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_56_1617.jpg', '/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_58_1626.jpg', '/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_59_1582.jpg', '/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_01_1608.jpg', '/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_03_1680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_55_8574.jpg
/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_56_1617.jpg
/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_58_1626.jpg
/home/pi/Desktop/images/04112025/13/41/image_04112025_13_41_59_1582.jpg
/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_01_1608.jpg
/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_03_1680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361654","1399361657","1399361656","1399361650","1399361655","1399361658"],"photo_ids_order":["1399361650","1399361654","1399361655","1399361656","1399361657","1399361658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0a14f44bd8b9a3c63caf73c624f3da53.jpg","text":"TemporaryFile(/tmp/multipartBody3198593965622647270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722762655,"filename":"image_04112025_13_41_56_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/252f6241f6ef000902f17ac3252e4270.jpg","text":"TemporaryFile(/tmp/multipartBody8729626816384548670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722762655,"filename":"image_04112025_13_42_01_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad420b30764bf60e36b7c690455e9e7d.jpg","text":"TemporaryFile(/tmp/multipartBody8997441944213592097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722762655,"filename":"image_04112025_13_41_59_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/61f89573a4382b18747ab29a1ac9dce8.jpg","text":"TemporaryFile(/tmp/multipartBody8200593811583375037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722762655,"filename":"image_04112025_13_41_55_8574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/780cb77b99c9f8fd1ce807913d817a43.jpg","text":"TemporaryFile(/tmp/multipartBody183009065638012190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722762655,"filename":"image_04112025_13_41_58_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f93d38c31571e93289ba46d58a3e7a59.jpg","text":"TemporaryFile(/tmp/multipartBody8775468802914658906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722762655,"filename":"image_04112025_13_42_03_1680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361655","file1":"1399361654","file0":"1399361650","file4":"1399361657","file5":"1399361658","file3":"1399361656"},"map_files_photo_id_array":[{"photo_id":"1399361658","filename":"file5"},{"photo_id":"1399361655","filename":"file2"},{"photo_id":"1399361657","filename":"file4"},{"photo_id":"1399361654","filename":"file1"},{"photo_id":"1399361650","filename":"file0"},{"photo_id":"1399361656","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399361654":["hashtag1","hashtag2"]},{"1399361657":["hashtag1","hashtag2"]},{"1399361656":["hashtag1","hashtag2"]},{"1399361650":["hashtag1","hashtag2"]},{"1399361655":["hashtag1","hashtag2"]},{"1399361658":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399361654, 1399361657, 1399361656, 1399361650, 1399361655, 1399361658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69267201423645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:32:22.217124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/18/image_14122025_15_18_14_9805.jpg', '/home/pi/Desktop/images/14122025/15/18/image_14122025_15_18_25_10709.jpg', '/home/pi/Desktop/images/14122025/15/18/image_14122025_15_18_35_9648.jpg', '/home/pi/Desktop/images/14122025/15/18/image_14122025_15_18_44_9652.jpg', '/home/pi/Desktop/images/14122025/15/18/image_14122025_15_18_55_10736.jpg', '/home/pi/Desktop/images/14122025/15/18/image_14122025_15_19_05_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/18/image_14122025_15_18_14_9805.jpg
/home/pi/Desktop/images/14122025/15/18/image_14122025_15_18_25_10709.jpg
/home/pi/Desktop/images/14122025/15/18/image_14122025_15_18_35_9648.jpg
/home/pi/Desktop/images/14122025/15/18/image_14122025_15_18_44_9652.jpg
/home/pi/Desktop/images/14122025/15/18/image_14122025_15_18_55_10736.jpg
/home/pi/Desktop/images/14122025/15/18/image_14122025_15_19_05_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":["1399361672","1399361660","1399361662","1399361665","1399361667","1399361663"],"photo_ids_order":["1399361660","1399361662","1399361663","1399361665","1399361667","1399361672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2130c1b5a0dda0e0a371757f25c56002.jpg","text":"TemporaryFile(/tmp/multipartBody66229038985126756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722802905,"filename":"image_14122025_15_19_05_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e1ad0057a050be5f1c121c17e0f87e37.jpg","text":"TemporaryFile(/tmp/multipartBody3247310244725009687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722802905,"filename":"image_14122025_15_18_14_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6bfbc696061329888883720df9d9afc0.jpg","text":"TemporaryFile(/tmp/multipartBody1133123327964041840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722802905,"filename":"image_14122025_15_18_25_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f2bb5d61862f24c059643ae8345172c6.jpg","text":"TemporaryFile(/tmp/multipartBody4436180232063242146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722802905,"filename":"image_14122025_15_18_44_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/372b0f5db29df24247d7888208648f46.jpg","text":"TemporaryFile(/tmp/multipartBody3155594784572877744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722802905,"filename":"image_14122025_15_18_55_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e6c39be92bd62e5cd90fca0d341baa5d.jpg","text":"TemporaryFile(/tmp/multipartBody2336965081453944523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722802905,"filename":"image_14122025_15_18_35_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361663","file1":"1399361662","file0":"1399361660","file4":"1399361667","file5":"1399361672","file3":"1399361665"},"map_files_photo_id_array":[{"photo_id":"1399361672","filename":"file5"},{"photo_id":"1399361663","filename":"file2"},{"photo_id":"1399361667","filename":"file4"},{"photo_id":"1399361662","filename":"file1"},{"photo_id":"1399361660","filename":"file0"},{"photo_id":"1399361665","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361672":["hashtag1","hashtag2"]},{"1399361660":["hashtag1","hashtag2"]},{"1399361662":["hashtag1","hashtag2"]},{"1399361665":["hashtag1","hashtag2"]},{"1399361667":["hashtag1","hashtag2"]},{"1399361663":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361672, 1399361660, 1399361662, 1399361665, 1399361667, 1399361663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.816004037857056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:33:03.201916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/19/image_14122025_15_19_15_9788.jpg', '/home/pi/Desktop/images/14122025/15/19/image_14122025_15_19_24_9856.jpg', '/home/pi/Desktop/images/14122025/15/19/image_14122025_15_19_35_10674.jpg', '/home/pi/Desktop/images/14122025/15/19/image_14122025_15_19_45_9787.jpg', '/home/pi/Desktop/images/14122025/15/19/image_14122025_15_19_55_9598.jpg', '/home/pi/Desktop/images/14122025/15/19/image_14122025_15_20_05_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/19/image_14122025_15_19_15_9788.jpg
/home/pi/Desktop/images/14122025/15/19/image_14122025_15_19_24_9856.jpg
/home/pi/Desktop/images/14122025/15/19/image_14122025_15_19_35_10674.jpg
/home/pi/Desktop/images/14122025/15/19/image_14122025_15_19_45_9787.jpg
/home/pi/Desktop/images/14122025/15/19/image_14122025_15_19_55_9598.jpg
/home/pi/Desktop/images/14122025/15/19/image_14122025_15_20_05_10715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361675","1399361680","1399361674","1399361677","1399361676","1399361678"],"photo_ids_order":["1399361674","1399361675","1399361676","1399361677","1399361678","1399361680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a2559cd178e5bc9c1a616c8e13c00a15.jpg","text":"TemporaryFile(/tmp/multipartBody3005223580412251657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722843880,"filename":"image_14122025_15_19_24_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/235cb21601141327a3e5b43f1586a935.jpg","text":"TemporaryFile(/tmp/multipartBody6872278814281175031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722843880,"filename":"image_14122025_15_20_05_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b7e4eb11e879f1c13878d272a6749da7.jpg","text":"TemporaryFile(/tmp/multipartBody4303890830022840185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722843880,"filename":"image_14122025_15_19_15_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9adb14f7af41e94d2dd169cf3e590928.jpg","text":"TemporaryFile(/tmp/multipartBody2175094837531378196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722843880,"filename":"image_14122025_15_19_45_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da1a0d72c99b3884907a0301c73ce55c.jpg","text":"TemporaryFile(/tmp/multipartBody8559909594038782289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722843880,"filename":"image_14122025_15_19_35_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/931746468b6e057c21933db64c28646c.jpg","text":"TemporaryFile(/tmp/multipartBody742576780924166806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722843880,"filename":"image_14122025_15_19_55_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361676","file1":"1399361675","file0":"1399361674","file4":"1399361678","file5":"1399361680","file3":"1399361677"},"map_files_photo_id_array":[{"photo_id":"1399361680","filename":"file5"},{"photo_id":"1399361676","filename":"file2"},{"photo_id":"1399361678","filename":"file4"},{"photo_id":"1399361675","filename":"file1"},{"photo_id":"1399361674","filename":"file0"},{"photo_id":"1399361677","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361675":["hashtag1","hashtag2"]},{"1399361680":["hashtag1","hashtag2"]},{"1399361674":["hashtag1","hashtag2"]},{"1399361677":["hashtag1","hashtag2"]},{"1399361676":["hashtag1","hashtag2"]},{"1399361678":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361675, 1399361680, 1399361674, 1399361677, 1399361676, 1399361678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.440478563308716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:33:42.439410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_04_1527.jpg', '/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_06_1712.jpg', '/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_08_1667.jpg', '/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_09_1657.jpg', '/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_11_1614.jpg', '/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_13_1685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_04_1527.jpg
/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_06_1712.jpg
/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_08_1667.jpg
/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_09_1657.jpg
/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_11_1614.jpg
/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_13_1685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361693","1399361692","1399361686","1399361689","1399361691","1399361690"],"photo_ids_order":["1399361686","1399361689","1399361690","1399361691","1399361692","1399361693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/732027e2f30d07efdd96c4ec6d08d8ff.jpg","text":"TemporaryFile(/tmp/multipartBody1880985195530593910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722883168,"filename":"image_04112025_13_42_13_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a9b2060aad0ee71238ca560c6caefc8e.jpg","text":"TemporaryFile(/tmp/multipartBody1713140761236736259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722883168,"filename":"image_04112025_13_42_11_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/de8ac3150f8d2f5715f2da4f07759188.jpg","text":"TemporaryFile(/tmp/multipartBody592911085476649506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722883168,"filename":"image_04112025_13_42_04_1527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eeff52d7b6b24240e7cad7c24691c6b0.jpg","text":"TemporaryFile(/tmp/multipartBody1649841016150048146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722883168,"filename":"image_04112025_13_42_06_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/50849c66179afa94a42c4d41082bdc6c.jpg","text":"TemporaryFile(/tmp/multipartBody2889204146429798127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722883168,"filename":"image_04112025_13_42_09_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e369104b775dfba87b0f4019f6fd6afb.jpg","text":"TemporaryFile(/tmp/multipartBody682980204783678351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722883168,"filename":"image_04112025_13_42_08_1667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361690","file1":"1399361689","file0":"1399361686","file4":"1399361692","file5":"1399361693","file3":"1399361691"},"map_files_photo_id_array":[{"photo_id":"1399361693","filename":"file5"},{"photo_id":"1399361690","filename":"file2"},{"photo_id":"1399361692","filename":"file4"},{"photo_id":"1399361689","filename":"file1"},{"photo_id":"1399361686","filename":"file0"},{"photo_id":"1399361691","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399361693":["hashtag1","hashtag2"]},{"1399361692":["hashtag1","hashtag2"]},{"1399361686":["hashtag1","hashtag2"]},{"1399361689":["hashtag1","hashtag2"]},{"1399361691":["hashtag1","hashtag2"]},{"1399361690":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399361693, 1399361692, 1399361686, 1399361689, 1399361691, 1399361690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42670702934265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:34:22.738529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/20/image_14122025_15_20_15_9802.jpg', '/home/pi/Desktop/images/14122025/15/20/image_14122025_15_20_25_9724.jpg', '/home/pi/Desktop/images/14122025/15/20/image_14122025_15_20_35_9879.jpg', '/home/pi/Desktop/images/14122025/15/20/image_14122025_15_20_45_10550.jpg', '/home/pi/Desktop/images/14122025/15/20/image_14122025_15_20_55_9642.jpg', '/home/pi/Desktop/images/14122025/15/20/image_14122025_15_21_04_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/20/image_14122025_15_20_15_9802.jpg
/home/pi/Desktop/images/14122025/15/20/image_14122025_15_20_25_9724.jpg
/home/pi/Desktop/images/14122025/15/20/image_14122025_15_20_35_9879.jpg
/home/pi/Desktop/images/14122025/15/20/image_14122025_15_20_45_10550.jpg
/home/pi/Desktop/images/14122025/15/20/image_14122025_15_20_55_9642.jpg
/home/pi/Desktop/images/14122025/15/20/image_14122025_15_21_04_9643.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5425491333007812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 15:34:32.750498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:34:42.784423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_14_1615.jpg', '/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_16_1584.jpg', '/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_18_1665.jpg', '/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_19_1575.jpg', '/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_21_1758.jpg', '/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_22_1642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_14_1615.jpg
/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_16_1584.jpg
/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_18_1665.jpg
/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_19_1575.jpg
/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_21_1758.jpg
/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_22_1642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361708","1399361705","1399361710","1399361707","1399361712","1399361709"],"photo_ids_order":["1399361705","1399361707","1399361708","1399361709","1399361710","1399361712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a4674df78f7037dd49020c2780aa3d73.jpg","text":"TemporaryFile(/tmp/multipartBody6452125278366449461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722943533,"filename":"image_04112025_13_42_18_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d9148070dfed24b8c4801a8b39c7a7d8.jpg","text":"TemporaryFile(/tmp/multipartBody4617783355964249247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722943533,"filename":"image_04112025_13_42_14_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2bc06120c51401857eed10ddbf3a170.jpg","text":"TemporaryFile(/tmp/multipartBody1522857209694232338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722943533,"filename":"image_04112025_13_42_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/12/14/a17991b958cf2fb840886dd427537e18.jpg","text":"TemporaryFile(/tmp/multipartBody3129618241688058990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722943533,"filename":"image_04112025_13_42_16_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/44001296915ce7f5669f5f9094b90954.jpg","text":"TemporaryFile(/tmp/multipartBody5279544689355910686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722943533,"filename":"image_04112025_13_42_22_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a9117fb532f1a7e986ef265ea065ac56.jpg","text":"TemporaryFile(/tmp/multipartBody8785740186958828273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722943533,"filename":"image_04112025_13_42_19_1575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361708","file1":"1399361707","file0":"1399361705","file4":"1399361710","file5":"1399361712","file3":"1399361709"},"map_files_photo_id_array":[{"photo_id":"1399361712","filename":"file5"},{"photo_id":"1399361708","filename":"file2"},{"photo_id":"1399361710","filename":"file4"},{"photo_id":"1399361707","filename":"file1"},{"photo_id":"1399361705","filename":"file0"},{"photo_id":"1399361709","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399361708":["hashtag1","hashtag2"]},{"1399361705":["hashtag1","hashtag2"]},{"1399361710":["hashtag1","hashtag2"]},{"1399361707":["hashtag1","hashtag2"]},{"1399361712":["hashtag1","hashtag2"]},{"1399361709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399361708, 1399361705, 1399361710, 1399361707, 1399361712, 1399361709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97565245628357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:35:22.061217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/20/image_14122025_15_20_15_9802.jpg', '/home/pi/Desktop/images/14122025/15/20/image_14122025_15_20_25_9724.jpg', '/home/pi/Desktop/images/14122025/15/20/image_14122025_15_20_35_9879.jpg', '/home/pi/Desktop/images/14122025/15/20/image_14122025_15_20_45_10550.jpg', '/home/pi/Desktop/images/14122025/15/20/image_14122025_15_20_55_9642.jpg', '/home/pi/Desktop/images/14122025/15/20/image_14122025_15_21_04_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/20/image_14122025_15_20_15_9802.jpg
/home/pi/Desktop/images/14122025/15/20/image_14122025_15_20_25_9724.jpg
/home/pi/Desktop/images/14122025/15/20/image_14122025_15_20_35_9879.jpg
/home/pi/Desktop/images/14122025/15/20/image_14122025_15_20_45_10550.jpg
/home/pi/Desktop/images/14122025/15/20/image_14122025_15_20_55_9642.jpg
/home/pi/Desktop/images/14122025/15/20/image_14122025_15_21_04_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":["1399361720","1399361714","1399361717","1399361719","1399361722","1399361724"],"photo_ids_order":["1399361714","1399361717","1399361719","1399361720","1399361722","1399361724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0823cc27f2dd53525e759bbf4b01d77a.jpg","text":"TemporaryFile(/tmp/multipartBody1187295357547972321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722982712,"filename":"image_14122025_15_20_45_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/59d5c926bd64f262bdd5a3fb56d714b4.jpg","text":"TemporaryFile(/tmp/multipartBody3332683886545225931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722982712,"filename":"image_14122025_15_20_15_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b59942c33357aa72b83045c267b660e.jpg","text":"TemporaryFile(/tmp/multipartBody3566984684839838154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722982712,"filename":"image_14122025_15_20_25_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a3127f528a70bacf2bf098431c68e41.jpg","text":"TemporaryFile(/tmp/multipartBody5990384910576258661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722982712,"filename":"image_14122025_15_20_35_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2579f73063860f1eb8021f002d157e8c.jpg","text":"TemporaryFile(/tmp/multipartBody4966448250421936176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722982712,"filename":"image_14122025_15_20_55_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b589943fa7ff856603900d6f6950536f.jpg","text":"TemporaryFile(/tmp/multipartBody7874318682566269144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765722982712,"filename":"image_14122025_15_21_04_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361719","file1":"1399361717","file0":"1399361714","file4":"1399361722","file5":"1399361724","file3":"1399361720"},"map_files_photo_id_array":[{"photo_id":"1399361724","filename":"file5"},{"photo_id":"1399361719","filename":"file2"},{"photo_id":"1399361722","filename":"file4"},{"photo_id":"1399361717","filename":"file1"},{"photo_id":"1399361714","filename":"file0"},{"photo_id":"1399361720","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361720":["hashtag1","hashtag2"]},{"1399361714":["hashtag1","hashtag2"]},{"1399361717":["hashtag1","hashtag2"]},{"1399361719":["hashtag1","hashtag2"]},{"1399361722":["hashtag1","hashtag2"]},{"1399361724":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361720, 1399361714, 1399361717, 1399361719, 1399361722, 1399361724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67727613449097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:36:02.669801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/21/image_14122025_15_21_15_10760.jpg', '/home/pi/Desktop/images/14122025/15/21/image_14122025_15_21_25_9620.jpg', '/home/pi/Desktop/images/14122025/15/21/image_14122025_15_21_35_9826.jpg', '/home/pi/Desktop/images/14122025/15/21/image_14122025_15_21_44_9669.jpg', '/home/pi/Desktop/images/14122025/15/21/image_14122025_15_21_55_10799.jpg', '/home/pi/Desktop/images/14122025/15/21/image_14122025_15_22_05_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/21/image_14122025_15_21_15_10760.jpg
/home/pi/Desktop/images/14122025/15/21/image_14122025_15_21_25_9620.jpg
/home/pi/Desktop/images/14122025/15/21/image_14122025_15_21_35_9826.jpg
/home/pi/Desktop/images/14122025/15/21/image_14122025_15_21_44_9669.jpg
/home/pi/Desktop/images/14122025/15/21/image_14122025_15_21_55_10799.jpg
/home/pi/Desktop/images/14122025/15/21/image_14122025_15_22_05_9607.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5301103591918945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 15:36:12.228293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:36:22.257337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/21/image_14122025_15_21_15_10760.jpg', '/home/pi/Desktop/images/14122025/15/21/image_14122025_15_21_25_9620.jpg', '/home/pi/Desktop/images/14122025/15/21/image_14122025_15_21_35_9826.jpg', '/home/pi/Desktop/images/14122025/15/21/image_14122025_15_21_44_9669.jpg', '/home/pi/Desktop/images/14122025/15/21/image_14122025_15_21_55_10799.jpg', '/home/pi/Desktop/images/14122025/15/21/image_14122025_15_22_05_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/21/image_14122025_15_21_15_10760.jpg
/home/pi/Desktop/images/14122025/15/21/image_14122025_15_21_25_9620.jpg
/home/pi/Desktop/images/14122025/15/21/image_14122025_15_21_35_9826.jpg
/home/pi/Desktop/images/14122025/15/21/image_14122025_15_21_44_9669.jpg
/home/pi/Desktop/images/14122025/15/21/image_14122025_15_21_55_10799.jpg
/home/pi/Desktop/images/14122025/15/21/image_14122025_15_22_05_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":["1399361738","1399361743","1399361731","1399361740","1399361734","1399361736"],"photo_ids_order":["1399361731","1399361734","1399361736","1399361738","1399361740","1399361743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d72ca912f48dee4e54cc5740e2642dbe.jpg","text":"TemporaryFile(/tmp/multipartBody4961966980525058709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723042904,"filename":"image_14122025_15_21_44_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fa080d555e7b90551caed7bafb115591.jpg","text":"TemporaryFile(/tmp/multipartBody7709654283687977270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723042904,"filename":"image_14122025_15_22_05_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aec93f2fea1f4cc473bb533a0737870c.jpg","text":"TemporaryFile(/tmp/multipartBody7668695101681099922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723042904,"filename":"image_14122025_15_21_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/12/14/5d7c841498d74777d21a5b594a1d9939.jpg","text":"TemporaryFile(/tmp/multipartBody8176021378015314662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723042904,"filename":"image_14122025_15_21_55_10799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a8ded32b9894094cdc4393622803e589.jpg","text":"TemporaryFile(/tmp/multipartBody7642009533650120385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723042904,"filename":"image_14122025_15_21_25_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f658e6fbc671b9e83d2caaaba5bf3e7b.jpg","text":"TemporaryFile(/tmp/multipartBody7083123703889962747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723042904,"filename":"image_14122025_15_21_35_9826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361736","file1":"1399361734","file0":"1399361731","file4":"1399361740","file5":"1399361743","file3":"1399361738"},"map_files_photo_id_array":[{"photo_id":"1399361743","filename":"file5"},{"photo_id":"1399361736","filename":"file2"},{"photo_id":"1399361740","filename":"file4"},{"photo_id":"1399361734","filename":"file1"},{"photo_id":"1399361731","filename":"file0"},{"photo_id":"1399361738","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361738":["hashtag1","hashtag2"]},{"1399361743":["hashtag1","hashtag2"]},{"1399361731":["hashtag1","hashtag2"]},{"1399361740":["hashtag1","hashtag2"]},{"1399361734":["hashtag1","hashtag2"]},{"1399361736":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361738, 1399361743, 1399361731, 1399361740, 1399361734, 1399361736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67951154708862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:37:03.072206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/22/image_14122025_15_22_14_9634.jpg', '/home/pi/Desktop/images/14122025/15/22/image_14122025_15_22_25_10865.jpg', '/home/pi/Desktop/images/14122025/15/22/image_14122025_15_22_35_9747.jpg', '/home/pi/Desktop/images/14122025/15/22/image_14122025_15_22_45_9683.jpg', '/home/pi/Desktop/images/14122025/15/22/image_14122025_15_22_54_9665.jpg', '/home/pi/Desktop/images/14122025/15/22/image_14122025_15_23_05_10906.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/22/image_14122025_15_22_14_9634.jpg
/home/pi/Desktop/images/14122025/15/22/image_14122025_15_22_25_10865.jpg
/home/pi/Desktop/images/14122025/15/22/image_14122025_15_22_35_9747.jpg
/home/pi/Desktop/images/14122025/15/22/image_14122025_15_22_45_9683.jpg
/home/pi/Desktop/images/14122025/15/22/image_14122025_15_22_54_9665.jpg
/home/pi/Desktop/images/14122025/15/22/image_14122025_15_23_05_10906.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361750","1399361744","1399361747","1399361746","1399361748","1399361745"],"photo_ids_order":["1399361744","1399361745","1399361746","1399361747","1399361748","1399361750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63709f27354cd1cf95d8ac1bf966814e.jpg","text":"TemporaryFile(/tmp/multipartBody6023195719116544524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723083778,"filename":"image_14122025_15_23_05_10906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f016bf1cc3c12d3146d71d9aa20da0e4.jpg","text":"TemporaryFile(/tmp/multipartBody7641850026939693389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723083778,"filename":"image_14122025_15_22_14_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b13cac29e31e1a1e36df395ba11d50c.jpg","text":"TemporaryFile(/tmp/multipartBody4839238041327720184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723083778,"filename":"image_14122025_15_22_45_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8d79af3c3a49949cc42eddeb6b270a50.jpg","text":"TemporaryFile(/tmp/multipartBody7321061633354621895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723083778,"filename":"image_14122025_15_22_35_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6db2027be6dccd3695500bdc501703a2.jpg","text":"TemporaryFile(/tmp/multipartBody7146375094625719890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723083778,"filename":"image_14122025_15_22_54_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d0b531c66971b698eaf6c621c6a2d3c.jpg","text":"TemporaryFile(/tmp/multipartBody7207665822748834204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723083778,"filename":"image_14122025_15_22_25_10865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361746","file1":"1399361745","file0":"1399361744","file4":"1399361748","file5":"1399361750","file3":"1399361747"},"map_files_photo_id_array":[{"photo_id":"1399361750","filename":"file5"},{"photo_id":"1399361746","filename":"file2"},{"photo_id":"1399361748","filename":"file4"},{"photo_id":"1399361745","filename":"file1"},{"photo_id":"1399361744","filename":"file0"},{"photo_id":"1399361747","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361750":["hashtag1","hashtag2"]},{"1399361744":["hashtag1","hashtag2"]},{"1399361747":["hashtag1","hashtag2"]},{"1399361746":["hashtag1","hashtag2"]},{"1399361748":["hashtag1","hashtag2"]},{"1399361745":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361750, 1399361744, 1399361747, 1399361746, 1399361748, 1399361745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.298956632614136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:37:42.594576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_25_2621.jpg', '/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_29_3670.jpg', '/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_48_19182.jpg', '/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_11_23488.jpg', '/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_15_3080.jpg', '/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_16_1688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_25_2621.jpg
/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_29_3670.jpg
/home/pi/Desktop/images/04112025/13/42/image_04112025_13_42_48_19182.jpg
/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_11_23488.jpg
/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_15_3080.jpg
/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_16_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":["1399361759","1399361756","1399361761","1399361758","1399361760","1399361762"],"photo_ids_order":["1399361756","1399361758","1399361759","1399361760","1399361761","1399361762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f573ff38db20240f88b7e9ab8ed6aeb5.jpg","text":"TemporaryFile(/tmp/multipartBody5635344561508390512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723123291,"filename":"image_04112025_13_42_48_19182.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/253f4b571645dca891bce907b08116b6.jpg","text":"TemporaryFile(/tmp/multipartBody2206465811049217201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723123291,"filename":"image_04112025_13_42_25_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be4884ea82b1bd458b74e6e5e1f94e0b.jpg","text":"TemporaryFile(/tmp/multipartBody1006767448382674580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723123291,"filename":"image_04112025_13_43_15_3080.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b5b4e609c26f16d88972279a589e55b2.jpg","text":"TemporaryFile(/tmp/multipartBody3571012142765569524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723123291,"filename":"image_04112025_13_42_29_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf930951cc735a1f541b7d6d18b7ae8e.jpg","text":"TemporaryFile(/tmp/multipartBody3808905263028230615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723123291,"filename":"image_04112025_13_43_11_23488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/32f96de83c0a7efb6b515a872c2ee1bd.jpg","text":"TemporaryFile(/tmp/multipartBody4259514141510307761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723123291,"filename":"image_04112025_13_43_16_1688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361759","file1":"1399361758","file0":"1399361756","file4":"1399361761","file5":"1399361762","file3":"1399361760"},"map_files_photo_id_array":[{"photo_id":"1399361762","filename":"file5"},{"photo_id":"1399361759","filename":"file2"},{"photo_id":"1399361761","filename":"file4"},{"photo_id":"1399361758","filename":"file1"},{"photo_id":"1399361756","filename":"file0"},{"photo_id":"1399361760","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399361759":["hashtag1","hashtag2"]},{"1399361756":["hashtag1","hashtag2"]},{"1399361761":["hashtag1","hashtag2"]},{"1399361758":["hashtag1","hashtag2"]},{"1399361760":["hashtag1","hashtag2"]},{"1399361762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399361759, 1399361756, 1399361761, 1399361758, 1399361760, 1399361762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.804964780807495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:38:21.908139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/23/image_14122025_15_23_15_9753.jpg', '/home/pi/Desktop/images/14122025/15/23/image_14122025_15_23_25_9680.jpg', '/home/pi/Desktop/images/14122025/15/23/image_14122025_15_23_34_9713.jpg', '/home/pi/Desktop/images/14122025/15/23/image_14122025_15_23_45_10651.jpg', '/home/pi/Desktop/images/14122025/15/23/image_14122025_15_23_55_9720.jpg', '/home/pi/Desktop/images/14122025/15/23/image_14122025_15_24_04_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/23/image_14122025_15_23_15_9753.jpg
/home/pi/Desktop/images/14122025/15/23/image_14122025_15_23_25_9680.jpg
/home/pi/Desktop/images/14122025/15/23/image_14122025_15_23_34_9713.jpg
/home/pi/Desktop/images/14122025/15/23/image_14122025_15_23_45_10651.jpg
/home/pi/Desktop/images/14122025/15/23/image_14122025_15_23_55_9720.jpg
/home/pi/Desktop/images/14122025/15/23/image_14122025_15_24_04_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361774","1399361768","1399361770","1399361764","1399361766","1399361763"],"photo_ids_order":["1399361763","1399361764","1399361766","1399361768","1399361770","1399361774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0fddc32fc0ee6abb886c2b004d1ee7d4.jpg","text":"TemporaryFile(/tmp/multipartBody1743136774995558909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723162560,"filename":"image_14122025_15_24_04_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7581e4e904632d35f9bf3769ec7114a8.jpg","text":"TemporaryFile(/tmp/multipartBody8135751774720756529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723162560,"filename":"image_14122025_15_23_45_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19471f40741a50d340335cffad2dba85.jpg","text":"TemporaryFile(/tmp/multipartBody5861524240153853321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723162560,"filename":"image_14122025_15_23_55_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d672e37a21f1e9c2da041433458c1c7a.jpg","text":"TemporaryFile(/tmp/multipartBody7419966701329219756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723162560,"filename":"image_14122025_15_23_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/12/14/37632c23bca436b7a786d1dec13f0d72.jpg","text":"TemporaryFile(/tmp/multipartBody1820790878089439023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723162560,"filename":"image_14122025_15_23_34_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/399fb84500d6816e6b6f9c44b1395cb1.jpg","text":"TemporaryFile(/tmp/multipartBody7498385638412707139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723162560,"filename":"image_14122025_15_23_15_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361766","file1":"1399361764","file0":"1399361763","file4":"1399361770","file5":"1399361774","file3":"1399361768"},"map_files_photo_id_array":[{"photo_id":"1399361774","filename":"file5"},{"photo_id":"1399361766","filename":"file2"},{"photo_id":"1399361770","filename":"file4"},{"photo_id":"1399361764","filename":"file1"},{"photo_id":"1399361763","filename":"file0"},{"photo_id":"1399361768","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361774":["hashtag1","hashtag2"]},{"1399361768":["hashtag1","hashtag2"]},{"1399361770":["hashtag1","hashtag2"]},{"1399361764":["hashtag1","hashtag2"]},{"1399361766":["hashtag1","hashtag2"]},{"1399361763":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361774, 1399361768, 1399361770, 1399361764, 1399361766, 1399361763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07355308532715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:39:02.974944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/24/image_14122025_15_24_15_10724.jpg', '/home/pi/Desktop/images/14122025/15/24/image_14122025_15_24_25_9737.jpg', '/home/pi/Desktop/images/14122025/15/24/image_14122025_15_24_35_9756.jpg', '/home/pi/Desktop/images/14122025/15/24/image_14122025_15_24_44_9635.jpg', '/home/pi/Desktop/images/14122025/15/24/image_14122025_15_24_55_10622.jpg', '/home/pi/Desktop/images/14122025/15/24/image_14122025_15_25_05_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/24/image_14122025_15_24_15_10724.jpg
/home/pi/Desktop/images/14122025/15/24/image_14122025_15_24_25_9737.jpg
/home/pi/Desktop/images/14122025/15/24/image_14122025_15_24_35_9756.jpg
/home/pi/Desktop/images/14122025/15/24/image_14122025_15_24_44_9635.jpg
/home/pi/Desktop/images/14122025/15/24/image_14122025_15_24_55_10622.jpg
/home/pi/Desktop/images/14122025/15/24/image_14122025_15_25_05_9777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361785","1399361782","1399361784","1399361787","1399361780","1399361783"],"photo_ids_order":["1399361780","1399361782","1399361783","1399361784","1399361785","1399361787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dcd13c306b566ea98a74fa7cbc73f8a1.jpg","text":"TemporaryFile(/tmp/multipartBody2751425434618073474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723203762,"filename":"image_14122025_15_24_55_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b246ae8d98bf7f35fc9e2adadaad740.jpg","text":"TemporaryFile(/tmp/multipartBody7417246941247164740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723203762,"filename":"image_14122025_15_24_25_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae06f972efb90c9f6334878f234e5972.jpg","text":"TemporaryFile(/tmp/multipartBody4652965048089266572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723203762,"filename":"image_14122025_15_24_44_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/814f82cce3bc9f3903a0e1b4e0ab6390.jpg","text":"TemporaryFile(/tmp/multipartBody2266926198973147652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723203762,"filename":"image_14122025_15_25_05_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8cf6102f0cd4d7e8e7a358188f2850c0.jpg","text":"TemporaryFile(/tmp/multipartBody1260362018838916117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723203762,"filename":"image_14122025_15_24_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/12/14/f9a811ea1182d30c7e1314fc7e8470f9.jpg","text":"TemporaryFile(/tmp/multipartBody1532024024798012024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723203762,"filename":"image_14122025_15_24_35_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361783","file1":"1399361782","file0":"1399361780","file4":"1399361785","file5":"1399361787","file3":"1399361784"},"map_files_photo_id_array":[{"photo_id":"1399361787","filename":"file5"},{"photo_id":"1399361783","filename":"file2"},{"photo_id":"1399361785","filename":"file4"},{"photo_id":"1399361782","filename":"file1"},{"photo_id":"1399361780","filename":"file0"},{"photo_id":"1399361784","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361785":["hashtag1","hashtag2"]},{"1399361782":["hashtag1","hashtag2"]},{"1399361784":["hashtag1","hashtag2"]},{"1399361787":["hashtag1","hashtag2"]},{"1399361780":["hashtag1","hashtag2"]},{"1399361783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361785, 1399361782, 1399361784, 1399361787, 1399361780, 1399361783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.543840169906616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:39:41.955767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_29_12853.jpg', '/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_31_1835.jpg', '/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_32_1526.jpg', '/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_34_1786.jpg', '/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_36_1783.jpg', '/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_38_1665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_29_12853.jpg
/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_31_1835.jpg
/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_32_1526.jpg
/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_34_1786.jpg
/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_36_1783.jpg
/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_38_1665.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5656540393829346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:40:02.687706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/25/image_14122025_15_25_14_9574.jpg', '/home/pi/Desktop/images/14122025/15/25/image_14122025_15_25_25_10646.jpg', '/home/pi/Desktop/images/14122025/15/25/image_14122025_15_25_35_9697.jpg', '/home/pi/Desktop/images/14122025/15/25/image_14122025_15_25_44_9784.jpg', '/home/pi/Desktop/images/14122025/15/25/image_14122025_15_25_55_10821.jpg', '/home/pi/Desktop/images/14122025/15/25/image_14122025_15_26_05_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/25/image_14122025_15_25_14_9574.jpg
/home/pi/Desktop/images/14122025/15/25/image_14122025_15_25_25_10646.jpg
/home/pi/Desktop/images/14122025/15/25/image_14122025_15_25_35_9697.jpg
/home/pi/Desktop/images/14122025/15/25/image_14122025_15_25_44_9784.jpg
/home/pi/Desktop/images/14122025/15/25/image_14122025_15_25_55_10821.jpg
/home/pi/Desktop/images/14122025/15/25/image_14122025_15_26_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":["1399361807","1399361804","1399361803","1399361800","1399361802","1399361805"],"photo_ids_order":["1399361800","1399361802","1399361803","1399361804","1399361805","1399361807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fdd903a735683a2f591e432e717ea415.jpg","text":"TemporaryFile(/tmp/multipartBody4328572486303093617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723263356,"filename":"image_14122025_15_26_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/12/14/69eed6872004c0c6aef353eb4647e2c2.jpg","text":"TemporaryFile(/tmp/multipartBody174222319115875896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723263356,"filename":"image_14122025_15_25_44_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2bb19899d1578f129dadcff1383ac002.jpg","text":"TemporaryFile(/tmp/multipartBody895982585233986222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723263356,"filename":"image_14122025_15_25_35_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6d9507017bdf1ec6782a9ff81c279e10.jpg","text":"TemporaryFile(/tmp/multipartBody3550406359727013645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723263356,"filename":"image_14122025_15_25_14_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3e7581ef733e6c04be842b3668a3f55.jpg","text":"TemporaryFile(/tmp/multipartBody9164151521107000072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723263356,"filename":"image_14122025_15_25_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a9c460a8381e8ffeb0047af2c08a25e.jpg","text":"TemporaryFile(/tmp/multipartBody6131479369259124836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723263356,"filename":"image_14122025_15_25_55_10821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361803","file1":"1399361802","file0":"1399361800","file4":"1399361805","file5":"1399361807","file3":"1399361804"},"map_files_photo_id_array":[{"photo_id":"1399361807","filename":"file5"},{"photo_id":"1399361803","filename":"file2"},{"photo_id":"1399361805","filename":"file4"},{"photo_id":"1399361802","filename":"file1"},{"photo_id":"1399361800","filename":"file0"},{"photo_id":"1399361804","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361807":["hashtag1","hashtag2"]},{"1399361804":["hashtag1","hashtag2"]},{"1399361803":["hashtag1","hashtag2"]},{"1399361800":["hashtag1","hashtag2"]},{"1399361802":["hashtag1","hashtag2"]},{"1399361805":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361807, 1399361804, 1399361803, 1399361800, 1399361802, 1399361805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75097417831421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:40:42.180315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_29_12853.jpg', '/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_31_1835.jpg', '/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_32_1526.jpg', '/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_34_1786.jpg', '/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_36_1783.jpg', '/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_38_1665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_29_12853.jpg
/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_31_1835.jpg
/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_32_1526.jpg
/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_34_1786.jpg
/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_36_1783.jpg
/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_38_1665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361813","1399361816","1399361818","1399361812","1399361815","1399361814"],"photo_ids_order":["1399361812","1399361813","1399361814","1399361815","1399361816","1399361818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/17847c5b40fb005fbcbbdc0992c4dfe4.jpg","text":"TemporaryFile(/tmp/multipartBody7946165369385843289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723302775,"filename":"image_04112025_13_43_31_1835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c3a6a2adff0b1a576da94c1729cf9403.jpg","text":"TemporaryFile(/tmp/multipartBody276919815819472335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723302775,"filename":"image_04112025_13_43_36_1783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ba0d0cd6e76682a419ebf8018ea1a4b.jpg","text":"TemporaryFile(/tmp/multipartBody4830186481178639723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723302775,"filename":"image_04112025_13_43_38_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b1c39599976d588c5cfca945b0b04ae3.jpg","text":"TemporaryFile(/tmp/multipartBody7003906380887306223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723302775,"filename":"image_04112025_13_43_29_12853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/075b0a6ac978b835af31fe5d35eb6b6c.jpg","text":"TemporaryFile(/tmp/multipartBody8508090092265853147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723302775,"filename":"image_04112025_13_43_34_1786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4395ddd0228e79938c8fb3574ffcc612.jpg","text":"TemporaryFile(/tmp/multipartBody7950933873827519286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723302775,"filename":"image_04112025_13_43_32_1526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361814","file1":"1399361813","file0":"1399361812","file4":"1399361816","file5":"1399361818","file3":"1399361815"},"map_files_photo_id_array":[{"photo_id":"1399361818","filename":"file5"},{"photo_id":"1399361814","filename":"file2"},{"photo_id":"1399361816","filename":"file4"},{"photo_id":"1399361813","filename":"file1"},{"photo_id":"1399361812","filename":"file0"},{"photo_id":"1399361815","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399361813":["hashtag1","hashtag2"]},{"1399361816":["hashtag1","hashtag2"]},{"1399361818":["hashtag1","hashtag2"]},{"1399361812":["hashtag1","hashtag2"]},{"1399361815":["hashtag1","hashtag2"]},{"1399361814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399361813, 1399361816, 1399361818, 1399361812, 1399361815, 1399361814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.404412269592285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:41:22.459315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/26/image_14122025_15_26_15_9834.jpg', '/home/pi/Desktop/images/14122025/15/26/image_14122025_15_26_25_9952.jpg', '/home/pi/Desktop/images/14122025/15/26/image_14122025_15_26_35_9818.jpg', '/home/pi/Desktop/images/14122025/15/26/image_14122025_15_26_44_9843.jpg', '/home/pi/Desktop/images/14122025/15/26/image_14122025_15_26_55_10851.jpg', '/home/pi/Desktop/images/14122025/15/26/image_14122025_15_27_05_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/26/image_14122025_15_26_15_9834.jpg
/home/pi/Desktop/images/14122025/15/26/image_14122025_15_26_25_9952.jpg
/home/pi/Desktop/images/14122025/15/26/image_14122025_15_26_35_9818.jpg
/home/pi/Desktop/images/14122025/15/26/image_14122025_15_26_44_9843.jpg
/home/pi/Desktop/images/14122025/15/26/image_14122025_15_26_55_10851.jpg
/home/pi/Desktop/images/14122025/15/26/image_14122025_15_27_05_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361825","1399361821","1399361830","1399361827","1399361820","1399361823"],"photo_ids_order":["1399361820","1399361821","1399361823","1399361825","1399361827","1399361830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b2998c26c6da7289b54dd247e14ae02.jpg","text":"TemporaryFile(/tmp/multipartBody7801649942387752976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723343110,"filename":"image_14122025_15_26_44_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a598afa178d61dd57968532f39669744.jpg","text":"TemporaryFile(/tmp/multipartBody4924172577687219827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723343110,"filename":"image_14122025_15_26_25_9952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e2e6acab27e4cfb78f60842e6771b06.jpg","text":"TemporaryFile(/tmp/multipartBody8342126103693561093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723343110,"filename":"image_14122025_15_27_05_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3f505ce6437735ff51d468dcf17efc5.jpg","text":"TemporaryFile(/tmp/multipartBody6064433432340852919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723343110,"filename":"image_14122025_15_26_55_10851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/96f5647da7fe3eab4b3a6a9b63494130.jpg","text":"TemporaryFile(/tmp/multipartBody4777942375262112200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723343110,"filename":"image_14122025_15_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/12/14/a03ef71be2e85513ff85efd16fa484ae.jpg","text":"TemporaryFile(/tmp/multipartBody5265987219716894958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723343110,"filename":"image_14122025_15_26_35_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361823","file1":"1399361821","file0":"1399361820","file4":"1399361827","file5":"1399361830","file3":"1399361825"},"map_files_photo_id_array":[{"photo_id":"1399361830","filename":"file5"},{"photo_id":"1399361823","filename":"file2"},{"photo_id":"1399361827","filename":"file4"},{"photo_id":"1399361821","filename":"file1"},{"photo_id":"1399361820","filename":"file0"},{"photo_id":"1399361825","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361825":["hashtag1","hashtag2"]},{"1399361821":["hashtag1","hashtag2"]},{"1399361830":["hashtag1","hashtag2"]},{"1399361827":["hashtag1","hashtag2"]},{"1399361820":["hashtag1","hashtag2"]},{"1399361823":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361825, 1399361821, 1399361830, 1399361827, 1399361820, 1399361823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79765248298645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:42:03.269321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/27/image_14122025_15_27_15_9756.jpg', '/home/pi/Desktop/images/14122025/15/27/image_14122025_15_27_24_9818.jpg', '/home/pi/Desktop/images/14122025/15/27/image_14122025_15_27_35_10777.jpg', '/home/pi/Desktop/images/14122025/15/27/image_14122025_15_27_45_9605.jpg', '/home/pi/Desktop/images/14122025/15/27/image_14122025_15_27_55_10003.jpg', '/home/pi/Desktop/images/14122025/15/27/image_14122025_15_28_05_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/27/image_14122025_15_27_15_9756.jpg
/home/pi/Desktop/images/14122025/15/27/image_14122025_15_27_24_9818.jpg
/home/pi/Desktop/images/14122025/15/27/image_14122025_15_27_35_10777.jpg
/home/pi/Desktop/images/14122025/15/27/image_14122025_15_27_45_9605.jpg
/home/pi/Desktop/images/14122025/15/27/image_14122025_15_27_55_10003.jpg
/home/pi/Desktop/images/14122025/15/27/image_14122025_15_28_05_9751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361837","1399361834","1399361836","1399361833","1399361832","1399361835"],"photo_ids_order":["1399361832","1399361833","1399361834","1399361835","1399361836","1399361837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/483058100fad22b77415a48eca1537dd.jpg","text":"TemporaryFile(/tmp/multipartBody643271171818769847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723383917,"filename":"image_14122025_15_28_05_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/77f3fea6fa758a0a4374e00ed3e6e86e.jpg","text":"TemporaryFile(/tmp/multipartBody7262225708135547638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723383917,"filename":"image_14122025_15_27_35_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90e9c02913f9e7e4f9c6b77314252f12.jpg","text":"TemporaryFile(/tmp/multipartBody4699416088781432527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723383917,"filename":"image_14122025_15_27_55_10003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e903b3cdf8bc2a39b538af63c1430784.jpg","text":"TemporaryFile(/tmp/multipartBody3639348158603213654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723383917,"filename":"image_14122025_15_27_24_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1daa66011af14cb0f009727635d533b4.jpg","text":"TemporaryFile(/tmp/multipartBody3041564990122420276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723383917,"filename":"image_14122025_15_27_15_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/61def940c5808e3617b0f7a5e1c42405.jpg","text":"TemporaryFile(/tmp/multipartBody3794433323804493863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723383917,"filename":"image_14122025_15_27_45_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361834","file1":"1399361833","file0":"1399361832","file4":"1399361836","file5":"1399361837","file3":"1399361835"},"map_files_photo_id_array":[{"photo_id":"1399361837","filename":"file5"},{"photo_id":"1399361834","filename":"file2"},{"photo_id":"1399361836","filename":"file4"},{"photo_id":"1399361833","filename":"file1"},{"photo_id":"1399361832","filename":"file0"},{"photo_id":"1399361835","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361837":["hashtag1","hashtag2"]},{"1399361834":["hashtag1","hashtag2"]},{"1399361836":["hashtag1","hashtag2"]},{"1399361833":["hashtag1","hashtag2"]},{"1399361832":["hashtag1","hashtag2"]},{"1399361835":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361837, 1399361834, 1399361836, 1399361833, 1399361832, 1399361835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13491654396057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:42:42.723125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_39_1583.jpg', '/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_41_1575.jpg', '/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_42_1623.jpg', '/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_44_1516.jpg', '/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_46_1711.jpg', '/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_47_1548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_39_1583.jpg
/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_41_1575.jpg
/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_42_1623.jpg
/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_44_1516.jpg
/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_46_1711.jpg
/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_47_1548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361849","1399361851","1399361853","1399361847","1399361844","1399361855"],"photo_ids_order":["1399361844","1399361847","1399361849","1399361851","1399361853","1399361855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf0587054e7ff15149ed51bbb035ec55.jpg","text":"TemporaryFile(/tmp/multipartBody6197479256490794582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723423393,"filename":"image_04112025_13_43_42_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d58d340115c3bce5044c65fd5a85240.jpg","text":"TemporaryFile(/tmp/multipartBody5773439006384596530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723423393,"filename":"image_04112025_13_43_44_1516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7384b3cfdde3477caf176053c67e97d7.jpg","text":"TemporaryFile(/tmp/multipartBody7846327292992517466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723423393,"filename":"image_04112025_13_43_46_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e75d303e6a2c9788a44bd44615b938fa.jpg","text":"TemporaryFile(/tmp/multipartBody8172529747507497032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723423393,"filename":"image_04112025_13_43_41_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b2c3ce597d10dacee9c59bb18174a8cb.jpg","text":"TemporaryFile(/tmp/multipartBody4887702630170221554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723423393,"filename":"image_04112025_13_43_39_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c1861303534a260b3e2280b2fbdb119.jpg","text":"TemporaryFile(/tmp/multipartBody6287273583194141204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723423393,"filename":"image_04112025_13_43_47_1548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361849","file1":"1399361847","file0":"1399361844","file4":"1399361853","file5":"1399361855","file3":"1399361851"},"map_files_photo_id_array":[{"photo_id":"1399361855","filename":"file5"},{"photo_id":"1399361849","filename":"file2"},{"photo_id":"1399361853","filename":"file4"},{"photo_id":"1399361847","filename":"file1"},{"photo_id":"1399361844","filename":"file0"},{"photo_id":"1399361851","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399361849":["hashtag1","hashtag2"]},{"1399361851":["hashtag1","hashtag2"]},{"1399361853":["hashtag1","hashtag2"]},{"1399361847":["hashtag1","hashtag2"]},{"1399361844":["hashtag1","hashtag2"]},{"1399361855":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399361849, 1399361851, 1399361853, 1399361847, 1399361844, 1399361855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38931727409363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:43:21.982094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/28/image_14122025_15_28_14_9693.jpg', '/home/pi/Desktop/images/14122025/15/28/image_14122025_15_28_25_10747.jpg', '/home/pi/Desktop/images/14122025/15/28/image_14122025_15_28_35_9829.jpg', '/home/pi/Desktop/images/14122025/15/28/image_14122025_15_28_44_9587.jpg', '/home/pi/Desktop/images/14122025/15/28/image_14122025_15_28_55_10602.jpg', '/home/pi/Desktop/images/14122025/15/28/image_14122025_15_29_05_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/28/image_14122025_15_28_14_9693.jpg
/home/pi/Desktop/images/14122025/15/28/image_14122025_15_28_25_10747.jpg
/home/pi/Desktop/images/14122025/15/28/image_14122025_15_28_35_9829.jpg
/home/pi/Desktop/images/14122025/15/28/image_14122025_15_28_44_9587.jpg
/home/pi/Desktop/images/14122025/15/28/image_14122025_15_28_55_10602.jpg
/home/pi/Desktop/images/14122025/15/28/image_14122025_15_29_05_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":["1399361864","1399361858","1399361866","1399361860","1399361862","1399361856"],"photo_ids_order":["1399361856","1399361858","1399361860","1399361862","1399361864","1399361866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c4a2e69b63c4b8ce508de93e1d17142.jpg","text":"TemporaryFile(/tmp/multipartBody6397477816814892613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723462624,"filename":"image_14122025_15_28_55_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d272e66103f7ade03397ce13829b0969.jpg","text":"TemporaryFile(/tmp/multipartBody663622275347960315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723462624,"filename":"image_14122025_15_28_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/12/14/5723caa8c978b94daef5ee2c0329c28d.jpg","text":"TemporaryFile(/tmp/multipartBody210578474232302661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723462624,"filename":"image_14122025_15_29_05_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d077d4477122f661eeb17de5dd9c295.jpg","text":"TemporaryFile(/tmp/multipartBody3072562322071352826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723462624,"filename":"image_14122025_15_28_35_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c617fb6636936de4dbf824d9715d8378.jpg","text":"TemporaryFile(/tmp/multipartBody5987909731115405544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723462624,"filename":"image_14122025_15_28_44_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1afdd54340e83449ac4223c0efffecb4.jpg","text":"TemporaryFile(/tmp/multipartBody2111105566135990621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723462624,"filename":"image_14122025_15_28_14_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361860","file1":"1399361858","file0":"1399361856","file4":"1399361864","file5":"1399361866","file3":"1399361862"},"map_files_photo_id_array":[{"photo_id":"1399361866","filename":"file5"},{"photo_id":"1399361860","filename":"file2"},{"photo_id":"1399361864","filename":"file4"},{"photo_id":"1399361858","filename":"file1"},{"photo_id":"1399361856","filename":"file0"},{"photo_id":"1399361862","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361864":["hashtag1","hashtag2"]},{"1399361858":["hashtag1","hashtag2"]},{"1399361866":["hashtag1","hashtag2"]},{"1399361860":["hashtag1","hashtag2"]},{"1399361862":["hashtag1","hashtag2"]},{"1399361856":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361864, 1399361858, 1399361866, 1399361860, 1399361862, 1399361856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98085308074951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:44:02.899651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/29/image_14122025_15_29_14_9697.jpg', '/home/pi/Desktop/images/14122025/15/29/image_14122025_15_29_25_10758.jpg', '/home/pi/Desktop/images/14122025/15/29/image_14122025_15_29_35_9765.jpg', '/home/pi/Desktop/images/14122025/15/29/image_14122025_15_29_45_9678.jpg', '/home/pi/Desktop/images/14122025/15/29/image_14122025_15_29_54_9692.jpg', '/home/pi/Desktop/images/14122025/15/31/image_14122025_15_31_14_10040.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/29/image_14122025_15_29_14_9697.jpg
/home/pi/Desktop/images/14122025/15/29/image_14122025_15_29_25_10758.jpg
/home/pi/Desktop/images/14122025/15/29/image_14122025_15_29_35_9765.jpg
/home/pi/Desktop/images/14122025/15/29/image_14122025_15_29_45_9678.jpg
/home/pi/Desktop/images/14122025/15/29/image_14122025_15_29_54_9692.jpg
/home/pi/Desktop/images/14122025/15/31/image_14122025_15_31_14_10040.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361875","1399361869","1399361878","1399361871","1399361873","1399361876"],"photo_ids_order":["1399361869","1399361871","1399361873","1399361875","1399361876","1399361878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f57dd50b9755b80d552edcba334fab0.jpg","text":"TemporaryFile(/tmp/multipartBody5909345033838914649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723503562,"filename":"image_14122025_15_29_45_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ad284aebcaceed76e58f8d63c1576c0.jpg","text":"TemporaryFile(/tmp/multipartBody1667509169325326864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723503562,"filename":"image_14122025_15_29_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d48408282ef7cb1a934aefaa26d1826.jpg","text":"TemporaryFile(/tmp/multipartBody7313102746483712194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723503562,"filename":"image_14122025_15_31_14_10040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c5da1222f61e81e82bd46e1b8e16506d.jpg","text":"TemporaryFile(/tmp/multipartBody6094713295389164816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723503562,"filename":"image_14122025_15_29_25_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c0993aed81aa3fdfa6b08c378dd64a79.jpg","text":"TemporaryFile(/tmp/multipartBody4136024281414621688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723503562,"filename":"image_14122025_15_29_35_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1a703ddecd520aff372ab312c14172f.jpg","text":"TemporaryFile(/tmp/multipartBody8604270004425497018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723503562,"filename":"image_14122025_15_29_54_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361873","file1":"1399361871","file0":"1399361869","file4":"1399361876","file5":"1399361878","file3":"1399361875"},"map_files_photo_id_array":[{"photo_id":"1399361878","filename":"file5"},{"photo_id":"1399361873","filename":"file2"},{"photo_id":"1399361876","filename":"file4"},{"photo_id":"1399361871","filename":"file1"},{"photo_id":"1399361869","filename":"file0"},{"photo_id":"1399361875","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361875":["hashtag1","hashtag2"]},{"1399361869":["hashtag1","hashtag2"]},{"1399361878":["hashtag1","hashtag2"]},{"1399361871":["hashtag1","hashtag2"]},{"1399361873":["hashtag1","hashtag2"]},{"1399361876":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361875, 1399361869, 1399361878, 1399361871, 1399361873, 1399361876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17544174194336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:44:42.227517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_49_1498.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_24_35041.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_30_6259.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_32_1562.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_33_1605.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_35_1839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/43/image_04112025_13_43_49_1498.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_24_35041.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_30_6259.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_32_1562.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_33_1605.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_35_1839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361890","1399361884","1399361893","1399361892","1399361889","1399361891"],"photo_ids_order":["1399361884","1399361889","1399361890","1399361891","1399361892","1399361893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ee55d9a89752be067cb2d55f8ac99e5d.jpg","text":"TemporaryFile(/tmp/multipartBody9043936151748894567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723542902,"filename":"image_04112025_13_44_30_6259.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b00db3701194ab5a1c586fdf39963e04.jpg","text":"TemporaryFile(/tmp/multipartBody8821088352257092600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723542902,"filename":"image_04112025_13_43_49_1498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d4e3b97efc94515cb512833199173185.jpg","text":"TemporaryFile(/tmp/multipartBody8525869244943139397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723542902,"filename":"image_04112025_13_44_35_1839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0743ed5ffa87ffbae1f34c10f17ac974.jpg","text":"TemporaryFile(/tmp/multipartBody581644713568165169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723542902,"filename":"image_04112025_13_44_33_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/579d8aefc97ec7f8b1ec127db8d335b6.jpg","text":"TemporaryFile(/tmp/multipartBody8079260974623228356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723542902,"filename":"image_04112025_13_44_24_35041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b91fb5a80d31bb8e5048ef480af5b90f.jpg","text":"TemporaryFile(/tmp/multipartBody2941645965949098793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723542902,"filename":"image_04112025_13_44_32_1562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361890","file1":"1399361889","file0":"1399361884","file4":"1399361892","file5":"1399361893","file3":"1399361891"},"map_files_photo_id_array":[{"photo_id":"1399361893","filename":"file5"},{"photo_id":"1399361890","filename":"file2"},{"photo_id":"1399361892","filename":"file4"},{"photo_id":"1399361889","filename":"file1"},{"photo_id":"1399361884","filename":"file0"},{"photo_id":"1399361891","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399361890":["hashtag1","hashtag2"]},{"1399361884":["hashtag1","hashtag2"]},{"1399361893":["hashtag1","hashtag2"]},{"1399361892":["hashtag1","hashtag2"]},{"1399361889":["hashtag1","hashtag2"]},{"1399361891":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399361890, 1399361884, 1399361893, 1399361892, 1399361889, 1399361891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22381949424744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:45:22.500812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/31/image_14122025_15_31_25_10659.jpg', '/home/pi/Desktop/images/14122025/15/31/image_14122025_15_31_55_10794.jpg', '/home/pi/Desktop/images/14122025/15/31/image_14122025_15_32_04_9609.jpg', '/home/pi/Desktop/images/14122025/15/32/image_14122025_15_32_24_9766.jpg', '/home/pi/Desktop/images/14122025/15/32/image_14122025_15_32_44_9719.jpg', '/home/pi/Desktop/images/14122025/15/32/image_14122025_15_33_05_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/31/image_14122025_15_31_25_10659.jpg
/home/pi/Desktop/images/14122025/15/31/image_14122025_15_31_55_10794.jpg
/home/pi/Desktop/images/14122025/15/31/image_14122025_15_32_04_9609.jpg
/home/pi/Desktop/images/14122025/15/32/image_14122025_15_32_24_9766.jpg
/home/pi/Desktop/images/14122025/15/32/image_14122025_15_32_44_9719.jpg
/home/pi/Desktop/images/14122025/15/32/image_14122025_15_33_05_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":["1399361906","1399361900","1399361899","1399361903","1399361894","1399361897"],"photo_ids_order":["1399361894","1399361897","1399361899","1399361900","1399361903","1399361906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/620d2b8fb9980352a10bb61dce10a734.jpg","text":"TemporaryFile(/tmp/multipartBody5347900994359248316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723583126,"filename":"image_14122025_15_33_05_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e303409a71236f2d1cfcc8280c2c7244.jpg","text":"TemporaryFile(/tmp/multipartBody6995756616052646226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723583126,"filename":"image_14122025_15_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/12/14/cc50fbf680a817bd11166bb455b42c58.jpg","text":"TemporaryFile(/tmp/multipartBody7130858486541747020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723583126,"filename":"image_14122025_15_32_04_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a5fd950ceaca2d0b074c38acefb3fc5.jpg","text":"TemporaryFile(/tmp/multipartBody5815073541983200379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723583126,"filename":"image_14122025_15_32_44_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/541946899311f221c03b8d3f920249f7.jpg","text":"TemporaryFile(/tmp/multipartBody6268494822423017162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723583126,"filename":"image_14122025_15_31_25_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fcf55919b023376824abe06d578f4f0e.jpg","text":"TemporaryFile(/tmp/multipartBody5225827805162338074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723583126,"filename":"image_14122025_15_31_55_10794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361899","file1":"1399361897","file0":"1399361894","file4":"1399361903","file5":"1399361906","file3":"1399361900"},"map_files_photo_id_array":[{"photo_id":"1399361906","filename":"file5"},{"photo_id":"1399361899","filename":"file2"},{"photo_id":"1399361903","filename":"file4"},{"photo_id":"1399361897","filename":"file1"},{"photo_id":"1399361894","filename":"file0"},{"photo_id":"1399361900","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361906":["hashtag1","hashtag2"]},{"1399361900":["hashtag1","hashtag2"]},{"1399361899":["hashtag1","hashtag2"]},{"1399361903":["hashtag1","hashtag2"]},{"1399361894":["hashtag1","hashtag2"]},{"1399361897":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361906, 1399361900, 1399361899, 1399361903, 1399361894, 1399361897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42279624938965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:46:03.235793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/33/image_14122025_15_33_14_9793.jpg', '/home/pi/Desktop/images/14122025/15/33/image_14122025_15_33_35_10676.jpg', '/home/pi/Desktop/images/14122025/15/34/image_14122025_15_34_24_9608.jpg', '/home/pi/Desktop/images/14122025/15/35/image_14122025_15_35_14_9871.jpg', '/home/pi/Desktop/images/14122025/15/35/image_14122025_15_35_25_10686.jpg', '/home/pi/Desktop/images/14122025/15/35/image_14122025_15_35_34_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/33/image_14122025_15_33_14_9793.jpg
/home/pi/Desktop/images/14122025/15/33/image_14122025_15_33_35_10676.jpg
/home/pi/Desktop/images/14122025/15/34/image_14122025_15_34_24_9608.jpg
/home/pi/Desktop/images/14122025/15/35/image_14122025_15_35_14_9871.jpg
/home/pi/Desktop/images/14122025/15/35/image_14122025_15_35_25_10686.jpg
/home/pi/Desktop/images/14122025/15/35/image_14122025_15_35_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":["1399361912","1399361909","1399361911","1399361914","1399361908","1399361910"],"photo_ids_order":["1399361908","1399361909","1399361910","1399361911","1399361912","1399361914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/05d4136c1d5722ca63fc9fd410cd5987.jpg","text":"TemporaryFile(/tmp/multipartBody8134607876009640690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723623865,"filename":"image_14122025_15_35_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/12/14/80f53d400a7b3579905a243d0f2e271a.jpg","text":"TemporaryFile(/tmp/multipartBody1202027400651350770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723623865,"filename":"image_14122025_15_33_35_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/970920693209d297a6b8b076a5712b7f.jpg","text":"TemporaryFile(/tmp/multipartBody6346167967082031097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723623865,"filename":"image_14122025_15_35_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/12/14/4cdbb36fac10718b0f207a59c0b3bc08.jpg","text":"TemporaryFile(/tmp/multipartBody2898805186773317658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723623865,"filename":"image_14122025_15_35_34_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b436eb4c0a59e5b230ab657e6dc6612.jpg","text":"TemporaryFile(/tmp/multipartBody4842272502622200604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723623865,"filename":"image_14122025_15_33_14_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ded7472439831e922cd65eb83bd4dfa4.jpg","text":"TemporaryFile(/tmp/multipartBody8242711879595809106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723623865,"filename":"image_14122025_15_34_24_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361910","file1":"1399361909","file0":"1399361908","file4":"1399361912","file5":"1399361914","file3":"1399361911"},"map_files_photo_id_array":[{"photo_id":"1399361914","filename":"file5"},{"photo_id":"1399361910","filename":"file2"},{"photo_id":"1399361912","filename":"file4"},{"photo_id":"1399361909","filename":"file1"},{"photo_id":"1399361908","filename":"file0"},{"photo_id":"1399361911","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361912":["hashtag1","hashtag2"]},{"1399361909":["hashtag1","hashtag2"]},{"1399361911":["hashtag1","hashtag2"]},{"1399361914":["hashtag1","hashtag2"]},{"1399361908":["hashtag1","hashtag2"]},{"1399361910":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361912, 1399361909, 1399361911, 1399361914, 1399361908, 1399361910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78125262260437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:46:42.739091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_37_1558.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_38_1515.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_40_1758.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_42_1745.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_43_1588.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_45_1700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_37_1558.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_38_1515.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_40_1758.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_42_1745.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_43_1588.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_45_1700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361924","1399361920","1399361923","1399361926","1399361922","1399361925"],"photo_ids_order":["1399361920","1399361922","1399361923","1399361924","1399361925","1399361926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1340196f565843e988219556c45c7ce4.jpg","text":"TemporaryFile(/tmp/multipartBody1969344594114213972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723663401,"filename":"image_04112025_13_44_42_1745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fc5a7f70f40c3f67d32b0c448b12cd2b.jpg","text":"TemporaryFile(/tmp/multipartBody7057785643756361488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723663401,"filename":"image_04112025_13_44_37_1558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ddaf2c153ff89afa27e0b423d6544216.jpg","text":"TemporaryFile(/tmp/multipartBody2673893734651637958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723663401,"filename":"image_04112025_13_44_40_1758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69be8382c29c3e41a2efc6e401b65d90.jpg","text":"TemporaryFile(/tmp/multipartBody4937645607056127168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723663401,"filename":"image_04112025_13_44_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/12/14/50bae7706742809e7beaa76668eefec3.jpg","text":"TemporaryFile(/tmp/multipartBody5131913851886752508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723663401,"filename":"image_04112025_13_44_38_1515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6708d4298c681d511195daafbd5fd502.jpg","text":"TemporaryFile(/tmp/multipartBody7380700720117350654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723663401,"filename":"image_04112025_13_44_43_1588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361923","file1":"1399361922","file0":"1399361920","file4":"1399361925","file5":"1399361926","file3":"1399361924"},"map_files_photo_id_array":[{"photo_id":"1399361926","filename":"file5"},{"photo_id":"1399361923","filename":"file2"},{"photo_id":"1399361925","filename":"file4"},{"photo_id":"1399361922","filename":"file1"},{"photo_id":"1399361920","filename":"file0"},{"photo_id":"1399361924","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399361924":["hashtag1","hashtag2"]},{"1399361920":["hashtag1","hashtag2"]},{"1399361923":["hashtag1","hashtag2"]},{"1399361926":["hashtag1","hashtag2"]},{"1399361922":["hashtag1","hashtag2"]},{"1399361925":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399361924, 1399361920, 1399361923, 1399361926, 1399361922, 1399361925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88791584968567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:47:22.105262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/36/image_14122025_15_36_14_9579.jpg', '/home/pi/Desktop/images/14122025/15/36/image_14122025_15_36_35_10652.jpg', '/home/pi/Desktop/images/14122025/15/37/image_14122025_15_37_15_10883.jpg', '/home/pi/Desktop/images/14122025/15/37/image_14122025_15_37_24_9583.jpg', '/home/pi/Desktop/images/14122025/15/37/image_14122025_15_37_34_9634.jpg', '/home/pi/Desktop/images/14122025/15/37/image_14122025_15_37_45_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/36/image_14122025_15_36_14_9579.jpg
/home/pi/Desktop/images/14122025/15/36/image_14122025_15_36_35_10652.jpg
/home/pi/Desktop/images/14122025/15/37/image_14122025_15_37_15_10883.jpg
/home/pi/Desktop/images/14122025/15/37/image_14122025_15_37_24_9583.jpg
/home/pi/Desktop/images/14122025/15/37/image_14122025_15_37_34_9634.jpg
/home/pi/Desktop/images/14122025/15/37/image_14122025_15_37_45_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361936","1399361939","1399361927","1399361929","1399361931","1399361934"],"photo_ids_order":["1399361927","1399361929","1399361931","1399361934","1399361936","1399361939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ea65a8237a42b13f1cf7742a26c71b1.jpg","text":"TemporaryFile(/tmp/multipartBody6367957512468897296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723702720,"filename":"image_14122025_15_37_34_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c670f973329b8d3c9e8f70276cdf5d21.jpg","text":"TemporaryFile(/tmp/multipartBody5970968347956853639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723702720,"filename":"image_14122025_15_37_45_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef85e71ff542b23b217643139a53648f.jpg","text":"TemporaryFile(/tmp/multipartBody4898175818282338633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723702720,"filename":"image_14122025_15_36_14_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/abd4cff34bf0569f8bf40a0b28d1e1e1.jpg","text":"TemporaryFile(/tmp/multipartBody8693570778164916424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723702720,"filename":"image_14122025_15_36_35_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fbb02af734e79567d5ba68e138c8f74c.jpg","text":"TemporaryFile(/tmp/multipartBody7282340358373633699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723702720,"filename":"image_14122025_15_37_15_10883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/769d61e056e190979d58593b03c6df69.jpg","text":"TemporaryFile(/tmp/multipartBody3924357188266086152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723702720,"filename":"image_14122025_15_37_24_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361931","file1":"1399361929","file0":"1399361927","file4":"1399361936","file5":"1399361939","file3":"1399361934"},"map_files_photo_id_array":[{"photo_id":"1399361939","filename":"file5"},{"photo_id":"1399361931","filename":"file2"},{"photo_id":"1399361936","filename":"file4"},{"photo_id":"1399361929","filename":"file1"},{"photo_id":"1399361927","filename":"file0"},{"photo_id":"1399361934","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361936":["hashtag1","hashtag2"]},{"1399361939":["hashtag1","hashtag2"]},{"1399361927":["hashtag1","hashtag2"]},{"1399361929":["hashtag1","hashtag2"]},{"1399361931":["hashtag1","hashtag2"]},{"1399361934":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361936, 1399361939, 1399361927, 1399361929, 1399361931, 1399361934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86649465560913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:48:02.713241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/37/image_14122025_15_37_54_9680.jpg', '/home/pi/Desktop/images/14122025/15/37/image_14122025_15_38_04_9675.jpg', '/home/pi/Desktop/images/14122025/15/38/image_14122025_15_38_15_10766.jpg', '/home/pi/Desktop/images/14122025/15/38/image_14122025_15_38_24_9712.jpg', '/home/pi/Desktop/images/14122025/15/38/image_14122025_15_38_34_9720.jpg', '/home/pi/Desktop/images/14122025/15/38/image_14122025_15_38_45_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/37/image_14122025_15_37_54_9680.jpg
/home/pi/Desktop/images/14122025/15/37/image_14122025_15_38_04_9675.jpg
/home/pi/Desktop/images/14122025/15/38/image_14122025_15_38_15_10766.jpg
/home/pi/Desktop/images/14122025/15/38/image_14122025_15_38_24_9712.jpg
/home/pi/Desktop/images/14122025/15/38/image_14122025_15_38_34_9720.jpg
/home/pi/Desktop/images/14122025/15/38/image_14122025_15_38_45_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399361957","1399361951","1399361953","1399361952","1399361955","1399361954"],"photo_ids_order":["1399361951","1399361952","1399361953","1399361954","1399361955","1399361957"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e00db47ed3bab2673f1e8510e97c7f81.jpg","text":"TemporaryFile(/tmp/multipartBody6334250943643044506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723743353,"filename":"image_14122025_15_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/12/14/ca17c69ea22a2f3f7552a47712c63135.jpg","text":"TemporaryFile(/tmp/multipartBody5272263754664624033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723743353,"filename":"image_14122025_15_37_54_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef76bf5139c4664bf6ca315bde83f4de.jpg","text":"TemporaryFile(/tmp/multipartBody4178696018623380954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723743353,"filename":"image_14122025_15_38_15_10766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/646d8d1dfb901b2ab4dd9181bc6f95a4.jpg","text":"TemporaryFile(/tmp/multipartBody4070842692532569276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723743353,"filename":"image_14122025_15_38_04_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd3fea55ac4d7f9be068e4fe1ad3e7b5.jpg","text":"TemporaryFile(/tmp/multipartBody4968602109322438013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723743353,"filename":"image_14122025_15_38_34_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b5bb73f3385abbbc7178fc5d13ec2e7.jpg","text":"TemporaryFile(/tmp/multipartBody5815681054420354033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723743353,"filename":"image_14122025_15_38_24_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361953","file1":"1399361952","file0":"1399361951","file4":"1399361955","file5":"1399361957","file3":"1399361954"},"map_files_photo_id_array":[{"photo_id":"1399361957","filename":"file5"},{"photo_id":"1399361953","filename":"file2"},{"photo_id":"1399361955","filename":"file4"},{"photo_id":"1399361952","filename":"file1"},{"photo_id":"1399361951","filename":"file0"},{"photo_id":"1399361954","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361957":["hashtag1","hashtag2"]},{"1399361951":["hashtag1","hashtag2"]},{"1399361953":["hashtag1","hashtag2"]},{"1399361952":["hashtag1","hashtag2"]},{"1399361955":["hashtag1","hashtag2"]},{"1399361954":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361957, 1399361951, 1399361953, 1399361952, 1399361955, 1399361954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.080275535583496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:48:42.185481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_47_1623.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_48_1645.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_50_1721.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_51_1503.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_53_1821.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_55_1791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_47_1623.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_48_1645.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_50_1721.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_51_1503.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_53_1821.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_55_1791.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5663011074066162 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:49:03.951035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/38/image_14122025_15_38_54_9562.jpg', '/home/pi/Desktop/images/14122025/15/39/image_14122025_15_39_14_9692.jpg', '/home/pi/Desktop/images/14122025/15/39/image_14122025_15_39_25_10653.jpg', '/home/pi/Desktop/images/14122025/15/39/image_14122025_15_39_44_9787.jpg', '/home/pi/Desktop/images/14122025/15/39/image_14122025_15_39_55_10708.jpg', '/home/pi/Desktop/images/14122025/15/39/image_14122025_15_40_04_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/38/image_14122025_15_38_54_9562.jpg
/home/pi/Desktop/images/14122025/15/39/image_14122025_15_39_14_9692.jpg
/home/pi/Desktop/images/14122025/15/39/image_14122025_15_39_25_10653.jpg
/home/pi/Desktop/images/14122025/15/39/image_14122025_15_39_44_9787.jpg
/home/pi/Desktop/images/14122025/15/39/image_14122025_15_39_55_10708.jpg
/home/pi/Desktop/images/14122025/15/39/image_14122025_15_40_04_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":["1399361971","1399361974","1399361968","1399361970","1399361973","1399361969"],"photo_ids_order":["1399361968","1399361969","1399361970","1399361971","1399361973","1399361974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d45079b60787c956dcd91519861ed4e.jpg","text":"TemporaryFile(/tmp/multipartBody3541571348450653297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723804567,"filename":"image_14122025_15_39_44_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/171565727359f51675f699981f501058.jpg","text":"TemporaryFile(/tmp/multipartBody3205045435318220861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723804567,"filename":"image_14122025_15_40_04_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/395ed29810f627caace051b9f271c533.jpg","text":"TemporaryFile(/tmp/multipartBody7258352902693444387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723804567,"filename":"image_14122025_15_38_54_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/699872b256f7da8e277661be9cacf277.jpg","text":"TemporaryFile(/tmp/multipartBody6924505809467168191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723804567,"filename":"image_14122025_15_39_25_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/293ff3516e1e81502adba461d028572f.jpg","text":"TemporaryFile(/tmp/multipartBody8592961221299115473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723804567,"filename":"image_14122025_15_39_55_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6d6c042bc6751f96355cadd655446bc9.jpg","text":"TemporaryFile(/tmp/multipartBody8745607503278870245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723804567,"filename":"image_14122025_15_39_14_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361970","file1":"1399361969","file0":"1399361968","file4":"1399361973","file5":"1399361974","file3":"1399361971"},"map_files_photo_id_array":[{"photo_id":"1399361974","filename":"file5"},{"photo_id":"1399361970","filename":"file2"},{"photo_id":"1399361973","filename":"file4"},{"photo_id":"1399361969","filename":"file1"},{"photo_id":"1399361968","filename":"file0"},{"photo_id":"1399361971","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399361971":["hashtag1","hashtag2"]},{"1399361974":["hashtag1","hashtag2"]},{"1399361968":["hashtag1","hashtag2"]},{"1399361970":["hashtag1","hashtag2"]},{"1399361973":["hashtag1","hashtag2"]},{"1399361969":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399361971, 1399361974, 1399361968, 1399361970, 1399361973, 1399361969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.274975538253784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:49:42.528383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_47_1623.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_48_1645.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_50_1721.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_51_1503.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_53_1821.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_55_1791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_47_1623.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_48_1645.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_50_1721.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_51_1503.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_53_1821.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_55_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":["1399361984","1399361983","1399361986","1399361980","1399361982","1399361985"],"photo_ids_order":["1399361980","1399361982","1399361983","1399361984","1399361985","1399361986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c8ebbfb51abb03c52693fda0daaad899.jpg","text":"TemporaryFile(/tmp/multipartBody8547366289248905547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723843125,"filename":"image_04112025_13_44_51_1503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9704c3efdc5c4b8b767dd6ac98cb1776.jpg","text":"TemporaryFile(/tmp/multipartBody234684726605804973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723843125,"filename":"image_04112025_13_44_50_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/02a02ee268664be1702f066c48c67e25.jpg","text":"TemporaryFile(/tmp/multipartBody3389523277117300010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723843125,"filename":"image_04112025_13_44_55_1791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e6b3f5296109cd1f40d10449fd4f9457.jpg","text":"TemporaryFile(/tmp/multipartBody9129234753112694694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723843125,"filename":"image_04112025_13_44_47_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13f5c58544e7ed55b80ca9d38ccc7e95.jpg","text":"TemporaryFile(/tmp/multipartBody1386334886117176666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723843125,"filename":"image_04112025_13_44_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/12/14/6d344a206837b86ba6aa15f529c91fbd.jpg","text":"TemporaryFile(/tmp/multipartBody4985682757386734944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723843125,"filename":"image_04112025_13_44_53_1821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361983","file1":"1399361982","file0":"1399361980","file4":"1399361985","file5":"1399361986","file3":"1399361984"},"map_files_photo_id_array":[{"photo_id":"1399361986","filename":"file5"},{"photo_id":"1399361983","filename":"file2"},{"photo_id":"1399361985","filename":"file4"},{"photo_id":"1399361982","filename":"file1"},{"photo_id":"1399361980","filename":"file0"},{"photo_id":"1399361984","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399361984":["hashtag1","hashtag2"]},{"1399361983":["hashtag1","hashtag2"]},{"1399361986":["hashtag1","hashtag2"]},{"1399361980":["hashtag1","hashtag2"]},{"1399361982":["hashtag1","hashtag2"]},{"1399361985":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399361984, 1399361983, 1399361986, 1399361980, 1399361982, 1399361985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.033660650253296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:50:22.797997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/40/image_14122025_15_40_14_9716.jpg', '/home/pi/Desktop/images/14122025/15/40/image_14122025_15_40_25_10679.jpg', '/home/pi/Desktop/images/14122025/15/40/image_14122025_15_40_35_9808.jpg', '/home/pi/Desktop/images/14122025/15/40/image_14122025_15_40_44_9659.jpg', '/home/pi/Desktop/images/14122025/15/40/image_14122025_15_40_54_9617.jpg', '/home/pi/Desktop/images/14122025/15/41/image_14122025_15_41_14_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/40/image_14122025_15_40_14_9716.jpg
/home/pi/Desktop/images/14122025/15/40/image_14122025_15_40_25_10679.jpg
/home/pi/Desktop/images/14122025/15/40/image_14122025_15_40_35_9808.jpg
/home/pi/Desktop/images/14122025/15/40/image_14122025_15_40_44_9659.jpg
/home/pi/Desktop/images/14122025/15/40/image_14122025_15_40_54_9617.jpg
/home/pi/Desktop/images/14122025/15/41/image_14122025_15_41_14_9788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399362001","1399361995","1399361989","1399361991","1399361993","1399361987"],"photo_ids_order":["1399361987","1399361989","1399361991","1399361993","1399361995","1399362001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b18c22e2ce5f986a51f690ebdffdf152.jpg","text":"TemporaryFile(/tmp/multipartBody4098570786156055497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723883423,"filename":"image_14122025_15_41_14_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd403f7871b047d22a5ded0451028a9f.jpg","text":"TemporaryFile(/tmp/multipartBody2117651825696639131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723883423,"filename":"image_14122025_15_40_54_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28c8598e24d68e1df0e1d3c9cc2d882c.jpg","text":"TemporaryFile(/tmp/multipartBody3491905034095740486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723883423,"filename":"image_14122025_15_40_25_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/45e2c9b57ff8aff6b7cb2372952c828e.jpg","text":"TemporaryFile(/tmp/multipartBody6024377396412942813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723883423,"filename":"image_14122025_15_40_35_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc91c62f93fb6fb14adad8489fe15f24.jpg","text":"TemporaryFile(/tmp/multipartBody4960445947824270854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723883423,"filename":"image_14122025_15_40_44_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/625f6cea52040eb454720bd0d56a94cb.jpg","text":"TemporaryFile(/tmp/multipartBody2075842998493303234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723883423,"filename":"image_14122025_15_40_14_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399361991","file1":"1399361989","file0":"1399361987","file4":"1399361995","file5":"1399362001","file3":"1399361993"},"map_files_photo_id_array":[{"photo_id":"1399362001","filename":"file5"},{"photo_id":"1399361991","filename":"file2"},{"photo_id":"1399361995","filename":"file4"},{"photo_id":"1399361989","filename":"file1"},{"photo_id":"1399361987","filename":"file0"},{"photo_id":"1399361993","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399362001":["hashtag1","hashtag2"]},{"1399361995":["hashtag1","hashtag2"]},{"1399361989":["hashtag1","hashtag2"]},{"1399361991":["hashtag1","hashtag2"]},{"1399361993":["hashtag1","hashtag2"]},{"1399361987":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399362001, 1399361995, 1399361989, 1399361991, 1399361993, 1399361987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65766930580139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:51:02.689107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/41/image_14122025_15_41_44_9635.jpg', '/home/pi/Desktop/images/14122025/15/41/image_14122025_15_41_54_9659.jpg', '/home/pi/Desktop/images/14122025/15/42/image_14122025_15_42_15_10726.jpg', '/home/pi/Desktop/images/14122025/15/42/image_14122025_15_42_34_9788.jpg', '/home/pi/Desktop/images/14122025/15/42/image_14122025_15_42_45_10714.jpg', '/home/pi/Desktop/images/14122025/15/42/image_14122025_15_42_54_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/41/image_14122025_15_41_44_9635.jpg
/home/pi/Desktop/images/14122025/15/41/image_14122025_15_41_54_9659.jpg
/home/pi/Desktop/images/14122025/15/42/image_14122025_15_42_15_10726.jpg
/home/pi/Desktop/images/14122025/15/42/image_14122025_15_42_34_9788.jpg
/home/pi/Desktop/images/14122025/15/42/image_14122025_15_42_45_10714.jpg
/home/pi/Desktop/images/14122025/15/42/image_14122025_15_42_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":["1399362008","1399362010","1399362007","1399362012","1399362009","1399362006"],"photo_ids_order":["1399362006","1399362007","1399362008","1399362009","1399362010","1399362012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf3d34852c828aff626d30f4fa1f247c.jpg","text":"TemporaryFile(/tmp/multipartBody5401458059479472621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723923440,"filename":"image_14122025_15_42_15_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d0e2cb09f9b7e508c10b2246036c51e3.jpg","text":"TemporaryFile(/tmp/multipartBody6457579182945498310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723923440,"filename":"image_14122025_15_42_45_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f79d207639e1d94ffae45f24a095843.jpg","text":"TemporaryFile(/tmp/multipartBody4929339207332442741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723923440,"filename":"image_14122025_15_41_54_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b27592fc6e228109018f99b9ae56a09c.jpg","text":"TemporaryFile(/tmp/multipartBody7823528650795357472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723923440,"filename":"image_14122025_15_42_54_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c644b6502ef2498ee76ef386ae271bcd.jpg","text":"TemporaryFile(/tmp/multipartBody1330996886386241642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723923440,"filename":"image_14122025_15_42_34_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dba572d2099d77e07637ee4fa13550e2.jpg","text":"TemporaryFile(/tmp/multipartBody4598050733831280851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723923440,"filename":"image_14122025_15_41_44_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399362008","file1":"1399362007","file0":"1399362006","file4":"1399362010","file5":"1399362012","file3":"1399362009"},"map_files_photo_id_array":[{"photo_id":"1399362012","filename":"file5"},{"photo_id":"1399362008","filename":"file2"},{"photo_id":"1399362010","filename":"file4"},{"photo_id":"1399362007","filename":"file1"},{"photo_id":"1399362006","filename":"file0"},{"photo_id":"1399362009","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399362008":["hashtag1","hashtag2"]},{"1399362010":["hashtag1","hashtag2"]},{"1399362007":["hashtag1","hashtag2"]},{"1399362012":["hashtag1","hashtag2"]},{"1399362009":["hashtag1","hashtag2"]},{"1399362006":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399362008, 1399362010, 1399362007, 1399362012, 1399362009, 1399362006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93479347229004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:51:42.143675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_57_1647.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_58_1666.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_45_00_1480.jpg', '/home/pi/Desktop/images/04112025/13/45/image_04112025_13_45_01_1648.jpg', '/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_07_3011.jpg', '/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_10_3755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_57_1647.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_58_1666.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_45_00_1480.jpg
/home/pi/Desktop/images/04112025/13/45/image_04112025_13_45_01_1648.jpg
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_07_3011.jpg
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_10_3755.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5708343982696533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:52:02.839442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/42/image_14122025_15_43_04_9856.jpg', '/home/pi/Desktop/images/14122025/15/43/image_14122025_15_43_14_9747.jpg', '/home/pi/Desktop/images/14122025/15/43/image_14122025_15_43_24_9857.jpg', '/home/pi/Desktop/images/14122025/15/43/image_14122025_15_43_35_10788.jpg', '/home/pi/Desktop/images/14122025/15/43/image_14122025_15_44_04_9787.jpg', '/home/pi/Desktop/images/14122025/15/44/image_14122025_15_44_15_10598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/42/image_14122025_15_43_04_9856.jpg
/home/pi/Desktop/images/14122025/15/43/image_14122025_15_43_14_9747.jpg
/home/pi/Desktop/images/14122025/15/43/image_14122025_15_43_24_9857.jpg
/home/pi/Desktop/images/14122025/15/43/image_14122025_15_43_35_10788.jpg
/home/pi/Desktop/images/14122025/15/43/image_14122025_15_44_04_9787.jpg
/home/pi/Desktop/images/14122025/15/44/image_14122025_15_44_15_10598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399362026","1399362029","1399362028","1399362031","1399362025","1399362027"],"photo_ids_order":["1399362025","1399362026","1399362027","1399362028","1399362029","1399362031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69a8862b5ac9150ceb42f255253f034c.jpg","text":"TemporaryFile(/tmp/multipartBody6441798721512727877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723983472,"filename":"image_14122025_15_43_14_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/44a6c1164d2dffc061bc33e5eed8ed2b.jpg","text":"TemporaryFile(/tmp/multipartBody1574803517054847764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723983472,"filename":"image_14122025_15_44_04_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3337f03c0686b4bb6abf24f72e54b63c.jpg","text":"TemporaryFile(/tmp/multipartBody2568471697940605676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723983472,"filename":"image_14122025_15_43_35_10788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d803302189b9935ea176817583da63f6.jpg","text":"TemporaryFile(/tmp/multipartBody4863884286108451568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723983472,"filename":"image_14122025_15_44_15_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7cbf0ac66b10c0a1e742f004bad67dd1.jpg","text":"TemporaryFile(/tmp/multipartBody6984097095001507923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723983472,"filename":"image_14122025_15_43_04_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/70ebe35e3199efdf0db8c698b1703ca4.jpg","text":"TemporaryFile(/tmp/multipartBody8145708635824722784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765723983472,"filename":"image_14122025_15_43_24_9857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399362027","file1":"1399362026","file0":"1399362025","file4":"1399362029","file5":"1399362031","file3":"1399362028"},"map_files_photo_id_array":[{"photo_id":"1399362031","filename":"file5"},{"photo_id":"1399362027","filename":"file2"},{"photo_id":"1399362029","filename":"file4"},{"photo_id":"1399362026","filename":"file1"},{"photo_id":"1399362025","filename":"file0"},{"photo_id":"1399362028","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399362026":["hashtag1","hashtag2"]},{"1399362029":["hashtag1","hashtag2"]},{"1399362028":["hashtag1","hashtag2"]},{"1399362031":["hashtag1","hashtag2"]},{"1399362025":["hashtag1","hashtag2"]},{"1399362027":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399362026, 1399362029, 1399362028, 1399362031, 1399362025, 1399362027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.844916343688965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:52:42.342177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_57_1647.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_58_1666.jpg', '/home/pi/Desktop/images/04112025/13/44/image_04112025_13_45_00_1480.jpg', '/home/pi/Desktop/images/04112025/13/45/image_04112025_13_45_01_1648.jpg', '/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_07_3011.jpg', '/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_10_3755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_57_1647.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_44_58_1666.jpg
/home/pi/Desktop/images/04112025/13/44/image_04112025_13_45_00_1480.jpg
/home/pi/Desktop/images/04112025/13/45/image_04112025_13_45_01_1648.jpg
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_07_3011.jpg
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_10_3755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399362040","1399362037","1399362039","1399362036","1399362041","1399362038"],"photo_ids_order":["1399362036","1399362037","1399362038","1399362039","1399362040","1399362041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3530bbf7520262ab1b6a5375cb0ed2e7.jpg","text":"TemporaryFile(/tmp/multipartBody9106158200595797570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724022909,"filename":"image_04112025_13_47_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/894754c6a60bb7d734333c8c97461aca.jpg","text":"TemporaryFile(/tmp/multipartBody1344760601789924876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724022909,"filename":"image_04112025_13_44_58_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d69f4cdb285187e0e4275e1cfeae5dc.jpg","text":"TemporaryFile(/tmp/multipartBody7617294324894793505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724022909,"filename":"image_04112025_13_45_01_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69d19aed35e1be8610936351cfbe49e6.jpg","text":"TemporaryFile(/tmp/multipartBody7562950907589551607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724022909,"filename":"image_04112025_13_44_57_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b530ea6d136c27029bd1ff114e738154.jpg","text":"TemporaryFile(/tmp/multipartBody343172799053501071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724022909,"filename":"image_04112025_13_47_10_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f07f7452020c96b47d81926669bc1dfd.jpg","text":"TemporaryFile(/tmp/multipartBody3782064135891085080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724022909,"filename":"image_04112025_13_45_00_1480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399362038","file1":"1399362037","file0":"1399362036","file4":"1399362040","file5":"1399362041","file3":"1399362039"},"map_files_photo_id_array":[{"photo_id":"1399362041","filename":"file5"},{"photo_id":"1399362038","filename":"file2"},{"photo_id":"1399362040","filename":"file4"},{"photo_id":"1399362037","filename":"file1"},{"photo_id":"1399362036","filename":"file0"},{"photo_id":"1399362039","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399362040":["hashtag1","hashtag2"]},{"1399362037":["hashtag1","hashtag2"]},{"1399362039":["hashtag1","hashtag2"]},{"1399362036":["hashtag1","hashtag2"]},{"1399362041":["hashtag1","hashtag2"]},{"1399362038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399362040, 1399362037, 1399362039, 1399362036, 1399362041, 1399362038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79337811470032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:53:22.533660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/44/image_14122025_15_44_24_9785.jpg', '/home/pi/Desktop/images/14122025/15/44/image_14122025_15_44_34_9872.jpg', '/home/pi/Desktop/images/14122025/15/44/image_14122025_15_44_45_10618.jpg', '/home/pi/Desktop/images/14122025/15/45/image_14122025_15_45_15_10626.jpg', '/home/pi/Desktop/images/14122025/15/45/image_14122025_15_45_34_9832.jpg', '/home/pi/Desktop/images/14122025/15/45/image_14122025_15_45_44_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/44/image_14122025_15_44_24_9785.jpg
/home/pi/Desktop/images/14122025/15/44/image_14122025_15_44_34_9872.jpg
/home/pi/Desktop/images/14122025/15/44/image_14122025_15_44_45_10618.jpg
/home/pi/Desktop/images/14122025/15/45/image_14122025_15_45_15_10626.jpg
/home/pi/Desktop/images/14122025/15/45/image_14122025_15_45_34_9832.jpg
/home/pi/Desktop/images/14122025/15/45/image_14122025_15_45_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":["1399362052","1399362046","1399362054","1399362048","1399362050","1399362044"],"photo_ids_order":["1399362044","1399362046","1399362048","1399362050","1399362052","1399362054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c095e6a121bfafc3954b449b0b6e72e8.jpg","text":"TemporaryFile(/tmp/multipartBody7215748117819504596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724063162,"filename":"image_14122025_15_45_34_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/259dbf3179c9d9ba7d6d821f2a15a507.jpg","text":"TemporaryFile(/tmp/multipartBody1855207696327572859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724063162,"filename":"image_14122025_15_44_34_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/83458a3c3dab84c9395c5fba776ef6a3.jpg","text":"TemporaryFile(/tmp/multipartBody5575338152885839591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724063162,"filename":"image_14122025_15_45_44_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b723b28cf765441b5ebef1d03346436.jpg","text":"TemporaryFile(/tmp/multipartBody2127860880881982306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724063162,"filename":"image_14122025_15_44_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb6b76e3a1b291b043e64b61e89eb929.jpg","text":"TemporaryFile(/tmp/multipartBody5970096132189607286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724063162,"filename":"image_14122025_15_45_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/12/14/7e00a5b1d926d46cce35a49a5f41aa66.jpg","text":"TemporaryFile(/tmp/multipartBody561767663671440688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724063162,"filename":"image_14122025_15_44_24_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399362048","file1":"1399362046","file0":"1399362044","file4":"1399362052","file5":"1399362054","file3":"1399362050"},"map_files_photo_id_array":[{"photo_id":"1399362054","filename":"file5"},{"photo_id":"1399362048","filename":"file2"},{"photo_id":"1399362052","filename":"file4"},{"photo_id":"1399362046","filename":"file1"},{"photo_id":"1399362044","filename":"file0"},{"photo_id":"1399362050","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399362052":["hashtag1","hashtag2"]},{"1399362046":["hashtag1","hashtag2"]},{"1399362054":["hashtag1","hashtag2"]},{"1399362048":["hashtag1","hashtag2"]},{"1399362050":["hashtag1","hashtag2"]},{"1399362044":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399362052, 1399362046, 1399362054, 1399362048, 1399362050, 1399362044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.706143856048584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:54:03.637088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/45/image_14122025_15_45_55_10618.jpg', '/home/pi/Desktop/images/14122025/15/46/image_14122025_15_46_14_9671.jpg', '/home/pi/Desktop/images/14122025/15/46/image_14122025_15_46_35_10653.jpg', '/home/pi/Desktop/images/14122025/15/46/image_14122025_15_46_44_9696.jpg', '/home/pi/Desktop/images/14122025/15/46/image_14122025_15_46_54_9765.jpg', '/home/pi/Desktop/images/14122025/15/47/image_14122025_15_47_15_10750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/45/image_14122025_15_45_55_10618.jpg
/home/pi/Desktop/images/14122025/15/46/image_14122025_15_46_14_9671.jpg
/home/pi/Desktop/images/14122025/15/46/image_14122025_15_46_35_10653.jpg
/home/pi/Desktop/images/14122025/15/46/image_14122025_15_46_44_9696.jpg
/home/pi/Desktop/images/14122025/15/46/image_14122025_15_46_54_9765.jpg
/home/pi/Desktop/images/14122025/15/47/image_14122025_15_47_15_10750.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5513849258422852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 15:54:12.772402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:54:22.813137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/45/image_14122025_15_45_55_10618.jpg', '/home/pi/Desktop/images/14122025/15/46/image_14122025_15_46_14_9671.jpg', '/home/pi/Desktop/images/14122025/15/46/image_14122025_15_46_35_10653.jpg', '/home/pi/Desktop/images/14122025/15/46/image_14122025_15_46_44_9696.jpg', '/home/pi/Desktop/images/14122025/15/46/image_14122025_15_46_54_9765.jpg', '/home/pi/Desktop/images/14122025/15/47/image_14122025_15_47_15_10750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/45/image_14122025_15_45_55_10618.jpg
/home/pi/Desktop/images/14122025/15/46/image_14122025_15_46_14_9671.jpg
/home/pi/Desktop/images/14122025/15/46/image_14122025_15_46_35_10653.jpg
/home/pi/Desktop/images/14122025/15/46/image_14122025_15_46_44_9696.jpg
/home/pi/Desktop/images/14122025/15/46/image_14122025_15_46_54_9765.jpg
/home/pi/Desktop/images/14122025/15/47/image_14122025_15_47_15_10750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399362064","1399362073","1399362067","1399362069","1399362066","1399362062"],"photo_ids_order":["1399362062","1399362064","1399362066","1399362067","1399362069","1399362073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c9eccc3b5808e7c510dcf8c3c75a9ac.jpg","text":"TemporaryFile(/tmp/multipartBody897161599039215140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724123439,"filename":"image_14122025_15_46_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3c951a850843bfaaf2af70b345b12a1c.jpg","text":"TemporaryFile(/tmp/multipartBody5972074612510688192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724123439,"filename":"image_14122025_15_47_15_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/12daf41ff57e20048da75fc5a4916661.jpg","text":"TemporaryFile(/tmp/multipartBody7107637097442750576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724123439,"filename":"image_14122025_15_46_44_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/18a7c40c0bdf849a05bdfc5a5df79403.jpg","text":"TemporaryFile(/tmp/multipartBody115968114242871557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724123439,"filename":"image_14122025_15_46_54_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5355cd50034d32965437765e3148ba0f.jpg","text":"TemporaryFile(/tmp/multipartBody5094248371693483755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724123439,"filename":"image_14122025_15_46_35_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c0fb0b5ba74b8c603e6b1a7713300dbf.jpg","text":"TemporaryFile(/tmp/multipartBody267981264350610741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724123439,"filename":"image_14122025_15_45_55_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399362066","file1":"1399362064","file0":"1399362062","file4":"1399362069","file5":"1399362073","file3":"1399362067"},"map_files_photo_id_array":[{"photo_id":"1399362073","filename":"file5"},{"photo_id":"1399362066","filename":"file2"},{"photo_id":"1399362069","filename":"file4"},{"photo_id":"1399362064","filename":"file1"},{"photo_id":"1399362062","filename":"file0"},{"photo_id":"1399362067","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399362064":["hashtag1","hashtag2"]},{"1399362073":["hashtag1","hashtag2"]},{"1399362067":["hashtag1","hashtag2"]},{"1399362069":["hashtag1","hashtag2"]},{"1399362066":["hashtag1","hashtag2"]},{"1399362062":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399362064, 1399362073, 1399362067, 1399362069, 1399362066, 1399362062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.518248081207275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:55:02.689834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/47/image_14122025_15_47_34_9788.jpg', '/home/pi/Desktop/images/14122025/15/47/image_14122025_15_47_55_9718.jpg', '/home/pi/Desktop/images/14122025/15/48/image_14122025_15_48_25_9715.jpg', '/home/pi/Desktop/images/14122025/15/48/image_14122025_15_48_55_10692.jpg', '/home/pi/Desktop/images/14122025/15/48/image_14122025_15_49_04_9725.jpg', '/home/pi/Desktop/images/14122025/15/49/image_14122025_15_49_25_10709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/47/image_14122025_15_47_34_9788.jpg
/home/pi/Desktop/images/14122025/15/47/image_14122025_15_47_55_9718.jpg
/home/pi/Desktop/images/14122025/15/48/image_14122025_15_48_25_9715.jpg
/home/pi/Desktop/images/14122025/15/48/image_14122025_15_48_55_10692.jpg
/home/pi/Desktop/images/14122025/15/48/image_14122025_15_49_04_9725.jpg
/home/pi/Desktop/images/14122025/15/49/image_14122025_15_49_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":["1399362076","1399362075","1399362078","1399362080","1399362074","1399362077"],"photo_ids_order":["1399362074","1399362075","1399362076","1399362077","1399362078","1399362080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce49564d31a38db99c9f84aa2a0823ad.jpg","text":"TemporaryFile(/tmp/multipartBody8582150507753461499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724163409,"filename":"image_14122025_15_48_25_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/52bfe213a7afc8a27adb62403b7fa312.jpg","text":"TemporaryFile(/tmp/multipartBody3036035792504956545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724163409,"filename":"image_14122025_15_47_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/12/14/b93606c2039661bb488adec7c7f3540b.jpg","text":"TemporaryFile(/tmp/multipartBody3109067581283035978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724163409,"filename":"image_14122025_15_49_04_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e06d2d3b722365c3469a0037b10e04bc.jpg","text":"TemporaryFile(/tmp/multipartBody3831340865738226513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724163409,"filename":"image_14122025_15_49_25_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/55afa9573bfcd4d2e56bf99bd676f301.jpg","text":"TemporaryFile(/tmp/multipartBody1617660121556504018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724163409,"filename":"image_14122025_15_47_34_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/089733f66ab83ac02f23717394921020.jpg","text":"TemporaryFile(/tmp/multipartBody328358584999581076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724163409,"filename":"image_14122025_15_48_55_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399362076","file1":"1399362075","file0":"1399362074","file4":"1399362078","file5":"1399362080","file3":"1399362077"},"map_files_photo_id_array":[{"photo_id":"1399362080","filename":"file5"},{"photo_id":"1399362076","filename":"file2"},{"photo_id":"1399362078","filename":"file4"},{"photo_id":"1399362075","filename":"file1"},{"photo_id":"1399362074","filename":"file0"},{"photo_id":"1399362077","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399362076":["hashtag1","hashtag2"]},{"1399362075":["hashtag1","hashtag2"]},{"1399362078":["hashtag1","hashtag2"]},{"1399362080":["hashtag1","hashtag2"]},{"1399362074":["hashtag1","hashtag2"]},{"1399362077":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399362076, 1399362075, 1399362078, 1399362080, 1399362074, 1399362077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67560052871704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:55:41.913701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_14_3235.jpg', '/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_16_2669.jpg', '/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_19_2389.jpg', '/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_22_3648.jpg', '/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_25_2466.jpg', '/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_34_9326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_14_3235.jpg
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_16_2669.jpg
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_19_2389.jpg
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_22_3648.jpg
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_25_2466.jpg
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_34_9326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399362091","1399362093","1399362087","1399362090","1399362084","1399362092"],"photo_ids_order":["1399362084","1399362087","1399362090","1399362091","1399362092","1399362093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/33ffcf343989589dd4f381f6b77cd85e.jpg","text":"TemporaryFile(/tmp/multipartBody2514255943911456400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724202563,"filename":"image_04112025_13_47_22_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81986656241c4e8aa52766900709628f.jpg","text":"TemporaryFile(/tmp/multipartBody538135664110732207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724202563,"filename":"image_04112025_13_47_34_9326.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d557e9a0fc371f9b943b126d9d595093.jpg","text":"TemporaryFile(/tmp/multipartBody6699357160664157702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724202563,"filename":"image_04112025_13_47_16_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/49331f329b5068384142d2b809fb6afb.jpg","text":"TemporaryFile(/tmp/multipartBody2033201284373727538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724202563,"filename":"image_04112025_13_47_19_2389.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4842b3e368ec19f4665557e3b0a954a6.jpg","text":"TemporaryFile(/tmp/multipartBody5769761516522594262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724202563,"filename":"image_04112025_13_47_14_3235.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b943d823394baf02b2e5ff48c9c903c7.jpg","text":"TemporaryFile(/tmp/multipartBody3792009261075216318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724202563,"filename":"image_04112025_13_47_25_2466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399362090","file1":"1399362087","file0":"1399362084","file4":"1399362092","file5":"1399362093","file3":"1399362091"},"map_files_photo_id_array":[{"photo_id":"1399362093","filename":"file5"},{"photo_id":"1399362090","filename":"file2"},{"photo_id":"1399362092","filename":"file4"},{"photo_id":"1399362087","filename":"file1"},{"photo_id":"1399362084","filename":"file0"},{"photo_id":"1399362091","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399362091":["hashtag1","hashtag2"]},{"1399362093":["hashtag1","hashtag2"]},{"1399362087":["hashtag1","hashtag2"]},{"1399362090":["hashtag1","hashtag2"]},{"1399362084":["hashtag1","hashtag2"]},{"1399362092":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399362091, 1399362093, 1399362087, 1399362090, 1399362084, 1399362092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76428771018982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 15:56:22.221733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/49/image_14122025_15_49_35_9697.jpg', '/home/pi/Desktop/images/14122025/15/49/image_14122025_15_49_44_9725.jpg', '/home/pi/Desktop/images/14122025/15/49/image_14122025_15_50_05_10764.jpg', '/home/pi/Desktop/images/14122025/15/50/image_14122025_15_50_14_9753.jpg', '/home/pi/Desktop/images/14122025/15/50/image_14122025_15_50_24_9608.jpg', '/home/pi/Desktop/images/14122025/15/50/image_14122025_15_50_35_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/49/image_14122025_15_49_35_9697.jpg
/home/pi/Desktop/images/14122025/15/49/image_14122025_15_49_44_9725.jpg
/home/pi/Desktop/images/14122025/15/49/image_14122025_15_50_05_10764.jpg
/home/pi/Desktop/images/14122025/15/50/image_14122025_15_50_14_9753.jpg
/home/pi/Desktop/images/14122025/15/50/image_14122025_15_50_24_9608.jpg
/home/pi/Desktop/images/14122025/15/50/image_14122025_15_50_35_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399362104","1399362097","1399362101","1399362094","1399362099","1399362095"],"photo_ids_order":["1399362094","1399362095","1399362097","1399362099","1399362101","1399362104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/751291700c03755d591c6d481f3ebc46.jpg","text":"TemporaryFile(/tmp/multipartBody4333955321592295402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724242857,"filename":"image_14122025_15_50_35_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8d916e43149b8e01bcdc8a46ee277edb.jpg","text":"TemporaryFile(/tmp/multipartBody2531692123795226581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724242857,"filename":"image_14122025_15_50_05_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e59c17651272550e1f21c61c0dac44ba.jpg","text":"TemporaryFile(/tmp/multipartBody3294125179460854715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724242857,"filename":"image_14122025_15_50_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9b1753243a819c5a98cb5a2dc4d9266e.jpg","text":"TemporaryFile(/tmp/multipartBody514093976904452089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724242857,"filename":"image_14122025_15_49_35_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1cef0af8a919b57c3bc4231f20c4c572.jpg","text":"TemporaryFile(/tmp/multipartBody1992798732326500079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724242857,"filename":"image_14122025_15_50_14_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/72b0991dd3ef42a0c05af7db51b2de12.jpg","text":"TemporaryFile(/tmp/multipartBody3061861087656326740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724242857,"filename":"image_14122025_15_49_44_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399362097","file1":"1399362095","file0":"1399362094","file4":"1399362101","file5":"1399362104","file3":"1399362099"},"map_files_photo_id_array":[{"photo_id":"1399362104","filename":"file5"},{"photo_id":"1399362097","filename":"file2"},{"photo_id":"1399362101","filename":"file4"},{"photo_id":"1399362095","filename":"file1"},{"photo_id":"1399362094","filename":"file0"},{"photo_id":"1399362099","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399362104":["hashtag1","hashtag2"]},{"1399362097":["hashtag1","hashtag2"]},{"1399362101":["hashtag1","hashtag2"]},{"1399362094":["hashtag1","hashtag2"]},{"1399362099":["hashtag1","hashtag2"]},{"1399362095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399362104, 1399362097, 1399362101, 1399362094, 1399362099, 1399362095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.215492248535156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:57:03.041897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/50/image_14122025_15_50_44_9536.jpg', '/home/pi/Desktop/images/14122025/15/50/image_14122025_15_50_54_9695.jpg', '/home/pi/Desktop/images/14122025/15/50/image_14122025_15_51_05_10803.jpg', '/home/pi/Desktop/images/14122025/15/51/image_14122025_15_51_15_9861.jpg', '/home/pi/Desktop/images/14122025/15/51/image_14122025_15_51_24_9673.jpg', '/home/pi/Desktop/images/14122025/15/51/image_14122025_15_51_34_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/50/image_14122025_15_50_44_9536.jpg
/home/pi/Desktop/images/14122025/15/50/image_14122025_15_50_54_9695.jpg
/home/pi/Desktop/images/14122025/15/50/image_14122025_15_51_05_10803.jpg
/home/pi/Desktop/images/14122025/15/51/image_14122025_15_51_15_9861.jpg
/home/pi/Desktop/images/14122025/15/51/image_14122025_15_51_24_9673.jpg
/home/pi/Desktop/images/14122025/15/51/image_14122025_15_51_34_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399362131","1399362125","1399362127","1399362129","1399362120","1399362123"],"photo_ids_order":["1399362120","1399362123","1399362125","1399362127","1399362129","1399362131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e32598b981c411a699404f7c71f7bd13.jpg","text":"TemporaryFile(/tmp/multipartBody7149095621721453710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724283771,"filename":"image_14122025_15_51_34_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7b639efac3545193d917300845bb8a24.jpg","text":"TemporaryFile(/tmp/multipartBody6665850793152120293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724283771,"filename":"image_14122025_15_51_05_10803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/400a0fcba67c73b1a26a12335016d275.jpg","text":"TemporaryFile(/tmp/multipartBody1668114393222805485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724283771,"filename":"image_14122025_15_51_15_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6eb9dc7f750292667185427640478ed9.jpg","text":"TemporaryFile(/tmp/multipartBody972213377864114777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724283771,"filename":"image_14122025_15_51_24_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce550a00a1b8cfa08b6da560b0a02228.jpg","text":"TemporaryFile(/tmp/multipartBody3524197788961396779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724283771,"filename":"image_14122025_15_50_44_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6012f9fe5079ab111de7fccd72fc31ad.jpg","text":"TemporaryFile(/tmp/multipartBody9127729000252824350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724283771,"filename":"image_14122025_15_50_54_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399362125","file1":"1399362123","file0":"1399362120","file4":"1399362129","file5":"1399362131","file3":"1399362127"},"map_files_photo_id_array":[{"photo_id":"1399362131","filename":"file5"},{"photo_id":"1399362125","filename":"file2"},{"photo_id":"1399362129","filename":"file4"},{"photo_id":"1399362123","filename":"file1"},{"photo_id":"1399362120","filename":"file0"},{"photo_id":"1399362127","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399362131":["hashtag1","hashtag2"]},{"1399362125":["hashtag1","hashtag2"]},{"1399362127":["hashtag1","hashtag2"]},{"1399362129":["hashtag1","hashtag2"]},{"1399362120":["hashtag1","hashtag2"]},{"1399362123":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399362131, 1399362125, 1399362127, 1399362129, 1399362120, 1399362123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49574112892151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 15:57:42.503648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_36_1608.jpg', '/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_37_1635.jpg', '/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_39_1620.jpg', '/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_41_1604.jpg', '/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_43_2736.jpg', '/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_46_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_36_1608.jpg
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_37_1635.jpg
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_39_1620.jpg
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_41_1604.jpg
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_43_2736.jpg
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_46_2771.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5422019958496094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 15:59:02.739674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/51/image_14122025_15_51_54_9725.jpg', '/home/pi/Desktop/images/14122025/15/51/image_14122025_15_52_04_9758.jpg', '/home/pi/Desktop/images/14122025/15/52/image_14122025_15_52_14_9650.jpg', '/home/pi/Desktop/images/14122025/15/52/image_14122025_15_52_25_10827.jpg', '/home/pi/Desktop/images/14122025/15/52/image_14122025_15_52_34_9700.jpg', '/home/pi/Desktop/images/14122025/15/52/image_14122025_15_52_44_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/51/image_14122025_15_51_54_9725.jpg
/home/pi/Desktop/images/14122025/15/51/image_14122025_15_52_04_9758.jpg
/home/pi/Desktop/images/14122025/15/52/image_14122025_15_52_14_9650.jpg
/home/pi/Desktop/images/14122025/15/52/image_14122025_15_52_25_10827.jpg
/home/pi/Desktop/images/14122025/15/52/image_14122025_15_52_34_9700.jpg
/home/pi/Desktop/images/14122025/15/52/image_14122025_15_52_44_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":["1399362419","1399362415","1399362411","1399362473","1399362431","1399362413"],"photo_ids_order":["1399362411","1399362413","1399362415","1399362419","1399362431","1399362473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d06b9e1b0727cd8c44da05d951192b2.jpg","text":"TemporaryFile(/tmp/multipartBody1513044988457728254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724403518,"filename":"image_14122025_15_52_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/12/14/d71e0f0f6da4f12c29f5fb6aa2cf29b5.jpg","text":"TemporaryFile(/tmp/multipartBody1572552739113444090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724403518,"filename":"image_14122025_15_52_14_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1882190da36d6bb32186f1557a400e48.jpg","text":"TemporaryFile(/tmp/multipartBody8789045373909550934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724403518,"filename":"image_14122025_15_51_54_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/67ffa7cfd2412d8bf5dfcbfdffb442f5.jpg","text":"TemporaryFile(/tmp/multipartBody7003073229105024260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724403518,"filename":"image_14122025_15_52_44_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6fa4e994d349a576edf95d58e1bca594.jpg","text":"TemporaryFile(/tmp/multipartBody945537991006758328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724403518,"filename":"image_14122025_15_52_34_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51db467bc093d9f642216dbf4ddad08b.jpg","text":"TemporaryFile(/tmp/multipartBody2588523031145622579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724403518,"filename":"image_14122025_15_52_04_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399362415","file1":"1399362413","file0":"1399362411","file4":"1399362431","file5":"1399362473","file3":"1399362419"},"map_files_photo_id_array":[{"photo_id":"1399362473","filename":"file5"},{"photo_id":"1399362415","filename":"file2"},{"photo_id":"1399362431","filename":"file4"},{"photo_id":"1399362413","filename":"file1"},{"photo_id":"1399362411","filename":"file0"},{"photo_id":"1399362419","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399362419":["hashtag1","hashtag2"]},{"1399362415":["hashtag1","hashtag2"]},{"1399362411":["hashtag1","hashtag2"]},{"1399362473":["hashtag1","hashtag2"]},{"1399362431":["hashtag1","hashtag2"]},{"1399362413":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399362419, 1399362415, 1399362411, 1399362473, 1399362431, 1399362413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51555800437927 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:00:02.647574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/52/image_14122025_15_52_54_9647.jpg', '/home/pi/Desktop/images/14122025/15/52/image_14122025_15_53_05_10707.jpg', '/home/pi/Desktop/images/14122025/15/53/image_14122025_15_53_14_9651.jpg', '/home/pi/Desktop/images/14122025/15/53/image_14122025_15_53_35_10730.jpg', '/home/pi/Desktop/images/14122025/15/53/image_14122025_15_53_44_9553.jpg', '/home/pi/Desktop/images/14122025/15/53/image_14122025_15_53_54_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/52/image_14122025_15_52_54_9647.jpg
/home/pi/Desktop/images/14122025/15/52/image_14122025_15_53_05_10707.jpg
/home/pi/Desktop/images/14122025/15/53/image_14122025_15_53_14_9651.jpg
/home/pi/Desktop/images/14122025/15/53/image_14122025_15_53_35_10730.jpg
/home/pi/Desktop/images/14122025/15/53/image_14122025_15_53_44_9553.jpg
/home/pi/Desktop/images/14122025/15/53/image_14122025_15_53_54_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399362949","1399362876","1399362912","1399362807","1399362842","1399362764"],"photo_ids_order":["1399362764","1399362807","1399362842","1399362876","1399362912","1399362949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bdc0ec9aeb1247a8baad047658915132.jpg","text":"TemporaryFile(/tmp/multipartBody2616390591185830627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724463308,"filename":"image_14122025_15_53_54_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c569b789a56b72f1783f98eeed372ac2.jpg","text":"TemporaryFile(/tmp/multipartBody1758941094342240760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724463308,"filename":"image_14122025_15_53_35_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/98d6c0acd6db0a180b2c66126b595c5d.jpg","text":"TemporaryFile(/tmp/multipartBody1616394289903604618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724463308,"filename":"image_14122025_15_53_44_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fed9fe35cdfc7d1f39739ea4776d9e48.jpg","text":"TemporaryFile(/tmp/multipartBody8901417945190652677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724463308,"filename":"image_14122025_15_53_05_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/57c6891b93a20c191f446895301e3c17.jpg","text":"TemporaryFile(/tmp/multipartBody4799993911340331774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724463308,"filename":"image_14122025_15_53_14_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/869e95217b3c8d07fc7cbbebcaeade59.jpg","text":"TemporaryFile(/tmp/multipartBody8319680565876480738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724463308,"filename":"image_14122025_15_52_54_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399362842","file1":"1399362807","file0":"1399362764","file4":"1399362912","file5":"1399362949","file3":"1399362876"},"map_files_photo_id_array":[{"photo_id":"1399362949","filename":"file5"},{"photo_id":"1399362842","filename":"file2"},{"photo_id":"1399362912","filename":"file4"},{"photo_id":"1399362807","filename":"file1"},{"photo_id":"1399362764","filename":"file0"},{"photo_id":"1399362876","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399362949":["hashtag1","hashtag2"]},{"1399362876":["hashtag1","hashtag2"]},{"1399362912":["hashtag1","hashtag2"]},{"1399362807":["hashtag1","hashtag2"]},{"1399362842":["hashtag1","hashtag2"]},{"1399362764":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399362949, 1399362876, 1399362912, 1399362807, 1399362842, 1399362764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68668007850647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:00:42.152460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_36_1608.jpg', '/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_37_1635.jpg', '/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_39_1620.jpg', '/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_41_1604.jpg', '/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_43_2736.jpg', '/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_46_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_36_1608.jpg
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_37_1635.jpg
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_39_1620.jpg
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_41_1604.jpg
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_43_2736.jpg
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_46_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":["1399363159","1399363123","1399363086","1399363233","1399363232","1399363202"],"photo_ids_order":["1399363086","1399363123","1399363159","1399363202","1399363232","1399363233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6bd51bc7d78e5f7a4324ef907b94f91e.jpg","text":"TemporaryFile(/tmp/multipartBody8278603330900562074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724502705,"filename":"image_04112025_13_47_39_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21afa8a72f84bc389523ef54e92c21f9.jpg","text":"TemporaryFile(/tmp/multipartBody544362720607125835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724502705,"filename":"image_04112025_13_47_37_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2aa756723cb9c0ea2f388257113823fa.jpg","text":"TemporaryFile(/tmp/multipartBody1064724185811303069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724502705,"filename":"image_04112025_13_47_36_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c6456a233898f44bc48b73f341a3a84e.jpg","text":"TemporaryFile(/tmp/multipartBody5854414642636109619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724502705,"filename":"image_04112025_13_47_46_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5bc3fb757fcb01cb24d84a2d0125bdb0.jpg","text":"TemporaryFile(/tmp/multipartBody5511257439969468576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724502705,"filename":"image_04112025_13_47_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/12/14/085dfc0ba1a96a3badc4f4626968a86b.jpg","text":"TemporaryFile(/tmp/multipartBody2836827030529770797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724502705,"filename":"image_04112025_13_47_41_1604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399363159","file1":"1399363123","file0":"1399363086","file4":"1399363232","file5":"1399363233","file3":"1399363202"},"map_files_photo_id_array":[{"photo_id":"1399363233","filename":"file5"},{"photo_id":"1399363159","filename":"file2"},{"photo_id":"1399363232","filename":"file4"},{"photo_id":"1399363123","filename":"file1"},{"photo_id":"1399363086","filename":"file0"},{"photo_id":"1399363202","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399363159":["hashtag1","hashtag2"]},{"1399363123":["hashtag1","hashtag2"]},{"1399363086":["hashtag1","hashtag2"]},{"1399363233":["hashtag1","hashtag2"]},{"1399363232":["hashtag1","hashtag2"]},{"1399363202":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399363159, 1399363123, 1399363086, 1399363233, 1399363232, 1399363202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14465284347534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:01:22.549819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/53/image_14122025_15_54_05_10723.jpg', '/home/pi/Desktop/images/14122025/15/54/image_14122025_15_54_15_9857.jpg', '/home/pi/Desktop/images/14122025/15/54/image_14122025_15_54_24_9693.jpg', '/home/pi/Desktop/images/14122025/15/54/image_14122025_15_54_34_9662.jpg', '/home/pi/Desktop/images/14122025/15/54/image_14122025_15_54_45_10740.jpg', '/home/pi/Desktop/images/14122025/15/54/image_14122025_15_54_54_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/53/image_14122025_15_54_05_10723.jpg
/home/pi/Desktop/images/14122025/15/54/image_14122025_15_54_15_9857.jpg
/home/pi/Desktop/images/14122025/15/54/image_14122025_15_54_24_9693.jpg
/home/pi/Desktop/images/14122025/15/54/image_14122025_15_54_34_9662.jpg
/home/pi/Desktop/images/14122025/15/54/image_14122025_15_54_45_10740.jpg
/home/pi/Desktop/images/14122025/15/54/image_14122025_15_54_54_9764.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5284843444824219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:01:32.499954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:01:42.413724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_54_8066.jpg', '/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_56_1575.jpg', '/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_57_1575.jpg', '/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_59_1775.jpg', '/home/pi/Desktop/images/04112025/13/48/image_04112025_13_48_01_1530.jpg', '/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_06_3010.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_54_8066.jpg
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_56_1575.jpg
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_57_1575.jpg
/home/pi/Desktop/images/04112025/13/47/image_04112025_13_47_59_1775.jpg
/home/pi/Desktop/images/04112025/13/48/image_04112025_13_48_01_1530.jpg
/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_06_3010.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399363429","1399363636","1399363705","1399363479","1399363391","1399363559"],"photo_ids_order":["1399363391","1399363429","1399363479","1399363559","1399363636","1399363705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bfcb1e7fc7bcd99b3ac21c113ec31152.jpg","text":"TemporaryFile(/tmp/multipartBody5145129947476694216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724563075,"filename":"image_04112025_13_47_56_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6eef643d7a5a431cbcb6fe0a7a67b4a3.jpg","text":"TemporaryFile(/tmp/multipartBody2826400762840548355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724563075,"filename":"image_04112025_13_48_01_1530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c0b769d6acc6b56be2a5203ffaf84015.jpg","text":"TemporaryFile(/tmp/multipartBody4081609741625281446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724563075,"filename":"image_04112025_13_49_06_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3eb0a4321250e7fe6df40ad656e00389.jpg","text":"TemporaryFile(/tmp/multipartBody4770520714139568651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724563075,"filename":"image_04112025_13_47_57_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f642f5c0fcb37467669d75d7656464b7.jpg","text":"TemporaryFile(/tmp/multipartBody508370200600631272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724563075,"filename":"image_04112025_13_47_54_8066.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7123d68b11a55874d04a24f68c09903a.jpg","text":"TemporaryFile(/tmp/multipartBody2622036809724635718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724563075,"filename":"image_04112025_13_47_59_1775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399363479","file1":"1399363429","file0":"1399363391","file4":"1399363636","file5":"1399363705","file3":"1399363559"},"map_files_photo_id_array":[{"photo_id":"1399363705","filename":"file5"},{"photo_id":"1399363479","filename":"file2"},{"photo_id":"1399363636","filename":"file4"},{"photo_id":"1399363429","filename":"file1"},{"photo_id":"1399363391","filename":"file0"},{"photo_id":"1399363559","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399363429":["hashtag1","hashtag2"]},{"1399363636":["hashtag1","hashtag2"]},{"1399363705":["hashtag1","hashtag2"]},{"1399363479":["hashtag1","hashtag2"]},{"1399363391":["hashtag1","hashtag2"]},{"1399363559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399363429, 1399363636, 1399363705, 1399363479, 1399363391, 1399363559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19980192184448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:02:22.675159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/53/image_14122025_15_54_05_10723.jpg', '/home/pi/Desktop/images/14122025/15/54/image_14122025_15_54_15_9857.jpg', '/home/pi/Desktop/images/14122025/15/54/image_14122025_15_54_24_9693.jpg', '/home/pi/Desktop/images/14122025/15/54/image_14122025_15_54_34_9662.jpg', '/home/pi/Desktop/images/14122025/15/54/image_14122025_15_54_45_10740.jpg', '/home/pi/Desktop/images/14122025/15/54/image_14122025_15_54_54_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/53/image_14122025_15_54_05_10723.jpg
/home/pi/Desktop/images/14122025/15/54/image_14122025_15_54_15_9857.jpg
/home/pi/Desktop/images/14122025/15/54/image_14122025_15_54_24_9693.jpg
/home/pi/Desktop/images/14122025/15/54/image_14122025_15_54_34_9662.jpg
/home/pi/Desktop/images/14122025/15/54/image_14122025_15_54_45_10740.jpg
/home/pi/Desktop/images/14122025/15/54/image_14122025_15_54_54_9764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399364119","1399363986","1399364195","1399363943","1399364062","1399364023"],"photo_ids_order":["1399363943","1399363986","1399364023","1399364062","1399364119","1399364195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7b4fe1184a0371ab06caa3f99cfd6835.jpg","text":"TemporaryFile(/tmp/multipartBody6963626744069614290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724603341,"filename":"image_14122025_15_54_45_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b86f92d6f359ed794a5a1eb0d32e95db.jpg","text":"TemporaryFile(/tmp/multipartBody4365121774942869633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724603341,"filename":"image_14122025_15_54_15_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/787d28196e7b83cf8ed49230063c304c.jpg","text":"TemporaryFile(/tmp/multipartBody7943336155260823815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724603341,"filename":"image_14122025_15_54_54_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f2cc5d2fa60bb18ba9f70e48b374dad.jpg","text":"TemporaryFile(/tmp/multipartBody3181644522080976599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724603341,"filename":"image_14122025_15_54_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/12/14/b2968fcfdf29dc56a582a4aa9805802d.jpg","text":"TemporaryFile(/tmp/multipartBody6596626000791138470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724603341,"filename":"image_14122025_15_54_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/12/14/4bd428736786d97d4d06ace6838f4a7c.jpg","text":"TemporaryFile(/tmp/multipartBody3564807514614190124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724603341,"filename":"image_14122025_15_54_24_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399364023","file1":"1399363986","file0":"1399363943","file4":"1399364119","file5":"1399364195","file3":"1399364062"},"map_files_photo_id_array":[{"photo_id":"1399364195","filename":"file5"},{"photo_id":"1399364023","filename":"file2"},{"photo_id":"1399364119","filename":"file4"},{"photo_id":"1399363986","filename":"file1"},{"photo_id":"1399363943","filename":"file0"},{"photo_id":"1399364062","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399364119":["hashtag1","hashtag2"]},{"1399363986":["hashtag1","hashtag2"]},{"1399364195":["hashtag1","hashtag2"]},{"1399363943":["hashtag1","hashtag2"]},{"1399364062":["hashtag1","hashtag2"]},{"1399364023":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399364119, 1399363986, 1399364195, 1399363943, 1399364062, 1399364023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.383299827575684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:03:02.491626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/55/image_14122025_15_55_14_9647.jpg', '/home/pi/Desktop/images/14122025/15/55/image_14122025_15_55_34_9809.jpg', '/home/pi/Desktop/images/14122025/15/55/image_14122025_15_55_54_9820.jpg', '/home/pi/Desktop/images/14122025/15/55/image_14122025_15_56_05_10704.jpg', '/home/pi/Desktop/images/14122025/15/56/image_14122025_15_56_14_9748.jpg', '/home/pi/Desktop/images/14122025/15/56/image_14122025_15_56_24_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/55/image_14122025_15_55_14_9647.jpg
/home/pi/Desktop/images/14122025/15/55/image_14122025_15_55_34_9809.jpg
/home/pi/Desktop/images/14122025/15/55/image_14122025_15_55_54_9820.jpg
/home/pi/Desktop/images/14122025/15/55/image_14122025_15_56_05_10704.jpg
/home/pi/Desktop/images/14122025/15/56/image_14122025_15_56_14_9748.jpg
/home/pi/Desktop/images/14122025/15/56/image_14122025_15_56_24_9601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399364532","1399364526","1399364378","1399364492","1399364459","1399364426"],"photo_ids_order":["1399364378","1399364426","1399364459","1399364492","1399364526","1399364532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d7e14ae3ad8343b0be3fcbf8cbdd33e4.jpg","text":"TemporaryFile(/tmp/multipartBody4551992934994755374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724643141,"filename":"image_14122025_15_56_24_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/45378af2a4d604f23c527507b07beff9.jpg","text":"TemporaryFile(/tmp/multipartBody5188494135751400582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724643141,"filename":"image_14122025_15_56_14_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c20e7d6a2679d33273ad53fdd8a628b1.jpg","text":"TemporaryFile(/tmp/multipartBody7215424225319985474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724643141,"filename":"image_14122025_15_55_14_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7028a9e48d5ef9ff508d2f67e41d8dac.jpg","text":"TemporaryFile(/tmp/multipartBody3222592607016193280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724643141,"filename":"image_14122025_15_56_05_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e0f61f65460a1ddd6de4e62b2f0a8621.jpg","text":"TemporaryFile(/tmp/multipartBody8625943659741703045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724643141,"filename":"image_14122025_15_55_54_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/03fed178e96edbe4ff196cc86d41885c.jpg","text":"TemporaryFile(/tmp/multipartBody1318770062566477127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724643141,"filename":"image_14122025_15_55_34_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399364459","file1":"1399364426","file0":"1399364378","file4":"1399364526","file5":"1399364532","file3":"1399364492"},"map_files_photo_id_array":[{"photo_id":"1399364532","filename":"file5"},{"photo_id":"1399364459","filename":"file2"},{"photo_id":"1399364526","filename":"file4"},{"photo_id":"1399364426","filename":"file1"},{"photo_id":"1399364378","filename":"file0"},{"photo_id":"1399364492","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399364532":["hashtag1","hashtag2"]},{"1399364526":["hashtag1","hashtag2"]},{"1399364378":["hashtag1","hashtag2"]},{"1399364492":["hashtag1","hashtag2"]},{"1399364459":["hashtag1","hashtag2"]},{"1399364426":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399364532, 1399364526, 1399364378, 1399364492, 1399364459, 1399364426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.980523109436035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:03:41.808248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_10_3630.jpg', '/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_12_2592.jpg', '/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_16_3671.jpg', '/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_19_2764.jpg', '/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_22_2746.jpg', '/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_33_11528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_10_3630.jpg
/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_12_2592.jpg
/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_16_3671.jpg
/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_19_2764.jpg
/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_22_2746.jpg
/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_33_11528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399364577","1399364541","1399364543","1399364537","1399364542","1399364611"],"photo_ids_order":["1399364537","1399364541","1399364542","1399364543","1399364577","1399364611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/432e849fc9a78e42b06a71df797f2d63.jpg","text":"TemporaryFile(/tmp/multipartBody1604165367066800266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724682461,"filename":"image_04112025_13_49_22_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2aa8c546b5836c4e9ee1736f1c33f48.jpg","text":"TemporaryFile(/tmp/multipartBody720840062761583464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724682461,"filename":"image_04112025_13_49_12_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/59392c2823b8f5fa053df2cf5ad8d928.jpg","text":"TemporaryFile(/tmp/multipartBody1970458919889168769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724682461,"filename":"image_04112025_13_49_19_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56ea8644d9a548df13186b847999de39.jpg","text":"TemporaryFile(/tmp/multipartBody5501981855617404260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724682461,"filename":"image_04112025_13_49_10_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e4a7057ecc6dc80800f9765fafe8b6bd.jpg","text":"TemporaryFile(/tmp/multipartBody815817547589912952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724682461,"filename":"image_04112025_13_49_16_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/03f034422a932b70c59aaf2ac0de76c7.jpg","text":"TemporaryFile(/tmp/multipartBody3920993752810122116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724682461,"filename":"image_04112025_13_49_33_11528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399364542","file1":"1399364541","file0":"1399364537","file4":"1399364577","file5":"1399364611","file3":"1399364543"},"map_files_photo_id_array":[{"photo_id":"1399364611","filename":"file5"},{"photo_id":"1399364542","filename":"file2"},{"photo_id":"1399364577","filename":"file4"},{"photo_id":"1399364541","filename":"file1"},{"photo_id":"1399364537","filename":"file0"},{"photo_id":"1399364543","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399364577":["hashtag1","hashtag2"]},{"1399364541":["hashtag1","hashtag2"]},{"1399364543":["hashtag1","hashtag2"]},{"1399364537":["hashtag1","hashtag2"]},{"1399364542":["hashtag1","hashtag2"]},{"1399364611":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399364577, 1399364541, 1399364543, 1399364537, 1399364542, 1399364611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94768238067627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:04:22.134829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/56/image_14122025_15_56_35_10716.jpg', '/home/pi/Desktop/images/14122025/15/56/image_14122025_15_56_45_9865.jpg', '/home/pi/Desktop/images/14122025/15/56/image_14122025_15_56_54_9647.jpg', '/home/pi/Desktop/images/14122025/15/56/image_14122025_15_57_05_10585.jpg', '/home/pi/Desktop/images/14122025/15/57/image_14122025_15_57_45_10892.jpg', '/home/pi/Desktop/images/14122025/15/57/image_14122025_15_57_55_9877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/56/image_14122025_15_56_35_10716.jpg
/home/pi/Desktop/images/14122025/15/56/image_14122025_15_56_45_9865.jpg
/home/pi/Desktop/images/14122025/15/56/image_14122025_15_56_54_9647.jpg
/home/pi/Desktop/images/14122025/15/56/image_14122025_15_57_05_10585.jpg
/home/pi/Desktop/images/14122025/15/57/image_14122025_15_57_45_10892.jpg
/home/pi/Desktop/images/14122025/15/57/image_14122025_15_57_55_9877.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5645623207092285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:04:32.090718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:04:42.100188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_35_1547.jpg', '/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_36_1780.jpg', '/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_38_1533.jpg', '/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_40_1550.jpg', '/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_41_1718.jpg', '/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_43_1596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_35_1547.jpg
/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_36_1780.jpg
/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_38_1533.jpg
/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_40_1550.jpg
/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_41_1718.jpg
/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_43_1596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399364802","1399364792","1399364759","1399364801","1399364804","1399364803"],"photo_ids_order":["1399364759","1399364792","1399364801","1399364802","1399364803","1399364804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5de3c9362d945fc290289068b283d1a2.jpg","text":"TemporaryFile(/tmp/multipartBody4130465698472645463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724742759,"filename":"image_04112025_13_49_40_1550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c6b80de594f2e0da1118bc51ad43019.jpg","text":"TemporaryFile(/tmp/multipartBody4627086359020093620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724742759,"filename":"image_04112025_13_49_36_1780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eadd6e19e866fc584feb1a32c55ecd0a.jpg","text":"TemporaryFile(/tmp/multipartBody14292958588946205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724742759,"filename":"image_04112025_13_49_35_1547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5c97c1b2b1ecf19593b45f4b41665e85.jpg","text":"TemporaryFile(/tmp/multipartBody1838239148544292912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724742759,"filename":"image_04112025_13_49_38_1533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e110333c97525a001c556d0bcb5d2b25.jpg","text":"TemporaryFile(/tmp/multipartBody5559483474145508803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724742759,"filename":"image_04112025_13_49_43_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e0e204e84f914898e35cf0ccda7b671d.jpg","text":"TemporaryFile(/tmp/multipartBody7730615430932995617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724742759,"filename":"image_04112025_13_49_41_1718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399364801","file1":"1399364792","file0":"1399364759","file4":"1399364803","file5":"1399364804","file3":"1399364802"},"map_files_photo_id_array":[{"photo_id":"1399364804","filename":"file5"},{"photo_id":"1399364801","filename":"file2"},{"photo_id":"1399364803","filename":"file4"},{"photo_id":"1399364792","filename":"file1"},{"photo_id":"1399364759","filename":"file0"},{"photo_id":"1399364802","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399364802":["hashtag1","hashtag2"]},{"1399364792":["hashtag1","hashtag2"]},{"1399364759":["hashtag1","hashtag2"]},{"1399364801":["hashtag1","hashtag2"]},{"1399364804":["hashtag1","hashtag2"]},{"1399364803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399364802, 1399364792, 1399364759, 1399364801, 1399364804, 1399364803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19484853744507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:05:22.386178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/56/image_14122025_15_56_35_10716.jpg', '/home/pi/Desktop/images/14122025/15/56/image_14122025_15_56_45_9865.jpg', '/home/pi/Desktop/images/14122025/15/56/image_14122025_15_56_54_9647.jpg', '/home/pi/Desktop/images/14122025/15/56/image_14122025_15_57_05_10585.jpg', '/home/pi/Desktop/images/14122025/15/57/image_14122025_15_57_45_10892.jpg', '/home/pi/Desktop/images/14122025/15/57/image_14122025_15_57_55_9877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/56/image_14122025_15_56_35_10716.jpg
/home/pi/Desktop/images/14122025/15/56/image_14122025_15_56_45_9865.jpg
/home/pi/Desktop/images/14122025/15/56/image_14122025_15_56_54_9647.jpg
/home/pi/Desktop/images/14122025/15/56/image_14122025_15_57_05_10585.jpg
/home/pi/Desktop/images/14122025/15/57/image_14122025_15_57_45_10892.jpg
/home/pi/Desktop/images/14122025/15/57/image_14122025_15_57_55_9877.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399364812","1399364806","1399364815","1399364808","1399364805","1399364810"],"photo_ids_order":["1399364805","1399364806","1399364808","1399364810","1399364812","1399364815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c600953ff16294f0852c2aa7d66e05a3.jpg","text":"TemporaryFile(/tmp/multipartBody5600814936427876935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724783013,"filename":"image_14122025_15_57_45_10892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f50d19d7ba0fdea4771872814bf7a26.jpg","text":"TemporaryFile(/tmp/multipartBody1086261721806791414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724783013,"filename":"image_14122025_15_56_45_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6d7fbd8f620f41663a86fb1e158249b5.jpg","text":"TemporaryFile(/tmp/multipartBody2444164540869682412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724783013,"filename":"image_14122025_15_57_55_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/02c3654f6508a9e30bb4a6591aa222a5.jpg","text":"TemporaryFile(/tmp/multipartBody5177499665264063515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724783013,"filename":"image_14122025_15_56_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f2103e9a2c1e1eb0c4cabc7cbb16aa4.jpg","text":"TemporaryFile(/tmp/multipartBody3763393627319148395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724783013,"filename":"image_14122025_15_56_35_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f35d07bebc4e1cf64a7f0515752197ae.jpg","text":"TemporaryFile(/tmp/multipartBody2489468654897363068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724783013,"filename":"image_14122025_15_57_05_10585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399364808","file1":"1399364806","file0":"1399364805","file4":"1399364812","file5":"1399364815","file3":"1399364810"},"map_files_photo_id_array":[{"photo_id":"1399364815","filename":"file5"},{"photo_id":"1399364808","filename":"file2"},{"photo_id":"1399364812","filename":"file4"},{"photo_id":"1399364806","filename":"file1"},{"photo_id":"1399364805","filename":"file0"},{"photo_id":"1399364810","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399364812":["hashtag1","hashtag2"]},{"1399364806":["hashtag1","hashtag2"]},{"1399364815":["hashtag1","hashtag2"]},{"1399364808":["hashtag1","hashtag2"]},{"1399364805":["hashtag1","hashtag2"]},{"1399364810":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399364812, 1399364806, 1399364815, 1399364808, 1399364805, 1399364810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71965980529785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:06:03.134144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/57/image_14122025_15_58_04_9704.jpg', '/home/pi/Desktop/images/14122025/15/58/image_14122025_15_58_14_9687.jpg', '/home/pi/Desktop/images/14122025/15/58/image_14122025_15_58_24_9790.jpg', '/home/pi/Desktop/images/14122025/15/58/image_14122025_15_58_54_9726.jpg', '/home/pi/Desktop/images/14122025/15/59/image_14122025_15_59_15_10745.jpg', '/home/pi/Desktop/images/14122025/15/59/image_14122025_15_59_24_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/57/image_14122025_15_58_04_9704.jpg
/home/pi/Desktop/images/14122025/15/58/image_14122025_15_58_14_9687.jpg
/home/pi/Desktop/images/14122025/15/58/image_14122025_15_58_24_9790.jpg
/home/pi/Desktop/images/14122025/15/58/image_14122025_15_58_54_9726.jpg
/home/pi/Desktop/images/14122025/15/59/image_14122025_15_59_15_10745.jpg
/home/pi/Desktop/images/14122025/15/59/image_14122025_15_59_24_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":["1399364833","1399364832","1399364831","1399364834","1399364836","1399364830"],"photo_ids_order":["1399364830","1399364831","1399364832","1399364833","1399364834","1399364836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9de98364e35ad108630bff07c066a75e.jpg","text":"TemporaryFile(/tmp/multipartBody5445748304168893314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724823770,"filename":"image_14122025_15_58_54_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8835abb4e9288e3e8b07663e7af7623b.jpg","text":"TemporaryFile(/tmp/multipartBody4708878627200209498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724823770,"filename":"image_14122025_15_58_24_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e1fbba0c4e313a139b9df188aac64a9e.jpg","text":"TemporaryFile(/tmp/multipartBody9041264934312923004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724823770,"filename":"image_14122025_15_58_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/06e73ed3ca1aa939f25e4124697a9b6a.jpg","text":"TemporaryFile(/tmp/multipartBody2024249367730606244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724823770,"filename":"image_14122025_15_59_15_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/835937b4849cd577698f5fb6bb044f8b.jpg","text":"TemporaryFile(/tmp/multipartBody1099498675574285138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724823770,"filename":"image_14122025_15_59_24_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3eaf75a9be28d7885b0bc4d4af7ef06d.jpg","text":"TemporaryFile(/tmp/multipartBody6151872134481405941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724823770,"filename":"image_14122025_15_58_04_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399364832","file1":"1399364831","file0":"1399364830","file4":"1399364834","file5":"1399364836","file3":"1399364833"},"map_files_photo_id_array":[{"photo_id":"1399364836","filename":"file5"},{"photo_id":"1399364832","filename":"file2"},{"photo_id":"1399364834","filename":"file4"},{"photo_id":"1399364831","filename":"file1"},{"photo_id":"1399364830","filename":"file0"},{"photo_id":"1399364833","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399364833":["hashtag1","hashtag2"]},{"1399364832":["hashtag1","hashtag2"]},{"1399364831":["hashtag1","hashtag2"]},{"1399364834":["hashtag1","hashtag2"]},{"1399364836":["hashtag1","hashtag2"]},{"1399364830":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399364833, 1399364832, 1399364831, 1399364834, 1399364836, 1399364830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32653856277466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:06:42.674747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_45_2494.jpg', '/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_49_3488.jpg', '/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_08_19179.jpg', '/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_10_1625.jpg', '/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_11_1578.jpg', '/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_13_1548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_45_2494.jpg
/home/pi/Desktop/images/04112025/13/49/image_04112025_13_49_49_3488.jpg
/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_08_19179.jpg
/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_10_1625.jpg
/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_11_1578.jpg
/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_13_1548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399364844","1399364847","1399364841","1399364843","1399364842","1399364845"],"photo_ids_order":["1399364841","1399364842","1399364843","1399364844","1399364845","1399364847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4293fbec07bc871530378e4713c668a2.jpg","text":"TemporaryFile(/tmp/multipartBody2261157765185704321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724863333,"filename":"image_04112025_13_50_10_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c5c654303c759c42d4be28622d4476eb.jpg","text":"TemporaryFile(/tmp/multipartBody8135834725096337449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724863333,"filename":"image_04112025_13_50_13_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/49163c514f2a14980e3db23c9fbf6493.jpg","text":"TemporaryFile(/tmp/multipartBody2346213300843468008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724863333,"filename":"image_04112025_13_49_45_2494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/522b5b9075e71bfdf08bbf529a923119.jpg","text":"TemporaryFile(/tmp/multipartBody8119872971673474582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724863333,"filename":"image_04112025_13_50_08_19179.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4889ed1eba9cd6a561121b6d67e24226.jpg","text":"TemporaryFile(/tmp/multipartBody639769069554637232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724863333,"filename":"image_04112025_13_49_49_3488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db1a7b1a454bed2085b923f49460f40d.jpg","text":"TemporaryFile(/tmp/multipartBody6926755369855599670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724863333,"filename":"image_04112025_13_50_11_1578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399364843","file1":"1399364842","file0":"1399364841","file4":"1399364845","file5":"1399364847","file3":"1399364844"},"map_files_photo_id_array":[{"photo_id":"1399364847","filename":"file5"},{"photo_id":"1399364843","filename":"file2"},{"photo_id":"1399364845","filename":"file4"},{"photo_id":"1399364842","filename":"file1"},{"photo_id":"1399364841","filename":"file0"},{"photo_id":"1399364844","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399364844":["hashtag1","hashtag2"]},{"1399364847":["hashtag1","hashtag2"]},{"1399364841":["hashtag1","hashtag2"]},{"1399364843":["hashtag1","hashtag2"]},{"1399364842":["hashtag1","hashtag2"]},{"1399364845":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399364844, 1399364847, 1399364841, 1399364843, 1399364842, 1399364845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6081657409668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:07:22.066880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/15/59/image_14122025_15_59_34_9633.jpg', '/home/pi/Desktop/images/14122025/15/59/image_14122025_15_59_44_9859.jpg', '/home/pi/Desktop/images/14122025/15/59/image_14122025_15_59_55_10889.jpg', '/home/pi/Desktop/images/14122025/16/00/image_14122025_16_00_14_10059.jpg', '/home/pi/Desktop/images/14122025/16/00/image_14122025_16_00_25_10720.jpg', '/home/pi/Desktop/images/14122025/16/00/image_14122025_16_00_34_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/15/59/image_14122025_15_59_34_9633.jpg
/home/pi/Desktop/images/14122025/15/59/image_14122025_15_59_44_9859.jpg
/home/pi/Desktop/images/14122025/15/59/image_14122025_15_59_55_10889.jpg
/home/pi/Desktop/images/14122025/16/00/image_14122025_16_00_14_10059.jpg
/home/pi/Desktop/images/14122025/16/00/image_14122025_16_00_25_10720.jpg
/home/pi/Desktop/images/14122025/16/00/image_14122025_16_00_34_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":["1399364859","1399364850","1399364856","1399364852","1399364854","1399364848"],"photo_ids_order":["1399364848","1399364850","1399364852","1399364854","1399364856","1399364859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9db447e7e1d1bc86e364c8c303829fbe.jpg","text":"TemporaryFile(/tmp/multipartBody4832208218036999655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724902744,"filename":"image_14122025_16_00_34_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f9d9aec273c01b39edb5a92a371c2542.jpg","text":"TemporaryFile(/tmp/multipartBody1322591278740101742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724902744,"filename":"image_14122025_15_59_44_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c3568295a4c4e11d9a8d79718f299a9.jpg","text":"TemporaryFile(/tmp/multipartBody6113700832721980610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724902744,"filename":"image_14122025_16_00_25_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b6560bf498165f2631de78d4f885213.jpg","text":"TemporaryFile(/tmp/multipartBody8084162683358933614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724902744,"filename":"image_14122025_15_59_55_10889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d90af9174d36bf8cae2633485f3727e7.jpg","text":"TemporaryFile(/tmp/multipartBody8727385235628180738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724902744,"filename":"image_14122025_16_00_14_10059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/57d08ec5941236261da2fae6d8b1cb4b.jpg","text":"TemporaryFile(/tmp/multipartBody1433572791255826912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724902744,"filename":"image_14122025_15_59_34_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399364852","file1":"1399364850","file0":"1399364848","file4":"1399364856","file5":"1399364859","file3":"1399364854"},"map_files_photo_id_array":[{"photo_id":"1399364859","filename":"file5"},{"photo_id":"1399364852","filename":"file2"},{"photo_id":"1399364856","filename":"file4"},{"photo_id":"1399364850","filename":"file1"},{"photo_id":"1399364848","filename":"file0"},{"photo_id":"1399364854","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399364859":["hashtag1","hashtag2"]},{"1399364850":["hashtag1","hashtag2"]},{"1399364856":["hashtag1","hashtag2"]},{"1399364852":["hashtag1","hashtag2"]},{"1399364854":["hashtag1","hashtag2"]},{"1399364848":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399364859, 1399364850, 1399364856, 1399364852, 1399364854, 1399364848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88434147834778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:08:02.589176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/00/image_14122025_16_00_44_9654.jpg', '/home/pi/Desktop/images/14122025/16/00/image_14122025_16_00_55_10753.jpg', '/home/pi/Desktop/images/14122025/16/00/image_14122025_16_01_04_9716.jpg', '/home/pi/Desktop/images/14122025/16/01/image_14122025_16_01_14_9681.jpg', '/home/pi/Desktop/images/14122025/16/01/image_14122025_16_01_25_10628.jpg', '/home/pi/Desktop/images/14122025/16/01/image_14122025_16_01_35_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/00/image_14122025_16_00_44_9654.jpg
/home/pi/Desktop/images/14122025/16/00/image_14122025_16_00_55_10753.jpg
/home/pi/Desktop/images/14122025/16/00/image_14122025_16_01_04_9716.jpg
/home/pi/Desktop/images/14122025/16/01/image_14122025_16_01_14_9681.jpg
/home/pi/Desktop/images/14122025/16/01/image_14122025_16_01_25_10628.jpg
/home/pi/Desktop/images/14122025/16/01/image_14122025_16_01_35_9824.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5477526187896729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:08:12.103345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:08:22.295415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/00/image_14122025_16_00_44_9654.jpg', '/home/pi/Desktop/images/14122025/16/00/image_14122025_16_00_55_10753.jpg', '/home/pi/Desktop/images/14122025/16/00/image_14122025_16_01_04_9716.jpg', '/home/pi/Desktop/images/14122025/16/01/image_14122025_16_01_14_9681.jpg', '/home/pi/Desktop/images/14122025/16/01/image_14122025_16_01_25_10628.jpg', '/home/pi/Desktop/images/14122025/16/01/image_14122025_16_01_35_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/00/image_14122025_16_00_44_9654.jpg
/home/pi/Desktop/images/14122025/16/00/image_14122025_16_00_55_10753.jpg
/home/pi/Desktop/images/14122025/16/00/image_14122025_16_01_04_9716.jpg
/home/pi/Desktop/images/14122025/16/01/image_14122025_16_01_14_9681.jpg
/home/pi/Desktop/images/14122025/16/01/image_14122025_16_01_25_10628.jpg
/home/pi/Desktop/images/14122025/16/01/image_14122025_16_01_35_9824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399364868","1399364873","1399364870","1399364878","1399364872","1399364875"],"photo_ids_order":["1399364868","1399364870","1399364872","1399364873","1399364875","1399364878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8f041172ba12d696af7c7a021d3cc0d0.jpg","text":"TemporaryFile(/tmp/multipartBody758177059266471524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724962973,"filename":"image_14122025_16_00_44_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f49d58a2087416b52e52da4a5c25e719.jpg","text":"TemporaryFile(/tmp/multipartBody6536096749834003374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724962973,"filename":"image_14122025_16_01_14_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/02ab84beff155298723c82b6f936630f.jpg","text":"TemporaryFile(/tmp/multipartBody7069194132909732451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724962973,"filename":"image_14122025_16_00_55_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/427f605e0705e59afc8d70b01600f959.jpg","text":"TemporaryFile(/tmp/multipartBody9132145248992567828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724962973,"filename":"image_14122025_16_01_35_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be59a24d6c1601f5ae840c4334213bfc.jpg","text":"TemporaryFile(/tmp/multipartBody6827233778509175871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724962973,"filename":"image_14122025_16_01_04_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/71695123b39693edb8094e51facc4b69.jpg","text":"TemporaryFile(/tmp/multipartBody6233895484218589712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765724962973,"filename":"image_14122025_16_01_25_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399364872","file1":"1399364870","file0":"1399364868","file4":"1399364875","file5":"1399364878","file3":"1399364873"},"map_files_photo_id_array":[{"photo_id":"1399364878","filename":"file5"},{"photo_id":"1399364872","filename":"file2"},{"photo_id":"1399364875","filename":"file4"},{"photo_id":"1399364870","filename":"file1"},{"photo_id":"1399364868","filename":"file0"},{"photo_id":"1399364873","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399364868":["hashtag1","hashtag2"]},{"1399364873":["hashtag1","hashtag2"]},{"1399364870":["hashtag1","hashtag2"]},{"1399364878":["hashtag1","hashtag2"]},{"1399364872":["hashtag1","hashtag2"]},{"1399364875":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399364868, 1399364873, 1399364870, 1399364878, 1399364872, 1399364875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75654196739197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:09:03.122521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/01/image_14122025_16_01_44_9845.jpg', '/home/pi/Desktop/images/14122025/16/01/image_14122025_16_02_04_9814.jpg', '/home/pi/Desktop/images/14122025/16/02/image_14122025_16_02_15_10844.jpg', '/home/pi/Desktop/images/14122025/16/02/image_14122025_16_02_25_9645.jpg', '/home/pi/Desktop/images/14122025/16/02/image_14122025_16_02_45_10769.jpg', '/home/pi/Desktop/images/14122025/16/02/image_14122025_16_02_55_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/01/image_14122025_16_01_44_9845.jpg
/home/pi/Desktop/images/14122025/16/01/image_14122025_16_02_04_9814.jpg
/home/pi/Desktop/images/14122025/16/02/image_14122025_16_02_15_10844.jpg
/home/pi/Desktop/images/14122025/16/02/image_14122025_16_02_25_9645.jpg
/home/pi/Desktop/images/14122025/16/02/image_14122025_16_02_45_10769.jpg
/home/pi/Desktop/images/14122025/16/02/image_14122025_16_02_55_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":["1399364895","1399364889","1399364892","1399364891","1399364890","1399364893"],"photo_ids_order":["1399364889","1399364890","1399364891","1399364892","1399364893","1399364895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/22e01115873d0a3eb1e35c731196216a.jpg","text":"TemporaryFile(/tmp/multipartBody5333763389589013196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725003839,"filename":"image_14122025_16_02_55_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6d3d080bcdd0c3e27ac4b626672a7864.jpg","text":"TemporaryFile(/tmp/multipartBody459231282574759158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725003839,"filename":"image_14122025_16_01_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/12/14/376f1bd905018ade3c6fb8dff7a5e6f6.jpg","text":"TemporaryFile(/tmp/multipartBody916322377569893414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725003839,"filename":"image_14122025_16_02_25_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b86a3f3f53491bebcd81a0c857f3fcf.jpg","text":"TemporaryFile(/tmp/multipartBody1105485928458097734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725003839,"filename":"image_14122025_16_02_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/12/14/03b8fffd8e3d6ce43fe573478d7ad61b.jpg","text":"TemporaryFile(/tmp/multipartBody7994472514577362581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725003839,"filename":"image_14122025_16_02_04_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/af7950ff019bab116113c7341c8802f3.jpg","text":"TemporaryFile(/tmp/multipartBody287643931366969081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725003839,"filename":"image_14122025_16_02_45_10769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399364891","file1":"1399364890","file0":"1399364889","file4":"1399364893","file5":"1399364895","file3":"1399364892"},"map_files_photo_id_array":[{"photo_id":"1399364895","filename":"file5"},{"photo_id":"1399364891","filename":"file2"},{"photo_id":"1399364893","filename":"file4"},{"photo_id":"1399364890","filename":"file1"},{"photo_id":"1399364889","filename":"file0"},{"photo_id":"1399364892","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399364895":["hashtag1","hashtag2"]},{"1399364889":["hashtag1","hashtag2"]},{"1399364892":["hashtag1","hashtag2"]},{"1399364891":["hashtag1","hashtag2"]},{"1399364890":["hashtag1","hashtag2"]},{"1399364893":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399364895, 1399364889, 1399364892, 1399364891, 1399364890, 1399364893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69878911972046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:09:42.490411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_14_1668.jpg', '/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_16_1759.jpg', '/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_18_1604.jpg', '/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_20_1882.jpg', '/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_21_1642.jpg', '/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_23_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_14_1668.jpg
/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_16_1759.jpg
/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_18_1604.jpg
/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_20_1882.jpg
/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_21_1642.jpg
/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_23_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":["1399364905","1399364904","1399364906","1399364900","1399364903","1399364902"],"photo_ids_order":["1399364900","1399364902","1399364903","1399364904","1399364905","1399364906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3927daaf24afd56964f523246ee8b34a.jpg","text":"TemporaryFile(/tmp/multipartBody7124779903233762717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725043148,"filename":"image_04112025_13_50_21_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6459435878172618febb441e0a2f2fbc.jpg","text":"TemporaryFile(/tmp/multipartBody1248369548934817191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725043148,"filename":"image_04112025_13_50_20_1882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c09cb40244254849e40ca24bf6456f25.jpg","text":"TemporaryFile(/tmp/multipartBody3509706962721711240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725043148,"filename":"image_04112025_13_50_23_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b64bee4936e8f751ee66849dacbf0c3.jpg","text":"TemporaryFile(/tmp/multipartBody2995115449634624207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725043148,"filename":"image_04112025_13_50_14_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2248b1fbb4872c0c27d4a4a0536a883f.jpg","text":"TemporaryFile(/tmp/multipartBody7048055816367926010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725043148,"filename":"image_04112025_13_50_18_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/733ab0ecb98da708e94b0c7488307c38.jpg","text":"TemporaryFile(/tmp/multipartBody8064057312303395397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725043148,"filename":"image_04112025_13_50_16_1759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399364903","file1":"1399364902","file0":"1399364900","file4":"1399364905","file5":"1399364906","file3":"1399364904"},"map_files_photo_id_array":[{"photo_id":"1399364906","filename":"file5"},{"photo_id":"1399364903","filename":"file2"},{"photo_id":"1399364905","filename":"file4"},{"photo_id":"1399364902","filename":"file1"},{"photo_id":"1399364900","filename":"file0"},{"photo_id":"1399364904","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399364905":["hashtag1","hashtag2"]},{"1399364904":["hashtag1","hashtag2"]},{"1399364906":["hashtag1","hashtag2"]},{"1399364900":["hashtag1","hashtag2"]},{"1399364903":["hashtag1","hashtag2"]},{"1399364902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399364905, 1399364904, 1399364906, 1399364900, 1399364903, 1399364902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87782597541809 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:10:22.666036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/02/image_14122025_16_03_04_9651.jpg', '/home/pi/Desktop/images/14122025/16/03/image_14122025_16_03_14_9716.jpg', '/home/pi/Desktop/images/14122025/16/03/image_14122025_16_03_25_10690.jpg', '/home/pi/Desktop/images/14122025/16/03/image_14122025_16_03_34_9661.jpg', '/home/pi/Desktop/images/14122025/16/03/image_14122025_16_04_05_10841.jpg', '/home/pi/Desktop/images/14122025/16/04/image_14122025_16_04_15_9834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/02/image_14122025_16_03_04_9651.jpg
/home/pi/Desktop/images/14122025/16/03/image_14122025_16_03_14_9716.jpg
/home/pi/Desktop/images/14122025/16/03/image_14122025_16_03_25_10690.jpg
/home/pi/Desktop/images/14122025/16/03/image_14122025_16_03_34_9661.jpg
/home/pi/Desktop/images/14122025/16/03/image_14122025_16_04_05_10841.jpg
/home/pi/Desktop/images/14122025/16/04/image_14122025_16_04_15_9834.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399364908","1399364907","1399364910","1399364918","1399364912","1399364914"],"photo_ids_order":["1399364907","1399364908","1399364910","1399364912","1399364914","1399364918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8fca38c12e3445f557aa4b5a47a935ca.jpg","text":"TemporaryFile(/tmp/multipartBody6634951633748028692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725083269,"filename":"image_14122025_16_03_14_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51bdfbf0b351506341b09e0fb3be5042.jpg","text":"TemporaryFile(/tmp/multipartBody5544891600685020958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725083269,"filename":"image_14122025_16_03_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/18469341def5f8be2b480440e95c30ff.jpg","text":"TemporaryFile(/tmp/multipartBody7840695364472443099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725083269,"filename":"image_14122025_16_03_25_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c058cdad5b59a9b0b8d5496687d1b050.jpg","text":"TemporaryFile(/tmp/multipartBody6130951094964899411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725083269,"filename":"image_14122025_16_04_15_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ee3f4fc84a06dd695061526f6ce21ae8.jpg","text":"TemporaryFile(/tmp/multipartBody1065682551467895678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725083269,"filename":"image_14122025_16_03_34_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7c69c4cc1ed5137f83148e8850447142.jpg","text":"TemporaryFile(/tmp/multipartBody6016630412312725366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725083269,"filename":"image_14122025_16_04_05_10841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399364910","file1":"1399364908","file0":"1399364907","file4":"1399364914","file5":"1399364918","file3":"1399364912"},"map_files_photo_id_array":[{"photo_id":"1399364918","filename":"file5"},{"photo_id":"1399364910","filename":"file2"},{"photo_id":"1399364914","filename":"file4"},{"photo_id":"1399364908","filename":"file1"},{"photo_id":"1399364907","filename":"file0"},{"photo_id":"1399364912","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399364908":["hashtag1","hashtag2"]},{"1399364907":["hashtag1","hashtag2"]},{"1399364910":["hashtag1","hashtag2"]},{"1399364918":["hashtag1","hashtag2"]},{"1399364912":["hashtag1","hashtag2"]},{"1399364914":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399364908, 1399364907, 1399364910, 1399364918, 1399364912, 1399364914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32038068771362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:11:02.737296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/04/image_14122025_16_04_24_9638.jpg', '/home/pi/Desktop/images/14122025/16/04/image_14122025_16_04_34_9758.jpg', '/home/pi/Desktop/images/14122025/16/04/image_14122025_16_04_45_10703.jpg', '/home/pi/Desktop/images/14122025/16/04/image_14122025_16_04_54_9644.jpg', '/home/pi/Desktop/images/14122025/16/05/image_14122025_16_05_14_10053.jpg', '/home/pi/Desktop/images/14122025/16/05/image_14122025_16_05_24_10786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/04/image_14122025_16_04_24_9638.jpg
/home/pi/Desktop/images/14122025/16/04/image_14122025_16_04_34_9758.jpg
/home/pi/Desktop/images/14122025/16/04/image_14122025_16_04_45_10703.jpg
/home/pi/Desktop/images/14122025/16/04/image_14122025_16_04_54_9644.jpg
/home/pi/Desktop/images/14122025/16/05/image_14122025_16_05_14_10053.jpg
/home/pi/Desktop/images/14122025/16/05/image_14122025_16_05_24_10786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399364926","1399364931","1399364928","1399364924","1399364927","1399364929"],"photo_ids_order":["1399364924","1399364926","1399364927","1399364928","1399364929","1399364931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b2654cf0acc5ddee06a1fbe1c65ce4e8.jpg","text":"TemporaryFile(/tmp/multipartBody9123476145664286208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725123454,"filename":"image_14122025_16_04_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/12/14/59f584c33d80fa0832f71604087fea19.jpg","text":"TemporaryFile(/tmp/multipartBody5579228959708845536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725123454,"filename":"image_14122025_16_05_24_10786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fd2be46b50fe7dcb493139b92335a386.jpg","text":"TemporaryFile(/tmp/multipartBody2723794390513686097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725123454,"filename":"image_14122025_16_04_54_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6bf6ad545f065c7c291bfb41f53edd45.jpg","text":"TemporaryFile(/tmp/multipartBody1897572827361054746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725123454,"filename":"image_14122025_16_04_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6154cee35e1e95e24aa92aff746f3aff.jpg","text":"TemporaryFile(/tmp/multipartBody5677550527487973956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725123454,"filename":"image_14122025_16_04_45_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d8ea00c764c71949dcbf0f488f7bb42.jpg","text":"TemporaryFile(/tmp/multipartBody6278665743605637514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725123454,"filename":"image_14122025_16_05_14_10053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399364927","file1":"1399364926","file0":"1399364924","file4":"1399364929","file5":"1399364931","file3":"1399364928"},"map_files_photo_id_array":[{"photo_id":"1399364931","filename":"file5"},{"photo_id":"1399364927","filename":"file2"},{"photo_id":"1399364929","filename":"file4"},{"photo_id":"1399364926","filename":"file1"},{"photo_id":"1399364924","filename":"file0"},{"photo_id":"1399364928","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399364926":["hashtag1","hashtag2"]},{"1399364931":["hashtag1","hashtag2"]},{"1399364928":["hashtag1","hashtag2"]},{"1399364924":["hashtag1","hashtag2"]},{"1399364927":["hashtag1","hashtag2"]},{"1399364929":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399364926, 1399364931, 1399364928, 1399364924, 1399364927, 1399364929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50232911109924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:11:41.962981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_25_1653.jpg', '/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_26_1527.jpg', '/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_28_1645.jpg', '/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_32_3700.jpg', '/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_33_1758.jpg', '/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_37_3766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_25_1653.jpg
/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_26_1527.jpg
/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_28_1645.jpg
/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_32_3700.jpg
/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_33_1758.jpg
/home/pi/Desktop/images/04112025/13/50/image_04112025_13_50_37_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":["1399364952","1399364940","1399364954","1399364936","1399364951","1399364953"],"photo_ids_order":["1399364936","1399364940","1399364951","1399364952","1399364953","1399364954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/651e73313a615c3d7d971b856ef7d41c.jpg","text":"TemporaryFile(/tmp/multipartBody6992294531540250333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725162644,"filename":"image_04112025_13_50_32_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e1245b18ddccdc188e8e1f19526eecc6.jpg","text":"TemporaryFile(/tmp/multipartBody449341032465621663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725162644,"filename":"image_04112025_13_50_26_1527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/41583cd4624f2ddd3cff9f8b644a1a5e.jpg","text":"TemporaryFile(/tmp/multipartBody2015327967189821439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725162644,"filename":"image_04112025_13_50_37_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7574249115fc5a3a0ec7fde3e2ba4c86.jpg","text":"TemporaryFile(/tmp/multipartBody8949574558892692154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725162644,"filename":"image_04112025_13_50_25_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eedeaceaa763ccce874df8606265ac37.jpg","text":"TemporaryFile(/tmp/multipartBody448707382174934763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725162644,"filename":"image_04112025_13_50_28_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/020384c6845c66d9ad9c58d4c38a8fcd.jpg","text":"TemporaryFile(/tmp/multipartBody3499597780550229545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725162644,"filename":"image_04112025_13_50_33_1758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399364951","file1":"1399364940","file0":"1399364936","file4":"1399364953","file5":"1399364954","file3":"1399364952"},"map_files_photo_id_array":[{"photo_id":"1399364954","filename":"file5"},{"photo_id":"1399364951","filename":"file2"},{"photo_id":"1399364953","filename":"file4"},{"photo_id":"1399364940","filename":"file1"},{"photo_id":"1399364936","filename":"file0"},{"photo_id":"1399364952","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399364952":["hashtag1","hashtag2"]},{"1399364940":["hashtag1","hashtag2"]},{"1399364954":["hashtag1","hashtag2"]},{"1399364936":["hashtag1","hashtag2"]},{"1399364951":["hashtag1","hashtag2"]},{"1399364953":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399364952, 1399364940, 1399364954, 1399364936, 1399364951, 1399364953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76619601249695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:12:22.302502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/05/image_14122025_16_05_34_9603.jpg', '/home/pi/Desktop/images/14122025/16/05/image_14122025_16_05_54_10642.jpg', '/home/pi/Desktop/images/14122025/16/06/image_14122025_16_06_14_9743.jpg', '/home/pi/Desktop/images/14122025/16/06/image_14122025_16_06_24_9718.jpg', '/home/pi/Desktop/images/14122025/16/06/image_14122025_16_06_34_10818.jpg', '/home/pi/Desktop/images/14122025/16/06/image_14122025_16_06_44_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/05/image_14122025_16_05_34_9603.jpg
/home/pi/Desktop/images/14122025/16/05/image_14122025_16_05_54_10642.jpg
/home/pi/Desktop/images/14122025/16/06/image_14122025_16_06_14_9743.jpg
/home/pi/Desktop/images/14122025/16/06/image_14122025_16_06_24_9718.jpg
/home/pi/Desktop/images/14122025/16/06/image_14122025_16_06_34_10818.jpg
/home/pi/Desktop/images/14122025/16/06/image_14122025_16_06_44_9807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399364961","1399364967","1399364955","1399364963","1399364957","1399364959"],"photo_ids_order":["1399364955","1399364957","1399364959","1399364961","1399364963","1399364967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fcf160e3c5adde736e8ddddcd7f08b6e.jpg","text":"TemporaryFile(/tmp/multipartBody860886167830151784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725202938,"filename":"image_14122025_16_06_24_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5956b011f6d27ec68e867648decd80d3.jpg","text":"TemporaryFile(/tmp/multipartBody4605868194864758623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725202938,"filename":"image_14122025_16_06_44_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2cfb40a95ba8b5182c67cc1d277c4bae.jpg","text":"TemporaryFile(/tmp/multipartBody3491027108158390803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725202938,"filename":"image_14122025_16_05_34_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc71917f80b864f3b563d10f2d8eec0a.jpg","text":"TemporaryFile(/tmp/multipartBody7978068894002806324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725202938,"filename":"image_14122025_16_06_34_10818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db24f37f572b6c3a857b6ef7e42c69f6.jpg","text":"TemporaryFile(/tmp/multipartBody394091487434679702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725202938,"filename":"image_14122025_16_05_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/12/14/56745aad4681272bd3927dbedccf07bb.jpg","text":"TemporaryFile(/tmp/multipartBody2501279391497400231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725202938,"filename":"image_14122025_16_06_14_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399364959","file1":"1399364957","file0":"1399364955","file4":"1399364963","file5":"1399364967","file3":"1399364961"},"map_files_photo_id_array":[{"photo_id":"1399364967","filename":"file5"},{"photo_id":"1399364959","filename":"file2"},{"photo_id":"1399364963","filename":"file4"},{"photo_id":"1399364957","filename":"file1"},{"photo_id":"1399364955","filename":"file0"},{"photo_id":"1399364961","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399364961":["hashtag1","hashtag2"]},{"1399364967":["hashtag1","hashtag2"]},{"1399364955":["hashtag1","hashtag2"]},{"1399364963":["hashtag1","hashtag2"]},{"1399364957":["hashtag1","hashtag2"]},{"1399364959":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399364961, 1399364967, 1399364955, 1399364963, 1399364957, 1399364959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90656661987305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:13:03.017741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/06/image_14122025_16_06_54_9863.jpg', '/home/pi/Desktop/images/14122025/16/06/image_14122025_16_07_04_9745.jpg', '/home/pi/Desktop/images/14122025/16/07/image_14122025_16_07_14_9628.jpg', '/home/pi/Desktop/images/14122025/16/07/image_14122025_16_07_24_10654.jpg', '/home/pi/Desktop/images/14122025/16/07/image_14122025_16_07_34_9659.jpg', '/home/pi/Desktop/images/14122025/16/07/image_14122025_16_07_54_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/06/image_14122025_16_06_54_9863.jpg
/home/pi/Desktop/images/14122025/16/06/image_14122025_16_07_04_9745.jpg
/home/pi/Desktop/images/14122025/16/07/image_14122025_16_07_14_9628.jpg
/home/pi/Desktop/images/14122025/16/07/image_14122025_16_07_24_10654.jpg
/home/pi/Desktop/images/14122025/16/07/image_14122025_16_07_34_9659.jpg
/home/pi/Desktop/images/14122025/16/07/image_14122025_16_07_54_10670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399364976","1399364970","1399364973","1399364972","1399364974","1399364968"],"photo_ids_order":["1399364968","1399364970","1399364972","1399364973","1399364974","1399364976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29794749c861890894ec1fd41fc27411.jpg","text":"TemporaryFile(/tmp/multipartBody1287884278619204359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725243715,"filename":"image_14122025_16_07_54_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d6ad9230c54aeb7ef6247a50cbc84a90.jpg","text":"TemporaryFile(/tmp/multipartBody6822285160087392760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725243715,"filename":"image_14122025_16_07_04_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f489d8afd36f9d3f7393fd873d445eb.jpg","text":"TemporaryFile(/tmp/multipartBody6649163690896993590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725243715,"filename":"image_14122025_16_07_24_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5820090e18ee0bf63ac7dbe785cec058.jpg","text":"TemporaryFile(/tmp/multipartBody6921149212580941293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725243715,"filename":"image_14122025_16_07_14_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a48fb1b67681bf6a985fe9dbafff3695.jpg","text":"TemporaryFile(/tmp/multipartBody6288319744003402771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725243715,"filename":"image_14122025_16_07_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aead7becb738194081e21e465f274201.jpg","text":"TemporaryFile(/tmp/multipartBody7414213110785639402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725243715,"filename":"image_14122025_16_06_54_9863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399364972","file1":"1399364970","file0":"1399364968","file4":"1399364974","file5":"1399364976","file3":"1399364973"},"map_files_photo_id_array":[{"photo_id":"1399364976","filename":"file5"},{"photo_id":"1399364972","filename":"file2"},{"photo_id":"1399364974","filename":"file4"},{"photo_id":"1399364970","filename":"file1"},{"photo_id":"1399364968","filename":"file0"},{"photo_id":"1399364973","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399364976":["hashtag1","hashtag2"]},{"1399364970":["hashtag1","hashtag2"]},{"1399364973":["hashtag1","hashtag2"]},{"1399364972":["hashtag1","hashtag2"]},{"1399364974":["hashtag1","hashtag2"]},{"1399364968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399364976, 1399364970, 1399364973, 1399364972, 1399364974, 1399364968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.404786586761475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:13:42.368636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_11_34099.jpg', '/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_13_1626.jpg', '/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_14_1630.jpg', '/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_16_1555.jpg', '/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_18_1624.jpg', '/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_19_1663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_11_34099.jpg
/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_13_1626.jpg
/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_14_1630.jpg
/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_16_1555.jpg
/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_18_1624.jpg
/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_19_1663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399364982","1399364985","1399364984","1399364983","1399364986","1399364980"],"photo_ids_order":["1399364980","1399364982","1399364983","1399364984","1399364985","1399364986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/df4a93fcfb2cc778cf1d0efcf1dd6821.jpg","text":"TemporaryFile(/tmp/multipartBody8815916702915006435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725283011,"filename":"image_04112025_13_51_13_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/539a334c9a4ff84127ca5b73a38af3de.jpg","text":"TemporaryFile(/tmp/multipartBody3748416464793455252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725283011,"filename":"image_04112025_13_51_18_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d3be94209214610eda62a9b8fa2ed30d.jpg","text":"TemporaryFile(/tmp/multipartBody7065234823992523921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725283011,"filename":"image_04112025_13_51_16_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/211d0fb74f9e421236fb9bb353ea94ec.jpg","text":"TemporaryFile(/tmp/multipartBody4256469825797383868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725283011,"filename":"image_04112025_13_51_14_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9ee3e51f4437224bda7ab29ffaa128ce.jpg","text":"TemporaryFile(/tmp/multipartBody7259725866788302175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725283011,"filename":"image_04112025_13_51_19_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c496c4324b9b51c4e4a1e4ade3ec935.jpg","text":"TemporaryFile(/tmp/multipartBody8468842111811026502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725283011,"filename":"image_04112025_13_51_11_34099.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399364983","file1":"1399364982","file0":"1399364980","file4":"1399364985","file5":"1399364986","file3":"1399364984"},"map_files_photo_id_array":[{"photo_id":"1399364986","filename":"file5"},{"photo_id":"1399364983","filename":"file2"},{"photo_id":"1399364985","filename":"file4"},{"photo_id":"1399364982","filename":"file1"},{"photo_id":"1399364980","filename":"file0"},{"photo_id":"1399364984","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399364982":["hashtag1","hashtag2"]},{"1399364985":["hashtag1","hashtag2"]},{"1399364984":["hashtag1","hashtag2"]},{"1399364983":["hashtag1","hashtag2"]},{"1399364986":["hashtag1","hashtag2"]},{"1399364980":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399364982, 1399364985, 1399364984, 1399364983, 1399364986, 1399364980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24175429344177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:14:22.753094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/07/image_14122025_16_08_04_9697.jpg', '/home/pi/Desktop/images/14122025/16/08/image_14122025_16_08_24_10817.jpg', '/home/pi/Desktop/images/14122025/16/08/image_14122025_16_08_34_9739.jpg', '/home/pi/Desktop/images/14122025/16/08/image_14122025_16_08_44_9662.jpg', '/home/pi/Desktop/images/14122025/16/08/image_14122025_16_08_54_9844.jpg', '/home/pi/Desktop/images/14122025/16/08/image_14122025_16_09_04_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/07/image_14122025_16_08_04_9697.jpg
/home/pi/Desktop/images/14122025/16/08/image_14122025_16_08_24_10817.jpg
/home/pi/Desktop/images/14122025/16/08/image_14122025_16_08_34_9739.jpg
/home/pi/Desktop/images/14122025/16/08/image_14122025_16_08_44_9662.jpg
/home/pi/Desktop/images/14122025/16/08/image_14122025_16_08_54_9844.jpg
/home/pi/Desktop/images/14122025/16/08/image_14122025_16_09_04_10630.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5291483402252197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:14:32.660779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:14:42.588111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_27_8097.jpg', '/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_29_1593.jpg', '/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_31_1612.jpg', '/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_32_1750.jpg', '/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_34_1661.jpg', '/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_36_1655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_27_8097.jpg
/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_29_1593.jpg
/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_31_1612.jpg
/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_32_1750.jpg
/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_34_1661.jpg
/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_36_1655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365012","1399365015","1399365014","1399364998","1399365013","1399365001"],"photo_ids_order":["1399364998","1399365001","1399365012","1399365013","1399365014","1399365015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/78399de1826e391bf1a993677330c6b6.jpg","text":"TemporaryFile(/tmp/multipartBody1636537475230468304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725343231,"filename":"image_04112025_13_51_31_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a07d6a9d4583c1199aa47a71fd2e4380.jpg","text":"TemporaryFile(/tmp/multipartBody1864885011256829537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725343231,"filename":"image_04112025_13_51_36_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9fa14724ef8aa8b1367a615326c8679.jpg","text":"TemporaryFile(/tmp/multipartBody622047559701458537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725343231,"filename":"image_04112025_13_51_34_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/59b8bffe9efebb75045026bb36baa036.jpg","text":"TemporaryFile(/tmp/multipartBody8517623829985407448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725343231,"filename":"image_04112025_13_51_27_8097.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3e591c557b353f6d19ed2571e5df57b3.jpg","text":"TemporaryFile(/tmp/multipartBody1872295524947420780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725343231,"filename":"image_04112025_13_51_32_1750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27b34cb3913f598a5aadcacf1633a10f.jpg","text":"TemporaryFile(/tmp/multipartBody6435672764081884880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725343231,"filename":"image_04112025_13_51_29_1593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365012","file1":"1399365001","file0":"1399364998","file4":"1399365014","file5":"1399365015","file3":"1399365013"},"map_files_photo_id_array":[{"photo_id":"1399365015","filename":"file5"},{"photo_id":"1399365012","filename":"file2"},{"photo_id":"1399365014","filename":"file4"},{"photo_id":"1399365001","filename":"file1"},{"photo_id":"1399364998","filename":"file0"},{"photo_id":"1399365013","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365012":["hashtag1","hashtag2"]},{"1399365015":["hashtag1","hashtag2"]},{"1399365014":["hashtag1","hashtag2"]},{"1399364998":["hashtag1","hashtag2"]},{"1399365013":["hashtag1","hashtag2"]},{"1399365001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365012, 1399365015, 1399365014, 1399364998, 1399365013, 1399365001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57206702232361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:15:21.791621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/07/image_14122025_16_08_04_9697.jpg', '/home/pi/Desktop/images/14122025/16/08/image_14122025_16_08_24_10817.jpg', '/home/pi/Desktop/images/14122025/16/08/image_14122025_16_08_34_9739.jpg', '/home/pi/Desktop/images/14122025/16/08/image_14122025_16_08_44_9662.jpg', '/home/pi/Desktop/images/14122025/16/08/image_14122025_16_08_54_9844.jpg', '/home/pi/Desktop/images/14122025/16/08/image_14122025_16_09_04_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/07/image_14122025_16_08_04_9697.jpg
/home/pi/Desktop/images/14122025/16/08/image_14122025_16_08_24_10817.jpg
/home/pi/Desktop/images/14122025/16/08/image_14122025_16_08_34_9739.jpg
/home/pi/Desktop/images/14122025/16/08/image_14122025_16_08_44_9662.jpg
/home/pi/Desktop/images/14122025/16/08/image_14122025_16_08_54_9844.jpg
/home/pi/Desktop/images/14122025/16/08/image_14122025_16_09_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":["1399365027","1399365021","1399365018","1399365023","1399365016","1399365025"],"photo_ids_order":["1399365016","1399365018","1399365021","1399365023","1399365025","1399365027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/353fef3fb0d52429b64acf12667a700a.jpg","text":"TemporaryFile(/tmp/multipartBody1789694165212843762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725382392,"filename":"image_14122025_16_09_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/12/14/3394dbdbec5fe03906ad58a2a971079d.jpg","text":"TemporaryFile(/tmp/multipartBody6457222663064971810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725382392,"filename":"image_14122025_16_08_34_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7fb10dda07fe7540ebddbd8f16625e98.jpg","text":"TemporaryFile(/tmp/multipartBody5257766772632673215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725382392,"filename":"image_14122025_16_08_24_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b7ff59637d23af88b7aa7f9dfa88440.jpg","text":"TemporaryFile(/tmp/multipartBody775414319094765122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725382392,"filename":"image_14122025_16_08_44_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1b0c801d59d76f3db2313b5b6d7f062.jpg","text":"TemporaryFile(/tmp/multipartBody4962290648773068425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725382392,"filename":"image_14122025_16_08_04_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28cc245956c3e8d1886484787fda68cc.jpg","text":"TemporaryFile(/tmp/multipartBody2544287708809035533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725382392,"filename":"image_14122025_16_08_54_9844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365021","file1":"1399365018","file0":"1399365016","file4":"1399365025","file5":"1399365027","file3":"1399365023"},"map_files_photo_id_array":[{"photo_id":"1399365027","filename":"file5"},{"photo_id":"1399365021","filename":"file2"},{"photo_id":"1399365025","filename":"file4"},{"photo_id":"1399365018","filename":"file1"},{"photo_id":"1399365016","filename":"file0"},{"photo_id":"1399365023","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365027":["hashtag1","hashtag2"]},{"1399365021":["hashtag1","hashtag2"]},{"1399365018":["hashtag1","hashtag2"]},{"1399365023":["hashtag1","hashtag2"]},{"1399365016":["hashtag1","hashtag2"]},{"1399365025":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365027, 1399365021, 1399365018, 1399365023, 1399365016, 1399365025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08978891372681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:16:02.680681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/09/image_14122025_16_09_34_10645.jpg', '/home/pi/Desktop/images/14122025/16/09/image_14122025_16_09_44_9577.jpg', '/home/pi/Desktop/images/14122025/16/09/image_14122025_16_09_54_9689.jpg', '/home/pi/Desktop/images/14122025/16/11/image_14122025_16_11_14_10039.jpg', '/home/pi/Desktop/images/14122025/16/11/image_14122025_16_11_44_9614.jpg', '/home/pi/Desktop/images/14122025/16/11/image_14122025_16_11_55_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/09/image_14122025_16_09_34_10645.jpg
/home/pi/Desktop/images/14122025/16/09/image_14122025_16_09_44_9577.jpg
/home/pi/Desktop/images/14122025/16/09/image_14122025_16_09_54_9689.jpg
/home/pi/Desktop/images/14122025/16/11/image_14122025_16_11_14_10039.jpg
/home/pi/Desktop/images/14122025/16/11/image_14122025_16_11_44_9614.jpg
/home/pi/Desktop/images/14122025/16/11/image_14122025_16_11_55_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.5184841156005859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:16:12.093473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:16:22.156189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/09/image_14122025_16_09_34_10645.jpg', '/home/pi/Desktop/images/14122025/16/09/image_14122025_16_09_44_9577.jpg', '/home/pi/Desktop/images/14122025/16/09/image_14122025_16_09_54_9689.jpg', '/home/pi/Desktop/images/14122025/16/11/image_14122025_16_11_14_10039.jpg', '/home/pi/Desktop/images/14122025/16/11/image_14122025_16_11_44_9614.jpg', '/home/pi/Desktop/images/14122025/16/11/image_14122025_16_11_55_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/09/image_14122025_16_09_34_10645.jpg
/home/pi/Desktop/images/14122025/16/09/image_14122025_16_09_44_9577.jpg
/home/pi/Desktop/images/14122025/16/09/image_14122025_16_09_54_9689.jpg
/home/pi/Desktop/images/14122025/16/11/image_14122025_16_11_14_10039.jpg
/home/pi/Desktop/images/14122025/16/11/image_14122025_16_11_44_9614.jpg
/home/pi/Desktop/images/14122025/16/11/image_14122025_16_11_55_10683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365042","1399365045","1399365036","1399365038","1399365040","1399365034"],"photo_ids_order":["1399365034","1399365036","1399365038","1399365040","1399365042","1399365045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/80cdf350734fbf20c2a0e23d607ea82c.jpg","text":"TemporaryFile(/tmp/multipartBody8131964545484958647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725442779,"filename":"image_14122025_16_11_44_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/49168679203fa6d69fc016d1fe93d9c0.jpg","text":"TemporaryFile(/tmp/multipartBody6801965386103042814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725442779,"filename":"image_14122025_16_11_55_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a2bec8a90983125ced12faaf3020f10.jpg","text":"TemporaryFile(/tmp/multipartBody6398204916049470423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725442779,"filename":"image_14122025_16_09_44_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b0ac232bfd7071e484e8c145fadfe1ee.jpg","text":"TemporaryFile(/tmp/multipartBody7394868602648468234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725442779,"filename":"image_14122025_16_09_54_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/232eab2b9c23c268810d72110392a2c9.jpg","text":"TemporaryFile(/tmp/multipartBody8872947598974605596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725442779,"filename":"image_14122025_16_11_14_10039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6dc7a693dea099afde85ed24b2a582bc.jpg","text":"TemporaryFile(/tmp/multipartBody4579582861727857111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725442779,"filename":"image_14122025_16_09_34_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365038","file1":"1399365036","file0":"1399365034","file4":"1399365042","file5":"1399365045","file3":"1399365040"},"map_files_photo_id_array":[{"photo_id":"1399365045","filename":"file5"},{"photo_id":"1399365038","filename":"file2"},{"photo_id":"1399365042","filename":"file4"},{"photo_id":"1399365036","filename":"file1"},{"photo_id":"1399365034","filename":"file0"},{"photo_id":"1399365040","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365042":["hashtag1","hashtag2"]},{"1399365045":["hashtag1","hashtag2"]},{"1399365036":["hashtag1","hashtag2"]},{"1399365038":["hashtag1","hashtag2"]},{"1399365040":["hashtag1","hashtag2"]},{"1399365034":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365042, 1399365045, 1399365036, 1399365038, 1399365040, 1399365034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10257148742676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:17:03.045608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/11/image_14122025_16_12_04_9620.jpg', '/home/pi/Desktop/images/14122025/16/12/image_14122025_16_12_35_10743.jpg', '/home/pi/Desktop/images/14122025/16/12/image_14122025_16_12_45_9893.jpg', '/home/pi/Desktop/images/14122025/16/12/image_14122025_16_12_54_9784.jpg', '/home/pi/Desktop/images/14122025/16/12/image_14122025_16_13_04_9802.jpg', '/home/pi/Desktop/images/14122025/16/13/image_14122025_16_13_14_9870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/11/image_14122025_16_12_04_9620.jpg
/home/pi/Desktop/images/14122025/16/12/image_14122025_16_12_35_10743.jpg
/home/pi/Desktop/images/14122025/16/12/image_14122025_16_12_45_9893.jpg
/home/pi/Desktop/images/14122025/16/12/image_14122025_16_12_54_9784.jpg
/home/pi/Desktop/images/14122025/16/12/image_14122025_16_13_04_9802.jpg
/home/pi/Desktop/images/14122025/16/13/image_14122025_16_13_14_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":["1399365051","1399365048","1399365053","1399365050","1399365047","1399365049"],"photo_ids_order":["1399365047","1399365048","1399365049","1399365050","1399365051","1399365053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/73c0cac01bf7c757089e37b531a14f3d.jpg","text":"TemporaryFile(/tmp/multipartBody4715743506523020808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725483715,"filename":"image_14122025_16_13_04_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/733dd106995c5aaff2961820a8be8235.jpg","text":"TemporaryFile(/tmp/multipartBody1651295664445394455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725483715,"filename":"image_14122025_16_12_35_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/567c4e3dcd26aa8e088060645537e195.jpg","text":"TemporaryFile(/tmp/multipartBody1287358344282826100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725483715,"filename":"image_14122025_16_13_14_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7778eeed5da76a2e5b0c5805dda86c39.jpg","text":"TemporaryFile(/tmp/multipartBody8773622422431357614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725483715,"filename":"image_14122025_16_12_54_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fa8e0148a812a6e1e652a468dfb65acf.jpg","text":"TemporaryFile(/tmp/multipartBody6365838768860020009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725483715,"filename":"image_14122025_16_12_04_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d29e70ae48e01127357489abbe496e0d.jpg","text":"TemporaryFile(/tmp/multipartBody2147483955885797435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725483715,"filename":"image_14122025_16_12_45_9893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365049","file1":"1399365048","file0":"1399365047","file4":"1399365051","file5":"1399365053","file3":"1399365050"},"map_files_photo_id_array":[{"photo_id":"1399365053","filename":"file5"},{"photo_id":"1399365049","filename":"file2"},{"photo_id":"1399365051","filename":"file4"},{"photo_id":"1399365048","filename":"file1"},{"photo_id":"1399365047","filename":"file0"},{"photo_id":"1399365050","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365051":["hashtag1","hashtag2"]},{"1399365048":["hashtag1","hashtag2"]},{"1399365053":["hashtag1","hashtag2"]},{"1399365050":["hashtag1","hashtag2"]},{"1399365047":["hashtag1","hashtag2"]},{"1399365049":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365051, 1399365048, 1399365053, 1399365050, 1399365047, 1399365049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1242196559906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:17:42.512479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_37_1541.jpg', '/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_39_1659.jpg', '/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_41_1763.jpg', '/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_42_1610.jpg', '/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_44_1688.jpg', '/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_46_1696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_37_1541.jpg
/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_39_1659.jpg
/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_41_1763.jpg
/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_42_1610.jpg
/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_44_1688.jpg
/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_46_1696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365072","1399365074","1399365076","1399365058","1399365073","1399365069"],"photo_ids_order":["1399365058","1399365069","1399365072","1399365073","1399365074","1399365076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da10c990cd957d1cc9e254bcbecd2786.jpg","text":"TemporaryFile(/tmp/multipartBody4710637160445367024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725523154,"filename":"image_04112025_13_51_41_1763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a77712bb079907c196aa3128ddb0d2b7.jpg","text":"TemporaryFile(/tmp/multipartBody739576792957036299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725523154,"filename":"image_04112025_13_51_44_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1dd33c613f517eefaa9ab595ef96bfa4.jpg","text":"TemporaryFile(/tmp/multipartBody3270396772668141249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725523154,"filename":"image_04112025_13_51_46_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d86d667613646eeeb10cc63860d6626f.jpg","text":"TemporaryFile(/tmp/multipartBody2331832598922452661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725523154,"filename":"image_04112025_13_51_37_1541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/42615c395943170b3c19339f1fa96b36.jpg","text":"TemporaryFile(/tmp/multipartBody2813012438403853986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725523154,"filename":"image_04112025_13_51_42_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c7d42c35f85efadb3f656b960ddff7ad.jpg","text":"TemporaryFile(/tmp/multipartBody3285554501443283936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725523154,"filename":"image_04112025_13_51_39_1659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365072","file1":"1399365069","file0":"1399365058","file4":"1399365074","file5":"1399365076","file3":"1399365073"},"map_files_photo_id_array":[{"photo_id":"1399365076","filename":"file5"},{"photo_id":"1399365072","filename":"file2"},{"photo_id":"1399365074","filename":"file4"},{"photo_id":"1399365069","filename":"file1"},{"photo_id":"1399365058","filename":"file0"},{"photo_id":"1399365073","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365072":["hashtag1","hashtag2"]},{"1399365074":["hashtag1","hashtag2"]},{"1399365076":["hashtag1","hashtag2"]},{"1399365058":["hashtag1","hashtag2"]},{"1399365073":["hashtag1","hashtag2"]},{"1399365069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365072, 1399365074, 1399365076, 1399365058, 1399365073, 1399365069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9593608379364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:18:22.741904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/13/image_14122025_16_13_25_10850.jpg', '/home/pi/Desktop/images/14122025/16/13/image_14122025_16_13_44_9640.jpg', '/home/pi/Desktop/images/14122025/16/14/image_14122025_16_14_15_9737.jpg', '/home/pi/Desktop/images/14122025/16/14/image_14122025_16_14_34_9731.jpg', '/home/pi/Desktop/images/14122025/16/14/image_14122025_16_14_55_9934.jpg', '/home/pi/Desktop/images/14122025/16/16/image_14122025_16_16_13_10037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/13/image_14122025_16_13_25_10850.jpg
/home/pi/Desktop/images/14122025/16/13/image_14122025_16_13_44_9640.jpg
/home/pi/Desktop/images/14122025/16/14/image_14122025_16_14_15_9737.jpg
/home/pi/Desktop/images/14122025/16/14/image_14122025_16_14_34_9731.jpg
/home/pi/Desktop/images/14122025/16/14/image_14122025_16_14_55_9934.jpg
/home/pi/Desktop/images/14122025/16/16/image_14122025_16_16_13_10037.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365083","1399365077","1399365085","1399365079","1399365088","1399365081"],"photo_ids_order":["1399365077","1399365079","1399365081","1399365083","1399365085","1399365088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b70607a283ae1776422870805794fce.jpg","text":"TemporaryFile(/tmp/multipartBody1005690801546778963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725563374,"filename":"image_14122025_16_14_34_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/647879382ef220b903fba59e221fecc0.jpg","text":"TemporaryFile(/tmp/multipartBody8337618253364836013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725563374,"filename":"image_14122025_16_13_25_10850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d2878e88953b80277af14ee6910c984.jpg","text":"TemporaryFile(/tmp/multipartBody8756946504254569187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725563374,"filename":"image_14122025_16_14_55_9934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7b0595cf5a7d1f20d83d9a93fd5f03df.jpg","text":"TemporaryFile(/tmp/multipartBody8729850478896974331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725563374,"filename":"image_14122025_16_13_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f9b48a78e77a2e777bf2b97cfd3d98b3.jpg","text":"TemporaryFile(/tmp/multipartBody4643213300275796422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725563374,"filename":"image_14122025_16_16_13_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb707572ce5d931f776a6221861fa182.jpg","text":"TemporaryFile(/tmp/multipartBody6505048683148432022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725563374,"filename":"image_14122025_16_14_15_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365081","file1":"1399365079","file0":"1399365077","file4":"1399365085","file5":"1399365088","file3":"1399365083"},"map_files_photo_id_array":[{"photo_id":"1399365088","filename":"file5"},{"photo_id":"1399365081","filename":"file2"},{"photo_id":"1399365085","filename":"file4"},{"photo_id":"1399365079","filename":"file1"},{"photo_id":"1399365077","filename":"file0"},{"photo_id":"1399365083","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365083":["hashtag1","hashtag2"]},{"1399365077":["hashtag1","hashtag2"]},{"1399365085":["hashtag1","hashtag2"]},{"1399365079":["hashtag1","hashtag2"]},{"1399365088":["hashtag1","hashtag2"]},{"1399365081":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365083, 1399365077, 1399365085, 1399365079, 1399365088, 1399365081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.128251791000366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:19:02.844246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/16/image_14122025_16_16_24_10803.jpg', '/home/pi/Desktop/images/14122025/16/16/image_14122025_16_16_34_9637.jpg', '/home/pi/Desktop/images/14122025/16/16/image_14122025_16_16_43_9754.jpg', '/home/pi/Desktop/images/14122025/16/16/image_14122025_16_17_04_9702.jpg', '/home/pi/Desktop/images/14122025/16/17/image_14122025_16_17_14_9754.jpg', '/home/pi/Desktop/images/14122025/16/17/image_14122025_16_17_24_9945.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/16/image_14122025_16_16_24_10803.jpg
/home/pi/Desktop/images/14122025/16/16/image_14122025_16_16_34_9637.jpg
/home/pi/Desktop/images/14122025/16/16/image_14122025_16_16_43_9754.jpg
/home/pi/Desktop/images/14122025/16/16/image_14122025_16_17_04_9702.jpg
/home/pi/Desktop/images/14122025/16/17/image_14122025_16_17_14_9754.jpg
/home/pi/Desktop/images/14122025/16/17/image_14122025_16_17_24_9945.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365098","1399365095","1399365097","1399365100","1399365093","1399365096"],"photo_ids_order":["1399365093","1399365095","1399365096","1399365097","1399365098","1399365100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/10383db0768f27ec08c899a4713de01a.jpg","text":"TemporaryFile(/tmp/multipartBody5058589045037967263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725603689,"filename":"image_14122025_16_17_14_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a969bb2f927eaa350784303fa9e5f51.jpg","text":"TemporaryFile(/tmp/multipartBody6363394909072606952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725603689,"filename":"image_14122025_16_16_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9087bccc04e5205280cb5a3fbd4a190.jpg","text":"TemporaryFile(/tmp/multipartBody8536362796104139672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725603689,"filename":"image_14122025_16_17_04_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3fa34c7da45073da801d827ad9c8c2e0.jpg","text":"TemporaryFile(/tmp/multipartBody1603902835072868090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725603689,"filename":"image_14122025_16_17_24_9945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f5e4230462303631478df2ab62c1abfa.jpg","text":"TemporaryFile(/tmp/multipartBody8805431593044854816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725603689,"filename":"image_14122025_16_16_24_10803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/22e78c416c0f1d86d7ac86d9530726e6.jpg","text":"TemporaryFile(/tmp/multipartBody7958453758624838191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725603689,"filename":"image_14122025_16_16_43_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365096","file1":"1399365095","file0":"1399365093","file4":"1399365098","file5":"1399365100","file3":"1399365097"},"map_files_photo_id_array":[{"photo_id":"1399365100","filename":"file5"},{"photo_id":"1399365096","filename":"file2"},{"photo_id":"1399365098","filename":"file4"},{"photo_id":"1399365095","filename":"file1"},{"photo_id":"1399365093","filename":"file0"},{"photo_id":"1399365097","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365098":["hashtag1","hashtag2"]},{"1399365095":["hashtag1","hashtag2"]},{"1399365097":["hashtag1","hashtag2"]},{"1399365100":["hashtag1","hashtag2"]},{"1399365093":["hashtag1","hashtag2"]},{"1399365096":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365098, 1399365095, 1399365097, 1399365100, 1399365093, 1399365096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.135276556015015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:19:41.939190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_47_1526.jpg', '/home/pi/Desktop/images/04112025/13/52/image_04112025_13_52_08_21296.jpg', '/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_06_3010.jpg', '/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_10_3671.jpg', '/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_13_2609.jpg', '/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_16_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_47_1526.jpg
/home/pi/Desktop/images/04112025/13/52/image_04112025_13_52_08_21296.jpg
/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_06_3010.jpg
/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_10_3671.jpg
/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_13_2609.jpg
/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_16_3664.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5631561279296875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:20:02.607915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/17/image_14122025_16_17_34_10683.jpg', '/home/pi/Desktop/images/14122025/16/17/image_14122025_16_17_44_9673.jpg', '/home/pi/Desktop/images/14122025/16/17/image_14122025_16_17_54_9751.jpg', '/home/pi/Desktop/images/14122025/16/17/image_14122025_16_18_03_9860.jpg', '/home/pi/Desktop/images/14122025/16/18/image_14122025_16_18_14_10569.jpg', '/home/pi/Desktop/images/14122025/16/18/image_14122025_16_18_24_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/17/image_14122025_16_17_34_10683.jpg
/home/pi/Desktop/images/14122025/16/17/image_14122025_16_17_44_9673.jpg
/home/pi/Desktop/images/14122025/16/17/image_14122025_16_17_54_9751.jpg
/home/pi/Desktop/images/14122025/16/17/image_14122025_16_18_03_9860.jpg
/home/pi/Desktop/images/14122025/16/18/image_14122025_16_18_14_10569.jpg
/home/pi/Desktop/images/14122025/16/18/image_14122025_16_18_24_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":["1399365114","1399365117","1399365116","1399365119","1399365113","1399365115"],"photo_ids_order":["1399365113","1399365114","1399365115","1399365116","1399365117","1399365119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c2ca69f2690e9efac065979207a206c4.jpg","text":"TemporaryFile(/tmp/multipartBody3411312254585560386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725663310,"filename":"image_14122025_16_17_44_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/647f2662eeacc5de0ca861aa730ea8b6.jpg","text":"TemporaryFile(/tmp/multipartBody228759092428481399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725663310,"filename":"image_14122025_16_18_14_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ad1ff8fc812ead0a42441e6936f14d7.jpg","text":"TemporaryFile(/tmp/multipartBody8030436478969697940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725663310,"filename":"image_14122025_16_18_03_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf03879998f372dcac86c5582f251f23.jpg","text":"TemporaryFile(/tmp/multipartBody7886181523843130262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725663310,"filename":"image_14122025_16_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/12/14/72aa1b44f1cd58e51ae366f913b57435.jpg","text":"TemporaryFile(/tmp/multipartBody4963724961564417395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725663310,"filename":"image_14122025_16_17_34_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be96a8a72102f2808532411334aad704.jpg","text":"TemporaryFile(/tmp/multipartBody888317778317844136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725663310,"filename":"image_14122025_16_17_54_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365115","file1":"1399365114","file0":"1399365113","file4":"1399365117","file5":"1399365119","file3":"1399365116"},"map_files_photo_id_array":[{"photo_id":"1399365119","filename":"file5"},{"photo_id":"1399365115","filename":"file2"},{"photo_id":"1399365117","filename":"file4"},{"photo_id":"1399365114","filename":"file1"},{"photo_id":"1399365113","filename":"file0"},{"photo_id":"1399365116","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365114":["hashtag1","hashtag2"]},{"1399365117":["hashtag1","hashtag2"]},{"1399365116":["hashtag1","hashtag2"]},{"1399365119":["hashtag1","hashtag2"]},{"1399365113":["hashtag1","hashtag2"]},{"1399365115":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365114, 1399365117, 1399365116, 1399365119, 1399365113, 1399365115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.944843769073486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:20:42.203108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_47_1526.jpg', '/home/pi/Desktop/images/04112025/13/52/image_04112025_13_52_08_21296.jpg', '/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_06_3010.jpg', '/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_10_3671.jpg', '/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_13_2609.jpg', '/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_16_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/51/image_04112025_13_51_47_1526.jpg
/home/pi/Desktop/images/04112025/13/52/image_04112025_13_52_08_21296.jpg
/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_06_3010.jpg
/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_10_3671.jpg
/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_13_2609.jpg
/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_16_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":["1399365132","1399365135","1399365134","1399365137","1399365133","1399365124"],"photo_ids_order":["1399365124","1399365132","1399365133","1399365134","1399365135","1399365137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8ff3ca697534dd07864f420756c2a10d.jpg","text":"TemporaryFile(/tmp/multipartBody6541749678200644262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725702744,"filename":"image_04112025_13_52_08_21296.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a17c6fe3cebd971adcd549bad87a92c.jpg","text":"TemporaryFile(/tmp/multipartBody7826321767915209930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725702744,"filename":"image_04112025_13_53_13_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1a19055a50097f54d9119d6e7197d13.jpg","text":"TemporaryFile(/tmp/multipartBody1496926200867846684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725702744,"filename":"image_04112025_13_53_10_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d936f5f5748d0003292a82a0957d79e.jpg","text":"TemporaryFile(/tmp/multipartBody3311356829391100864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725702744,"filename":"image_04112025_13_53_16_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2679609a483720d7edb8fd2449dab81.jpg","text":"TemporaryFile(/tmp/multipartBody8655549922743396560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725702744,"filename":"image_04112025_13_53_06_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8103d3ccb94f27e28db65d9df0fb54b2.jpg","text":"TemporaryFile(/tmp/multipartBody3181728924209527318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725702744,"filename":"image_04112025_13_51_47_1526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365133","file1":"1399365132","file0":"1399365124","file4":"1399365135","file5":"1399365137","file3":"1399365134"},"map_files_photo_id_array":[{"photo_id":"1399365137","filename":"file5"},{"photo_id":"1399365133","filename":"file2"},{"photo_id":"1399365135","filename":"file4"},{"photo_id":"1399365132","filename":"file1"},{"photo_id":"1399365124","filename":"file0"},{"photo_id":"1399365134","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365132":["hashtag1","hashtag2"]},{"1399365135":["hashtag1","hashtag2"]},{"1399365134":["hashtag1","hashtag2"]},{"1399365137":["hashtag1","hashtag2"]},{"1399365133":["hashtag1","hashtag2"]},{"1399365124":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365132, 1399365135, 1399365134, 1399365137, 1399365133, 1399365124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.615320920944214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:21:22.533160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/18/image_14122025_16_18_33_9773.jpg', '/home/pi/Desktop/images/14122025/16/18/image_14122025_16_18_44_10679.jpg', '/home/pi/Desktop/images/14122025/16/18/image_14122025_16_18_54_9719.jpg', '/home/pi/Desktop/images/14122025/16/18/image_14122025_16_19_03_9600.jpg', '/home/pi/Desktop/images/14122025/16/19/image_14122025_16_19_14_10621.jpg', '/home/pi/Desktop/images/14122025/16/19/image_14122025_16_19_24_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/18/image_14122025_16_18_33_9773.jpg
/home/pi/Desktop/images/14122025/16/18/image_14122025_16_18_44_10679.jpg
/home/pi/Desktop/images/14122025/16/18/image_14122025_16_18_54_9719.jpg
/home/pi/Desktop/images/14122025/16/18/image_14122025_16_19_03_9600.jpg
/home/pi/Desktop/images/14122025/16/19/image_14122025_16_19_14_10621.jpg
/home/pi/Desktop/images/14122025/16/19/image_14122025_16_19_24_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":["1399365144","1399365146","1399365149","1399365140","1399365139","1399365142"],"photo_ids_order":["1399365139","1399365140","1399365142","1399365144","1399365146","1399365149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2eb5f1418444e2f897667843e57a06ef.jpg","text":"TemporaryFile(/tmp/multipartBody578866021390727038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725743178,"filename":"image_14122025_16_19_03_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d5e363eef7c704eb0bcd3b1e62922a8e.jpg","text":"TemporaryFile(/tmp/multipartBody6497047305832885987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725743178,"filename":"image_14122025_16_19_14_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f5ce545e66b1d801d644da6593c8591.jpg","text":"TemporaryFile(/tmp/multipartBody3035551285983584743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725743178,"filename":"image_14122025_16_19_24_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/662f67dc0d0701fb6c69c10d295b0723.jpg","text":"TemporaryFile(/tmp/multipartBody2734373120941483190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725743178,"filename":"image_14122025_16_18_44_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/77af50a85b1d71e727a44638d98db0d3.jpg","text":"TemporaryFile(/tmp/multipartBody646068337065731323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725743178,"filename":"image_14122025_16_18_33_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/473becef64cd916424e06f4479a65106.jpg","text":"TemporaryFile(/tmp/multipartBody535649118654620765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725743178,"filename":"image_14122025_16_18_54_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365142","file1":"1399365140","file0":"1399365139","file4":"1399365146","file5":"1399365149","file3":"1399365144"},"map_files_photo_id_array":[{"photo_id":"1399365149","filename":"file5"},{"photo_id":"1399365142","filename":"file2"},{"photo_id":"1399365146","filename":"file4"},{"photo_id":"1399365140","filename":"file1"},{"photo_id":"1399365139","filename":"file0"},{"photo_id":"1399365144","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365144":["hashtag1","hashtag2"]},{"1399365146":["hashtag1","hashtag2"]},{"1399365149":["hashtag1","hashtag2"]},{"1399365140":["hashtag1","hashtag2"]},{"1399365139":["hashtag1","hashtag2"]},{"1399365142":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365144, 1399365146, 1399365149, 1399365140, 1399365139, 1399365142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41980600357056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:22:03.113142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/19/image_14122025_16_19_33_9685.jpg', '/home/pi/Desktop/images/14122025/16/19/image_14122025_16_19_54_9818.jpg', '/home/pi/Desktop/images/14122025/16/20/image_14122025_16_20_14_10054.jpg', '/home/pi/Desktop/images/14122025/16/20/image_14122025_16_20_25_10603.jpg', '/home/pi/Desktop/images/14122025/16/20/image_14122025_16_20_35_9745.jpg', '/home/pi/Desktop/images/14122025/16/20/image_14122025_16_20_45_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/19/image_14122025_16_19_33_9685.jpg
/home/pi/Desktop/images/14122025/16/19/image_14122025_16_19_54_9818.jpg
/home/pi/Desktop/images/14122025/16/20/image_14122025_16_20_14_10054.jpg
/home/pi/Desktop/images/14122025/16/20/image_14122025_16_20_25_10603.jpg
/home/pi/Desktop/images/14122025/16/20/image_14122025_16_20_35_9745.jpg
/home/pi/Desktop/images/14122025/16/20/image_14122025_16_20_45_10571.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5334131717681885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:22:12.546302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:22:22.670139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/19/image_14122025_16_19_33_9685.jpg', '/home/pi/Desktop/images/14122025/16/19/image_14122025_16_19_54_9818.jpg', '/home/pi/Desktop/images/14122025/16/20/image_14122025_16_20_14_10054.jpg', '/home/pi/Desktop/images/14122025/16/20/image_14122025_16_20_25_10603.jpg', '/home/pi/Desktop/images/14122025/16/20/image_14122025_16_20_35_9745.jpg', '/home/pi/Desktop/images/14122025/16/20/image_14122025_16_20_45_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/19/image_14122025_16_19_33_9685.jpg
/home/pi/Desktop/images/14122025/16/19/image_14122025_16_19_54_9818.jpg
/home/pi/Desktop/images/14122025/16/20/image_14122025_16_20_14_10054.jpg
/home/pi/Desktop/images/14122025/16/20/image_14122025_16_20_25_10603.jpg
/home/pi/Desktop/images/14122025/16/20/image_14122025_16_20_35_9745.jpg
/home/pi/Desktop/images/14122025/16/20/image_14122025_16_20_45_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":["1399365165","1399365159","1399365161","1399365158","1399365163","1399365168"],"photo_ids_order":["1399365158","1399365159","1399365161","1399365163","1399365165","1399365168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f0c63ee2590252de82352c942eeb855.jpg","text":"TemporaryFile(/tmp/multipartBody1429680820048951967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725803363,"filename":"image_14122025_16_20_35_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4bfda470f38256ce17d386fd013bed96.jpg","text":"TemporaryFile(/tmp/multipartBody6884949472410517095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725803363,"filename":"image_14122025_16_19_54_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cce6196a58e00797762fd71670f5746e.jpg","text":"TemporaryFile(/tmp/multipartBody4533265945240933570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725803363,"filename":"image_14122025_16_20_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ab685b9747cca38a1f87b5453241ac47.jpg","text":"TemporaryFile(/tmp/multipartBody9156732741069668851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725803363,"filename":"image_14122025_16_19_33_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e2ca1a3b4834cc22de5556c2640c5b2.jpg","text":"TemporaryFile(/tmp/multipartBody4830013614277951737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725803363,"filename":"image_14122025_16_20_25_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b39cd1df68fe38f50d6ba8a219eef20e.jpg","text":"TemporaryFile(/tmp/multipartBody5128600187554371007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725803363,"filename":"image_14122025_16_20_45_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365161","file1":"1399365159","file0":"1399365158","file4":"1399365165","file5":"1399365168","file3":"1399365163"},"map_files_photo_id_array":[{"photo_id":"1399365168","filename":"file5"},{"photo_id":"1399365161","filename":"file2"},{"photo_id":"1399365165","filename":"file4"},{"photo_id":"1399365159","filename":"file1"},{"photo_id":"1399365158","filename":"file0"},{"photo_id":"1399365163","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365165":["hashtag1","hashtag2"]},{"1399365159":["hashtag1","hashtag2"]},{"1399365161":["hashtag1","hashtag2"]},{"1399365158":["hashtag1","hashtag2"]},{"1399365163":["hashtag1","hashtag2"]},{"1399365168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365165, 1399365159, 1399365161, 1399365158, 1399365163, 1399365168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34181189537048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:23:02.583703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/20/image_14122025_16_20_55_10029.jpg', '/home/pi/Desktop/images/14122025/16/20/image_14122025_16_21_05_9731.jpg', '/home/pi/Desktop/images/14122025/16/21/image_14122025_16_21_15_9666.jpg', '/home/pi/Desktop/images/14122025/16/21/image_14122025_16_21_25_10599.jpg', '/home/pi/Desktop/images/14122025/16/21/image_14122025_16_21_35_9852.jpg', '/home/pi/Desktop/images/14122025/16/21/image_14122025_16_21_45_10012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/20/image_14122025_16_20_55_10029.jpg
/home/pi/Desktop/images/14122025/16/20/image_14122025_16_21_05_9731.jpg
/home/pi/Desktop/images/14122025/16/21/image_14122025_16_21_15_9666.jpg
/home/pi/Desktop/images/14122025/16/21/image_14122025_16_21_25_10599.jpg
/home/pi/Desktop/images/14122025/16/21/image_14122025_16_21_35_9852.jpg
/home/pi/Desktop/images/14122025/16/21/image_14122025_16_21_45_10012.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365171","1399365170","1399365173","1399365176","1399365172","1399365174"],"photo_ids_order":["1399365170","1399365171","1399365172","1399365173","1399365174","1399365176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4473f584ac2f52eef6e979c533ddab75.jpg","text":"TemporaryFile(/tmp/multipartBody7958826221777324772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725843248,"filename":"image_14122025_16_21_05_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/078715247d757ebe958c45c1d82a9267.jpg","text":"TemporaryFile(/tmp/multipartBody7127718592756983932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725843248,"filename":"image_14122025_16_20_55_10029.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ce391f9aae36c192db3124cc5174eaf.jpg","text":"TemporaryFile(/tmp/multipartBody4140613038352570701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725843248,"filename":"image_14122025_16_21_25_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/97f4cb1f771ec8f1d9c78adb52a400fe.jpg","text":"TemporaryFile(/tmp/multipartBody8312683816987200468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725843248,"filename":"image_14122025_16_21_45_10012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f9f197294ff3f131cfe3a1c50756590.jpg","text":"TemporaryFile(/tmp/multipartBody615133466775486477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725843248,"filename":"image_14122025_16_21_15_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/935c4d58524a8b0d1f8f60e3c77533fe.jpg","text":"TemporaryFile(/tmp/multipartBody7562449338166895196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725843248,"filename":"image_14122025_16_21_35_9852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365172","file1":"1399365171","file0":"1399365170","file4":"1399365174","file5":"1399365176","file3":"1399365173"},"map_files_photo_id_array":[{"photo_id":"1399365176","filename":"file5"},{"photo_id":"1399365172","filename":"file2"},{"photo_id":"1399365174","filename":"file4"},{"photo_id":"1399365171","filename":"file1"},{"photo_id":"1399365170","filename":"file0"},{"photo_id":"1399365173","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365171":["hashtag1","hashtag2"]},{"1399365170":["hashtag1","hashtag2"]},{"1399365173":["hashtag1","hashtag2"]},{"1399365176":["hashtag1","hashtag2"]},{"1399365172":["hashtag1","hashtag2"]},{"1399365174":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365171, 1399365170, 1399365173, 1399365176, 1399365172, 1399365174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60977101325989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:23:41.882902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_19_2595.jpg', '/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_21_2543.jpg', '/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_56_25274.jpg', '/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_58_1552.jpg', '/home/pi/Desktop/images/04112025/13/53/image_04112025_13_54_00_1591.jpg', '/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_01_1723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_19_2595.jpg
/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_21_2543.jpg
/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_56_25274.jpg
/home/pi/Desktop/images/04112025/13/53/image_04112025_13_53_58_1552.jpg
/home/pi/Desktop/images/04112025/13/53/image_04112025_13_54_00_1591.jpg
/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_01_1723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365197","1399365194","1399365193","1399365196","1399365195","1399365180"],"photo_ids_order":["1399365180","1399365193","1399365194","1399365195","1399365196","1399365197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/673c90864db3380c29f3cbbbd9753731.jpg","text":"TemporaryFile(/tmp/multipartBody1508682150515314879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725882549,"filename":"image_04112025_13_54_01_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b246e0c294187458345472004e10c76.jpg","text":"TemporaryFile(/tmp/multipartBody3289446750640004004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725882549,"filename":"image_04112025_13_53_56_25274.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c68280802b46d6c502410eb40e86125.jpg","text":"TemporaryFile(/tmp/multipartBody4353160436391875858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725882549,"filename":"image_04112025_13_53_21_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14091c47a06031579eda7e41349912dc.jpg","text":"TemporaryFile(/tmp/multipartBody95311731454298048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725882549,"filename":"image_04112025_13_54_00_1591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/450717bc0a79f3c154e9baaa28534cec.jpg","text":"TemporaryFile(/tmp/multipartBody6758013879439988480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725882549,"filename":"image_04112025_13_53_58_1552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b44e70614dee7a1221f3b47514a2ce43.jpg","text":"TemporaryFile(/tmp/multipartBody2909573651830347187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725882549,"filename":"image_04112025_13_53_19_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365194","file1":"1399365193","file0":"1399365180","file4":"1399365196","file5":"1399365197","file3":"1399365195"},"map_files_photo_id_array":[{"photo_id":"1399365197","filename":"file5"},{"photo_id":"1399365194","filename":"file2"},{"photo_id":"1399365196","filename":"file4"},{"photo_id":"1399365193","filename":"file1"},{"photo_id":"1399365180","filename":"file0"},{"photo_id":"1399365195","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365197":["hashtag1","hashtag2"]},{"1399365194":["hashtag1","hashtag2"]},{"1399365193":["hashtag1","hashtag2"]},{"1399365196":["hashtag1","hashtag2"]},{"1399365195":["hashtag1","hashtag2"]},{"1399365180":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365197, 1399365194, 1399365193, 1399365196, 1399365195, 1399365180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15715217590332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:24:22.191279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/21/image_14122025_16_21_55_9811.jpg', '/home/pi/Desktop/images/14122025/16/22/image_14122025_16_22_14_9726.jpg', '/home/pi/Desktop/images/14122025/16/22/image_14122025_16_22_25_10659.jpg', '/home/pi/Desktop/images/14122025/16/22/image_14122025_16_22_35_9725.jpg', '/home/pi/Desktop/images/14122025/16/22/image_14122025_16_22_44_9703.jpg', '/home/pi/Desktop/images/14122025/16/22/image_14122025_16_22_55_10814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/21/image_14122025_16_21_55_9811.jpg
/home/pi/Desktop/images/14122025/16/22/image_14122025_16_22_14_9726.jpg
/home/pi/Desktop/images/14122025/16/22/image_14122025_16_22_25_10659.jpg
/home/pi/Desktop/images/14122025/16/22/image_14122025_16_22_35_9725.jpg
/home/pi/Desktop/images/14122025/16/22/image_14122025_16_22_44_9703.jpg
/home/pi/Desktop/images/14122025/16/22/image_14122025_16_22_55_10814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365198","1399365201","1399365209","1399365203","1399365199","1399365205"],"photo_ids_order":["1399365198","1399365199","1399365201","1399365203","1399365205","1399365209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ff6776e30e081177c7222f2ea2efa36.jpg","text":"TemporaryFile(/tmp/multipartBody8781847574491771409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725922826,"filename":"image_14122025_16_21_55_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36c41d5da1d925c514f2bdca1d5fa86c.jpg","text":"TemporaryFile(/tmp/multipartBody3116010771426382697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725922826,"filename":"image_14122025_16_22_25_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fa6a2a9180bd5c24963795849bd2232d.jpg","text":"TemporaryFile(/tmp/multipartBody8487460294379205954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725922826,"filename":"image_14122025_16_22_55_10814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/97046cb72d5031b791e5917502c65465.jpg","text":"TemporaryFile(/tmp/multipartBody6640209278131982951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725922826,"filename":"image_14122025_16_22_35_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/796b3435d998d4f5e74725c040c79e66.jpg","text":"TemporaryFile(/tmp/multipartBody6500096622890292584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725922826,"filename":"image_14122025_16_22_14_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f87ff2fe74212bf5ffeaad9aa6afaff.jpg","text":"TemporaryFile(/tmp/multipartBody5388254771479888694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725922826,"filename":"image_14122025_16_22_44_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365201","file1":"1399365199","file0":"1399365198","file4":"1399365205","file5":"1399365209","file3":"1399365203"},"map_files_photo_id_array":[{"photo_id":"1399365209","filename":"file5"},{"photo_id":"1399365201","filename":"file2"},{"photo_id":"1399365205","filename":"file4"},{"photo_id":"1399365199","filename":"file1"},{"photo_id":"1399365198","filename":"file0"},{"photo_id":"1399365203","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365198":["hashtag1","hashtag2"]},{"1399365201":["hashtag1","hashtag2"]},{"1399365209":["hashtag1","hashtag2"]},{"1399365203":["hashtag1","hashtag2"]},{"1399365199":["hashtag1","hashtag2"]},{"1399365205":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365198, 1399365201, 1399365209, 1399365203, 1399365199, 1399365205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.547022342681885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:25:03.155299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/22/image_14122025_16_23_05_9624.jpg', '/home/pi/Desktop/images/14122025/16/23/image_14122025_16_23_14_9706.jpg', '/home/pi/Desktop/images/14122025/16/23/image_14122025_16_23_24_9797.jpg', '/home/pi/Desktop/images/14122025/16/23/image_14122025_16_23_35_10740.jpg', '/home/pi/Desktop/images/14122025/16/23/image_14122025_16_23_45_9720.jpg', '/home/pi/Desktop/images/14122025/16/23/image_14122025_16_23_55_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/22/image_14122025_16_23_05_9624.jpg
/home/pi/Desktop/images/14122025/16/23/image_14122025_16_23_14_9706.jpg
/home/pi/Desktop/images/14122025/16/23/image_14122025_16_23_24_9797.jpg
/home/pi/Desktop/images/14122025/16/23/image_14122025_16_23_35_10740.jpg
/home/pi/Desktop/images/14122025/16/23/image_14122025_16_23_45_9720.jpg
/home/pi/Desktop/images/14122025/16/23/image_14122025_16_23_55_9768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365219","1399365215","1399365218","1399365220","1399365223","1399365217"],"photo_ids_order":["1399365215","1399365217","1399365218","1399365219","1399365220","1399365223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb004e4a4ae439e4f1f248003727a162.jpg","text":"TemporaryFile(/tmp/multipartBody1008051148620635799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725963839,"filename":"image_14122025_16_23_35_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4cc7d02463b204aa858ee6189612ea99.jpg","text":"TemporaryFile(/tmp/multipartBody1637680048954955573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725963839,"filename":"image_14122025_16_23_05_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b2e660759c1b735d7738a26661945a9e.jpg","text":"TemporaryFile(/tmp/multipartBody365756646679859540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725963839,"filename":"image_14122025_16_23_24_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dcde4dbf5c7316bbe0bc6b8d2d63e951.jpg","text":"TemporaryFile(/tmp/multipartBody3565835517757010840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725963839,"filename":"image_14122025_16_23_45_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6eade3697a37f076965ea8abe0928d4b.jpg","text":"TemporaryFile(/tmp/multipartBody6028535510688189551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725963839,"filename":"image_14122025_16_23_55_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7e43ece4592a18df65d451a4eeeece3e.jpg","text":"TemporaryFile(/tmp/multipartBody4400473881933272908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765725963839,"filename":"image_14122025_16_23_14_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365218","file1":"1399365217","file0":"1399365215","file4":"1399365220","file5":"1399365223","file3":"1399365219"},"map_files_photo_id_array":[{"photo_id":"1399365223","filename":"file5"},{"photo_id":"1399365218","filename":"file2"},{"photo_id":"1399365220","filename":"file4"},{"photo_id":"1399365217","filename":"file1"},{"photo_id":"1399365215","filename":"file0"},{"photo_id":"1399365219","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365219":["hashtag1","hashtag2"]},{"1399365215":["hashtag1","hashtag2"]},{"1399365218":["hashtag1","hashtag2"]},{"1399365220":["hashtag1","hashtag2"]},{"1399365223":["hashtag1","hashtag2"]},{"1399365217":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365219, 1399365215, 1399365218, 1399365220, 1399365223, 1399365217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77073860168457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:25:42.384717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_03_1612.jpg', '/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_04_1612.jpg', '/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_06_1705.jpg', '/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_08_1514.jpg', '/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_11_1651.jpg', '/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_13_1696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_03_1612.jpg
/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_04_1612.jpg
/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_06_1705.jpg
/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_08_1514.jpg
/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_11_1651.jpg
/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_13_1696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365231","1399365234","1399365233","1399365227","1399365232","1399365235"],"photo_ids_order":["1399365227","1399365231","1399365232","1399365233","1399365234","1399365235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/778ba7f761a447ed53f3600e2ed91ca8.jpg","text":"TemporaryFile(/tmp/multipartBody6107857521380654595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726003031,"filename":"image_04112025_13_54_04_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6fe8de10eeb6132eb9b68852f0cf6135.jpg","text":"TemporaryFile(/tmp/multipartBody1349929975011379560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726003031,"filename":"image_04112025_13_54_11_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6de353c5c95101c9d6ba40c22ddc9259.jpg","text":"TemporaryFile(/tmp/multipartBody3344268227991726662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726003031,"filename":"image_04112025_13_54_08_1514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/817a8f1fa68a98c094befa0fb74afe7c.jpg","text":"TemporaryFile(/tmp/multipartBody3184451826281848625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726003031,"filename":"image_04112025_13_54_03_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e078871092d9fe4d7e0c4196436a2293.jpg","text":"TemporaryFile(/tmp/multipartBody8016638123876152934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726003031,"filename":"image_04112025_13_54_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/12/14/5b3a7b21bdb65c1c6bbe05233fcc85bc.jpg","text":"TemporaryFile(/tmp/multipartBody5691256751375556116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726003031,"filename":"image_04112025_13_54_13_1696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365232","file1":"1399365231","file0":"1399365227","file4":"1399365234","file5":"1399365235","file3":"1399365233"},"map_files_photo_id_array":[{"photo_id":"1399365235","filename":"file5"},{"photo_id":"1399365232","filename":"file2"},{"photo_id":"1399365234","filename":"file4"},{"photo_id":"1399365231","filename":"file1"},{"photo_id":"1399365227","filename":"file0"},{"photo_id":"1399365233","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365231":["hashtag1","hashtag2"]},{"1399365234":["hashtag1","hashtag2"]},{"1399365233":["hashtag1","hashtag2"]},{"1399365227":["hashtag1","hashtag2"]},{"1399365232":["hashtag1","hashtag2"]},{"1399365235":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365231, 1399365234, 1399365233, 1399365227, 1399365232, 1399365235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90155577659607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:26:22.761447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/23/image_14122025_16_24_04_9759.jpg', '/home/pi/Desktop/images/14122025/16/24/image_14122025_16_24_15_10645.jpg', '/home/pi/Desktop/images/14122025/16/24/image_14122025_16_24_25_9735.jpg', '/home/pi/Desktop/images/14122025/16/24/image_14122025_16_24_34_9770.jpg', '/home/pi/Desktop/images/14122025/16/24/image_14122025_16_24_45_10079.jpg', '/home/pi/Desktop/images/14122025/16/24/image_14122025_16_24_55_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/23/image_14122025_16_24_04_9759.jpg
/home/pi/Desktop/images/14122025/16/24/image_14122025_16_24_15_10645.jpg
/home/pi/Desktop/images/14122025/16/24/image_14122025_16_24_25_9735.jpg
/home/pi/Desktop/images/14122025/16/24/image_14122025_16_24_34_9770.jpg
/home/pi/Desktop/images/14122025/16/24/image_14122025_16_24_45_10079.jpg
/home/pi/Desktop/images/14122025/16/24/image_14122025_16_24_55_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":["1399365243","1399365237","1399365246","1399365239","1399365244","1399365241"],"photo_ids_order":["1399365237","1399365239","1399365241","1399365243","1399365244","1399365246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/228578d5712455c7b86627679ae4c830.jpg","text":"TemporaryFile(/tmp/multipartBody1291744251041300420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726043400,"filename":"image_14122025_16_24_34_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e8ff9a2528aa3d929c86d8cc51fa31bf.jpg","text":"TemporaryFile(/tmp/multipartBody1136772284117283241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726043400,"filename":"image_14122025_16_24_04_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1262f50147418afbdcf07c8dfac7fff5.jpg","text":"TemporaryFile(/tmp/multipartBody2746086034291652368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726043400,"filename":"image_14122025_16_24_55_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f6101dfb8cd55bcaf6292fe93defeaf8.jpg","text":"TemporaryFile(/tmp/multipartBody6842102450840790254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726043400,"filename":"image_14122025_16_24_15_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/60f5dda6dece3b9c3f2455d21c06a4e2.jpg","text":"TemporaryFile(/tmp/multipartBody9020018486063734141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726043400,"filename":"image_14122025_16_24_45_10079.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2de15bc194805661b28edc0b7fa0361c.jpg","text":"TemporaryFile(/tmp/multipartBody4061710751101491014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726043400,"filename":"image_14122025_16_24_25_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365241","file1":"1399365239","file0":"1399365237","file4":"1399365244","file5":"1399365246","file3":"1399365243"},"map_files_photo_id_array":[{"photo_id":"1399365246","filename":"file5"},{"photo_id":"1399365241","filename":"file2"},{"photo_id":"1399365244","filename":"file4"},{"photo_id":"1399365239","filename":"file1"},{"photo_id":"1399365237","filename":"file0"},{"photo_id":"1399365243","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365243":["hashtag1","hashtag2"]},{"1399365237":["hashtag1","hashtag2"]},{"1399365246":["hashtag1","hashtag2"]},{"1399365239":["hashtag1","hashtag2"]},{"1399365244":["hashtag1","hashtag2"]},{"1399365241":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365243, 1399365237, 1399365246, 1399365239, 1399365244, 1399365241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30893015861511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:27:02.356771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/25/image_14122025_16_25_14_10053.jpg', '/home/pi/Desktop/images/14122025/16/25/image_14122025_16_25_34_9800.jpg', '/home/pi/Desktop/images/14122025/16/25/image_14122025_16_25_54_9818.jpg', '/home/pi/Desktop/images/14122025/16/25/image_14122025_16_26_04_10747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/25/image_14122025_16_25_14_10053.jpg
/home/pi/Desktop/images/14122025/16/25/image_14122025_16_25_34_9800.jpg
/home/pi/Desktop/images/14122025/16/25/image_14122025_16_25_54_9818.jpg
/home/pi/Desktop/images/14122025/16/25/image_14122025_16_26_04_10747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365252","1399365251","1399365254","1399365253"],"photo_ids_order":["1399365251","1399365252","1399365253","1399365254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd49b94d03551f636a72b0b40e90fab4.jpg","text":"TemporaryFile(/tmp/multipartBody1170295855992275119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726082957,"filename":"image_14122025_16_25_34_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/335bb6c47ac7fd37a74bcbe6df393bbe.jpg","text":"TemporaryFile(/tmp/multipartBody8996209208070404740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726082957,"filename":"image_14122025_16_25_14_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7e138eeedfbcfa7bcd6a8704d28bbe6a.jpg","text":"TemporaryFile(/tmp/multipartBody4476268422842765323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726082957,"filename":"image_14122025_16_26_04_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fddac2437e9c237be98dc67af61bd4b4.jpg","text":"TemporaryFile(/tmp/multipartBody3276562699874309226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726082957,"filename":"image_14122025_16_25_54_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365253","file1":"1399365252","file0":"1399365251","file3":"1399365254"},"map_files_photo_id_array":[{"photo_id":"1399365253","filename":"file2"},{"photo_id":"1399365252","filename":"file1"},{"photo_id":"1399365251","filename":"file0"},{"photo_id":"1399365254","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365252":["hashtag1","hashtag2"]},{"1399365251":["hashtag1","hashtag2"]},{"1399365254":["hashtag1","hashtag2"]},{"1399365253":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365252, 1399365251, 1399365254, 1399365253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.805492639541626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:27:31.871892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:27:41.762202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_14_1617.jpg', '/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_16_1690.jpg', '/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_17_1542.jpg', '/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_19_1569.jpg', '/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_21_1657.jpg', '/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_22_1645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_14_1617.jpg
/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_16_1690.jpg
/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_17_1542.jpg
/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_19_1569.jpg
/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_21_1657.jpg
/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_22_1645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365264","1399365263","1399365266","1399365260","1399365265","1399365267"],"photo_ids_order":["1399365260","1399365263","1399365264","1399365265","1399365266","1399365267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4bf31122892cf134140908d9bb1a1d48.jpg","text":"TemporaryFile(/tmp/multipartBody4915039685416972007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726122401,"filename":"image_04112025_13_54_17_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d778eaff390c99c16e7a22588e1a7d3.jpg","text":"TemporaryFile(/tmp/multipartBody6796607132571825243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726122401,"filename":"image_04112025_13_54_16_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/42ec22db655433f15d4836a473381f4e.jpg","text":"TemporaryFile(/tmp/multipartBody6515451009895650810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726122401,"filename":"image_04112025_13_54_21_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/39c110b0d0b10c23ca8752bc60024de6.jpg","text":"TemporaryFile(/tmp/multipartBody4399174389585943646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726122401,"filename":"image_04112025_13_54_14_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f376698e6f0897f181c6c23f07289697.jpg","text":"TemporaryFile(/tmp/multipartBody7229216892155077346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726122401,"filename":"image_04112025_13_54_19_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7549f1690d605838f392c145e9f9f4c6.jpg","text":"TemporaryFile(/tmp/multipartBody4659570872905889036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726122401,"filename":"image_04112025_13_54_22_1645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365264","file1":"1399365263","file0":"1399365260","file4":"1399365266","file5":"1399365267","file3":"1399365265"},"map_files_photo_id_array":[{"photo_id":"1399365267","filename":"file5"},{"photo_id":"1399365264","filename":"file2"},{"photo_id":"1399365266","filename":"file4"},{"photo_id":"1399365263","filename":"file1"},{"photo_id":"1399365260","filename":"file0"},{"photo_id":"1399365265","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365264":["hashtag1","hashtag2"]},{"1399365263":["hashtag1","hashtag2"]},{"1399365266":["hashtag1","hashtag2"]},{"1399365260":["hashtag1","hashtag2"]},{"1399365265":["hashtag1","hashtag2"]},{"1399365267":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365264, 1399365263, 1399365266, 1399365260, 1399365265, 1399365267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27975416183472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:28:22.032337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/26/image_14122025_16_26_44_9783.jpg', '/home/pi/Desktop/images/14122025/16/27/image_14122025_16_28_04_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/26/image_14122025_16_26_44_9783.jpg
/home/pi/Desktop/images/14122025/16/27/image_14122025_16_28_04_9798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365269","1399365268"],"photo_ids_order":["1399365268","1399365269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1198816d16dd3e0a891e56d918e4638.jpg","text":"TemporaryFile(/tmp/multipartBody9100464216249640656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726162501,"filename":"image_14122025_16_28_04_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/41e6aa23626cefcd343af7d1abe6dc5d.jpg","text":"TemporaryFile(/tmp/multipartBody3126280149163712012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726162501,"filename":"image_14122025_16_26_44_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399365269","file0":"1399365268"},"map_files_photo_id_array":[{"photo_id":"1399365269","filename":"file1"},{"photo_id":"1399365268","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365269":["hashtag1","hashtag2"]},{"1399365268":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365269, 1399365268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.96931529045105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:28:42.057636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_36_13660.jpg', '/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_38_1657.jpg', '/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_39_1590.jpg', '/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_41_1647.jpg', '/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_53_11662.jpg', '/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_54_1852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_36_13660.jpg
/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_38_1657.jpg
/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_39_1590.jpg
/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_41_1647.jpg
/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_53_11662.jpg
/home/pi/Desktop/images/04112025/13/54/image_04112025_13_54_54_1852.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365281","1399365287","1399365275","1399365283","1399365285","1399365279"],"photo_ids_order":["1399365275","1399365279","1399365281","1399365283","1399365285","1399365287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c8b6147efa6a5b3a86e91b7ad36d6bb.jpg","text":"TemporaryFile(/tmp/multipartBody2717364375147295980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726182690,"filename":"image_04112025_13_54_39_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63586e0f367a0dff11122ba10b2553a2.jpg","text":"TemporaryFile(/tmp/multipartBody687846641892023784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726182690,"filename":"image_04112025_13_54_54_1852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/09e144953dfb610afc335647a0d2e4f5.jpg","text":"TemporaryFile(/tmp/multipartBody1894744301573577934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726182690,"filename":"image_04112025_13_54_36_13660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f392c63f098615402f9fc124eed577f5.jpg","text":"TemporaryFile(/tmp/multipartBody2338605438791489430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726182690,"filename":"image_04112025_13_54_41_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd03f5b6267ba63a17b278ffc7d752fc.jpg","text":"TemporaryFile(/tmp/multipartBody3108330889310447334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726182690,"filename":"image_04112025_13_54_53_11662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ccfe72b306898598e97011df32e5ad7.jpg","text":"TemporaryFile(/tmp/multipartBody514345329716608147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726182690,"filename":"image_04112025_13_54_38_1657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365281","file1":"1399365279","file0":"1399365275","file4":"1399365285","file5":"1399365287","file3":"1399365283"},"map_files_photo_id_array":[{"photo_id":"1399365287","filename":"file5"},{"photo_id":"1399365281","filename":"file2"},{"photo_id":"1399365285","filename":"file4"},{"photo_id":"1399365279","filename":"file1"},{"photo_id":"1399365275","filename":"file0"},{"photo_id":"1399365283","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365281":["hashtag1","hashtag2"]},{"1399365287":["hashtag1","hashtag2"]},{"1399365275":["hashtag1","hashtag2"]},{"1399365283":["hashtag1","hashtag2"]},{"1399365285":["hashtag1","hashtag2"]},{"1399365279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365281, 1399365287, 1399365275, 1399365283, 1399365285, 1399365279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.290204763412476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:29:22.329672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/28/image_14122025_16_28_25_10751.jpg', '/home/pi/Desktop/images/14122025/16/28/image_14122025_16_29_04_10635.jpg', '/home/pi/Desktop/images/14122025/16/29/image_14122025_16_29_14_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/28/image_14122025_16_28_25_10751.jpg
/home/pi/Desktop/images/14122025/16/28/image_14122025_16_29_04_10635.jpg
/home/pi/Desktop/images/14122025/16/29/image_14122025_16_29_14_9626.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39436984062194824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:29:32.304379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:29:42.271786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_04_9764.jpg', '/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_06_1521.jpg', '/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_08_1822.jpg', '/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_09_1628.jpg', '/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_27_18252.jpg', '/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_30_3044.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_04_9764.jpg
/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_06_1521.jpg
/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_08_1822.jpg
/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_09_1628.jpg
/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_27_18252.jpg
/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_30_3044.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365303","1399365312","1399365315","1399365314","1399365313","1399365297"],"photo_ids_order":["1399365297","1399365303","1399365312","1399365313","1399365314","1399365315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0e3fbcc0ec43377a52cb54d28c895cf3.jpg","text":"TemporaryFile(/tmp/multipartBody2551791859363819565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726242941,"filename":"image_04112025_13_55_06_1521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/297257b6bb11bd0679e66506c1845f08.jpg","text":"TemporaryFile(/tmp/multipartBody3597266662273491586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726242941,"filename":"image_04112025_13_55_08_1822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb0a1563d5490b22dc999b54b195c0f5.jpg","text":"TemporaryFile(/tmp/multipartBody7880794691082381735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726242941,"filename":"image_04112025_13_55_30_3044.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a71ebc618f607a6918564494b3329249.jpg","text":"TemporaryFile(/tmp/multipartBody3561490370991082911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726242941,"filename":"image_04112025_13_55_27_18252.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d8c2d8399a067ea0330a0dc11bc7f92a.jpg","text":"TemporaryFile(/tmp/multipartBody6133961117953650862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726242941,"filename":"image_04112025_13_55_09_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d8c70a26cb1cedafd998127b7b5bd4a0.jpg","text":"TemporaryFile(/tmp/multipartBody1267693680512404651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726242941,"filename":"image_04112025_13_55_04_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365312","file1":"1399365303","file0":"1399365297","file4":"1399365314","file5":"1399365315","file3":"1399365313"},"map_files_photo_id_array":[{"photo_id":"1399365315","filename":"file5"},{"photo_id":"1399365312","filename":"file2"},{"photo_id":"1399365314","filename":"file4"},{"photo_id":"1399365303","filename":"file1"},{"photo_id":"1399365297","filename":"file0"},{"photo_id":"1399365313","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365303":["hashtag1","hashtag2"]},{"1399365312":["hashtag1","hashtag2"]},{"1399365315":["hashtag1","hashtag2"]},{"1399365314":["hashtag1","hashtag2"]},{"1399365313":["hashtag1","hashtag2"]},{"1399365297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365303, 1399365312, 1399365315, 1399365314, 1399365313, 1399365297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73169016838074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:30:22.562005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/28/image_14122025_16_28_25_10751.jpg', '/home/pi/Desktop/images/14122025/16/28/image_14122025_16_29_04_10635.jpg', '/home/pi/Desktop/images/14122025/16/29/image_14122025_16_29_14_9626.jpg', '/home/pi/Desktop/images/14122025/16/29/image_14122025_16_29_44_9856.jpg', '/home/pi/Desktop/images/14122025/16/30/image_14122025_16_30_14_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/28/image_14122025_16_28_25_10751.jpg
/home/pi/Desktop/images/14122025/16/28/image_14122025_16_29_04_10635.jpg
/home/pi/Desktop/images/14122025/16/29/image_14122025_16_29_14_9626.jpg
/home/pi/Desktop/images/14122025/16/29/image_14122025_16_29_44_9856.jpg
/home/pi/Desktop/images/14122025/16/30/image_14122025_16_30_14_10056.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365324","1399365318","1399365320","1399365317","1399365322"],"photo_ids_order":["1399365317","1399365318","1399365320","1399365322","1399365324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/156598a496bc69cba84112f1ef5c20a9.jpg","text":"TemporaryFile(/tmp/multipartBody3042419256255677726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726283143,"filename":"image_14122025_16_30_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e5f8233bec4eca16717158d72cac634.jpg","text":"TemporaryFile(/tmp/multipartBody6759571760368749392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726283143,"filename":"image_14122025_16_29_04_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b8251e557eb7ae68ffc2bba8ce5ce4bd.jpg","text":"TemporaryFile(/tmp/multipartBody242359362660826299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726283143,"filename":"image_14122025_16_29_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b44acf1a195cdae8e6edfc14924dec8.jpg","text":"TemporaryFile(/tmp/multipartBody9196105177444940393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726283143,"filename":"image_14122025_16_28_25_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2723bfe9b74d69fae7cb0998934bb60.jpg","text":"TemporaryFile(/tmp/multipartBody3940632785319304166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726283143,"filename":"image_14122025_16_29_44_9856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365320","file1":"1399365318","file0":"1399365317","file4":"1399365324","file3":"1399365322"},"map_files_photo_id_array":[{"photo_id":"1399365320","filename":"file2"},{"photo_id":"1399365324","filename":"file4"},{"photo_id":"1399365318","filename":"file1"},{"photo_id":"1399365317","filename":"file0"},{"photo_id":"1399365322","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365324":["hashtag1","hashtag2"]},{"1399365318":["hashtag1","hashtag2"]},{"1399365320":["hashtag1","hashtag2"]},{"1399365317":["hashtag1","hashtag2"]},{"1399365322":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365324, 1399365318, 1399365320, 1399365317, 1399365322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.206717491149902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:31:03.475150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:31:12.684360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:31:22.841181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/30/image_14122025_16_30_44_9824.jpg', '/home/pi/Desktop/images/14122025/16/30/image_14122025_16_31_05_9694.jpg', '/home/pi/Desktop/images/14122025/16/31/image_14122025_16_31_25_10609.jpg', '/home/pi/Desktop/images/14122025/16/31/image_14122025_16_31_35_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/30/image_14122025_16_30_44_9824.jpg
/home/pi/Desktop/images/14122025/16/30/image_14122025_16_31_05_9694.jpg
/home/pi/Desktop/images/14122025/16/31/image_14122025_16_31_25_10609.jpg
/home/pi/Desktop/images/14122025/16/31/image_14122025_16_31_35_9746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365333","1399365335","1399365329","1399365331"],"photo_ids_order":["1399365329","1399365331","1399365333","1399365335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5011186ee98fff686b6feddadbb25d98.jpg","text":"TemporaryFile(/tmp/multipartBody3405608392081595181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726343379,"filename":"image_14122025_16_31_25_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/68e2e61f41b9ceb712570e35ab384167.jpg","text":"TemporaryFile(/tmp/multipartBody3935635603989667015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726343379,"filename":"image_14122025_16_31_35_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf478b7725b880a9093e2dea25fa41a6.jpg","text":"TemporaryFile(/tmp/multipartBody3706811435576538991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726343379,"filename":"image_14122025_16_30_44_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/293f6bddbfefd4649775140af084ccb6.jpg","text":"TemporaryFile(/tmp/multipartBody5619713528783401498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726343379,"filename":"image_14122025_16_31_05_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365333","file1":"1399365331","file0":"1399365329","file3":"1399365335"},"map_files_photo_id_array":[{"photo_id":"1399365333","filename":"file2"},{"photo_id":"1399365331","filename":"file1"},{"photo_id":"1399365329","filename":"file0"},{"photo_id":"1399365335","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365333":["hashtag1","hashtag2"]},{"1399365335":["hashtag1","hashtag2"]},{"1399365329":["hashtag1","hashtag2"]},{"1399365331":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365333, 1399365335, 1399365329, 1399365331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.65083956718445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:32:02.426112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:32:11.970320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:32:22.036986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/31/image_14122025_16_31_44_9599.jpg', '/home/pi/Desktop/images/14122025/16/32/image_14122025_16_32_24_9674.jpg', '/home/pi/Desktop/images/14122025/16/32/image_14122025_16_32_35_10816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/31/image_14122025_16_31_44_9599.jpg
/home/pi/Desktop/images/14122025/16/32/image_14122025_16_32_24_9674.jpg
/home/pi/Desktop/images/14122025/16/32/image_14122025_16_32_35_10816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365342","1399365338","1399365340"],"photo_ids_order":["1399365338","1399365340","1399365342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e18f7bc14a4869de47f5313fa0eb7f4.jpg","text":"TemporaryFile(/tmp/multipartBody6597605028720888877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726402529,"filename":"image_14122025_16_32_35_10816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0dfc776386c0f1f34358b81c8e52d779.jpg","text":"TemporaryFile(/tmp/multipartBody3826533769475203411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726402529,"filename":"image_14122025_16_31_44_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1074aefb60bc06e2e566558de94a056b.jpg","text":"TemporaryFile(/tmp/multipartBody7789551347964335039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726402529,"filename":"image_14122025_16_32_24_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365342","file1":"1399365340","file0":"1399365338"},"map_files_photo_id_array":[{"photo_id":"1399365342","filename":"file2"},{"photo_id":"1399365340","filename":"file1"},{"photo_id":"1399365338","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365342":["hashtag1","hashtag2"]},{"1399365338":["hashtag1","hashtag2"]},{"1399365340":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365342, 1399365338, 1399365340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.312284469604492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:33:02.772604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:33:12.097245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:33:22.213665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/32/image_14122025_16_32_54_9781.jpg', '/home/pi/Desktop/images/14122025/16/32/image_14122025_16_33_05_10700.jpg', '/home/pi/Desktop/images/14122025/16/33/image_14122025_16_33_15_9720.jpg', '/home/pi/Desktop/images/14122025/16/33/image_14122025_16_33_25_9710.jpg', '/home/pi/Desktop/images/14122025/16/33/image_14122025_16_33_45_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/32/image_14122025_16_32_54_9781.jpg
/home/pi/Desktop/images/14122025/16/32/image_14122025_16_33_05_10700.jpg
/home/pi/Desktop/images/14122025/16/33/image_14122025_16_33_15_9720.jpg
/home/pi/Desktop/images/14122025/16/33/image_14122025_16_33_25_9710.jpg
/home/pi/Desktop/images/14122025/16/33/image_14122025_16_33_45_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365363","1399365357","1399365365","1399365359","1399365361"],"photo_ids_order":["1399365357","1399365359","1399365361","1399365363","1399365365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/65005965e1ca5e97100cd3257b8cfb6d.jpg","text":"TemporaryFile(/tmp/multipartBody4993681246039658494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726462782,"filename":"image_14122025_16_33_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/12/14/4756838861a082a799476af97311b56d.jpg","text":"TemporaryFile(/tmp/multipartBody8061500495940751478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726462782,"filename":"image_14122025_16_32_54_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9126ef2cdaefe6ddd5682e75ff7d65e.jpg","text":"TemporaryFile(/tmp/multipartBody22670766309626906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726462782,"filename":"image_14122025_16_33_45_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cad26e73692bf34306e974e934caf6b7.jpg","text":"TemporaryFile(/tmp/multipartBody5552546407698293759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726462782,"filename":"image_14122025_16_33_05_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bc08bfdf0266d1e963042cbbee25cc8d.jpg","text":"TemporaryFile(/tmp/multipartBody2414899128489227112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726462782,"filename":"image_14122025_16_33_15_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365361","file1":"1399365359","file0":"1399365357","file4":"1399365365","file3":"1399365363"},"map_files_photo_id_array":[{"photo_id":"1399365361","filename":"file2"},{"photo_id":"1399365365","filename":"file4"},{"photo_id":"1399365359","filename":"file1"},{"photo_id":"1399365357","filename":"file0"},{"photo_id":"1399365363","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365363":["hashtag1","hashtag2"]},{"1399365357":["hashtag1","hashtag2"]},{"1399365365":["hashtag1","hashtag2"]},{"1399365359":["hashtag1","hashtag2"]},{"1399365361":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365363, 1399365357, 1399365365, 1399365359, 1399365361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.13069462776184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:34:02.913096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:34:12.369711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:34:22.571198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/33/image_14122025_16_33_54_9609.jpg', '/home/pi/Desktop/images/14122025/16/34/image_14122025_16_34_15_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/33/image_14122025_16_33_54_9609.jpg
/home/pi/Desktop/images/14122025/16/34/image_14122025_16_34_15_10679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365371","1399365370"],"photo_ids_order":["1399365370","1399365371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/25cfce1c2009411aaacef67a5d5cf1a0.jpg","text":"TemporaryFile(/tmp/multipartBody7963930281917857178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726523034,"filename":"image_14122025_16_34_15_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c2fc48b69e9f0e4d27303c1ceccb698.jpg","text":"TemporaryFile(/tmp/multipartBody5813518996293667504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726523034,"filename":"image_14122025_16_33_54_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399365371","file0":"1399365370"},"map_files_photo_id_array":[{"photo_id":"1399365371","filename":"file1"},{"photo_id":"1399365370","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365371":["hashtag1","hashtag2"]},{"1399365370":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365371, 1399365370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.86115026473999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:34:42.330285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_32_1644.jpg', '/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_34_1647.jpg', '/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_35_1573.jpg', '/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_37_1718.jpg', '/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_39_1619.jpg', '/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_40_1549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_32_1644.jpg
/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_34_1647.jpg
/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_35_1573.jpg
/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_37_1718.jpg
/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_39_1619.jpg
/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_40_1549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365381","1399365375","1399365383","1399365385","1399365379","1399365387"],"photo_ids_order":["1399365375","1399365379","1399365381","1399365383","1399365385","1399365387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69f5d6871da5c10fb3c0c2cbb093e06e.jpg","text":"TemporaryFile(/tmp/multipartBody7902190338844734207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726542981,"filename":"image_04112025_13_55_35_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b8e7bfac236eec69085c4d910edce52f.jpg","text":"TemporaryFile(/tmp/multipartBody1132185052305488841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726542981,"filename":"image_04112025_13_55_32_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b7535affe74d8b93e9c67ef4263cb5c3.jpg","text":"TemporaryFile(/tmp/multipartBody1292309766954008612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726542981,"filename":"image_04112025_13_55_37_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aef072d2725d7a28573d13dcc078f685.jpg","text":"TemporaryFile(/tmp/multipartBody2865574467736278646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726542981,"filename":"image_04112025_13_55_39_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f466a57819e9a3535635fe401fd560d.jpg","text":"TemporaryFile(/tmp/multipartBody860839748913116422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726542981,"filename":"image_04112025_13_55_34_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/041cf1342ef4cf33689b7a7088122e05.jpg","text":"TemporaryFile(/tmp/multipartBody1610773706341819162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726542981,"filename":"image_04112025_13_55_40_1549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365381","file1":"1399365379","file0":"1399365375","file4":"1399365385","file5":"1399365387","file3":"1399365383"},"map_files_photo_id_array":[{"photo_id":"1399365387","filename":"file5"},{"photo_id":"1399365381","filename":"file2"},{"photo_id":"1399365385","filename":"file4"},{"photo_id":"1399365379","filename":"file1"},{"photo_id":"1399365375","filename":"file0"},{"photo_id":"1399365383","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365381":["hashtag1","hashtag2"]},{"1399365375":["hashtag1","hashtag2"]},{"1399365383":["hashtag1","hashtag2"]},{"1399365385":["hashtag1","hashtag2"]},{"1399365379":["hashtag1","hashtag2"]},{"1399365387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365381, 1399365375, 1399365383, 1399365385, 1399365379, 1399365387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.818395376205444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:35:22.540905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_43_3147.jpg', '/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_45_1783.jpg', '/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_47_1722.jpg', '/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_48_1615.jpg', '/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_50_1579.jpg', '/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_52_1557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_43_3147.jpg
/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_45_1783.jpg
/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_47_1722.jpg
/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_48_1615.jpg
/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_50_1579.jpg
/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_52_1557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365398","1399365392","1399365394","1399365388","1399365396","1399365390"],"photo_ids_order":["1399365388","1399365390","1399365392","1399365394","1399365396","1399365398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3e628e784a3046bc4791072127fbcfd5.jpg","text":"TemporaryFile(/tmp/multipartBody178562822291653799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726583182,"filename":"image_04112025_13_55_52_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c6bb44855c916f0437da52b089c9c0c7.jpg","text":"TemporaryFile(/tmp/multipartBody9126143327822029770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726583182,"filename":"image_04112025_13_55_47_1722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0471ddcfc1f6d85a05b2418444eddac0.jpg","text":"TemporaryFile(/tmp/multipartBody4825360025947607164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726583182,"filename":"image_04112025_13_55_48_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6413529112be650cf155afaebb216296.jpg","text":"TemporaryFile(/tmp/multipartBody7058725583830090882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726583182,"filename":"image_04112025_13_55_43_3147.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/06e135f4b78a105ac83c22227cb9cbaf.jpg","text":"TemporaryFile(/tmp/multipartBody6687405749524692921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726583182,"filename":"image_04112025_13_55_50_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/340f587529260592f0dcf2422659bdcf.jpg","text":"TemporaryFile(/tmp/multipartBody6949888784124300052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726583182,"filename":"image_04112025_13_55_45_1783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365392","file1":"1399365390","file0":"1399365388","file4":"1399365396","file5":"1399365398","file3":"1399365394"},"map_files_photo_id_array":[{"photo_id":"1399365398","filename":"file5"},{"photo_id":"1399365392","filename":"file2"},{"photo_id":"1399365396","filename":"file4"},{"photo_id":"1399365390","filename":"file1"},{"photo_id":"1399365388","filename":"file0"},{"photo_id":"1399365394","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365398":["hashtag1","hashtag2"]},{"1399365392":["hashtag1","hashtag2"]},{"1399365394":["hashtag1","hashtag2"]},{"1399365388":["hashtag1","hashtag2"]},{"1399365396":["hashtag1","hashtag2"]},{"1399365390":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365398, 1399365392, 1399365394, 1399365388, 1399365396, 1399365390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.967018127441406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:36:02.546745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:36:11.828235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:36:21.784724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:36:41.880288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:37:02.648072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:37:11.824170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:37:21.941358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/34/image_14122025_16_34_45_10746.jpg', '/home/pi/Desktop/images/14122025/16/36/image_14122025_16_36_14_10039.jpg', '/home/pi/Desktop/images/14122025/16/36/image_14122025_16_36_25_10882.jpg', '/home/pi/Desktop/images/14122025/16/36/image_14122025_16_36_44_9762.jpg', '/home/pi/Desktop/images/14122025/16/36/image_14122025_16_37_05_9637.jpg', '/home/pi/Desktop/images/14122025/16/37/image_14122025_16_37_34_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/34/image_14122025_16_34_45_10746.jpg
/home/pi/Desktop/images/14122025/16/36/image_14122025_16_36_14_10039.jpg
/home/pi/Desktop/images/14122025/16/36/image_14122025_16_36_25_10882.jpg
/home/pi/Desktop/images/14122025/16/36/image_14122025_16_36_44_9762.jpg
/home/pi/Desktop/images/14122025/16/36/image_14122025_16_37_05_9637.jpg
/home/pi/Desktop/images/14122025/16/37/image_14122025_16_37_34_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365426","1399365431","1399365428","1399365419","1399365424","1399365421"],"photo_ids_order":["1399365419","1399365421","1399365424","1399365426","1399365428","1399365431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef833a66d300daeb8efab79f79b72965.jpg","text":"TemporaryFile(/tmp/multipartBody5411687310595241831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726702586,"filename":"image_14122025_16_36_44_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9391cee2ffc596c0af0009db348d4830.jpg","text":"TemporaryFile(/tmp/multipartBody174010028373775591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726702586,"filename":"image_14122025_16_37_34_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8143f72a2c4e2a2796bfe780cb8a9194.jpg","text":"TemporaryFile(/tmp/multipartBody2926718934343627934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726702586,"filename":"image_14122025_16_37_05_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f267e55a757d6fc3f234cb5de059562.jpg","text":"TemporaryFile(/tmp/multipartBody1602320603080661943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726702586,"filename":"image_14122025_16_34_45_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c18de578dc0d2066baba324667ce7f73.jpg","text":"TemporaryFile(/tmp/multipartBody8209999454141665358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726702586,"filename":"image_14122025_16_36_25_10882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc5f44e8ade58fac1e9cf91d929ce4a0.jpg","text":"TemporaryFile(/tmp/multipartBody2456091862192027122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726702586,"filename":"image_14122025_16_36_14_10039.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365424","file1":"1399365421","file0":"1399365419","file4":"1399365428","file5":"1399365431","file3":"1399365426"},"map_files_photo_id_array":[{"photo_id":"1399365431","filename":"file5"},{"photo_id":"1399365424","filename":"file2"},{"photo_id":"1399365428","filename":"file4"},{"photo_id":"1399365421","filename":"file1"},{"photo_id":"1399365419","filename":"file0"},{"photo_id":"1399365426","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365426":["hashtag1","hashtag2"]},{"1399365431":["hashtag1","hashtag2"]},{"1399365428":["hashtag1","hashtag2"]},{"1399365419":["hashtag1","hashtag2"]},{"1399365424":["hashtag1","hashtag2"]},{"1399365421":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365426, 1399365431, 1399365428, 1399365419, 1399365424, 1399365421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.594526529312134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:38:02.479664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:38:12.094031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:38:22.165275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/37/image_14122025_16_37_55_9672.jpg', '/home/pi/Desktop/images/14122025/16/37/image_14122025_16_38_04_9688.jpg', '/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_25_10787.jpg', '/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_35_9792.jpg', '/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_44_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/37/image_14122025_16_37_55_9672.jpg
/home/pi/Desktop/images/14122025/16/37/image_14122025_16_38_04_9688.jpg
/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_25_10787.jpg
/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_35_9792.jpg
/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_44_9677.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.44687461853027344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:38:32.133795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:38:42.089512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_53_1659.jpg', '/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_55_1582.jpg', '/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_58_1624.jpg', '/home/pi/Desktop/images/04112025/13/55/image_04112025_13_56_00_1661.jpg', '/home/pi/Desktop/images/04112025/13/56/image_04112025_13_56_01_1608.jpg', '/home/pi/Desktop/images/04112025/13/56/image_04112025_13_56_03_1687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_53_1659.jpg
/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_55_1582.jpg
/home/pi/Desktop/images/04112025/13/55/image_04112025_13_55_58_1624.jpg
/home/pi/Desktop/images/04112025/13/55/image_04112025_13_56_00_1661.jpg
/home/pi/Desktop/images/04112025/13/56/image_04112025_13_56_01_1608.jpg
/home/pi/Desktop/images/04112025/13/56/image_04112025_13_56_03_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":["1399365456","1399365455","1399365454","1399365457","1399365442","1399365445"],"photo_ids_order":["1399365442","1399365445","1399365454","1399365455","1399365456","1399365457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/65bd21d5008f9cf26e49e806b50040e7.jpg","text":"TemporaryFile(/tmp/multipartBody9204354450825100402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726782722,"filename":"image_04112025_13_56_01_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c90398ca536c85c30cffc156e3cdb02.jpg","text":"TemporaryFile(/tmp/multipartBody4886673800958548764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726782722,"filename":"image_04112025_13_56_00_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/30ac9f53a233ca535bfe26e57d7bce09.jpg","text":"TemporaryFile(/tmp/multipartBody1780408671338096421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726782722,"filename":"image_04112025_13_55_58_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b26c406be0d6b232709afac632be6c04.jpg","text":"TemporaryFile(/tmp/multipartBody196427405173431854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726782722,"filename":"image_04112025_13_56_03_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/921fb4d9f7ff117bffeb632afb1fb6a7.jpg","text":"TemporaryFile(/tmp/multipartBody5917907364896870858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726782722,"filename":"image_04112025_13_55_53_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3090660634c30656dc30a7745f025396.jpg","text":"TemporaryFile(/tmp/multipartBody3854319154764264806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726782722,"filename":"image_04112025_13_55_55_1582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365454","file1":"1399365445","file0":"1399365442","file4":"1399365456","file5":"1399365457","file3":"1399365455"},"map_files_photo_id_array":[{"photo_id":"1399365457","filename":"file5"},{"photo_id":"1399365454","filename":"file2"},{"photo_id":"1399365456","filename":"file4"},{"photo_id":"1399365445","filename":"file1"},{"photo_id":"1399365442","filename":"file0"},{"photo_id":"1399365455","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365456":["hashtag1","hashtag2"]},{"1399365455":["hashtag1","hashtag2"]},{"1399365454":["hashtag1","hashtag2"]},{"1399365457":["hashtag1","hashtag2"]},{"1399365442":["hashtag1","hashtag2"]},{"1399365445":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365456, 1399365455, 1399365454, 1399365457, 1399365442, 1399365445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.451621532440186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:39:22.383387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/37/image_14122025_16_37_55_9672.jpg', '/home/pi/Desktop/images/14122025/16/37/image_14122025_16_38_04_9688.jpg', '/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_25_10787.jpg', '/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_35_9792.jpg', '/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_44_9677.jpg', '/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_54_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/37/image_14122025_16_37_55_9672.jpg
/home/pi/Desktop/images/14122025/16/37/image_14122025_16_38_04_9688.jpg
/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_25_10787.jpg
/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_35_9792.jpg
/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_44_9677.jpg
/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_54_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.5110435485839844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:39:32.346818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:39:42.398268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/56/image_04112025_13_56_05_1485.jpg', '/home/pi/Desktop/images/04112025/13/56/image_04112025_13_56_06_1674.jpg', '/home/pi/Desktop/images/04112025/13/56/image_04112025_13_56_12_5904.jpg', '/home/pi/Desktop/images/04112025/13/56/image_04112025_13_56_14_1781.jpg', '/home/pi/Desktop/images/04112025/13/56/image_04112025_13_56_21_7026.jpg', '/home/pi/Desktop/images/04112025/13/56/image_04112025_13_56_35_14518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/56/image_04112025_13_56_05_1485.jpg
/home/pi/Desktop/images/04112025/13/56/image_04112025_13_56_06_1674.jpg
/home/pi/Desktop/images/04112025/13/56/image_04112025_13_56_12_5904.jpg
/home/pi/Desktop/images/04112025/13/56/image_04112025_13_56_14_1781.jpg
/home/pi/Desktop/images/04112025/13/56/image_04112025_13_56_21_7026.jpg
/home/pi/Desktop/images/04112025/13/56/image_04112025_13_56_35_14518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365474","1399365468","1399365473","1399365472","1399365475","1399365471"],"photo_ids_order":["1399365468","1399365471","1399365472","1399365473","1399365474","1399365475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d1d9bf8895760e9f10ba1f9bb5d8d8ea.jpg","text":"TemporaryFile(/tmp/multipartBody2060842333928782358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726843057,"filename":"image_04112025_13_56_21_7026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/515c97276492af5dd9c21cf69a55abd8.jpg","text":"TemporaryFile(/tmp/multipartBody6871387860645052003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726843057,"filename":"image_04112025_13_56_05_1485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb9f7df2e0f110ee85a1e93589f463ba.jpg","text":"TemporaryFile(/tmp/multipartBody5471453310993016449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726843057,"filename":"image_04112025_13_56_14_1781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fdabe41cf97b98a298bbb8fc0f13e0dd.jpg","text":"TemporaryFile(/tmp/multipartBody7899343207432601252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726843057,"filename":"image_04112025_13_56_12_5904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/15e996915f612627d33c41463f67b298.jpg","text":"TemporaryFile(/tmp/multipartBody7214367309659468845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726843057,"filename":"image_04112025_13_56_35_14518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3458c057273891c1300b011e3e779c30.jpg","text":"TemporaryFile(/tmp/multipartBody8806573587492851820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726843057,"filename":"image_04112025_13_56_06_1674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365472","file1":"1399365471","file0":"1399365468","file4":"1399365474","file5":"1399365475","file3":"1399365473"},"map_files_photo_id_array":[{"photo_id":"1399365475","filename":"file5"},{"photo_id":"1399365472","filename":"file2"},{"photo_id":"1399365474","filename":"file4"},{"photo_id":"1399365471","filename":"file1"},{"photo_id":"1399365468","filename":"file0"},{"photo_id":"1399365473","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365474":["hashtag1","hashtag2"]},{"1399365468":["hashtag1","hashtag2"]},{"1399365473":["hashtag1","hashtag2"]},{"1399365472":["hashtag1","hashtag2"]},{"1399365475":["hashtag1","hashtag2"]},{"1399365471":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365474, 1399365468, 1399365473, 1399365472, 1399365475, 1399365471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98877692222595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:40:22.659402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/37/image_14122025_16_37_55_9672.jpg', '/home/pi/Desktop/images/14122025/16/37/image_14122025_16_38_04_9688.jpg', '/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_25_10787.jpg', '/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_35_9792.jpg', '/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_44_9677.jpg', '/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_54_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/37/image_14122025_16_37_55_9672.jpg
/home/pi/Desktop/images/14122025/16/37/image_14122025_16_38_04_9688.jpg
/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_25_10787.jpg
/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_35_9792.jpg
/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_44_9677.jpg
/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_54_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.5149247646331787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:40:32.759973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:40:42.619126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/56/image_04112025_13_56_37_1609.jpg', '/home/pi/Desktop/images/04112025/13/56/image_04112025_13_56_59_21616.jpg', '/home/pi/Desktop/images/04112025/13/56/image_04112025_13_57_00_1730.jpg', '/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_10_9982.jpg', '/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_12_1714.jpg', '/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_16_4160.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/56/image_04112025_13_56_37_1609.jpg
/home/pi/Desktop/images/04112025/13/56/image_04112025_13_56_59_21616.jpg
/home/pi/Desktop/images/04112025/13/56/image_04112025_13_57_00_1730.jpg
/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_10_9982.jpg
/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_12_1714.jpg
/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_16_4160.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365489","1399365488","1399365491","1399365485","1399365490","1399365487"],"photo_ids_order":["1399365485","1399365487","1399365488","1399365489","1399365490","1399365491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c59429159718cda861c5f87e1d0dcb1.jpg","text":"TemporaryFile(/tmp/multipartBody8211863069779719778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726903269,"filename":"image_04112025_13_57_10_9982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2cdef30ec70cffc7bcc533edc2529148.jpg","text":"TemporaryFile(/tmp/multipartBody8981254837609968021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726903269,"filename":"image_04112025_13_57_00_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c09b640c6707eebe6461d9a99e1abd7.jpg","text":"TemporaryFile(/tmp/multipartBody3889520628089054524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726903269,"filename":"image_04112025_13_57_16_4160.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c7929fec23e283a4869936ba8e879ce2.jpg","text":"TemporaryFile(/tmp/multipartBody2113555534747500820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726903269,"filename":"image_04112025_13_56_37_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5555f3506cac3421ff740c74e92182e4.jpg","text":"TemporaryFile(/tmp/multipartBody110979172246450892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726903269,"filename":"image_04112025_13_57_12_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1a8262d57200fa811e39dcd4a4e6ed5.jpg","text":"TemporaryFile(/tmp/multipartBody5958443190317322420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726903269,"filename":"image_04112025_13_56_59_21616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365488","file1":"1399365487","file0":"1399365485","file4":"1399365490","file5":"1399365491","file3":"1399365489"},"map_files_photo_id_array":[{"photo_id":"1399365491","filename":"file5"},{"photo_id":"1399365488","filename":"file2"},{"photo_id":"1399365490","filename":"file4"},{"photo_id":"1399365487","filename":"file1"},{"photo_id":"1399365485","filename":"file0"},{"photo_id":"1399365489","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365489":["hashtag1","hashtag2"]},{"1399365488":["hashtag1","hashtag2"]},{"1399365491":["hashtag1","hashtag2"]},{"1399365485":["hashtag1","hashtag2"]},{"1399365490":["hashtag1","hashtag2"]},{"1399365487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365489, 1399365488, 1399365491, 1399365485, 1399365490, 1399365487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.943573236465454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:41:21.918041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/37/image_14122025_16_37_55_9672.jpg', '/home/pi/Desktop/images/14122025/16/37/image_14122025_16_38_04_9688.jpg', '/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_25_10787.jpg', '/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_35_9792.jpg', '/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_44_9677.jpg', '/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_54_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/37/image_14122025_16_37_55_9672.jpg
/home/pi/Desktop/images/14122025/16/37/image_14122025_16_38_04_9688.jpg
/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_25_10787.jpg
/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_35_9792.jpg
/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_44_9677.jpg
/home/pi/Desktop/images/14122025/16/38/image_14122025_16_38_54_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":["1399365494","1399365500","1399365499","1399365503","1399365496","1399365492"],"photo_ids_order":["1399365492","1399365494","1399365496","1399365499","1399365500","1399365503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8ccc8dd2e3462e17ee24cb50211fac67.jpg","text":"TemporaryFile(/tmp/multipartBody8155164428181931604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726942579,"filename":"image_14122025_16_38_04_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a4b61e8c97cc82acf82ebef0444b1ea5.jpg","text":"TemporaryFile(/tmp/multipartBody1067578458910003606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726942579,"filename":"image_14122025_16_38_44_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b4ea2003542c912b978ae2678692a1a0.jpg","text":"TemporaryFile(/tmp/multipartBody7042598764045925172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726942579,"filename":"image_14122025_16_38_35_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be99fd00a3a315b8eb30be1ef617750d.jpg","text":"TemporaryFile(/tmp/multipartBody2164300567798877475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726942579,"filename":"image_14122025_16_38_54_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ed98979bd5abe51980b95ec8f4536fe.jpg","text":"TemporaryFile(/tmp/multipartBody2053066734708367660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726942579,"filename":"image_14122025_16_38_25_10787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/26dcb0251ac07b459b17235adedf82e4.jpg","text":"TemporaryFile(/tmp/multipartBody1606015333376805764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765726942579,"filename":"image_14122025_16_37_55_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365496","file1":"1399365494","file0":"1399365492","file4":"1399365500","file5":"1399365503","file3":"1399365499"},"map_files_photo_id_array":[{"photo_id":"1399365503","filename":"file5"},{"photo_id":"1399365496","filename":"file2"},{"photo_id":"1399365500","filename":"file4"},{"photo_id":"1399365494","filename":"file1"},{"photo_id":"1399365492","filename":"file0"},{"photo_id":"1399365499","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365494":["hashtag1","hashtag2"]},{"1399365500":["hashtag1","hashtag2"]},{"1399365499":["hashtag1","hashtag2"]},{"1399365503":["hashtag1","hashtag2"]},{"1399365496":["hashtag1","hashtag2"]},{"1399365492":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365494, 1399365500, 1399365499, 1399365503, 1399365496, 1399365492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72255849838257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:42:02.585426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/38/image_14122025_16_39_05_10804.jpg', '/home/pi/Desktop/images/14122025/16/39/image_14122025_16_39_24_9639.jpg', '/home/pi/Desktop/images/14122025/16/39/image_14122025_16_39_45_9659.jpg', '/home/pi/Desktop/images/14122025/16/40/image_14122025_16_40_25_10728.jpg', '/home/pi/Desktop/images/14122025/16/40/image_14122025_16_41_05_9591.jpg', '/home/pi/Desktop/images/14122025/16/41/image_14122025_16_41_35_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/38/image_14122025_16_39_05_10804.jpg
/home/pi/Desktop/images/14122025/16/39/image_14122025_16_39_24_9639.jpg
/home/pi/Desktop/images/14122025/16/39/image_14122025_16_39_45_9659.jpg
/home/pi/Desktop/images/14122025/16/40/image_14122025_16_40_25_10728.jpg
/home/pi/Desktop/images/14122025/16/40/image_14122025_16_41_05_9591.jpg
/home/pi/Desktop/images/14122025/16/41/image_14122025_16_41_35_10739.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5180432796478271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:42:12.143926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:42:22.107130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/38/image_14122025_16_39_05_10804.jpg', '/home/pi/Desktop/images/14122025/16/39/image_14122025_16_39_24_9639.jpg', '/home/pi/Desktop/images/14122025/16/39/image_14122025_16_39_45_9659.jpg', '/home/pi/Desktop/images/14122025/16/40/image_14122025_16_40_25_10728.jpg', '/home/pi/Desktop/images/14122025/16/40/image_14122025_16_41_05_9591.jpg', '/home/pi/Desktop/images/14122025/16/41/image_14122025_16_41_35_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/38/image_14122025_16_39_05_10804.jpg
/home/pi/Desktop/images/14122025/16/39/image_14122025_16_39_24_9639.jpg
/home/pi/Desktop/images/14122025/16/39/image_14122025_16_39_45_9659.jpg
/home/pi/Desktop/images/14122025/16/40/image_14122025_16_40_25_10728.jpg
/home/pi/Desktop/images/14122025/16/40/image_14122025_16_41_05_9591.jpg
/home/pi/Desktop/images/14122025/16/41/image_14122025_16_41_35_10739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365528","1399365522","1399365530","1399365524","1399365527","1399365520"],"photo_ids_order":["1399365520","1399365522","1399365524","1399365527","1399365528","1399365530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ab947575f029dce39b3b2ad8ddcd7c15.jpg","text":"TemporaryFile(/tmp/multipartBody5514231642084614368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727002769,"filename":"image_14122025_16_41_05_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c9475ef7137158d804cf3873272f046.jpg","text":"TemporaryFile(/tmp/multipartBody445439731016578074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727002769,"filename":"image_14122025_16_39_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e40c1628a05694cd54870aecda0332ab.jpg","text":"TemporaryFile(/tmp/multipartBody5908929907728562100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727002769,"filename":"image_14122025_16_41_35_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/873b8f7c3a450f41771fbeb917df162d.jpg","text":"TemporaryFile(/tmp/multipartBody8752196699256460689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727002769,"filename":"image_14122025_16_39_45_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e07d3ac4897c89b31bb1d014f2ac6fa9.jpg","text":"TemporaryFile(/tmp/multipartBody1450735032424832538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727002769,"filename":"image_14122025_16_40_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/12/14/90d1e67cf4f112c069cdc659bc057f3c.jpg","text":"TemporaryFile(/tmp/multipartBody3413577384761979865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727002769,"filename":"image_14122025_16_39_05_10804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365524","file1":"1399365522","file0":"1399365520","file4":"1399365528","file5":"1399365530","file3":"1399365527"},"map_files_photo_id_array":[{"photo_id":"1399365530","filename":"file5"},{"photo_id":"1399365524","filename":"file2"},{"photo_id":"1399365528","filename":"file4"},{"photo_id":"1399365522","filename":"file1"},{"photo_id":"1399365520","filename":"file0"},{"photo_id":"1399365527","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365528":["hashtag1","hashtag2"]},{"1399365522":["hashtag1","hashtag2"]},{"1399365530":["hashtag1","hashtag2"]},{"1399365524":["hashtag1","hashtag2"]},{"1399365527":["hashtag1","hashtag2"]},{"1399365520":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365528, 1399365522, 1399365530, 1399365524, 1399365527, 1399365520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32524633407593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:43:03.180866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/41/image_14122025_16_41_45_9740.jpg', '/home/pi/Desktop/images/14122025/16/42/image_14122025_16_42_15_10941.jpg', '/home/pi/Desktop/images/14122025/16/42/image_14122025_16_42_34_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/41/image_14122025_16_41_45_9740.jpg
/home/pi/Desktop/images/14122025/16/42/image_14122025_16_42_15_10941.jpg
/home/pi/Desktop/images/14122025/16/42/image_14122025_16_42_34_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":["1399365531","1399365533","1399365532"],"photo_ids_order":["1399365531","1399365532","1399365533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b965243b3b522eef6d74e0c5d17f434.jpg","text":"TemporaryFile(/tmp/multipartBody3859186350216355854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727043747,"filename":"image_14122025_16_41_45_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3ca0d23dff213e543300e011451b3268.jpg","text":"TemporaryFile(/tmp/multipartBody2606045802009176702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727043747,"filename":"image_14122025_16_42_34_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/35c059995d838b3adab992c35e916d6c.jpg","text":"TemporaryFile(/tmp/multipartBody1620386648134996553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727043747,"filename":"image_14122025_16_42_15_10941.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365533","file1":"1399365532","file0":"1399365531"},"map_files_photo_id_array":[{"photo_id":"1399365533","filename":"file2"},{"photo_id":"1399365532","filename":"file1"},{"photo_id":"1399365531","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365531":["hashtag1","hashtag2"]},{"1399365533":["hashtag1","hashtag2"]},{"1399365532":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365531, 1399365533, 1399365532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.783764839172363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:43:32.422254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:43:42.381565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_18_1657.jpg', '/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_20_1827.jpg', '/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_21_1738.jpg', '/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_23_1647.jpg', '/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_27_1878.jpg', '/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_28_1733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_18_1657.jpg
/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_20_1827.jpg
/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_21_1738.jpg
/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_23_1647.jpg
/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_27_1878.jpg
/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_28_1733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365546","1399365543","1399365545","1399365539","1399365547","1399365544"],"photo_ids_order":["1399365539","1399365543","1399365544","1399365545","1399365546","1399365547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/de0385acedd5f45e6b80ed7c1ab47beb.jpg","text":"TemporaryFile(/tmp/multipartBody7532063428903825155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727083037,"filename":"image_04112025_13_57_27_1878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3983928bf85a73bf5683050b1b640440.jpg","text":"TemporaryFile(/tmp/multipartBody3408403899845728272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727083037,"filename":"image_04112025_13_57_20_1827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c857338c5213dfdc8d54e9fb7c07e20.jpg","text":"TemporaryFile(/tmp/multipartBody717536215870046430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727083037,"filename":"image_04112025_13_57_23_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a7efffefd2f3cc937ec414d8bb33fa27.jpg","text":"TemporaryFile(/tmp/multipartBody9106398244635948728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727083037,"filename":"image_04112025_13_57_18_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/859bb850c3f0bbf66030da0881d00b5d.jpg","text":"TemporaryFile(/tmp/multipartBody7303560546746492700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727083037,"filename":"image_04112025_13_57_28_1733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/70e56c176f1ec09851db8bbeb8b07c1b.jpg","text":"TemporaryFile(/tmp/multipartBody3258572904343026722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727083037,"filename":"image_04112025_13_57_21_1738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365544","file1":"1399365543","file0":"1399365539","file4":"1399365546","file5":"1399365547","file3":"1399365545"},"map_files_photo_id_array":[{"photo_id":"1399365547","filename":"file5"},{"photo_id":"1399365544","filename":"file2"},{"photo_id":"1399365546","filename":"file4"},{"photo_id":"1399365543","filename":"file1"},{"photo_id":"1399365539","filename":"file0"},{"photo_id":"1399365545","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365546":["hashtag1","hashtag2"]},{"1399365543":["hashtag1","hashtag2"]},{"1399365545":["hashtag1","hashtag2"]},{"1399365539":["hashtag1","hashtag2"]},{"1399365547":["hashtag1","hashtag2"]},{"1399365544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365546, 1399365543, 1399365545, 1399365539, 1399365547, 1399365544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89142370223999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:44:22.743262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/42/image_14122025_16_42_54_9881.jpg', '/home/pi/Desktop/images/14122025/16/42/image_14122025_16_43_05_10682.jpg', '/home/pi/Desktop/images/14122025/16/43/image_14122025_16_43_14_9608.jpg', '/home/pi/Desktop/images/14122025/16/43/image_14122025_16_43_54_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/42/image_14122025_16_42_54_9881.jpg
/home/pi/Desktop/images/14122025/16/42/image_14122025_16_43_05_10682.jpg
/home/pi/Desktop/images/14122025/16/43/image_14122025_16_43_14_9608.jpg
/home/pi/Desktop/images/14122025/16/43/image_14122025_16_43_54_9731.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.43686914443969727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:44:32.661971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:44:42.565751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_30_1699.jpg', '/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_32_1711.jpg', '/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_53_21731.jpg', '/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_55_1673.jpg', '/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_57_1621.jpg', '/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_58_1568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_30_1699.jpg
/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_32_1711.jpg
/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_53_21731.jpg
/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_55_1673.jpg
/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_57_1621.jpg
/home/pi/Desktop/images/04112025/13/57/image_04112025_13_57_58_1568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365573","1399365561","1399365575","1399365572","1399365574","1399365558"],"photo_ids_order":["1399365558","1399365561","1399365572","1399365573","1399365574","1399365575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b07c40a998268db9071cb5172937a44a.jpg","text":"TemporaryFile(/tmp/multipartBody5950554638060894089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727143225,"filename":"image_04112025_13_57_55_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/adf415a42383413de235c2c43130cee2.jpg","text":"TemporaryFile(/tmp/multipartBody6739235771273348212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727143225,"filename":"image_04112025_13_57_32_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7cd9bdfb9c98077bee1b9d9bbfc448fa.jpg","text":"TemporaryFile(/tmp/multipartBody6709351790602559690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727143225,"filename":"image_04112025_13_57_58_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aad62b33a51eb9db0e8e8f0143b7fe4b.jpg","text":"TemporaryFile(/tmp/multipartBody8340948885721783155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727143225,"filename":"image_04112025_13_57_53_21731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f1b9c983233eb3c3e9fb2e3f1ca6a8f.jpg","text":"TemporaryFile(/tmp/multipartBody8585708827637550271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727143225,"filename":"image_04112025_13_57_57_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f81e221b16f10d8a1e0011b69702a03f.jpg","text":"TemporaryFile(/tmp/multipartBody4290954176444597666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727143225,"filename":"image_04112025_13_57_30_1699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365572","file1":"1399365561","file0":"1399365558","file4":"1399365574","file5":"1399365575","file3":"1399365573"},"map_files_photo_id_array":[{"photo_id":"1399365575","filename":"file5"},{"photo_id":"1399365572","filename":"file2"},{"photo_id":"1399365574","filename":"file4"},{"photo_id":"1399365561","filename":"file1"},{"photo_id":"1399365558","filename":"file0"},{"photo_id":"1399365573","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365573":["hashtag1","hashtag2"]},{"1399365561":["hashtag1","hashtag2"]},{"1399365575":["hashtag1","hashtag2"]},{"1399365572":["hashtag1","hashtag2"]},{"1399365574":["hashtag1","hashtag2"]},{"1399365558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365573, 1399365561, 1399365575, 1399365572, 1399365574, 1399365558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40012454986572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:45:21.829155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/42/image_14122025_16_42_54_9881.jpg', '/home/pi/Desktop/images/14122025/16/42/image_14122025_16_43_05_10682.jpg', '/home/pi/Desktop/images/14122025/16/43/image_14122025_16_43_14_9608.jpg', '/home/pi/Desktop/images/14122025/16/43/image_14122025_16_43_54_9731.jpg', '/home/pi/Desktop/images/14122025/16/44/image_14122025_16_44_35_10813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/42/image_14122025_16_42_54_9881.jpg
/home/pi/Desktop/images/14122025/16/42/image_14122025_16_43_05_10682.jpg
/home/pi/Desktop/images/14122025/16/43/image_14122025_16_43_14_9608.jpg
/home/pi/Desktop/images/14122025/16/43/image_14122025_16_43_54_9731.jpg
/home/pi/Desktop/images/14122025/16/44/image_14122025_16_44_35_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":["1399365581","1399365583","1399365576","1399365585","1399365579"],"photo_ids_order":["1399365576","1399365579","1399365581","1399365583","1399365585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/40fdae91e34ccbbb44d0a8c86bf03daf.jpg","text":"TemporaryFile(/tmp/multipartBody8328605121360353406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727182410,"filename":"image_14122025_16_43_14_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a54402c25b73ccc4119020f102947d83.jpg","text":"TemporaryFile(/tmp/multipartBody275033380657466843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727182410,"filename":"image_14122025_16_43_54_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ee945689f01fbe51fef8154fa78714c0.jpg","text":"TemporaryFile(/tmp/multipartBody6178600292572458456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727182410,"filename":"image_14122025_16_42_54_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13a8c9a72ef2836e10e465103336e1b8.jpg","text":"TemporaryFile(/tmp/multipartBody3683978465245513798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727182410,"filename":"image_14122025_16_44_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/12/14/f260095732e0566006e38f28e6948559.jpg","text":"TemporaryFile(/tmp/multipartBody4888502368254997520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727182410,"filename":"image_14122025_16_43_05_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365581","file1":"1399365579","file0":"1399365576","file4":"1399365585","file3":"1399365583"},"map_files_photo_id_array":[{"photo_id":"1399365581","filename":"file2"},{"photo_id":"1399365585","filename":"file4"},{"photo_id":"1399365579","filename":"file1"},{"photo_id":"1399365576","filename":"file0"},{"photo_id":"1399365583","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365581":["hashtag1","hashtag2"]},{"1399365583":["hashtag1","hashtag2"]},{"1399365576":["hashtag1","hashtag2"]},{"1399365585":["hashtag1","hashtag2"]},{"1399365579":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365581, 1399365583, 1399365576, 1399365585, 1399365579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.68414902687073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:46:02.379745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:46:11.981348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:46:22.047479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/45/image_14122025_16_45_14_10056.jpg', '/home/pi/Desktop/images/14122025/16/45/image_14122025_16_46_04_9721.jpg', '/home/pi/Desktop/images/14122025/16/46/image_14122025_16_46_14_9683.jpg', '/home/pi/Desktop/images/14122025/16/46/image_14122025_16_46_25_10906.jpg', '/home/pi/Desktop/images/14122025/16/46/image_14122025_16_46_35_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/45/image_14122025_16_45_14_10056.jpg
/home/pi/Desktop/images/14122025/16/45/image_14122025_16_46_04_9721.jpg
/home/pi/Desktop/images/14122025/16/46/image_14122025_16_46_14_9683.jpg
/home/pi/Desktop/images/14122025/16/46/image_14122025_16_46_25_10906.jpg
/home/pi/Desktop/images/14122025/16/46/image_14122025_16_46_35_9677.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47134923934936523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:46:32.139624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:46:42.140039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/13/57/image_04112025_13_58_00_1636.jpg', '/home/pi/Desktop/images/04112025/13/58/image_04112025_13_58_02_1596.jpg', '/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_07_3011.jpg', '/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_11_3712.jpg', '/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_14_2662.jpg', '/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_20_3517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/13/57/image_04112025_13_58_00_1636.jpg
/home/pi/Desktop/images/04112025/13/58/image_04112025_13_58_02_1596.jpg
/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_07_3011.jpg
/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_11_3712.jpg
/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_14_2662.jpg
/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_20_3517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365600","1399365599","1399365596","1399365598","1399365602","1399365601"],"photo_ids_order":["1399365596","1399365598","1399365599","1399365600","1399365601","1399365602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ff03238110508d25a59f9992c6e0225.jpg","text":"TemporaryFile(/tmp/multipartBody2475319954194828859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727262831,"filename":"image_04112025_14_00_11_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/73a3b267fb6d81e338b5e7f97cac752c.jpg","text":"TemporaryFile(/tmp/multipartBody1422506975865376156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727262831,"filename":"image_04112025_14_00_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d882b42979ec71d3b87d2da05c6c2e78.jpg","text":"TemporaryFile(/tmp/multipartBody5113278601133797133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727262831,"filename":"image_04112025_13_58_00_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e00db4ffcf4c05ffcf0d855d8c369488.jpg","text":"TemporaryFile(/tmp/multipartBody482964598058036413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727262831,"filename":"image_04112025_13_58_02_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/93093195fb1e2b451fed5e609fa16d15.jpg","text":"TemporaryFile(/tmp/multipartBody3187941546596263908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727262831,"filename":"image_04112025_14_00_20_3517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/32755d47951e52d4afdec05e1c176da2.jpg","text":"TemporaryFile(/tmp/multipartBody4222827816656219550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727262831,"filename":"image_04112025_14_00_14_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365599","file1":"1399365598","file0":"1399365596","file4":"1399365601","file5":"1399365602","file3":"1399365600"},"map_files_photo_id_array":[{"photo_id":"1399365602","filename":"file5"},{"photo_id":"1399365599","filename":"file2"},{"photo_id":"1399365601","filename":"file4"},{"photo_id":"1399365598","filename":"file1"},{"photo_id":"1399365596","filename":"file0"},{"photo_id":"1399365600","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365600":["hashtag1","hashtag2"]},{"1399365599":["hashtag1","hashtag2"]},{"1399365596":["hashtag1","hashtag2"]},{"1399365598":["hashtag1","hashtag2"]},{"1399365602":["hashtag1","hashtag2"]},{"1399365601":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365600, 1399365599, 1399365596, 1399365598, 1399365602, 1399365601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.257404088974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:47:22.397594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/45/image_14122025_16_45_14_10056.jpg', '/home/pi/Desktop/images/14122025/16/45/image_14122025_16_46_04_9721.jpg', '/home/pi/Desktop/images/14122025/16/46/image_14122025_16_46_14_9683.jpg', '/home/pi/Desktop/images/14122025/16/46/image_14122025_16_46_25_10906.jpg', '/home/pi/Desktop/images/14122025/16/46/image_14122025_16_46_35_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/45/image_14122025_16_45_14_10056.jpg
/home/pi/Desktop/images/14122025/16/45/image_14122025_16_46_04_9721.jpg
/home/pi/Desktop/images/14122025/16/46/image_14122025_16_46_14_9683.jpg
/home/pi/Desktop/images/14122025/16/46/image_14122025_16_46_25_10906.jpg
/home/pi/Desktop/images/14122025/16/46/image_14122025_16_46_35_9677.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47156667709350586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:47:32.372785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:47:42.411420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_22_2576.jpg', '/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_26_3557.jpg', '/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_28_2572.jpg', '/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_32_3545.jpg', '/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_41_3670.jpg', '/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_43_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_22_2576.jpg
/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_26_3557.jpg
/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_28_2572.jpg
/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_32_3545.jpg
/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_41_3670.jpg
/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_43_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":["1399365627","1399365624","1399365626","1399365625","1399365610","1399365613"],"photo_ids_order":["1399365610","1399365613","1399365624","1399365625","1399365626","1399365627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dff33084a26f7c4a762bd7028d90b798.jpg","text":"TemporaryFile(/tmp/multipartBody3244074168476104743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727323089,"filename":"image_04112025_14_00_43_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2cd7d4e2bcab1f2a6c3208959d10c4b1.jpg","text":"TemporaryFile(/tmp/multipartBody7697850813448421562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727323089,"filename":"image_04112025_14_00_28_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8464daa0340af1d35f8e6b21099495a5.jpg","text":"TemporaryFile(/tmp/multipartBody7101113224811936468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727323089,"filename":"image_04112025_14_00_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/12/14/2f5fee364da1baa68166908dfee559ef.jpg","text":"TemporaryFile(/tmp/multipartBody4598415285658617179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727323089,"filename":"image_04112025_14_00_32_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0081b38c4350a1e4bbaacc1571afb20e.jpg","text":"TemporaryFile(/tmp/multipartBody9138244087781326051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727323089,"filename":"image_04112025_14_00_22_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/93dc4389c12c47c4929f5b3f94ea66d8.jpg","text":"TemporaryFile(/tmp/multipartBody3192612767515190210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727323089,"filename":"image_04112025_14_00_26_3557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365624","file1":"1399365613","file0":"1399365610","file4":"1399365626","file5":"1399365627","file3":"1399365625"},"map_files_photo_id_array":[{"photo_id":"1399365627","filename":"file5"},{"photo_id":"1399365624","filename":"file2"},{"photo_id":"1399365626","filename":"file4"},{"photo_id":"1399365613","filename":"file1"},{"photo_id":"1399365610","filename":"file0"},{"photo_id":"1399365625","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365627":["hashtag1","hashtag2"]},{"1399365624":["hashtag1","hashtag2"]},{"1399365626":["hashtag1","hashtag2"]},{"1399365625":["hashtag1","hashtag2"]},{"1399365610":["hashtag1","hashtag2"]},{"1399365613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365627, 1399365624, 1399365626, 1399365625, 1399365610, 1399365613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.689178705215454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:48:22.758414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/45/image_14122025_16_45_14_10056.jpg', '/home/pi/Desktop/images/14122025/16/45/image_14122025_16_46_04_9721.jpg', '/home/pi/Desktop/images/14122025/16/46/image_14122025_16_46_14_9683.jpg', '/home/pi/Desktop/images/14122025/16/46/image_14122025_16_46_25_10906.jpg', '/home/pi/Desktop/images/14122025/16/46/image_14122025_16_46_35_9677.jpg', '/home/pi/Desktop/images/14122025/16/46/image_14122025_16_46_54_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/45/image_14122025_16_45_14_10056.jpg
/home/pi/Desktop/images/14122025/16/45/image_14122025_16_46_04_9721.jpg
/home/pi/Desktop/images/14122025/16/46/image_14122025_16_46_14_9683.jpg
/home/pi/Desktop/images/14122025/16/46/image_14122025_16_46_25_10906.jpg
/home/pi/Desktop/images/14122025/16/46/image_14122025_16_46_35_9677.jpg
/home/pi/Desktop/images/14122025/16/46/image_14122025_16_46_54_9813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365633","1399365636","1399365638","1399365629","1399365634","1399365631"],"photo_ids_order":["1399365629","1399365631","1399365633","1399365634","1399365636","1399365638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e3062e4a3bb4177e4dcc43b85bd49e5b.jpg","text":"TemporaryFile(/tmp/multipartBody9061609571703436328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727363382,"filename":"image_14122025_16_46_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/12/14/95bd0aae1801f10d7136f0703e746efc.jpg","text":"TemporaryFile(/tmp/multipartBody7269914379119230825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727363382,"filename":"image_14122025_16_46_35_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dcb7afb75d2d056e4b64d9295f15013e.jpg","text":"TemporaryFile(/tmp/multipartBody1368254749840737131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727363382,"filename":"image_14122025_16_46_54_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a7e9d49f8e9b6610b6bedd82e98c847f.jpg","text":"TemporaryFile(/tmp/multipartBody1825094510348632452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727363382,"filename":"image_14122025_16_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/12/14/8643b66411c6c9f9cbb6ac50333e330a.jpg","text":"TemporaryFile(/tmp/multipartBody5148104945652619182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727363382,"filename":"image_14122025_16_46_25_10906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b97c5cb8385d3875c7646ab315fa5684.jpg","text":"TemporaryFile(/tmp/multipartBody5579929159624784560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727363382,"filename":"image_14122025_16_46_04_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365633","file1":"1399365631","file0":"1399365629","file4":"1399365636","file5":"1399365638","file3":"1399365634"},"map_files_photo_id_array":[{"photo_id":"1399365638","filename":"file5"},{"photo_id":"1399365633","filename":"file2"},{"photo_id":"1399365636","filename":"file4"},{"photo_id":"1399365631","filename":"file1"},{"photo_id":"1399365629","filename":"file0"},{"photo_id":"1399365634","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365633":["hashtag1","hashtag2"]},{"1399365636":["hashtag1","hashtag2"]},{"1399365638":["hashtag1","hashtag2"]},{"1399365629":["hashtag1","hashtag2"]},{"1399365634":["hashtag1","hashtag2"]},{"1399365631":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365633, 1399365636, 1399365638, 1399365629, 1399365634, 1399365631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21873140335083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:49:02.995282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:49:11.828070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:49:21.949607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/48/image_14122025_16_48_34_9650.jpg', '/home/pi/Desktop/images/14122025/16/49/image_14122025_16_49_25_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/48/image_14122025_16_48_34_9650.jpg
/home/pi/Desktop/images/14122025/16/49/image_14122025_16_49_25_10731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365641","1399365643"],"photo_ids_order":["1399365641","1399365643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c5b0b7c3c2ef97ffc9b6fb87dd5fdaf5.jpg","text":"TemporaryFile(/tmp/multipartBody3917813511028112227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727422409,"filename":"image_14122025_16_48_34_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/053bf1cec6cca1967fc7bf53e82cf3ba.jpg","text":"TemporaryFile(/tmp/multipartBody1689411472261666938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727422409,"filename":"image_14122025_16_49_25_10731.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399365643","file0":"1399365641"},"map_files_photo_id_array":[{"photo_id":"1399365643","filename":"file1"},{"photo_id":"1399365641","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365641":["hashtag1","hashtag2"]},{"1399365643":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365641, 1399365643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.228264331817627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:49:41.893657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_51_7860.jpg', '/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_53_1792.jpg', '/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_06_12820.jpg', '/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_08_1650.jpg', '/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_09_1631.jpg', '/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_11_1652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_51_7860.jpg
/home/pi/Desktop/images/04112025/14/00/image_04112025_14_00_53_1792.jpg
/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_06_12820.jpg
/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_08_1650.jpg
/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_09_1631.jpg
/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_11_1652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365651","1399365654","1399365653","1399365647","1399365652","1399365655"],"photo_ids_order":["1399365647","1399365651","1399365652","1399365653","1399365654","1399365655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3201a6fc2a1665986fcf54ac3748852.jpg","text":"TemporaryFile(/tmp/multipartBody8177166436289856282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727442549,"filename":"image_04112025_14_00_53_1792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b176580e625888eabb58547897e4fbcd.jpg","text":"TemporaryFile(/tmp/multipartBody1539041249018642528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727442549,"filename":"image_04112025_14_01_09_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd2c12d98e992394d3d4204840aa51dd.jpg","text":"TemporaryFile(/tmp/multipartBody8697938715159794260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727442549,"filename":"image_04112025_14_01_08_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c38a1448e59e4c96dfab0d6427bfba10.jpg","text":"TemporaryFile(/tmp/multipartBody7706365618261634276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727442549,"filename":"image_04112025_14_00_51_7860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/17eb7cc9d8a4ad89158a0bf8137f813c.jpg","text":"TemporaryFile(/tmp/multipartBody4577634473653092355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727442549,"filename":"image_04112025_14_01_06_12820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2da4896486d0fac2f4b609af8f8b38d3.jpg","text":"TemporaryFile(/tmp/multipartBody6321813656736099848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727442549,"filename":"image_04112025_14_01_11_1652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365652","file1":"1399365651","file0":"1399365647","file4":"1399365654","file5":"1399365655","file3":"1399365653"},"map_files_photo_id_array":[{"photo_id":"1399365655","filename":"file5"},{"photo_id":"1399365652","filename":"file2"},{"photo_id":"1399365654","filename":"file4"},{"photo_id":"1399365651","filename":"file1"},{"photo_id":"1399365647","filename":"file0"},{"photo_id":"1399365653","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365651":["hashtag1","hashtag2"]},{"1399365654":["hashtag1","hashtag2"]},{"1399365653":["hashtag1","hashtag2"]},{"1399365647":["hashtag1","hashtag2"]},{"1399365652":["hashtag1","hashtag2"]},{"1399365655":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365651, 1399365654, 1399365653, 1399365647, 1399365652, 1399365655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.914151430130005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:50:22.221398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/49/image_14122025_16_49_35_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/49/image_14122025_16_49_35_9769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365656"],"photo_id":"1399365656","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a28e35b8c520b9f599813691e5e2dea.jpg","text":"TemporaryFile(/tmp/multipartBody5152856026852307935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727482652,"filename":"image_14122025_16_49_35_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399365656"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399365656"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.600902080535889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:50:42.163755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_13_1726.jpg', '/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_16_1573.jpg', '/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_18_1556.jpg', '/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_19_1632.jpg', '/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_21_1661.jpg', '/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_22_1630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_13_1726.jpg
/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_16_1573.jpg
/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_18_1556.jpg
/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_19_1632.jpg
/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_21_1661.jpg
/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_22_1630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365680","1399365674","1399365682","1399365676","1399365661","1399365678"],"photo_ids_order":["1399365661","1399365674","1399365676","1399365678","1399365680","1399365682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/71e45bf81dcc9ea265fb055fa28db55c.jpg","text":"TemporaryFile(/tmp/multipartBody6808860919149147976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727502847,"filename":"image_04112025_14_01_21_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/548c779d6ff0a931d08d37048e977c63.jpg","text":"TemporaryFile(/tmp/multipartBody7188220969110206321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727502847,"filename":"image_04112025_14_01_16_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e9cf1273433e2efc4177cf665d36108d.jpg","text":"TemporaryFile(/tmp/multipartBody5549958727050389285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727502847,"filename":"image_04112025_14_01_22_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/31a330db74cf9c45f1443ebfbcb82ca0.jpg","text":"TemporaryFile(/tmp/multipartBody785639458149162002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727502847,"filename":"image_04112025_14_01_18_1556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94fa92928de0530f48aa6ad3854df103.jpg","text":"TemporaryFile(/tmp/multipartBody4085997154487064192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727502847,"filename":"image_04112025_14_01_13_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9902a6ccb90bbaf14ea397fddc9be566.jpg","text":"TemporaryFile(/tmp/multipartBody3369103211778762539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727502847,"filename":"image_04112025_14_01_19_1632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365676","file1":"1399365674","file0":"1399365661","file4":"1399365680","file5":"1399365682","file3":"1399365678"},"map_files_photo_id_array":[{"photo_id":"1399365682","filename":"file5"},{"photo_id":"1399365676","filename":"file2"},{"photo_id":"1399365680","filename":"file4"},{"photo_id":"1399365674","filename":"file1"},{"photo_id":"1399365661","filename":"file0"},{"photo_id":"1399365678","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365680":["hashtag1","hashtag2"]},{"1399365674":["hashtag1","hashtag2"]},{"1399365682":["hashtag1","hashtag2"]},{"1399365676":["hashtag1","hashtag2"]},{"1399365661":["hashtag1","hashtag2"]},{"1399365678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365680, 1399365674, 1399365682, 1399365676, 1399365661, 1399365678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.882805824279785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:51:22.425350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_25_2685.jpg', '/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_31_2584.jpg', '/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_35_3652.jpg', '/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_38_2568.jpg', '/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_40_2765.jpg', '/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_44_3545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_25_2685.jpg
/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_31_2584.jpg
/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_35_3652.jpg
/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_38_2568.jpg
/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_40_2765.jpg
/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_44_3545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365687","1399365689","1399365683","1399365691","1399365685","1399365694"],"photo_ids_order":["1399365683","1399365685","1399365687","1399365689","1399365691","1399365694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f94b02c57946276fd9a01917f0978fa.jpg","text":"TemporaryFile(/tmp/multipartBody419530366127051335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727543153,"filename":"image_04112025_14_01_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/12/14/298e520f1a9977d61156240c50f2e493.jpg","text":"TemporaryFile(/tmp/multipartBody5439140941898307645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727543153,"filename":"image_04112025_14_01_38_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7c9153196b994c836dc2a4c2ebf5f1d6.jpg","text":"TemporaryFile(/tmp/multipartBody1245098201195142116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727543153,"filename":"image_04112025_14_01_25_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/91499b0d88126070b9b52e051df9e741.jpg","text":"TemporaryFile(/tmp/multipartBody5478846002269501582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727543153,"filename":"image_04112025_14_01_40_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f9c4bbcdee65f9c7aa8975aceaf940bd.jpg","text":"TemporaryFile(/tmp/multipartBody6215870561901324283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727543153,"filename":"image_04112025_14_01_31_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/544fac2ea4e45e3ee284688bd55aa0c4.jpg","text":"TemporaryFile(/tmp/multipartBody915683882430712682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727543153,"filename":"image_04112025_14_01_44_3545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365687","file1":"1399365685","file0":"1399365683","file4":"1399365691","file5":"1399365694","file3":"1399365689"},"map_files_photo_id_array":[{"photo_id":"1399365694","filename":"file5"},{"photo_id":"1399365687","filename":"file2"},{"photo_id":"1399365691","filename":"file4"},{"photo_id":"1399365685","filename":"file1"},{"photo_id":"1399365683","filename":"file0"},{"photo_id":"1399365689","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365687":["hashtag1","hashtag2"]},{"1399365689":["hashtag1","hashtag2"]},{"1399365683":["hashtag1","hashtag2"]},{"1399365691":["hashtag1","hashtag2"]},{"1399365685":["hashtag1","hashtag2"]},{"1399365694":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365687, 1399365689, 1399365683, 1399365691, 1399365685, 1399365694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87325310707092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:52:03.146227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:52:12.636047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:52:22.689305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/50/image_14122025_16_50_55_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/50/image_14122025_16_50_55_10628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365700"],"photo_id":"1399365700","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/043a7f773fe0e80767adbc7d8f414911.jpg","text":"TemporaryFile(/tmp/multipartBody8256688373421255513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727603109,"filename":"image_14122025_16_50_55_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399365700"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399365700"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.810614347457886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:52:42.653632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_46_2514.jpg', '/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_49_2726.jpg', '/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_53_3613.jpg', '/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_55_2540.jpg', '/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_59_3601.jpg', '/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_02_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_46_2514.jpg
/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_49_2726.jpg
/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_53_3613.jpg
/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_55_2540.jpg
/home/pi/Desktop/images/04112025/14/01/image_04112025_14_01_59_3601.jpg
/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_02_2707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365714","1399365708","1399365705","1399365716","1399365710","1399365712"],"photo_ids_order":["1399365705","1399365708","1399365710","1399365712","1399365714","1399365716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e04e6e67e7b0e655bf351d490cb1d558.jpg","text":"TemporaryFile(/tmp/multipartBody2173466393620403888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727623306,"filename":"image_04112025_14_01_59_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f9407c433f1b0996f1b12ac589f47118.jpg","text":"TemporaryFile(/tmp/multipartBody610271767149251571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727623306,"filename":"image_04112025_14_01_49_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/78bacf4eeb49f75f980a9f7407b4a2b5.jpg","text":"TemporaryFile(/tmp/multipartBody7396282788033363482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727623306,"filename":"image_04112025_14_01_46_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/114bcf0e4a98b9a5cf82b77509159588.jpg","text":"TemporaryFile(/tmp/multipartBody6590555788056870754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727623306,"filename":"image_04112025_14_02_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/12/14/34fee5f49c98c4db6302df2654f02ae8.jpg","text":"TemporaryFile(/tmp/multipartBody5810709935318165648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727623306,"filename":"image_04112025_14_01_53_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c87613a6286c16e1f97f5c0a50cc3420.jpg","text":"TemporaryFile(/tmp/multipartBody8810808135807943739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727623306,"filename":"image_04112025_14_01_55_2540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365710","file1":"1399365708","file0":"1399365705","file4":"1399365714","file5":"1399365716","file3":"1399365712"},"map_files_photo_id_array":[{"photo_id":"1399365716","filename":"file5"},{"photo_id":"1399365710","filename":"file2"},{"photo_id":"1399365714","filename":"file4"},{"photo_id":"1399365708","filename":"file1"},{"photo_id":"1399365705","filename":"file0"},{"photo_id":"1399365712","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365714":["hashtag1","hashtag2"]},{"1399365708":["hashtag1","hashtag2"]},{"1399365705":["hashtag1","hashtag2"]},{"1399365716":["hashtag1","hashtag2"]},{"1399365710":["hashtag1","hashtag2"]},{"1399365712":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365714, 1399365708, 1399365705, 1399365716, 1399365710, 1399365712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87776041030884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:53:21.927321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_04_2637.jpg', '/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_08_3669.jpg', '/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_11_2791.jpg', '/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_13_2583.jpg', '/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_17_3589.jpg', '/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_19_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_04_2637.jpg
/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_08_3669.jpg
/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_11_2791.jpg
/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_13_2583.jpg
/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_17_3589.jpg
/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_19_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":["1399365726","1399365729","1399365720","1399365722","1399365724","1399365718"],"photo_ids_order":["1399365718","1399365720","1399365722","1399365724","1399365726","1399365729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54292e2c6755915f7ed684bab7206904.jpg","text":"TemporaryFile(/tmp/multipartBody834408210760404529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727662629,"filename":"image_04112025_14_02_17_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a51dc89e3a6ba0d5116a2de341cd5a5e.jpg","text":"TemporaryFile(/tmp/multipartBody5043256060111064163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727662629,"filename":"image_04112025_14_02_19_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/001ccb9f0e000957593dcc71657b9653.jpg","text":"TemporaryFile(/tmp/multipartBody4003327663647987017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727662629,"filename":"image_04112025_14_02_08_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/511345213cb54ee325c9cf94fd8db858.jpg","text":"TemporaryFile(/tmp/multipartBody8355699238208126253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727662629,"filename":"image_04112025_14_02_11_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c0fd77c030d631c66fb162f07331d214.jpg","text":"TemporaryFile(/tmp/multipartBody7771980969863082912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727662629,"filename":"image_04112025_14_02_13_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5495c3cb8be9af6dd7156fdb057eda25.jpg","text":"TemporaryFile(/tmp/multipartBody5108085270258962199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727662629,"filename":"image_04112025_14_02_04_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365722","file1":"1399365720","file0":"1399365718","file4":"1399365726","file5":"1399365729","file3":"1399365724"},"map_files_photo_id_array":[{"photo_id":"1399365729","filename":"file5"},{"photo_id":"1399365722","filename":"file2"},{"photo_id":"1399365726","filename":"file4"},{"photo_id":"1399365720","filename":"file1"},{"photo_id":"1399365718","filename":"file0"},{"photo_id":"1399365724","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365726":["hashtag1","hashtag2"]},{"1399365729":["hashtag1","hashtag2"]},{"1399365720":["hashtag1","hashtag2"]},{"1399365722":["hashtag1","hashtag2"]},{"1399365724":["hashtag1","hashtag2"]},{"1399365718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365726, 1399365729, 1399365720, 1399365722, 1399365724, 1399365718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3258855342865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:54:02.850050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:54:12.149151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:54:22.247916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_22_2518.jpg', '/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_25_3253.jpg', '/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_32_3604.jpg', '/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_35_3244.jpg', '/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_38_2708.jpg', '/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_40_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_22_2518.jpg
/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_25_3253.jpg
/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_32_3604.jpg
/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_35_3244.jpg
/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_38_2708.jpg
/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_40_2790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365747","1399365741","1399365740","1399365743","1399365751","1399365745"],"photo_ids_order":["1399365740","1399365741","1399365743","1399365745","1399365747","1399365751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3417ce31eb2dcd9d4c2e626a8ef407a7.jpg","text":"TemporaryFile(/tmp/multipartBody209367699125669923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727722917,"filename":"image_04112025_14_02_38_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c4850f848c6a7e607874e6fee07cf96e.jpg","text":"TemporaryFile(/tmp/multipartBody6039957246693863596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727722917,"filename":"image_04112025_14_02_25_3253.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2630f8ecbab3e39246329ca9b862ffac.jpg","text":"TemporaryFile(/tmp/multipartBody8008236942423524012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727722917,"filename":"image_04112025_14_02_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/12/14/4288921ce71ebcbfd74f6f50df2a25a5.jpg","text":"TemporaryFile(/tmp/multipartBody5183764550781889389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727722917,"filename":"image_04112025_14_02_32_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd985edad274ea063d71bbda140d16cd.jpg","text":"TemporaryFile(/tmp/multipartBody2907577491349201396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727722917,"filename":"image_04112025_14_02_40_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e3c88799a457a8ebf7eef6d6eb96181e.jpg","text":"TemporaryFile(/tmp/multipartBody1692482649366247086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727722917,"filename":"image_04112025_14_02_35_3244.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365743","file1":"1399365741","file0":"1399365740","file4":"1399365747","file5":"1399365751","file3":"1399365745"},"map_files_photo_id_array":[{"photo_id":"1399365751","filename":"file5"},{"photo_id":"1399365743","filename":"file2"},{"photo_id":"1399365747","filename":"file4"},{"photo_id":"1399365741","filename":"file1"},{"photo_id":"1399365740","filename":"file0"},{"photo_id":"1399365745","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365747":["hashtag1","hashtag2"]},{"1399365741":["hashtag1","hashtag2"]},{"1399365740":["hashtag1","hashtag2"]},{"1399365743":["hashtag1","hashtag2"]},{"1399365751":["hashtag1","hashtag2"]},{"1399365745":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365747, 1399365741, 1399365740, 1399365743, 1399365751, 1399365745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.967371463775635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:55:03.263383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:55:12.423350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:55:22.561477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/52/image_14122025_16_52_35_9747.jpg', '/home/pi/Desktop/images/14122025/16/55/image_14122025_16_55_14_10051.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/52/image_14122025_16_52_35_9747.jpg
/home/pi/Desktop/images/14122025/16/55/image_14122025_16_55_14_10051.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.33266711235046387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:55:32.472923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:55:42.401734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_43_2623.jpg', '/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_47_3780.jpg', '/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_49_2528.jpg', '/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_52_2942.jpg', '/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_55_2748.jpg', '/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_59_3602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_43_2623.jpg
/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_47_3780.jpg
/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_49_2528.jpg
/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_52_2942.jpg
/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_55_2748.jpg
/home/pi/Desktop/images/04112025/14/02/image_04112025_14_02_59_3602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365771","1399365765","1399365770","1399365773","1399365767","1399365769"],"photo_ids_order":["1399365765","1399365767","1399365769","1399365770","1399365771","1399365773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e68d409887c6517c310dd1dd84f9eca0.jpg","text":"TemporaryFile(/tmp/multipartBody8275681354069885149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727803168,"filename":"image_04112025_14_02_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/12/14/e17828f7532cabb8afca5189adf5e882.jpg","text":"TemporaryFile(/tmp/multipartBody4168420556985547708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727803168,"filename":"image_04112025_14_02_43_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cb1dda833da33dbc28b222c575875fb1.jpg","text":"TemporaryFile(/tmp/multipartBody8313559565188827794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727803168,"filename":"image_04112025_14_02_52_2942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c9b5ca7e2e5a84fa16f9c50a7c71547b.jpg","text":"TemporaryFile(/tmp/multipartBody4180445932089090750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727803168,"filename":"image_04112025_14_02_59_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ada6a7bb68bae1032a11cb230de9903.jpg","text":"TemporaryFile(/tmp/multipartBody3430656068911741838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727803168,"filename":"image_04112025_14_02_47_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9946fb268c4e38e9846a03abea455a06.jpg","text":"TemporaryFile(/tmp/multipartBody7051776963348271061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727803168,"filename":"image_04112025_14_02_49_2528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365769","file1":"1399365767","file0":"1399365765","file4":"1399365771","file5":"1399365773","file3":"1399365770"},"map_files_photo_id_array":[{"photo_id":"1399365773","filename":"file5"},{"photo_id":"1399365769","filename":"file2"},{"photo_id":"1399365771","filename":"file4"},{"photo_id":"1399365767","filename":"file1"},{"photo_id":"1399365765","filename":"file0"},{"photo_id":"1399365770","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365771":["hashtag1","hashtag2"]},{"1399365765":["hashtag1","hashtag2"]},{"1399365770":["hashtag1","hashtag2"]},{"1399365773":["hashtag1","hashtag2"]},{"1399365767":["hashtag1","hashtag2"]},{"1399365769":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365771, 1399365765, 1399365770, 1399365773, 1399365767, 1399365769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24510169029236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:56:22.694038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/52/image_14122025_16_52_35_9747.jpg', '/home/pi/Desktop/images/14122025/16/55/image_14122025_16_55_14_10051.jpg', '/home/pi/Desktop/images/14122025/16/55/image_14122025_16_55_25_10745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/52/image_14122025_16_52_35_9747.jpg
/home/pi/Desktop/images/14122025/16/55/image_14122025_16_55_14_10051.jpg
/home/pi/Desktop/images/14122025/16/55/image_14122025_16_55_25_10745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365779","1399365776","1399365775"],"photo_ids_order":["1399365775","1399365776","1399365779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2c277d2f737b9b0cb25831df5b55338a.jpg","text":"TemporaryFile(/tmp/multipartBody8093413962562343939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727843192,"filename":"image_14122025_16_55_25_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ca95c00fb967afc1ac57166f50c79b23.jpg","text":"TemporaryFile(/tmp/multipartBody7601235627518945229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727843192,"filename":"image_14122025_16_55_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/12/14/ef80e4d526e7ef933a79ec17f9b5ebef.jpg","text":"TemporaryFile(/tmp/multipartBody4678946359841734373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727843192,"filename":"image_14122025_16_52_35_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365779","file1":"1399365776","file0":"1399365775"},"map_files_photo_id_array":[{"photo_id":"1399365779","filename":"file2"},{"photo_id":"1399365776","filename":"file1"},{"photo_id":"1399365775","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399365779":["hashtag1","hashtag2"]},{"1399365776":["hashtag1","hashtag2"]},{"1399365775":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399365779, 1399365776, 1399365775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.917442321777344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:57:02.503645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:57:11.887606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 16:57:21.885217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/56/image_14122025_16_56_14_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/56/image_14122025_16_56_14_9670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365793"],"photo_id":"1399365793","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6621b86541707763caa8cdbc32eb497b.jpg","text":"TemporaryFile(/tmp/multipartBody7056442385442578311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727902313,"filename":"image_14122025_16_56_14_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399365793"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399365793"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.721781730651855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:57:41.838666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_01_2576.jpg', '/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_05_3585.jpg', '/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_07_2625.jpg', '/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_10_2898.jpg', '/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_13_2661.jpg', '/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_17_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_01_2576.jpg
/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_05_3585.jpg
/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_07_2625.jpg
/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_10_2898.jpg
/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_13_2661.jpg
/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_17_3588.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399365951","1399366028","1399366025","1399365991","1399365973","1399365975"],"photo_ids_order":["1399365951","1399365973","1399365975","1399365991","1399366025","1399366028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/57b6156a762b65d065fa53fa98c2b85b.jpg","text":"TemporaryFile(/tmp/multipartBody8753194203846223294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727922535,"filename":"image_04112025_14_03_01_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c38a5cce245884eb738066113736d9df.jpg","text":"TemporaryFile(/tmp/multipartBody4741736170614310186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727922535,"filename":"image_04112025_14_03_17_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cfeb0ea21bf1efafa259cbed7f304acc.jpg","text":"TemporaryFile(/tmp/multipartBody6404647447402935951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727922535,"filename":"image_04112025_14_03_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/12/14/bb84b56d07bfb01878e7431f5f12c7ca.jpg","text":"TemporaryFile(/tmp/multipartBody2377843915801692288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727922535,"filename":"image_04112025_14_03_10_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/33e6e75440a1fcc15bc177285a0d7fc2.jpg","text":"TemporaryFile(/tmp/multipartBody5843040947319273237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727922535,"filename":"image_04112025_14_03_05_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6eb66ed021374321fabddc29f221946a.jpg","text":"TemporaryFile(/tmp/multipartBody156174913521165830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765727922535,"filename":"image_04112025_14_03_07_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399365975","file1":"1399365973","file0":"1399365951","file4":"1399366025","file5":"1399366028","file3":"1399365991"},"map_files_photo_id_array":[{"photo_id":"1399366028","filename":"file5"},{"photo_id":"1399365975","filename":"file2"},{"photo_id":"1399366025","filename":"file4"},{"photo_id":"1399365973","filename":"file1"},{"photo_id":"1399365951","filename":"file0"},{"photo_id":"1399365991","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399365951":["hashtag1","hashtag2"]},{"1399366028":["hashtag1","hashtag2"]},{"1399366025":["hashtag1","hashtag2"]},{"1399365991":["hashtag1","hashtag2"]},{"1399365973":["hashtag1","hashtag2"]},{"1399365975":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399365951, 1399366028, 1399366025, 1399365991, 1399365973, 1399365975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.982351303100586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 16:59:03.321391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/57/image_14122025_16_57_15_10698.jpg', '/home/pi/Desktop/images/14122025/16/58/image_14122025_16_58_25_10608.jpg', '/home/pi/Desktop/images/14122025/16/58/image_14122025_16_58_34_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/57/image_14122025_16_57_15_10698.jpg
/home/pi/Desktop/images/14122025/16/58/image_14122025_16_58_25_10608.jpg
/home/pi/Desktop/images/14122025/16/58/image_14122025_16_58_34_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":["1399366049","1399366047","1399366044"],"photo_ids_order":["1399366044","1399366047","1399366049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f6aab02fed91af82a39b821fd621251.jpg","text":"TemporaryFile(/tmp/multipartBody9112174857264324564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728003981,"filename":"image_14122025_16_58_34_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3824e36d1e5d9ab97bf22e51eecdf823.jpg","text":"TemporaryFile(/tmp/multipartBody8154106323299539135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728003981,"filename":"image_14122025_16_58_25_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d6908523b7fd5b8f3bfc3ab77861ad2c.jpg","text":"TemporaryFile(/tmp/multipartBody5174109134880199887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728003981,"filename":"image_14122025_16_57_15_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399366049","file1":"1399366047","file0":"1399366044"},"map_files_photo_id_array":[{"photo_id":"1399366049","filename":"file2"},{"photo_id":"1399366047","filename":"file1"},{"photo_id":"1399366044","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399366049":["hashtag1","hashtag2"]},{"1399366047":["hashtag1","hashtag2"]},{"1399366044":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399366049, 1399366047, 1399366044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.327989101409912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 16:59:32.285894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 16:59:42.333855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_19_2643.jpg', '/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_23_3594.jpg', '/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_25_2632.jpg', '/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_28_2589.jpg', '/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_40_12082.jpg', '/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_42_1962.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_19_2643.jpg
/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_23_3594.jpg
/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_25_2632.jpg
/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_28_2589.jpg
/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_40_12082.jpg
/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_42_1962.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399366409","1399366294","1399366369","1399366444","1399366251","1399366335"],"photo_ids_order":["1399366251","1399366294","1399366335","1399366369","1399366409","1399366444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/614f6ef2d42ad4764fff6ae27f7ed35c.jpg","text":"TemporaryFile(/tmp/multipartBody6624194747964215816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728043006,"filename":"image_04112025_14_03_40_12082.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b246859662f8c52d74964aa9a990dc9.jpg","text":"TemporaryFile(/tmp/multipartBody7739363325936462755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728043006,"filename":"image_04112025_14_03_23_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/17b79221b1d1153757ac33f606af1373.jpg","text":"TemporaryFile(/tmp/multipartBody4469226757314892453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728043006,"filename":"image_04112025_14_03_28_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e6ef966715bb1f88ab660293d6253fef.jpg","text":"TemporaryFile(/tmp/multipartBody7964252057540076504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728043006,"filename":"image_04112025_14_03_42_1962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/74dd279c8effff2f051dd2169d4b8f66.jpg","text":"TemporaryFile(/tmp/multipartBody2395577363824294968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728043006,"filename":"image_04112025_14_03_19_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8965971fa98365e62ae0989c3db8613b.jpg","text":"TemporaryFile(/tmp/multipartBody5871883323192197331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728043006,"filename":"image_04112025_14_03_25_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399366335","file1":"1399366294","file0":"1399366251","file4":"1399366409","file5":"1399366444","file3":"1399366369"},"map_files_photo_id_array":[{"photo_id":"1399366444","filename":"file5"},{"photo_id":"1399366335","filename":"file2"},{"photo_id":"1399366409","filename":"file4"},{"photo_id":"1399366294","filename":"file1"},{"photo_id":"1399366251","filename":"file0"},{"photo_id":"1399366369","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399366409":["hashtag1","hashtag2"]},{"1399366294":["hashtag1","hashtag2"]},{"1399366369":["hashtag1","hashtag2"]},{"1399366444":["hashtag1","hashtag2"]},{"1399366251":["hashtag1","hashtag2"]},{"1399366335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399366409, 1399366294, 1399366369, 1399366444, 1399366251, 1399366335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10865783691406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:00:22.572813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/58/image_14122025_16_58_55_10681.jpg', '/home/pi/Desktop/images/14122025/16/59/image_14122025_16_59_34_9612.jpg', '/home/pi/Desktop/images/14122025/16/59/image_14122025_16_59_55_10751.jpg', '/home/pi/Desktop/images/14122025/17/00/image_14122025_17_00_14_10050.jpg', '/home/pi/Desktop/images/14122025/17/00/image_14122025_17_00_35_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/58/image_14122025_16_58_55_10681.jpg
/home/pi/Desktop/images/14122025/16/59/image_14122025_16_59_34_9612.jpg
/home/pi/Desktop/images/14122025/16/59/image_14122025_16_59_55_10751.jpg
/home/pi/Desktop/images/14122025/17/00/image_14122025_17_00_14_10050.jpg
/home/pi/Desktop/images/14122025/17/00/image_14122025_17_00_35_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.47333288192749023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 17:00:32.616126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:00:42.564470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_44_1734.jpg', '/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_46_1728.jpg', '/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_47_1625.jpg', '/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_49_1650.jpg', '/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_50_1658.jpg', '/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_55_4364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_44_1734.jpg
/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_46_1728.jpg
/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_47_1625.jpg
/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_49_1650.jpg
/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_50_1658.jpg
/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_55_4364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399367086","1399366999","1399367257","1399367157","1399366927","1399367217"],"photo_ids_order":["1399366927","1399366999","1399367086","1399367157","1399367217","1399367257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e0ab15b81e8c3cdf7be9b4cd61095260.jpg","text":"TemporaryFile(/tmp/multipartBody4551648014015370030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728103234,"filename":"image_04112025_14_03_47_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5fb2b5464c818379eccb4d9080f4bb6c.jpg","text":"TemporaryFile(/tmp/multipartBody7498064982289203831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728103234,"filename":"image_04112025_14_03_46_1728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/482746e54516ce482d80c9bef67d64df.jpg","text":"TemporaryFile(/tmp/multipartBody5181153188203178944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728103234,"filename":"image_04112025_14_03_55_4364.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7dd2c0c201ec742da1a9dd060d766d6f.jpg","text":"TemporaryFile(/tmp/multipartBody806012259073712618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728103234,"filename":"image_04112025_14_03_49_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b24127b50be141c584b2b10f8428ae91.jpg","text":"TemporaryFile(/tmp/multipartBody7991994802747094279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728103234,"filename":"image_04112025_14_03_44_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27aa72206499f15e77a66fea557ee56f.jpg","text":"TemporaryFile(/tmp/multipartBody2449266571809426189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728103234,"filename":"image_04112025_14_03_50_1658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399367086","file1":"1399366999","file0":"1399366927","file4":"1399367217","file5":"1399367257","file3":"1399367157"},"map_files_photo_id_array":[{"photo_id":"1399367257","filename":"file5"},{"photo_id":"1399367086","filename":"file2"},{"photo_id":"1399367217","filename":"file4"},{"photo_id":"1399366999","filename":"file1"},{"photo_id":"1399366927","filename":"file0"},{"photo_id":"1399367157","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399367086":["hashtag1","hashtag2"]},{"1399366999":["hashtag1","hashtag2"]},{"1399367257":["hashtag1","hashtag2"]},{"1399367157":["hashtag1","hashtag2"]},{"1399366927":["hashtag1","hashtag2"]},{"1399367217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399367086, 1399366999, 1399367257, 1399367157, 1399366927, 1399367217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49284553527832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:01:21.845516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/16/58/image_14122025_16_58_55_10681.jpg', '/home/pi/Desktop/images/14122025/16/59/image_14122025_16_59_34_9612.jpg', '/home/pi/Desktop/images/14122025/16/59/image_14122025_16_59_55_10751.jpg', '/home/pi/Desktop/images/14122025/17/00/image_14122025_17_00_14_10050.jpg', '/home/pi/Desktop/images/14122025/17/00/image_14122025_17_00_35_9600.jpg', '/home/pi/Desktop/images/14122025/17/00/image_14122025_17_00_45_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/16/58/image_14122025_16_58_55_10681.jpg
/home/pi/Desktop/images/14122025/16/59/image_14122025_16_59_34_9612.jpg
/home/pi/Desktop/images/14122025/16/59/image_14122025_16_59_55_10751.jpg
/home/pi/Desktop/images/14122025/17/00/image_14122025_17_00_14_10050.jpg
/home/pi/Desktop/images/14122025/17/00/image_14122025_17_00_35_9600.jpg
/home/pi/Desktop/images/14122025/17/00/image_14122025_17_00_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":["1399367522","1399367408","1399367371","1399367446","1399367484","1399367547"],"photo_ids_order":["1399367371","1399367408","1399367446","1399367484","1399367522","1399367547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b4eee38155f3fb81aa04809a1fa32fa.jpg","text":"TemporaryFile(/tmp/multipartBody8774026675287994549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728142469,"filename":"image_14122025_17_00_35_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a5265c3ca9bea186017c9a9df84b3ea1.jpg","text":"TemporaryFile(/tmp/multipartBody3422043972225511790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728142469,"filename":"image_14122025_16_59_34_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/237edb3912b67ccc1a73f3f44ca175a4.jpg","text":"TemporaryFile(/tmp/multipartBody7627391898075171884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728142469,"filename":"image_14122025_16_58_55_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f8da4a163053269e1e8b7c3fb0b2e533.jpg","text":"TemporaryFile(/tmp/multipartBody54968075716796711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728142469,"filename":"image_14122025_16_59_55_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ba0546b176f90e563db1eaa24be8d74.jpg","text":"TemporaryFile(/tmp/multipartBody3559130878118896307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728142469,"filename":"image_14122025_17_00_14_10050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d0800ffdc1d06ce20d3ef255253041b.jpg","text":"TemporaryFile(/tmp/multipartBody5850412769036387127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728142469,"filename":"image_14122025_17_00_45_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399367446","file1":"1399367408","file0":"1399367371","file4":"1399367522","file5":"1399367547","file3":"1399367484"},"map_files_photo_id_array":[{"photo_id":"1399367547","filename":"file5"},{"photo_id":"1399367446","filename":"file2"},{"photo_id":"1399367522","filename":"file4"},{"photo_id":"1399367408","filename":"file1"},{"photo_id":"1399367371","filename":"file0"},{"photo_id":"1399367484","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399367522":["hashtag1","hashtag2"]},{"1399367408":["hashtag1","hashtag2"]},{"1399367371":["hashtag1","hashtag2"]},{"1399367446":["hashtag1","hashtag2"]},{"1399367484":["hashtag1","hashtag2"]},{"1399367547":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399367522, 1399367408, 1399367371, 1399367446, 1399367484, 1399367547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.540287494659424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:02:02.757960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/01/image_14122025_17_01_25_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/01/image_14122025_17_01_25_9782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399367640"],"photo_id":"1399367640","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9274511c0ac3e3980e68052843d763ab.jpg","text":"TemporaryFile(/tmp/multipartBody4443601794991017348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728183174,"filename":"image_14122025_17_01_25_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399367640"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399367640"}],"hashtags":[],"portfolio_id":"29410858","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.714643955230713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:02:22.212296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/01/image_14122025_17_01_55_9570.jpg', '/home/pi/Desktop/images/14122025/17/01/image_14122025_17_02_05_10704.jpg', '/home/pi/Desktop/images/14122025/17/02/image_14122025_17_02_15_9607.jpg', '/home/pi/Desktop/images/14122025/17/02/image_14122025_17_02_25_9671.jpg', '/home/pi/Desktop/images/14122025/17/02/image_14122025_17_02_35_10517.jpg', '/home/pi/Desktop/images/14122025/17/02/image_14122025_17_02_45_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/01/image_14122025_17_01_55_9570.jpg
/home/pi/Desktop/images/14122025/17/01/image_14122025_17_02_05_10704.jpg
/home/pi/Desktop/images/14122025/17/02/image_14122025_17_02_15_9607.jpg
/home/pi/Desktop/images/14122025/17/02/image_14122025_17_02_25_9671.jpg
/home/pi/Desktop/images/14122025/17/02/image_14122025_17_02_35_10517.jpg
/home/pi/Desktop/images/14122025/17/02/image_14122025_17_02_45_9782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399367912","1399367977","1399368013","1399367892","1399367916","1399367888"],"photo_ids_order":["1399367888","1399367892","1399367912","1399367916","1399367977","1399368013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0dce46f90bf22c58f64605e8f40ae62c.jpg","text":"TemporaryFile(/tmp/multipartBody5876862199290359114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728202827,"filename":"image_14122025_17_02_15_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1416a94089a56736de638475ee5619fd.jpg","text":"TemporaryFile(/tmp/multipartBody3925473614971576225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728202827,"filename":"image_14122025_17_02_35_10517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6376707fa7c50e5081a423aeaa05d26d.jpg","text":"TemporaryFile(/tmp/multipartBody1848399116601962101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728202827,"filename":"image_14122025_17_02_45_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b2bb80813c9c805515a2ebf0070ea7a5.jpg","text":"TemporaryFile(/tmp/multipartBody4504314483333511981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728202827,"filename":"image_14122025_17_02_05_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8537c2fa14fb846b56a38c01adcdb641.jpg","text":"TemporaryFile(/tmp/multipartBody4437788507774153679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728202827,"filename":"image_14122025_17_02_25_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6149d5c255b85ea4a908c7a69ca54b2b.jpg","text":"TemporaryFile(/tmp/multipartBody487270756031718251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728202827,"filename":"image_14122025_17_01_55_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399367912","file1":"1399367892","file0":"1399367888","file4":"1399367977","file5":"1399368013","file3":"1399367916"},"map_files_photo_id_array":[{"photo_id":"1399368013","filename":"file5"},{"photo_id":"1399367912","filename":"file2"},{"photo_id":"1399367977","filename":"file4"},{"photo_id":"1399367892","filename":"file1"},{"photo_id":"1399367888","filename":"file0"},{"photo_id":"1399367916","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399367912":["hashtag1","hashtag2"]},{"1399367977":["hashtag1","hashtag2"]},{"1399368013":["hashtag1","hashtag2"]},{"1399367892":["hashtag1","hashtag2"]},{"1399367916":["hashtag1","hashtag2"]},{"1399367888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399367912, 1399367977, 1399368013, 1399367892, 1399367916, 1399367888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56185507774353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:03:02.991015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 17:03:12.410945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:03:22.475198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/02/image_14122025_17_02_55_9734.jpg', '/home/pi/Desktop/images/14122025/17/02/image_14122025_17_03_05_10764.jpg', '/home/pi/Desktop/images/14122025/17/03/image_14122025_17_03_25_9658.jpg', '/home/pi/Desktop/images/14122025/17/03/image_14122025_17_03_45_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/02/image_14122025_17_02_55_9734.jpg
/home/pi/Desktop/images/14122025/17/02/image_14122025_17_03_05_10764.jpg
/home/pi/Desktop/images/14122025/17/03/image_14122025_17_03_25_9658.jpg
/home/pi/Desktop/images/14122025/17/03/image_14122025_17_03_45_10678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368064","1399368060","1399368066","1399368062"],"photo_ids_order":["1399368060","1399368062","1399368064","1399368066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/207a6fa70e047cf80947159c78f9990c.jpg","text":"TemporaryFile(/tmp/multipartBody3049345434141698510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728263051,"filename":"image_14122025_17_03_25_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/30c1db283e060a5f89bd24ee68844a8f.jpg","text":"TemporaryFile(/tmp/multipartBody9116210542456265925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728263051,"filename":"image_14122025_17_02_55_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe2facac05f7381de82a04cdbf673dd7.jpg","text":"TemporaryFile(/tmp/multipartBody94902651278727611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728263051,"filename":"image_14122025_17_03_45_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27d42e5247779b51e0443a0bcd5fbb79.jpg","text":"TemporaryFile(/tmp/multipartBody735158422148404337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728263051,"filename":"image_14122025_17_03_05_10764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368064","file1":"1399368062","file0":"1399368060","file3":"1399368066"},"map_files_photo_id_array":[{"photo_id":"1399368064","filename":"file2"},{"photo_id":"1399368062","filename":"file1"},{"photo_id":"1399368060","filename":"file0"},{"photo_id":"1399368066","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368064":["hashtag1","hashtag2"]},{"1399368060":["hashtag1","hashtag2"]},{"1399368066":["hashtag1","hashtag2"]},{"1399368062":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368064, 1399368060, 1399368066, 1399368062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.031286001205444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:04:03.449288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 17:04:12.703731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:04:22.813054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/03/image_14122025_17_03_55_9621.jpg', '/home/pi/Desktop/images/14122025/17/03/image_14122025_17_04_05_10601.jpg', '/home/pi/Desktop/images/14122025/17/04/image_14122025_17_04_15_9765.jpg', '/home/pi/Desktop/images/14122025/17/04/image_14122025_17_04_25_9794.jpg', '/home/pi/Desktop/images/14122025/17/04/image_14122025_17_04_35_9884.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/03/image_14122025_17_03_55_9621.jpg
/home/pi/Desktop/images/14122025/17/03/image_14122025_17_04_05_10601.jpg
/home/pi/Desktop/images/14122025/17/04/image_14122025_17_04_15_9765.jpg
/home/pi/Desktop/images/14122025/17/04/image_14122025_17_04_25_9794.jpg
/home/pi/Desktop/images/14122025/17/04/image_14122025_17_04_35_9884.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.49660491943359375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 17:04:32.778554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:04:42.714141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_56_1669.jpg', '/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_04_7086.jpg', '/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_05_1765.jpg', '/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_07_1626.jpg', '/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_09_1693.jpg', '/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_11_1861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/03/image_04112025_14_03_56_1669.jpg
/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_04_7086.jpg
/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_05_1765.jpg
/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_07_1626.jpg
/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_09_1693.jpg
/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_11_1861.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368082","1399368079","1399368081","1399368078","1399368083","1399368080"],"photo_ids_order":["1399368078","1399368079","1399368080","1399368081","1399368082","1399368083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2c7582fd288d275d9d2f1467e0875f9.jpg","text":"TemporaryFile(/tmp/multipartBody5367812914841076718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728343420,"filename":"image_04112025_14_04_09_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/72f71afb32d969041cdfbeca2d042472.jpg","text":"TemporaryFile(/tmp/multipartBody2131292503468300093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728343420,"filename":"image_04112025_14_04_04_7086.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d95d29ef8090a93a81ffc87ce3902f6d.jpg","text":"TemporaryFile(/tmp/multipartBody1548862022537937289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728343420,"filename":"image_04112025_14_04_07_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/73ab945a52968e7cfa34b4c32a1c5810.jpg","text":"TemporaryFile(/tmp/multipartBody5719904195885403866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728343420,"filename":"image_04112025_14_03_56_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e02b3196b3cf6a804bededbe8cf52059.jpg","text":"TemporaryFile(/tmp/multipartBody7624988783094675052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728343420,"filename":"image_04112025_14_04_11_1861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e010befc468005295177d7d9016228a2.jpg","text":"TemporaryFile(/tmp/multipartBody5508706642935051412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728343420,"filename":"image_04112025_14_04_05_1765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368080","file1":"1399368079","file0":"1399368078","file4":"1399368082","file5":"1399368083","file3":"1399368081"},"map_files_photo_id_array":[{"photo_id":"1399368083","filename":"file5"},{"photo_id":"1399368080","filename":"file2"},{"photo_id":"1399368082","filename":"file4"},{"photo_id":"1399368079","filename":"file1"},{"photo_id":"1399368078","filename":"file0"},{"photo_id":"1399368081","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399368082":["hashtag1","hashtag2"]},{"1399368079":["hashtag1","hashtag2"]},{"1399368081":["hashtag1","hashtag2"]},{"1399368078":["hashtag1","hashtag2"]},{"1399368083":["hashtag1","hashtag2"]},{"1399368080":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399368082, 1399368079, 1399368081, 1399368078, 1399368083, 1399368080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45694184303284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:05:21.999838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/03/image_14122025_17_03_55_9621.jpg', '/home/pi/Desktop/images/14122025/17/03/image_14122025_17_04_05_10601.jpg', '/home/pi/Desktop/images/14122025/17/04/image_14122025_17_04_15_9765.jpg', '/home/pi/Desktop/images/14122025/17/04/image_14122025_17_04_25_9794.jpg', '/home/pi/Desktop/images/14122025/17/04/image_14122025_17_04_35_9884.jpg', '/home/pi/Desktop/images/14122025/17/04/image_14122025_17_04_55_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/03/image_14122025_17_03_55_9621.jpg
/home/pi/Desktop/images/14122025/17/03/image_14122025_17_04_05_10601.jpg
/home/pi/Desktop/images/14122025/17/04/image_14122025_17_04_15_9765.jpg
/home/pi/Desktop/images/14122025/17/04/image_14122025_17_04_25_9794.jpg
/home/pi/Desktop/images/14122025/17/04/image_14122025_17_04_35_9884.jpg
/home/pi/Desktop/images/14122025/17/04/image_14122025_17_04_55_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368088","1399368090","1399368084","1399368092","1399368086","1399368095"],"photo_ids_order":["1399368084","1399368086","1399368088","1399368090","1399368092","1399368095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8197bc42780763ea1b3a9da56f0841bb.jpg","text":"TemporaryFile(/tmp/multipartBody1780205245905072055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728382640,"filename":"image_14122025_17_04_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/12/14/f4543eac953b1c9200509e29378c933a.jpg","text":"TemporaryFile(/tmp/multipartBody7641058768785736200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728382640,"filename":"image_14122025_17_04_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/12/14/8e65561150bbdc237accc664c8878ca7.jpg","text":"TemporaryFile(/tmp/multipartBody5974452215514573286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728382640,"filename":"image_14122025_17_03_55_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/30d3e1004c28bec1b9b660cff0f0845b.jpg","text":"TemporaryFile(/tmp/multipartBody357367761255993499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728382640,"filename":"image_14122025_17_04_35_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/195f868a5c88ea07484f941dc85fafdf.jpg","text":"TemporaryFile(/tmp/multipartBody186346245526434754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728382640,"filename":"image_14122025_17_04_05_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/351bb0c4946877a6ec9bbe81d7bc373c.jpg","text":"TemporaryFile(/tmp/multipartBody4010486125484327503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728382640,"filename":"image_14122025_17_04_55_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368088","file1":"1399368086","file0":"1399368084","file4":"1399368092","file5":"1399368095","file3":"1399368090"},"map_files_photo_id_array":[{"photo_id":"1399368095","filename":"file5"},{"photo_id":"1399368088","filename":"file2"},{"photo_id":"1399368092","filename":"file4"},{"photo_id":"1399368086","filename":"file1"},{"photo_id":"1399368084","filename":"file0"},{"photo_id":"1399368090","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368088":["hashtag1","hashtag2"]},{"1399368090":["hashtag1","hashtag2"]},{"1399368084":["hashtag1","hashtag2"]},{"1399368092":["hashtag1","hashtag2"]},{"1399368086":["hashtag1","hashtag2"]},{"1399368095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368088, 1399368090, 1399368084, 1399368092, 1399368086, 1399368095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0558066368103 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:06:02.592138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/05/image_14122025_17_05_25_10634.jpg', '/home/pi/Desktop/images/14122025/17/05/image_14122025_17_05_35_9652.jpg', '/home/pi/Desktop/images/14122025/17/05/image_14122025_17_05_44_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/05/image_14122025_17_05_25_10634.jpg
/home/pi/Desktop/images/14122025/17/05/image_14122025_17_05_35_9652.jpg
/home/pi/Desktop/images/14122025/17/05/image_14122025_17_05_44_9668.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3979604244232178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 17:06:12.168195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:06:22.213918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/05/image_14122025_17_05_25_10634.jpg', '/home/pi/Desktop/images/14122025/17/05/image_14122025_17_05_35_9652.jpg', '/home/pi/Desktop/images/14122025/17/05/image_14122025_17_05_44_9668.jpg', '/home/pi/Desktop/images/14122025/17/05/image_14122025_17_05_55_10642.jpg', '/home/pi/Desktop/images/14122025/17/05/image_14122025_17_06_05_9654.jpg', '/home/pi/Desktop/images/14122025/17/06/image_14122025_17_06_15_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/05/image_14122025_17_05_25_10634.jpg
/home/pi/Desktop/images/14122025/17/05/image_14122025_17_05_35_9652.jpg
/home/pi/Desktop/images/14122025/17/05/image_14122025_17_05_44_9668.jpg
/home/pi/Desktop/images/14122025/17/05/image_14122025_17_05_55_10642.jpg
/home/pi/Desktop/images/14122025/17/05/image_14122025_17_06_05_9654.jpg
/home/pi/Desktop/images/14122025/17/06/image_14122025_17_06_15_10666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368112","1399368121","1399368109","1399368118","1399368114","1399368116"],"photo_ids_order":["1399368109","1399368112","1399368114","1399368116","1399368118","1399368121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa1b1b804c3322091a351662ee93be54.jpg","text":"TemporaryFile(/tmp/multipartBody8025059247843323844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728442874,"filename":"image_14122025_17_05_35_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/84836d33fc916766ad845852d22a2481.jpg","text":"TemporaryFile(/tmp/multipartBody99602596528292291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728442874,"filename":"image_14122025_17_06_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/12/14/29af112a5d9b969f4bb94ea4a74948f7.jpg","text":"TemporaryFile(/tmp/multipartBody4388669870213726739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728442874,"filename":"image_14122025_17_05_25_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/07e09ce35817e63678de841f73738dca.jpg","text":"TemporaryFile(/tmp/multipartBody3629872236799123253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728442874,"filename":"image_14122025_17_06_05_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/16a7ad2a3d961f10c0caedbe056afd8c.jpg","text":"TemporaryFile(/tmp/multipartBody1792126710050390204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728442874,"filename":"image_14122025_17_05_44_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/10aedcf7176f2baceb6b435c98cc594a.jpg","text":"TemporaryFile(/tmp/multipartBody3336096866636150293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728442874,"filename":"image_14122025_17_05_55_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368114","file1":"1399368112","file0":"1399368109","file4":"1399368118","file5":"1399368121","file3":"1399368116"},"map_files_photo_id_array":[{"photo_id":"1399368121","filename":"file5"},{"photo_id":"1399368114","filename":"file2"},{"photo_id":"1399368118","filename":"file4"},{"photo_id":"1399368112","filename":"file1"},{"photo_id":"1399368109","filename":"file0"},{"photo_id":"1399368116","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368112":["hashtag1","hashtag2"]},{"1399368121":["hashtag1","hashtag2"]},{"1399368109":["hashtag1","hashtag2"]},{"1399368118":["hashtag1","hashtag2"]},{"1399368114":["hashtag1","hashtag2"]},{"1399368116":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368112, 1399368121, 1399368109, 1399368118, 1399368114, 1399368116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.415560483932495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:07:03.133455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/06/image_14122025_17_06_25_9762.jpg', '/home/pi/Desktop/images/14122025/17/06/image_14122025_17_06_44_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/06/image_14122025_17_06_25_9762.jpg
/home/pi/Desktop/images/14122025/17/06/image_14122025_17_06_44_9681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368123","1399368122"],"photo_ids_order":["1399368122","1399368123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/55c2873719a53de3515df278ce25937e.jpg","text":"TemporaryFile(/tmp/multipartBody2136184312434165778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728483630,"filename":"image_14122025_17_06_44_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13942591f520e5af8be0f91140a711e9.jpg","text":"TemporaryFile(/tmp/multipartBody6046200508048824403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728483630,"filename":"image_14122025_17_06_25_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399368123","file0":"1399368122"},"map_files_photo_id_array":[{"photo_id":"1399368123","filename":"file1"},{"photo_id":"1399368122","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368123":["hashtag1","hashtag2"]},{"1399368122":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368123, 1399368122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.685544729232788 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:07:22.393282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/06/image_14122025_17_06_55_10818.jpg', '/home/pi/Desktop/images/14122025/17/06/image_14122025_17_07_05_9541.jpg', '/home/pi/Desktop/images/14122025/17/07/image_14122025_17_07_15_9772.jpg', '/home/pi/Desktop/images/14122025/17/07/image_14122025_17_07_25_10670.jpg', '/home/pi/Desktop/images/14122025/17/07/image_14122025_17_07_35_9623.jpg', '/home/pi/Desktop/images/14122025/17/07/image_14122025_17_07_45_9831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/06/image_14122025_17_06_55_10818.jpg
/home/pi/Desktop/images/14122025/17/06/image_14122025_17_07_05_9541.jpg
/home/pi/Desktop/images/14122025/17/07/image_14122025_17_07_15_9772.jpg
/home/pi/Desktop/images/14122025/17/07/image_14122025_17_07_25_10670.jpg
/home/pi/Desktop/images/14122025/17/07/image_14122025_17_07_35_9623.jpg
/home/pi/Desktop/images/14122025/17/07/image_14122025_17_07_45_9831.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368125","1399368130","1399368135","1399368132","1399368126","1399368128"],"photo_ids_order":["1399368125","1399368126","1399368128","1399368130","1399368132","1399368135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/efbb63bbdf007b1c594de2da982c94db.jpg","text":"TemporaryFile(/tmp/multipartBody7249945813569873893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728503049,"filename":"image_14122025_17_06_55_10818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a43dc271c46a06a784006d896de3610a.jpg","text":"TemporaryFile(/tmp/multipartBody1939815084307853913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728503049,"filename":"image_14122025_17_07_25_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2db1c6a1c0ba2733c812c741a434e119.jpg","text":"TemporaryFile(/tmp/multipartBody3262759364952355114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728503049,"filename":"image_14122025_17_07_45_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e89b0db0f9b9b89b2d3dd64fec1b7b0e.jpg","text":"TemporaryFile(/tmp/multipartBody7657257545480111091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728503049,"filename":"image_14122025_17_07_35_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4557c1fa5afa34724135561938739aeb.jpg","text":"TemporaryFile(/tmp/multipartBody6233458718316546144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728503049,"filename":"image_14122025_17_07_05_9541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/611d5626e2675d3d8560fec435734b70.jpg","text":"TemporaryFile(/tmp/multipartBody9125384028713043723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728503049,"filename":"image_14122025_17_07_15_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368128","file1":"1399368126","file0":"1399368125","file4":"1399368132","file5":"1399368135","file3":"1399368130"},"map_files_photo_id_array":[{"photo_id":"1399368135","filename":"file5"},{"photo_id":"1399368128","filename":"file2"},{"photo_id":"1399368132","filename":"file4"},{"photo_id":"1399368126","filename":"file1"},{"photo_id":"1399368125","filename":"file0"},{"photo_id":"1399368130","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368125":["hashtag1","hashtag2"]},{"1399368130":["hashtag1","hashtag2"]},{"1399368135":["hashtag1","hashtag2"]},{"1399368132":["hashtag1","hashtag2"]},{"1399368126":["hashtag1","hashtag2"]},{"1399368128":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368125, 1399368130, 1399368135, 1399368132, 1399368126, 1399368128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90764045715332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:08:03.020685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 17:08:12.481560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:08:22.562678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/07/image_14122025_17_07_55_10687.jpg', '/home/pi/Desktop/images/14122025/17/07/image_14122025_17_08_05_9752.jpg', '/home/pi/Desktop/images/14122025/17/08/image_14122025_17_08_15_9808.jpg', '/home/pi/Desktop/images/14122025/17/08/image_14122025_17_08_25_9742.jpg', '/home/pi/Desktop/images/14122025/17/08/image_14122025_17_08_34_9735.jpg', '/home/pi/Desktop/images/14122025/17/08/image_14122025_17_08_45_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/07/image_14122025_17_07_55_10687.jpg
/home/pi/Desktop/images/14122025/17/07/image_14122025_17_08_05_9752.jpg
/home/pi/Desktop/images/14122025/17/08/image_14122025_17_08_15_9808.jpg
/home/pi/Desktop/images/14122025/17/08/image_14122025_17_08_25_9742.jpg
/home/pi/Desktop/images/14122025/17/08/image_14122025_17_08_34_9735.jpg
/home/pi/Desktop/images/14122025/17/08/image_14122025_17_08_45_10641.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5148770809173584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 17:08:32.570487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:08:42.639130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_13_2679.jpg', '/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_17_3549.jpg', '/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_19_2660.jpg', '/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_22_2772.jpg', '/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_25_2606.jpg', '/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_28_3529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_13_2679.jpg
/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_17_3549.jpg
/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_19_2660.jpg
/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_22_2772.jpg
/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_25_2606.jpg
/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_28_3529.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368160","1399368157","1399368156","1399368146","1399368155","1399368158"],"photo_ids_order":["1399368146","1399368155","1399368156","1399368157","1399368158","1399368160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c3f8c51c3efe2c65dc45eb191a3f7562.jpg","text":"TemporaryFile(/tmp/multipartBody5717404702066825029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728583386,"filename":"image_04112025_14_04_28_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b4c7f2bb5f8131a75be60b462e2f983.jpg","text":"TemporaryFile(/tmp/multipartBody8363692149488245980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728583386,"filename":"image_04112025_14_04_22_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b0b313032e2f1003d4be55046ef395d.jpg","text":"TemporaryFile(/tmp/multipartBody1245151028630940481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728583386,"filename":"image_04112025_14_04_19_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8aabf36d21b41ec08e329299f297735a.jpg","text":"TemporaryFile(/tmp/multipartBody6355813095061665059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728583386,"filename":"image_04112025_14_04_13_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7028d03cf5be2440fefd380da1c99ad.jpg","text":"TemporaryFile(/tmp/multipartBody1541912239145549880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728583386,"filename":"image_04112025_14_04_17_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/178f1ab297cd6f2358266bcf09ac8c5d.jpg","text":"TemporaryFile(/tmp/multipartBody7505556730949435322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728583386,"filename":"image_04112025_14_04_25_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368156","file1":"1399368155","file0":"1399368146","file4":"1399368158","file5":"1399368160","file3":"1399368157"},"map_files_photo_id_array":[{"photo_id":"1399368160","filename":"file5"},{"photo_id":"1399368156","filename":"file2"},{"photo_id":"1399368158","filename":"file4"},{"photo_id":"1399368155","filename":"file1"},{"photo_id":"1399368146","filename":"file0"},{"photo_id":"1399368157","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399368160":["hashtag1","hashtag2"]},{"1399368157":["hashtag1","hashtag2"]},{"1399368156":["hashtag1","hashtag2"]},{"1399368146":["hashtag1","hashtag2"]},{"1399368155":["hashtag1","hashtag2"]},{"1399368158":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399368160, 1399368157, 1399368156, 1399368146, 1399368155, 1399368158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38128113746643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:09:22.165129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/07/image_14122025_17_07_55_10687.jpg', '/home/pi/Desktop/images/14122025/17/07/image_14122025_17_08_05_9752.jpg', '/home/pi/Desktop/images/14122025/17/08/image_14122025_17_08_15_9808.jpg', '/home/pi/Desktop/images/14122025/17/08/image_14122025_17_08_25_9742.jpg', '/home/pi/Desktop/images/14122025/17/08/image_14122025_17_08_34_9735.jpg', '/home/pi/Desktop/images/14122025/17/08/image_14122025_17_08_45_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/07/image_14122025_17_07_55_10687.jpg
/home/pi/Desktop/images/14122025/17/07/image_14122025_17_08_05_9752.jpg
/home/pi/Desktop/images/14122025/17/08/image_14122025_17_08_15_9808.jpg
/home/pi/Desktop/images/14122025/17/08/image_14122025_17_08_25_9742.jpg
/home/pi/Desktop/images/14122025/17/08/image_14122025_17_08_34_9735.jpg
/home/pi/Desktop/images/14122025/17/08/image_14122025_17_08_45_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":["1399368169","1399368172","1399368171","1399368162","1399368164","1399368167"],"photo_ids_order":["1399368162","1399368164","1399368167","1399368169","1399368171","1399368172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce66d8abfeed3ea761773fd750a75c82.jpg","text":"TemporaryFile(/tmp/multipartBody632641619838871869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728622790,"filename":"image_14122025_17_08_25_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c0d6b12a0ece82790952f882e7987f03.jpg","text":"TemporaryFile(/tmp/multipartBody6077224123866621702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728622790,"filename":"image_14122025_17_08_45_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c317e634ab9158fed59a8b7dd28a9efe.jpg","text":"TemporaryFile(/tmp/multipartBody1628955481082187643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728622790,"filename":"image_14122025_17_08_34_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9cdef0e9910fa332d056b24577725d87.jpg","text":"TemporaryFile(/tmp/multipartBody8037427229851950968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728622790,"filename":"image_14122025_17_07_55_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/74fe1c4f81c059f8e2c7c18ce985c033.jpg","text":"TemporaryFile(/tmp/multipartBody8135271385107501739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728622790,"filename":"image_14122025_17_08_05_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/87bacd28abe8f43111698cb4d86413bf.jpg","text":"TemporaryFile(/tmp/multipartBody8565481241451675222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728622790,"filename":"image_14122025_17_08_15_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368167","file1":"1399368164","file0":"1399368162","file4":"1399368171","file5":"1399368172","file3":"1399368169"},"map_files_photo_id_array":[{"photo_id":"1399368172","filename":"file5"},{"photo_id":"1399368167","filename":"file2"},{"photo_id":"1399368171","filename":"file4"},{"photo_id":"1399368164","filename":"file1"},{"photo_id":"1399368162","filename":"file0"},{"photo_id":"1399368169","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368169":["hashtag1","hashtag2"]},{"1399368172":["hashtag1","hashtag2"]},{"1399368171":["hashtag1","hashtag2"]},{"1399368162":["hashtag1","hashtag2"]},{"1399368164":["hashtag1","hashtag2"]},{"1399368167":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368169, 1399368172, 1399368171, 1399368162, 1399368164, 1399368167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.382479667663574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:10:02.570722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/08/image_14122025_17_08_55_9569.jpg', '/home/pi/Desktop/images/14122025/17/08/image_14122025_17_09_05_10754.jpg', '/home/pi/Desktop/images/14122025/17/09/image_14122025_17_09_15_9801.jpg', '/home/pi/Desktop/images/14122025/17/09/image_14122025_17_09_25_9861.jpg', '/home/pi/Desktop/images/14122025/17/09/image_14122025_17_09_35_9619.jpg', '/home/pi/Desktop/images/14122025/17/09/image_14122025_17_09_45_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/08/image_14122025_17_08_55_9569.jpg
/home/pi/Desktop/images/14122025/17/08/image_14122025_17_09_05_10754.jpg
/home/pi/Desktop/images/14122025/17/09/image_14122025_17_09_15_9801.jpg
/home/pi/Desktop/images/14122025/17/09/image_14122025_17_09_25_9861.jpg
/home/pi/Desktop/images/14122025/17/09/image_14122025_17_09_35_9619.jpg
/home/pi/Desktop/images/14122025/17/09/image_14122025_17_09_45_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368175","1399368178","1399368174","1399368177","1399368173","1399368176"],"photo_ids_order":["1399368173","1399368174","1399368175","1399368176","1399368177","1399368178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d21293ba81ba9b07475e3505afcedcb3.jpg","text":"TemporaryFile(/tmp/multipartBody7435684012161828803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728663174,"filename":"image_14122025_17_09_15_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cb77a084d27e2a074388a248a72bcf4e.jpg","text":"TemporaryFile(/tmp/multipartBody1492828653477950427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728663174,"filename":"image_14122025_17_09_45_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/964c4f409b724e036f10febf8cfcbce8.jpg","text":"TemporaryFile(/tmp/multipartBody2059181514828460741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728663174,"filename":"image_14122025_17_09_05_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e89f75ce810bfb52c15dc480a94dda9.jpg","text":"TemporaryFile(/tmp/multipartBody5689685897454362684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728663174,"filename":"image_14122025_17_09_35_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f9e90a5bf42ef8d8c3883391f3210d0a.jpg","text":"TemporaryFile(/tmp/multipartBody4463805401655846902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728663174,"filename":"image_14122025_17_08_55_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/42c41db737f433a0995235cfe58de0b4.jpg","text":"TemporaryFile(/tmp/multipartBody1766357855501601802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728663174,"filename":"image_14122025_17_09_25_9861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368175","file1":"1399368174","file0":"1399368173","file4":"1399368177","file5":"1399368178","file3":"1399368176"},"map_files_photo_id_array":[{"photo_id":"1399368178","filename":"file5"},{"photo_id":"1399368175","filename":"file2"},{"photo_id":"1399368177","filename":"file4"},{"photo_id":"1399368174","filename":"file1"},{"photo_id":"1399368173","filename":"file0"},{"photo_id":"1399368176","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368175":["hashtag1","hashtag2"]},{"1399368178":["hashtag1","hashtag2"]},{"1399368174":["hashtag1","hashtag2"]},{"1399368177":["hashtag1","hashtag2"]},{"1399368173":["hashtag1","hashtag2"]},{"1399368176":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368175, 1399368178, 1399368174, 1399368177, 1399368173, 1399368176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70274305343628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:10:42.167680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_31_2703.jpg', '/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_35_3674.jpg', '/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_37_2557.jpg', '/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_40_2597.jpg', '/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_43_3622.jpg', '/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_46_2519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_31_2703.jpg
/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_35_3674.jpg
/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_37_2557.jpg
/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_40_2597.jpg
/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_43_3622.jpg
/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_46_2519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368190","1399368192","1399368182","1399368191","1399368185","1399368188"],"photo_ids_order":["1399368182","1399368185","1399368188","1399368190","1399368191","1399368192"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf6168b0d0a37dac56d88a815a8f69cc.jpg","text":"TemporaryFile(/tmp/multipartBody2763014177799117839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728702907,"filename":"image_04112025_14_04_40_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d412b8783ca530f920b08927e9c8c6eb.jpg","text":"TemporaryFile(/tmp/multipartBody831466513497024642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728702907,"filename":"image_04112025_14_04_46_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/392a2fd95ed6fc61d219a6f46b5564dd.jpg","text":"TemporaryFile(/tmp/multipartBody715823251588108087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728702907,"filename":"image_04112025_14_04_31_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1a0c28ea6950ffc70bd9cf075adada5.jpg","text":"TemporaryFile(/tmp/multipartBody1813793428421041529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728702907,"filename":"image_04112025_14_04_43_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ffa6b79cd92e1fd86f1af38c0cc4304d.jpg","text":"TemporaryFile(/tmp/multipartBody8157317186896733893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728702907,"filename":"image_04112025_14_04_35_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0bf23c5f22f526d46cea22b238ccdd2b.jpg","text":"TemporaryFile(/tmp/multipartBody8930363780128817163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728702907,"filename":"image_04112025_14_04_37_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368188","file1":"1399368185","file0":"1399368182","file4":"1399368191","file5":"1399368192","file3":"1399368190"},"map_files_photo_id_array":[{"photo_id":"1399368192","filename":"file5"},{"photo_id":"1399368188","filename":"file2"},{"photo_id":"1399368191","filename":"file4"},{"photo_id":"1399368185","filename":"file1"},{"photo_id":"1399368182","filename":"file0"},{"photo_id":"1399368190","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399368190":["hashtag1","hashtag2"]},{"1399368192":["hashtag1","hashtag2"]},{"1399368182":["hashtag1","hashtag2"]},{"1399368191":["hashtag1","hashtag2"]},{"1399368185":["hashtag1","hashtag2"]},{"1399368188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399368190, 1399368192, 1399368182, 1399368191, 1399368185, 1399368188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.500696659088135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:11:22.455675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/09/image_14122025_17_09_55_9785.jpg', '/home/pi/Desktop/images/14122025/17/11/image_14122025_17_11_14_10041.jpg', '/home/pi/Desktop/images/14122025/17/11/image_14122025_17_11_24_10591.jpg', '/home/pi/Desktop/images/14122025/17/11/image_14122025_17_11_34_9620.jpg', '/home/pi/Desktop/images/14122025/17/11/image_14122025_17_11_44_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/09/image_14122025_17_09_55_9785.jpg
/home/pi/Desktop/images/14122025/17/11/image_14122025_17_11_14_10041.jpg
/home/pi/Desktop/images/14122025/17/11/image_14122025_17_11_24_10591.jpg
/home/pi/Desktop/images/14122025/17/11/image_14122025_17_11_34_9620.jpg
/home/pi/Desktop/images/14122025/17/11/image_14122025_17_11_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":["1399368193","1399368198","1399368202","1399368195","1399368200"],"photo_ids_order":["1399368193","1399368195","1399368198","1399368200","1399368202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c84e731f3413dfbd89c2dab792553aeb.jpg","text":"TemporaryFile(/tmp/multipartBody8361295456214024230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728743036,"filename":"image_14122025_17_09_55_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/334462455e310e4097f8209968f36202.jpg","text":"TemporaryFile(/tmp/multipartBody4549747600724576793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728743036,"filename":"image_14122025_17_11_24_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce67206b422c655cee141c1e57c3cc54.jpg","text":"TemporaryFile(/tmp/multipartBody5571078786030334628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728743036,"filename":"image_14122025_17_11_44_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/87d52c467a9ebd1d4fca3ffcd6554c81.jpg","text":"TemporaryFile(/tmp/multipartBody1942171576532439963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728743036,"filename":"image_14122025_17_11_14_10041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/65b70e5cbad98fbe1bea1b8ac62ef12d.jpg","text":"TemporaryFile(/tmp/multipartBody3404129744428700433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728743036,"filename":"image_14122025_17_11_34_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368198","file1":"1399368195","file0":"1399368193","file4":"1399368202","file3":"1399368200"},"map_files_photo_id_array":[{"photo_id":"1399368198","filename":"file2"},{"photo_id":"1399368202","filename":"file4"},{"photo_id":"1399368195","filename":"file1"},{"photo_id":"1399368193","filename":"file0"},{"photo_id":"1399368200","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368193":["hashtag1","hashtag2"]},{"1399368198":["hashtag1","hashtag2"]},{"1399368202":["hashtag1","hashtag2"]},{"1399368195":["hashtag1","hashtag2"]},{"1399368200":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368193, 1399368198, 1399368202, 1399368195, 1399368200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.411669969558716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:12:03.094443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 17:12:12.603620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:12:22.663939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/11/image_14122025_17_11_54_9762.jpg', '/home/pi/Desktop/images/14122025/17/11/image_14122025_17_12_04_9680.jpg', '/home/pi/Desktop/images/14122025/17/12/image_14122025_17_12_14_9739.jpg', '/home/pi/Desktop/images/14122025/17/12/image_14122025_17_12_24_10743.jpg', '/home/pi/Desktop/images/14122025/17/12/image_14122025_17_12_34_9795.jpg', '/home/pi/Desktop/images/14122025/17/12/image_14122025_17_12_44_9576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/11/image_14122025_17_11_54_9762.jpg
/home/pi/Desktop/images/14122025/17/11/image_14122025_17_12_04_9680.jpg
/home/pi/Desktop/images/14122025/17/12/image_14122025_17_12_14_9739.jpg
/home/pi/Desktop/images/14122025/17/12/image_14122025_17_12_24_10743.jpg
/home/pi/Desktop/images/14122025/17/12/image_14122025_17_12_34_9795.jpg
/home/pi/Desktop/images/14122025/17/12/image_14122025_17_12_44_9576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368224","1399368218","1399368220","1399368222","1399368216","1399368227"],"photo_ids_order":["1399368216","1399368218","1399368220","1399368222","1399368224","1399368227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0e8e99460bedffff462f5942a325e873.jpg","text":"TemporaryFile(/tmp/multipartBody6812347848394617674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728803283,"filename":"image_14122025_17_12_34_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/74d43bfb5a92d2ca31651595a9418272.jpg","text":"TemporaryFile(/tmp/multipartBody8409260167364232065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728803283,"filename":"image_14122025_17_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/12/14/90caed2555e4cf7752a1435587e5bb56.jpg","text":"TemporaryFile(/tmp/multipartBody5905849641729424203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728803283,"filename":"image_14122025_17_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/12/14/69faa4e36df9d5fa563fb906eb0931db.jpg","text":"TemporaryFile(/tmp/multipartBody8436644721626158976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728803283,"filename":"image_14122025_17_12_24_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6458e8db2098e0c0e2bd9e9bb4e5f27c.jpg","text":"TemporaryFile(/tmp/multipartBody5623842246336103639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728803283,"filename":"image_14122025_17_11_54_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/47fdbbe088f96a8f66729bcad8b8f668.jpg","text":"TemporaryFile(/tmp/multipartBody7355321865386813390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728803283,"filename":"image_14122025_17_12_44_9576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368220","file1":"1399368218","file0":"1399368216","file4":"1399368224","file5":"1399368227","file3":"1399368222"},"map_files_photo_id_array":[{"photo_id":"1399368227","filename":"file5"},{"photo_id":"1399368220","filename":"file2"},{"photo_id":"1399368224","filename":"file4"},{"photo_id":"1399368218","filename":"file1"},{"photo_id":"1399368216","filename":"file0"},{"photo_id":"1399368222","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368224":["hashtag1","hashtag2"]},{"1399368218":["hashtag1","hashtag2"]},{"1399368220":["hashtag1","hashtag2"]},{"1399368222":["hashtag1","hashtag2"]},{"1399368216":["hashtag1","hashtag2"]},{"1399368227":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368224, 1399368218, 1399368220, 1399368222, 1399368216, 1399368227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99615836143494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:13:02.551977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 17:13:11.829711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:13:21.865487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/12/image_14122025_17_12_54_9783.jpg', '/home/pi/Desktop/images/14122025/17/12/image_14122025_17_13_04_10653.jpg', '/home/pi/Desktop/images/14122025/17/13/image_14122025_17_13_14_9669.jpg', '/home/pi/Desktop/images/14122025/17/13/image_14122025_17_13_24_10598.jpg', '/home/pi/Desktop/images/14122025/17/13/image_14122025_17_13_34_9666.jpg', '/home/pi/Desktop/images/14122025/17/13/image_14122025_17_13_44_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/12/image_14122025_17_12_54_9783.jpg
/home/pi/Desktop/images/14122025/17/12/image_14122025_17_13_04_10653.jpg
/home/pi/Desktop/images/14122025/17/13/image_14122025_17_13_14_9669.jpg
/home/pi/Desktop/images/14122025/17/13/image_14122025_17_13_24_10598.jpg
/home/pi/Desktop/images/14122025/17/13/image_14122025_17_13_34_9666.jpg
/home/pi/Desktop/images/14122025/17/13/image_14122025_17_13_44_9714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368230","1399368232","1399368234","1399368228","1399368239","1399368236"],"photo_ids_order":["1399368228","1399368230","1399368232","1399368234","1399368236","1399368239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf37481dfdf4b1d19511c2b512d62cb8.jpg","text":"TemporaryFile(/tmp/multipartBody6024876322613040657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728862513,"filename":"image_14122025_17_13_04_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4eae0f0ca15c1231e58125c9fc14c376.jpg","text":"TemporaryFile(/tmp/multipartBody2443464079932284340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728862513,"filename":"image_14122025_17_13_14_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/212c9d8d2e750ef845e5b95dd205af9d.jpg","text":"TemporaryFile(/tmp/multipartBody1663958022839990140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728862513,"filename":"image_14122025_17_13_24_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9ec6feb3e881a8f9b69db8eaf756c600.jpg","text":"TemporaryFile(/tmp/multipartBody6242345148025907960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728862513,"filename":"image_14122025_17_12_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/12/14/e6b92fab647bdc9375ac08944be67eb0.jpg","text":"TemporaryFile(/tmp/multipartBody4423612793377358536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728862513,"filename":"image_14122025_17_13_44_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76642e1b28eef9e37a7fa533cb9fe401.jpg","text":"TemporaryFile(/tmp/multipartBody7349999756049804479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728862513,"filename":"image_14122025_17_13_34_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368232","file1":"1399368230","file0":"1399368228","file4":"1399368236","file5":"1399368239","file3":"1399368234"},"map_files_photo_id_array":[{"photo_id":"1399368239","filename":"file5"},{"photo_id":"1399368232","filename":"file2"},{"photo_id":"1399368236","filename":"file4"},{"photo_id":"1399368230","filename":"file1"},{"photo_id":"1399368228","filename":"file0"},{"photo_id":"1399368234","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368230":["hashtag1","hashtag2"]},{"1399368232":["hashtag1","hashtag2"]},{"1399368234":["hashtag1","hashtag2"]},{"1399368228":["hashtag1","hashtag2"]},{"1399368239":["hashtag1","hashtag2"]},{"1399368236":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368230, 1399368232, 1399368234, 1399368228, 1399368239, 1399368236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68165612220764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:14:02.757258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 17:14:12.124693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:14:22.154698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/13/image_14122025_17_13_54_9794.jpg', '/home/pi/Desktop/images/14122025/17/13/image_14122025_17_14_04_10809.jpg', '/home/pi/Desktop/images/14122025/17/14/image_14122025_17_14_14_9905.jpg', '/home/pi/Desktop/images/14122025/17/14/image_14122025_17_14_24_9633.jpg', '/home/pi/Desktop/images/14122025/17/14/image_14122025_17_14_34_9603.jpg', '/home/pi/Desktop/images/14122025/17/14/image_14122025_17_14_44_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/13/image_14122025_17_13_54_9794.jpg
/home/pi/Desktop/images/14122025/17/13/image_14122025_17_14_04_10809.jpg
/home/pi/Desktop/images/14122025/17/14/image_14122025_17_14_14_9905.jpg
/home/pi/Desktop/images/14122025/17/14/image_14122025_17_14_24_9633.jpg
/home/pi/Desktop/images/14122025/17/14/image_14122025_17_14_34_9603.jpg
/home/pi/Desktop/images/14122025/17/14/image_14122025_17_14_44_10572.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5404176712036133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 17:14:32.131095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:14:42.079595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_50_3665.jpg', '/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_52_2797.jpg', '/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_55_2552.jpg', '/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_59_3665.jpg', '/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_01_2713.jpg', '/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_04_2445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_50_3665.jpg
/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_52_2797.jpg
/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_55_2552.jpg
/home/pi/Desktop/images/04112025/14/04/image_04112025_14_04_59_3665.jpg
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_01_2713.jpg
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_04_2445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368268","1399368265","1399368267","1399368255","1399368257","1399368266"],"photo_ids_order":["1399368255","1399368257","1399368265","1399368266","1399368267","1399368268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/83c8d3a22f2e4e9243791be8bdc253f3.jpg","text":"TemporaryFile(/tmp/multipartBody7563425435173475306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728942768,"filename":"image_04112025_14_05_04_2445.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2353505a7c88fc4771b4446d2e62be6b.jpg","text":"TemporaryFile(/tmp/multipartBody5096282844940154400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728942768,"filename":"image_04112025_14_04_55_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b62f3c584793df9b05e74db669838ea.jpg","text":"TemporaryFile(/tmp/multipartBody2865958273980099022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728942768,"filename":"image_04112025_14_05_01_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dab24e4a4a047cf29c0f5cf3cacec7f4.jpg","text":"TemporaryFile(/tmp/multipartBody3676235212665033391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728942768,"filename":"image_04112025_14_04_50_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae39cb18d8bd23df35daf5c5d44c68b2.jpg","text":"TemporaryFile(/tmp/multipartBody6848335099403428596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728942768,"filename":"image_04112025_14_04_52_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56b56455839557e3da053f172de68f67.jpg","text":"TemporaryFile(/tmp/multipartBody1602638929791832938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728942768,"filename":"image_04112025_14_04_59_3665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368265","file1":"1399368257","file0":"1399368255","file4":"1399368267","file5":"1399368268","file3":"1399368266"},"map_files_photo_id_array":[{"photo_id":"1399368268","filename":"file5"},{"photo_id":"1399368265","filename":"file2"},{"photo_id":"1399368267","filename":"file4"},{"photo_id":"1399368257","filename":"file1"},{"photo_id":"1399368255","filename":"file0"},{"photo_id":"1399368266","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399368268":["hashtag1","hashtag2"]},{"1399368265":["hashtag1","hashtag2"]},{"1399368267":["hashtag1","hashtag2"]},{"1399368255":["hashtag1","hashtag2"]},{"1399368257":["hashtag1","hashtag2"]},{"1399368266":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399368268, 1399368265, 1399368267, 1399368255, 1399368257, 1399368266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62914204597473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:15:22.310255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/13/image_14122025_17_13_54_9794.jpg', '/home/pi/Desktop/images/14122025/17/13/image_14122025_17_14_04_10809.jpg', '/home/pi/Desktop/images/14122025/17/14/image_14122025_17_14_14_9905.jpg', '/home/pi/Desktop/images/14122025/17/14/image_14122025_17_14_24_9633.jpg', '/home/pi/Desktop/images/14122025/17/14/image_14122025_17_14_34_9603.jpg', '/home/pi/Desktop/images/14122025/17/14/image_14122025_17_14_44_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/13/image_14122025_17_13_54_9794.jpg
/home/pi/Desktop/images/14122025/17/13/image_14122025_17_14_04_10809.jpg
/home/pi/Desktop/images/14122025/17/14/image_14122025_17_14_14_9905.jpg
/home/pi/Desktop/images/14122025/17/14/image_14122025_17_14_24_9633.jpg
/home/pi/Desktop/images/14122025/17/14/image_14122025_17_14_34_9603.jpg
/home/pi/Desktop/images/14122025/17/14/image_14122025_17_14_44_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":["1399368271","1399368279","1399368273","1399368276","1399368278","1399368269"],"photo_ids_order":["1399368269","1399368271","1399368273","1399368276","1399368278","1399368279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a653e8d4418201493f073807d088cff9.jpg","text":"TemporaryFile(/tmp/multipartBody3084320339764531970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728982919,"filename":"image_14122025_17_14_04_10809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d935b874eb91ed9b8f361b30dee2e653.jpg","text":"TemporaryFile(/tmp/multipartBody1004238679215402728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728982919,"filename":"image_14122025_17_14_44_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb66628e49ade870455888329625b35f.jpg","text":"TemporaryFile(/tmp/multipartBody321766791069221609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728982919,"filename":"image_14122025_17_14_14_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1ad6847e27405d641089ebea06cd0d3.jpg","text":"TemporaryFile(/tmp/multipartBody5112972279400548397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728982919,"filename":"image_14122025_17_14_24_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d01b23b436fb29b538910f439530cb13.jpg","text":"TemporaryFile(/tmp/multipartBody5246247460917161182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728982919,"filename":"image_14122025_17_14_34_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/25d5d90b1735626b9d225dcbcd548f1e.jpg","text":"TemporaryFile(/tmp/multipartBody8113264282959580805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765728982919,"filename":"image_14122025_17_13_54_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368273","file1":"1399368271","file0":"1399368269","file4":"1399368278","file5":"1399368279","file3":"1399368276"},"map_files_photo_id_array":[{"photo_id":"1399368279","filename":"file5"},{"photo_id":"1399368273","filename":"file2"},{"photo_id":"1399368278","filename":"file4"},{"photo_id":"1399368271","filename":"file1"},{"photo_id":"1399368269","filename":"file0"},{"photo_id":"1399368276","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368271":["hashtag1","hashtag2"]},{"1399368279":["hashtag1","hashtag2"]},{"1399368273":["hashtag1","hashtag2"]},{"1399368276":["hashtag1","hashtag2"]},{"1399368278":["hashtag1","hashtag2"]},{"1399368269":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368271, 1399368279, 1399368273, 1399368276, 1399368278, 1399368269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29615044593811 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:16:02.959855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/14/image_14122025_17_14_54_9793.jpg', '/home/pi/Desktop/images/14122025/17/15/image_14122025_17_15_14_10050.jpg', '/home/pi/Desktop/images/14122025/17/15/image_14122025_17_15_25_10886.jpg', '/home/pi/Desktop/images/14122025/17/15/image_14122025_17_15_34_9659.jpg', '/home/pi/Desktop/images/14122025/17/15/image_14122025_17_15_44_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/14/image_14122025_17_14_54_9793.jpg
/home/pi/Desktop/images/14122025/17/15/image_14122025_17_15_14_10050.jpg
/home/pi/Desktop/images/14122025/17/15/image_14122025_17_15_25_10886.jpg
/home/pi/Desktop/images/14122025/17/15/image_14122025_17_15_34_9659.jpg
/home/pi/Desktop/images/14122025/17/15/image_14122025_17_15_44_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":["1399368286","1399368288","1399368282","1399368284","1399368287"],"photo_ids_order":["1399368282","1399368284","1399368286","1399368287","1399368288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb4545db724e7904cbd5a644e4f08a77.jpg","text":"TemporaryFile(/tmp/multipartBody2320402438469736676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729023583,"filename":"image_14122025_17_15_25_10886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3bf2e4811fe812a211b0ba6ffc90b723.jpg","text":"TemporaryFile(/tmp/multipartBody5126138191176885858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729023583,"filename":"image_14122025_17_15_44_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/212d7b02e895a02c3eaed518c1da4857.jpg","text":"TemporaryFile(/tmp/multipartBody4241368929426215504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729023583,"filename":"image_14122025_17_14_54_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/83b8984899e2bf2ce219ec10c76681e4.jpg","text":"TemporaryFile(/tmp/multipartBody7116537696598454305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729023583,"filename":"image_14122025_17_15_14_10050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b259db33bcd2b840acea2b2463a9f37e.jpg","text":"TemporaryFile(/tmp/multipartBody1492852925848467600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729023583,"filename":"image_14122025_17_15_34_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368286","file1":"1399368284","file0":"1399368282","file4":"1399368288","file3":"1399368287"},"map_files_photo_id_array":[{"photo_id":"1399368286","filename":"file2"},{"photo_id":"1399368288","filename":"file4"},{"photo_id":"1399368284","filename":"file1"},{"photo_id":"1399368282","filename":"file0"},{"photo_id":"1399368287","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368286":["hashtag1","hashtag2"]},{"1399368288":["hashtag1","hashtag2"]},{"1399368282":["hashtag1","hashtag2"]},{"1399368284":["hashtag1","hashtag2"]},{"1399368287":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368286, 1399368288, 1399368282, 1399368284, 1399368287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.297028064727783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:16:42.674718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_08_3676.jpg', '/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_10_2609.jpg', '/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_13_2600.jpg', '/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_16_3765.jpg', '/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_19_2609.jpg', '/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_22_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_08_3676.jpg
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_10_2609.jpg
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_13_2600.jpg
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_16_3765.jpg
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_19_2609.jpg
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_22_2629.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5805795192718506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:17:02.756189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/15/image_14122025_17_15_54_9784.jpg', '/home/pi/Desktop/images/14122025/17/15/image_14122025_17_16_05_10817.jpg', '/home/pi/Desktop/images/14122025/17/16/image_14122025_17_16_15_9797.jpg', '/home/pi/Desktop/images/14122025/17/16/image_14122025_17_16_24_9647.jpg', '/home/pi/Desktop/images/14122025/17/16/image_14122025_17_16_34_9616.jpg', '/home/pi/Desktop/images/14122025/17/16/image_14122025_17_16_44_10578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/15/image_14122025_17_15_54_9784.jpg
/home/pi/Desktop/images/14122025/17/15/image_14122025_17_16_05_10817.jpg
/home/pi/Desktop/images/14122025/17/16/image_14122025_17_16_15_9797.jpg
/home/pi/Desktop/images/14122025/17/16/image_14122025_17_16_24_9647.jpg
/home/pi/Desktop/images/14122025/17/16/image_14122025_17_16_34_9616.jpg
/home/pi/Desktop/images/14122025/17/16/image_14122025_17_16_44_10578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368302","1399368304","1399368301","1399368303","1399368306","1399368300"],"photo_ids_order":["1399368300","1399368301","1399368302","1399368303","1399368304","1399368306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f736d0ad528bbfac9f58d2eda59c8f84.jpg","text":"TemporaryFile(/tmp/multipartBody8771183423184821520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729083451,"filename":"image_14122025_17_16_15_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a8aca8d187e0e5a275b195eda26779f6.jpg","text":"TemporaryFile(/tmp/multipartBody6641137107048812750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729083451,"filename":"image_14122025_17_16_34_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/731612d12865118c44af57eff4926e64.jpg","text":"TemporaryFile(/tmp/multipartBody7858960123560934220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729083451,"filename":"image_14122025_17_16_05_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/186e892b137cfd388a390c0eb4bb5dd7.jpg","text":"TemporaryFile(/tmp/multipartBody837975533942535770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729083451,"filename":"image_14122025_17_16_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f9180c5728d4ac4adc580b66564f083e.jpg","text":"TemporaryFile(/tmp/multipartBody8991063567887340932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729083451,"filename":"image_14122025_17_16_44_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c25aff16ce510631183dd5970400587.jpg","text":"TemporaryFile(/tmp/multipartBody1693345018101645831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729083451,"filename":"image_14122025_17_15_54_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368302","file1":"1399368301","file0":"1399368300","file4":"1399368304","file5":"1399368306","file3":"1399368303"},"map_files_photo_id_array":[{"photo_id":"1399368306","filename":"file5"},{"photo_id":"1399368302","filename":"file2"},{"photo_id":"1399368304","filename":"file4"},{"photo_id":"1399368301","filename":"file1"},{"photo_id":"1399368300","filename":"file0"},{"photo_id":"1399368303","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368302":["hashtag1","hashtag2"]},{"1399368304":["hashtag1","hashtag2"]},{"1399368301":["hashtag1","hashtag2"]},{"1399368303":["hashtag1","hashtag2"]},{"1399368306":["hashtag1","hashtag2"]},{"1399368300":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368302, 1399368304, 1399368301, 1399368303, 1399368306, 1399368300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.428346395492554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:17:41.965231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_08_3676.jpg', '/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_10_2609.jpg', '/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_13_2600.jpg', '/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_16_3765.jpg', '/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_19_2609.jpg', '/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_22_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_08_3676.jpg
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_10_2609.jpg
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_13_2600.jpg
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_16_3765.jpg
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_19_2609.jpg
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_22_2629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368317","1399368311","1399368319","1399368315","1399368318","1399368320"],"photo_ids_order":["1399368311","1399368315","1399368317","1399368318","1399368319","1399368320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f855eed2292efe735086871ba708527.jpg","text":"TemporaryFile(/tmp/multipartBody2060050255601327202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729122542,"filename":"image_04112025_14_05_13_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ea0c5a6ad1ae50fbeebe0df03f2a5572.jpg","text":"TemporaryFile(/tmp/multipartBody547441326768062597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729122542,"filename":"image_04112025_14_05_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/12/14/9d933b638b3f94321794eed4fb8bf9fd.jpg","text":"TemporaryFile(/tmp/multipartBody4469414788817159944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729122542,"filename":"image_04112025_14_05_19_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/83fc6ed222c08f3a6a9fa1fbe63e79f9.jpg","text":"TemporaryFile(/tmp/multipartBody3903791568922402136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729122542,"filename":"image_04112025_14_05_10_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7aadaac2372293a4ba99751e4da376f4.jpg","text":"TemporaryFile(/tmp/multipartBody8372086293512193267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729122542,"filename":"image_04112025_14_05_16_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c5abdfdfd3907f9f71822afbf7cc2ec9.jpg","text":"TemporaryFile(/tmp/multipartBody8179642707485212965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729122542,"filename":"image_04112025_14_05_22_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368317","file1":"1399368315","file0":"1399368311","file4":"1399368319","file5":"1399368320","file3":"1399368318"},"map_files_photo_id_array":[{"photo_id":"1399368320","filename":"file5"},{"photo_id":"1399368317","filename":"file2"},{"photo_id":"1399368319","filename":"file4"},{"photo_id":"1399368315","filename":"file1"},{"photo_id":"1399368311","filename":"file0"},{"photo_id":"1399368318","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399368317":["hashtag1","hashtag2"]},{"1399368311":["hashtag1","hashtag2"]},{"1399368319":["hashtag1","hashtag2"]},{"1399368315":["hashtag1","hashtag2"]},{"1399368318":["hashtag1","hashtag2"]},{"1399368320":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399368317, 1399368311, 1399368319, 1399368315, 1399368318, 1399368320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44782114028931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:18:22.241343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/16/image_14122025_17_16_54_9819.jpg', '/home/pi/Desktop/images/14122025/17/16/image_14122025_17_17_04_9804.jpg', '/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_15_10754.jpg', '/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_24_9633.jpg', '/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_34_9608.jpg', '/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_45_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/16/image_14122025_17_16_54_9819.jpg
/home/pi/Desktop/images/14122025/17/16/image_14122025_17_17_04_9804.jpg
/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_15_10754.jpg
/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_24_9633.jpg
/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_34_9608.jpg
/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_45_10657.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5122523307800293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 17:18:32.254495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:18:42.291434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_25_3634.jpg', '/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_28_2656.jpg', '/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_32_3563.jpg', '/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_34_2595.jpg', '/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_37_2860.jpg', '/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_40_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_25_3634.jpg
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_28_2656.jpg
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_32_3563.jpg
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_34_2595.jpg
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_37_2860.jpg
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_40_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":["1399368337","1399368334","1399368333","1399368336","1399368332","1399368335"],"photo_ids_order":["1399368332","1399368333","1399368334","1399368335","1399368336","1399368337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b2b85588e2e2c3e48f1932e7a666df2.jpg","text":"TemporaryFile(/tmp/multipartBody483964367522408704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729182984,"filename":"image_04112025_14_05_40_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2460b4600e62fe62e838dc4ba3a9941d.jpg","text":"TemporaryFile(/tmp/multipartBody7801723729390155688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729182984,"filename":"image_04112025_14_05_32_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/39ad6eca84dda1f8be06c9da300a2908.jpg","text":"TemporaryFile(/tmp/multipartBody1008535681558852573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729182984,"filename":"image_04112025_14_05_28_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f50849a86ed5491c54689be90f89a9e6.jpg","text":"TemporaryFile(/tmp/multipartBody3716004721520796928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729182984,"filename":"image_04112025_14_05_37_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/237345a32ef196620d0d03785ae0862a.jpg","text":"TemporaryFile(/tmp/multipartBody5213985518513394028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729182984,"filename":"image_04112025_14_05_25_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7e3ce1c0d5d267157577a712a78f4e8.jpg","text":"TemporaryFile(/tmp/multipartBody4411459296217712595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729182984,"filename":"image_04112025_14_05_34_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368334","file1":"1399368333","file0":"1399368332","file4":"1399368336","file5":"1399368337","file3":"1399368335"},"map_files_photo_id_array":[{"photo_id":"1399368337","filename":"file5"},{"photo_id":"1399368334","filename":"file2"},{"photo_id":"1399368336","filename":"file4"},{"photo_id":"1399368333","filename":"file1"},{"photo_id":"1399368332","filename":"file0"},{"photo_id":"1399368335","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399368337":["hashtag1","hashtag2"]},{"1399368334":["hashtag1","hashtag2"]},{"1399368333":["hashtag1","hashtag2"]},{"1399368336":["hashtag1","hashtag2"]},{"1399368332":["hashtag1","hashtag2"]},{"1399368335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399368337, 1399368334, 1399368333, 1399368336, 1399368332, 1399368335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62133574485779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:19:22.733138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/16/image_14122025_17_16_54_9819.jpg', '/home/pi/Desktop/images/14122025/17/16/image_14122025_17_17_04_9804.jpg', '/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_15_10754.jpg', '/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_24_9633.jpg', '/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_34_9608.jpg', '/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_45_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/16/image_14122025_17_16_54_9819.jpg
/home/pi/Desktop/images/14122025/17/16/image_14122025_17_17_04_9804.jpg
/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_15_10754.jpg
/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_24_9633.jpg
/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_34_9608.jpg
/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_45_10657.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5144658088684082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 17:19:32.497405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:19:42.692786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_43_3640.jpg', '/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_46_2562.jpg', '/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_49_3606.jpg', '/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_52_2842.jpg', '/home/pi/Desktop/images/04112025/14/05/image_04112025_14_06_01_3618.jpg', '/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_04_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_43_3640.jpg
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_46_2562.jpg
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_49_3606.jpg
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_05_52_2842.jpg
/home/pi/Desktop/images/04112025/14/05/image_04112025_14_06_01_3618.jpg
/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_04_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":["1399368349","1399368352","1399368351","1399368350","1399368353","1399368347"],"photo_ids_order":["1399368347","1399368349","1399368350","1399368351","1399368352","1399368353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/39caa38db05066dfe189c9cd09ade43c.jpg","text":"TemporaryFile(/tmp/multipartBody7510894478683474617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729243438,"filename":"image_04112025_14_05_46_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/177a9cd9f07b7e2741335fb3f93abac4.jpg","text":"TemporaryFile(/tmp/multipartBody5489089562954731112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729243438,"filename":"image_04112025_14_06_01_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/75f6e25c0a9a2083c2c1336dfc7bf8ed.jpg","text":"TemporaryFile(/tmp/multipartBody3860666913889320746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729243438,"filename":"image_04112025_14_05_52_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0a3b482432268c83c83d8d46a61873a6.jpg","text":"TemporaryFile(/tmp/multipartBody8665560780520458273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729243438,"filename":"image_04112025_14_05_49_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2cae6d106b83343163c3e614cf67e88f.jpg","text":"TemporaryFile(/tmp/multipartBody2843926088656554293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729243438,"filename":"image_04112025_14_06_04_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/89ffd5378785cccd5f16a39f1ec9ce1a.jpg","text":"TemporaryFile(/tmp/multipartBody232846492438833518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729243438,"filename":"image_04112025_14_05_43_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368350","file1":"1399368349","file0":"1399368347","file4":"1399368352","file5":"1399368353","file3":"1399368351"},"map_files_photo_id_array":[{"photo_id":"1399368353","filename":"file5"},{"photo_id":"1399368350","filename":"file2"},{"photo_id":"1399368352","filename":"file4"},{"photo_id":"1399368349","filename":"file1"},{"photo_id":"1399368347","filename":"file0"},{"photo_id":"1399368351","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399368349":["hashtag1","hashtag2"]},{"1399368352":["hashtag1","hashtag2"]},{"1399368351":["hashtag1","hashtag2"]},{"1399368350":["hashtag1","hashtag2"]},{"1399368353":["hashtag1","hashtag2"]},{"1399368347":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399368349, 1399368352, 1399368351, 1399368350, 1399368353, 1399368347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10402584075928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:20:21.969598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/16/image_14122025_17_16_54_9819.jpg', '/home/pi/Desktop/images/14122025/17/16/image_14122025_17_17_04_9804.jpg', '/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_15_10754.jpg', '/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_24_9633.jpg', '/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_34_9608.jpg', '/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_45_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/16/image_14122025_17_16_54_9819.jpg
/home/pi/Desktop/images/14122025/17/16/image_14122025_17_17_04_9804.jpg
/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_15_10754.jpg
/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_24_9633.jpg
/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_34_9608.jpg
/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_45_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368367","1399368358","1399368360","1399368354","1399368362","1399368356"],"photo_ids_order":["1399368354","1399368356","1399368358","1399368360","1399368362","1399368367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/840635d2968c5c293a5a8b908ab06d24.jpg","text":"TemporaryFile(/tmp/multipartBody1195755784926016305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729282624,"filename":"image_14122025_17_17_45_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/145daff94b7ac296e7ba7dde407359aa.jpg","text":"TemporaryFile(/tmp/multipartBody5252748242521459916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729282624,"filename":"image_14122025_17_17_15_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a8e264d1709893c1b10d96dcb9384c2d.jpg","text":"TemporaryFile(/tmp/multipartBody7004303690117923938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729282624,"filename":"image_14122025_17_17_24_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/39433624afe1d118d74703b4b2039f09.jpg","text":"TemporaryFile(/tmp/multipartBody2845466374652622253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729282624,"filename":"image_14122025_17_16_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/12/14/93da364ab6711f69c874595149a3be2d.jpg","text":"TemporaryFile(/tmp/multipartBody5156820870525904468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729282624,"filename":"image_14122025_17_17_34_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce99dbd70aa1dd2159f25ec469225f6e.jpg","text":"TemporaryFile(/tmp/multipartBody2977005670069621389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729282624,"filename":"image_14122025_17_17_04_9804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368358","file1":"1399368356","file0":"1399368354","file4":"1399368362","file5":"1399368367","file3":"1399368360"},"map_files_photo_id_array":[{"photo_id":"1399368367","filename":"file5"},{"photo_id":"1399368358","filename":"file2"},{"photo_id":"1399368362","filename":"file4"},{"photo_id":"1399368356","filename":"file1"},{"photo_id":"1399368354","filename":"file0"},{"photo_id":"1399368360","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368367":["hashtag1","hashtag2"]},{"1399368358":["hashtag1","hashtag2"]},{"1399368360":["hashtag1","hashtag2"]},{"1399368354":["hashtag1","hashtag2"]},{"1399368362":["hashtag1","hashtag2"]},{"1399368356":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368367, 1399368358, 1399368360, 1399368354, 1399368362, 1399368356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.600911378860474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:21:02.786197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_54_9719.jpg', '/home/pi/Desktop/images/14122025/17/17/image_14122025_17_18_04_9859.jpg', '/home/pi/Desktop/images/14122025/17/18/image_14122025_17_18_14_9853.jpg', '/home/pi/Desktop/images/14122025/17/18/image_14122025_17_18_25_10700.jpg', '/home/pi/Desktop/images/14122025/17/18/image_14122025_17_18_35_9812.jpg', '/home/pi/Desktop/images/14122025/17/18/image_14122025_17_18_44_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/17/image_14122025_17_17_54_9719.jpg
/home/pi/Desktop/images/14122025/17/17/image_14122025_17_18_04_9859.jpg
/home/pi/Desktop/images/14122025/17/18/image_14122025_17_18_14_9853.jpg
/home/pi/Desktop/images/14122025/17/18/image_14122025_17_18_25_10700.jpg
/home/pi/Desktop/images/14122025/17/18/image_14122025_17_18_35_9812.jpg
/home/pi/Desktop/images/14122025/17/18/image_14122025_17_18_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":["1399368373","1399368370","1399368372","1399368375","1399368369","1399368371"],"photo_ids_order":["1399368369","1399368370","1399368371","1399368372","1399368373","1399368375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c581662c06e68f6896d73e3a05bf8aeb.jpg","text":"TemporaryFile(/tmp/multipartBody4584962745092348583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729323429,"filename":"image_14122025_17_18_35_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7eb5320ebb0385fb3798a327ed98c081.jpg","text":"TemporaryFile(/tmp/multipartBody611069679770270476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729323429,"filename":"image_14122025_17_18_04_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/10dc35dae0a9b651a4ba52d1b433ed11.jpg","text":"TemporaryFile(/tmp/multipartBody6783405464388747532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729323429,"filename":"image_14122025_17_18_25_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a1cb11cc7dbdd9a08598b602bf70f54.jpg","text":"TemporaryFile(/tmp/multipartBody4083147060440988113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729323429,"filename":"image_14122025_17_18_44_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f3daa518db0f9e43ceba089faeceded.jpg","text":"TemporaryFile(/tmp/multipartBody8105811889438430238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729323429,"filename":"image_14122025_17_17_54_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9ebdb9232a511a605fce0cc092c68809.jpg","text":"TemporaryFile(/tmp/multipartBody4560191382180478730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729323429,"filename":"image_14122025_17_18_14_9853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368371","file1":"1399368370","file0":"1399368369","file4":"1399368373","file5":"1399368375","file3":"1399368372"},"map_files_photo_id_array":[{"photo_id":"1399368375","filename":"file5"},{"photo_id":"1399368371","filename":"file2"},{"photo_id":"1399368373","filename":"file4"},{"photo_id":"1399368370","filename":"file1"},{"photo_id":"1399368369","filename":"file0"},{"photo_id":"1399368372","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368373":["hashtag1","hashtag2"]},{"1399368370":["hashtag1","hashtag2"]},{"1399368372":["hashtag1","hashtag2"]},{"1399368375":["hashtag1","hashtag2"]},{"1399368369":["hashtag1","hashtag2"]},{"1399368371":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368373, 1399368370, 1399368372, 1399368375, 1399368369, 1399368371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89022374153137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:21:42.295973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_07_2691.jpg', '/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_10_3793.jpg', '/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_16_5991.jpg', '/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_20_1804.jpg', '/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_22_2676.jpg', '/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_25_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_07_2691.jpg
/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_10_3793.jpg
/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_16_5991.jpg
/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_20_1804.jpg
/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_22_2676.jpg
/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_25_2711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368391","1399368379","1399368384","1399368392","1399368383","1399368386"],"photo_ids_order":["1399368379","1399368383","1399368384","1399368386","1399368391","1399368392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6571db063351388ed96209733959acb0.jpg","text":"TemporaryFile(/tmp/multipartBody1029850091426274864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729363026,"filename":"image_04112025_14_06_22_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88c5537c95425238cf557c1cda969a0a.jpg","text":"TemporaryFile(/tmp/multipartBody6628286065985509269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729363026,"filename":"image_04112025_14_06_07_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e368fabbb1c1234ef01a2559534b838f.jpg","text":"TemporaryFile(/tmp/multipartBody7498999403158766085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729363026,"filename":"image_04112025_14_06_16_5991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0fb92ef484b70ee7346fe7f053bee67e.jpg","text":"TemporaryFile(/tmp/multipartBody5344622153548038524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729363026,"filename":"image_04112025_14_06_25_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/96c3ea1949cb2f4f59d0f0b2a2a9302c.jpg","text":"TemporaryFile(/tmp/multipartBody2277274952228657930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729363026,"filename":"image_04112025_14_06_10_3793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ea92367580e90e68aebaf1863a4b4eb7.jpg","text":"TemporaryFile(/tmp/multipartBody617935792940252090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729363026,"filename":"image_04112025_14_06_20_1804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368384","file1":"1399368383","file0":"1399368379","file4":"1399368391","file5":"1399368392","file3":"1399368386"},"map_files_photo_id_array":[{"photo_id":"1399368392","filename":"file5"},{"photo_id":"1399368384","filename":"file2"},{"photo_id":"1399368391","filename":"file4"},{"photo_id":"1399368383","filename":"file1"},{"photo_id":"1399368379","filename":"file0"},{"photo_id":"1399368386","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399368391":["hashtag1","hashtag2"]},{"1399368379":["hashtag1","hashtag2"]},{"1399368384":["hashtag1","hashtag2"]},{"1399368392":["hashtag1","hashtag2"]},{"1399368383":["hashtag1","hashtag2"]},{"1399368386":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399368391, 1399368379, 1399368384, 1399368392, 1399368383, 1399368386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74994874000549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:22:22.582567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/18/image_14122025_17_18_54_9730.jpg', '/home/pi/Desktop/images/14122025/17/18/image_14122025_17_19_05_10656.jpg', '/home/pi/Desktop/images/14122025/17/19/image_14122025_17_19_15_9802.jpg', '/home/pi/Desktop/images/14122025/17/19/image_14122025_17_19_24_9725.jpg', '/home/pi/Desktop/images/14122025/17/19/image_14122025_17_19_34_9540.jpg', '/home/pi/Desktop/images/14122025/17/19/image_14122025_17_19_45_10818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/18/image_14122025_17_18_54_9730.jpg
/home/pi/Desktop/images/14122025/17/18/image_14122025_17_19_05_10656.jpg
/home/pi/Desktop/images/14122025/17/19/image_14122025_17_19_15_9802.jpg
/home/pi/Desktop/images/14122025/17/19/image_14122025_17_19_24_9725.jpg
/home/pi/Desktop/images/14122025/17/19/image_14122025_17_19_34_9540.jpg
/home/pi/Desktop/images/14122025/17/19/image_14122025_17_19_45_10818.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5142066478729248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 17:22:32.576942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:22:42.535153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_37_2534.jpg', '/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_41_3888.jpg', '/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_43_2640.jpg', '/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_46_2549.jpg', '/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_49_3695.jpg', '/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_52_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_37_2534.jpg
/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_41_3888.jpg
/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_43_2640.jpg
/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_46_2549.jpg
/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_49_3695.jpg
/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_52_2693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368448","1399368451","1399368412","1399368441","1399368444","1399368438"],"photo_ids_order":["1399368412","1399368438","1399368441","1399368444","1399368448","1399368451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/afbeec3c60618df263b37b9e94485e4e.jpg","text":"TemporaryFile(/tmp/multipartBody6236754886936492682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729423291,"filename":"image_04112025_14_06_49_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cb67482ce0ff211e46f2599e998c2095.jpg","text":"TemporaryFile(/tmp/multipartBody6204466010650836963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729423291,"filename":"image_04112025_14_06_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/12/14/d4c12f97123181d788713c4b942bade5.jpg","text":"TemporaryFile(/tmp/multipartBody1252239450782191147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729423291,"filename":"image_04112025_14_06_37_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bbd1e41ac09fc126c4e5971797e30d6e.jpg","text":"TemporaryFile(/tmp/multipartBody3657491279198440917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729423291,"filename":"image_04112025_14_06_43_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5112ede39d208f4d590831dd87b36c0c.jpg","text":"TemporaryFile(/tmp/multipartBody4210837034526918701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729423291,"filename":"image_04112025_14_06_46_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/992e1a0e685b594161ce556a5da28b8f.jpg","text":"TemporaryFile(/tmp/multipartBody1460967250407442725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729423291,"filename":"image_04112025_14_06_41_3888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368441","file1":"1399368438","file0":"1399368412","file4":"1399368448","file5":"1399368451","file3":"1399368444"},"map_files_photo_id_array":[{"photo_id":"1399368451","filename":"file5"},{"photo_id":"1399368441","filename":"file2"},{"photo_id":"1399368448","filename":"file4"},{"photo_id":"1399368438","filename":"file1"},{"photo_id":"1399368412","filename":"file0"},{"photo_id":"1399368444","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399368448":["hashtag1","hashtag2"]},{"1399368451":["hashtag1","hashtag2"]},{"1399368412":["hashtag1","hashtag2"]},{"1399368441":["hashtag1","hashtag2"]},{"1399368444":["hashtag1","hashtag2"]},{"1399368438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399368448, 1399368451, 1399368412, 1399368441, 1399368444, 1399368438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.676799297332764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:23:22.776467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/18/image_14122025_17_18_54_9730.jpg', '/home/pi/Desktop/images/14122025/17/18/image_14122025_17_19_05_10656.jpg', '/home/pi/Desktop/images/14122025/17/19/image_14122025_17_19_15_9802.jpg', '/home/pi/Desktop/images/14122025/17/19/image_14122025_17_19_24_9725.jpg', '/home/pi/Desktop/images/14122025/17/19/image_14122025_17_19_34_9540.jpg', '/home/pi/Desktop/images/14122025/17/19/image_14122025_17_19_45_10818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/18/image_14122025_17_18_54_9730.jpg
/home/pi/Desktop/images/14122025/17/18/image_14122025_17_19_05_10656.jpg
/home/pi/Desktop/images/14122025/17/19/image_14122025_17_19_15_9802.jpg
/home/pi/Desktop/images/14122025/17/19/image_14122025_17_19_24_9725.jpg
/home/pi/Desktop/images/14122025/17/19/image_14122025_17_19_34_9540.jpg
/home/pi/Desktop/images/14122025/17/19/image_14122025_17_19_45_10818.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368460","1399368454","1399368462","1399368456","1399368464","1399368458"],"photo_ids_order":["1399368454","1399368456","1399368458","1399368460","1399368462","1399368464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cb69ad172678dee5049914e75dc2d9d2.jpg","text":"TemporaryFile(/tmp/multipartBody1936570298279945050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729463440,"filename":"image_14122025_17_19_24_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b1a6629d46c9f6440888fbc59122978.jpg","text":"TemporaryFile(/tmp/multipartBody4328726394581393045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729463440,"filename":"image_14122025_17_18_54_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/25d5eaff4bf127530606ae92346ceb68.jpg","text":"TemporaryFile(/tmp/multipartBody7741683828379430245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729463440,"filename":"image_14122025_17_19_34_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc63a49a895a462daf887518f1a2cfaa.jpg","text":"TemporaryFile(/tmp/multipartBody6603043948701357451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729463440,"filename":"image_14122025_17_19_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/12/14/35cb542f77fdfaa3741957f4981bb6f7.jpg","text":"TemporaryFile(/tmp/multipartBody8178137539945743642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729463440,"filename":"image_14122025_17_19_45_10818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a03600d981730fd1738f9f92266c0d11.jpg","text":"TemporaryFile(/tmp/multipartBody943736118266173970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729463440,"filename":"image_14122025_17_19_15_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368458","file1":"1399368456","file0":"1399368454","file4":"1399368462","file5":"1399368464","file3":"1399368460"},"map_files_photo_id_array":[{"photo_id":"1399368464","filename":"file5"},{"photo_id":"1399368458","filename":"file2"},{"photo_id":"1399368462","filename":"file4"},{"photo_id":"1399368456","filename":"file1"},{"photo_id":"1399368454","filename":"file0"},{"photo_id":"1399368460","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368460":["hashtag1","hashtag2"]},{"1399368454":["hashtag1","hashtag2"]},{"1399368462":["hashtag1","hashtag2"]},{"1399368456":["hashtag1","hashtag2"]},{"1399368464":["hashtag1","hashtag2"]},{"1399368458":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368460, 1399368454, 1399368462, 1399368456, 1399368464, 1399368458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.982322692871094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:24:02.489700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/19/image_14122025_17_19_54_9678.jpg', '/home/pi/Desktop/images/14122025/17/20/image_14122025_17_20_14_10058.jpg', '/home/pi/Desktop/images/14122025/17/20/image_14122025_17_20_25_10789.jpg', '/home/pi/Desktop/images/14122025/17/20/image_14122025_17_20_35_9594.jpg', '/home/pi/Desktop/images/14122025/17/20/image_14122025_17_20_44_9667.jpg', '/home/pi/Desktop/images/14122025/17/20/image_14122025_17_20_55_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/19/image_14122025_17_19_54_9678.jpg
/home/pi/Desktop/images/14122025/17/20/image_14122025_17_20_14_10058.jpg
/home/pi/Desktop/images/14122025/17/20/image_14122025_17_20_25_10789.jpg
/home/pi/Desktop/images/14122025/17/20/image_14122025_17_20_35_9594.jpg
/home/pi/Desktop/images/14122025/17/20/image_14122025_17_20_44_9667.jpg
/home/pi/Desktop/images/14122025/17/20/image_14122025_17_20_55_10668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368472","1399368469","1399368465","1399368468","1399368470","1399368467"],"photo_ids_order":["1399368465","1399368467","1399368468","1399368469","1399368470","1399368472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/78b6b223e9590fa8d7bd4ec52a355890.jpg","text":"TemporaryFile(/tmp/multipartBody8171798606811565569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729503169,"filename":"image_14122025_17_20_55_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/48df730bd24728e382b92fa353325776.jpg","text":"TemporaryFile(/tmp/multipartBody3366659477431107041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729503169,"filename":"image_14122025_17_20_35_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e388e2530ef81eb51b83698c9d6ea2f.jpg","text":"TemporaryFile(/tmp/multipartBody8870933856240223101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729503169,"filename":"image_14122025_17_19_54_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f5c5302d246df9b92e3443d4de3dd95e.jpg","text":"TemporaryFile(/tmp/multipartBody9063940421600697631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729503169,"filename":"image_14122025_17_20_25_10789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d8ff2966afd20e1c8284fad7eebe925d.jpg","text":"TemporaryFile(/tmp/multipartBody1143981526827915391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729503169,"filename":"image_14122025_17_20_44_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24b6dfd11e208153698903a6588ca44d.jpg","text":"TemporaryFile(/tmp/multipartBody3042462320660518518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729503169,"filename":"image_14122025_17_20_14_10058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368468","file1":"1399368467","file0":"1399368465","file4":"1399368470","file5":"1399368472","file3":"1399368469"},"map_files_photo_id_array":[{"photo_id":"1399368472","filename":"file5"},{"photo_id":"1399368468","filename":"file2"},{"photo_id":"1399368470","filename":"file4"},{"photo_id":"1399368467","filename":"file1"},{"photo_id":"1399368465","filename":"file0"},{"photo_id":"1399368469","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368472":["hashtag1","hashtag2"]},{"1399368469":["hashtag1","hashtag2"]},{"1399368465":["hashtag1","hashtag2"]},{"1399368468":["hashtag1","hashtag2"]},{"1399368470":["hashtag1","hashtag2"]},{"1399368467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368472, 1399368469, 1399368465, 1399368468, 1399368470, 1399368467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65276098251343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:24:42.011252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_55_2669.jpg', '/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_58_2774.jpg', '/home/pi/Desktop/images/04112025/14/06/image_04112025_14_07_01_3660.jpg', '/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_04_2604.jpg', '/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_20_16357.jpg', '/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_22_1658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_55_2669.jpg
/home/pi/Desktop/images/04112025/14/06/image_04112025_14_06_58_2774.jpg
/home/pi/Desktop/images/04112025/14/06/image_04112025_14_07_01_3660.jpg
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_04_2604.jpg
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_20_16357.jpg
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_22_1658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368481","1399368483","1399368477","1399368480","1399368482","1399368479"],"photo_ids_order":["1399368477","1399368479","1399368480","1399368481","1399368482","1399368483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3046d86e6fa833cf84dd267e72ddc3c5.jpg","text":"TemporaryFile(/tmp/multipartBody8502884493912905025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729542777,"filename":"image_04112025_14_07_04_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a77ff3a8bc38fd90d557cd471f841aae.jpg","text":"TemporaryFile(/tmp/multipartBody3333147064790204089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729542777,"filename":"image_04112025_14_07_22_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b2ab55a9b4624399b2798beec463a1d.jpg","text":"TemporaryFile(/tmp/multipartBody9055714000635601087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729542777,"filename":"image_04112025_14_06_55_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1289fa8c1e2e883473aa6e19475ebfa6.jpg","text":"TemporaryFile(/tmp/multipartBody3510874768953665527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729542777,"filename":"image_04112025_14_07_01_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cdbbf0ff1e8a2b536e8dea124bedc6a8.jpg","text":"TemporaryFile(/tmp/multipartBody6815702166852766844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729542777,"filename":"image_04112025_14_07_20_16357.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/78ddafaee26b88407830cd3286dbd73f.jpg","text":"TemporaryFile(/tmp/multipartBody5004635948132680345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729542777,"filename":"image_04112025_14_06_58_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368480","file1":"1399368479","file0":"1399368477","file4":"1399368482","file5":"1399368483","file3":"1399368481"},"map_files_photo_id_array":[{"photo_id":"1399368483","filename":"file5"},{"photo_id":"1399368480","filename":"file2"},{"photo_id":"1399368482","filename":"file4"},{"photo_id":"1399368479","filename":"file1"},{"photo_id":"1399368477","filename":"file0"},{"photo_id":"1399368481","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399368481":["hashtag1","hashtag2"]},{"1399368483":["hashtag1","hashtag2"]},{"1399368477":["hashtag1","hashtag2"]},{"1399368480":["hashtag1","hashtag2"]},{"1399368482":["hashtag1","hashtag2"]},{"1399368479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399368481, 1399368483, 1399368477, 1399368480, 1399368482, 1399368479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.355992555618286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:25:22.241082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/20/image_14122025_17_21_05_9740.jpg', '/home/pi/Desktop/images/14122025/17/21/image_14122025_17_21_14_9618.jpg', '/home/pi/Desktop/images/14122025/17/21/image_14122025_17_21_25_10679.jpg', '/home/pi/Desktop/images/14122025/17/21/image_14122025_17_21_35_9844.jpg', '/home/pi/Desktop/images/14122025/17/21/image_14122025_17_21_45_9777.jpg', '/home/pi/Desktop/images/14122025/17/21/image_14122025_17_21_54_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/20/image_14122025_17_21_05_9740.jpg
/home/pi/Desktop/images/14122025/17/21/image_14122025_17_21_14_9618.jpg
/home/pi/Desktop/images/14122025/17/21/image_14122025_17_21_25_10679.jpg
/home/pi/Desktop/images/14122025/17/21/image_14122025_17_21_35_9844.jpg
/home/pi/Desktop/images/14122025/17/21/image_14122025_17_21_45_9777.jpg
/home/pi/Desktop/images/14122025/17/21/image_14122025_17_21_54_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368490","1399368484","1399368495","1399368492","1399368486","1399368488"],"photo_ids_order":["1399368484","1399368486","1399368488","1399368490","1399368492","1399368495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/153700c56f0eec5d7634fd0982a78e7a.jpg","text":"TemporaryFile(/tmp/multipartBody8713890048908798378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729582825,"filename":"image_14122025_17_21_35_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/38904410bcb3c301a17306d3f64f0639.jpg","text":"TemporaryFile(/tmp/multipartBody8839358389772578446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729582825,"filename":"image_14122025_17_21_05_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/190f314d20908e332b31d553c03e8257.jpg","text":"TemporaryFile(/tmp/multipartBody7086956379640101807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729582825,"filename":"image_14122025_17_21_54_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ca1cd776bbe1a6d40e9b9f48edd98131.jpg","text":"TemporaryFile(/tmp/multipartBody1328555327719299480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729582825,"filename":"image_14122025_17_21_45_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b2c4eebd0fb20f1d7564547e8d7275b.jpg","text":"TemporaryFile(/tmp/multipartBody3431130102239810070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729582825,"filename":"image_14122025_17_21_14_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c5f3894e2208999e8e360e17d0ecb902.jpg","text":"TemporaryFile(/tmp/multipartBody7451605790300631646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729582825,"filename":"image_14122025_17_21_25_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368488","file1":"1399368486","file0":"1399368484","file4":"1399368492","file5":"1399368495","file3":"1399368490"},"map_files_photo_id_array":[{"photo_id":"1399368495","filename":"file5"},{"photo_id":"1399368488","filename":"file2"},{"photo_id":"1399368492","filename":"file4"},{"photo_id":"1399368486","filename":"file1"},{"photo_id":"1399368484","filename":"file0"},{"photo_id":"1399368490","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368490":["hashtag1","hashtag2"]},{"1399368484":["hashtag1","hashtag2"]},{"1399368495":["hashtag1","hashtag2"]},{"1399368492":["hashtag1","hashtag2"]},{"1399368486":["hashtag1","hashtag2"]},{"1399368488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368490, 1399368484, 1399368495, 1399368492, 1399368486, 1399368488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34115290641785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:26:02.845702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/21/image_14122025_17_22_05_10832.jpg', '/home/pi/Desktop/images/14122025/17/22/image_14122025_17_22_15_9777.jpg', '/home/pi/Desktop/images/14122025/17/22/image_14122025_17_22_25_9569.jpg', '/home/pi/Desktop/images/14122025/17/22/image_14122025_17_22_34_9793.jpg', '/home/pi/Desktop/images/14122025/17/22/image_14122025_17_22_45_10705.jpg', '/home/pi/Desktop/images/14122025/17/22/image_14122025_17_22_55_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/21/image_14122025_17_22_05_10832.jpg
/home/pi/Desktop/images/14122025/17/22/image_14122025_17_22_15_9777.jpg
/home/pi/Desktop/images/14122025/17/22/image_14122025_17_22_25_9569.jpg
/home/pi/Desktop/images/14122025/17/22/image_14122025_17_22_34_9793.jpg
/home/pi/Desktop/images/14122025/17/22/image_14122025_17_22_45_10705.jpg
/home/pi/Desktop/images/14122025/17/22/image_14122025_17_22_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":["1399368500","1399368499","1399368503","1399368502","1399368498","1399368497"],"photo_ids_order":["1399368497","1399368498","1399368499","1399368500","1399368502","1399368503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e10085844129709f8399ead154f272dc.jpg","text":"TemporaryFile(/tmp/multipartBody7576255598479358614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729623504,"filename":"image_14122025_17_22_34_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36b1b767e3b15e798531cd63b3d0c113.jpg","text":"TemporaryFile(/tmp/multipartBody2536287912087378065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729623504,"filename":"image_14122025_17_22_25_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/454cf211bfdd5749780b637d782d8f6a.jpg","text":"TemporaryFile(/tmp/multipartBody4397138913277547015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729623504,"filename":"image_14122025_17_22_55_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eba56de8ef96b83b3894c4016087b1cd.jpg","text":"TemporaryFile(/tmp/multipartBody2261445534903672376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729623504,"filename":"image_14122025_17_22_45_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c2c515ae61ab71c9857ef30cdb6692bf.jpg","text":"TemporaryFile(/tmp/multipartBody4801255646717822878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729623504,"filename":"image_14122025_17_22_15_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f82979c245cd7a7aff78bb9f088f9a41.jpg","text":"TemporaryFile(/tmp/multipartBody1616527450615575097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729623504,"filename":"image_14122025_17_22_05_10832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368499","file1":"1399368498","file0":"1399368497","file4":"1399368502","file5":"1399368503","file3":"1399368500"},"map_files_photo_id_array":[{"photo_id":"1399368503","filename":"file5"},{"photo_id":"1399368499","filename":"file2"},{"photo_id":"1399368502","filename":"file4"},{"photo_id":"1399368498","filename":"file1"},{"photo_id":"1399368497","filename":"file0"},{"photo_id":"1399368500","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368500":["hashtag1","hashtag2"]},{"1399368499":["hashtag1","hashtag2"]},{"1399368503":["hashtag1","hashtag2"]},{"1399368502":["hashtag1","hashtag2"]},{"1399368498":["hashtag1","hashtag2"]},{"1399368497":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368500, 1399368499, 1399368503, 1399368502, 1399368498, 1399368497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70192050933838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:26:42.400989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_23_1579.jpg', '/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_25_1716.jpg', '/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_36_10451.jpg', '/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_37_1571.jpg', '/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_39_1613.jpg', '/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_40_1571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_23_1579.jpg
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_25_1716.jpg
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_36_10451.jpg
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_37_1571.jpg
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_39_1613.jpg
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_40_1571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368521","1399368515","1399368522","1399368510","1399368518","1399368512"],"photo_ids_order":["1399368510","1399368512","1399368515","1399368518","1399368521","1399368522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fc8e8dcf72d7801f8ac75d596594ef67.jpg","text":"TemporaryFile(/tmp/multipartBody4064880723740481513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729663098,"filename":"image_04112025_14_07_39_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/01c2043850c6e08fa5d3d8728f586448.jpg","text":"TemporaryFile(/tmp/multipartBody6923381712694821087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729663098,"filename":"image_04112025_14_07_36_10451.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2148b921f8997988084b4e26151f7c05.jpg","text":"TemporaryFile(/tmp/multipartBody8903712608067859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729663098,"filename":"image_04112025_14_07_40_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/238164fd50cd56d72541dc64e7697b0d.jpg","text":"TemporaryFile(/tmp/multipartBody3968980172466783797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729663098,"filename":"image_04112025_14_07_23_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ea8eef0227ca4956d5e59ee81f14b796.jpg","text":"TemporaryFile(/tmp/multipartBody5416541091847558423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729663098,"filename":"image_04112025_14_07_37_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1de7a6919b4b1d899ff273fb70ebc8ca.jpg","text":"TemporaryFile(/tmp/multipartBody6492574398970277646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729663098,"filename":"image_04112025_14_07_25_1716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368515","file1":"1399368512","file0":"1399368510","file4":"1399368521","file5":"1399368522","file3":"1399368518"},"map_files_photo_id_array":[{"photo_id":"1399368522","filename":"file5"},{"photo_id":"1399368515","filename":"file2"},{"photo_id":"1399368521","filename":"file4"},{"photo_id":"1399368512","filename":"file1"},{"photo_id":"1399368510","filename":"file0"},{"photo_id":"1399368518","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399368521":["hashtag1","hashtag2"]},{"1399368515":["hashtag1","hashtag2"]},{"1399368522":["hashtag1","hashtag2"]},{"1399368510":["hashtag1","hashtag2"]},{"1399368518":["hashtag1","hashtag2"]},{"1399368512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399368521, 1399368515, 1399368522, 1399368510, 1399368518, 1399368512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.982112646102905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:27:22.622470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/22/image_14122025_17_23_05_9795.jpg', '/home/pi/Desktop/images/14122025/17/23/image_14122025_17_23_15_10676.jpg', '/home/pi/Desktop/images/14122025/17/23/image_14122025_17_23_25_9570.jpg', '/home/pi/Desktop/images/14122025/17/23/image_14122025_17_23_35_9756.jpg', '/home/pi/Desktop/images/14122025/17/23/image_14122025_17_23_44_9769.jpg', '/home/pi/Desktop/images/14122025/17/23/image_14122025_17_23_55_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/22/image_14122025_17_23_05_9795.jpg
/home/pi/Desktop/images/14122025/17/23/image_14122025_17_23_15_10676.jpg
/home/pi/Desktop/images/14122025/17/23/image_14122025_17_23_25_9570.jpg
/home/pi/Desktop/images/14122025/17/23/image_14122025_17_23_35_9756.jpg
/home/pi/Desktop/images/14122025/17/23/image_14122025_17_23_44_9769.jpg
/home/pi/Desktop/images/14122025/17/23/image_14122025_17_23_55_10636.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4873199462890625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 17:27:32.780220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:27:42.757938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_42_1530.jpg', '/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_43_1626.jpg', '/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_45_1545.jpg', '/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_48_3388.jpg', '/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_50_1676.jpg', '/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_52_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_42_1530.jpg
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_43_1626.jpg
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_45_1545.jpg
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_48_3388.jpg
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_50_1676.jpg
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_52_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":["1399368541","1399368535","1399368538","1399368540","1399368537","1399368539"],"photo_ids_order":["1399368535","1399368537","1399368538","1399368539","1399368540","1399368541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa26824108c2176dda8d30bad161c133.jpg","text":"TemporaryFile(/tmp/multipartBody2868125301667525772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729723469,"filename":"image_04112025_14_07_52_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/514bd23267a11fcf16b51faa8720e4c4.jpg","text":"TemporaryFile(/tmp/multipartBody300465590525187384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729723469,"filename":"image_04112025_14_07_42_1530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8f143f07824d3a9399df1261b698712c.jpg","text":"TemporaryFile(/tmp/multipartBody319778024984809404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729723469,"filename":"image_04112025_14_07_45_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d494c9a5b4dae7402864a33f27efeee.jpg","text":"TemporaryFile(/tmp/multipartBody1050626001409983855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729723469,"filename":"image_04112025_14_07_50_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/695cba2ade8be3bb864a56a88b6d3a6a.jpg","text":"TemporaryFile(/tmp/multipartBody1749158865587436125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729723469,"filename":"image_04112025_14_07_43_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/44cfae305429ec13e333fd316869bbe7.jpg","text":"TemporaryFile(/tmp/multipartBody4862657916417813667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729723469,"filename":"image_04112025_14_07_48_3388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368538","file1":"1399368537","file0":"1399368535","file4":"1399368540","file5":"1399368541","file3":"1399368539"},"map_files_photo_id_array":[{"photo_id":"1399368541","filename":"file5"},{"photo_id":"1399368538","filename":"file2"},{"photo_id":"1399368540","filename":"file4"},{"photo_id":"1399368537","filename":"file1"},{"photo_id":"1399368535","filename":"file0"},{"photo_id":"1399368539","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399368541":["hashtag1","hashtag2"]},{"1399368535":["hashtag1","hashtag2"]},{"1399368538":["hashtag1","hashtag2"]},{"1399368540":["hashtag1","hashtag2"]},{"1399368537":["hashtag1","hashtag2"]},{"1399368539":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399368541, 1399368535, 1399368538, 1399368540, 1399368537, 1399368539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48943781852722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:28:22.011448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/22/image_14122025_17_23_05_9795.jpg', '/home/pi/Desktop/images/14122025/17/23/image_14122025_17_23_15_10676.jpg', '/home/pi/Desktop/images/14122025/17/23/image_14122025_17_23_25_9570.jpg', '/home/pi/Desktop/images/14122025/17/23/image_14122025_17_23_35_9756.jpg', '/home/pi/Desktop/images/14122025/17/23/image_14122025_17_23_44_9769.jpg', '/home/pi/Desktop/images/14122025/17/23/image_14122025_17_23_55_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/22/image_14122025_17_23_05_9795.jpg
/home/pi/Desktop/images/14122025/17/23/image_14122025_17_23_15_10676.jpg
/home/pi/Desktop/images/14122025/17/23/image_14122025_17_23_25_9570.jpg
/home/pi/Desktop/images/14122025/17/23/image_14122025_17_23_35_9756.jpg
/home/pi/Desktop/images/14122025/17/23/image_14122025_17_23_44_9769.jpg
/home/pi/Desktop/images/14122025/17/23/image_14122025_17_23_55_10636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368553","1399368550","1399368544","1399368546","1399368542","1399368548"],"photo_ids_order":["1399368542","1399368544","1399368546","1399368548","1399368550","1399368553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1a58901b28f592eafc8c640ee17f359a.jpg","text":"TemporaryFile(/tmp/multipartBody4816395017599537577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729762621,"filename":"image_14122025_17_23_55_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b747333052e0f4c6ecb8132f1e089aa.jpg","text":"TemporaryFile(/tmp/multipartBody828309831784625568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729762621,"filename":"image_14122025_17_23_44_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f059be958eea1c70d4d478089553d2c.jpg","text":"TemporaryFile(/tmp/multipartBody4073098986084604485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729762621,"filename":"image_14122025_17_23_15_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5733577438f02e070873686d0da6e874.jpg","text":"TemporaryFile(/tmp/multipartBody1785799406484296310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729762621,"filename":"image_14122025_17_23_25_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/893d1673cd32c3c503214d1ce529ba9a.jpg","text":"TemporaryFile(/tmp/multipartBody6463224008425226708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729762621,"filename":"image_14122025_17_23_05_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f02a840591f3a7770442c70b8ea64d1.jpg","text":"TemporaryFile(/tmp/multipartBody9018488776629782059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729762621,"filename":"image_14122025_17_23_35_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368546","file1":"1399368544","file0":"1399368542","file4":"1399368550","file5":"1399368553","file3":"1399368548"},"map_files_photo_id_array":[{"photo_id":"1399368553","filename":"file5"},{"photo_id":"1399368546","filename":"file2"},{"photo_id":"1399368550","filename":"file4"},{"photo_id":"1399368544","filename":"file1"},{"photo_id":"1399368542","filename":"file0"},{"photo_id":"1399368548","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368553":["hashtag1","hashtag2"]},{"1399368550":["hashtag1","hashtag2"]},{"1399368544":["hashtag1","hashtag2"]},{"1399368546":["hashtag1","hashtag2"]},{"1399368542":["hashtag1","hashtag2"]},{"1399368548":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368553, 1399368550, 1399368544, 1399368546, 1399368542, 1399368548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73656463623047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:29:03.241831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/23/image_14122025_17_24_05_9909.jpg', '/home/pi/Desktop/images/14122025/17/24/image_14122025_17_24_15_9641.jpg', '/home/pi/Desktop/images/14122025/17/24/image_14122025_17_24_25_10603.jpg', '/home/pi/Desktop/images/14122025/17/24/image_14122025_17_24_35_9778.jpg', '/home/pi/Desktop/images/14122025/17/24/image_14122025_17_24_45_9676.jpg', '/home/pi/Desktop/images/14122025/17/24/image_14122025_17_24_54_9883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/23/image_14122025_17_24_05_9909.jpg
/home/pi/Desktop/images/14122025/17/24/image_14122025_17_24_15_9641.jpg
/home/pi/Desktop/images/14122025/17/24/image_14122025_17_24_25_10603.jpg
/home/pi/Desktop/images/14122025/17/24/image_14122025_17_24_35_9778.jpg
/home/pi/Desktop/images/14122025/17/24/image_14122025_17_24_45_9676.jpg
/home/pi/Desktop/images/14122025/17/24/image_14122025_17_24_54_9883.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368556","1399368559","1399368558","1399368555","1399368560","1399368563"],"photo_ids_order":["1399368555","1399368556","1399368558","1399368559","1399368560","1399368563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8e2f7d28dcb7025dc03e28c608510671.jpg","text":"TemporaryFile(/tmp/multipartBody7758821528355140952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729804034,"filename":"image_14122025_17_24_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/667134069b2485e0049377b953e9ab7f.jpg","text":"TemporaryFile(/tmp/multipartBody890081289413293404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729804034,"filename":"image_14122025_17_24_35_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd3f4ecebd9f01003d82fa92f2733ae9.jpg","text":"TemporaryFile(/tmp/multipartBody653431228665033630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729804034,"filename":"image_14122025_17_24_25_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6cb59702f84c3e7e1bedee2310633fb3.jpg","text":"TemporaryFile(/tmp/multipartBody6338565813248394581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729804034,"filename":"image_14122025_17_24_05_9909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a42b79f8a85b2d0c49432c31cf8a33c.jpg","text":"TemporaryFile(/tmp/multipartBody5601830687304598916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729804034,"filename":"image_14122025_17_24_45_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f67508f06cbf37e4cf46386b44f8591.jpg","text":"TemporaryFile(/tmp/multipartBody3433391012491879349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729804034,"filename":"image_14122025_17_24_54_9883.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368558","file1":"1399368556","file0":"1399368555","file4":"1399368560","file5":"1399368563","file3":"1399368559"},"map_files_photo_id_array":[{"photo_id":"1399368563","filename":"file5"},{"photo_id":"1399368558","filename":"file2"},{"photo_id":"1399368560","filename":"file4"},{"photo_id":"1399368556","filename":"file1"},{"photo_id":"1399368555","filename":"file0"},{"photo_id":"1399368559","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368556":["hashtag1","hashtag2"]},{"1399368559":["hashtag1","hashtag2"]},{"1399368558":["hashtag1","hashtag2"]},{"1399368555":["hashtag1","hashtag2"]},{"1399368560":["hashtag1","hashtag2"]},{"1399368563":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368556, 1399368559, 1399368558, 1399368555, 1399368560, 1399368563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39746975898743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:29:42.284326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_53_1643.jpg', '/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_55_1878.jpg', '/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_57_1738.jpg', '/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_59_1534.jpg', '/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_01_2737.jpg', '/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_04_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_53_1643.jpg
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_55_1878.jpg
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_57_1738.jpg
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_59_1534.jpg
/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_01_2737.jpg
/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_04_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [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>8bln6c4f8</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>8bln6c4f8</strong>.
uploaded 0 photos
time to upload: 45.09083938598633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 17:30:32.569486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:30:42.492626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_53_1643.jpg', '/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_55_1878.jpg', '/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_57_1738.jpg', '/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_59_1534.jpg', '/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_01_2737.jpg', '/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_04_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_53_1643.jpg
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_55_1878.jpg
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_57_1738.jpg
/home/pi/Desktop/images/04112025/14/07/image_04112025_14_07_59_1534.jpg
/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_01_2737.jpg
/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_04_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368616","1399368613","1399368615","1399368618","1399368617","1399368611"],"photo_ids_order":["1399368611","1399368613","1399368615","1399368616","1399368617","1399368618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b3b8eacc1f33f6b1a21cd1edd05735db.jpg","text":"TemporaryFile(/tmp/multipartBody7184909284286237113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729903077,"filename":"image_04112025_14_07_59_1534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/875f4158049100fad8c38037c08a8955.jpg","text":"TemporaryFile(/tmp/multipartBody2445705595571846007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729903077,"filename":"image_04112025_14_07_55_1878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba914803867ca4073bb251281ea26579.jpg","text":"TemporaryFile(/tmp/multipartBody1568574096702150898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729903077,"filename":"image_04112025_14_07_57_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e513a448cd48818d954480f5d962496c.jpg","text":"TemporaryFile(/tmp/multipartBody9154922706136841065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729903077,"filename":"image_04112025_14_08_04_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d6c4228c7ec24a63eedd2d5a96aeffc.jpg","text":"TemporaryFile(/tmp/multipartBody6422321168414588135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729903077,"filename":"image_04112025_14_08_01_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a99926a9152f5a63df7ae5c590130e0b.jpg","text":"TemporaryFile(/tmp/multipartBody115350542496524800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729903077,"filename":"image_04112025_14_07_53_1643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368615","file1":"1399368613","file0":"1399368611","file4":"1399368617","file5":"1399368618","file3":"1399368616"},"map_files_photo_id_array":[{"photo_id":"1399368618","filename":"file5"},{"photo_id":"1399368615","filename":"file2"},{"photo_id":"1399368617","filename":"file4"},{"photo_id":"1399368613","filename":"file1"},{"photo_id":"1399368611","filename":"file0"},{"photo_id":"1399368616","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399368616":["hashtag1","hashtag2"]},{"1399368613":["hashtag1","hashtag2"]},{"1399368615":["hashtag1","hashtag2"]},{"1399368618":["hashtag1","hashtag2"]},{"1399368617":["hashtag1","hashtag2"]},{"1399368611":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399368616, 1399368613, 1399368615, 1399368618, 1399368617, 1399368611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67353796958923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:31:22.745390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/26/image_14122025_17_26_14_10038.jpg', '/home/pi/Desktop/images/14122025/17/26/image_14122025_17_26_24_10642.jpg', '/home/pi/Desktop/images/14122025/17/26/image_14122025_17_26_34_9828.jpg', '/home/pi/Desktop/images/14122025/17/26/image_14122025_17_26_44_9761.jpg', '/home/pi/Desktop/images/14122025/17/26/image_14122025_17_26_55_10719.jpg', '/home/pi/Desktop/images/14122025/17/26/image_14122025_17_27_04_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/26/image_14122025_17_26_14_10038.jpg
/home/pi/Desktop/images/14122025/17/26/image_14122025_17_26_24_10642.jpg
/home/pi/Desktop/images/14122025/17/26/image_14122025_17_26_34_9828.jpg
/home/pi/Desktop/images/14122025/17/26/image_14122025_17_26_44_9761.jpg
/home/pi/Desktop/images/14122025/17/26/image_14122025_17_26_55_10719.jpg
/home/pi/Desktop/images/14122025/17/26/image_14122025_17_27_04_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":["1399368620","1399368628","1399368622","1399368630","1399368624","1399368626"],"photo_ids_order":["1399368620","1399368622","1399368624","1399368626","1399368628","1399368630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5940f59d3048943f26ea9c70ca5b54d8.jpg","text":"TemporaryFile(/tmp/multipartBody5910056332733548115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729943325,"filename":"image_14122025_17_26_14_10038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a0c73d47fb170f3f7937d920ef1c7e7.jpg","text":"TemporaryFile(/tmp/multipartBody818136400381325568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729943325,"filename":"image_14122025_17_26_55_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f010cc221ac62af97329405c5a6db07.jpg","text":"TemporaryFile(/tmp/multipartBody4546476106570585309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729943325,"filename":"image_14122025_17_26_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/12/14/371884d38664f5699eeb76bee83863a7.jpg","text":"TemporaryFile(/tmp/multipartBody9127845990723201932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729943325,"filename":"image_14122025_17_27_04_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2dae9e756d0bc3f379283d6bf4b02b8.jpg","text":"TemporaryFile(/tmp/multipartBody4546752957377760192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729943325,"filename":"image_14122025_17_26_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/12/14/c3a1d905ef25e811882c1b9e4f54464c.jpg","text":"TemporaryFile(/tmp/multipartBody8847957589773569489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729943325,"filename":"image_14122025_17_26_44_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368624","file1":"1399368622","file0":"1399368620","file4":"1399368628","file5":"1399368630","file3":"1399368626"},"map_files_photo_id_array":[{"photo_id":"1399368630","filename":"file5"},{"photo_id":"1399368624","filename":"file2"},{"photo_id":"1399368628","filename":"file4"},{"photo_id":"1399368622","filename":"file1"},{"photo_id":"1399368620","filename":"file0"},{"photo_id":"1399368626","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368620":["hashtag1","hashtag2"]},{"1399368628":["hashtag1","hashtag2"]},{"1399368622":["hashtag1","hashtag2"]},{"1399368630":["hashtag1","hashtag2"]},{"1399368624":["hashtag1","hashtag2"]},{"1399368626":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368620, 1399368628, 1399368622, 1399368630, 1399368624, 1399368626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86376619338989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:32:02.436834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/27/image_14122025_17_27_14_9641.jpg', '/home/pi/Desktop/images/14122025/17/27/image_14122025_17_27_24_9754.jpg', '/home/pi/Desktop/images/14122025/17/27/image_14122025_17_27_34_10575.jpg', '/home/pi/Desktop/images/14122025/17/27/image_14122025_17_27_44_9701.jpg', '/home/pi/Desktop/images/14122025/17/27/image_14122025_17_27_54_9711.jpg', '/home/pi/Desktop/images/14122025/17/27/image_14122025_17_28_04_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/27/image_14122025_17_27_14_9641.jpg
/home/pi/Desktop/images/14122025/17/27/image_14122025_17_27_24_9754.jpg
/home/pi/Desktop/images/14122025/17/27/image_14122025_17_27_34_10575.jpg
/home/pi/Desktop/images/14122025/17/27/image_14122025_17_27_44_9701.jpg
/home/pi/Desktop/images/14122025/17/27/image_14122025_17_27_54_9711.jpg
/home/pi/Desktop/images/14122025/17/27/image_14122025_17_28_04_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":["1399368640","1399368634","1399368637","1399368636","1399368635","1399368638"],"photo_ids_order":["1399368634","1399368635","1399368636","1399368637","1399368638","1399368640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/817aed5a7db5336bec52f88bffa37e94.jpg","text":"TemporaryFile(/tmp/multipartBody8795447023799449821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729983032,"filename":"image_14122025_17_28_04_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c4db9fd5b918ada260d2de2799810bb9.jpg","text":"TemporaryFile(/tmp/multipartBody7030646872570209405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729983032,"filename":"image_14122025_17_27_14_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b149c699451765093f1cc40997136ff.jpg","text":"TemporaryFile(/tmp/multipartBody2932086842196041030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729983032,"filename":"image_14122025_17_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/12/14/eb79e38e49ba664ff02c0d2c83023028.jpg","text":"TemporaryFile(/tmp/multipartBody1089638530098134507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729983032,"filename":"image_14122025_17_27_34_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7f179b85a003401e14e2c0d49d7ccd5.jpg","text":"TemporaryFile(/tmp/multipartBody4289965305866755825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729983032,"filename":"image_14122025_17_27_24_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/44f06fd4721a9cf2f4fc372c67a42202.jpg","text":"TemporaryFile(/tmp/multipartBody4254977513421888834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765729983032,"filename":"image_14122025_17_27_54_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368636","file1":"1399368635","file0":"1399368634","file4":"1399368638","file5":"1399368640","file3":"1399368637"},"map_files_photo_id_array":[{"photo_id":"1399368640","filename":"file5"},{"photo_id":"1399368636","filename":"file2"},{"photo_id":"1399368638","filename":"file4"},{"photo_id":"1399368635","filename":"file1"},{"photo_id":"1399368634","filename":"file0"},{"photo_id":"1399368637","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368640":["hashtag1","hashtag2"]},{"1399368634":["hashtag1","hashtag2"]},{"1399368637":["hashtag1","hashtag2"]},{"1399368636":["hashtag1","hashtag2"]},{"1399368635":["hashtag1","hashtag2"]},{"1399368638":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368640, 1399368634, 1399368637, 1399368636, 1399368635, 1399368638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85590887069702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:32:41.880330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_07_2734.jpg', '/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_10_3590.jpg', '/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_12_2245.jpg', '/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_16_3605.jpg', '/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_19_2602.jpg', '/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_26_7762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_07_2734.jpg
/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_10_3590.jpg
/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_12_2245.jpg
/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_16_3605.jpg
/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_19_2602.jpg
/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_26_7762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368658","1399368655","1399368657","1399368645","1399368654","1399368656"],"photo_ids_order":["1399368645","1399368654","1399368655","1399368656","1399368657","1399368658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/444933dc96f0407c24c34f2a6841d8c9.jpg","text":"TemporaryFile(/tmp/multipartBody2164943142558910156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730022588,"filename":"image_04112025_14_08_26_7762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ee05e66780f07433c1f3df8bab0170ad.jpg","text":"TemporaryFile(/tmp/multipartBody843635313774589098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730022588,"filename":"image_04112025_14_08_12_2245.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5904ecea3955497da78b633568448337.jpg","text":"TemporaryFile(/tmp/multipartBody2661533497008520659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730022588,"filename":"image_04112025_14_08_19_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/df5fab2ec17563afff3c5bf6508090c3.jpg","text":"TemporaryFile(/tmp/multipartBody4192880491405141619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730022588,"filename":"image_04112025_14_08_07_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e67d007181b30421ce36e3c619526b72.jpg","text":"TemporaryFile(/tmp/multipartBody967200027733680188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730022588,"filename":"image_04112025_14_08_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/12/14/8e63bbb2d1453d7c4d55af9df5d19fd8.jpg","text":"TemporaryFile(/tmp/multipartBody3677637275960667904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730022588,"filename":"image_04112025_14_08_16_3605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368655","file1":"1399368654","file0":"1399368645","file4":"1399368657","file5":"1399368658","file3":"1399368656"},"map_files_photo_id_array":[{"photo_id":"1399368658","filename":"file5"},{"photo_id":"1399368655","filename":"file2"},{"photo_id":"1399368657","filename":"file4"},{"photo_id":"1399368654","filename":"file1"},{"photo_id":"1399368645","filename":"file0"},{"photo_id":"1399368656","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399368658":["hashtag1","hashtag2"]},{"1399368655":["hashtag1","hashtag2"]},{"1399368657":["hashtag1","hashtag2"]},{"1399368645":["hashtag1","hashtag2"]},{"1399368654":["hashtag1","hashtag2"]},{"1399368656":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399368658, 1399368655, 1399368657, 1399368645, 1399368654, 1399368656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19631791114807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:33:22.151991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/28/image_14122025_17_28_14_9717.jpg', '/home/pi/Desktop/images/14122025/17/28/image_14122025_17_28_24_9634.jpg', '/home/pi/Desktop/images/14122025/17/28/image_14122025_17_28_34_10635.jpg', '/home/pi/Desktop/images/14122025/17/28/image_14122025_17_28_44_9812.jpg', '/home/pi/Desktop/images/14122025/17/28/image_14122025_17_28_54_9634.jpg', '/home/pi/Desktop/images/14122025/17/28/image_14122025_17_29_04_10551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/28/image_14122025_17_28_14_9717.jpg
/home/pi/Desktop/images/14122025/17/28/image_14122025_17_28_24_9634.jpg
/home/pi/Desktop/images/14122025/17/28/image_14122025_17_28_34_10635.jpg
/home/pi/Desktop/images/14122025/17/28/image_14122025_17_28_44_9812.jpg
/home/pi/Desktop/images/14122025/17/28/image_14122025_17_28_54_9634.jpg
/home/pi/Desktop/images/14122025/17/28/image_14122025_17_29_04_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":["1399368670","1399368667","1399368661","1399368663","1399368665","1399368659"],"photo_ids_order":["1399368659","1399368661","1399368663","1399368665","1399368667","1399368670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/34304521c125ba70fcc02231152baa9e.jpg","text":"TemporaryFile(/tmp/multipartBody6545065548782494206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730062738,"filename":"image_14122025_17_29_04_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f174ae39c093b88d65a999b30e2af8f.jpg","text":"TemporaryFile(/tmp/multipartBody7854987027611180648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730062738,"filename":"image_14122025_17_28_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a9afacc15f9d27dd3943722d8b7ef773.jpg","text":"TemporaryFile(/tmp/multipartBody3386530067667401523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730062738,"filename":"image_14122025_17_28_24_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/acb61da83f71160f2790df445d8fc623.jpg","text":"TemporaryFile(/tmp/multipartBody7387076629499492104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730062738,"filename":"image_14122025_17_28_34_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a65a8ff5dc188630007c7f5dcdf466a8.jpg","text":"TemporaryFile(/tmp/multipartBody1373793551739979578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730062738,"filename":"image_14122025_17_28_44_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/668439c1300234d95d5300488c3fa735.jpg","text":"TemporaryFile(/tmp/multipartBody5665786916309517522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730062738,"filename":"image_14122025_17_28_14_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368663","file1":"1399368661","file0":"1399368659","file4":"1399368667","file5":"1399368670","file3":"1399368665"},"map_files_photo_id_array":[{"photo_id":"1399368670","filename":"file5"},{"photo_id":"1399368663","filename":"file2"},{"photo_id":"1399368667","filename":"file4"},{"photo_id":"1399368661","filename":"file1"},{"photo_id":"1399368659","filename":"file0"},{"photo_id":"1399368665","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368670":["hashtag1","hashtag2"]},{"1399368667":["hashtag1","hashtag2"]},{"1399368661":["hashtag1","hashtag2"]},{"1399368663":["hashtag1","hashtag2"]},{"1399368665":["hashtag1","hashtag2"]},{"1399368659":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368670, 1399368667, 1399368661, 1399368663, 1399368665, 1399368659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02180242538452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:34:02.970584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/29/image_14122025_17_29_14_9623.jpg', '/home/pi/Desktop/images/14122025/17/29/image_14122025_17_29_24_9831.jpg', '/home/pi/Desktop/images/14122025/17/29/image_14122025_17_29_35_10723.jpg', '/home/pi/Desktop/images/14122025/17/29/image_14122025_17_29_44_9640.jpg', '/home/pi/Desktop/images/14122025/17/30/image_14122025_17_30_14_10052.jpg', '/home/pi/Desktop/images/14122025/17/30/image_14122025_17_30_25_10810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/29/image_14122025_17_29_14_9623.jpg
/home/pi/Desktop/images/14122025/17/29/image_14122025_17_29_24_9831.jpg
/home/pi/Desktop/images/14122025/17/29/image_14122025_17_29_35_10723.jpg
/home/pi/Desktop/images/14122025/17/29/image_14122025_17_29_44_9640.jpg
/home/pi/Desktop/images/14122025/17/30/image_14122025_17_30_14_10052.jpg
/home/pi/Desktop/images/14122025/17/30/image_14122025_17_30_25_10810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368676","1399368673","1399368675","1399368678","1399368672","1399368674"],"photo_ids_order":["1399368672","1399368673","1399368674","1399368675","1399368676","1399368678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a84ba3298a3df5ef22418717495fafdd.jpg","text":"TemporaryFile(/tmp/multipartBody5025450714251471487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730103626,"filename":"image_14122025_17_30_14_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/455bc4c716f58b0d68818f50f59e6ef1.jpg","text":"TemporaryFile(/tmp/multipartBody193992268289282916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730103626,"filename":"image_14122025_17_29_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/12/14/f14a570749142e460a9984195143d1eb.jpg","text":"TemporaryFile(/tmp/multipartBody2436881180577620375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730103626,"filename":"image_14122025_17_29_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ead2f6cb9dc5dd64b04d747ecdc84eb2.jpg","text":"TemporaryFile(/tmp/multipartBody7078645131903862432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730103626,"filename":"image_14122025_17_30_25_10810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dba1a17c98a0d5934a534e0e6300bb97.jpg","text":"TemporaryFile(/tmp/multipartBody2854989724316737763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730103626,"filename":"image_14122025_17_29_14_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/07bd8d5ad91c352b8b23376c2dc1879c.jpg","text":"TemporaryFile(/tmp/multipartBody961494169887714532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730103626,"filename":"image_14122025_17_29_35_10723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368674","file1":"1399368673","file0":"1399368672","file4":"1399368676","file5":"1399368678","file3":"1399368675"},"map_files_photo_id_array":[{"photo_id":"1399368678","filename":"file5"},{"photo_id":"1399368674","filename":"file2"},{"photo_id":"1399368676","filename":"file4"},{"photo_id":"1399368673","filename":"file1"},{"photo_id":"1399368672","filename":"file0"},{"photo_id":"1399368675","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368676":["hashtag1","hashtag2"]},{"1399368673":["hashtag1","hashtag2"]},{"1399368675":["hashtag1","hashtag2"]},{"1399368678":["hashtag1","hashtag2"]},{"1399368672":["hashtag1","hashtag2"]},{"1399368674":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368676, 1399368673, 1399368675, 1399368678, 1399368672, 1399368674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.551273584365845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:34:42.459992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_29_3013.jpg', '/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_31_1747.jpg', '/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_41_10059.jpg', '/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_43_1668.jpg', '/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_45_1553.jpg', '/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_53_8369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_29_3013.jpg
/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_31_1747.jpg
/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_41_10059.jpg
/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_43_1668.jpg
/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_45_1553.jpg
/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_53_8369.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.618776798248291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:35:03.407699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/30/image_14122025_17_30_35_9656.jpg', '/home/pi/Desktop/images/14122025/17/30/image_14122025_17_30_45_9737.jpg', '/home/pi/Desktop/images/14122025/17/30/image_14122025_17_30_55_10703.jpg', '/home/pi/Desktop/images/14122025/17/30/image_14122025_17_31_05_9617.jpg', '/home/pi/Desktop/images/14122025/17/31/image_14122025_17_31_25_10655.jpg', '/home/pi/Desktop/images/14122025/17/31/image_14122025_17_31_35_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/30/image_14122025_17_30_35_9656.jpg
/home/pi/Desktop/images/14122025/17/30/image_14122025_17_30_45_9737.jpg
/home/pi/Desktop/images/14122025/17/30/image_14122025_17_30_55_10703.jpg
/home/pi/Desktop/images/14122025/17/30/image_14122025_17_31_05_9617.jpg
/home/pi/Desktop/images/14122025/17/31/image_14122025_17_31_25_10655.jpg
/home/pi/Desktop/images/14122025/17/31/image_14122025_17_31_35_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368691","1399368688","1399368690","1399368692","1399368689","1399368694"],"photo_ids_order":["1399368688","1399368689","1399368690","1399368691","1399368692","1399368694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3acd39206321a1ea56d67b334ad387e7.jpg","text":"TemporaryFile(/tmp/multipartBody1347003486878239410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730164029,"filename":"image_14122025_17_31_05_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e69b64f7b8e2eff83ff53661845da52.jpg","text":"TemporaryFile(/tmp/multipartBody2688842199287649838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730164029,"filename":"image_14122025_17_30_35_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3ecbfe5b205487e9498604592112222e.jpg","text":"TemporaryFile(/tmp/multipartBody3589046958216130274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730164029,"filename":"image_14122025_17_30_55_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0160090a6759e4f1f0e3f32841a7d27a.jpg","text":"TemporaryFile(/tmp/multipartBody458692023693972175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730164029,"filename":"image_14122025_17_31_25_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a948d81783ba2b9739480f8691d22418.jpg","text":"TemporaryFile(/tmp/multipartBody2484980286970373977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730164029,"filename":"image_14122025_17_30_45_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/280219922a69abdcf60aa67f89483749.jpg","text":"TemporaryFile(/tmp/multipartBody2366195159497726750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730164029,"filename":"image_14122025_17_31_35_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368690","file1":"1399368689","file0":"1399368688","file4":"1399368692","file5":"1399368694","file3":"1399368691"},"map_files_photo_id_array":[{"photo_id":"1399368694","filename":"file5"},{"photo_id":"1399368690","filename":"file2"},{"photo_id":"1399368692","filename":"file4"},{"photo_id":"1399368689","filename":"file1"},{"photo_id":"1399368688","filename":"file0"},{"photo_id":"1399368691","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368691":["hashtag1","hashtag2"]},{"1399368688":["hashtag1","hashtag2"]},{"1399368690":["hashtag1","hashtag2"]},{"1399368692":["hashtag1","hashtag2"]},{"1399368689":["hashtag1","hashtag2"]},{"1399368694":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368691, 1399368688, 1399368690, 1399368692, 1399368689, 1399368694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82835912704468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:35:42.733099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_29_3013.jpg', '/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_31_1747.jpg', '/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_41_10059.jpg', '/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_43_1668.jpg', '/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_45_1553.jpg', '/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_53_8369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_29_3013.jpg
/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_31_1747.jpg
/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_41_10059.jpg
/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_43_1668.jpg
/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_45_1553.jpg
/home/pi/Desktop/images/04112025/14/08/image_04112025_14_08_53_8369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368713","1399368715","1399368700","1399368712","1399368711","1399368714"],"photo_ids_order":["1399368700","1399368711","1399368712","1399368713","1399368714","1399368715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d337e016329d5c901ceb35da88438633.jpg","text":"TemporaryFile(/tmp/multipartBody310407452387623401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730203319,"filename":"image_04112025_14_08_43_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cae18f4a5cf5aef94d5026389436fcfc.jpg","text":"TemporaryFile(/tmp/multipartBody42177507029359168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730203319,"filename":"image_04112025_14_08_53_8369.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/75de7597aa992010462c4979c8c3503c.jpg","text":"TemporaryFile(/tmp/multipartBody2115989060871212627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730203319,"filename":"image_04112025_14_08_29_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2380eecb3488095bd20d0df776b06007.jpg","text":"TemporaryFile(/tmp/multipartBody6500973423145100648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730203319,"filename":"image_04112025_14_08_41_10059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a7f935a3544930e0839037746072d89.jpg","text":"TemporaryFile(/tmp/multipartBody8593589759519090772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730203319,"filename":"image_04112025_14_08_31_1747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bcb86495d91af0a5a8885bbce34cd769.jpg","text":"TemporaryFile(/tmp/multipartBody4002940421500084379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730203319,"filename":"image_04112025_14_08_45_1553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368712","file1":"1399368711","file0":"1399368700","file4":"1399368714","file5":"1399368715","file3":"1399368713"},"map_files_photo_id_array":[{"photo_id":"1399368715","filename":"file5"},{"photo_id":"1399368712","filename":"file2"},{"photo_id":"1399368714","filename":"file4"},{"photo_id":"1399368711","filename":"file1"},{"photo_id":"1399368700","filename":"file0"},{"photo_id":"1399368713","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399368713":["hashtag1","hashtag2"]},{"1399368715":["hashtag1","hashtag2"]},{"1399368700":["hashtag1","hashtag2"]},{"1399368712":["hashtag1","hashtag2"]},{"1399368711":["hashtag1","hashtag2"]},{"1399368714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399368713, 1399368715, 1399368700, 1399368712, 1399368711, 1399368714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2946662902832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:36:22.034236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/31/image_14122025_17_31_45_9694.jpg', '/home/pi/Desktop/images/14122025/17/31/image_14122025_17_31_55_10649.jpg', '/home/pi/Desktop/images/14122025/17/31/image_14122025_17_32_05_9667.jpg', '/home/pi/Desktop/images/14122025/17/32/image_14122025_17_32_15_9767.jpg', '/home/pi/Desktop/images/14122025/17/32/image_14122025_17_32_24_9710.jpg', '/home/pi/Desktop/images/14122025/17/32/image_14122025_17_32_35_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/31/image_14122025_17_31_45_9694.jpg
/home/pi/Desktop/images/14122025/17/31/image_14122025_17_31_55_10649.jpg
/home/pi/Desktop/images/14122025/17/31/image_14122025_17_32_05_9667.jpg
/home/pi/Desktop/images/14122025/17/32/image_14122025_17_32_15_9767.jpg
/home/pi/Desktop/images/14122025/17/32/image_14122025_17_32_24_9710.jpg
/home/pi/Desktop/images/14122025/17/32/image_14122025_17_32_35_10636.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.48416709899902344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 17:36:32.064385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:36:42.008795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_08_14665.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_09_1716.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_11_1583.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_17_5890.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_18_1649.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_20_1766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_08_14665.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_09_1716.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_11_1583.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_17_5890.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_18_1649.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_20_1766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368733","1399368730","1399368732","1399368726","1399368729","1399368731"],"photo_ids_order":["1399368726","1399368729","1399368730","1399368731","1399368732","1399368733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/731cd12d29e525a36fda5a430a5ee939.jpg","text":"TemporaryFile(/tmp/multipartBody1280753417321969897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730262763,"filename":"image_04112025_14_09_20_1766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/449c6dee88822ce8e1a58b61b81d3441.jpg","text":"TemporaryFile(/tmp/multipartBody4311728010713340269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730262763,"filename":"image_04112025_14_09_11_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f7789724fbaec1ab17499f5e81e089fb.jpg","text":"TemporaryFile(/tmp/multipartBody6834631312752624482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730262763,"filename":"image_04112025_14_09_18_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0534a2634b70ec994e57328611f67a8e.jpg","text":"TemporaryFile(/tmp/multipartBody62969016744234647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730262763,"filename":"image_04112025_14_09_08_14665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a67c739bdf6af616a8ba31bcba40ca59.jpg","text":"TemporaryFile(/tmp/multipartBody6392236432986917849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730262763,"filename":"image_04112025_14_09_09_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/87e45c7bf315e43d6ae2016d00b5e0af.jpg","text":"TemporaryFile(/tmp/multipartBody2822823255969286238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730262763,"filename":"image_04112025_14_09_17_5890.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368730","file1":"1399368729","file0":"1399368726","file4":"1399368732","file5":"1399368733","file3":"1399368731"},"map_files_photo_id_array":[{"photo_id":"1399368733","filename":"file5"},{"photo_id":"1399368730","filename":"file2"},{"photo_id":"1399368732","filename":"file4"},{"photo_id":"1399368729","filename":"file1"},{"photo_id":"1399368726","filename":"file0"},{"photo_id":"1399368731","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399368733":["hashtag1","hashtag2"]},{"1399368730":["hashtag1","hashtag2"]},{"1399368732":["hashtag1","hashtag2"]},{"1399368726":["hashtag1","hashtag2"]},{"1399368729":["hashtag1","hashtag2"]},{"1399368731":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399368733, 1399368730, 1399368732, 1399368726, 1399368729, 1399368731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36163139343262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:37:22.238947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/31/image_14122025_17_31_45_9694.jpg', '/home/pi/Desktop/images/14122025/17/31/image_14122025_17_31_55_10649.jpg', '/home/pi/Desktop/images/14122025/17/31/image_14122025_17_32_05_9667.jpg', '/home/pi/Desktop/images/14122025/17/32/image_14122025_17_32_15_9767.jpg', '/home/pi/Desktop/images/14122025/17/32/image_14122025_17_32_24_9710.jpg', '/home/pi/Desktop/images/14122025/17/32/image_14122025_17_32_35_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/31/image_14122025_17_31_45_9694.jpg
/home/pi/Desktop/images/14122025/17/31/image_14122025_17_31_55_10649.jpg
/home/pi/Desktop/images/14122025/17/31/image_14122025_17_32_05_9667.jpg
/home/pi/Desktop/images/14122025/17/32/image_14122025_17_32_15_9767.jpg
/home/pi/Desktop/images/14122025/17/32/image_14122025_17_32_24_9710.jpg
/home/pi/Desktop/images/14122025/17/32/image_14122025_17_32_35_10636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368745","1399368739","1399368741","1399368735","1399368734","1399368737"],"photo_ids_order":["1399368734","1399368735","1399368737","1399368739","1399368741","1399368745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/10141942fcdea521d506b40f98eb56dc.jpg","text":"TemporaryFile(/tmp/multipartBody4840677521786366112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730302864,"filename":"image_14122025_17_32_35_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bcbf4f39831a54b3e52be2176594b7e9.jpg","text":"TemporaryFile(/tmp/multipartBody1788708076069849939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730302864,"filename":"image_14122025_17_32_15_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/334ea1233e76f7cb0d10b376905905e5.jpg","text":"TemporaryFile(/tmp/multipartBody2971153579987517933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730302864,"filename":"image_14122025_17_32_24_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/023ca4b7fdf3d0403a9119597753dc5d.jpg","text":"TemporaryFile(/tmp/multipartBody3466783540095022826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730302864,"filename":"image_14122025_17_31_55_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1d78ece854525e97a49d254730d0a08.jpg","text":"TemporaryFile(/tmp/multipartBody1524887519667230759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730302864,"filename":"image_14122025_17_31_45_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dbc251d6b56d90288577733ac1ed9547.jpg","text":"TemporaryFile(/tmp/multipartBody3104303894669959587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730302864,"filename":"image_14122025_17_32_05_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368737","file1":"1399368735","file0":"1399368734","file4":"1399368741","file5":"1399368745","file3":"1399368739"},"map_files_photo_id_array":[{"photo_id":"1399368745","filename":"file5"},{"photo_id":"1399368737","filename":"file2"},{"photo_id":"1399368741","filename":"file4"},{"photo_id":"1399368735","filename":"file1"},{"photo_id":"1399368734","filename":"file0"},{"photo_id":"1399368739","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368745":["hashtag1","hashtag2"]},{"1399368739":["hashtag1","hashtag2"]},{"1399368741":["hashtag1","hashtag2"]},{"1399368735":["hashtag1","hashtag2"]},{"1399368734":["hashtag1","hashtag2"]},{"1399368737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368745, 1399368739, 1399368741, 1399368735, 1399368734, 1399368737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51639914512634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:38:02.956256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/32/image_14122025_17_32_45_9573.jpg', '/home/pi/Desktop/images/14122025/17/32/image_14122025_17_32_55_10760.jpg', '/home/pi/Desktop/images/14122025/17/32/image_14122025_17_33_05_9733.jpg', '/home/pi/Desktop/images/14122025/17/33/image_14122025_17_33_15_9774.jpg', '/home/pi/Desktop/images/14122025/17/33/image_14122025_17_33_25_9635.jpg', '/home/pi/Desktop/images/14122025/17/33/image_14122025_17_33_35_10558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/32/image_14122025_17_32_45_9573.jpg
/home/pi/Desktop/images/14122025/17/32/image_14122025_17_32_55_10760.jpg
/home/pi/Desktop/images/14122025/17/32/image_14122025_17_33_05_9733.jpg
/home/pi/Desktop/images/14122025/17/33/image_14122025_17_33_15_9774.jpg
/home/pi/Desktop/images/14122025/17/33/image_14122025_17_33_25_9635.jpg
/home/pi/Desktop/images/14122025/17/33/image_14122025_17_33_35_10558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368757","1399368754","1399368756","1399368759","1399368752","1399368755"],"photo_ids_order":["1399368752","1399368754","1399368755","1399368756","1399368757","1399368759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5781fe3a21569a99137df0371f99b3d4.jpg","text":"TemporaryFile(/tmp/multipartBody6943785592586939222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730343549,"filename":"image_14122025_17_33_25_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cdce919f6f406d7c5f958959a3511eb1.jpg","text":"TemporaryFile(/tmp/multipartBody4986655991714734340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730343549,"filename":"image_14122025_17_32_55_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6563d6259c7c5626e787c7014ba6587.jpg","text":"TemporaryFile(/tmp/multipartBody9178409734656227559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730343549,"filename":"image_14122025_17_33_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/12/14/2f431c5cdf1e630b352e4700a233653c.jpg","text":"TemporaryFile(/tmp/multipartBody2606027862503199950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730343549,"filename":"image_14122025_17_33_35_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f7eaf8196fc14641d2553006a6020b25.jpg","text":"TemporaryFile(/tmp/multipartBody4253519729902906897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730343549,"filename":"image_14122025_17_32_45_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e65b108cb4366097daff1d61f2eeb5bb.jpg","text":"TemporaryFile(/tmp/multipartBody2317915942201697938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730343549,"filename":"image_14122025_17_33_05_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368755","file1":"1399368754","file0":"1399368752","file4":"1399368757","file5":"1399368759","file3":"1399368756"},"map_files_photo_id_array":[{"photo_id":"1399368759","filename":"file5"},{"photo_id":"1399368755","filename":"file2"},{"photo_id":"1399368757","filename":"file4"},{"photo_id":"1399368754","filename":"file1"},{"photo_id":"1399368752","filename":"file0"},{"photo_id":"1399368756","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368757":["hashtag1","hashtag2"]},{"1399368754":["hashtag1","hashtag2"]},{"1399368756":["hashtag1","hashtag2"]},{"1399368759":["hashtag1","hashtag2"]},{"1399368752":["hashtag1","hashtag2"]},{"1399368755":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368757, 1399368754, 1399368756, 1399368759, 1399368752, 1399368755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43097376823425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:38:42.502806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_22_1608.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_23_1720.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_27_3365.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_30_1624.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_32_1667.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_33_1594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_22_1608.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_23_1720.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_27_3365.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_30_1624.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_32_1667.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_33_1594.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5667054653167725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:39:03.658626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/33/image_14122025_17_33_45_9640.jpg', '/home/pi/Desktop/images/14122025/17/33/image_14122025_17_33_55_10659.jpg', '/home/pi/Desktop/images/14122025/17/33/image_14122025_17_34_05_9827.jpg', '/home/pi/Desktop/images/14122025/17/34/image_14122025_17_34_15_9726.jpg', '/home/pi/Desktop/images/14122025/17/34/image_14122025_17_34_25_9616.jpg', '/home/pi/Desktop/images/14122025/17/34/image_14122025_17_34_35_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/33/image_14122025_17_33_45_9640.jpg
/home/pi/Desktop/images/14122025/17/33/image_14122025_17_33_55_10659.jpg
/home/pi/Desktop/images/14122025/17/33/image_14122025_17_34_05_9827.jpg
/home/pi/Desktop/images/14122025/17/34/image_14122025_17_34_15_9726.jpg
/home/pi/Desktop/images/14122025/17/34/image_14122025_17_34_25_9616.jpg
/home/pi/Desktop/images/14122025/17/34/image_14122025_17_34_35_10610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368781","1399368784","1399368786","1399368780","1399368783","1399368782"],"photo_ids_order":["1399368780","1399368781","1399368782","1399368783","1399368784","1399368786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27e1139a8f631a3a6ef1fca998860a44.jpg","text":"TemporaryFile(/tmp/multipartBody5583091839386447158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730404263,"filename":"image_14122025_17_33_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d104871640f06f09876f28c325613021.jpg","text":"TemporaryFile(/tmp/multipartBody7988268425934563539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730404263,"filename":"image_14122025_17_34_25_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5c71b23d83ee6b92c1264a82dd7b2e25.jpg","text":"TemporaryFile(/tmp/multipartBody5230614781263841595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730404263,"filename":"image_14122025_17_34_35_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54a34f1311b9d3a48b038df9ecb679bf.jpg","text":"TemporaryFile(/tmp/multipartBody4579804668189894469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730404263,"filename":"image_14122025_17_33_45_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a83a52de96119310c3558584c6bfb0bb.jpg","text":"TemporaryFile(/tmp/multipartBody1166778190118126146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730404263,"filename":"image_14122025_17_34_15_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/83b970604611c9bd3972e2d931c4c4af.jpg","text":"TemporaryFile(/tmp/multipartBody1302621850731497955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730404263,"filename":"image_14122025_17_34_05_9827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368782","file1":"1399368781","file0":"1399368780","file4":"1399368784","file5":"1399368786","file3":"1399368783"},"map_files_photo_id_array":[{"photo_id":"1399368786","filename":"file5"},{"photo_id":"1399368782","filename":"file2"},{"photo_id":"1399368784","filename":"file4"},{"photo_id":"1399368781","filename":"file1"},{"photo_id":"1399368780","filename":"file0"},{"photo_id":"1399368783","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368781":["hashtag1","hashtag2"]},{"1399368784":["hashtag1","hashtag2"]},{"1399368786":["hashtag1","hashtag2"]},{"1399368780":["hashtag1","hashtag2"]},{"1399368783":["hashtag1","hashtag2"]},{"1399368782":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368781, 1399368784, 1399368786, 1399368780, 1399368783, 1399368782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27697515487671 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:39:42.727523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_22_1608.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_23_1720.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_27_3365.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_30_1624.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_32_1667.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_33_1594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_22_1608.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_23_1720.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_27_3365.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_30_1624.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_32_1667.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_33_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":["1399368796","1399368792","1399368795","1399368798","1399368797","1399368794"],"photo_ids_order":["1399368792","1399368794","1399368795","1399368796","1399368797","1399368798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad09e0921bdccfaf08495e6941b6e674.jpg","text":"TemporaryFile(/tmp/multipartBody327268270102835274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730443306,"filename":"image_04112025_14_09_30_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36d4b6dd8145c958dd0ee819b61ccd02.jpg","text":"TemporaryFile(/tmp/multipartBody379675020984015578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730443306,"filename":"image_04112025_14_09_22_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e9c70683683884caff3183555b8d281.jpg","text":"TemporaryFile(/tmp/multipartBody8233970853335748036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730443306,"filename":"image_04112025_14_09_27_3365.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6321e6c2b0176c25864e019839fa77b3.jpg","text":"TemporaryFile(/tmp/multipartBody5935759563099442745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730443306,"filename":"image_04112025_14_09_33_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ac439828e12847a9500e338465b560bf.jpg","text":"TemporaryFile(/tmp/multipartBody5424383501363046781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730443306,"filename":"image_04112025_14_09_32_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6026a79177444f120539dad1c12a60fe.jpg","text":"TemporaryFile(/tmp/multipartBody7989282211108228312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730443306,"filename":"image_04112025_14_09_23_1720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368795","file1":"1399368794","file0":"1399368792","file4":"1399368797","file5":"1399368798","file3":"1399368796"},"map_files_photo_id_array":[{"photo_id":"1399368798","filename":"file5"},{"photo_id":"1399368795","filename":"file2"},{"photo_id":"1399368797","filename":"file4"},{"photo_id":"1399368794","filename":"file1"},{"photo_id":"1399368792","filename":"file0"},{"photo_id":"1399368796","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399368796":["hashtag1","hashtag2"]},{"1399368792":["hashtag1","hashtag2"]},{"1399368795":["hashtag1","hashtag2"]},{"1399368798":["hashtag1","hashtag2"]},{"1399368797":["hashtag1","hashtag2"]},{"1399368794":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399368796, 1399368792, 1399368795, 1399368798, 1399368797, 1399368794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.014498472213745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:40:21.974661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/34/image_14122025_17_34_45_9719.jpg', '/home/pi/Desktop/images/14122025/17/34/image_14122025_17_34_55_9808.jpg', '/home/pi/Desktop/images/14122025/17/35/image_14122025_17_35_14_10053.jpg', '/home/pi/Desktop/images/14122025/17/35/image_14122025_17_35_25_10681.jpg', '/home/pi/Desktop/images/14122025/17/35/image_14122025_17_35_34_9609.jpg', '/home/pi/Desktop/images/14122025/17/35/image_14122025_17_35_44_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/34/image_14122025_17_34_45_9719.jpg
/home/pi/Desktop/images/14122025/17/34/image_14122025_17_34_55_9808.jpg
/home/pi/Desktop/images/14122025/17/35/image_14122025_17_35_14_10053.jpg
/home/pi/Desktop/images/14122025/17/35/image_14122025_17_35_25_10681.jpg
/home/pi/Desktop/images/14122025/17/35/image_14122025_17_35_34_9609.jpg
/home/pi/Desktop/images/14122025/17/35/image_14122025_17_35_44_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":["1399368799","1399368811","1399368805","1399368807","1399368801","1399368803"],"photo_ids_order":["1399368799","1399368801","1399368803","1399368805","1399368807","1399368811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cbdf6cbbdf6eb3fd5fa1734151e5a32a.jpg","text":"TemporaryFile(/tmp/multipartBody7729425996341262283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730482534,"filename":"image_14122025_17_34_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/12/14/e917055ac1b8dee9223ea1584504448c.jpg","text":"TemporaryFile(/tmp/multipartBody2688780832098856201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730482534,"filename":"image_14122025_17_35_44_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8d5160efb9d3f3b9602ba3708ceb28fb.jpg","text":"TemporaryFile(/tmp/multipartBody5248892486607499950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730482534,"filename":"image_14122025_17_35_25_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b30db6c7bf089a6271dce48d74e0193.jpg","text":"TemporaryFile(/tmp/multipartBody2193590454667931716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730482534,"filename":"image_14122025_17_35_34_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b8d7959d6e287773673e49b8aeaea3d.jpg","text":"TemporaryFile(/tmp/multipartBody2224921967438278601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730482534,"filename":"image_14122025_17_34_55_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/45cc1865e7023eca7542369ff5bba0e4.jpg","text":"TemporaryFile(/tmp/multipartBody6604765691078234792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730482534,"filename":"image_14122025_17_35_14_10053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368803","file1":"1399368801","file0":"1399368799","file4":"1399368807","file5":"1399368811","file3":"1399368805"},"map_files_photo_id_array":[{"photo_id":"1399368811","filename":"file5"},{"photo_id":"1399368803","filename":"file2"},{"photo_id":"1399368807","filename":"file4"},{"photo_id":"1399368801","filename":"file1"},{"photo_id":"1399368799","filename":"file0"},{"photo_id":"1399368805","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368799":["hashtag1","hashtag2"]},{"1399368811":["hashtag1","hashtag2"]},{"1399368805":["hashtag1","hashtag2"]},{"1399368807":["hashtag1","hashtag2"]},{"1399368801":["hashtag1","hashtag2"]},{"1399368803":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368799, 1399368811, 1399368805, 1399368807, 1399368801, 1399368803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73273754119873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:41:02.896077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/35/image_14122025_17_35_55_10647.jpg', '/home/pi/Desktop/images/14122025/17/35/image_14122025_17_36_04_9696.jpg', '/home/pi/Desktop/images/14122025/17/36/image_14122025_17_36_14_9635.jpg', '/home/pi/Desktop/images/14122025/17/36/image_14122025_17_36_25_10850.jpg', '/home/pi/Desktop/images/14122025/17/36/image_14122025_17_36_35_9733.jpg', '/home/pi/Desktop/images/14122025/17/36/image_14122025_17_36_45_9894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/35/image_14122025_17_35_55_10647.jpg
/home/pi/Desktop/images/14122025/17/35/image_14122025_17_36_04_9696.jpg
/home/pi/Desktop/images/14122025/17/36/image_14122025_17_36_14_9635.jpg
/home/pi/Desktop/images/14122025/17/36/image_14122025_17_36_25_10850.jpg
/home/pi/Desktop/images/14122025/17/36/image_14122025_17_36_35_9733.jpg
/home/pi/Desktop/images/14122025/17/36/image_14122025_17_36_45_9894.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368820","1399368823","1399368819","1399368816","1399368821","1399368818"],"photo_ids_order":["1399368816","1399368818","1399368819","1399368820","1399368821","1399368823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19426b06b58d74c3efa6b38b2b7fe528.jpg","text":"TemporaryFile(/tmp/multipartBody7420696498212202682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730523519,"filename":"image_14122025_17_36_25_10850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/53ab4b881cd4413f8da5bd6b47e26055.jpg","text":"TemporaryFile(/tmp/multipartBody332441058636341178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730523519,"filename":"image_14122025_17_36_45_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a0a88cd440673e48f2415e1ca2403abb.jpg","text":"TemporaryFile(/tmp/multipartBody4038716314830755270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730523519,"filename":"image_14122025_17_36_14_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9dd822b0143cf4178185a97201a89d47.jpg","text":"TemporaryFile(/tmp/multipartBody4785398867174365146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730523519,"filename":"image_14122025_17_35_55_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba398488b0b7a0265f18dcac4598755c.jpg","text":"TemporaryFile(/tmp/multipartBody7428156547579877967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730523519,"filename":"image_14122025_17_36_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/12/14/79df8784950b235f709913c737b9aca5.jpg","text":"TemporaryFile(/tmp/multipartBody5872374738973959977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730523519,"filename":"image_14122025_17_36_04_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368819","file1":"1399368818","file0":"1399368816","file4":"1399368821","file5":"1399368823","file3":"1399368820"},"map_files_photo_id_array":[{"photo_id":"1399368823","filename":"file5"},{"photo_id":"1399368819","filename":"file2"},{"photo_id":"1399368821","filename":"file4"},{"photo_id":"1399368818","filename":"file1"},{"photo_id":"1399368816","filename":"file0"},{"photo_id":"1399368820","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368820":["hashtag1","hashtag2"]},{"1399368823":["hashtag1","hashtag2"]},{"1399368819":["hashtag1","hashtag2"]},{"1399368816":["hashtag1","hashtag2"]},{"1399368821":["hashtag1","hashtag2"]},{"1399368818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368820, 1399368823, 1399368819, 1399368816, 1399368821, 1399368818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.968013286590576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:41:42.432201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_35_1711.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_37_1583.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_39_1832.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_40_1690.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_56_16061.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_58_1551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_35_1711.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_37_1583.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_39_1832.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_40_1690.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_56_16061.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_58_1551.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6280703544616699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:42:03.098866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/36/image_14122025_17_36_54_9945.jpg', '/home/pi/Desktop/images/14122025/17/36/image_14122025_17_37_04_9703.jpg', '/home/pi/Desktop/images/14122025/17/37/image_14122025_17_37_15_10727.jpg', '/home/pi/Desktop/images/14122025/17/37/image_14122025_17_37_24_9520.jpg', '/home/pi/Desktop/images/14122025/17/37/image_14122025_17_37_34_9658.jpg', '/home/pi/Desktop/images/14122025/17/37/image_14122025_17_37_45_10804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/36/image_14122025_17_36_54_9945.jpg
/home/pi/Desktop/images/14122025/17/36/image_14122025_17_37_04_9703.jpg
/home/pi/Desktop/images/14122025/17/37/image_14122025_17_37_15_10727.jpg
/home/pi/Desktop/images/14122025/17/37/image_14122025_17_37_24_9520.jpg
/home/pi/Desktop/images/14122025/17/37/image_14122025_17_37_34_9658.jpg
/home/pi/Desktop/images/14122025/17/37/image_14122025_17_37_45_10804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368850","1399368847","1399368843","1399368846","1399368845","1399368848"],"photo_ids_order":["1399368843","1399368845","1399368846","1399368847","1399368848","1399368850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b508ff705da6b2f0c85623f6cb289fad.jpg","text":"TemporaryFile(/tmp/multipartBody3161540978852072061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730583747,"filename":"image_14122025_17_37_45_10804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/314fab73356d3db1d8ac6dcf9c21c294.jpg","text":"TemporaryFile(/tmp/multipartBody2793238863051850195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730583747,"filename":"image_14122025_17_37_24_9520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7c7f785f2d153dd07d914e00241b858e.jpg","text":"TemporaryFile(/tmp/multipartBody3364290169304678223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730583747,"filename":"image_14122025_17_36_54_9945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/887b23a05140875fab3c0842616d7c85.jpg","text":"TemporaryFile(/tmp/multipartBody6411527938101232371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730583747,"filename":"image_14122025_17_37_15_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b83267dead4102ec45008bae29c8e692.jpg","text":"TemporaryFile(/tmp/multipartBody8363383761115332652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730583747,"filename":"image_14122025_17_37_04_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9be2bec684351f17412ba1c14eeb7c2c.jpg","text":"TemporaryFile(/tmp/multipartBody3786550690429602454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730583747,"filename":"image_14122025_17_37_34_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368846","file1":"1399368845","file0":"1399368843","file4":"1399368848","file5":"1399368850","file3":"1399368847"},"map_files_photo_id_array":[{"photo_id":"1399368850","filename":"file5"},{"photo_id":"1399368846","filename":"file2"},{"photo_id":"1399368848","filename":"file4"},{"photo_id":"1399368845","filename":"file1"},{"photo_id":"1399368843","filename":"file0"},{"photo_id":"1399368847","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368850":["hashtag1","hashtag2"]},{"1399368847":["hashtag1","hashtag2"]},{"1399368843":["hashtag1","hashtag2"]},{"1399368846":["hashtag1","hashtag2"]},{"1399368845":["hashtag1","hashtag2"]},{"1399368848":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368850, 1399368847, 1399368843, 1399368846, 1399368845, 1399368848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.356364488601685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:42:42.682513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_35_1711.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_37_1583.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_39_1832.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_40_1690.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_56_16061.jpg', '/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_58_1551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_35_1711.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_37_1583.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_39_1832.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_40_1690.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_56_16061.jpg
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_58_1551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368859","1399368861","1399368855","1399368858","1399368860","1399368857"],"photo_ids_order":["1399368855","1399368857","1399368858","1399368859","1399368860","1399368861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a165a376eb9b086038e6884d2527d22.jpg","text":"TemporaryFile(/tmp/multipartBody3738386820597976363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730623252,"filename":"image_04112025_14_09_40_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76112796dc7bbfab3cda99190904b6a0.jpg","text":"TemporaryFile(/tmp/multipartBody3880239237033855399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730623252,"filename":"image_04112025_14_09_58_1551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/68ad240b478acbaf3e3c7f13c9a83842.jpg","text":"TemporaryFile(/tmp/multipartBody3880302549055117979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730623252,"filename":"image_04112025_14_09_35_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c6ff96589f5bdc93d3bd336113449db5.jpg","text":"TemporaryFile(/tmp/multipartBody3072635310083067905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730623252,"filename":"image_04112025_14_09_39_1832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/568500185be710d7acd56716f9f21ee8.jpg","text":"TemporaryFile(/tmp/multipartBody4894771866984164185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730623252,"filename":"image_04112025_14_09_56_16061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ca3ea4c4eaff044398749db6a202657.jpg","text":"TemporaryFile(/tmp/multipartBody6883836222559559897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730623252,"filename":"image_04112025_14_09_37_1583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368858","file1":"1399368857","file0":"1399368855","file4":"1399368860","file5":"1399368861","file3":"1399368859"},"map_files_photo_id_array":[{"photo_id":"1399368861","filename":"file5"},{"photo_id":"1399368858","filename":"file2"},{"photo_id":"1399368860","filename":"file4"},{"photo_id":"1399368857","filename":"file1"},{"photo_id":"1399368855","filename":"file0"},{"photo_id":"1399368859","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399368859":["hashtag1","hashtag2"]},{"1399368861":["hashtag1","hashtag2"]},{"1399368855":["hashtag1","hashtag2"]},{"1399368858":["hashtag1","hashtag2"]},{"1399368860":["hashtag1","hashtag2"]},{"1399368857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399368859, 1399368861, 1399368855, 1399368858, 1399368860, 1399368857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35296654701233 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:43:22.042119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/37/image_14122025_17_37_54_9586.jpg', '/home/pi/Desktop/images/14122025/17/38/image_14122025_17_38_14_9827.jpg', '/home/pi/Desktop/images/14122025/17/38/image_14122025_17_38_25_10768.jpg', '/home/pi/Desktop/images/14122025/17/38/image_14122025_17_38_34_9608.jpg', '/home/pi/Desktop/images/14122025/17/38/image_14122025_17_38_44_9635.jpg', '/home/pi/Desktop/images/14122025/17/38/image_14122025_17_38_55_10770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/37/image_14122025_17_37_54_9586.jpg
/home/pi/Desktop/images/14122025/17/38/image_14122025_17_38_14_9827.jpg
/home/pi/Desktop/images/14122025/17/38/image_14122025_17_38_25_10768.jpg
/home/pi/Desktop/images/14122025/17/38/image_14122025_17_38_34_9608.jpg
/home/pi/Desktop/images/14122025/17/38/image_14122025_17_38_44_9635.jpg
/home/pi/Desktop/images/14122025/17/38/image_14122025_17_38_55_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":["1399368862","1399368873","1399368867","1399368870","1399368864","1399368869"],"photo_ids_order":["1399368862","1399368864","1399368867","1399368869","1399368870","1399368873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/49e810139fa3d7c4b6c4aa7cbf6d4aac.jpg","text":"TemporaryFile(/tmp/multipartBody5588514446113040518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730662687,"filename":"image_14122025_17_37_54_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e62714f1a6884b3ed334a62c29a678e7.jpg","text":"TemporaryFile(/tmp/multipartBody437713173102604124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730662687,"filename":"image_14122025_17_38_55_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/57bf72042715fa4e4fa93276fa222412.jpg","text":"TemporaryFile(/tmp/multipartBody8391889895328297934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730662687,"filename":"image_14122025_17_38_25_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f05178f492e185f6f0fc766c4a916234.jpg","text":"TemporaryFile(/tmp/multipartBody7895680915439193174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730662687,"filename":"image_14122025_17_38_44_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/38ec62d3e617450567313b3cc514053f.jpg","text":"TemporaryFile(/tmp/multipartBody6440525072194823220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730662687,"filename":"image_14122025_17_38_14_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe536b108b1f8599d0ca6a9b987e7b2c.jpg","text":"TemporaryFile(/tmp/multipartBody4176070771248971882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730662687,"filename":"image_14122025_17_38_34_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368867","file1":"1399368864","file0":"1399368862","file4":"1399368870","file5":"1399368873","file3":"1399368869"},"map_files_photo_id_array":[{"photo_id":"1399368873","filename":"file5"},{"photo_id":"1399368867","filename":"file2"},{"photo_id":"1399368870","filename":"file4"},{"photo_id":"1399368864","filename":"file1"},{"photo_id":"1399368862","filename":"file0"},{"photo_id":"1399368869","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368862":["hashtag1","hashtag2"]},{"1399368873":["hashtag1","hashtag2"]},{"1399368867":["hashtag1","hashtag2"]},{"1399368870":["hashtag1","hashtag2"]},{"1399368864":["hashtag1","hashtag2"]},{"1399368869":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368862, 1399368873, 1399368867, 1399368870, 1399368864, 1399368869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08455467224121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:44:02.957113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/38/image_14122025_17_39_04_9578.jpg', '/home/pi/Desktop/images/14122025/17/39/image_14122025_17_39_14_9650.jpg', '/home/pi/Desktop/images/14122025/17/39/image_14122025_17_39_25_10813.jpg', '/home/pi/Desktop/images/14122025/17/39/image_14122025_17_39_44_9718.jpg', '/home/pi/Desktop/images/14122025/17/39/image_14122025_17_39_55_10706.jpg', '/home/pi/Desktop/images/14122025/17/41/image_14122025_17_41_13_10038.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/38/image_14122025_17_39_04_9578.jpg
/home/pi/Desktop/images/14122025/17/39/image_14122025_17_39_14_9650.jpg
/home/pi/Desktop/images/14122025/17/39/image_14122025_17_39_25_10813.jpg
/home/pi/Desktop/images/14122025/17/39/image_14122025_17_39_44_9718.jpg
/home/pi/Desktop/images/14122025/17/39/image_14122025_17_39_55_10706.jpg
/home/pi/Desktop/images/14122025/17/41/image_14122025_17_41_13_10038.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368880","1399368877","1399368876","1399368879","1399368881","1399368875"],"photo_ids_order":["1399368875","1399368876","1399368877","1399368879","1399368880","1399368881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9359992b61fa63a5f3e92736306a6c6.jpg","text":"TemporaryFile(/tmp/multipartBody8641939705716130921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730703607,"filename":"image_14122025_17_39_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/12/14/490420f7c572c1f75965d850d01461cd.jpg","text":"TemporaryFile(/tmp/multipartBody3133131547485834519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730703607,"filename":"image_14122025_17_39_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/12/14/0149779372d3017c3fa5a66a5b40c7b7.jpg","text":"TemporaryFile(/tmp/multipartBody1601894550871861584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730703607,"filename":"image_14122025_17_39_14_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4fd5f0911009734c98573a43b9e99d67.jpg","text":"TemporaryFile(/tmp/multipartBody2538473051245957203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730703607,"filename":"image_14122025_17_39_44_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/86b4f0cc87734725499896dfa8f34327.jpg","text":"TemporaryFile(/tmp/multipartBody2503280522618334121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730703607,"filename":"image_14122025_17_41_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/12/14/97027488ce983ffdd8515f61ce8f6347.jpg","text":"TemporaryFile(/tmp/multipartBody2181757858340504315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730703607,"filename":"image_14122025_17_39_04_9578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368877","file1":"1399368876","file0":"1399368875","file4":"1399368880","file5":"1399368881","file3":"1399368879"},"map_files_photo_id_array":[{"photo_id":"1399368881","filename":"file5"},{"photo_id":"1399368877","filename":"file2"},{"photo_id":"1399368880","filename":"file4"},{"photo_id":"1399368876","filename":"file1"},{"photo_id":"1399368875","filename":"file0"},{"photo_id":"1399368879","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368880":["hashtag1","hashtag2"]},{"1399368877":["hashtag1","hashtag2"]},{"1399368876":["hashtag1","hashtag2"]},{"1399368879":["hashtag1","hashtag2"]},{"1399368881":["hashtag1","hashtag2"]},{"1399368875":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368880, 1399368877, 1399368876, 1399368879, 1399368881, 1399368875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.302677154541016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:44:42.082564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_59_1574.jpg', '/home/pi/Desktop/images/04112025/14/10/image_04112025_14_10_01_1610.jpg', '/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_09_3566.jpg', '/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_12_2672.jpg', '/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_15_2771.jpg', '/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_18_3655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/09/image_04112025_14_09_59_1574.jpg
/home/pi/Desktop/images/04112025/14/10/image_04112025_14_10_01_1610.jpg
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_09_3566.jpg
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_12_2672.jpg
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_15_2771.jpg
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_18_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":["1399368904","1399368906","1399368900","1399368887","1399368908","1399368902"],"photo_ids_order":["1399368887","1399368900","1399368902","1399368904","1399368906","1399368908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b28d2f60c43fcfd466d37e62d6723ba.jpg","text":"TemporaryFile(/tmp/multipartBody6974856420039025222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730742775,"filename":"image_04112025_14_11_12_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/413c80affb5026b9541e1687dba32228.jpg","text":"TemporaryFile(/tmp/multipartBody4620246366888686089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730742775,"filename":"image_04112025_14_11_15_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/18759790ab358c498273e9a2d75840db.jpg","text":"TemporaryFile(/tmp/multipartBody8555800380015004420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730742775,"filename":"image_04112025_14_10_01_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/98aa4a8011936f5973b1fcc048bafc5f.jpg","text":"TemporaryFile(/tmp/multipartBody4451127901009996356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730742775,"filename":"image_04112025_14_09_59_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d426b6fc7bb20e9bf7fa8e6abd48c469.jpg","text":"TemporaryFile(/tmp/multipartBody3702098997552683702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730742775,"filename":"image_04112025_14_11_18_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/62d52fab39d3805eca6453d0b5cb3278.jpg","text":"TemporaryFile(/tmp/multipartBody7188056272094986876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730742775,"filename":"image_04112025_14_11_09_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368902","file1":"1399368900","file0":"1399368887","file4":"1399368906","file5":"1399368908","file3":"1399368904"},"map_files_photo_id_array":[{"photo_id":"1399368908","filename":"file5"},{"photo_id":"1399368902","filename":"file2"},{"photo_id":"1399368906","filename":"file4"},{"photo_id":"1399368900","filename":"file1"},{"photo_id":"1399368887","filename":"file0"},{"photo_id":"1399368904","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399368904":["hashtag1","hashtag2"]},{"1399368906":["hashtag1","hashtag2"]},{"1399368900":["hashtag1","hashtag2"]},{"1399368887":["hashtag1","hashtag2"]},{"1399368908":["hashtag1","hashtag2"]},{"1399368902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399368904, 1399368906, 1399368900, 1399368887, 1399368908, 1399368902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69566750526428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:45:22.345240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/41/image_14122025_17_41_24_10574.jpg', '/home/pi/Desktop/images/14122025/17/41/image_14122025_17_41_34_9788.jpg', '/home/pi/Desktop/images/14122025/17/41/image_14122025_17_41_44_10587.jpg', '/home/pi/Desktop/images/14122025/17/41/image_14122025_17_42_04_9854.jpg', '/home/pi/Desktop/images/14122025/17/42/image_14122025_17_42_13_9712.jpg', '/home/pi/Desktop/images/14122025/17/42/image_14122025_17_42_24_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/41/image_14122025_17_41_24_10574.jpg
/home/pi/Desktop/images/14122025/17/41/image_14122025_17_41_34_9788.jpg
/home/pi/Desktop/images/14122025/17/41/image_14122025_17_41_44_10587.jpg
/home/pi/Desktop/images/14122025/17/41/image_14122025_17_42_04_9854.jpg
/home/pi/Desktop/images/14122025/17/42/image_14122025_17_42_13_9712.jpg
/home/pi/Desktop/images/14122025/17/42/image_14122025_17_42_24_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":["1399368911","1399368913","1399368915","1399368909","1399368920","1399368917"],"photo_ids_order":["1399368909","1399368911","1399368913","1399368915","1399368917","1399368920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/702da37329267ff96379bed04a1f8a78.jpg","text":"TemporaryFile(/tmp/multipartBody8876235508766087685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730782978,"filename":"image_14122025_17_41_34_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/168833c317aef199af2115a08c908673.jpg","text":"TemporaryFile(/tmp/multipartBody7926947868044752917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730782978,"filename":"image_14122025_17_41_44_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/79d69be69b74928c4e5493b232bcd7b2.jpg","text":"TemporaryFile(/tmp/multipartBody5952348165222939371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730782978,"filename":"image_14122025_17_42_04_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a059200b6e7353184566373482326e51.jpg","text":"TemporaryFile(/tmp/multipartBody3461056823698925610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730782978,"filename":"image_14122025_17_41_24_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3e6f1187e2b9f4488b0920e69f53f2f0.jpg","text":"TemporaryFile(/tmp/multipartBody3181676916726629080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730782978,"filename":"image_14122025_17_42_24_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ccd9180e3dfa63dafa7012d3a27b6d3.jpg","text":"TemporaryFile(/tmp/multipartBody1726041386457880571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730782978,"filename":"image_14122025_17_42_13_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368913","file1":"1399368911","file0":"1399368909","file4":"1399368917","file5":"1399368920","file3":"1399368915"},"map_files_photo_id_array":[{"photo_id":"1399368920","filename":"file5"},{"photo_id":"1399368913","filename":"file2"},{"photo_id":"1399368917","filename":"file4"},{"photo_id":"1399368911","filename":"file1"},{"photo_id":"1399368909","filename":"file0"},{"photo_id":"1399368915","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368911":["hashtag1","hashtag2"]},{"1399368913":["hashtag1","hashtag2"]},{"1399368915":["hashtag1","hashtag2"]},{"1399368909":["hashtag1","hashtag2"]},{"1399368920":["hashtag1","hashtag2"]},{"1399368917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368911, 1399368913, 1399368915, 1399368909, 1399368920, 1399368917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.673043966293335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:46:03.087430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/43/image_14122025_17_43_23_9616.jpg', '/home/pi/Desktop/images/14122025/17/43/image_14122025_17_43_34_10629.jpg', '/home/pi/Desktop/images/14122025/17/43/image_14122025_17_43_44_9774.jpg', '/home/pi/Desktop/images/14122025/17/43/image_14122025_17_43_53_9705.jpg', '/home/pi/Desktop/images/14122025/17/43/image_14122025_17_44_04_10542.jpg', '/home/pi/Desktop/images/14122025/17/44/image_14122025_17_44_23_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/43/image_14122025_17_43_23_9616.jpg
/home/pi/Desktop/images/14122025/17/43/image_14122025_17_43_34_10629.jpg
/home/pi/Desktop/images/14122025/17/43/image_14122025_17_43_44_9774.jpg
/home/pi/Desktop/images/14122025/17/43/image_14122025_17_43_53_9705.jpg
/home/pi/Desktop/images/14122025/17/43/image_14122025_17_44_04_10542.jpg
/home/pi/Desktop/images/14122025/17/44/image_14122025_17_44_23_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":["1399368931","1399368925","1399368928","1399368927","1399368926","1399368929"],"photo_ids_order":["1399368925","1399368926","1399368927","1399368928","1399368929","1399368931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b89fa7f8327ea6e9867602ad3a827ae6.jpg","text":"TemporaryFile(/tmp/multipartBody5696667459578973323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730823691,"filename":"image_14122025_17_44_23_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d8024cb66ee4bd1e2499eaa4f920d3f.jpg","text":"TemporaryFile(/tmp/multipartBody1172588064597712773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730823691,"filename":"image_14122025_17_43_23_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ab0d3ca5a3a6cfffd9269c8feb64e29.jpg","text":"TemporaryFile(/tmp/multipartBody5973674315041111028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730823691,"filename":"image_14122025_17_43_53_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e8187590db817c710f6394c5b188abe1.jpg","text":"TemporaryFile(/tmp/multipartBody1137486155838162038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730823691,"filename":"image_14122025_17_43_44_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd6a48d576ba093b7d04361e01170c23.jpg","text":"TemporaryFile(/tmp/multipartBody3364987227618021608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730823691,"filename":"image_14122025_17_43_34_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c880fff915562b9a20d5a241062fc477.jpg","text":"TemporaryFile(/tmp/multipartBody6150185458960208657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730823691,"filename":"image_14122025_17_44_04_10542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368927","file1":"1399368926","file0":"1399368925","file4":"1399368929","file5":"1399368931","file3":"1399368928"},"map_files_photo_id_array":[{"photo_id":"1399368931","filename":"file5"},{"photo_id":"1399368927","filename":"file2"},{"photo_id":"1399368929","filename":"file4"},{"photo_id":"1399368926","filename":"file1"},{"photo_id":"1399368925","filename":"file0"},{"photo_id":"1399368928","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368931":["hashtag1","hashtag2"]},{"1399368925":["hashtag1","hashtag2"]},{"1399368928":["hashtag1","hashtag2"]},{"1399368927":["hashtag1","hashtag2"]},{"1399368926":["hashtag1","hashtag2"]},{"1399368929":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368931, 1399368925, 1399368928, 1399368927, 1399368926, 1399368929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35923171043396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:46:42.595723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_21_2785.jpg', '/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_24_2625.jpg', '/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_27_3547.jpg', '/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_30_2516.jpg', '/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_34_3646.jpg', '/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_36_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_21_2785.jpg
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_24_2625.jpg
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_27_3547.jpg
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_30_2516.jpg
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_34_3646.jpg
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_36_2728.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.611107587814331 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:47:02.568788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/44/image_14122025_17_44_34_10684.jpg', '/home/pi/Desktop/images/14122025/17/44/image_14122025_17_44_43_9518.jpg', '/home/pi/Desktop/images/14122025/17/44/image_14122025_17_44_53_9780.jpg', '/home/pi/Desktop/images/14122025/17/45/image_14122025_17_45_14_10056.jpg', '/home/pi/Desktop/images/14122025/17/45/image_14122025_17_45_25_10603.jpg', '/home/pi/Desktop/images/14122025/17/45/image_14122025_17_45_34_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/44/image_14122025_17_44_34_10684.jpg
/home/pi/Desktop/images/14122025/17/44/image_14122025_17_44_43_9518.jpg
/home/pi/Desktop/images/14122025/17/44/image_14122025_17_44_53_9780.jpg
/home/pi/Desktop/images/14122025/17/45/image_14122025_17_45_14_10056.jpg
/home/pi/Desktop/images/14122025/17/45/image_14122025_17_45_25_10603.jpg
/home/pi/Desktop/images/14122025/17/45/image_14122025_17_45_34_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368946","1399368949","1399368942","1399368945","1399368944","1399368947"],"photo_ids_order":["1399368942","1399368944","1399368945","1399368946","1399368947","1399368949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/776841c27ad8cd08260c248c0291dd59.jpg","text":"TemporaryFile(/tmp/multipartBody7644589037434163806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730883205,"filename":"image_14122025_17_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/12/14/f705089f57bcafca51fa0ebc015be614.jpg","text":"TemporaryFile(/tmp/multipartBody8408554990561237386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730883205,"filename":"image_14122025_17_45_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7339e24b27682ccc72f44ab7d653d273.jpg","text":"TemporaryFile(/tmp/multipartBody2801921714345862427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730883205,"filename":"image_14122025_17_44_34_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c82860b7bc01a5df272263dd319ccca7.jpg","text":"TemporaryFile(/tmp/multipartBody7866104987411324778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730883205,"filename":"image_14122025_17_44_53_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/601070e54b483a4300130924ad8a247b.jpg","text":"TemporaryFile(/tmp/multipartBody1715920040592670023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730883205,"filename":"image_14122025_17_44_43_9518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/357dbe788100d406b2f2555550c58138.jpg","text":"TemporaryFile(/tmp/multipartBody6555187850221529686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730883205,"filename":"image_14122025_17_45_25_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368945","file1":"1399368944","file0":"1399368942","file4":"1399368947","file5":"1399368949","file3":"1399368946"},"map_files_photo_id_array":[{"photo_id":"1399368949","filename":"file5"},{"photo_id":"1399368945","filename":"file2"},{"photo_id":"1399368947","filename":"file4"},{"photo_id":"1399368944","filename":"file1"},{"photo_id":"1399368942","filename":"file0"},{"photo_id":"1399368946","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368946":["hashtag1","hashtag2"]},{"1399368949":["hashtag1","hashtag2"]},{"1399368942":["hashtag1","hashtag2"]},{"1399368945":["hashtag1","hashtag2"]},{"1399368944":["hashtag1","hashtag2"]},{"1399368947":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368946, 1399368949, 1399368942, 1399368945, 1399368944, 1399368947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17232871055603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:47:41.782307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_21_2785.jpg', '/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_24_2625.jpg', '/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_27_3547.jpg', '/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_30_2516.jpg', '/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_34_3646.jpg', '/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_36_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_21_2785.jpg
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_24_2625.jpg
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_27_3547.jpg
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_30_2516.jpg
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_34_3646.jpg
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_36_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":["1399368970","1399368967","1399368969","1399368954","1399368962","1399368968"],"photo_ids_order":["1399368954","1399368962","1399368967","1399368968","1399368969","1399368970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c89d8eac5fb6895da105390225ca43eb.jpg","text":"TemporaryFile(/tmp/multipartBody2193426993307454988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730922397,"filename":"image_04112025_14_11_36_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f54d7fa09a364e9856506e201a51774.jpg","text":"TemporaryFile(/tmp/multipartBody7754754787288779499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730922397,"filename":"image_04112025_14_11_27_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b190bd731606062ae6eb03fda7ea2f5d.jpg","text":"TemporaryFile(/tmp/multipartBody7079292422986932107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730922397,"filename":"image_04112025_14_11_34_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ace74b3a300fa53c3e0940b6a08d0ed2.jpg","text":"TemporaryFile(/tmp/multipartBody6200102295198199768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730922397,"filename":"image_04112025_14_11_21_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1337471e0ed0c24b5b83f09e9928be9d.jpg","text":"TemporaryFile(/tmp/multipartBody4598738609066276224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730922397,"filename":"image_04112025_14_11_24_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f4ef93f9458255fbd28b846d0fe8b9e.jpg","text":"TemporaryFile(/tmp/multipartBody3253647657712812359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730922397,"filename":"image_04112025_14_11_30_2516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368967","file1":"1399368962","file0":"1399368954","file4":"1399368969","file5":"1399368970","file3":"1399368968"},"map_files_photo_id_array":[{"photo_id":"1399368970","filename":"file5"},{"photo_id":"1399368967","filename":"file2"},{"photo_id":"1399368969","filename":"file4"},{"photo_id":"1399368962","filename":"file1"},{"photo_id":"1399368954","filename":"file0"},{"photo_id":"1399368968","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399368970":["hashtag1","hashtag2"]},{"1399368967":["hashtag1","hashtag2"]},{"1399368969":["hashtag1","hashtag2"]},{"1399368954":["hashtag1","hashtag2"]},{"1399368962":["hashtag1","hashtag2"]},{"1399368968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399368970, 1399368967, 1399368969, 1399368954, 1399368962, 1399368968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36941146850586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:48:22.113318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/45/image_14122025_17_45_45_10685.jpg', '/home/pi/Desktop/images/14122025/17/45/image_14122025_17_45_54_9549.jpg', '/home/pi/Desktop/images/14122025/17/45/image_14122025_17_46_04_9662.jpg', '/home/pi/Desktop/images/14122025/17/46/image_14122025_17_46_14_9833.jpg', '/home/pi/Desktop/images/14122025/17/46/image_14122025_17_46_24_10550.jpg', '/home/pi/Desktop/images/14122025/17/46/image_14122025_17_46_34_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/45/image_14122025_17_45_45_10685.jpg
/home/pi/Desktop/images/14122025/17/45/image_14122025_17_45_54_9549.jpg
/home/pi/Desktop/images/14122025/17/45/image_14122025_17_46_04_9662.jpg
/home/pi/Desktop/images/14122025/17/46/image_14122025_17_46_14_9833.jpg
/home/pi/Desktop/images/14122025/17/46/image_14122025_17_46_24_10550.jpg
/home/pi/Desktop/images/14122025/17/46/image_14122025_17_46_34_9808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368976","1399368978","1399368972","1399368981","1399368971","1399368974"],"photo_ids_order":["1399368971","1399368972","1399368974","1399368976","1399368978","1399368981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ec3b148dd1f5f489474de1c379a75846.jpg","text":"TemporaryFile(/tmp/multipartBody8900840681042040514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730962775,"filename":"image_14122025_17_46_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/12/14/777628c39acae51ac5c7bd9cf3e711cd.jpg","text":"TemporaryFile(/tmp/multipartBody1953045834233541116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730962775,"filename":"image_14122025_17_46_24_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2a75820ff54431dcc4b0dfe47dc581d.jpg","text":"TemporaryFile(/tmp/multipartBody8832139843114366725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730962775,"filename":"image_14122025_17_45_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/12/14/c129be76b80adb4686bd188df8b73039.jpg","text":"TemporaryFile(/tmp/multipartBody6506755850942998331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730962775,"filename":"image_14122025_17_46_34_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/77bf56d8b875f10d5c96ba4ea8a7c934.jpg","text":"TemporaryFile(/tmp/multipartBody3068895009754741709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730962775,"filename":"image_14122025_17_45_45_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ddd54130ae893a1b7565dd13c4b95be8.jpg","text":"TemporaryFile(/tmp/multipartBody1022570554827449397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765730962775,"filename":"image_14122025_17_46_04_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368974","file1":"1399368972","file0":"1399368971","file4":"1399368978","file5":"1399368981","file3":"1399368976"},"map_files_photo_id_array":[{"photo_id":"1399368981","filename":"file5"},{"photo_id":"1399368974","filename":"file2"},{"photo_id":"1399368978","filename":"file4"},{"photo_id":"1399368972","filename":"file1"},{"photo_id":"1399368971","filename":"file0"},{"photo_id":"1399368976","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368976":["hashtag1","hashtag2"]},{"1399368978":["hashtag1","hashtag2"]},{"1399368972":["hashtag1","hashtag2"]},{"1399368981":["hashtag1","hashtag2"]},{"1399368971":["hashtag1","hashtag2"]},{"1399368974":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368976, 1399368978, 1399368972, 1399368981, 1399368971, 1399368974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.668843269348145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:49:03.066277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/46/image_14122025_17_46_44_9753.jpg', '/home/pi/Desktop/images/14122025/17/46/image_14122025_17_46_55_10766.jpg', '/home/pi/Desktop/images/14122025/17/46/image_14122025_17_47_04_9633.jpg', '/home/pi/Desktop/images/14122025/17/47/image_14122025_17_47_14_9631.jpg', '/home/pi/Desktop/images/14122025/17/47/image_14122025_17_47_25_10583.jpg', '/home/pi/Desktop/images/14122025/17/47/image_14122025_17_47_34_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/46/image_14122025_17_46_44_9753.jpg
/home/pi/Desktop/images/14122025/17/46/image_14122025_17_46_55_10766.jpg
/home/pi/Desktop/images/14122025/17/46/image_14122025_17_47_04_9633.jpg
/home/pi/Desktop/images/14122025/17/47/image_14122025_17_47_14_9631.jpg
/home/pi/Desktop/images/14122025/17/47/image_14122025_17_47_25_10583.jpg
/home/pi/Desktop/images/14122025/17/47/image_14122025_17_47_34_9701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368988","1399368985","1399368990","1399368987","1399368992","1399368986"],"photo_ids_order":["1399368985","1399368986","1399368987","1399368988","1399368990","1399368992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2bc8b54b8fe34c3fba411809566a39a8.jpg","text":"TemporaryFile(/tmp/multipartBody8721824308866472919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731003898,"filename":"image_14122025_17_47_14_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bbcabb383f82a2444d5f67b9433f5a79.jpg","text":"TemporaryFile(/tmp/multipartBody3247165615588971682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731003898,"filename":"image_14122025_17_46_44_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c2baad02dd6e04e140d517613938ca9.jpg","text":"TemporaryFile(/tmp/multipartBody2784907255111471622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731003898,"filename":"image_14122025_17_47_25_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/64388a2e314a8e6ff4ef586778771783.jpg","text":"TemporaryFile(/tmp/multipartBody5943454641838870104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731003898,"filename":"image_14122025_17_47_04_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5502ac1777c250caa78f90b9505f3ab9.jpg","text":"TemporaryFile(/tmp/multipartBody2402730892150949836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731003898,"filename":"image_14122025_17_47_34_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/426e6b2183a2a273a201266e9a802c6f.jpg","text":"TemporaryFile(/tmp/multipartBody2698238511644558409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731003898,"filename":"image_14122025_17_46_55_10766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368987","file1":"1399368986","file0":"1399368985","file4":"1399368990","file5":"1399368992","file3":"1399368988"},"map_files_photo_id_array":[{"photo_id":"1399368992","filename":"file5"},{"photo_id":"1399368987","filename":"file2"},{"photo_id":"1399368990","filename":"file4"},{"photo_id":"1399368986","filename":"file1"},{"photo_id":"1399368985","filename":"file0"},{"photo_id":"1399368988","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399368988":["hashtag1","hashtag2"]},{"1399368985":["hashtag1","hashtag2"]},{"1399368990":["hashtag1","hashtag2"]},{"1399368987":["hashtag1","hashtag2"]},{"1399368992":["hashtag1","hashtag2"]},{"1399368986":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399368988, 1399368985, 1399368990, 1399368987, 1399368992, 1399368986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.397005796432495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:49:42.304367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_39_2810.jpg', '/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_43_4363.jpg', '/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_45_1726.jpg', '/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_48_2639.jpg', '/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_51_3621.jpg', '/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_56_4957.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_39_2810.jpg
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_43_4363.jpg
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_45_1726.jpg
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_48_2639.jpg
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_51_3621.jpg
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_56_4957.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399368997","1399369000","1399369003","1399368996","1399368999","1399369001"],"photo_ids_order":["1399368996","1399368997","1399368999","1399369000","1399369001","1399369003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/adb01c0bfbd3f59a69b7fc0531f6fdeb.jpg","text":"TemporaryFile(/tmp/multipartBody3761062728074780480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731043066,"filename":"image_04112025_14_11_43_4363.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/074da0d1f4fc56bf8e9ba8e05d9abc7d.jpg","text":"TemporaryFile(/tmp/multipartBody3418565745623151950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731043066,"filename":"image_04112025_14_11_48_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ee473566b053a1d94768d10753d4081.jpg","text":"TemporaryFile(/tmp/multipartBody4128384153268942142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731043066,"filename":"image_04112025_14_11_56_4957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0fc16b6d6960e60069d6df7f052fa498.jpg","text":"TemporaryFile(/tmp/multipartBody7932140903400680378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731043066,"filename":"image_04112025_14_11_39_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/273aec06a2df64fe24d25a31cc8675aa.jpg","text":"TemporaryFile(/tmp/multipartBody8486474145221738556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731043066,"filename":"image_04112025_14_11_45_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/58c898a6b0ceb8530f0af3ce4783d4b4.jpg","text":"TemporaryFile(/tmp/multipartBody4124462055457723114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731043066,"filename":"image_04112025_14_11_51_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399368999","file1":"1399368997","file0":"1399368996","file4":"1399369001","file5":"1399369003","file3":"1399369000"},"map_files_photo_id_array":[{"photo_id":"1399369003","filename":"file5"},{"photo_id":"1399368999","filename":"file2"},{"photo_id":"1399369001","filename":"file4"},{"photo_id":"1399368997","filename":"file1"},{"photo_id":"1399368996","filename":"file0"},{"photo_id":"1399369000","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399368997":["hashtag1","hashtag2"]},{"1399369000":["hashtag1","hashtag2"]},{"1399369003":["hashtag1","hashtag2"]},{"1399368996":["hashtag1","hashtag2"]},{"1399368999":["hashtag1","hashtag2"]},{"1399369001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399368997, 1399369000, 1399369003, 1399368996, 1399368999, 1399369001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76139736175537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:50:22.642313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/47/image_14122025_17_47_44_9745.jpg', '/home/pi/Desktop/images/14122025/17/47/image_14122025_17_47_55_10662.jpg', '/home/pi/Desktop/images/14122025/17/47/image_14122025_17_48_04_9652.jpg', '/home/pi/Desktop/images/14122025/17/48/image_14122025_17_48_14_9792.jpg', '/home/pi/Desktop/images/14122025/17/48/image_14122025_17_48_25_10639.jpg', '/home/pi/Desktop/images/14122025/17/48/image_14122025_17_48_34_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/47/image_14122025_17_47_44_9745.jpg
/home/pi/Desktop/images/14122025/17/47/image_14122025_17_47_55_10662.jpg
/home/pi/Desktop/images/14122025/17/47/image_14122025_17_48_04_9652.jpg
/home/pi/Desktop/images/14122025/17/48/image_14122025_17_48_14_9792.jpg
/home/pi/Desktop/images/14122025/17/48/image_14122025_17_48_25_10639.jpg
/home/pi/Desktop/images/14122025/17/48/image_14122025_17_48_34_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":["1399369012","1399369006","1399369026","1399369014","1399369008","1399369010"],"photo_ids_order":["1399369006","1399369008","1399369010","1399369012","1399369014","1399369026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f4136937811729318e2829fb2125b4c.jpg","text":"TemporaryFile(/tmp/multipartBody2985302052651781471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731083241,"filename":"image_14122025_17_48_14_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/186f22e85909a64ba296e470e7518a6f.jpg","text":"TemporaryFile(/tmp/multipartBody8309636193871519246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731083241,"filename":"image_14122025_17_47_44_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a54345135dc7c99f16ecea3f67394ac1.jpg","text":"TemporaryFile(/tmp/multipartBody4608966093179523465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731083241,"filename":"image_14122025_17_48_34_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36cee217bb24086b01fa404ac70e3860.jpg","text":"TemporaryFile(/tmp/multipartBody4753310366399255127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731083241,"filename":"image_14122025_17_48_25_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9513674524d742d32ee828cc3630501b.jpg","text":"TemporaryFile(/tmp/multipartBody5987325161170141974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731083241,"filename":"image_14122025_17_47_55_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d95816b2e853dc2a3e1f5f10b977715a.jpg","text":"TemporaryFile(/tmp/multipartBody686878903128002852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731083241,"filename":"image_14122025_17_48_04_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399369010","file1":"1399369008","file0":"1399369006","file4":"1399369014","file5":"1399369026","file3":"1399369012"},"map_files_photo_id_array":[{"photo_id":"1399369026","filename":"file5"},{"photo_id":"1399369010","filename":"file2"},{"photo_id":"1399369014","filename":"file4"},{"photo_id":"1399369008","filename":"file1"},{"photo_id":"1399369006","filename":"file0"},{"photo_id":"1399369012","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399369012":["hashtag1","hashtag2"]},{"1399369006":["hashtag1","hashtag2"]},{"1399369026":["hashtag1","hashtag2"]},{"1399369014":["hashtag1","hashtag2"]},{"1399369008":["hashtag1","hashtag2"]},{"1399369010":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399369012, 1399369006, 1399369026, 1399369014, 1399369008, 1399369010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18536448478699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:51:03.282523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/48/image_14122025_17_48_44_9756.jpg', '/home/pi/Desktop/images/14122025/17/48/image_14122025_17_48_55_10548.jpg', '/home/pi/Desktop/images/14122025/17/48/image_14122025_17_49_04_9664.jpg', '/home/pi/Desktop/images/14122025/17/49/image_14122025_17_49_14_9561.jpg', '/home/pi/Desktop/images/14122025/17/49/image_14122025_17_49_25_10601.jpg', '/home/pi/Desktop/images/14122025/17/49/image_14122025_17_49_34_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/48/image_14122025_17_48_44_9756.jpg
/home/pi/Desktop/images/14122025/17/48/image_14122025_17_48_55_10548.jpg
/home/pi/Desktop/images/14122025/17/48/image_14122025_17_49_04_9664.jpg
/home/pi/Desktop/images/14122025/17/49/image_14122025_17_49_14_9561.jpg
/home/pi/Desktop/images/14122025/17/49/image_14122025_17_49_25_10601.jpg
/home/pi/Desktop/images/14122025/17/49/image_14122025_17_49_34_9574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399369030","1399369033","1399369027","1399369029","1399369031","1399369028"],"photo_ids_order":["1399369027","1399369028","1399369029","1399369030","1399369031","1399369033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e79b86657b285191b6c594f5c4afc4b3.jpg","text":"TemporaryFile(/tmp/multipartBody9089182469215581874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731123933,"filename":"image_14122025_17_49_14_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a36ee17da9954c49bb89d66819b3d99.jpg","text":"TemporaryFile(/tmp/multipartBody2218467708533639072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731123933,"filename":"image_14122025_17_49_34_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/099655bec2c0b080c6c38b534702e0d2.jpg","text":"TemporaryFile(/tmp/multipartBody4958532009081601763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731123933,"filename":"image_14122025_17_48_44_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f91aaa171e9dcd1118c6dd049da62bc4.jpg","text":"TemporaryFile(/tmp/multipartBody9120490666162360939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731123933,"filename":"image_14122025_17_49_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9ebb0a301e9ad3af8ed6516dd4cbe851.jpg","text":"TemporaryFile(/tmp/multipartBody8489233599331734738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731123933,"filename":"image_14122025_17_49_25_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b42ede818512e9c5098b250acddc687e.jpg","text":"TemporaryFile(/tmp/multipartBody5655329619793501134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731123933,"filename":"image_14122025_17_48_55_10548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399369029","file1":"1399369028","file0":"1399369027","file4":"1399369031","file5":"1399369033","file3":"1399369030"},"map_files_photo_id_array":[{"photo_id":"1399369033","filename":"file5"},{"photo_id":"1399369029","filename":"file2"},{"photo_id":"1399369031","filename":"file4"},{"photo_id":"1399369028","filename":"file1"},{"photo_id":"1399369027","filename":"file0"},{"photo_id":"1399369030","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399369030":["hashtag1","hashtag2"]},{"1399369033":["hashtag1","hashtag2"]},{"1399369027":["hashtag1","hashtag2"]},{"1399369029":["hashtag1","hashtag2"]},{"1399369031":["hashtag1","hashtag2"]},{"1399369028":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399369030, 1399369033, 1399369027, 1399369029, 1399369031, 1399369028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.999812602996826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:51:42.728601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_58_1600.jpg', '/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_01_2591.jpg', '/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_03_2713.jpg', '/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_06_2677.jpg', '/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_09_2678.jpg', '/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_12_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/11/image_04112025_14_11_58_1600.jpg
/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_01_2591.jpg
/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_03_2713.jpg
/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_06_2677.jpg
/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_09_2678.jpg
/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_12_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":["1399369042","1399369041","1399369044","1399369038","1399369043","1399369046"],"photo_ids_order":["1399369038","1399369041","1399369042","1399369043","1399369044","1399369046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36c907b2251e9c3e2186fc28978d8607.jpg","text":"TemporaryFile(/tmp/multipartBody4453431324497802531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731163442,"filename":"image_04112025_14_12_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/12/14/bdeda4819cb45e9374aaf515939d6ba2.jpg","text":"TemporaryFile(/tmp/multipartBody1429367777607030890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731163442,"filename":"image_04112025_14_12_01_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a2c7f07596d532a45bb3be4fcf0bc9a.jpg","text":"TemporaryFile(/tmp/multipartBody9055011312258048345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731163442,"filename":"image_04112025_14_12_09_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/39a335c9642d12269af13827ced99060.jpg","text":"TemporaryFile(/tmp/multipartBody1083897134780737948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731163442,"filename":"image_04112025_14_11_58_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f040a7f32c898322f8fb7ff41eebf773.jpg","text":"TemporaryFile(/tmp/multipartBody6347487637080634704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731163442,"filename":"image_04112025_14_12_06_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a2d2af620d0c0c8ea997a534ab81e65.jpg","text":"TemporaryFile(/tmp/multipartBody5043730287548944910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731163442,"filename":"image_04112025_14_12_12_3733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399369042","file1":"1399369041","file0":"1399369038","file4":"1399369044","file5":"1399369046","file3":"1399369043"},"map_files_photo_id_array":[{"photo_id":"1399369046","filename":"file5"},{"photo_id":"1399369042","filename":"file2"},{"photo_id":"1399369044","filename":"file4"},{"photo_id":"1399369041","filename":"file1"},{"photo_id":"1399369038","filename":"file0"},{"photo_id":"1399369043","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399369042":["hashtag1","hashtag2"]},{"1399369041":["hashtag1","hashtag2"]},{"1399369044":["hashtag1","hashtag2"]},{"1399369038":["hashtag1","hashtag2"]},{"1399369043":["hashtag1","hashtag2"]},{"1399369046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399369042, 1399369041, 1399369044, 1399369038, 1399369043, 1399369046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.087207078933716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:52:21.987017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/49/image_14122025_17_49_44_9723.jpg', '/home/pi/Desktop/images/14122025/17/49/image_14122025_17_49_55_10713.jpg', '/home/pi/Desktop/images/14122025/17/50/image_14122025_17_50_25_10708.jpg', '/home/pi/Desktop/images/14122025/17/50/image_14122025_17_50_45_9688.jpg', '/home/pi/Desktop/images/14122025/17/50/image_14122025_17_50_54_9813.jpg', '/home/pi/Desktop/images/14122025/17/50/image_14122025_17_51_05_10795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/49/image_14122025_17_49_44_9723.jpg
/home/pi/Desktop/images/14122025/17/49/image_14122025_17_49_55_10713.jpg
/home/pi/Desktop/images/14122025/17/50/image_14122025_17_50_25_10708.jpg
/home/pi/Desktop/images/14122025/17/50/image_14122025_17_50_45_9688.jpg
/home/pi/Desktop/images/14122025/17/50/image_14122025_17_50_54_9813.jpg
/home/pi/Desktop/images/14122025/17/50/image_14122025_17_51_05_10795.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4972991943359375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 17:52:31.998482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:52:42.031350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_15_2587.jpg', '/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_18_2763.jpg', '/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_21_3056.jpg', '/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_24_3565.jpg', '/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_36_11963.jpg', '/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_38_1658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_15_2587.jpg
/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_18_2763.jpg
/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_21_3056.jpg
/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_24_3565.jpg
/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_36_11963.jpg
/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_38_1658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399369057","1399369059","1399369056","1399369061","1399369058","1399369060"],"photo_ids_order":["1399369056","1399369057","1399369058","1399369059","1399369060","1399369061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a60e43ec3db10877cf0a93d8eec96877.jpg","text":"TemporaryFile(/tmp/multipartBody251978031951064401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731222739,"filename":"image_04112025_14_12_18_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/47b06d0883ff3e78ce8b37797ae2cf93.jpg","text":"TemporaryFile(/tmp/multipartBody7841151970502660515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731222739,"filename":"image_04112025_14_12_24_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a9c78836d0ea5b834566988a9f0e308a.jpg","text":"TemporaryFile(/tmp/multipartBody6817277239669871739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731222739,"filename":"image_04112025_14_12_15_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7c3479262437359b04f307b7674b1598.jpg","text":"TemporaryFile(/tmp/multipartBody422336753014167676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731222739,"filename":"image_04112025_14_12_38_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f69c9ad9de0c4bab38564b9742b43c1a.jpg","text":"TemporaryFile(/tmp/multipartBody8700098936889588470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731222739,"filename":"image_04112025_14_12_21_3056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b5e7164f425d6b98f8e68951a257af20.jpg","text":"TemporaryFile(/tmp/multipartBody6699169156248539157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731222739,"filename":"image_04112025_14_12_36_11963.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399369058","file1":"1399369057","file0":"1399369056","file4":"1399369060","file5":"1399369061","file3":"1399369059"},"map_files_photo_id_array":[{"photo_id":"1399369061","filename":"file5"},{"photo_id":"1399369058","filename":"file2"},{"photo_id":"1399369060","filename":"file4"},{"photo_id":"1399369057","filename":"file1"},{"photo_id":"1399369056","filename":"file0"},{"photo_id":"1399369059","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399369057":["hashtag1","hashtag2"]},{"1399369059":["hashtag1","hashtag2"]},{"1399369056":["hashtag1","hashtag2"]},{"1399369061":["hashtag1","hashtag2"]},{"1399369058":["hashtag1","hashtag2"]},{"1399369060":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399369057, 1399369059, 1399369056, 1399369061, 1399369058, 1399369060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45022010803223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:53:22.264952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/49/image_14122025_17_49_44_9723.jpg', '/home/pi/Desktop/images/14122025/17/49/image_14122025_17_49_55_10713.jpg', '/home/pi/Desktop/images/14122025/17/50/image_14122025_17_50_25_10708.jpg', '/home/pi/Desktop/images/14122025/17/50/image_14122025_17_50_45_9688.jpg', '/home/pi/Desktop/images/14122025/17/50/image_14122025_17_50_54_9813.jpg', '/home/pi/Desktop/images/14122025/17/50/image_14122025_17_51_05_10795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/49/image_14122025_17_49_44_9723.jpg
/home/pi/Desktop/images/14122025/17/49/image_14122025_17_49_55_10713.jpg
/home/pi/Desktop/images/14122025/17/50/image_14122025_17_50_25_10708.jpg
/home/pi/Desktop/images/14122025/17/50/image_14122025_17_50_45_9688.jpg
/home/pi/Desktop/images/14122025/17/50/image_14122025_17_50_54_9813.jpg
/home/pi/Desktop/images/14122025/17/50/image_14122025_17_51_05_10795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399369063","1399369065","1399369062","1399369073","1399369067","1399369069"],"photo_ids_order":["1399369062","1399369063","1399369065","1399369067","1399369069","1399369073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/15096d218368be2bfeac0172c3091e7b.jpg","text":"TemporaryFile(/tmp/multipartBody4432384299836793112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731262863,"filename":"image_14122025_17_49_55_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/244f28eafc04cf1a919c4b80a5ed0b4d.jpg","text":"TemporaryFile(/tmp/multipartBody1231962107881337170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731262863,"filename":"image_14122025_17_50_25_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/149f76e4ac7037e8d22176f8bc5d70ba.jpg","text":"TemporaryFile(/tmp/multipartBody1970011499093791126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731262863,"filename":"image_14122025_17_49_44_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f3f47b85184116cba0d2b61fa60660a.jpg","text":"TemporaryFile(/tmp/multipartBody1099239548076960067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731262863,"filename":"image_14122025_17_51_05_10795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3a6d4896b7e8ed0b650796fecac44a87.jpg","text":"TemporaryFile(/tmp/multipartBody3865443657426697209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731262863,"filename":"image_14122025_17_50_45_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b76302b4673a8d22468c0388d77a076.jpg","text":"TemporaryFile(/tmp/multipartBody7381811244278063287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731262863,"filename":"image_14122025_17_50_54_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399369065","file1":"1399369063","file0":"1399369062","file4":"1399369069","file5":"1399369073","file3":"1399369067"},"map_files_photo_id_array":[{"photo_id":"1399369073","filename":"file5"},{"photo_id":"1399369065","filename":"file2"},{"photo_id":"1399369069","filename":"file4"},{"photo_id":"1399369063","filename":"file1"},{"photo_id":"1399369062","filename":"file0"},{"photo_id":"1399369067","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399369063":["hashtag1","hashtag2"]},{"1399369065":["hashtag1","hashtag2"]},{"1399369062":["hashtag1","hashtag2"]},{"1399369073":["hashtag1","hashtag2"]},{"1399369067":["hashtag1","hashtag2"]},{"1399369069":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399369063, 1399369065, 1399369062, 1399369073, 1399369067, 1399369069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20193791389465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:54:03.132558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/51/image_14122025_17_51_15_9741.jpg', '/home/pi/Desktop/images/14122025/17/51/image_14122025_17_51_25_9728.jpg', '/home/pi/Desktop/images/14122025/17/51/image_14122025_17_51_34_9764.jpg', '/home/pi/Desktop/images/14122025/17/51/image_14122025_17_51_45_10562.jpg', '/home/pi/Desktop/images/14122025/17/51/image_14122025_17_51_55_9824.jpg', '/home/pi/Desktop/images/14122025/17/52/image_14122025_17_52_15_10772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/51/image_14122025_17_51_15_9741.jpg
/home/pi/Desktop/images/14122025/17/51/image_14122025_17_51_25_9728.jpg
/home/pi/Desktop/images/14122025/17/51/image_14122025_17_51_34_9764.jpg
/home/pi/Desktop/images/14122025/17/51/image_14122025_17_51_45_10562.jpg
/home/pi/Desktop/images/14122025/17/51/image_14122025_17_51_55_9824.jpg
/home/pi/Desktop/images/14122025/17/52/image_14122025_17_52_15_10772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399369095","1399369089","1399369101","1399369097","1399369099","1399369093"],"photo_ids_order":["1399369089","1399369093","1399369095","1399369097","1399369099","1399369101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f465598102ab3afea5ac7d322b1929c3.jpg","text":"TemporaryFile(/tmp/multipartBody4395049289811268848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731303755,"filename":"image_14122025_17_51_34_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe2401c51b7cccdea00460aa4182c480.jpg","text":"TemporaryFile(/tmp/multipartBody8514261458037144676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731303755,"filename":"image_14122025_17_51_15_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c42aa526dc32e5c15ef9ca1520e96d0.jpg","text":"TemporaryFile(/tmp/multipartBody7593404060218843523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731303755,"filename":"image_14122025_17_52_15_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d004dda8d7bce9872416024b710e43a2.jpg","text":"TemporaryFile(/tmp/multipartBody8832048174471818626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731303755,"filename":"image_14122025_17_51_45_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7e4fa21b6dd5014e446967eaff983972.jpg","text":"TemporaryFile(/tmp/multipartBody8926252326264686060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731303755,"filename":"image_14122025_17_51_55_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f0b829cd1a250b5f4d43c943424b24e.jpg","text":"TemporaryFile(/tmp/multipartBody3945657150331245305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731303755,"filename":"image_14122025_17_51_25_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399369095","file1":"1399369093","file0":"1399369089","file4":"1399369099","file5":"1399369101","file3":"1399369097"},"map_files_photo_id_array":[{"photo_id":"1399369101","filename":"file5"},{"photo_id":"1399369095","filename":"file2"},{"photo_id":"1399369099","filename":"file4"},{"photo_id":"1399369093","filename":"file1"},{"photo_id":"1399369089","filename":"file0"},{"photo_id":"1399369097","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399369095":["hashtag1","hashtag2"]},{"1399369089":["hashtag1","hashtag2"]},{"1399369101":["hashtag1","hashtag2"]},{"1399369097":["hashtag1","hashtag2"]},{"1399369099":["hashtag1","hashtag2"]},{"1399369093":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399369095, 1399369089, 1399369101, 1399369097, 1399369099, 1399369093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74646210670471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:54:42.466644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_40_1524.jpg', '/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_41_1793.jpg', '/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_48_6802.jpg', '/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_50_1771.jpg', '/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_52_1734.jpg', '/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_53_1829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_40_1524.jpg
/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_41_1793.jpg
/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_48_6802.jpg
/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_50_1771.jpg
/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_52_1734.jpg
/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_53_1829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399369111","1399369102","1399369104","1399369113","1399369107","1399369109"],"photo_ids_order":["1399369102","1399369104","1399369107","1399369109","1399369111","1399369113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/70d646d1d54d48b8111d926fdf0bb3c0.jpg","text":"TemporaryFile(/tmp/multipartBody6609692305696487352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731343166,"filename":"image_04112025_14_12_52_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/247bb142249f4c6dc251a1479d13c37b.jpg","text":"TemporaryFile(/tmp/multipartBody3412751242752309615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731343166,"filename":"image_04112025_14_12_40_1524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3872706ca826eb70634de5a36c69166.jpg","text":"TemporaryFile(/tmp/multipartBody862692183761024798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731343166,"filename":"image_04112025_14_12_41_1793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/efa03a43bdda7fe4e8ac1952593454b3.jpg","text":"TemporaryFile(/tmp/multipartBody1648402863818234263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731343166,"filename":"image_04112025_14_12_53_1829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/491577ad306d5e13020d8132dfdc6f3d.jpg","text":"TemporaryFile(/tmp/multipartBody1653237295053147184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731343166,"filename":"image_04112025_14_12_48_6802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/534bf45cdfe32d4cdea2e50cbd302bd9.jpg","text":"TemporaryFile(/tmp/multipartBody8396601239672430974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731343166,"filename":"image_04112025_14_12_50_1771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399369107","file1":"1399369104","file0":"1399369102","file4":"1399369111","file5":"1399369113","file3":"1399369109"},"map_files_photo_id_array":[{"photo_id":"1399369113","filename":"file5"},{"photo_id":"1399369107","filename":"file2"},{"photo_id":"1399369111","filename":"file4"},{"photo_id":"1399369104","filename":"file1"},{"photo_id":"1399369102","filename":"file0"},{"photo_id":"1399369109","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399369111":["hashtag1","hashtag2"]},{"1399369102":["hashtag1","hashtag2"]},{"1399369104":["hashtag1","hashtag2"]},{"1399369113":["hashtag1","hashtag2"]},{"1399369107":["hashtag1","hashtag2"]},{"1399369109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399369111, 1399369102, 1399369104, 1399369113, 1399369107, 1399369109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02942705154419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:55:22.796531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/52/image_14122025_17_52_25_9937.jpg', '/home/pi/Desktop/images/14122025/17/52/image_14122025_17_52_35_9711.jpg', '/home/pi/Desktop/images/14122025/17/52/image_14122025_17_52_45_9646.jpg', '/home/pi/Desktop/images/14122025/17/52/image_14122025_17_52_55_10781.jpg', '/home/pi/Desktop/images/14122025/17/52/image_14122025_17_53_05_9780.jpg', '/home/pi/Desktop/images/14122025/17/53/image_14122025_17_53_15_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/52/image_14122025_17_52_25_9937.jpg
/home/pi/Desktop/images/14122025/17/52/image_14122025_17_52_35_9711.jpg
/home/pi/Desktop/images/14122025/17/52/image_14122025_17_52_45_9646.jpg
/home/pi/Desktop/images/14122025/17/52/image_14122025_17_52_55_10781.jpg
/home/pi/Desktop/images/14122025/17/52/image_14122025_17_53_05_9780.jpg
/home/pi/Desktop/images/14122025/17/53/image_14122025_17_53_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":["1399369123","1399369117","1399369126","1399369119","1399369121","1399369115"],"photo_ids_order":["1399369115","1399369117","1399369119","1399369121","1399369123","1399369126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/77b6388975b861aae2f6aeea163bce8d.jpg","text":"TemporaryFile(/tmp/multipartBody6340903622454281825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731383391,"filename":"image_14122025_17_53_05_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/96cc27f898a0d1accf5da8fc9d5e11dc.jpg","text":"TemporaryFile(/tmp/multipartBody8814036120727506382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731383391,"filename":"image_14122025_17_52_35_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0e04702ad3fb55006e39973f22966bed.jpg","text":"TemporaryFile(/tmp/multipartBody1767665913600215999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731383391,"filename":"image_14122025_17_53_15_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fc7d9ddaabebdd891dba876a0ec2f785.jpg","text":"TemporaryFile(/tmp/multipartBody9009161811876861903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731383391,"filename":"image_14122025_17_52_45_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6a56813a6ecd28f9c984cc8d5abab962.jpg","text":"TemporaryFile(/tmp/multipartBody4869943067847675293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731383391,"filename":"image_14122025_17_52_55_10781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/48b6bb25327caf6f7b636b55902012db.jpg","text":"TemporaryFile(/tmp/multipartBody5602154302860541129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731383391,"filename":"image_14122025_17_52_25_9937.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399369119","file1":"1399369117","file0":"1399369115","file4":"1399369123","file5":"1399369126","file3":"1399369121"},"map_files_photo_id_array":[{"photo_id":"1399369126","filename":"file5"},{"photo_id":"1399369119","filename":"file2"},{"photo_id":"1399369123","filename":"file4"},{"photo_id":"1399369117","filename":"file1"},{"photo_id":"1399369115","filename":"file0"},{"photo_id":"1399369121","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399369123":["hashtag1","hashtag2"]},{"1399369117":["hashtag1","hashtag2"]},{"1399369126":["hashtag1","hashtag2"]},{"1399369119":["hashtag1","hashtag2"]},{"1399369121":["hashtag1","hashtag2"]},{"1399369115":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399369123, 1399369117, 1399369126, 1399369119, 1399369121, 1399369115)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 50.47816181182861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 17:56:21.922216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/53/image_14122025_17_53_25_10624.jpg', '/home/pi/Desktop/images/14122025/17/53/image_14122025_17_53_35_9676.jpg', '/home/pi/Desktop/images/14122025/17/53/image_14122025_17_53_45_9627.jpg', '/home/pi/Desktop/images/14122025/17/53/image_14122025_17_53_54_9739.jpg', '/home/pi/Desktop/images/14122025/17/54/image_14122025_17_54_15_9575.jpg', '/home/pi/Desktop/images/14122025/17/54/image_14122025_17_54_25_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/53/image_14122025_17_53_25_10624.jpg
/home/pi/Desktop/images/14122025/17/53/image_14122025_17_53_35_9676.jpg
/home/pi/Desktop/images/14122025/17/53/image_14122025_17_53_45_9627.jpg
/home/pi/Desktop/images/14122025/17/53/image_14122025_17_53_54_9739.jpg
/home/pi/Desktop/images/14122025/17/54/image_14122025_17_54_15_9575.jpg
/home/pi/Desktop/images/14122025/17/54/image_14122025_17_54_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":["1399369135","1399369129","1399369128","1399369131","1399369139","1399369133"],"photo_ids_order":["1399369128","1399369129","1399369131","1399369133","1399369135","1399369139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/71c21132c5ea4e09fbf1c7b366fc9be4.jpg","text":"TemporaryFile(/tmp/multipartBody1258261970795577832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731442460,"filename":"image_14122025_17_54_15_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/97a906af772a028cf7c8a4bafa0a5b57.jpg","text":"TemporaryFile(/tmp/multipartBody7381349855794012197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731442460,"filename":"image_14122025_17_53_35_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36b9ba236f0c59f8fe6a7af6f4b55d0c.jpg","text":"TemporaryFile(/tmp/multipartBody2501169176524288173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731442460,"filename":"image_14122025_17_53_25_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c859a51a65dddece7a18a4bcc6c90c66.jpg","text":"TemporaryFile(/tmp/multipartBody3065490201365343442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731442460,"filename":"image_14122025_17_53_45_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/42bcee5cb3cf1875b0a440516dbc48a3.jpg","text":"TemporaryFile(/tmp/multipartBody4807645105584478376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731442460,"filename":"image_14122025_17_54_25_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c73b5871fa66bf44da12f9ba4a71558.jpg","text":"TemporaryFile(/tmp/multipartBody9217013367035135202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731442460,"filename":"image_14122025_17_53_54_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399369131","file1":"1399369129","file0":"1399369128","file4":"1399369135","file5":"1399369139","file3":"1399369133"},"map_files_photo_id_array":[{"photo_id":"1399369139","filename":"file5"},{"photo_id":"1399369131","filename":"file2"},{"photo_id":"1399369135","filename":"file4"},{"photo_id":"1399369129","filename":"file1"},{"photo_id":"1399369128","filename":"file0"},{"photo_id":"1399369133","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399369135":["hashtag1","hashtag2"]},{"1399369129":["hashtag1","hashtag2"]},{"1399369128":["hashtag1","hashtag2"]},{"1399369131":["hashtag1","hashtag2"]},{"1399369139":["hashtag1","hashtag2"]},{"1399369133":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399369135, 1399369129, 1399369128, 1399369131, 1399369139, 1399369133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96406126022339 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:57:02.697205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/54/image_14122025_17_54_35_9611.jpg', '/home/pi/Desktop/images/14122025/17/54/image_14122025_17_54_45_9866.jpg', '/home/pi/Desktop/images/14122025/17/54/image_14122025_17_54_55_9777.jpg', '/home/pi/Desktop/images/14122025/17/55/image_14122025_17_55_14_10062.jpg', '/home/pi/Desktop/images/14122025/17/55/image_14122025_17_55_25_10836.jpg', '/home/pi/Desktop/images/14122025/17/55/image_14122025_17_55_35_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/54/image_14122025_17_54_35_9611.jpg
/home/pi/Desktop/images/14122025/17/54/image_14122025_17_54_45_9866.jpg
/home/pi/Desktop/images/14122025/17/54/image_14122025_17_54_55_9777.jpg
/home/pi/Desktop/images/14122025/17/55/image_14122025_17_55_14_10062.jpg
/home/pi/Desktop/images/14122025/17/55/image_14122025_17_55_25_10836.jpg
/home/pi/Desktop/images/14122025/17/55/image_14122025_17_55_35_9758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399369162","1399369156","1399369158","1399369160","1399369151","1399369154"],"photo_ids_order":["1399369151","1399369154","1399369156","1399369158","1399369160","1399369162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c35ccf75c08df7abf1c4e5896eee5b39.jpg","text":"TemporaryFile(/tmp/multipartBody1093609879875895113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731483375,"filename":"image_14122025_17_55_35_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/75dea4f2ec2d3f742fae8ae7667dbaed.jpg","text":"TemporaryFile(/tmp/multipartBody1767738088555972276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731483375,"filename":"image_14122025_17_54_55_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/37ceb2b7e6f6ee762ee5fa4772530412.jpg","text":"TemporaryFile(/tmp/multipartBody2797976235017977963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731483375,"filename":"image_14122025_17_55_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/12/14/35769df65cd826b28e985158b6ad07c9.jpg","text":"TemporaryFile(/tmp/multipartBody1189671465481224527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731483375,"filename":"image_14122025_17_55_25_10836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3f5ea3832231dfcb9c2dacb7075b63b.jpg","text":"TemporaryFile(/tmp/multipartBody5632161683152881632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731483375,"filename":"image_14122025_17_54_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/12/14/5a8de8171a3e3ea41b2836a0948ab1fc.jpg","text":"TemporaryFile(/tmp/multipartBody9154430640519459329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731483375,"filename":"image_14122025_17_54_45_9866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399369156","file1":"1399369154","file0":"1399369151","file4":"1399369160","file5":"1399369162","file3":"1399369158"},"map_files_photo_id_array":[{"photo_id":"1399369162","filename":"file5"},{"photo_id":"1399369156","filename":"file2"},{"photo_id":"1399369160","filename":"file4"},{"photo_id":"1399369154","filename":"file1"},{"photo_id":"1399369151","filename":"file0"},{"photo_id":"1399369158","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399369162":["hashtag1","hashtag2"]},{"1399369156":["hashtag1","hashtag2"]},{"1399369158":["hashtag1","hashtag2"]},{"1399369160":["hashtag1","hashtag2"]},{"1399369151":["hashtag1","hashtag2"]},{"1399369154":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399369162, 1399369156, 1399369158, 1399369160, 1399369151, 1399369154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2588095664978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:57:42.125987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_55_1477.jpg', '/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_57_1712.jpg', '/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_58_1500.jpg', '/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_01_2614.jpg', '/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_03_2579.jpg', '/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_06_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_55_1477.jpg
/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_57_1712.jpg
/home/pi/Desktop/images/04112025/14/12/image_04112025_14_12_58_1500.jpg
/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_01_2614.jpg
/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_03_2579.jpg
/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_06_2783.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399369170","1399369164","1399369172","1399369166","1399369174","1399369168"],"photo_ids_order":["1399369164","1399369166","1399369168","1399369170","1399369172","1399369174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56bdac942555ce2b0137fa510c0db87c.jpg","text":"TemporaryFile(/tmp/multipartBody309134951679690094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731522811,"filename":"image_04112025_14_13_01_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/171a069b77c918cbcd1b7a342798d441.jpg","text":"TemporaryFile(/tmp/multipartBody946348081633149044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731522811,"filename":"image_04112025_14_12_55_1477.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/23a3f7b3fb35cfe41e7d9fc6b7e63dac.jpg","text":"TemporaryFile(/tmp/multipartBody7216386706983208004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731522811,"filename":"image_04112025_14_13_03_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/59c56b96ec6e127786cf8c95e39a3d89.jpg","text":"TemporaryFile(/tmp/multipartBody4435043350832168057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731522811,"filename":"image_04112025_14_12_57_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/55b7d3950353fc75195546a75bb56fc0.jpg","text":"TemporaryFile(/tmp/multipartBody8637461586539906851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731522811,"filename":"image_04112025_14_13_06_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c0427c91b127605da15dc3f735e154e.jpg","text":"TemporaryFile(/tmp/multipartBody4971298225304346230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731522811,"filename":"image_04112025_14_12_58_1500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399369168","file1":"1399369166","file0":"1399369164","file4":"1399369172","file5":"1399369174","file3":"1399369170"},"map_files_photo_id_array":[{"photo_id":"1399369174","filename":"file5"},{"photo_id":"1399369168","filename":"file2"},{"photo_id":"1399369172","filename":"file4"},{"photo_id":"1399369166","filename":"file1"},{"photo_id":"1399369164","filename":"file0"},{"photo_id":"1399369170","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399369170":["hashtag1","hashtag2"]},{"1399369164":["hashtag1","hashtag2"]},{"1399369172":["hashtag1","hashtag2"]},{"1399369166":["hashtag1","hashtag2"]},{"1399369174":["hashtag1","hashtag2"]},{"1399369168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399369170, 1399369164, 1399369172, 1399369166, 1399369174, 1399369168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4806342124939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 17:59:05.036477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/55/image_14122025_17_55_45_9813.jpg', '/home/pi/Desktop/images/14122025/17/55/image_14122025_17_55_54_9582.jpg', '/home/pi/Desktop/images/14122025/17/55/image_14122025_17_56_05_10779.jpg', '/home/pi/Desktop/images/14122025/17/56/image_14122025_17_56_15_9569.jpg', '/home/pi/Desktop/images/14122025/17/56/image_14122025_17_56_25_10578.jpg', '/home/pi/Desktop/images/14122025/17/56/image_14122025_17_56_35_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/55/image_14122025_17_55_45_9813.jpg
/home/pi/Desktop/images/14122025/17/55/image_14122025_17_55_54_9582.jpg
/home/pi/Desktop/images/14122025/17/55/image_14122025_17_56_05_10779.jpg
/home/pi/Desktop/images/14122025/17/56/image_14122025_17_56_15_9569.jpg
/home/pi/Desktop/images/14122025/17/56/image_14122025_17_56_25_10578.jpg
/home/pi/Desktop/images/14122025/17/56/image_14122025_17_56_35_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399369627","1399369549","1399369405","1399369472","1399369786","1399369699"],"photo_ids_order":["1399369405","1399369472","1399369549","1399369627","1399369699","1399369786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f39fd23adc3098c00ed1ef5b8ff73950.jpg","text":"TemporaryFile(/tmp/multipartBody6301038095120136446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731605734,"filename":"image_14122025_17_56_15_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0da35e50ae02a3ff7831e6b6dd10691a.jpg","text":"TemporaryFile(/tmp/multipartBody6498569727337045004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731605734,"filename":"image_14122025_17_56_05_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb9af8b75907a1a6ffe38da5ebe257d1.jpg","text":"TemporaryFile(/tmp/multipartBody3284892682111652496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731605734,"filename":"image_14122025_17_55_45_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d489712fd7282078395623d67bbd6f03.jpg","text":"TemporaryFile(/tmp/multipartBody8974294532957182376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731605734,"filename":"image_14122025_17_55_54_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/baf6bc65592d40c8219811e01c7e9620.jpg","text":"TemporaryFile(/tmp/multipartBody6242785037384973241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731605734,"filename":"image_14122025_17_56_35_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f92a8347a072b99334eab4358059f0d.jpg","text":"TemporaryFile(/tmp/multipartBody6827986765167494015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731605734,"filename":"image_14122025_17_56_25_10578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399369549","file1":"1399369472","file0":"1399369405","file4":"1399369699","file5":"1399369786","file3":"1399369627"},"map_files_photo_id_array":[{"photo_id":"1399369786","filename":"file5"},{"photo_id":"1399369549","filename":"file2"},{"photo_id":"1399369699","filename":"file4"},{"photo_id":"1399369472","filename":"file1"},{"photo_id":"1399369405","filename":"file0"},{"photo_id":"1399369627","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399369627":["hashtag1","hashtag2"]},{"1399369549":["hashtag1","hashtag2"]},{"1399369405":["hashtag1","hashtag2"]},{"1399369472":["hashtag1","hashtag2"]},{"1399369786":["hashtag1","hashtag2"]},{"1399369699":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399369627, 1399369549, 1399369405, 1399369472, 1399369786, 1399369699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16774368286133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 17:59:44.242504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_09_2650.jpg', '/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_12_3586.jpg', '/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_15_2833.jpg', '/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_18_2720.jpg', '/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_22_3597.jpg', '/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_24_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_09_2650.jpg
/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_12_3586.jpg
/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_15_2833.jpg
/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_18_2720.jpg
/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_22_3597.jpg
/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_24_2624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399370035","1399370064","1399370007","1399369928","1399369972","1399370105"],"photo_ids_order":["1399369928","1399369972","1399370007","1399370035","1399370064","1399370105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fed8c9d9dbc3ada37a85f6ae4ea15def.jpg","text":"TemporaryFile(/tmp/multipartBody4484180173850234507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731644970,"filename":"image_04112025_14_13_18_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a16318963eddcef0535c33175081921d.jpg","text":"TemporaryFile(/tmp/multipartBody3186477085650219655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731644970,"filename":"image_04112025_14_13_22_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b84953ea50caa45397b7c004be0358e.jpg","text":"TemporaryFile(/tmp/multipartBody1345606697711038534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731644970,"filename":"image_04112025_14_13_15_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a371481e55f2d1e9da73124b0faa8d6c.jpg","text":"TemporaryFile(/tmp/multipartBody6988534584029710804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731644970,"filename":"image_04112025_14_13_09_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eed7dc294d66545dc90c532b96185569.jpg","text":"TemporaryFile(/tmp/multipartBody7252079925775415584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731644970,"filename":"image_04112025_14_13_12_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0e0739071d356cb6fb9ce3bacbe37f0f.jpg","text":"TemporaryFile(/tmp/multipartBody1550069736603527076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731644970,"filename":"image_04112025_14_13_24_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399370007","file1":"1399369972","file0":"1399369928","file4":"1399370064","file5":"1399370105","file3":"1399370035"},"map_files_photo_id_array":[{"photo_id":"1399370105","filename":"file5"},{"photo_id":"1399370007","filename":"file2"},{"photo_id":"1399370064","filename":"file4"},{"photo_id":"1399369972","filename":"file1"},{"photo_id":"1399369928","filename":"file0"},{"photo_id":"1399370035","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399370035":["hashtag1","hashtag2"]},{"1399370064":["hashtag1","hashtag2"]},{"1399370007":["hashtag1","hashtag2"]},{"1399369928":["hashtag1","hashtag2"]},{"1399369972":["hashtag1","hashtag2"]},{"1399370105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399370035, 1399370064, 1399370007, 1399369928, 1399369972, 1399370105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30321168899536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:00:22.434172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/56/image_14122025_17_56_45_9893.jpg', '/home/pi/Desktop/images/14122025/17/56/image_14122025_17_56_55_9912.jpg', '/home/pi/Desktop/images/14122025/17/57/image_14122025_17_57_05_9969.jpg', '/home/pi/Desktop/images/14122025/17/57/image_14122025_17_57_14_9685.jpg', '/home/pi/Desktop/images/14122025/17/57/image_14122025_17_57_25_10603.jpg', '/home/pi/Desktop/images/14122025/17/57/image_14122025_17_57_35_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/56/image_14122025_17_56_45_9893.jpg
/home/pi/Desktop/images/14122025/17/56/image_14122025_17_56_55_9912.jpg
/home/pi/Desktop/images/14122025/17/57/image_14122025_17_57_05_9969.jpg
/home/pi/Desktop/images/14122025/17/57/image_14122025_17_57_14_9685.jpg
/home/pi/Desktop/images/14122025/17/57/image_14122025_17_57_25_10603.jpg
/home/pi/Desktop/images/14122025/17/57/image_14122025_17_57_35_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":["1399370383","1399370290","1399370239","1399370419","1399370346","1399370273"],"photo_ids_order":["1399370239","1399370273","1399370290","1399370346","1399370383","1399370419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/052082cd4c7438fdf7175e87e91cbe45.jpg","text":"TemporaryFile(/tmp/multipartBody455310487797521635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731683039,"filename":"image_14122025_17_57_25_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/30d84c5a6ec0b07276296533c2ef776c.jpg","text":"TemporaryFile(/tmp/multipartBody4203583704641842418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731683039,"filename":"image_14122025_17_57_05_9969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/237f1ca735f829bbaae62689f5ba55b4.jpg","text":"TemporaryFile(/tmp/multipartBody8832542982515960983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731683039,"filename":"image_14122025_17_56_45_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/43c993e852f4b66ca59b418777635ad9.jpg","text":"TemporaryFile(/tmp/multipartBody2198181956320460984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731683039,"filename":"image_14122025_17_57_35_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28e4a24d8866dbd423339913bcacbbd6.jpg","text":"TemporaryFile(/tmp/multipartBody5394572528110450092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731683039,"filename":"image_14122025_17_57_14_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9ecc38026f62116e0bf8b03e9df6b866.jpg","text":"TemporaryFile(/tmp/multipartBody5842509595342514118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731683039,"filename":"image_14122025_17_56_55_9912.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399370290","file1":"1399370273","file0":"1399370239","file4":"1399370383","file5":"1399370419","file3":"1399370346"},"map_files_photo_id_array":[{"photo_id":"1399370419","filename":"file5"},{"photo_id":"1399370290","filename":"file2"},{"photo_id":"1399370383","filename":"file4"},{"photo_id":"1399370273","filename":"file1"},{"photo_id":"1399370239","filename":"file0"},{"photo_id":"1399370346","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399370383":["hashtag1","hashtag2"]},{"1399370290":["hashtag1","hashtag2"]},{"1399370239":["hashtag1","hashtag2"]},{"1399370419":["hashtag1","hashtag2"]},{"1399370346":["hashtag1","hashtag2"]},{"1399370273":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399370383, 1399370290, 1399370239, 1399370419, 1399370346, 1399370273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33592391014099 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:01:03.405060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/57/image_14122025_17_57_44_9716.jpg', '/home/pi/Desktop/images/14122025/17/57/image_14122025_17_57_55_10797.jpg', '/home/pi/Desktop/images/14122025/17/57/image_14122025_17_58_05_9686.jpg', '/home/pi/Desktop/images/14122025/17/58/image_14122025_17_58_15_9812.jpg', '/home/pi/Desktop/images/14122025/17/58/image_14122025_17_58_24_9719.jpg', '/home/pi/Desktop/images/14122025/17/58/image_14122025_17_58_35_10804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/57/image_14122025_17_57_44_9716.jpg
/home/pi/Desktop/images/14122025/17/57/image_14122025_17_57_55_10797.jpg
/home/pi/Desktop/images/14122025/17/57/image_14122025_17_58_05_9686.jpg
/home/pi/Desktop/images/14122025/17/58/image_14122025_17_58_15_9812.jpg
/home/pi/Desktop/images/14122025/17/58/image_14122025_17_58_24_9719.jpg
/home/pi/Desktop/images/14122025/17/58/image_14122025_17_58_35_10804.jpg
 val : 1 : upload photos already in 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":["1399370632","1399370709","1399370591","1399370744","1399370672","1399370552"],"photo_ids_order":["1399370552","1399370591","1399370632","1399370672","1399370709","1399370744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1154db8d43af6a467f7c5b026d7cdf7a.jpg","text":"TemporaryFile(/tmp/multipartBody1006853840619838421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731724042,"filename":"image_14122025_17_58_05_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/189ef7e5314d86d32964b9330a1385c2.jpg","text":"TemporaryFile(/tmp/multipartBody2823561746730943657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731724042,"filename":"image_14122025_17_58_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/12/14/9b6f6621483d499fc54912e041fa4f08.jpg","text":"TemporaryFile(/tmp/multipartBody563560279255345354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731724042,"filename":"image_14122025_17_57_55_10797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dfd3532ecd05f6ab02e6781ac4f94d3b.jpg","text":"TemporaryFile(/tmp/multipartBody717042124844463616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731724042,"filename":"image_14122025_17_58_35_10804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ac4857aa6f0519dfbd76d514e240317.jpg","text":"TemporaryFile(/tmp/multipartBody6234818221085893494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731724042,"filename":"image_14122025_17_58_15_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/16eed093b2f635753c6eb54d525c2a69.jpg","text":"TemporaryFile(/tmp/multipartBody6957832550884791901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731724042,"filename":"image_14122025_17_57_44_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399370632","file1":"1399370591","file0":"1399370552","file4":"1399370709","file5":"1399370744","file3":"1399370672"},"map_files_photo_id_array":[{"photo_id":"1399370744","filename":"file5"},{"photo_id":"1399370632","filename":"file2"},{"photo_id":"1399370709","filename":"file4"},{"photo_id":"1399370591","filename":"file1"},{"photo_id":"1399370552","filename":"file0"},{"photo_id":"1399370672","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399370632":["hashtag1","hashtag2"]},{"1399370709":["hashtag1","hashtag2"]},{"1399370591":["hashtag1","hashtag2"]},{"1399370744":["hashtag1","hashtag2"]},{"1399370672":["hashtag1","hashtag2"]},{"1399370552":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399370632, 1399370709, 1399370591, 1399370744, 1399370672, 1399370552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.2080078125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:02:02.858692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/17/58/image_14122025_17_58_45_9769.jpg', '/home/pi/Desktop/images/14122025/17/58/image_14122025_17_58_54_9554.jpg', '/home/pi/Desktop/images/14122025/17/59/image_14122025_17_59_15_9760.jpg', '/home/pi/Desktop/images/14122025/17/59/image_14122025_17_59_55_10677.jpg', '/home/pi/Desktop/images/14122025/18/00/image_14122025_18_00_16_10052.jpg', '/home/pi/Desktop/images/14122025/18/00/image_14122025_18_00_27_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/17/58/image_14122025_17_58_45_9769.jpg
/home/pi/Desktop/images/14122025/17/58/image_14122025_17_58_54_9554.jpg
/home/pi/Desktop/images/14122025/17/59/image_14122025_17_59_15_9760.jpg
/home/pi/Desktop/images/14122025/17/59/image_14122025_17_59_55_10677.jpg
/home/pi/Desktop/images/14122025/18/00/image_14122025_18_00_16_10052.jpg
/home/pi/Desktop/images/14122025/18/00/image_14122025_18_00_27_10608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399371124","1399371019","1399371159","1399371197","1399371089","1399371053"],"photo_ids_order":["1399371019","1399371053","1399371089","1399371124","1399371159","1399371197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e88bb6df507a2f1e75ebf08280a006b3.jpg","text":"TemporaryFile(/tmp/multipartBody2891292868044701264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731783544,"filename":"image_14122025_17_59_55_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e0ade8bd9ea4d2d4a3e3a40acb3f17b8.jpg","text":"TemporaryFile(/tmp/multipartBody1134378746944715290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731783544,"filename":"image_14122025_17_58_45_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/319f5868250e1b2fed99e1e0ecea54b1.jpg","text":"TemporaryFile(/tmp/multipartBody3041303796142027430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731783544,"filename":"image_14122025_18_00_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/12/14/272195f40cec7ab0375a20525dd2c877.jpg","text":"TemporaryFile(/tmp/multipartBody7119415486222814633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731783544,"filename":"image_14122025_18_00_27_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c241611abac7ce624e89f8870b5b72a2.jpg","text":"TemporaryFile(/tmp/multipartBody2258978740204098044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731783544,"filename":"image_14122025_17_59_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/12/14/7aebec6fbf971bcd04a9603612228d3c.jpg","text":"TemporaryFile(/tmp/multipartBody4011862594784060131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731783544,"filename":"image_14122025_17_58_54_9554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399371089","file1":"1399371053","file0":"1399371019","file4":"1399371159","file5":"1399371197","file3":"1399371124"},"map_files_photo_id_array":[{"photo_id":"1399371197","filename":"file5"},{"photo_id":"1399371089","filename":"file2"},{"photo_id":"1399371159","filename":"file4"},{"photo_id":"1399371053","filename":"file1"},{"photo_id":"1399371019","filename":"file0"},{"photo_id":"1399371124","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399371124":["hashtag1","hashtag2"]},{"1399371019":["hashtag1","hashtag2"]},{"1399371159":["hashtag1","hashtag2"]},{"1399371197":["hashtag1","hashtag2"]},{"1399371089":["hashtag1","hashtag2"]},{"1399371053":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399371124, 1399371019, 1399371159, 1399371197, 1399371089, 1399371053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8548858165741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:02:42.493210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_27_3061.jpg', '/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_30_2721.jpg', '/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_33_2644.jpg', '/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_36_3808.jpg', '/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_39_2562.jpg', '/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_42_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_27_3061.jpg
/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_30_2721.jpg
/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_33_2644.jpg
/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_36_3808.jpg
/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_39_2562.jpg
/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_42_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399371442","1399371409","1399371447","1399371333","1399371444","1399371373"],"photo_ids_order":["1399371333","1399371373","1399371409","1399371442","1399371444","1399371447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8d607e18c9adecae150cc42512bfc488.jpg","text":"TemporaryFile(/tmp/multipartBody5405664063022060694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731823228,"filename":"image_04112025_14_13_36_3808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/48ecafa16f9dc65d4bc257a336173265.jpg","text":"TemporaryFile(/tmp/multipartBody4242028885873003451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731823228,"filename":"image_04112025_14_13_33_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf6d416c10610039cb0fcd15b455161d.jpg","text":"TemporaryFile(/tmp/multipartBody1046386072223114566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731823228,"filename":"image_04112025_14_13_42_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/092462c3d793c71aca2e5ad72e0996d9.jpg","text":"TemporaryFile(/tmp/multipartBody2915719823568056806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731823228,"filename":"image_04112025_14_13_27_3061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0356c1905e098b19f9ebffa194b9020c.jpg","text":"TemporaryFile(/tmp/multipartBody4170548472046748959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731823228,"filename":"image_04112025_14_13_39_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9952952ff544ad8e2dd45a6205f0f50b.jpg","text":"TemporaryFile(/tmp/multipartBody4761512778314223422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731823228,"filename":"image_04112025_14_13_30_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399371409","file1":"1399371373","file0":"1399371333","file4":"1399371444","file5":"1399371447","file3":"1399371442"},"map_files_photo_id_array":[{"photo_id":"1399371447","filename":"file5"},{"photo_id":"1399371409","filename":"file2"},{"photo_id":"1399371444","filename":"file4"},{"photo_id":"1399371373","filename":"file1"},{"photo_id":"1399371333","filename":"file0"},{"photo_id":"1399371442","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399371442":["hashtag1","hashtag2"]},{"1399371409":["hashtag1","hashtag2"]},{"1399371447":["hashtag1","hashtag2"]},{"1399371333":["hashtag1","hashtag2"]},{"1399371444":["hashtag1","hashtag2"]},{"1399371373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399371442, 1399371409, 1399371447, 1399371333, 1399371444, 1399371373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.37499761581421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 18:03:32.875361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:03:42.853854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_45_3562.jpg', '/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_48_2680.jpg', '/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_51_3633.jpg', '/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_54_2590.jpg', '/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_57_2839.jpg', '/home/pi/Desktop/images/04112025/14/13/image_04112025_14_14_01_3609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_45_3562.jpg
/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_48_2680.jpg
/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_51_3633.jpg
/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_54_2590.jpg
/home/pi/Desktop/images/04112025/14/13/image_04112025_14_13_57_2839.jpg
/home/pi/Desktop/images/04112025/14/13/image_04112025_14_14_01_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":["1399371457","1399371453","1399371456","1399371455","1399371458","1399371467"],"photo_ids_order":["1399371453","1399371455","1399371456","1399371457","1399371458","1399371467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36fcbb6e74e61f8f5fde475040363388.jpg","text":"TemporaryFile(/tmp/multipartBody7937536112029746072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731883565,"filename":"image_04112025_14_13_54_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6dc5ee1edfc67c0638c0880318dda9f7.jpg","text":"TemporaryFile(/tmp/multipartBody3840608177038849515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731883565,"filename":"image_04112025_14_13_45_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1c3477b814240cd3e69fae863a24193.jpg","text":"TemporaryFile(/tmp/multipartBody5223216184553760407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731883565,"filename":"image_04112025_14_13_51_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c22c7eec3a34f5e564e7bfc841e3d4c.jpg","text":"TemporaryFile(/tmp/multipartBody5557506889417859657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731883565,"filename":"image_04112025_14_13_48_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cfa5dc64d416c1c9c8a72713ebe0ef72.jpg","text":"TemporaryFile(/tmp/multipartBody5530587213609149806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731883565,"filename":"image_04112025_14_13_57_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ed27230f58e1e23268e1cfabd7dd0e7.jpg","text":"TemporaryFile(/tmp/multipartBody8942825405270086747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731883565,"filename":"image_04112025_14_14_01_3609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399371456","file1":"1399371455","file0":"1399371453","file4":"1399371458","file5":"1399371467","file3":"1399371457"},"map_files_photo_id_array":[{"photo_id":"1399371467","filename":"file5"},{"photo_id":"1399371456","filename":"file2"},{"photo_id":"1399371458","filename":"file4"},{"photo_id":"1399371455","filename":"file1"},{"photo_id":"1399371453","filename":"file0"},{"photo_id":"1399371457","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399371457":["hashtag1","hashtag2"]},{"1399371453":["hashtag1","hashtag2"]},{"1399371456":["hashtag1","hashtag2"]},{"1399371455":["hashtag1","hashtag2"]},{"1399371458":["hashtag1","hashtag2"]},{"1399371467":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399371457, 1399371453, 1399371456, 1399371455, 1399371458, 1399371467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86809968948364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:04:22.073096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/00/image_14122025_18_00_36_9614.jpg', '/home/pi/Desktop/images/14122025/18/00/image_14122025_18_00_47_10680.jpg', '/home/pi/Desktop/images/14122025/18/00/image_14122025_18_00_57_9742.jpg', '/home/pi/Desktop/images/14122025/18/00/image_14122025_18_01_07_9923.jpg', '/home/pi/Desktop/images/14122025/18/01/image_14122025_18_01_17_9774.jpg', '/home/pi/Desktop/images/14122025/18/01/image_14122025_18_01_26_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/00/image_14122025_18_00_36_9614.jpg
/home/pi/Desktop/images/14122025/18/00/image_14122025_18_00_47_10680.jpg
/home/pi/Desktop/images/14122025/18/00/image_14122025_18_00_57_9742.jpg
/home/pi/Desktop/images/14122025/18/00/image_14122025_18_01_07_9923.jpg
/home/pi/Desktop/images/14122025/18/01/image_14122025_18_01_17_9774.jpg
/home/pi/Desktop/images/14122025/18/01/image_14122025_18_01_26_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":["1399371703","1399371777","1399371666","1399371584","1399371737","1399371629"],"photo_ids_order":["1399371584","1399371629","1399371666","1399371703","1399371737","1399371777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51e19894698d33a9646ab883f4c52392.jpg","text":"TemporaryFile(/tmp/multipartBody5939811511939741353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731922639,"filename":"image_14122025_18_01_07_9923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/26f2898c88ed6ed4e5355fd50b7ad1dc.jpg","text":"TemporaryFile(/tmp/multipartBody1617243733039856386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731922639,"filename":"image_14122025_18_01_26_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/15f4f4b52aa20edab0a9cdeaa12be855.jpg","text":"TemporaryFile(/tmp/multipartBody5745313538193113002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731922639,"filename":"image_14122025_18_00_57_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1aec8b2bb9ec048dd9a43f6733e6cc4.jpg","text":"TemporaryFile(/tmp/multipartBody4209104773270533282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731922639,"filename":"image_14122025_18_00_36_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/61f7e88ae6d02f5c82ab5676db1686e4.jpg","text":"TemporaryFile(/tmp/multipartBody6078692317221685522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731922639,"filename":"image_14122025_18_01_17_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7981c883f7003ebb1c15b418a747c7c5.jpg","text":"TemporaryFile(/tmp/multipartBody6236767835995624442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731922639,"filename":"image_14122025_18_00_47_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399371666","file1":"1399371629","file0":"1399371584","file4":"1399371737","file5":"1399371777","file3":"1399371703"},"map_files_photo_id_array":[{"photo_id":"1399371777","filename":"file5"},{"photo_id":"1399371666","filename":"file2"},{"photo_id":"1399371737","filename":"file4"},{"photo_id":"1399371629","filename":"file1"},{"photo_id":"1399371584","filename":"file0"},{"photo_id":"1399371703","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399371703":["hashtag1","hashtag2"]},{"1399371777":["hashtag1","hashtag2"]},{"1399371666":["hashtag1","hashtag2"]},{"1399371584":["hashtag1","hashtag2"]},{"1399371737":["hashtag1","hashtag2"]},{"1399371629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399371703, 1399371777, 1399371666, 1399371584, 1399371737, 1399371629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14659643173218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:05:02.761297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/01/image_14122025_18_01_37_10609.jpg', '/home/pi/Desktop/images/14122025/18/01/image_14122025_18_01_47_9725.jpg', '/home/pi/Desktop/images/14122025/18/01/image_14122025_18_01_56_9692.jpg', '/home/pi/Desktop/images/14122025/18/01/image_14122025_18_02_07_10641.jpg', '/home/pi/Desktop/images/14122025/18/02/image_14122025_18_02_17_9546.jpg', '/home/pi/Desktop/images/14122025/18/02/image_14122025_18_02_37_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/01/image_14122025_18_01_37_10609.jpg
/home/pi/Desktop/images/14122025/18/01/image_14122025_18_01_47_9725.jpg
/home/pi/Desktop/images/14122025/18/01/image_14122025_18_01_56_9692.jpg
/home/pi/Desktop/images/14122025/18/01/image_14122025_18_02_07_10641.jpg
/home/pi/Desktop/images/14122025/18/02/image_14122025_18_02_17_9546.jpg
/home/pi/Desktop/images/14122025/18/02/image_14122025_18_02_37_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399371805","1399371804","1399371890","1399371821","1399371803","1399371856"],"photo_ids_order":["1399371803","1399371804","1399371805","1399371821","1399371856","1399371890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/55893da72e1b5ed219f7895a15d8f6cf.jpg","text":"TemporaryFile(/tmp/multipartBody7846283970680175681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731963392,"filename":"image_14122025_18_01_56_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eb0c85aa2aff57a87ca8459295ffb18a.jpg","text":"TemporaryFile(/tmp/multipartBody4541408981196254742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731963392,"filename":"image_14122025_18_01_47_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2b92f94d51e8afd4cfb690a245e2b73.jpg","text":"TemporaryFile(/tmp/multipartBody6291694901351195658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731963392,"filename":"image_14122025_18_02_37_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1dd47a71e49819eaec805229f11e329.jpg","text":"TemporaryFile(/tmp/multipartBody8427966340494767470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731963392,"filename":"image_14122025_18_02_07_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/041befed5bfe11b59854fc71213d717d.jpg","text":"TemporaryFile(/tmp/multipartBody4522054921190324131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731963392,"filename":"image_14122025_18_01_37_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3c18f1315d7e96d6792f00fab9c66d4.jpg","text":"TemporaryFile(/tmp/multipartBody4636134468999448342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765731963392,"filename":"image_14122025_18_02_17_9546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399371805","file1":"1399371804","file0":"1399371803","file4":"1399371856","file5":"1399371890","file3":"1399371821"},"map_files_photo_id_array":[{"photo_id":"1399371890","filename":"file5"},{"photo_id":"1399371805","filename":"file2"},{"photo_id":"1399371856","filename":"file4"},{"photo_id":"1399371804","filename":"file1"},{"photo_id":"1399371803","filename":"file0"},{"photo_id":"1399371821","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399371805":["hashtag1","hashtag2"]},{"1399371804":["hashtag1","hashtag2"]},{"1399371890":["hashtag1","hashtag2"]},{"1399371821":["hashtag1","hashtag2"]},{"1399371803":["hashtag1","hashtag2"]},{"1399371856":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399371805, 1399371804, 1399371890, 1399371821, 1399371803, 1399371856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05184841156006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:05:42.303254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_03_2588.jpg', '/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_06_2654.jpg', '/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_09_2859.jpg', '/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_15_6128.jpg', '/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_16_1576.jpg', '/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_21_4421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_03_2588.jpg
/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_06_2654.jpg
/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_09_2859.jpg
/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_15_6128.jpg
/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_16_1576.jpg
/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_21_4421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399371967","1399371966","1399371969","1399371968","1399371955","1399371970"],"photo_ids_order":["1399371955","1399371966","1399371967","1399371968","1399371969","1399371970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6470c1c167385b22aef4588d962bd412.jpg","text":"TemporaryFile(/tmp/multipartBody194476119116238223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732002993,"filename":"image_04112025_14_14_09_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f4330c461e07b877b7769cb2aac9e070.jpg","text":"TemporaryFile(/tmp/multipartBody7157470334341641070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732002993,"filename":"image_04112025_14_14_06_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f845d6489f3cb0e05615251950af0d8.jpg","text":"TemporaryFile(/tmp/multipartBody8395161356222554398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732002993,"filename":"image_04112025_14_14_16_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/405119e74b315682f5bb3822d19430e4.jpg","text":"TemporaryFile(/tmp/multipartBody2259590700226387543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732002993,"filename":"image_04112025_14_14_15_6128.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/159677b906733ee435810421b8c5bf59.jpg","text":"TemporaryFile(/tmp/multipartBody5495272916462917544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732002993,"filename":"image_04112025_14_14_03_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e25c1beae43f482c00d066aaf4b522bc.jpg","text":"TemporaryFile(/tmp/multipartBody1377834092143319100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732002993,"filename":"image_04112025_14_14_21_4421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399371967","file1":"1399371966","file0":"1399371955","file4":"1399371969","file5":"1399371970","file3":"1399371968"},"map_files_photo_id_array":[{"photo_id":"1399371970","filename":"file5"},{"photo_id":"1399371967","filename":"file2"},{"photo_id":"1399371969","filename":"file4"},{"photo_id":"1399371966","filename":"file1"},{"photo_id":"1399371955","filename":"file0"},{"photo_id":"1399371968","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399371967":["hashtag1","hashtag2"]},{"1399371966":["hashtag1","hashtag2"]},{"1399371969":["hashtag1","hashtag2"]},{"1399371968":["hashtag1","hashtag2"]},{"1399371955":["hashtag1","hashtag2"]},{"1399371970":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399371967, 1399371966, 1399371969, 1399371968, 1399371955, 1399371970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.906930685043335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:06:22.629955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/02/image_14122025_18_02_46_9238.jpg', '/home/pi/Desktop/images/14122025/18/02/image_14122025_18_02_57_10794.jpg', '/home/pi/Desktop/images/14122025/18/02/image_14122025_18_03_07_9722.jpg', '/home/pi/Desktop/images/14122025/18/03/image_14122025_18_03_16_9617.jpg', '/home/pi/Desktop/images/14122025/18/03/image_14122025_18_03_27_10761.jpg', '/home/pi/Desktop/images/14122025/18/03/image_14122025_18_03_37_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/02/image_14122025_18_02_46_9238.jpg
/home/pi/Desktop/images/14122025/18/02/image_14122025_18_02_57_10794.jpg
/home/pi/Desktop/images/14122025/18/02/image_14122025_18_03_07_9722.jpg
/home/pi/Desktop/images/14122025/18/03/image_14122025_18_03_16_9617.jpg
/home/pi/Desktop/images/14122025/18/03/image_14122025_18_03_27_10761.jpg
/home/pi/Desktop/images/14122025/18/03/image_14122025_18_03_37_9727.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4903857707977295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 18:06:32.553208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:06:42.503227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_22_1605.jpg', '/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_24_1578.jpg', '/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_27_2618.jpg', '/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_30_3745.jpg', '/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_33_2637.jpg', '/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_36_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_22_1605.jpg
/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_24_1578.jpg
/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_27_2618.jpg
/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_30_3745.jpg
/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_33_2637.jpg
/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_36_2632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399371984","1399371987","1399371981","1399371983","1399371986","1399371985"],"photo_ids_order":["1399371981","1399371983","1399371984","1399371985","1399371986","1399371987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c91be36d1e6ed0bbfb911b9a41a8e62.jpg","text":"TemporaryFile(/tmp/multipartBody5535692120546628836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732063192,"filename":"image_04112025_14_14_27_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/811bebe63b4eec5d05256fdc09da550f.jpg","text":"TemporaryFile(/tmp/multipartBody4164617002751233924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732063192,"filename":"image_04112025_14_14_36_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/625215dd836029e232ffb45b95332a31.jpg","text":"TemporaryFile(/tmp/multipartBody3129386694128311466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732063192,"filename":"image_04112025_14_14_22_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1446ead3c1ccb08f3e890fc9d29bb0b0.jpg","text":"TemporaryFile(/tmp/multipartBody56575954351974956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732063192,"filename":"image_04112025_14_14_24_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/45b65720f55c000a1bc4d2726a388cfc.jpg","text":"TemporaryFile(/tmp/multipartBody6465511156853778587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732063192,"filename":"image_04112025_14_14_33_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/79d759b510cd9996ca48705f664a3c8e.jpg","text":"TemporaryFile(/tmp/multipartBody4098056354144195700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732063192,"filename":"image_04112025_14_14_30_3745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399371984","file1":"1399371983","file0":"1399371981","file4":"1399371986","file5":"1399371987","file3":"1399371985"},"map_files_photo_id_array":[{"photo_id":"1399371987","filename":"file5"},{"photo_id":"1399371984","filename":"file2"},{"photo_id":"1399371986","filename":"file4"},{"photo_id":"1399371983","filename":"file1"},{"photo_id":"1399371981","filename":"file0"},{"photo_id":"1399371985","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399371984":["hashtag1","hashtag2"]},{"1399371987":["hashtag1","hashtag2"]},{"1399371981":["hashtag1","hashtag2"]},{"1399371983":["hashtag1","hashtag2"]},{"1399371986":["hashtag1","hashtag2"]},{"1399371985":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399371984, 1399371987, 1399371981, 1399371983, 1399371986, 1399371985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.211753606796265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:07:22.779350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/02/image_14122025_18_02_46_9238.jpg', '/home/pi/Desktop/images/14122025/18/02/image_14122025_18_02_57_10794.jpg', '/home/pi/Desktop/images/14122025/18/02/image_14122025_18_03_07_9722.jpg', '/home/pi/Desktop/images/14122025/18/03/image_14122025_18_03_16_9617.jpg', '/home/pi/Desktop/images/14122025/18/03/image_14122025_18_03_27_10761.jpg', '/home/pi/Desktop/images/14122025/18/03/image_14122025_18_03_37_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/02/image_14122025_18_02_46_9238.jpg
/home/pi/Desktop/images/14122025/18/02/image_14122025_18_02_57_10794.jpg
/home/pi/Desktop/images/14122025/18/02/image_14122025_18_03_07_9722.jpg
/home/pi/Desktop/images/14122025/18/03/image_14122025_18_03_16_9617.jpg
/home/pi/Desktop/images/14122025/18/03/image_14122025_18_03_27_10761.jpg
/home/pi/Desktop/images/14122025/18/03/image_14122025_18_03_37_9727.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4957611560821533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 18:07:32.820786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:07:42.706951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_39_3648.jpg', '/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_42_2668.jpg', '/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_45_3528.jpg', '/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_48_2535.jpg', '/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_51_2625.jpg', '/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_58_7929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_39_3648.jpg
/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_42_2668.jpg
/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_45_3528.jpg
/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_48_2535.jpg
/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_51_2625.jpg
/home/pi/Desktop/images/04112025/14/14/image_04112025_14_14_58_7929.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372003","1399371999","1399372002","1399372005","1399372001","1399372004"],"photo_ids_order":["1399371999","1399372001","1399372002","1399372003","1399372004","1399372005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aba32780644c38044c61ec1489dff537.jpg","text":"TemporaryFile(/tmp/multipartBody6769100422022642315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732123392,"filename":"image_04112025_14_14_48_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2876593c60b34264bcb7a27964b6228.jpg","text":"TemporaryFile(/tmp/multipartBody9049945026349742553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732123392,"filename":"image_04112025_14_14_39_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0800c533c79d5193ee0ace28b4a26e3a.jpg","text":"TemporaryFile(/tmp/multipartBody4948671464178664770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732123392,"filename":"image_04112025_14_14_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/12/14/0874d135828d22bef36d65c48b2b1ee8.jpg","text":"TemporaryFile(/tmp/multipartBody7119474110476593666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732123392,"filename":"image_04112025_14_14_58_7929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/819c2e17fbfdc300667823877e1ecad7.jpg","text":"TemporaryFile(/tmp/multipartBody2557716506819081193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732123392,"filename":"image_04112025_14_14_42_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/47325f7eda85437f4b8a27ce2fe3c716.jpg","text":"TemporaryFile(/tmp/multipartBody4837281465212859606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732123392,"filename":"image_04112025_14_14_51_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372002","file1":"1399372001","file0":"1399371999","file4":"1399372004","file5":"1399372005","file3":"1399372003"},"map_files_photo_id_array":[{"photo_id":"1399372005","filename":"file5"},{"photo_id":"1399372002","filename":"file2"},{"photo_id":"1399372004","filename":"file4"},{"photo_id":"1399372001","filename":"file1"},{"photo_id":"1399371999","filename":"file0"},{"photo_id":"1399372003","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372003":["hashtag1","hashtag2"]},{"1399371999":["hashtag1","hashtag2"]},{"1399372002":["hashtag1","hashtag2"]},{"1399372005":["hashtag1","hashtag2"]},{"1399372001":["hashtag1","hashtag2"]},{"1399372004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372003, 1399371999, 1399372002, 1399372005, 1399372001, 1399372004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33950853347778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:08:21.999848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/02/image_14122025_18_02_46_9238.jpg', '/home/pi/Desktop/images/14122025/18/02/image_14122025_18_02_57_10794.jpg', '/home/pi/Desktop/images/14122025/18/02/image_14122025_18_03_07_9722.jpg', '/home/pi/Desktop/images/14122025/18/03/image_14122025_18_03_16_9617.jpg', '/home/pi/Desktop/images/14122025/18/03/image_14122025_18_03_27_10761.jpg', '/home/pi/Desktop/images/14122025/18/03/image_14122025_18_03_37_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/02/image_14122025_18_02_46_9238.jpg
/home/pi/Desktop/images/14122025/18/02/image_14122025_18_02_57_10794.jpg
/home/pi/Desktop/images/14122025/18/02/image_14122025_18_03_07_9722.jpg
/home/pi/Desktop/images/14122025/18/03/image_14122025_18_03_16_9617.jpg
/home/pi/Desktop/images/14122025/18/03/image_14122025_18_03_27_10761.jpg
/home/pi/Desktop/images/14122025/18/03/image_14122025_18_03_37_9727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372020","1399372011","1399372014","1399372008","1399372013","1399372006"],"photo_ids_order":["1399372006","1399372008","1399372011","1399372013","1399372014","1399372020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4933bece99b6e57b333078b06a9ae6b8.jpg","text":"TemporaryFile(/tmp/multipartBody8795484520596804496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732162636,"filename":"image_14122025_18_03_37_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2617e8374a14c88fac30dfced30fbb21.jpg","text":"TemporaryFile(/tmp/multipartBody2696923966841422436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732162636,"filename":"image_14122025_18_03_07_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dae10e6b89f169c5d6ca73d38b1421cc.jpg","text":"TemporaryFile(/tmp/multipartBody2511483955596650015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732162636,"filename":"image_14122025_18_03_27_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe84140d5a2c167502ca4b34cdf46158.jpg","text":"TemporaryFile(/tmp/multipartBody7175530081228375357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732162636,"filename":"image_14122025_18_02_57_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fde5ddb17cffbbc13316d728aca4a274.jpg","text":"TemporaryFile(/tmp/multipartBody1830110973199468316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732162636,"filename":"image_14122025_18_03_16_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2256b068f28fa42e7b09aafa2d6b3454.jpg","text":"TemporaryFile(/tmp/multipartBody1617974876544774749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732162636,"filename":"image_14122025_18_02_46_9238.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372011","file1":"1399372008","file0":"1399372006","file4":"1399372014","file5":"1399372020","file3":"1399372013"},"map_files_photo_id_array":[{"photo_id":"1399372020","filename":"file5"},{"photo_id":"1399372011","filename":"file2"},{"photo_id":"1399372014","filename":"file4"},{"photo_id":"1399372008","filename":"file1"},{"photo_id":"1399372006","filename":"file0"},{"photo_id":"1399372013","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372020":["hashtag1","hashtag2"]},{"1399372011":["hashtag1","hashtag2"]},{"1399372014":["hashtag1","hashtag2"]},{"1399372008":["hashtag1","hashtag2"]},{"1399372013":["hashtag1","hashtag2"]},{"1399372006":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372020, 1399372011, 1399372014, 1399372008, 1399372013, 1399372006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15764594078064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:09:03.097258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/03/image_14122025_18_03_46_9627.jpg', '/home/pi/Desktop/images/14122025/18/03/image_14122025_18_04_07_9770.jpg', '/home/pi/Desktop/images/14122025/18/04/image_14122025_18_04_17_9645.jpg', '/home/pi/Desktop/images/14122025/18/04/image_14122025_18_04_27_10576.jpg', '/home/pi/Desktop/images/14122025/18/04/image_14122025_18_04_37_9728.jpg', '/home/pi/Desktop/images/14122025/18/04/image_14122025_18_04_56_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/03/image_14122025_18_03_46_9627.jpg
/home/pi/Desktop/images/14122025/18/03/image_14122025_18_04_07_9770.jpg
/home/pi/Desktop/images/14122025/18/04/image_14122025_18_04_17_9645.jpg
/home/pi/Desktop/images/14122025/18/04/image_14122025_18_04_27_10576.jpg
/home/pi/Desktop/images/14122025/18/04/image_14122025_18_04_37_9728.jpg
/home/pi/Desktop/images/14122025/18/04/image_14122025_18_04_56_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":["1399372021","1399372023","1399372022","1399372025","1399372024","1399372027"],"photo_ids_order":["1399372021","1399372022","1399372023","1399372024","1399372025","1399372027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa081f2a08a211e10d81886097798ba4.jpg","text":"TemporaryFile(/tmp/multipartBody8597116076808329688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732203844,"filename":"image_14122025_18_03_46_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9515788b999ca58c65df5114fbe925fc.jpg","text":"TemporaryFile(/tmp/multipartBody1437178244244994216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732203844,"filename":"image_14122025_18_04_17_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/043e7c70819b3b107962df31da1cbb81.jpg","text":"TemporaryFile(/tmp/multipartBody269064523345608746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732203844,"filename":"image_14122025_18_04_07_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d3965097077b253d681d337551fc2dfd.jpg","text":"TemporaryFile(/tmp/multipartBody652511498339639955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732203844,"filename":"image_14122025_18_04_37_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ced9af9e5309e6d6eeee93ff32f66084.jpg","text":"TemporaryFile(/tmp/multipartBody4810771923611322453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732203844,"filename":"image_14122025_18_04_27_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24ccfce429c19d13d17205d7af966ccd.jpg","text":"TemporaryFile(/tmp/multipartBody7814373482181345849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732203844,"filename":"image_14122025_18_04_56_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372023","file1":"1399372022","file0":"1399372021","file4":"1399372025","file5":"1399372027","file3":"1399372024"},"map_files_photo_id_array":[{"photo_id":"1399372027","filename":"file5"},{"photo_id":"1399372023","filename":"file2"},{"photo_id":"1399372025","filename":"file4"},{"photo_id":"1399372022","filename":"file1"},{"photo_id":"1399372021","filename":"file0"},{"photo_id":"1399372024","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372021":["hashtag1","hashtag2"]},{"1399372023":["hashtag1","hashtag2"]},{"1399372022":["hashtag1","hashtag2"]},{"1399372025":["hashtag1","hashtag2"]},{"1399372024":["hashtag1","hashtag2"]},{"1399372027":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372021, 1399372023, 1399372022, 1399372025, 1399372024, 1399372027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11761140823364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:09:42.135660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/14/image_04112025_14_15_00_1666.jpg', '/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_07_3010.jpg', '/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_13_6284.jpg', '/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_15_1771.jpg', '/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_16_1639.jpg', '/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_19_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/14/image_04112025_14_15_00_1666.jpg
/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_07_3010.jpg
/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_13_6284.jpg
/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_15_1771.jpg
/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_16_1639.jpg
/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_19_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":["1399372035","1399372038","1399372032","1399372034","1399372037","1399372036"],"photo_ids_order":["1399372032","1399372034","1399372035","1399372036","1399372037","1399372038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14c0533a0df5e970e4109ef2c0fd8330.jpg","text":"TemporaryFile(/tmp/multipartBody3249612896976875686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732242815,"filename":"image_04112025_14_17_13_6284.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd03048e119a3c712d60a6c01e77bbe4.jpg","text":"TemporaryFile(/tmp/multipartBody7780449653297293321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732242815,"filename":"image_04112025_14_17_19_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/baaa62777afc3d1fc1776dd2a7f40b4e.jpg","text":"TemporaryFile(/tmp/multipartBody2592450125200607807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732242815,"filename":"image_04112025_14_15_00_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f6db1bc750cba51e7928aea16ad4785c.jpg","text":"TemporaryFile(/tmp/multipartBody4367436456423787592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732242815,"filename":"image_04112025_14_17_07_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a627dea01e214189d77e494ccfe5489.jpg","text":"TemporaryFile(/tmp/multipartBody2515098575124469934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732242815,"filename":"image_04112025_14_17_16_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/96ca3a8f6dd18618655770838f0fdfff.jpg","text":"TemporaryFile(/tmp/multipartBody138201405694038199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732242815,"filename":"image_04112025_14_17_15_1771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372035","file1":"1399372034","file0":"1399372032","file4":"1399372037","file5":"1399372038","file3":"1399372036"},"map_files_photo_id_array":[{"photo_id":"1399372038","filename":"file5"},{"photo_id":"1399372035","filename":"file2"},{"photo_id":"1399372037","filename":"file4"},{"photo_id":"1399372034","filename":"file1"},{"photo_id":"1399372032","filename":"file0"},{"photo_id":"1399372036","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372035":["hashtag1","hashtag2"]},{"1399372038":["hashtag1","hashtag2"]},{"1399372032":["hashtag1","hashtag2"]},{"1399372034":["hashtag1","hashtag2"]},{"1399372037":["hashtag1","hashtag2"]},{"1399372036":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372035, 1399372038, 1399372032, 1399372034, 1399372037, 1399372036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.037707567214966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:10:25.924247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/05/image_14122025_18_05_26_9680.jpg', '/home/pi/Desktop/images/14122025/18/05/image_14122025_18_05_37_10586.jpg', '/home/pi/Desktop/images/14122025/18/05/image_14122025_18_05_56_9688.jpg', '/home/pi/Desktop/images/14122025/18/05/image_14122025_18_06_07_10757.jpg', '/home/pi/Desktop/images/14122025/18/06/image_14122025_18_06_17_9562.jpg', '/home/pi/Desktop/images/14122025/18/06/image_14122025_18_06_27_10557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/05/image_14122025_18_05_26_9680.jpg
/home/pi/Desktop/images/14122025/18/05/image_14122025_18_05_37_10586.jpg
/home/pi/Desktop/images/14122025/18/05/image_14122025_18_05_56_9688.jpg
/home/pi/Desktop/images/14122025/18/05/image_14122025_18_06_07_10757.jpg
/home/pi/Desktop/images/14122025/18/06/image_14122025_18_06_17_9562.jpg
/home/pi/Desktop/images/14122025/18/06/image_14122025_18_06_27_10557.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4678211212158203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 18:10:33.061422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:10:43.062465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_22_2567.jpg', '/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_34_7248.jpg', '/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_36_1524.jpg', '/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_37_1575.jpg', '/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_39_1560.jpg', '/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_40_1568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_22_2567.jpg
/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_34_7248.jpg
/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_36_1524.jpg
/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_37_1575.jpg
/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_39_1560.jpg
/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_40_1568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372053","1399372050","1399372052","1399372054","1399372051","1399372048"],"photo_ids_order":["1399372048","1399372050","1399372051","1399372052","1399372053","1399372054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21b607664f705d06351c40b2fe7f3333.jpg","text":"TemporaryFile(/tmp/multipartBody2291278423174281552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732303753,"filename":"image_04112025_14_17_39_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4597c7c1a8d473e3e4ed6059169e4c89.jpg","text":"TemporaryFile(/tmp/multipartBody2616467509214068676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732303753,"filename":"image_04112025_14_17_34_7248.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3418059cee10e315d32f3b6c7b9c27ca.jpg","text":"TemporaryFile(/tmp/multipartBody318468984102774261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732303753,"filename":"image_04112025_14_17_37_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c68d1e89883303eab3e4716b886dcfd7.jpg","text":"TemporaryFile(/tmp/multipartBody6607586164279445032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732303753,"filename":"image_04112025_14_17_40_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/04bfc0252312db333264ae5605dcbf96.jpg","text":"TemporaryFile(/tmp/multipartBody6590048179008882354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732303753,"filename":"image_04112025_14_17_36_1524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a55e00cdf517c201767d6fc8bb590883.jpg","text":"TemporaryFile(/tmp/multipartBody7557219550814067327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732303753,"filename":"image_04112025_14_17_22_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372051","file1":"1399372050","file0":"1399372048","file4":"1399372053","file5":"1399372054","file3":"1399372052"},"map_files_photo_id_array":[{"photo_id":"1399372054","filename":"file5"},{"photo_id":"1399372051","filename":"file2"},{"photo_id":"1399372053","filename":"file4"},{"photo_id":"1399372050","filename":"file1"},{"photo_id":"1399372048","filename":"file0"},{"photo_id":"1399372052","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372053":["hashtag1","hashtag2"]},{"1399372050":["hashtag1","hashtag2"]},{"1399372052":["hashtag1","hashtag2"]},{"1399372054":["hashtag1","hashtag2"]},{"1399372051":["hashtag1","hashtag2"]},{"1399372048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372053, 1399372050, 1399372052, 1399372054, 1399372051, 1399372048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76386523246765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:11:22.342097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/05/image_14122025_18_05_26_9680.jpg', '/home/pi/Desktop/images/14122025/18/05/image_14122025_18_05_37_10586.jpg', '/home/pi/Desktop/images/14122025/18/05/image_14122025_18_05_56_9688.jpg', '/home/pi/Desktop/images/14122025/18/05/image_14122025_18_06_07_10757.jpg', '/home/pi/Desktop/images/14122025/18/06/image_14122025_18_06_17_9562.jpg', '/home/pi/Desktop/images/14122025/18/06/image_14122025_18_06_27_10557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/05/image_14122025_18_05_26_9680.jpg
/home/pi/Desktop/images/14122025/18/05/image_14122025_18_05_37_10586.jpg
/home/pi/Desktop/images/14122025/18/05/image_14122025_18_05_56_9688.jpg
/home/pi/Desktop/images/14122025/18/05/image_14122025_18_06_07_10757.jpg
/home/pi/Desktop/images/14122025/18/06/image_14122025_18_06_17_9562.jpg
/home/pi/Desktop/images/14122025/18/06/image_14122025_18_06_27_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":["1399372062","1399372056","1399372064","1399372058","1399372067","1399372060"],"photo_ids_order":["1399372056","1399372058","1399372060","1399372062","1399372064","1399372067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/697cfacab881f3d0014855afb1c694d5.jpg","text":"TemporaryFile(/tmp/multipartBody4876772586582519173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732342976,"filename":"image_14122025_18_06_07_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d43a1fda01a7261f9b6d5119a75ea130.jpg","text":"TemporaryFile(/tmp/multipartBody8909482340739963856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732342976,"filename":"image_14122025_18_05_26_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8fd6010bc113b3424681bb9a8e72bd20.jpg","text":"TemporaryFile(/tmp/multipartBody7947789114145091096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732342976,"filename":"image_14122025_18_06_17_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0328d40bad8447ef86a26b4d0a2993a4.jpg","text":"TemporaryFile(/tmp/multipartBody1533354076673335972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732342976,"filename":"image_14122025_18_05_37_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0bc5e286053a5a57652f39b0148a10c5.jpg","text":"TemporaryFile(/tmp/multipartBody3124574652127318725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732342976,"filename":"image_14122025_18_06_27_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f2aee651c8d800d9f1e25b0049583f71.jpg","text":"TemporaryFile(/tmp/multipartBody3276120672677484923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732342976,"filename":"image_14122025_18_05_56_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372060","file1":"1399372058","file0":"1399372056","file4":"1399372064","file5":"1399372067","file3":"1399372062"},"map_files_photo_id_array":[{"photo_id":"1399372067","filename":"file5"},{"photo_id":"1399372060","filename":"file2"},{"photo_id":"1399372064","filename":"file4"},{"photo_id":"1399372058","filename":"file1"},{"photo_id":"1399372056","filename":"file0"},{"photo_id":"1399372062","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372062":["hashtag1","hashtag2"]},{"1399372056":["hashtag1","hashtag2"]},{"1399372064":["hashtag1","hashtag2"]},{"1399372058":["hashtag1","hashtag2"]},{"1399372067":["hashtag1","hashtag2"]},{"1399372060":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372062, 1399372056, 1399372064, 1399372058, 1399372067, 1399372060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77758526802063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:12:02.905703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/06/image_14122025_18_06_37_9646.jpg', '/home/pi/Desktop/images/14122025/18/06/image_14122025_18_06_46_9673.jpg', '/home/pi/Desktop/images/14122025/18/06/image_14122025_18_07_07_10702.jpg', '/home/pi/Desktop/images/14122025/18/07/image_14122025_18_07_17_9689.jpg', '/home/pi/Desktop/images/14122025/18/08/image_14122025_18_08_37_10680.jpg', '/home/pi/Desktop/images/14122025/18/08/image_14122025_18_08_56_9472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/06/image_14122025_18_06_37_9646.jpg
/home/pi/Desktop/images/14122025/18/06/image_14122025_18_06_46_9673.jpg
/home/pi/Desktop/images/14122025/18/06/image_14122025_18_07_07_10702.jpg
/home/pi/Desktop/images/14122025/18/07/image_14122025_18_07_17_9689.jpg
/home/pi/Desktop/images/14122025/18/08/image_14122025_18_08_37_10680.jpg
/home/pi/Desktop/images/14122025/18/08/image_14122025_18_08_56_9472.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.364926099777222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 18:12:12.552665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:12:22.509264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/06/image_14122025_18_06_37_9646.jpg', '/home/pi/Desktop/images/14122025/18/06/image_14122025_18_06_46_9673.jpg', '/home/pi/Desktop/images/14122025/18/06/image_14122025_18_07_07_10702.jpg', '/home/pi/Desktop/images/14122025/18/07/image_14122025_18_07_17_9689.jpg', '/home/pi/Desktop/images/14122025/18/08/image_14122025_18_08_37_10680.jpg', '/home/pi/Desktop/images/14122025/18/08/image_14122025_18_08_56_9472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/06/image_14122025_18_06_37_9646.jpg
/home/pi/Desktop/images/14122025/18/06/image_14122025_18_06_46_9673.jpg
/home/pi/Desktop/images/14122025/18/06/image_14122025_18_07_07_10702.jpg
/home/pi/Desktop/images/14122025/18/07/image_14122025_18_07_17_9689.jpg
/home/pi/Desktop/images/14122025/18/08/image_14122025_18_08_37_10680.jpg
/home/pi/Desktop/images/14122025/18/08/image_14122025_18_08_56_9472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372083","1399372077","1399372082","1399372085","1399372079","1399372084"],"photo_ids_order":["1399372077","1399372079","1399372082","1399372083","1399372084","1399372085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a58b0df070871caa8d6eb28531faf154.jpg","text":"TemporaryFile(/tmp/multipartBody4710107216098749801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732416134,"filename":"image_14122025_18_07_17_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/83c8c0c566c843415f5f74ed9d79e896.jpg","text":"TemporaryFile(/tmp/multipartBody7152793983485760480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732416134,"filename":"image_14122025_18_06_37_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4640123eb1e34771a090494cbe981731.jpg","text":"TemporaryFile(/tmp/multipartBody5222119093377166413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732416134,"filename":"image_14122025_18_07_07_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f2e248e61dcb1603228dfbccf025689.jpg","text":"TemporaryFile(/tmp/multipartBody1035453622892685895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732416134,"filename":"image_14122025_18_08_56_9472.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f2448dd45b579529f7f23932987cb5a9.jpg","text":"TemporaryFile(/tmp/multipartBody3079840884609941296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732416134,"filename":"image_14122025_18_06_46_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/89786564772161aa84c569cc862be4c1.jpg","text":"TemporaryFile(/tmp/multipartBody928797242372245136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732416134,"filename":"image_14122025_18_08_37_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372082","file1":"1399372079","file0":"1399372077","file4":"1399372084","file5":"1399372085","file3":"1399372083"},"map_files_photo_id_array":[{"photo_id":"1399372085","filename":"file5"},{"photo_id":"1399372082","filename":"file2"},{"photo_id":"1399372084","filename":"file4"},{"photo_id":"1399372079","filename":"file1"},{"photo_id":"1399372077","filename":"file0"},{"photo_id":"1399372083","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372083":["hashtag1","hashtag2"]},{"1399372077":["hashtag1","hashtag2"]},{"1399372082":["hashtag1","hashtag2"]},{"1399372085":["hashtag1","hashtag2"]},{"1399372079":["hashtag1","hashtag2"]},{"1399372084":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372083, 1399372077, 1399372082, 1399372085, 1399372079, 1399372084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.16649627685547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:13:22.871509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/08/image_14122025_18_09_06_9851.jpg', '/home/pi/Desktop/images/14122025/18/09/image_14122025_18_09_17_10706.jpg', '/home/pi/Desktop/images/14122025/18/09/image_14122025_18_09_47_10583.jpg', '/home/pi/Desktop/images/14122025/18/09/image_14122025_18_09_57_9612.jpg', '/home/pi/Desktop/images/14122025/18/09/image_14122025_18_10_06_9901.jpg', '/home/pi/Desktop/images/14122025/18/10/image_14122025_18_10_17_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/08/image_14122025_18_09_06_9851.jpg
/home/pi/Desktop/images/14122025/18/09/image_14122025_18_09_17_10706.jpg
/home/pi/Desktop/images/14122025/18/09/image_14122025_18_09_47_10583.jpg
/home/pi/Desktop/images/14122025/18/09/image_14122025_18_09_57_9612.jpg
/home/pi/Desktop/images/14122025/18/09/image_14122025_18_10_06_9901.jpg
/home/pi/Desktop/images/14122025/18/10/image_14122025_18_10_17_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372089","1399372094","1399372097","1399372091","1399372093","1399372087"],"photo_ids_order":["1399372087","1399372089","1399372091","1399372093","1399372094","1399372097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d93da4053759430c66660f521820a41.jpg","text":"TemporaryFile(/tmp/multipartBody8994411290658711711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732463476,"filename":"image_14122025_18_09_17_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f89aea1408f2ace7b2eaffb99506b4ba.jpg","text":"TemporaryFile(/tmp/multipartBody1335471959813419904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732463476,"filename":"image_14122025_18_10_06_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d559afa8d98a323ea74163d102f7e16.jpg","text":"TemporaryFile(/tmp/multipartBody4947633287518752682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732463476,"filename":"image_14122025_18_10_17_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1a0b1618d22276111d42b316bca3705a.jpg","text":"TemporaryFile(/tmp/multipartBody4700068668653360369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732463476,"filename":"image_14122025_18_09_47_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc3339071ee51ad01ebd0a0ba7fa2a07.jpg","text":"TemporaryFile(/tmp/multipartBody4443224420410004664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732463476,"filename":"image_14122025_18_09_57_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92b234602dc03b5aebb0e85f58d6bb6d.jpg","text":"TemporaryFile(/tmp/multipartBody6135585370123004297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732463476,"filename":"image_14122025_18_09_06_9851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372091","file1":"1399372089","file0":"1399372087","file4":"1399372094","file5":"1399372097","file3":"1399372093"},"map_files_photo_id_array":[{"photo_id":"1399372097","filename":"file5"},{"photo_id":"1399372091","filename":"file2"},{"photo_id":"1399372094","filename":"file4"},{"photo_id":"1399372089","filename":"file1"},{"photo_id":"1399372087","filename":"file0"},{"photo_id":"1399372093","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372089":["hashtag1","hashtag2"]},{"1399372094":["hashtag1","hashtag2"]},{"1399372097":["hashtag1","hashtag2"]},{"1399372091":["hashtag1","hashtag2"]},{"1399372093":["hashtag1","hashtag2"]},{"1399372087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372089, 1399372094, 1399372097, 1399372091, 1399372093, 1399372087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63872051239014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:14:02.617539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/10/image_14122025_18_10_27_9716.jpg', '/home/pi/Desktop/images/14122025/18/10/image_14122025_18_10_37_9679.jpg', '/home/pi/Desktop/images/14122025/18/10/image_14122025_18_10_46_9775.jpg', '/home/pi/Desktop/images/14122025/18/10/image_14122025_18_10_57_10696.jpg', '/home/pi/Desktop/images/14122025/18/11/image_14122025_18_11_17_10218.jpg', '/home/pi/Desktop/images/14122025/18/11/image_14122025_18_11_27_9841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/10/image_14122025_18_10_27_9716.jpg
/home/pi/Desktop/images/14122025/18/10/image_14122025_18_10_37_9679.jpg
/home/pi/Desktop/images/14122025/18/10/image_14122025_18_10_46_9775.jpg
/home/pi/Desktop/images/14122025/18/10/image_14122025_18_10_57_10696.jpg
/home/pi/Desktop/images/14122025/18/11/image_14122025_18_11_17_10218.jpg
/home/pi/Desktop/images/14122025/18/11/image_14122025_18_11_27_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":["1399372098","1399372102","1399372101","1399372099","1399372103","1399372105"],"photo_ids_order":["1399372098","1399372099","1399372101","1399372102","1399372103","1399372105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a9397fa8a7326d0fa881de82fa62dc9.jpg","text":"TemporaryFile(/tmp/multipartBody2703992649769413547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732503268,"filename":"image_14122025_18_10_27_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f1d606bf3cfd83e7b71088e83ac1afa.jpg","text":"TemporaryFile(/tmp/multipartBody3860106738049822976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732503268,"filename":"image_14122025_18_10_57_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ff523fd50011c079ee15bb3344c69507.jpg","text":"TemporaryFile(/tmp/multipartBody5415898435430040825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732503268,"filename":"image_14122025_18_10_46_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8836dce49ae8e4f2f5c8e37995030d21.jpg","text":"TemporaryFile(/tmp/multipartBody5592786971672683059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732503268,"filename":"image_14122025_18_10_37_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/afb155aeab8f8607cd4b0719d90b231e.jpg","text":"TemporaryFile(/tmp/multipartBody1880150760486222468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732503268,"filename":"image_14122025_18_11_17_10218.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/629dd55444c46aea795bc8e8d5f8553c.jpg","text":"TemporaryFile(/tmp/multipartBody2055986272914302353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732503268,"filename":"image_14122025_18_11_27_9841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372101","file1":"1399372099","file0":"1399372098","file4":"1399372103","file5":"1399372105","file3":"1399372102"},"map_files_photo_id_array":[{"photo_id":"1399372105","filename":"file5"},{"photo_id":"1399372101","filename":"file2"},{"photo_id":"1399372103","filename":"file4"},{"photo_id":"1399372099","filename":"file1"},{"photo_id":"1399372098","filename":"file0"},{"photo_id":"1399372102","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372098":["hashtag1","hashtag2"]},{"1399372102":["hashtag1","hashtag2"]},{"1399372101":["hashtag1","hashtag2"]},{"1399372099":["hashtag1","hashtag2"]},{"1399372103":["hashtag1","hashtag2"]},{"1399372105":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372098, 1399372102, 1399372101, 1399372099, 1399372103, 1399372105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61905789375305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:14:41.988985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_43_2909.jpg', '/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_47_3739.jpg', '/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_50_2647.jpg', '/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_20_30721.jpg', '/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_22_1756.jpg', '/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_29_6378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_43_2909.jpg
/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_47_3739.jpg
/home/pi/Desktop/images/04112025/14/17/image_04112025_14_17_50_2647.jpg
/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_20_30721.jpg
/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_22_1756.jpg
/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_29_6378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372114","1399372113","1399372112","1399372115","1399372118","1399372117"],"photo_ids_order":["1399372112","1399372113","1399372114","1399372115","1399372117","1399372118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/16e03b1ea4992882287c1b7cbd90b490.jpg","text":"TemporaryFile(/tmp/multipartBody8114303667003915454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732547648,"filename":"image_04112025_14_17_50_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/022801957585d487a5e1e0a33928120a.jpg","text":"TemporaryFile(/tmp/multipartBody9079156121543020722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732547648,"filename":"image_04112025_14_17_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/12/14/45e5940b538b3962d127d8968bace97c.jpg","text":"TemporaryFile(/tmp/multipartBody2324194785906838814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732547648,"filename":"image_04112025_14_17_43_2909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b67bed6950b3ee6531fb38db62935d3.jpg","text":"TemporaryFile(/tmp/multipartBody1147955877544937242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732547648,"filename":"image_04112025_14_18_20_30721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fdb8a6b277a9eb3264fd38d688d7057c.jpg","text":"TemporaryFile(/tmp/multipartBody3088259248751841981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732547648,"filename":"image_04112025_14_18_29_6378.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ddcdc8089649bb36486724e6179f9271.jpg","text":"TemporaryFile(/tmp/multipartBody4341667730738236513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732547648,"filename":"image_04112025_14_18_22_1756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372114","file1":"1399372113","file0":"1399372112","file4":"1399372117","file5":"1399372118","file3":"1399372115"},"map_files_photo_id_array":[{"photo_id":"1399372118","filename":"file5"},{"photo_id":"1399372114","filename":"file2"},{"photo_id":"1399372117","filename":"file4"},{"photo_id":"1399372113","filename":"file1"},{"photo_id":"1399372112","filename":"file0"},{"photo_id":"1399372115","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372114":["hashtag1","hashtag2"]},{"1399372113":["hashtag1","hashtag2"]},{"1399372112":["hashtag1","hashtag2"]},{"1399372115":["hashtag1","hashtag2"]},{"1399372118":["hashtag1","hashtag2"]},{"1399372117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372114, 1399372113, 1399372112, 1399372115, 1399372118, 1399372117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.14607548713684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 18:15:32.187760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:15:42.174610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_30_1656.jpg', '/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_32_1745.jpg', '/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_34_1643.jpg', '/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_35_1688.jpg', '/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_37_1621.jpg', '/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_39_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_30_1656.jpg
/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_32_1745.jpg
/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_34_1643.jpg
/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_35_1688.jpg
/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_37_1621.jpg
/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_39_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":["1399372129","1399372131","1399372130","1399372124","1399372127","1399372132"],"photo_ids_order":["1399372124","1399372127","1399372129","1399372130","1399372131","1399372132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1158ff14f110d268f74ed0f9085b12c9.jpg","text":"TemporaryFile(/tmp/multipartBody2629686572690234187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732602861,"filename":"image_04112025_14_18_34_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6bcc355db1851a39929329b106ee45e8.jpg","text":"TemporaryFile(/tmp/multipartBody1882617535587384823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732602861,"filename":"image_04112025_14_18_37_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8552d52dcb5516908dde2eea6ce0e852.jpg","text":"TemporaryFile(/tmp/multipartBody2812906005785301706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732602861,"filename":"image_04112025_14_18_35_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/35a5e789b0b2437e924f061fd74f17f1.jpg","text":"TemporaryFile(/tmp/multipartBody686397509113735101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732602861,"filename":"image_04112025_14_18_30_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2dd9e944a80faf92d18062ecedd6bd2d.jpg","text":"TemporaryFile(/tmp/multipartBody7887848476660758167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732602861,"filename":"image_04112025_14_18_32_1745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8128fa49999e34ef350a46bccb23f106.jpg","text":"TemporaryFile(/tmp/multipartBody8481229063771339156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732602861,"filename":"image_04112025_14_18_39_1715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372129","file1":"1399372127","file0":"1399372124","file4":"1399372131","file5":"1399372132","file3":"1399372130"},"map_files_photo_id_array":[{"photo_id":"1399372132","filename":"file5"},{"photo_id":"1399372129","filename":"file2"},{"photo_id":"1399372131","filename":"file4"},{"photo_id":"1399372127","filename":"file1"},{"photo_id":"1399372124","filename":"file0"},{"photo_id":"1399372130","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372129":["hashtag1","hashtag2"]},{"1399372131":["hashtag1","hashtag2"]},{"1399372130":["hashtag1","hashtag2"]},{"1399372124":["hashtag1","hashtag2"]},{"1399372127":["hashtag1","hashtag2"]},{"1399372132":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372129, 1399372131, 1399372130, 1399372124, 1399372127, 1399372132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20225143432617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:16:22.480822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/11/image_14122025_18_11_36_9631.jpg', '/home/pi/Desktop/images/14122025/18/11/image_14122025_18_11_47_10720.jpg', '/home/pi/Desktop/images/14122025/18/11/image_14122025_18_11_57_9532.jpg', '/home/pi/Desktop/images/14122025/18/11/image_14122025_18_12_06_9782.jpg', '/home/pi/Desktop/images/14122025/18/12/image_14122025_18_12_17_10631.jpg', '/home/pi/Desktop/images/14122025/18/12/image_14122025_18_12_27_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/11/image_14122025_18_11_36_9631.jpg
/home/pi/Desktop/images/14122025/18/11/image_14122025_18_11_47_10720.jpg
/home/pi/Desktop/images/14122025/18/11/image_14122025_18_11_57_9532.jpg
/home/pi/Desktop/images/14122025/18/11/image_14122025_18_12_06_9782.jpg
/home/pi/Desktop/images/14122025/18/12/image_14122025_18_12_17_10631.jpg
/home/pi/Desktop/images/14122025/18/12/image_14122025_18_12_27_9709.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5368833541870117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 18:16:32.498164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:16:42.412309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_40_1641.jpg', '/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_42_1660.jpg', '/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_44_1637.jpg', '/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_47_1644.jpg', '/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_48_1594.jpg', '/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_50_1632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_40_1641.jpg
/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_42_1660.jpg
/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_44_1637.jpg
/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_47_1644.jpg
/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_48_1594.jpg
/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_50_1632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372146","1399372143","1399372145","1399372148","1399372144","1399372147"],"photo_ids_order":["1399372143","1399372144","1399372145","1399372146","1399372147","1399372148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e47fe785750c0bfc511fde819fc573b1.jpg","text":"TemporaryFile(/tmp/multipartBody465666051444242991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732667299,"filename":"image_04112025_14_18_47_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/154b8104b8caa3e7aad0ec4d7e185caa.jpg","text":"TemporaryFile(/tmp/multipartBody2545653782740290468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732667299,"filename":"image_04112025_14_18_40_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4642a4e3a6ed52380e389b57f8fba411.jpg","text":"TemporaryFile(/tmp/multipartBody967679884434625008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732667299,"filename":"image_04112025_14_18_44_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/848adad355d86db25a7c89ef39249dd9.jpg","text":"TemporaryFile(/tmp/multipartBody784430534881755435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732667299,"filename":"image_04112025_14_18_50_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ee97a733c800763faceda9ea893e0945.jpg","text":"TemporaryFile(/tmp/multipartBody5866509804844860966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732667299,"filename":"image_04112025_14_18_42_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa88f70be7574091af7ee639b735de05.jpg","text":"TemporaryFile(/tmp/multipartBody2340525062184923926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732667299,"filename":"image_04112025_14_18_48_1594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372145","file1":"1399372144","file0":"1399372143","file4":"1399372147","file5":"1399372148","file3":"1399372146"},"map_files_photo_id_array":[{"photo_id":"1399372148","filename":"file5"},{"photo_id":"1399372145","filename":"file2"},{"photo_id":"1399372147","filename":"file4"},{"photo_id":"1399372144","filename":"file1"},{"photo_id":"1399372143","filename":"file0"},{"photo_id":"1399372146","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372146":["hashtag1","hashtag2"]},{"1399372143":["hashtag1","hashtag2"]},{"1399372145":["hashtag1","hashtag2"]},{"1399372148":["hashtag1","hashtag2"]},{"1399372144":["hashtag1","hashtag2"]},{"1399372147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372146, 1399372143, 1399372145, 1399372148, 1399372144, 1399372147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.40797519683838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 18:17:32.685195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:17:42.692984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_53_1711.jpg', '/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_57_3362.jpg', '/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_58_1588.jpg', '/home/pi/Desktop/images/04112025/14/19/image_04112025_14_19_05_7216.jpg', '/home/pi/Desktop/images/04112025/14/19/image_04112025_14_19_07_1702.jpg', '/home/pi/Desktop/images/04112025/14/19/image_04112025_14_19_21_13825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_53_1711.jpg
/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_57_3362.jpg
/home/pi/Desktop/images/04112025/14/18/image_04112025_14_18_58_1588.jpg
/home/pi/Desktop/images/04112025/14/19/image_04112025_14_19_05_7216.jpg
/home/pi/Desktop/images/04112025/14/19/image_04112025_14_19_07_1702.jpg
/home/pi/Desktop/images/04112025/14/19/image_04112025_14_19_21_13825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372158","1399372160","1399372154","1399372162","1399372156","1399372159"],"photo_ids_order":["1399372154","1399372156","1399372158","1399372159","1399372160","1399372162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2872c6815b2e3531d4271e01ab877d5.jpg","text":"TemporaryFile(/tmp/multipartBody5874234679126653135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732723428,"filename":"image_04112025_14_18_58_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/196a9c7a2b94fcd3994c18504b551b35.jpg","text":"TemporaryFile(/tmp/multipartBody8860245593945584882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732723428,"filename":"image_04112025_14_19_07_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28689338f915b7beeb20b0a63b1a51aa.jpg","text":"TemporaryFile(/tmp/multipartBody4754473066831159528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732723428,"filename":"image_04112025_14_18_53_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/42b3d05e774f59acb80794855a1b9244.jpg","text":"TemporaryFile(/tmp/multipartBody854014006813514964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732723428,"filename":"image_04112025_14_19_21_13825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/362701ba961dd3b97cbe09f5f081b97a.jpg","text":"TemporaryFile(/tmp/multipartBody7848339201803220063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732723428,"filename":"image_04112025_14_18_57_3362.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b245e82d071a7e62525b3512577cae0.jpg","text":"TemporaryFile(/tmp/multipartBody4282098723105228353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732723428,"filename":"image_04112025_14_19_05_7216.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372158","file1":"1399372156","file0":"1399372154","file4":"1399372160","file5":"1399372162","file3":"1399372159"},"map_files_photo_id_array":[{"photo_id":"1399372162","filename":"file5"},{"photo_id":"1399372158","filename":"file2"},{"photo_id":"1399372160","filename":"file4"},{"photo_id":"1399372156","filename":"file1"},{"photo_id":"1399372154","filename":"file0"},{"photo_id":"1399372159","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372158":["hashtag1","hashtag2"]},{"1399372160":["hashtag1","hashtag2"]},{"1399372154":["hashtag1","hashtag2"]},{"1399372162":["hashtag1","hashtag2"]},{"1399372156":["hashtag1","hashtag2"]},{"1399372159":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372158, 1399372160, 1399372154, 1399372162, 1399372156, 1399372159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41465902328491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:18:21.900809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/11/image_14122025_18_11_36_9631.jpg', '/home/pi/Desktop/images/14122025/18/11/image_14122025_18_11_47_10720.jpg', '/home/pi/Desktop/images/14122025/18/11/image_14122025_18_11_57_9532.jpg', '/home/pi/Desktop/images/14122025/18/11/image_14122025_18_12_06_9782.jpg', '/home/pi/Desktop/images/14122025/18/12/image_14122025_18_12_17_10631.jpg', '/home/pi/Desktop/images/14122025/18/12/image_14122025_18_12_27_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/11/image_14122025_18_11_36_9631.jpg
/home/pi/Desktop/images/14122025/18/11/image_14122025_18_11_47_10720.jpg
/home/pi/Desktop/images/14122025/18/11/image_14122025_18_11_57_9532.jpg
/home/pi/Desktop/images/14122025/18/11/image_14122025_18_12_06_9782.jpg
/home/pi/Desktop/images/14122025/18/12/image_14122025_18_12_17_10631.jpg
/home/pi/Desktop/images/14122025/18/12/image_14122025_18_12_27_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":["1399372170","1399372164","1399372175","1399372172","1399372166","1399372168"],"photo_ids_order":["1399372164","1399372166","1399372168","1399372170","1399372172","1399372175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81c425153a1b1a0393c008b803033b38.jpg","text":"TemporaryFile(/tmp/multipartBody6169926662283261222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732762514,"filename":"image_14122025_18_12_06_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c0b3c6d063d7f20264d6243e532f99f.jpg","text":"TemporaryFile(/tmp/multipartBody2259441704827026983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732762514,"filename":"image_14122025_18_11_36_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/213b7f3e93abc716d1ac80e49294f245.jpg","text":"TemporaryFile(/tmp/multipartBody6668256966887262606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732762514,"filename":"image_14122025_18_12_27_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e6abc82e64e5fda8a9b3b0219b99c179.jpg","text":"TemporaryFile(/tmp/multipartBody684612790932621796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732762514,"filename":"image_14122025_18_12_17_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/428bf19886d7329090eb30e3f5fd991a.jpg","text":"TemporaryFile(/tmp/multipartBody3093829710478131178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732762514,"filename":"image_14122025_18_11_47_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c58bc2ac79f5a314aaa9244ee979b54.jpg","text":"TemporaryFile(/tmp/multipartBody6608378722852828125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732762514,"filename":"image_14122025_18_11_57_9532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372168","file1":"1399372166","file0":"1399372164","file4":"1399372172","file5":"1399372175","file3":"1399372170"},"map_files_photo_id_array":[{"photo_id":"1399372175","filename":"file5"},{"photo_id":"1399372168","filename":"file2"},{"photo_id":"1399372172","filename":"file4"},{"photo_id":"1399372166","filename":"file1"},{"photo_id":"1399372164","filename":"file0"},{"photo_id":"1399372170","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372170":["hashtag1","hashtag2"]},{"1399372164":["hashtag1","hashtag2"]},{"1399372175":["hashtag1","hashtag2"]},{"1399372172":["hashtag1","hashtag2"]},{"1399372166":["hashtag1","hashtag2"]},{"1399372168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372170, 1399372164, 1399372175, 1399372172, 1399372166, 1399372168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.464441776275635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:19:02.947837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/12/image_14122025_18_12_36_9636.jpg', '/home/pi/Desktop/images/14122025/18/12/image_14122025_18_12_47_10601.jpg', '/home/pi/Desktop/images/14122025/18/12/image_14122025_18_12_57_9732.jpg', '/home/pi/Desktop/images/14122025/18/12/image_14122025_18_13_06_9693.jpg', '/home/pi/Desktop/images/14122025/18/13/image_14122025_18_13_16_9880.jpg', '/home/pi/Desktop/images/14122025/18/13/image_14122025_18_13_27_10705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/12/image_14122025_18_12_36_9636.jpg
/home/pi/Desktop/images/14122025/18/12/image_14122025_18_12_47_10601.jpg
/home/pi/Desktop/images/14122025/18/12/image_14122025_18_12_57_9732.jpg
/home/pi/Desktop/images/14122025/18/12/image_14122025_18_13_06_9693.jpg
/home/pi/Desktop/images/14122025/18/13/image_14122025_18_13_16_9880.jpg
/home/pi/Desktop/images/14122025/18/13/image_14122025_18_13_27_10705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372176","1399372179","1399372181","1399372178","1399372183","1399372177"],"photo_ids_order":["1399372176","1399372177","1399372178","1399372179","1399372181","1399372183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d711049341465fd7f424f2ff79425fd.jpg","text":"TemporaryFile(/tmp/multipartBody7513900713407624889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732806032,"filename":"image_14122025_18_12_36_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/23a0cd71b89f10d8c4a10d8339e6c691.jpg","text":"TemporaryFile(/tmp/multipartBody1129767788423083098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732806032,"filename":"image_14122025_18_13_06_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2e914dae185734789ef817712928fbc2.jpg","text":"TemporaryFile(/tmp/multipartBody3387643783792504271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732806032,"filename":"image_14122025_18_13_16_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5dcdf664b0e6a98ed435f5401e55c45e.jpg","text":"TemporaryFile(/tmp/multipartBody2930212223573257541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732806032,"filename":"image_14122025_18_12_57_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8e7f2d5930f6e8e6f954eb781d7a6753.jpg","text":"TemporaryFile(/tmp/multipartBody6881659796375969267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732806032,"filename":"image_14122025_18_13_27_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba87d70b23e067fae75d4b922d86f353.jpg","text":"TemporaryFile(/tmp/multipartBody1770280614422306235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732806032,"filename":"image_14122025_18_12_47_10601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372178","file1":"1399372177","file0":"1399372176","file4":"1399372181","file5":"1399372183","file3":"1399372179"},"map_files_photo_id_array":[{"photo_id":"1399372183","filename":"file5"},{"photo_id":"1399372178","filename":"file2"},{"photo_id":"1399372181","filename":"file4"},{"photo_id":"1399372177","filename":"file1"},{"photo_id":"1399372176","filename":"file0"},{"photo_id":"1399372179","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372176":["hashtag1","hashtag2"]},{"1399372179":["hashtag1","hashtag2"]},{"1399372181":["hashtag1","hashtag2"]},{"1399372178":["hashtag1","hashtag2"]},{"1399372183":["hashtag1","hashtag2"]},{"1399372177":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372176, 1399372179, 1399372181, 1399372178, 1399372183, 1399372177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92481350898743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:20:02.769189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/13/image_14122025_18_13_37_10171.jpg', '/home/pi/Desktop/images/14122025/18/13/image_14122025_18_13_56_9622.jpg', '/home/pi/Desktop/images/14122025/18/13/image_14122025_18_14_07_10694.jpg', '/home/pi/Desktop/images/14122025/18/14/image_14122025_18_14_17_9589.jpg', '/home/pi/Desktop/images/14122025/18/14/image_14122025_18_14_26_9821.jpg', '/home/pi/Desktop/images/14122025/18/14/image_14122025_18_14_37_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/13/image_14122025_18_13_37_10171.jpg
/home/pi/Desktop/images/14122025/18/13/image_14122025_18_13_56_9622.jpg
/home/pi/Desktop/images/14122025/18/13/image_14122025_18_14_07_10694.jpg
/home/pi/Desktop/images/14122025/18/14/image_14122025_18_14_17_9589.jpg
/home/pi/Desktop/images/14122025/18/14/image_14122025_18_14_26_9821.jpg
/home/pi/Desktop/images/14122025/18/14/image_14122025_18_14_37_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":["1399372191","1399372193","1399372196","1399372190","1399372192","1399372194"],"photo_ids_order":["1399372190","1399372191","1399372192","1399372193","1399372194","1399372196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b5482ecb52268c3373c6cb004cf5ed4b.jpg","text":"TemporaryFile(/tmp/multipartBody8978614260644625327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732863376,"filename":"image_14122025_18_13_56_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ec98551ccdcfce5a719790a0e176af04.jpg","text":"TemporaryFile(/tmp/multipartBody1090601722973310328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732863376,"filename":"image_14122025_18_14_17_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/41b6679021947693681f18eda84c09f5.jpg","text":"TemporaryFile(/tmp/multipartBody4694073473602938578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732863376,"filename":"image_14122025_18_14_37_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d2d4af74ec04fa6fb1e89a2b3f31ff2.jpg","text":"TemporaryFile(/tmp/multipartBody5154994620156942399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732863376,"filename":"image_14122025_18_13_37_10171.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/853af1acbd9da1318683aba994c04da9.jpg","text":"TemporaryFile(/tmp/multipartBody1874404615919015758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732863376,"filename":"image_14122025_18_14_07_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f90fdb23764c502c64ecec86fdc45df.jpg","text":"TemporaryFile(/tmp/multipartBody799862405471525436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732863376,"filename":"image_14122025_18_14_26_9821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372192","file1":"1399372191","file0":"1399372190","file4":"1399372194","file5":"1399372196","file3":"1399372193"},"map_files_photo_id_array":[{"photo_id":"1399372196","filename":"file5"},{"photo_id":"1399372192","filename":"file2"},{"photo_id":"1399372194","filename":"file4"},{"photo_id":"1399372191","filename":"file1"},{"photo_id":"1399372190","filename":"file0"},{"photo_id":"1399372193","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372191":["hashtag1","hashtag2"]},{"1399372193":["hashtag1","hashtag2"]},{"1399372196":["hashtag1","hashtag2"]},{"1399372190":["hashtag1","hashtag2"]},{"1399372192":["hashtag1","hashtag2"]},{"1399372194":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372191, 1399372193, 1399372196, 1399372190, 1399372192, 1399372194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01792812347412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:20:42.360598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/19/image_04112025_14_19_37_16414.jpg', '/home/pi/Desktop/images/04112025/14/19/image_04112025_14_19_39_1614.jpg', '/home/pi/Desktop/images/04112025/14/19/image_04112025_14_19_41_1568.jpg', '/home/pi/Desktop/images/04112025/14/19/image_04112025_14_19_43_1935.jpg', '/home/pi/Desktop/images/04112025/14/19/image_04112025_14_19_44_1662.jpg', '/home/pi/Desktop/images/04112025/14/19/image_04112025_14_19_46_1701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/19/image_04112025_14_19_37_16414.jpg
/home/pi/Desktop/images/04112025/14/19/image_04112025_14_19_39_1614.jpg
/home/pi/Desktop/images/04112025/14/19/image_04112025_14_19_41_1568.jpg
/home/pi/Desktop/images/04112025/14/19/image_04112025_14_19_43_1935.jpg
/home/pi/Desktop/images/04112025/14/19/image_04112025_14_19_44_1662.jpg
/home/pi/Desktop/images/04112025/14/19/image_04112025_14_19_46_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":["1399372207","1399372206","1399372205","1399372208","1399372202","1399372204"],"photo_ids_order":["1399372202","1399372204","1399372205","1399372206","1399372207","1399372208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd020096e02d49937a94a06471c68570.jpg","text":"TemporaryFile(/tmp/multipartBody6105738654063520966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732903133,"filename":"image_04112025_14_19_44_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dcb55c59c72243a35d5c2cb1d27dd64a.jpg","text":"TemporaryFile(/tmp/multipartBody6004342937791330066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732903133,"filename":"image_04112025_14_19_43_1935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f19439e5b14edc46708acc9d8e3dc9c.jpg","text":"TemporaryFile(/tmp/multipartBody2209225208008701731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732903133,"filename":"image_04112025_14_19_41_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d443efe5cfe5945cdc9a746954a099de.jpg","text":"TemporaryFile(/tmp/multipartBody57905352276301520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732903133,"filename":"image_04112025_14_19_46_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c8780712f577d0a73191178ac51cc83d.jpg","text":"TemporaryFile(/tmp/multipartBody4966195233085308519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732903133,"filename":"image_04112025_14_19_37_16414.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0514b555234f9a986ecd3a39ebd98685.jpg","text":"TemporaryFile(/tmp/multipartBody6512854936125808508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732903133,"filename":"image_04112025_14_19_39_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372205","file1":"1399372204","file0":"1399372202","file4":"1399372207","file5":"1399372208","file3":"1399372206"},"map_files_photo_id_array":[{"photo_id":"1399372208","filename":"file5"},{"photo_id":"1399372205","filename":"file2"},{"photo_id":"1399372207","filename":"file4"},{"photo_id":"1399372204","filename":"file1"},{"photo_id":"1399372202","filename":"file0"},{"photo_id":"1399372206","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372207":["hashtag1","hashtag2"]},{"1399372206":["hashtag1","hashtag2"]},{"1399372205":["hashtag1","hashtag2"]},{"1399372208":["hashtag1","hashtag2"]},{"1399372202":["hashtag1","hashtag2"]},{"1399372204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372207, 1399372206, 1399372205, 1399372208, 1399372202, 1399372204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96591091156006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:21:22.661779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/14/image_14122025_18_14_47_9711.jpg', '/home/pi/Desktop/images/14122025/18/14/image_14122025_18_14_56_9699.jpg', '/home/pi/Desktop/images/14122025/18/15/image_14122025_18_15_17_10563.jpg', '/home/pi/Desktop/images/14122025/18/15/image_14122025_18_15_27_9765.jpg', '/home/pi/Desktop/images/14122025/18/15/image_14122025_18_15_36_9608.jpg', '/home/pi/Desktop/images/14122025/18/15/image_14122025_18_15_47_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/14/image_14122025_18_14_47_9711.jpg
/home/pi/Desktop/images/14122025/18/14/image_14122025_18_14_56_9699.jpg
/home/pi/Desktop/images/14122025/18/15/image_14122025_18_15_17_10563.jpg
/home/pi/Desktop/images/14122025/18/15/image_14122025_18_15_27_9765.jpg
/home/pi/Desktop/images/14122025/18/15/image_14122025_18_15_36_9608.jpg
/home/pi/Desktop/images/14122025/18/15/image_14122025_18_15_47_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":["1399372221","1399372218","1399372212","1399372214","1399372216","1399372210"],"photo_ids_order":["1399372210","1399372212","1399372214","1399372216","1399372218","1399372221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/15755fa5578610d3ca11b0443344c721.jpg","text":"TemporaryFile(/tmp/multipartBody6490270571856538087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732943277,"filename":"image_14122025_18_15_47_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/33f92086e8d79216c48901701d4693bb.jpg","text":"TemporaryFile(/tmp/multipartBody8767078496349376269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732943277,"filename":"image_14122025_18_15_36_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3e08fac175c18583fcab02ef4d67c440.jpg","text":"TemporaryFile(/tmp/multipartBody6562102295542741090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732943277,"filename":"image_14122025_18_14_56_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/01a6d326c6d5dbc58643a54cd42d0f80.jpg","text":"TemporaryFile(/tmp/multipartBody632916915037029833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732943277,"filename":"image_14122025_18_15_17_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/45c3926b86a2e16588b95f4f9b526da7.jpg","text":"TemporaryFile(/tmp/multipartBody4889264568944762393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732943277,"filename":"image_14122025_18_15_27_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b497e4abe2c5633751ee7c9822a35b7b.jpg","text":"TemporaryFile(/tmp/multipartBody5615135628466099390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732943277,"filename":"image_14122025_18_14_47_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372214","file1":"1399372212","file0":"1399372210","file4":"1399372218","file5":"1399372221","file3":"1399372216"},"map_files_photo_id_array":[{"photo_id":"1399372221","filename":"file5"},{"photo_id":"1399372214","filename":"file2"},{"photo_id":"1399372218","filename":"file4"},{"photo_id":"1399372212","filename":"file1"},{"photo_id":"1399372210","filename":"file0"},{"photo_id":"1399372216","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372221":["hashtag1","hashtag2"]},{"1399372218":["hashtag1","hashtag2"]},{"1399372212":["hashtag1","hashtag2"]},{"1399372214":["hashtag1","hashtag2"]},{"1399372216":["hashtag1","hashtag2"]},{"1399372210":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372221, 1399372218, 1399372212, 1399372214, 1399372216, 1399372210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27788591384888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:22:03.243730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/15/image_14122025_18_15_57_9787.jpg', '/home/pi/Desktop/images/14122025/18/15/image_14122025_18_16_06_9686.jpg', '/home/pi/Desktop/images/14122025/18/16/image_14122025_18_16_27_9616.jpg', '/home/pi/Desktop/images/14122025/18/16/image_14122025_18_16_37_9794.jpg', '/home/pi/Desktop/images/14122025/18/16/image_14122025_18_16_46_9616.jpg', '/home/pi/Desktop/images/14122025/18/17/image_14122025_18_17_27_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/15/image_14122025_18_15_57_9787.jpg
/home/pi/Desktop/images/14122025/18/15/image_14122025_18_16_06_9686.jpg
/home/pi/Desktop/images/14122025/18/16/image_14122025_18_16_27_9616.jpg
/home/pi/Desktop/images/14122025/18/16/image_14122025_18_16_37_9794.jpg
/home/pi/Desktop/images/14122025/18/16/image_14122025_18_16_46_9616.jpg
/home/pi/Desktop/images/14122025/18/17/image_14122025_18_17_27_10628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372228","1399372227","1399372224","1399372223","1399372226","1399372225"],"photo_ids_order":["1399372223","1399372224","1399372225","1399372226","1399372227","1399372228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e1ad5603f771841fed2d3b56aaaf3a68.jpg","text":"TemporaryFile(/tmp/multipartBody8514720645273300962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732983936,"filename":"image_14122025_18_17_27_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b9f84f2f6ad535970d9211e197511c6.jpg","text":"TemporaryFile(/tmp/multipartBody7277887027541505284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732983936,"filename":"image_14122025_18_16_46_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ca8cc5aa66383edef04955a0a5c12c9c.jpg","text":"TemporaryFile(/tmp/multipartBody882934173953918621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732983936,"filename":"image_14122025_18_16_06_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/65a3c0412e5b6fce00ac1d65a7034ca6.jpg","text":"TemporaryFile(/tmp/multipartBody8631326274655065078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732983936,"filename":"image_14122025_18_15_57_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/598f335fc4c5d0678e99855d80f6d99d.jpg","text":"TemporaryFile(/tmp/multipartBody7182777705181661921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732983936,"filename":"image_14122025_18_16_37_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b41027784f18037440a6be9aa9a2951d.jpg","text":"TemporaryFile(/tmp/multipartBody4799512230663934032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765732983936,"filename":"image_14122025_18_16_27_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372225","file1":"1399372224","file0":"1399372223","file4":"1399372227","file5":"1399372228","file3":"1399372226"},"map_files_photo_id_array":[{"photo_id":"1399372228","filename":"file5"},{"photo_id":"1399372225","filename":"file2"},{"photo_id":"1399372227","filename":"file4"},{"photo_id":"1399372224","filename":"file1"},{"photo_id":"1399372223","filename":"file0"},{"photo_id":"1399372226","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372228":["hashtag1","hashtag2"]},{"1399372227":["hashtag1","hashtag2"]},{"1399372224":["hashtag1","hashtag2"]},{"1399372223":["hashtag1","hashtag2"]},{"1399372226":["hashtag1","hashtag2"]},{"1399372225":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372228, 1399372227, 1399372224, 1399372223, 1399372226, 1399372225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.980388879776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:22:42.791683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/19/image_04112025_14_19_47_1582.jpg', '/home/pi/Desktop/images/04112025/14/19/image_04112025_14_19_58_10327.jpg', '/home/pi/Desktop/images/04112025/14/19/image_04112025_14_20_00_1838.jpg', '/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_01_1724.jpg', '/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_03_1662.jpg', '/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_05_1665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/19/image_04112025_14_19_47_1582.jpg
/home/pi/Desktop/images/04112025/14/19/image_04112025_14_19_58_10327.jpg
/home/pi/Desktop/images/04112025/14/19/image_04112025_14_20_00_1838.jpg
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_01_1724.jpg
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_03_1662.jpg
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_05_1665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372242","1399372244","1399372238","1399372235","1399372240","1399372246"],"photo_ids_order":["1399372235","1399372238","1399372240","1399372242","1399372244","1399372246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9937da87e18bd1e4bf6d8f81f8f5b5c7.jpg","text":"TemporaryFile(/tmp/multipartBody7896015823674377330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733023485,"filename":"image_04112025_14_20_01_1724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/93125624c31514215cf9828cfe18e123.jpg","text":"TemporaryFile(/tmp/multipartBody2078591834985310225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733023485,"filename":"image_04112025_14_20_03_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1cb0b9bb9d0ffa1fdbdfe3f2cdb8a3e2.jpg","text":"TemporaryFile(/tmp/multipartBody4625545051864327374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733023485,"filename":"image_04112025_14_19_58_10327.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9b0feb60739aac6fbbc738a253c83f39.jpg","text":"TemporaryFile(/tmp/multipartBody484706285007587102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733023485,"filename":"image_04112025_14_19_47_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/67d45985210f2489b5f0fa701d685201.jpg","text":"TemporaryFile(/tmp/multipartBody3995549972299154928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733023485,"filename":"image_04112025_14_20_00_1838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81bdb25a4677a5987e09b6ee344580d8.jpg","text":"TemporaryFile(/tmp/multipartBody6458735329363390274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733023485,"filename":"image_04112025_14_20_05_1665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372240","file1":"1399372238","file0":"1399372235","file4":"1399372244","file5":"1399372246","file3":"1399372242"},"map_files_photo_id_array":[{"photo_id":"1399372246","filename":"file5"},{"photo_id":"1399372240","filename":"file2"},{"photo_id":"1399372244","filename":"file4"},{"photo_id":"1399372238","filename":"file1"},{"photo_id":"1399372235","filename":"file0"},{"photo_id":"1399372242","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372242":["hashtag1","hashtag2"]},{"1399372244":["hashtag1","hashtag2"]},{"1399372238":["hashtag1","hashtag2"]},{"1399372235":["hashtag1","hashtag2"]},{"1399372240":["hashtag1","hashtag2"]},{"1399372246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372242, 1399372244, 1399372238, 1399372235, 1399372240, 1399372246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99602937698364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:23:22.221594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/17/image_14122025_18_17_47_9823.jpg', '/home/pi/Desktop/images/14122025/18/17/image_14122025_18_17_56_9703.jpg', '/home/pi/Desktop/images/14122025/18/17/image_14122025_18_18_07_10668.jpg', '/home/pi/Desktop/images/14122025/18/18/image_14122025_18_18_37_9650.jpg', '/home/pi/Desktop/images/14122025/18/18/image_14122025_18_18_46_9668.jpg', '/home/pi/Desktop/images/14122025/18/18/image_14122025_18_18_57_10800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/17/image_14122025_18_17_47_9823.jpg
/home/pi/Desktop/images/14122025/18/17/image_14122025_18_17_56_9703.jpg
/home/pi/Desktop/images/14122025/18/17/image_14122025_18_18_07_10668.jpg
/home/pi/Desktop/images/14122025/18/18/image_14122025_18_18_37_9650.jpg
/home/pi/Desktop/images/14122025/18/18/image_14122025_18_18_46_9668.jpg
/home/pi/Desktop/images/14122025/18/18/image_14122025_18_18_57_10800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372257","1399372251","1399372253","1399372247","1399372255","1399372249"],"photo_ids_order":["1399372247","1399372249","1399372251","1399372253","1399372255","1399372257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d94bfd44f5ba4bdbd5b8b2400fa82097.jpg","text":"TemporaryFile(/tmp/multipartBody7196891557980270807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733062871,"filename":"image_14122025_18_18_57_10800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f8de06514d1f2f92f06ac4175d33388b.jpg","text":"TemporaryFile(/tmp/multipartBody1574175315126888625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733062871,"filename":"image_14122025_18_18_07_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c328ac6dcd1a3f22276e4e76b530adc9.jpg","text":"TemporaryFile(/tmp/multipartBody7119520401632876214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733062871,"filename":"image_14122025_18_18_37_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a5ead13ebfdebd7d74b460c204fcfbb5.jpg","text":"TemporaryFile(/tmp/multipartBody6863244376390512540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733062871,"filename":"image_14122025_18_17_47_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c8f70455ac1b2695c5591a40cec9475.jpg","text":"TemporaryFile(/tmp/multipartBody7554794313596004224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733062871,"filename":"image_14122025_18_18_46_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba12ad55c0a200b18a2b0a7715510cc0.jpg","text":"TemporaryFile(/tmp/multipartBody2269514792574375075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733062871,"filename":"image_14122025_18_17_56_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372251","file1":"1399372249","file0":"1399372247","file4":"1399372255","file5":"1399372257","file3":"1399372253"},"map_files_photo_id_array":[{"photo_id":"1399372257","filename":"file5"},{"photo_id":"1399372251","filename":"file2"},{"photo_id":"1399372255","filename":"file4"},{"photo_id":"1399372249","filename":"file1"},{"photo_id":"1399372247","filename":"file0"},{"photo_id":"1399372253","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372257":["hashtag1","hashtag2"]},{"1399372251":["hashtag1","hashtag2"]},{"1399372253":["hashtag1","hashtag2"]},{"1399372247":["hashtag1","hashtag2"]},{"1399372255":["hashtag1","hashtag2"]},{"1399372249":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372257, 1399372251, 1399372253, 1399372247, 1399372255, 1399372249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.211400747299194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:24:02.846790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/18/image_14122025_18_19_07_9601.jpg', '/home/pi/Desktop/images/14122025/18/19/image_14122025_18_19_16_9580.jpg', '/home/pi/Desktop/images/14122025/18/19/image_14122025_18_19_27_10776.jpg', '/home/pi/Desktop/images/14122025/18/19/image_14122025_18_19_37_9579.jpg', '/home/pi/Desktop/images/14122025/18/19/image_14122025_18_19_46_9727.jpg', '/home/pi/Desktop/images/14122025/18/20/image_14122025_18_20_17_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/18/image_14122025_18_19_07_9601.jpg
/home/pi/Desktop/images/14122025/18/19/image_14122025_18_19_16_9580.jpg
/home/pi/Desktop/images/14122025/18/19/image_14122025_18_19_27_10776.jpg
/home/pi/Desktop/images/14122025/18/19/image_14122025_18_19_37_9579.jpg
/home/pi/Desktop/images/14122025/18/19/image_14122025_18_19_46_9727.jpg
/home/pi/Desktop/images/14122025/18/20/image_14122025_18_20_17_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":["1399372266","1399372260","1399372268","1399372262","1399372265","1399372264"],"photo_ids_order":["1399372260","1399372262","1399372264","1399372265","1399372266","1399372268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8876153206df834218e2b6ab926383ca.jpg","text":"TemporaryFile(/tmp/multipartBody6764765541347559410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733103480,"filename":"image_14122025_18_19_46_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/00d1d90d69b4ccbdfeca2237cf77372c.jpg","text":"TemporaryFile(/tmp/multipartBody1807474279616707067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733103480,"filename":"image_14122025_18_19_07_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ab209a65636c6a602c62ec940afa7ede.jpg","text":"TemporaryFile(/tmp/multipartBody9129477496572558335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733103480,"filename":"image_14122025_18_20_17_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e34d582e3462ac9a567256b0e98c87c9.jpg","text":"TemporaryFile(/tmp/multipartBody1569016160075464616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733103480,"filename":"image_14122025_18_19_16_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b6159a4e21541d678085d2a2f2838f9.jpg","text":"TemporaryFile(/tmp/multipartBody5984079065337941860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733103480,"filename":"image_14122025_18_19_37_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1a97f1e8759c5665e7fd36529263015.jpg","text":"TemporaryFile(/tmp/multipartBody139631730377697090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733103480,"filename":"image_14122025_18_19_27_10776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372264","file1":"1399372262","file0":"1399372260","file4":"1399372266","file5":"1399372268","file3":"1399372265"},"map_files_photo_id_array":[{"photo_id":"1399372268","filename":"file5"},{"photo_id":"1399372264","filename":"file2"},{"photo_id":"1399372266","filename":"file4"},{"photo_id":"1399372262","filename":"file1"},{"photo_id":"1399372260","filename":"file0"},{"photo_id":"1399372265","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372266":["hashtag1","hashtag2"]},{"1399372260":["hashtag1","hashtag2"]},{"1399372268":["hashtag1","hashtag2"]},{"1399372262":["hashtag1","hashtag2"]},{"1399372265":["hashtag1","hashtag2"]},{"1399372264":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372266, 1399372260, 1399372268, 1399372262, 1399372265, 1399372264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16968822479248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:24:42.412934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_06_1688.jpg', '/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_08_1730.jpg', '/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_10_1714.jpg', '/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_11_1572.jpg', '/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_13_1782.jpg', '/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_15_1661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_06_1688.jpg
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_08_1730.jpg
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_10_1714.jpg
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_11_1572.jpg
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_13_1782.jpg
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_15_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":["1399372275","1399372278","1399372272","1399372274","1399372277","1399372276"],"photo_ids_order":["1399372272","1399372274","1399372275","1399372276","1399372277","1399372278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/027ed7deac67fa30e06f58612fea13a2.jpg","text":"TemporaryFile(/tmp/multipartBody9006633500999748483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733143120,"filename":"image_04112025_14_20_10_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/12782691c5848840f9d879129cc12372.jpg","text":"TemporaryFile(/tmp/multipartBody8784487866681746091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733143120,"filename":"image_04112025_14_20_15_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f70231bef6645d253fa8c85450a7209b.jpg","text":"TemporaryFile(/tmp/multipartBody7352172249385247868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733143120,"filename":"image_04112025_14_20_06_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6eba2a3429cf08c24c8d9effe824557e.jpg","text":"TemporaryFile(/tmp/multipartBody2104072934975185638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733143120,"filename":"image_04112025_14_20_08_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/23575726c53dadd47fd098352f78ad58.jpg","text":"TemporaryFile(/tmp/multipartBody1020582152942550198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733143120,"filename":"image_04112025_14_20_13_1782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4850ff66f220f5c6b95b0269a87d0c68.jpg","text":"TemporaryFile(/tmp/multipartBody814766975149536904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733143120,"filename":"image_04112025_14_20_11_1572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372275","file1":"1399372274","file0":"1399372272","file4":"1399372277","file5":"1399372278","file3":"1399372276"},"map_files_photo_id_array":[{"photo_id":"1399372278","filename":"file5"},{"photo_id":"1399372275","filename":"file2"},{"photo_id":"1399372277","filename":"file4"},{"photo_id":"1399372274","filename":"file1"},{"photo_id":"1399372272","filename":"file0"},{"photo_id":"1399372276","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372275":["hashtag1","hashtag2"]},{"1399372278":["hashtag1","hashtag2"]},{"1399372272":["hashtag1","hashtag2"]},{"1399372274":["hashtag1","hashtag2"]},{"1399372277":["hashtag1","hashtag2"]},{"1399372276":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372275, 1399372278, 1399372272, 1399372274, 1399372277, 1399372276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72741365432739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:25:22.698168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/20/image_14122025_18_20_26_9725.jpg', '/home/pi/Desktop/images/14122025/18/20/image_14122025_18_20_37_10688.jpg', '/home/pi/Desktop/images/14122025/18/20/image_14122025_18_20_47_9778.jpg', '/home/pi/Desktop/images/14122025/18/21/image_14122025_18_21_17_10768.jpg', '/home/pi/Desktop/images/14122025/18/21/image_14122025_18_21_27_9840.jpg', '/home/pi/Desktop/images/14122025/18/21/image_14122025_18_21_46_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/20/image_14122025_18_20_26_9725.jpg
/home/pi/Desktop/images/14122025/18/20/image_14122025_18_20_37_10688.jpg
/home/pi/Desktop/images/14122025/18/20/image_14122025_18_20_47_9778.jpg
/home/pi/Desktop/images/14122025/18/21/image_14122025_18_21_17_10768.jpg
/home/pi/Desktop/images/14122025/18/21/image_14122025_18_21_27_9840.jpg
/home/pi/Desktop/images/14122025/18/21/image_14122025_18_21_46_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":["1399372281","1399372283","1399372291","1399372285","1399372279","1399372288"],"photo_ids_order":["1399372279","1399372281","1399372283","1399372285","1399372288","1399372291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b14f33658780b0f9f6b8c11a86cd935e.jpg","text":"TemporaryFile(/tmp/multipartBody2845635142507946296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733183313,"filename":"image_14122025_18_20_37_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/43bb1d9b4cda016d56ff7109d29e17d8.jpg","text":"TemporaryFile(/tmp/multipartBody1552687267304152821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733183313,"filename":"image_14122025_18_20_47_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc577e93400a48442c3accf0c400b25b.jpg","text":"TemporaryFile(/tmp/multipartBody4179798821859559588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733183313,"filename":"image_14122025_18_21_46_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/82beebd4e70b641ce1afe8a359a35018.jpg","text":"TemporaryFile(/tmp/multipartBody7206373860572046966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733183313,"filename":"image_14122025_18_21_17_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/407a4711d184d2bc7a57b15edd6787b1.jpg","text":"TemporaryFile(/tmp/multipartBody2105099822525256925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733183313,"filename":"image_14122025_18_20_26_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a5274e66a0b670cd54d7274387bb2fcf.jpg","text":"TemporaryFile(/tmp/multipartBody2136613260215537011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733183313,"filename":"image_14122025_18_21_27_9840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372283","file1":"1399372281","file0":"1399372279","file4":"1399372288","file5":"1399372291","file3":"1399372285"},"map_files_photo_id_array":[{"photo_id":"1399372291","filename":"file5"},{"photo_id":"1399372283","filename":"file2"},{"photo_id":"1399372288","filename":"file4"},{"photo_id":"1399372281","filename":"file1"},{"photo_id":"1399372279","filename":"file0"},{"photo_id":"1399372285","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372281":["hashtag1","hashtag2"]},{"1399372283":["hashtag1","hashtag2"]},{"1399372291":["hashtag1","hashtag2"]},{"1399372285":["hashtag1","hashtag2"]},{"1399372279":["hashtag1","hashtag2"]},{"1399372288":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372281, 1399372283, 1399372291, 1399372285, 1399372279, 1399372288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91335415840149 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:26:02.263574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/21/image_14122025_18_21_57_10682.jpg', '/home/pi/Desktop/images/14122025/18/21/image_14122025_18_22_07_9656.jpg', '/home/pi/Desktop/images/14122025/18/22/image_14122025_18_22_16_9561.jpg', '/home/pi/Desktop/images/14122025/18/22/image_14122025_18_22_27_10622.jpg', '/home/pi/Desktop/images/14122025/18/22/image_14122025_18_22_46_9726.jpg', '/home/pi/Desktop/images/14122025/18/22/image_14122025_18_22_56_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/21/image_14122025_18_21_57_10682.jpg
/home/pi/Desktop/images/14122025/18/21/image_14122025_18_22_07_9656.jpg
/home/pi/Desktop/images/14122025/18/22/image_14122025_18_22_16_9561.jpg
/home/pi/Desktop/images/14122025/18/22/image_14122025_18_22_27_10622.jpg
/home/pi/Desktop/images/14122025/18/22/image_14122025_18_22_46_9726.jpg
/home/pi/Desktop/images/14122025/18/22/image_14122025_18_22_56_9837.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372296","1399372292","1399372295","1399372298","1399372294","1399372293"],"photo_ids_order":["1399372292","1399372293","1399372294","1399372295","1399372296","1399372298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bab31730ceed246bbd79d3341a0ab500.jpg","text":"TemporaryFile(/tmp/multipartBody4591679584178936767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733222875,"filename":"image_14122025_18_22_46_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28b9e81081d56db82e28eba04618c27a.jpg","text":"TemporaryFile(/tmp/multipartBody2023522281969338598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733222875,"filename":"image_14122025_18_21_57_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/902ae64988022399d1041d433cb200a3.jpg","text":"TemporaryFile(/tmp/multipartBody2068668631688417835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733222875,"filename":"image_14122025_18_22_27_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9a47eeea521d6da6cf6b0fa764e06b1.jpg","text":"TemporaryFile(/tmp/multipartBody4596736033373641597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733222875,"filename":"image_14122025_18_22_56_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eb8ee1bd34d18e06887baf851ce10ca8.jpg","text":"TemporaryFile(/tmp/multipartBody7871992999838192138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733222875,"filename":"image_14122025_18_22_16_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ba7f4d233fa4a9c9d8fd1b125924626.jpg","text":"TemporaryFile(/tmp/multipartBody3084805509171067394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733222875,"filename":"image_14122025_18_22_07_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372294","file1":"1399372293","file0":"1399372292","file4":"1399372296","file5":"1399372298","file3":"1399372295"},"map_files_photo_id_array":[{"photo_id":"1399372298","filename":"file5"},{"photo_id":"1399372294","filename":"file2"},{"photo_id":"1399372296","filename":"file4"},{"photo_id":"1399372293","filename":"file1"},{"photo_id":"1399372292","filename":"file0"},{"photo_id":"1399372295","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372296":["hashtag1","hashtag2"]},{"1399372292":["hashtag1","hashtag2"]},{"1399372295":["hashtag1","hashtag2"]},{"1399372298":["hashtag1","hashtag2"]},{"1399372294":["hashtag1","hashtag2"]},{"1399372293":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372296, 1399372292, 1399372295, 1399372298, 1399372294, 1399372293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.264209032058716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:26:41.878783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_17_1757.jpg', '/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_18_1643.jpg', '/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_20_1691.jpg', '/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_23_3295.jpg', '/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_25_1609.jpg', '/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_27_1803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_17_1757.jpg
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_18_1643.jpg
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_20_1691.jpg
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_23_3295.jpg
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_25_1609.jpg
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_27_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":["1399372306","1399372308","1399372305","1399372310","1399372307","1399372303"],"photo_ids_order":["1399372303","1399372305","1399372306","1399372307","1399372308","1399372310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b35777a143c0cd01049712d8488840b9.jpg","text":"TemporaryFile(/tmp/multipartBody1766837005419079176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733262626,"filename":"image_04112025_14_20_20_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1a067d20a37b3c8638d43def0ffdbd42.jpg","text":"TemporaryFile(/tmp/multipartBody7571052911480737534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733262626,"filename":"image_04112025_14_20_25_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8dda27862a56a91746d4f9b636a10fcb.jpg","text":"TemporaryFile(/tmp/multipartBody2413446522351210765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733262626,"filename":"image_04112025_14_20_18_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/22c9eb6b1501bd406bfd77de06df4e19.jpg","text":"TemporaryFile(/tmp/multipartBody855228869512247432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733262626,"filename":"image_04112025_14_20_27_1803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/908de581a9f4e0cb9e8bdf315c160e58.jpg","text":"TemporaryFile(/tmp/multipartBody6107001637523522167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733262626,"filename":"image_04112025_14_20_23_3295.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63a0f1f9a60652e168668fac1fa65efd.jpg","text":"TemporaryFile(/tmp/multipartBody2750064620600539657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733262626,"filename":"image_04112025_14_20_17_1757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372306","file1":"1399372305","file0":"1399372303","file4":"1399372308","file5":"1399372310","file3":"1399372307"},"map_files_photo_id_array":[{"photo_id":"1399372310","filename":"file5"},{"photo_id":"1399372306","filename":"file2"},{"photo_id":"1399372308","filename":"file4"},{"photo_id":"1399372305","filename":"file1"},{"photo_id":"1399372303","filename":"file0"},{"photo_id":"1399372307","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372306":["hashtag1","hashtag2"]},{"1399372308":["hashtag1","hashtag2"]},{"1399372305":["hashtag1","hashtag2"]},{"1399372310":["hashtag1","hashtag2"]},{"1399372307":["hashtag1","hashtag2"]},{"1399372303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372306, 1399372308, 1399372305, 1399372310, 1399372307, 1399372303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.523722648620605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:27:22.307976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/22/image_14122025_18_23_07_10739.jpg', '/home/pi/Desktop/images/14122025/18/23/image_14122025_18_23_17_9809.jpg', '/home/pi/Desktop/images/14122025/18/23/image_14122025_18_23_27_9737.jpg', '/home/pi/Desktop/images/14122025/18/23/image_14122025_18_23_37_10569.jpg', '/home/pi/Desktop/images/14122025/18/23/image_14122025_18_23_56_9667.jpg', '/home/pi/Desktop/images/14122025/18/23/image_14122025_18_24_07_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/22/image_14122025_18_23_07_10739.jpg
/home/pi/Desktop/images/14122025/18/23/image_14122025_18_23_17_9809.jpg
/home/pi/Desktop/images/14122025/18/23/image_14122025_18_23_27_9737.jpg
/home/pi/Desktop/images/14122025/18/23/image_14122025_18_23_37_10569.jpg
/home/pi/Desktop/images/14122025/18/23/image_14122025_18_23_56_9667.jpg
/home/pi/Desktop/images/14122025/18/23/image_14122025_18_24_07_10623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372312","1399372320","1399372314","1399372323","1399372316","1399372318"],"photo_ids_order":["1399372312","1399372314","1399372316","1399372318","1399372320","1399372323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ea4e25aed657e39e38e0e852e601374.jpg","text":"TemporaryFile(/tmp/multipartBody6733621990934593019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733302955,"filename":"image_14122025_18_23_07_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3458fffe5890090d1411a7512c5a8fab.jpg","text":"TemporaryFile(/tmp/multipartBody2775176588099550769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733302955,"filename":"image_14122025_18_23_56_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36926298bb48fd21c1d2fc88ccf168ae.jpg","text":"TemporaryFile(/tmp/multipartBody3358797505395774733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733302955,"filename":"image_14122025_18_23_17_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f6853beac82b5da2d03485bb5de5d2c0.jpg","text":"TemporaryFile(/tmp/multipartBody3379731230112119323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733302955,"filename":"image_14122025_18_24_07_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ca8fa19b4d15acc0cb9e9f1ebcb72d24.jpg","text":"TemporaryFile(/tmp/multipartBody5259930610412633908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733302955,"filename":"image_14122025_18_23_27_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3737ee41ea971740ee8af1def2a93eb7.jpg","text":"TemporaryFile(/tmp/multipartBody741862570553124660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733302955,"filename":"image_14122025_18_23_37_10569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372316","file1":"1399372314","file0":"1399372312","file4":"1399372320","file5":"1399372323","file3":"1399372318"},"map_files_photo_id_array":[{"photo_id":"1399372323","filename":"file5"},{"photo_id":"1399372316","filename":"file2"},{"photo_id":"1399372320","filename":"file4"},{"photo_id":"1399372314","filename":"file1"},{"photo_id":"1399372312","filename":"file0"},{"photo_id":"1399372318","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372312":["hashtag1","hashtag2"]},{"1399372320":["hashtag1","hashtag2"]},{"1399372314":["hashtag1","hashtag2"]},{"1399372323":["hashtag1","hashtag2"]},{"1399372316":["hashtag1","hashtag2"]},{"1399372318":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372312, 1399372320, 1399372314, 1399372323, 1399372316, 1399372318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88385581970215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:28:02.721615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/24/image_14122025_18_24_17_9630.jpg', '/home/pi/Desktop/images/14122025/18/24/image_14122025_18_24_26_9753.jpg', '/home/pi/Desktop/images/14122025/18/24/image_14122025_18_24_36_9770.jpg', '/home/pi/Desktop/images/14122025/18/24/image_14122025_18_24_47_10715.jpg', '/home/pi/Desktop/images/14122025/18/24/image_14122025_18_24_57_9741.jpg', '/home/pi/Desktop/images/14122025/18/24/image_14122025_18_25_06_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/24/image_14122025_18_24_17_9630.jpg
/home/pi/Desktop/images/14122025/18/24/image_14122025_18_24_26_9753.jpg
/home/pi/Desktop/images/14122025/18/24/image_14122025_18_24_36_9770.jpg
/home/pi/Desktop/images/14122025/18/24/image_14122025_18_24_47_10715.jpg
/home/pi/Desktop/images/14122025/18/24/image_14122025_18_24_57_9741.jpg
/home/pi/Desktop/images/14122025/18/24/image_14122025_18_25_06_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":["1399372327","1399372326","1399372329","1399372325","1399372328","1399372330"],"photo_ids_order":["1399372325","1399372326","1399372327","1399372328","1399372329","1399372330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76bd422a96f890438ee3825e04f1eeec.jpg","text":"TemporaryFile(/tmp/multipartBody2163676590443453465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733343371,"filename":"image_14122025_18_24_36_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/96e171451e362b040a4daffd83a6bb7c.jpg","text":"TemporaryFile(/tmp/multipartBody3566615897455251786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733343371,"filename":"image_14122025_18_24_26_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/685163b721905db3f9d450eef467bc20.jpg","text":"TemporaryFile(/tmp/multipartBody7673625023089107464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733343371,"filename":"image_14122025_18_24_57_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/711ada0fcc44ba8026d6f178fb38ef87.jpg","text":"TemporaryFile(/tmp/multipartBody6065393840169626580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733343371,"filename":"image_14122025_18_24_17_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd228b2281f409fa3e6580e5a7387a6a.jpg","text":"TemporaryFile(/tmp/multipartBody5906171736611949103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733343371,"filename":"image_14122025_18_24_47_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc07bbdac12d30168a8adcedf4c0d99b.jpg","text":"TemporaryFile(/tmp/multipartBody1720421791154951296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733343371,"filename":"image_14122025_18_25_06_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372327","file1":"1399372326","file0":"1399372325","file4":"1399372329","file5":"1399372330","file3":"1399372328"},"map_files_photo_id_array":[{"photo_id":"1399372330","filename":"file5"},{"photo_id":"1399372327","filename":"file2"},{"photo_id":"1399372329","filename":"file4"},{"photo_id":"1399372326","filename":"file1"},{"photo_id":"1399372325","filename":"file0"},{"photo_id":"1399372328","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372327":["hashtag1","hashtag2"]},{"1399372326":["hashtag1","hashtag2"]},{"1399372329":["hashtag1","hashtag2"]},{"1399372325":["hashtag1","hashtag2"]},{"1399372328":["hashtag1","hashtag2"]},{"1399372330":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372327, 1399372326, 1399372329, 1399372325, 1399372328, 1399372330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98672652244568 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:28:42.362002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_28_1594.jpg', '/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_30_1931.jpg', '/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_32_1572.jpg', '/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_33_1577.jpg', '/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_35_1694.jpg', '/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_37_1754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_28_1594.jpg
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_30_1931.jpg
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_32_1572.jpg
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_33_1577.jpg
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_35_1694.jpg
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_37_1754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372341","1399372343","1399372346","1399372336","1399372345","1399372339"],"photo_ids_order":["1399372336","1399372339","1399372341","1399372343","1399372345","1399372346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c11dacc8e70ea47ea1a1bae836aac4d.jpg","text":"TemporaryFile(/tmp/multipartBody7653319095961913220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733383066,"filename":"image_04112025_14_20_32_1572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d1dc492967a5bb4f65b128bcc2775afe.jpg","text":"TemporaryFile(/tmp/multipartBody3596891635533874786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733383066,"filename":"image_04112025_14_20_33_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4601f4cdd0c1ac30c1496d430d00ec1d.jpg","text":"TemporaryFile(/tmp/multipartBody2045881884105316522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733383066,"filename":"image_04112025_14_20_37_1754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bfe3a3ed3224cf424d7de6dae6aab9a5.jpg","text":"TemporaryFile(/tmp/multipartBody5001708105949965066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733383066,"filename":"image_04112025_14_20_28_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/37e7a756f9966cb2bf95b5e8f4a7eb4f.jpg","text":"TemporaryFile(/tmp/multipartBody3081618925507274185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733383066,"filename":"image_04112025_14_20_35_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/403db517c97f1b0b1de30b4ce154bdd8.jpg","text":"TemporaryFile(/tmp/multipartBody7452414347258433032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733383066,"filename":"image_04112025_14_20_30_1931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372341","file1":"1399372339","file0":"1399372336","file4":"1399372345","file5":"1399372346","file3":"1399372343"},"map_files_photo_id_array":[{"photo_id":"1399372346","filename":"file5"},{"photo_id":"1399372341","filename":"file2"},{"photo_id":"1399372345","filename":"file4"},{"photo_id":"1399372339","filename":"file1"},{"photo_id":"1399372336","filename":"file0"},{"photo_id":"1399372343","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372341":["hashtag1","hashtag2"]},{"1399372343":["hashtag1","hashtag2"]},{"1399372346":["hashtag1","hashtag2"]},{"1399372336":["hashtag1","hashtag2"]},{"1399372345":["hashtag1","hashtag2"]},{"1399372339":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372341, 1399372343, 1399372346, 1399372336, 1399372345, 1399372339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81015729904175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:29:22.679836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/25/image_14122025_18_25_17_10703.jpg', '/home/pi/Desktop/images/14122025/18/25/image_14122025_18_25_57_9678.jpg', '/home/pi/Desktop/images/14122025/18/25/image_14122025_18_26_07_9731.jpg', '/home/pi/Desktop/images/14122025/18/26/image_14122025_18_26_46_9733.jpg', '/home/pi/Desktop/images/14122025/18/26/image_14122025_18_26_56_9888.jpg', '/home/pi/Desktop/images/14122025/18/26/image_14122025_18_27_07_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/25/image_14122025_18_25_17_10703.jpg
/home/pi/Desktop/images/14122025/18/25/image_14122025_18_25_57_9678.jpg
/home/pi/Desktop/images/14122025/18/25/image_14122025_18_26_07_9731.jpg
/home/pi/Desktop/images/14122025/18/26/image_14122025_18_26_46_9733.jpg
/home/pi/Desktop/images/14122025/18/26/image_14122025_18_26_56_9888.jpg
/home/pi/Desktop/images/14122025/18/26/image_14122025_18_27_07_10628.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5356874465942383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 18:29:36.860189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:29:42.663141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_41_4298.jpg', '/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_43_1855.jpg', '/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_01_18523.jpg', '/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_03_1654.jpg', '/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_05_1633.jpg', '/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_06_1610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_41_4298.jpg
/home/pi/Desktop/images/04112025/14/20/image_04112025_14_20_43_1855.jpg
/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_01_18523.jpg
/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_03_1654.jpg
/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_05_1633.jpg
/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_06_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":["1399372365","1399372368","1399372367","1399372364","1399372366","1399372360"],"photo_ids_order":["1399372360","1399372364","1399372365","1399372366","1399372367","1399372368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/02148e2dc86464cc440f2bb231ab5534.jpg","text":"TemporaryFile(/tmp/multipartBody3628596222360349819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733443380,"filename":"image_04112025_14_21_01_18523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/47bf41136ae675a04e87493558a25200.jpg","text":"TemporaryFile(/tmp/multipartBody7813002595848081769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733443380,"filename":"image_04112025_14_21_06_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/37904592d397820781341b9ee0b88e2a.jpg","text":"TemporaryFile(/tmp/multipartBody3013603215051185041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733443380,"filename":"image_04112025_14_21_05_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d602c26d5d728823aa10a968fe4c5a32.jpg","text":"TemporaryFile(/tmp/multipartBody1959840553120048676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733443380,"filename":"image_04112025_14_20_43_1855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5bcc356fc021180a70b16849466eb1c9.jpg","text":"TemporaryFile(/tmp/multipartBody6887276992286169169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733443380,"filename":"image_04112025_14_21_03_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e22d6ee9fff1c9bab321f6937c8670c.jpg","text":"TemporaryFile(/tmp/multipartBody7895781950455710809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733443380,"filename":"image_04112025_14_20_41_4298.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372365","file1":"1399372364","file0":"1399372360","file4":"1399372367","file5":"1399372368","file3":"1399372366"},"map_files_photo_id_array":[{"photo_id":"1399372368","filename":"file5"},{"photo_id":"1399372365","filename":"file2"},{"photo_id":"1399372367","filename":"file4"},{"photo_id":"1399372364","filename":"file1"},{"photo_id":"1399372360","filename":"file0"},{"photo_id":"1399372366","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372365":["hashtag1","hashtag2"]},{"1399372368":["hashtag1","hashtag2"]},{"1399372367":["hashtag1","hashtag2"]},{"1399372364":["hashtag1","hashtag2"]},{"1399372366":["hashtag1","hashtag2"]},{"1399372360":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372365, 1399372368, 1399372367, 1399372364, 1399372366, 1399372360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28388237953186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:30:21.909613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/25/image_14122025_18_25_17_10703.jpg', '/home/pi/Desktop/images/14122025/18/25/image_14122025_18_25_57_9678.jpg', '/home/pi/Desktop/images/14122025/18/25/image_14122025_18_26_07_9731.jpg', '/home/pi/Desktop/images/14122025/18/26/image_14122025_18_26_46_9733.jpg', '/home/pi/Desktop/images/14122025/18/26/image_14122025_18_26_56_9888.jpg', '/home/pi/Desktop/images/14122025/18/26/image_14122025_18_27_07_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/25/image_14122025_18_25_17_10703.jpg
/home/pi/Desktop/images/14122025/18/25/image_14122025_18_25_57_9678.jpg
/home/pi/Desktop/images/14122025/18/25/image_14122025_18_26_07_9731.jpg
/home/pi/Desktop/images/14122025/18/26/image_14122025_18_26_46_9733.jpg
/home/pi/Desktop/images/14122025/18/26/image_14122025_18_26_56_9888.jpg
/home/pi/Desktop/images/14122025/18/26/image_14122025_18_27_07_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":["1399372377","1399372371","1399372373","1399372379","1399372375","1399372369"],"photo_ids_order":["1399372369","1399372371","1399372373","1399372375","1399372377","1399372379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6886ffb9cd0a31cc144d15a848a9e67e.jpg","text":"TemporaryFile(/tmp/multipartBody8473600390548519910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733482525,"filename":"image_14122025_18_26_56_9888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8770bfd16cc3bf846250eb483bae7829.jpg","text":"TemporaryFile(/tmp/multipartBody5484767822066333165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733482525,"filename":"image_14122025_18_25_57_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/253fa1e47066d1e4f941a35462ae6392.jpg","text":"TemporaryFile(/tmp/multipartBody1962663465502567273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733482525,"filename":"image_14122025_18_26_07_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f5485883e25ec75923c4049fecfdc79.jpg","text":"TemporaryFile(/tmp/multipartBody3565012080673526902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733482525,"filename":"image_14122025_18_27_07_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ad53de19fef4ea3feeb6e6db5d7d6ea.jpg","text":"TemporaryFile(/tmp/multipartBody6814576292136085993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733482525,"filename":"image_14122025_18_26_46_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d79ca7c4f366ef7abdc39a7e038f3bec.jpg","text":"TemporaryFile(/tmp/multipartBody6157037072073960196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733482525,"filename":"image_14122025_18_25_17_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372373","file1":"1399372371","file0":"1399372369","file4":"1399372377","file5":"1399372379","file3":"1399372375"},"map_files_photo_id_array":[{"photo_id":"1399372379","filename":"file5"},{"photo_id":"1399372373","filename":"file2"},{"photo_id":"1399372377","filename":"file4"},{"photo_id":"1399372371","filename":"file1"},{"photo_id":"1399372369","filename":"file0"},{"photo_id":"1399372375","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372377":["hashtag1","hashtag2"]},{"1399372371":["hashtag1","hashtag2"]},{"1399372373":["hashtag1","hashtag2"]},{"1399372379":["hashtag1","hashtag2"]},{"1399372375":["hashtag1","hashtag2"]},{"1399372369":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372377, 1399372371, 1399372373, 1399372379, 1399372375, 1399372369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94548416137695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:31:02.933462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/27/image_14122025_18_27_16_9572.jpg', '/home/pi/Desktop/images/14122025/18/27/image_14122025_18_27_27_10611.jpg', '/home/pi/Desktop/images/14122025/18/27/image_14122025_18_27_37_9691.jpg', '/home/pi/Desktop/images/14122025/18/27/image_14122025_18_27_47_9769.jpg', '/home/pi/Desktop/images/14122025/18/27/image_14122025_18_27_56_9762.jpg', '/home/pi/Desktop/images/14122025/18/27/image_14122025_18_28_07_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/27/image_14122025_18_27_16_9572.jpg
/home/pi/Desktop/images/14122025/18/27/image_14122025_18_27_27_10611.jpg
/home/pi/Desktop/images/14122025/18/27/image_14122025_18_27_37_9691.jpg
/home/pi/Desktop/images/14122025/18/27/image_14122025_18_27_47_9769.jpg
/home/pi/Desktop/images/14122025/18/27/image_14122025_18_27_56_9762.jpg
/home/pi/Desktop/images/14122025/18/27/image_14122025_18_28_07_10691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372383","1399372386","1399372385","1399372388","1399372384","1399372381"],"photo_ids_order":["1399372381","1399372383","1399372384","1399372385","1399372386","1399372388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3a61e2580fb99664cb8a1e16623b821c.jpg","text":"TemporaryFile(/tmp/multipartBody2177425482750895643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733523619,"filename":"image_14122025_18_27_27_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a52e0c5ef3b285906b2b8a50eb08c8c3.jpg","text":"TemporaryFile(/tmp/multipartBody129364876481557702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733523619,"filename":"image_14122025_18_27_56_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/53d981c3cad9eeb2f281fde22f5b22e7.jpg","text":"TemporaryFile(/tmp/multipartBody9028424639936600586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733523619,"filename":"image_14122025_18_27_47_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1d1958641044496b534f46f8ea84ade.jpg","text":"TemporaryFile(/tmp/multipartBody51805281581890119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733523619,"filename":"image_14122025_18_28_07_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d5dd807a8626d80f9cfcbcb8a78f385c.jpg","text":"TemporaryFile(/tmp/multipartBody1793592337994339893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733523619,"filename":"image_14122025_18_27_37_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1be4431414fc89c62911466467f1068a.jpg","text":"TemporaryFile(/tmp/multipartBody7225603659776992321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733523619,"filename":"image_14122025_18_27_16_9572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372384","file1":"1399372383","file0":"1399372381","file4":"1399372386","file5":"1399372388","file3":"1399372385"},"map_files_photo_id_array":[{"photo_id":"1399372388","filename":"file5"},{"photo_id":"1399372384","filename":"file2"},{"photo_id":"1399372386","filename":"file4"},{"photo_id":"1399372383","filename":"file1"},{"photo_id":"1399372381","filename":"file0"},{"photo_id":"1399372385","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372383":["hashtag1","hashtag2"]},{"1399372386":["hashtag1","hashtag2"]},{"1399372385":["hashtag1","hashtag2"]},{"1399372388":["hashtag1","hashtag2"]},{"1399372384":["hashtag1","hashtag2"]},{"1399372381":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372383, 1399372386, 1399372385, 1399372388, 1399372384, 1399372381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.768332958221436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:31:42.407551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_11_4477.jpg', '/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_12_1633.jpg', '/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_14_1845.jpg', '/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_16_1567.jpg', '/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_18_1698.jpg', '/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_19_1803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_11_4477.jpg
/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_12_1633.jpg
/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_14_1845.jpg
/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_16_1567.jpg
/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_18_1698.jpg
/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_19_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":["1399372398","1399372401","1399372397","1399372400","1399372399","1399372393"],"photo_ids_order":["1399372393","1399372397","1399372398","1399372399","1399372400","1399372401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e3c8040e9484d564527394865c8c20fa.jpg","text":"TemporaryFile(/tmp/multipartBody3257999125127025569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733563120,"filename":"image_04112025_14_21_14_1845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/115cd1f3c9e91ab9278f126874063bcc.jpg","text":"TemporaryFile(/tmp/multipartBody7817005370687306624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733563120,"filename":"image_04112025_14_21_19_1803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/22c5d6257ca8c7f4fa676a25b9fc2886.jpg","text":"TemporaryFile(/tmp/multipartBody8125736768902657705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733563120,"filename":"image_04112025_14_21_12_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f3b8bd23a71dfcc91e16bfab9b6b4a6.jpg","text":"TemporaryFile(/tmp/multipartBody5897134276151404310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733563120,"filename":"image_04112025_14_21_18_1698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5231bc208e9c3ea5aca04b453eca4c99.jpg","text":"TemporaryFile(/tmp/multipartBody505688983644810483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733563120,"filename":"image_04112025_14_21_16_1567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e13801cf665db41437d953642b8b8056.jpg","text":"TemporaryFile(/tmp/multipartBody5046247825296118369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733563120,"filename":"image_04112025_14_21_11_4477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372398","file1":"1399372397","file0":"1399372393","file4":"1399372400","file5":"1399372401","file3":"1399372399"},"map_files_photo_id_array":[{"photo_id":"1399372401","filename":"file5"},{"photo_id":"1399372398","filename":"file2"},{"photo_id":"1399372400","filename":"file4"},{"photo_id":"1399372397","filename":"file1"},{"photo_id":"1399372393","filename":"file0"},{"photo_id":"1399372399","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372398":["hashtag1","hashtag2"]},{"1399372401":["hashtag1","hashtag2"]},{"1399372397":["hashtag1","hashtag2"]},{"1399372400":["hashtag1","hashtag2"]},{"1399372399":["hashtag1","hashtag2"]},{"1399372393":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372398, 1399372401, 1399372397, 1399372400, 1399372399, 1399372393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.378559589385986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:32:22.688283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/28/image_14122025_18_28_17_9656.jpg', '/home/pi/Desktop/images/14122025/18/28/image_14122025_18_28_26_9696.jpg', '/home/pi/Desktop/images/14122025/18/28/image_14122025_18_28_36_9896.jpg', '/home/pi/Desktop/images/14122025/18/28/image_14122025_18_28_47_10728.jpg', '/home/pi/Desktop/images/14122025/18/28/image_14122025_18_28_57_9638.jpg', '/home/pi/Desktop/images/14122025/18/28/image_14122025_18_29_06_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/28/image_14122025_18_28_17_9656.jpg
/home/pi/Desktop/images/14122025/18/28/image_14122025_18_28_26_9696.jpg
/home/pi/Desktop/images/14122025/18/28/image_14122025_18_28_36_9896.jpg
/home/pi/Desktop/images/14122025/18/28/image_14122025_18_28_47_10728.jpg
/home/pi/Desktop/images/14122025/18/28/image_14122025_18_28_57_9638.jpg
/home/pi/Desktop/images/14122025/18/28/image_14122025_18_29_06_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":["1399372411","1399372405","1399372407","1399372403","1399372409","1399372414"],"photo_ids_order":["1399372403","1399372405","1399372407","1399372409","1399372411","1399372414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/99c490e79035f2c5a6a9549c97c2a9cf.jpg","text":"TemporaryFile(/tmp/multipartBody690069866075180443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733603330,"filename":"image_14122025_18_28_57_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/99c1fd6abd80f3e14b7f56ddccda9c00.jpg","text":"TemporaryFile(/tmp/multipartBody5013337979912847206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733603330,"filename":"image_14122025_18_28_26_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b75dbc1870bb4b4c3a6070048900850c.jpg","text":"TemporaryFile(/tmp/multipartBody3221329597235866139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733603330,"filename":"image_14122025_18_28_36_9896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cb372ba364d2082e2aa56edf8164e666.jpg","text":"TemporaryFile(/tmp/multipartBody3304280933677990841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733603330,"filename":"image_14122025_18_28_17_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d8569e2cf4ca04377565ba70d48ee23.jpg","text":"TemporaryFile(/tmp/multipartBody2435674548145954529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733603330,"filename":"image_14122025_18_28_47_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/09478ffcc980c392513138d6f1d3f65e.jpg","text":"TemporaryFile(/tmp/multipartBody5548655520105260703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733603330,"filename":"image_14122025_18_29_06_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372407","file1":"1399372405","file0":"1399372403","file4":"1399372411","file5":"1399372414","file3":"1399372409"},"map_files_photo_id_array":[{"photo_id":"1399372414","filename":"file5"},{"photo_id":"1399372407","filename":"file2"},{"photo_id":"1399372411","filename":"file4"},{"photo_id":"1399372405","filename":"file1"},{"photo_id":"1399372403","filename":"file0"},{"photo_id":"1399372409","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372411":["hashtag1","hashtag2"]},{"1399372405":["hashtag1","hashtag2"]},{"1399372407":["hashtag1","hashtag2"]},{"1399372403":["hashtag1","hashtag2"]},{"1399372409":["hashtag1","hashtag2"]},{"1399372414":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372411, 1399372405, 1399372407, 1399372403, 1399372409, 1399372414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19167113304138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:33:02.406837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/29/image_14122025_18_29_47_10718.jpg', '/home/pi/Desktop/images/14122025/18/29/image_14122025_18_29_57_9696.jpg', '/home/pi/Desktop/images/14122025/18/30/image_14122025_18_30_14_10057.jpg', '/home/pi/Desktop/images/14122025/18/30/image_14122025_18_30_25_10825.jpg', '/home/pi/Desktop/images/14122025/18/31/image_14122025_18_32_05_9652.jpg', '/home/pi/Desktop/images/14122025/18/32/image_14122025_18_32_15_10697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/29/image_14122025_18_29_47_10718.jpg
/home/pi/Desktop/images/14122025/18/29/image_14122025_18_29_57_9696.jpg
/home/pi/Desktop/images/14122025/18/30/image_14122025_18_30_14_10057.jpg
/home/pi/Desktop/images/14122025/18/30/image_14122025_18_30_25_10825.jpg
/home/pi/Desktop/images/14122025/18/31/image_14122025_18_32_05_9652.jpg
/home/pi/Desktop/images/14122025/18/32/image_14122025_18_32_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":["1399372419","1399372416","1399372421","1399372418","1399372415","1399372417"],"photo_ids_order":["1399372415","1399372416","1399372417","1399372418","1399372419","1399372421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6ec3b6d31bdbecdceebbacabc1a4850.jpg","text":"TemporaryFile(/tmp/multipartBody5503571652183432954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733643085,"filename":"image_14122025_18_32_05_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a73a128ff794bee791b4163a029fad1.jpg","text":"TemporaryFile(/tmp/multipartBody1777145757394640671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733643085,"filename":"image_14122025_18_29_57_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3af7054f22159ee6d9f2544ad1cee30f.jpg","text":"TemporaryFile(/tmp/multipartBody7043710712048891639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733643085,"filename":"image_14122025_18_32_15_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e49080b2235a88261fac9c6072503e1.jpg","text":"TemporaryFile(/tmp/multipartBody4858140389545992018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733643085,"filename":"image_14122025_18_30_25_10825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b095afe4e223cd82319879288e052806.jpg","text":"TemporaryFile(/tmp/multipartBody6484219034938793411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733643085,"filename":"image_14122025_18_29_47_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4906f6bf2bc5ba5de8cdac0d5ee0af73.jpg","text":"TemporaryFile(/tmp/multipartBody7146256390882698501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733643085,"filename":"image_14122025_18_30_14_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372417","file1":"1399372416","file0":"1399372415","file4":"1399372419","file5":"1399372421","file3":"1399372418"},"map_files_photo_id_array":[{"photo_id":"1399372421","filename":"file5"},{"photo_id":"1399372417","filename":"file2"},{"photo_id":"1399372419","filename":"file4"},{"photo_id":"1399372416","filename":"file1"},{"photo_id":"1399372415","filename":"file0"},{"photo_id":"1399372418","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372419":["hashtag1","hashtag2"]},{"1399372416":["hashtag1","hashtag2"]},{"1399372421":["hashtag1","hashtag2"]},{"1399372418":["hashtag1","hashtag2"]},{"1399372415":["hashtag1","hashtag2"]},{"1399372417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372419, 1399372416, 1399372421, 1399372418, 1399372415, 1399372417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.900391817092896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:33:41.788005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_21_1577.jpg', '/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_24_2814.jpg', '/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_26_1967.jpg', '/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_27_1551.jpg', '/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_29_1763.jpg', '/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_31_1532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_21_1577.jpg
/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_24_2814.jpg
/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_26_1967.jpg
/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_27_1551.jpg
/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_29_1763.jpg
/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_31_1532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372431","1399372434","1399372430","1399372433","1399372432","1399372426"],"photo_ids_order":["1399372426","1399372430","1399372431","1399372432","1399372433","1399372434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7cddeb63bc603d9b81001bf345ffa5cc.jpg","text":"TemporaryFile(/tmp/multipartBody4000663064330723288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733682511,"filename":"image_04112025_14_21_26_1967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3336e3189901c1d7a0277e193ff050a8.jpg","text":"TemporaryFile(/tmp/multipartBody8994168251316120815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733682511,"filename":"image_04112025_14_21_31_1532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f58f2f3b467c4ac042e53741359f7e0e.jpg","text":"TemporaryFile(/tmp/multipartBody1398842440741594708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733682511,"filename":"image_04112025_14_21_24_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9764dca8ff89e12b236e60eaa8ece72b.jpg","text":"TemporaryFile(/tmp/multipartBody7747422845158865233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733682511,"filename":"image_04112025_14_21_29_1763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/58c6b35e824a4fbc244ed0e1b416d84f.jpg","text":"TemporaryFile(/tmp/multipartBody3400351713032854777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733682511,"filename":"image_04112025_14_21_27_1551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/83a77ad87cdae8db9243ee43d59385ea.jpg","text":"TemporaryFile(/tmp/multipartBody7521261333230954463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733682511,"filename":"image_04112025_14_21_21_1577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372431","file1":"1399372430","file0":"1399372426","file4":"1399372433","file5":"1399372434","file3":"1399372432"},"map_files_photo_id_array":[{"photo_id":"1399372434","filename":"file5"},{"photo_id":"1399372431","filename":"file2"},{"photo_id":"1399372433","filename":"file4"},{"photo_id":"1399372430","filename":"file1"},{"photo_id":"1399372426","filename":"file0"},{"photo_id":"1399372432","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372431":["hashtag1","hashtag2"]},{"1399372434":["hashtag1","hashtag2"]},{"1399372430":["hashtag1","hashtag2"]},{"1399372433":["hashtag1","hashtag2"]},{"1399372432":["hashtag1","hashtag2"]},{"1399372426":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372431, 1399372434, 1399372430, 1399372433, 1399372432, 1399372426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96768546104431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:34:21.974302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/32/image_14122025_18_32_25_9617.jpg', '/home/pi/Desktop/images/14122025/18/32/image_14122025_18_32_35_9775.jpg', '/home/pi/Desktop/images/14122025/18/32/image_14122025_18_32_55_10650.jpg', '/home/pi/Desktop/images/14122025/18/32/image_14122025_18_33_05_9708.jpg', '/home/pi/Desktop/images/14122025/18/33/image_14122025_18_33_15_10592.jpg', '/home/pi/Desktop/images/14122025/18/33/image_14122025_18_33_25_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/32/image_14122025_18_32_25_9617.jpg
/home/pi/Desktop/images/14122025/18/32/image_14122025_18_32_35_9775.jpg
/home/pi/Desktop/images/14122025/18/32/image_14122025_18_32_55_10650.jpg
/home/pi/Desktop/images/14122025/18/32/image_14122025_18_33_05_9708.jpg
/home/pi/Desktop/images/14122025/18/33/image_14122025_18_33_15_10592.jpg
/home/pi/Desktop/images/14122025/18/33/image_14122025_18_33_25_9589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372446","1399372440","1399372442","1399372436","1399372435","1399372438"],"photo_ids_order":["1399372435","1399372436","1399372438","1399372440","1399372442","1399372446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3959d1f49ef91e85dc1156e60bc6675d.jpg","text":"TemporaryFile(/tmp/multipartBody4412836866592101693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733722549,"filename":"image_14122025_18_33_25_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ec4ba85818a0b62f75d448cfcd83e9b.jpg","text":"TemporaryFile(/tmp/multipartBody620843492431935164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733722549,"filename":"image_14122025_18_33_05_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2106546f504e57734d70a54742581390.jpg","text":"TemporaryFile(/tmp/multipartBody8670901697557302443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733722549,"filename":"image_14122025_18_33_15_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/34d354c324c83fa8342b65e9685bebe7.jpg","text":"TemporaryFile(/tmp/multipartBody7887732309528208679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733722549,"filename":"image_14122025_18_32_35_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ca575021597bd717f8a72c8f65f6b056.jpg","text":"TemporaryFile(/tmp/multipartBody6829458534760995944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733722549,"filename":"image_14122025_18_32_25_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a7cbd7f9907230bb2f946b8ba52dc2b4.jpg","text":"TemporaryFile(/tmp/multipartBody7249953329146342987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733722549,"filename":"image_14122025_18_32_55_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372438","file1":"1399372436","file0":"1399372435","file4":"1399372442","file5":"1399372446","file3":"1399372440"},"map_files_photo_id_array":[{"photo_id":"1399372446","filename":"file5"},{"photo_id":"1399372438","filename":"file2"},{"photo_id":"1399372442","filename":"file4"},{"photo_id":"1399372436","filename":"file1"},{"photo_id":"1399372435","filename":"file0"},{"photo_id":"1399372440","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372446":["hashtag1","hashtag2"]},{"1399372440":["hashtag1","hashtag2"]},{"1399372442":["hashtag1","hashtag2"]},{"1399372436":["hashtag1","hashtag2"]},{"1399372435":["hashtag1","hashtag2"]},{"1399372438":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372446, 1399372440, 1399372442, 1399372436, 1399372435, 1399372438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08146142959595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:35:03.022483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/33/image_14122025_18_33_35_9825.jpg', '/home/pi/Desktop/images/14122025/18/33/image_14122025_18_33_44_9627.jpg', '/home/pi/Desktop/images/14122025/18/33/image_14122025_18_33_55_10771.jpg', '/home/pi/Desktop/images/14122025/18/34/image_14122025_18_34_15_9729.jpg', '/home/pi/Desktop/images/14122025/18/34/image_14122025_18_34_24_9850.jpg', '/home/pi/Desktop/images/14122025/18/34/image_14122025_18_34_35_10700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/33/image_14122025_18_33_35_9825.jpg
/home/pi/Desktop/images/14122025/18/33/image_14122025_18_33_44_9627.jpg
/home/pi/Desktop/images/14122025/18/33/image_14122025_18_33_55_10771.jpg
/home/pi/Desktop/images/14122025/18/34/image_14122025_18_34_15_9729.jpg
/home/pi/Desktop/images/14122025/18/34/image_14122025_18_34_24_9850.jpg
/home/pi/Desktop/images/14122025/18/34/image_14122025_18_34_35_10700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372455","1399372452","1399372454","1399372457","1399372451","1399372453"],"photo_ids_order":["1399372451","1399372452","1399372453","1399372454","1399372455","1399372457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bbf7e409d5b4838ee224780f5c13bb43.jpg","text":"TemporaryFile(/tmp/multipartBody7578936701416071506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733763681,"filename":"image_14122025_18_34_24_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54adc6ce23500b8d6db2d1c7607417fc.jpg","text":"TemporaryFile(/tmp/multipartBody8120633832532647287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733763681,"filename":"image_14122025_18_33_44_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e4c5fe4fc801196c417fd26ec30bb7eb.jpg","text":"TemporaryFile(/tmp/multipartBody173375000332574443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733763681,"filename":"image_14122025_18_34_15_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/823072cd632425c1f41954248e9bd982.jpg","text":"TemporaryFile(/tmp/multipartBody6104762491059981935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733763681,"filename":"image_14122025_18_34_35_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ca532acb912c50a416bf8ce171c57a50.jpg","text":"TemporaryFile(/tmp/multipartBody6471238003896948924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733763681,"filename":"image_14122025_18_33_35_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f92142b6cb47365328fc2b5259d45773.jpg","text":"TemporaryFile(/tmp/multipartBody1386174831319331689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733763681,"filename":"image_14122025_18_33_55_10771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372453","file1":"1399372452","file0":"1399372451","file4":"1399372455","file5":"1399372457","file3":"1399372454"},"map_files_photo_id_array":[{"photo_id":"1399372457","filename":"file5"},{"photo_id":"1399372453","filename":"file2"},{"photo_id":"1399372455","filename":"file4"},{"photo_id":"1399372452","filename":"file1"},{"photo_id":"1399372451","filename":"file0"},{"photo_id":"1399372454","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372455":["hashtag1","hashtag2"]},{"1399372452":["hashtag1","hashtag2"]},{"1399372454":["hashtag1","hashtag2"]},{"1399372457":["hashtag1","hashtag2"]},{"1399372451":["hashtag1","hashtag2"]},{"1399372453":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372455, 1399372452, 1399372454, 1399372457, 1399372451, 1399372453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38216996192932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:35:42.360064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_32_1543.jpg', '/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_34_1633.jpg', '/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_59_25185.jpg', '/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_06_3011.jpg', '/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_10_3766.jpg', '/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_13_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_32_1543.jpg
/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_34_1633.jpg
/home/pi/Desktop/images/04112025/14/21/image_04112025_14_21_59_25185.jpg
/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_06_3011.jpg
/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_10_3766.jpg
/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_13_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":["1399372470","1399372472","1399372466","1399372469","1399372462","1399372468"],"photo_ids_order":["1399372462","1399372466","1399372468","1399372469","1399372470","1399372472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/95c665f43ea7cee7e9482f325295b36c.jpg","text":"TemporaryFile(/tmp/multipartBody6838543834600149441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733803079,"filename":"image_04112025_14_24_10_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cae9ab775c2964b3ae5cdf38376cd532.jpg","text":"TemporaryFile(/tmp/multipartBody7871277269207400809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733803079,"filename":"image_04112025_14_24_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/12/14/0935fdc20f292013067e72aa5281ed59.jpg","text":"TemporaryFile(/tmp/multipartBody3795846985626959974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733803079,"filename":"image_04112025_14_21_34_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d52425f96fbae1a912e4c008dc670240.jpg","text":"TemporaryFile(/tmp/multipartBody2897023794867207530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733803079,"filename":"image_04112025_14_24_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eab34ebac47cb8e8ac0c343c9f8890bf.jpg","text":"TemporaryFile(/tmp/multipartBody4303591070948522782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733803079,"filename":"image_04112025_14_21_32_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/965d6b048ef9aee47efffbba9e7a3c40.jpg","text":"TemporaryFile(/tmp/multipartBody4810330992189762305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733803079,"filename":"image_04112025_14_21_59_25185.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372468","file1":"1399372466","file0":"1399372462","file4":"1399372470","file5":"1399372472","file3":"1399372469"},"map_files_photo_id_array":[{"photo_id":"1399372472","filename":"file5"},{"photo_id":"1399372468","filename":"file2"},{"photo_id":"1399372470","filename":"file4"},{"photo_id":"1399372466","filename":"file1"},{"photo_id":"1399372462","filename":"file0"},{"photo_id":"1399372469","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372470":["hashtag1","hashtag2"]},{"1399372472":["hashtag1","hashtag2"]},{"1399372466":["hashtag1","hashtag2"]},{"1399372469":["hashtag1","hashtag2"]},{"1399372462":["hashtag1","hashtag2"]},{"1399372468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372470, 1399372472, 1399372466, 1399372469, 1399372462, 1399372468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.582744121551514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:36:22.665581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/34/image_14122025_18_34_45_9706.jpg', '/home/pi/Desktop/images/14122025/18/34/image_14122025_18_34_55_9659.jpg', '/home/pi/Desktop/images/14122025/18/36/image_14122025_18_36_35_10662.jpg', '/home/pi/Desktop/images/14122025/18/36/image_14122025_18_36_45_9567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/34/image_14122025_18_34_45_9706.jpg
/home/pi/Desktop/images/14122025/18/34/image_14122025_18_34_55_9659.jpg
/home/pi/Desktop/images/14122025/18/36/image_14122025_18_36_35_10662.jpg
/home/pi/Desktop/images/14122025/18/36/image_14122025_18_36_45_9567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372479","1399372481","1399372475","1399372477"],"photo_ids_order":["1399372475","1399372477","1399372479","1399372481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0968787461829a650ec895779cc16d1a.jpg","text":"TemporaryFile(/tmp/multipartBody2424690873893263975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733843195,"filename":"image_14122025_18_36_35_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a8c475ca2baffe8d2db7477d7c735832.jpg","text":"TemporaryFile(/tmp/multipartBody725037891280570921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733843195,"filename":"image_14122025_18_36_45_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a661538df646520f4220aef584bd680a.jpg","text":"TemporaryFile(/tmp/multipartBody3904074833402284605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733843195,"filename":"image_14122025_18_34_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9aeac85e2179982861d3a4efa0db6cf3.jpg","text":"TemporaryFile(/tmp/multipartBody652720188317326659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733843195,"filename":"image_14122025_18_34_55_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372479","file1":"1399372477","file0":"1399372475","file3":"1399372481"},"map_files_photo_id_array":[{"photo_id":"1399372479","filename":"file2"},{"photo_id":"1399372477","filename":"file1"},{"photo_id":"1399372475","filename":"file0"},{"photo_id":"1399372481","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372479":["hashtag1","hashtag2"]},{"1399372481":["hashtag1","hashtag2"]},{"1399372475":["hashtag1","hashtag2"]},{"1399372477":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372479, 1399372481, 1399372475, 1399372477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.155685901641846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:37:02.578589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 18:37:11.893321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:37:23.200029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/36/image_14122025_18_36_55_9714.jpg', '/home/pi/Desktop/images/14122025/18/36/image_14122025_18_37_05_10806.jpg', '/home/pi/Desktop/images/14122025/18/37/image_14122025_18_37_15_9803.jpg', '/home/pi/Desktop/images/14122025/18/37/image_14122025_18_37_34_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/36/image_14122025_18_36_55_9714.jpg
/home/pi/Desktop/images/14122025/18/36/image_14122025_18_37_05_10806.jpg
/home/pi/Desktop/images/14122025/18/37/image_14122025_18_37_15_9803.jpg
/home/pi/Desktop/images/14122025/18/37/image_14122025_18_37_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":["1399372485","1399372490","1399372487","1399372489"],"photo_ids_order":["1399372485","1399372487","1399372489","1399372490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ca2ad191532b1169df58cf57c9bcf8c2.jpg","text":"TemporaryFile(/tmp/multipartBody6777952941040339017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733903736,"filename":"image_14122025_18_36_55_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/67aa66a6ffde72bd6dad951095b8a333.jpg","text":"TemporaryFile(/tmp/multipartBody510595660572408442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733903736,"filename":"image_14122025_18_37_34_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/11f627bdac2a1f0a30f6bab64009a932.jpg","text":"TemporaryFile(/tmp/multipartBody4256261070107105430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733903736,"filename":"image_14122025_18_37_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/12/14/cecfcd161f459316495e048636d4b7d0.jpg","text":"TemporaryFile(/tmp/multipartBody6661571935138730377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733903736,"filename":"image_14122025_18_37_15_9803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372489","file1":"1399372487","file0":"1399372485","file3":"1399372490"},"map_files_photo_id_array":[{"photo_id":"1399372489","filename":"file2"},{"photo_id":"1399372487","filename":"file1"},{"photo_id":"1399372485","filename":"file0"},{"photo_id":"1399372490","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372485":["hashtag1","hashtag2"]},{"1399372490":["hashtag1","hashtag2"]},{"1399372487":["hashtag1","hashtag2"]},{"1399372489":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372485, 1399372490, 1399372487, 1399372489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.218424320220947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:38:02.904003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 18:38:12.445155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:38:22.471106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/37/image_14122025_18_37_55_9552.jpg', '/home/pi/Desktop/images/14122025/18/37/image_14122025_18_38_04_9640.jpg', '/home/pi/Desktop/images/14122025/18/38/image_14122025_18_38_15_10724.jpg', '/home/pi/Desktop/images/14122025/18/38/image_14122025_18_38_25_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/37/image_14122025_18_37_55_9552.jpg
/home/pi/Desktop/images/14122025/18/37/image_14122025_18_38_04_9640.jpg
/home/pi/Desktop/images/14122025/18/38/image_14122025_18_38_15_10724.jpg
/home/pi/Desktop/images/14122025/18/38/image_14122025_18_38_25_9704.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4241518974304199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 18:38:32.454863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:38:42.422445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_16_2648.jpg', '/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_19_3571.jpg', '/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_22_2635.jpg', '/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_24_2616.jpg', '/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_28_3748.jpg', '/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_31_2972.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_16_2648.jpg
/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_19_3571.jpg
/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_22_2635.jpg
/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_24_2616.jpg
/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_28_3748.jpg
/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_31_2972.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372515","1399372517","1399372505","1399372514","1399372513","1399372516"],"photo_ids_order":["1399372505","1399372513","1399372514","1399372515","1399372516","1399372517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b52554e7e2d78d5156afd5e7353853da.jpg","text":"TemporaryFile(/tmp/multipartBody7559831277365804365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733983148,"filename":"image_04112025_14_24_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/12/14/95dab5c285a2b7b01c55d279abc0454c.jpg","text":"TemporaryFile(/tmp/multipartBody6968866767855780814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733983148,"filename":"image_04112025_14_24_31_2972.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f59195433b3fd6bd4596cde6ffdc534b.jpg","text":"TemporaryFile(/tmp/multipartBody801685046652712716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733983148,"filename":"image_04112025_14_24_16_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/783ac013e8df087de409aa3cf09c2ddd.jpg","text":"TemporaryFile(/tmp/multipartBody3105493176423230699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733983148,"filename":"image_04112025_14_24_22_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d759dbf5f66718f6b8baa63940e173cd.jpg","text":"TemporaryFile(/tmp/multipartBody711939092519089909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733983148,"filename":"image_04112025_14_24_19_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ead9431320c315551b8ebbf178689599.jpg","text":"TemporaryFile(/tmp/multipartBody4448249276727320300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765733983148,"filename":"image_04112025_14_24_28_3748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372514","file1":"1399372513","file0":"1399372505","file4":"1399372516","file5":"1399372517","file3":"1399372515"},"map_files_photo_id_array":[{"photo_id":"1399372517","filename":"file5"},{"photo_id":"1399372514","filename":"file2"},{"photo_id":"1399372516","filename":"file4"},{"photo_id":"1399372513","filename":"file1"},{"photo_id":"1399372505","filename":"file0"},{"photo_id":"1399372515","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372515":["hashtag1","hashtag2"]},{"1399372517":["hashtag1","hashtag2"]},{"1399372505":["hashtag1","hashtag2"]},{"1399372514":["hashtag1","hashtag2"]},{"1399372513":["hashtag1","hashtag2"]},{"1399372516":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372515, 1399372517, 1399372505, 1399372514, 1399372513, 1399372516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.662118673324585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:39:22.698980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/37/image_14122025_18_37_55_9552.jpg', '/home/pi/Desktop/images/14122025/18/37/image_14122025_18_38_04_9640.jpg', '/home/pi/Desktop/images/14122025/18/38/image_14122025_18_38_15_10724.jpg', '/home/pi/Desktop/images/14122025/18/38/image_14122025_18_38_25_9704.jpg', '/home/pi/Desktop/images/14122025/18/38/image_14122025_18_38_34_9652.jpg', '/home/pi/Desktop/images/14122025/18/38/image_14122025_18_39_05_10797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/37/image_14122025_18_37_55_9552.jpg
/home/pi/Desktop/images/14122025/18/37/image_14122025_18_38_04_9640.jpg
/home/pi/Desktop/images/14122025/18/38/image_14122025_18_38_15_10724.jpg
/home/pi/Desktop/images/14122025/18/38/image_14122025_18_38_25_9704.jpg
/home/pi/Desktop/images/14122025/18/38/image_14122025_18_38_34_9652.jpg
/home/pi/Desktop/images/14122025/18/38/image_14122025_18_39_05_10797.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5022344589233398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 18:39:32.721454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:39:42.662788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_34_2540.jpg', '/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_37_3636.jpg', '/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_40_2583.jpg', '/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_43_2673.jpg', '/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_46_3757.jpg', '/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_49_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_34_2540.jpg
/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_37_3636.jpg
/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_40_2583.jpg
/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_43_2673.jpg
/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_46_3757.jpg
/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_49_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":["1399372530","1399372533","1399372532","1399372531","1399372534","1399372528"],"photo_ids_order":["1399372528","1399372530","1399372531","1399372532","1399372533","1399372534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/697f26ac668014b9dca0c09ac00f2c71.jpg","text":"TemporaryFile(/tmp/multipartBody3554032637759905241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734043385,"filename":"image_04112025_14_24_37_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2f14cddb95d2a2c5e410fb62bac74f0.jpg","text":"TemporaryFile(/tmp/multipartBody1835003805962734255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734043385,"filename":"image_04112025_14_24_46_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7338bcc43b09e01df2cdf3ce76a91ec7.jpg","text":"TemporaryFile(/tmp/multipartBody8660322605712292568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734043385,"filename":"image_04112025_14_24_43_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f0590eb057d96196dc16ef63f9b9823d.jpg","text":"TemporaryFile(/tmp/multipartBody2770055627971081169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734043385,"filename":"image_04112025_14_24_40_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be7a6122d44695a2c7df391fd73ff0a6.jpg","text":"TemporaryFile(/tmp/multipartBody4849126415532266540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734043385,"filename":"image_04112025_14_24_49_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3a75e30c1677439eb622a0d4f5f0607b.jpg","text":"TemporaryFile(/tmp/multipartBody8015816781374044843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734043385,"filename":"image_04112025_14_24_34_2540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372531","file1":"1399372530","file0":"1399372528","file4":"1399372533","file5":"1399372534","file3":"1399372532"},"map_files_photo_id_array":[{"photo_id":"1399372534","filename":"file5"},{"photo_id":"1399372531","filename":"file2"},{"photo_id":"1399372533","filename":"file4"},{"photo_id":"1399372530","filename":"file1"},{"photo_id":"1399372528","filename":"file0"},{"photo_id":"1399372532","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372530":["hashtag1","hashtag2"]},{"1399372533":["hashtag1","hashtag2"]},{"1399372532":["hashtag1","hashtag2"]},{"1399372531":["hashtag1","hashtag2"]},{"1399372534":["hashtag1","hashtag2"]},{"1399372528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372530, 1399372533, 1399372532, 1399372531, 1399372534, 1399372528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93775129318237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:40:21.956959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/37/image_14122025_18_37_55_9552.jpg', '/home/pi/Desktop/images/14122025/18/37/image_14122025_18_38_04_9640.jpg', '/home/pi/Desktop/images/14122025/18/38/image_14122025_18_38_15_10724.jpg', '/home/pi/Desktop/images/14122025/18/38/image_14122025_18_38_25_9704.jpg', '/home/pi/Desktop/images/14122025/18/38/image_14122025_18_38_34_9652.jpg', '/home/pi/Desktop/images/14122025/18/38/image_14122025_18_39_05_10797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/37/image_14122025_18_37_55_9552.jpg
/home/pi/Desktop/images/14122025/18/37/image_14122025_18_38_04_9640.jpg
/home/pi/Desktop/images/14122025/18/38/image_14122025_18_38_15_10724.jpg
/home/pi/Desktop/images/14122025/18/38/image_14122025_18_38_25_9704.jpg
/home/pi/Desktop/images/14122025/18/38/image_14122025_18_38_34_9652.jpg
/home/pi/Desktop/images/14122025/18/38/image_14122025_18_39_05_10797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372542","1399372535","1399372544","1399372546","1399372540","1399372537"],"photo_ids_order":["1399372535","1399372537","1399372540","1399372542","1399372544","1399372546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8bfe791d870a1c4e06861b6542bef260.jpg","text":"TemporaryFile(/tmp/multipartBody2502845838151831298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734082613,"filename":"image_14122025_18_38_25_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/55be8c1349722dc1702b641ec7e5d3d4.jpg","text":"TemporaryFile(/tmp/multipartBody9216609839091814617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734082613,"filename":"image_14122025_18_37_55_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9328aafd9857ae63a9ff0f6e361cfa99.jpg","text":"TemporaryFile(/tmp/multipartBody3468071653538150494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734082613,"filename":"image_14122025_18_38_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/036fe7c1dd73f03a40d1a4f2558b8876.jpg","text":"TemporaryFile(/tmp/multipartBody8379424408109245716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734082613,"filename":"image_14122025_18_39_05_10797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b0f4b8b9f929f34fb78286522e66cc77.jpg","text":"TemporaryFile(/tmp/multipartBody838105778019070248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734082613,"filename":"image_14122025_18_38_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/12/14/d7e117bc7e32ec313a5ad8263665ee49.jpg","text":"TemporaryFile(/tmp/multipartBody6158315403631768510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734082613,"filename":"image_14122025_18_38_04_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372540","file1":"1399372537","file0":"1399372535","file4":"1399372544","file5":"1399372546","file3":"1399372542"},"map_files_photo_id_array":[{"photo_id":"1399372546","filename":"file5"},{"photo_id":"1399372540","filename":"file2"},{"photo_id":"1399372544","filename":"file4"},{"photo_id":"1399372537","filename":"file1"},{"photo_id":"1399372535","filename":"file0"},{"photo_id":"1399372542","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372542":["hashtag1","hashtag2"]},{"1399372535":["hashtag1","hashtag2"]},{"1399372544":["hashtag1","hashtag2"]},{"1399372546":["hashtag1","hashtag2"]},{"1399372540":["hashtag1","hashtag2"]},{"1399372537":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372542, 1399372535, 1399372544, 1399372546, 1399372540, 1399372537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61498403549194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:41:02.806040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/39/image_14122025_18_39_15_9643.jpg', '/home/pi/Desktop/images/14122025/18/39/image_14122025_18_39_45_9727.jpg', '/home/pi/Desktop/images/14122025/18/39/image_14122025_18_39_55_9618.jpg', '/home/pi/Desktop/images/14122025/18/39/image_14122025_18_40_05_10601.jpg', '/home/pi/Desktop/images/14122025/18/40/image_14122025_18_40_15_9767.jpg', '/home/pi/Desktop/images/14122025/18/40/image_14122025_18_40_25_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/39/image_14122025_18_39_15_9643.jpg
/home/pi/Desktop/images/14122025/18/39/image_14122025_18_39_45_9727.jpg
/home/pi/Desktop/images/14122025/18/39/image_14122025_18_39_55_9618.jpg
/home/pi/Desktop/images/14122025/18/39/image_14122025_18_40_05_10601.jpg
/home/pi/Desktop/images/14122025/18/40/image_14122025_18_40_15_9767.jpg
/home/pi/Desktop/images/14122025/18/40/image_14122025_18_40_25_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372554","1399372551","1399372547","1399372550","1399372552","1399372549"],"photo_ids_order":["1399372547","1399372549","1399372550","1399372551","1399372552","1399372554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d02446f88be7146a4e8ed5ba9706a36.jpg","text":"TemporaryFile(/tmp/multipartBody1723666575458673158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734123444,"filename":"image_14122025_18_40_25_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1858cb85a1e440abe1f3e1dc1ac097a4.jpg","text":"TemporaryFile(/tmp/multipartBody3558561444852290765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734123444,"filename":"image_14122025_18_40_05_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/00d09a49d6429fb3dae9fdda773fa938.jpg","text":"TemporaryFile(/tmp/multipartBody8706315631380049317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734123444,"filename":"image_14122025_18_39_15_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a88ff0f62830d40e1b026082a0ee567b.jpg","text":"TemporaryFile(/tmp/multipartBody1844310856470795341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734123444,"filename":"image_14122025_18_39_55_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6854bdb2047e6620db9d8817c6bd2b83.jpg","text":"TemporaryFile(/tmp/multipartBody693574411612913154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734123444,"filename":"image_14122025_18_40_15_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e39aa3a3ed055866843af1e72304d003.jpg","text":"TemporaryFile(/tmp/multipartBody1586148109541294477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734123444,"filename":"image_14122025_18_39_45_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372550","file1":"1399372549","file0":"1399372547","file4":"1399372552","file5":"1399372554","file3":"1399372551"},"map_files_photo_id_array":[{"photo_id":"1399372554","filename":"file5"},{"photo_id":"1399372550","filename":"file2"},{"photo_id":"1399372552","filename":"file4"},{"photo_id":"1399372549","filename":"file1"},{"photo_id":"1399372547","filename":"file0"},{"photo_id":"1399372551","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372554":["hashtag1","hashtag2"]},{"1399372551":["hashtag1","hashtag2"]},{"1399372547":["hashtag1","hashtag2"]},{"1399372550":["hashtag1","hashtag2"]},{"1399372552":["hashtag1","hashtag2"]},{"1399372549":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372554, 1399372551, 1399372547, 1399372550, 1399372552, 1399372549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8696506023407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:41:42.109685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_52_2545.jpg', '/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_54_2696.jpg', '/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_58_3674.jpg', '/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_01_2667.jpg', '/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_03_2648.jpg', '/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_07_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_52_2545.jpg
/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_54_2696.jpg
/home/pi/Desktop/images/04112025/14/24/image_04112025_14_24_58_3674.jpg
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_01_2667.jpg
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_03_2648.jpg
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_07_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":["1399372572","1399372569","1399372557","1399372571","1399372568","1399372570"],"photo_ids_order":["1399372557","1399372568","1399372569","1399372570","1399372571","1399372572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94a9dc32c9133c892ead143c8d80ffb5.jpg","text":"TemporaryFile(/tmp/multipartBody2842385467626075250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734162831,"filename":"image_04112025_14_25_07_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f5fbf815770c0755847b2542a159a409.jpg","text":"TemporaryFile(/tmp/multipartBody7895560585761432342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734162831,"filename":"image_04112025_14_24_58_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b7baa9142ca4289042af759c22496d1.jpg","text":"TemporaryFile(/tmp/multipartBody648014784999554862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734162831,"filename":"image_04112025_14_24_52_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b6950c7c54f51633efd830e2af59190.jpg","text":"TemporaryFile(/tmp/multipartBody6104720418488309625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734162831,"filename":"image_04112025_14_25_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/12/14/818352e9c2c7dcb35eb6b76267c5737c.jpg","text":"TemporaryFile(/tmp/multipartBody1074827462848851257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734162831,"filename":"image_04112025_14_24_54_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69133e084006f45154037cf8ce7824ee.jpg","text":"TemporaryFile(/tmp/multipartBody3425758507444439963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734162831,"filename":"image_04112025_14_25_01_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372569","file1":"1399372568","file0":"1399372557","file4":"1399372571","file5":"1399372572","file3":"1399372570"},"map_files_photo_id_array":[{"photo_id":"1399372572","filename":"file5"},{"photo_id":"1399372569","filename":"file2"},{"photo_id":"1399372571","filename":"file4"},{"photo_id":"1399372568","filename":"file1"},{"photo_id":"1399372557","filename":"file0"},{"photo_id":"1399372570","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372572":["hashtag1","hashtag2"]},{"1399372569":["hashtag1","hashtag2"]},{"1399372557":["hashtag1","hashtag2"]},{"1399372571":["hashtag1","hashtag2"]},{"1399372568":["hashtag1","hashtag2"]},{"1399372570":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372572, 1399372569, 1399372557, 1399372571, 1399372568, 1399372570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79610347747803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:42:22.346965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/40/image_14122025_18_40_34_9661.jpg', '/home/pi/Desktop/images/14122025/18/40/image_14122025_18_41_05_9744.jpg', '/home/pi/Desktop/images/14122025/18/41/image_14122025_18_41_14_9791.jpg', '/home/pi/Desktop/images/14122025/18/41/image_14122025_18_41_25_10663.jpg', '/home/pi/Desktop/images/14122025/18/41/image_14122025_18_41_35_9685.jpg', '/home/pi/Desktop/images/14122025/18/41/image_14122025_18_41_55_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/40/image_14122025_18_40_34_9661.jpg
/home/pi/Desktop/images/14122025/18/40/image_14122025_18_41_05_9744.jpg
/home/pi/Desktop/images/14122025/18/41/image_14122025_18_41_14_9791.jpg
/home/pi/Desktop/images/14122025/18/41/image_14122025_18_41_25_10663.jpg
/home/pi/Desktop/images/14122025/18/41/image_14122025_18_41_35_9685.jpg
/home/pi/Desktop/images/14122025/18/41/image_14122025_18_41_55_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":["1399372581","1399372575","1399372584","1399372577","1399372579","1399372573"],"photo_ids_order":["1399372573","1399372575","1399372577","1399372579","1399372581","1399372584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/66a50221bca1b8b9e689990002129bcf.jpg","text":"TemporaryFile(/tmp/multipartBody8568114617979287966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734202992,"filename":"image_14122025_18_41_35_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/31be1eeb1e76452f72aa128e8830576b.jpg","text":"TemporaryFile(/tmp/multipartBody1148391234887621185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734202992,"filename":"image_14122025_18_41_05_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1bdba3fac24ec7adccf06fcd8ba7abab.jpg","text":"TemporaryFile(/tmp/multipartBody2576467363008256780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734202992,"filename":"image_14122025_18_41_55_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/26e9fddd812f00d504d1874523bc70f5.jpg","text":"TemporaryFile(/tmp/multipartBody7962302260315372588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734202992,"filename":"image_14122025_18_41_14_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7078562365a6257736bdc7725d6c273f.jpg","text":"TemporaryFile(/tmp/multipartBody3695321568024848436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734202992,"filename":"image_14122025_18_41_25_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c62d8d7ddf76000c2da756355da451d5.jpg","text":"TemporaryFile(/tmp/multipartBody1451866999658426014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734202992,"filename":"image_14122025_18_40_34_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372577","file1":"1399372575","file0":"1399372573","file4":"1399372581","file5":"1399372584","file3":"1399372579"},"map_files_photo_id_array":[{"photo_id":"1399372584","filename":"file5"},{"photo_id":"1399372577","filename":"file2"},{"photo_id":"1399372581","filename":"file4"},{"photo_id":"1399372575","filename":"file1"},{"photo_id":"1399372573","filename":"file0"},{"photo_id":"1399372579","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372581":["hashtag1","hashtag2"]},{"1399372575":["hashtag1","hashtag2"]},{"1399372584":["hashtag1","hashtag2"]},{"1399372577":["hashtag1","hashtag2"]},{"1399372579":["hashtag1","hashtag2"]},{"1399372573":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372581, 1399372575, 1399372584, 1399372577, 1399372579, 1399372573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55654811859131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:43:03.282242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/41/image_14122025_18_42_05_9784.jpg', '/home/pi/Desktop/images/14122025/18/42/image_14122025_18_42_14_9562.jpg', '/home/pi/Desktop/images/14122025/18/42/image_14122025_18_42_25_10747.jpg', '/home/pi/Desktop/images/14122025/18/42/image_14122025_18_42_35_9601.jpg', '/home/pi/Desktop/images/14122025/18/42/image_14122025_18_42_44_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/41/image_14122025_18_42_05_9784.jpg
/home/pi/Desktop/images/14122025/18/42/image_14122025_18_42_14_9562.jpg
/home/pi/Desktop/images/14122025/18/42/image_14122025_18_42_25_10747.jpg
/home/pi/Desktop/images/14122025/18/42/image_14122025_18_42_35_9601.jpg
/home/pi/Desktop/images/14122025/18/42/image_14122025_18_42_44_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372593","1399372592","1399372589","1399372591","1399372590"],"photo_ids_order":["1399372589","1399372590","1399372591","1399372592","1399372593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/87dda0b5b56fceb3b354290e51983f16.jpg","text":"TemporaryFile(/tmp/multipartBody22645036312670162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734243913,"filename":"image_14122025_18_42_44_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e1a3e9a47fabb50434d319de31954986.jpg","text":"TemporaryFile(/tmp/multipartBody5650181818104590725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734243913,"filename":"image_14122025_18_42_35_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f6447b22337e264d20a1c1f3f063792.jpg","text":"TemporaryFile(/tmp/multipartBody1549912863132090591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734243913,"filename":"image_14122025_18_42_05_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b40c64008d7a5e16c65d6293ff2c77e.jpg","text":"TemporaryFile(/tmp/multipartBody8821573149624153541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734243913,"filename":"image_14122025_18_42_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/12/14/6731ce93226afb46549290754c4b2991.jpg","text":"TemporaryFile(/tmp/multipartBody7705115260436453255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734243913,"filename":"image_14122025_18_42_14_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372591","file1":"1399372590","file0":"1399372589","file4":"1399372593","file3":"1399372592"},"map_files_photo_id_array":[{"photo_id":"1399372591","filename":"file2"},{"photo_id":"1399372593","filename":"file4"},{"photo_id":"1399372590","filename":"file1"},{"photo_id":"1399372589","filename":"file0"},{"photo_id":"1399372592","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372593":["hashtag1","hashtag2"]},{"1399372592":["hashtag1","hashtag2"]},{"1399372589":["hashtag1","hashtag2"]},{"1399372591":["hashtag1","hashtag2"]},{"1399372590":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372593, 1399372592, 1399372589, 1399372591, 1399372590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.37052631378174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:43:42.700917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_10_2687.jpg', '/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_12_2733.jpg', '/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_16_3716.jpg', '/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_19_2714.jpg', '/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_25_3681.jpg', '/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_40_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_10_2687.jpg
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_12_2733.jpg
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_16_3716.jpg
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_19_2714.jpg
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_25_3681.jpg
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_40_2787.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.608393669128418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:44:02.742664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/42/image_14122025_18_42_54_9920.jpg', '/home/pi/Desktop/images/14122025/18/42/image_14122025_18_43_05_10963.jpg', '/home/pi/Desktop/images/14122025/18/43/image_14122025_18_43_15_9784.jpg', '/home/pi/Desktop/images/14122025/18/43/image_14122025_18_43_25_9693.jpg', '/home/pi/Desktop/images/14122025/18/43/image_14122025_18_43_34_9529.jpg', '/home/pi/Desktop/images/14122025/18/43/image_14122025_18_43_45_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/42/image_14122025_18_42_54_9920.jpg
/home/pi/Desktop/images/14122025/18/42/image_14122025_18_43_05_10963.jpg
/home/pi/Desktop/images/14122025/18/43/image_14122025_18_43_15_9784.jpg
/home/pi/Desktop/images/14122025/18/43/image_14122025_18_43_25_9693.jpg
/home/pi/Desktop/images/14122025/18/43/image_14122025_18_43_34_9529.jpg
/home/pi/Desktop/images/14122025/18/43/image_14122025_18_43_45_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":["1399372605","1399372608","1399372610","1399372612","1399372606","1399372609"],"photo_ids_order":["1399372605","1399372606","1399372608","1399372609","1399372610","1399372612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f7adac7cea82051f7518d4d093652354.jpg","text":"TemporaryFile(/tmp/multipartBody5920750243954071810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734303462,"filename":"image_14122025_18_42_54_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/769722bb0976aaac4ab453ac436a9e3f.jpg","text":"TemporaryFile(/tmp/multipartBody8872782437244595036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734303462,"filename":"image_14122025_18_43_15_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e04fad1481ccd4c39fbe048b0725f964.jpg","text":"TemporaryFile(/tmp/multipartBody825905722183066324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734303462,"filename":"image_14122025_18_43_34_9529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d82e08da63fcb3cb2385ed26adb2d23c.jpg","text":"TemporaryFile(/tmp/multipartBody1337297865766766801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734303462,"filename":"image_14122025_18_43_45_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d1c923a4efddeede57fbb0e3bc83e05a.jpg","text":"TemporaryFile(/tmp/multipartBody6371320181935528461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734303462,"filename":"image_14122025_18_43_05_10963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0aa6e43522bf0a0a30f28383c8cf54a8.jpg","text":"TemporaryFile(/tmp/multipartBody2869435542977008313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734303462,"filename":"image_14122025_18_43_25_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372608","file1":"1399372606","file0":"1399372605","file4":"1399372610","file5":"1399372612","file3":"1399372609"},"map_files_photo_id_array":[{"photo_id":"1399372612","filename":"file5"},{"photo_id":"1399372608","filename":"file2"},{"photo_id":"1399372610","filename":"file4"},{"photo_id":"1399372606","filename":"file1"},{"photo_id":"1399372605","filename":"file0"},{"photo_id":"1399372609","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372605":["hashtag1","hashtag2"]},{"1399372608":["hashtag1","hashtag2"]},{"1399372610":["hashtag1","hashtag2"]},{"1399372612":["hashtag1","hashtag2"]},{"1399372606":["hashtag1","hashtag2"]},{"1399372609":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372605, 1399372608, 1399372610, 1399372612, 1399372606, 1399372609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.614420890808105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:44:41.968128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_10_2687.jpg', '/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_12_2733.jpg', '/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_16_3716.jpg', '/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_19_2714.jpg', '/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_25_3681.jpg', '/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_40_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_10_2687.jpg
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_12_2733.jpg
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_16_3716.jpg
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_19_2714.jpg
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_25_3681.jpg
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_40_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":["1399372632","1399372629","1399372631","1399372619","1399372630","1399372621"],"photo_ids_order":["1399372619","1399372621","1399372629","1399372630","1399372631","1399372632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/10379405a4e603a82fbceb6fcadf2900.jpg","text":"TemporaryFile(/tmp/multipartBody2904889045399177786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734342561,"filename":"image_04112025_14_25_40_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3540538f2bac5865289c01e690b2c900.jpg","text":"TemporaryFile(/tmp/multipartBody4204629487877371507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734342561,"filename":"image_04112025_14_25_16_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/07b717bd45ba8d50f0b3a89b75f047b1.jpg","text":"TemporaryFile(/tmp/multipartBody2918922989404380743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734342561,"filename":"image_04112025_14_25_25_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/666ec0176f86336a382001e41f366ae0.jpg","text":"TemporaryFile(/tmp/multipartBody2927335890153884151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734342561,"filename":"image_04112025_14_25_10_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90d7ae3d7bb64a54e5375f3b43812fe9.jpg","text":"TemporaryFile(/tmp/multipartBody8923811530421815532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734342561,"filename":"image_04112025_14_25_19_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3c9ab546a043a69ddcd2e9a82dbcf9c.jpg","text":"TemporaryFile(/tmp/multipartBody8537713115476922083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734342561,"filename":"image_04112025_14_25_12_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372629","file1":"1399372621","file0":"1399372619","file4":"1399372631","file5":"1399372632","file3":"1399372630"},"map_files_photo_id_array":[{"photo_id":"1399372632","filename":"file5"},{"photo_id":"1399372629","filename":"file2"},{"photo_id":"1399372631","filename":"file4"},{"photo_id":"1399372621","filename":"file1"},{"photo_id":"1399372619","filename":"file0"},{"photo_id":"1399372630","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372632":["hashtag1","hashtag2"]},{"1399372629":["hashtag1","hashtag2"]},{"1399372631":["hashtag1","hashtag2"]},{"1399372619":["hashtag1","hashtag2"]},{"1399372630":["hashtag1","hashtag2"]},{"1399372621":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372632, 1399372629, 1399372631, 1399372619, 1399372630, 1399372621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.051517486572266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:45:22.273937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/43/image_14122025_18_43_55_9694.jpg', '/home/pi/Desktop/images/14122025/18/43/image_14122025_18_44_04_9722.jpg', '/home/pi/Desktop/images/14122025/18/44/image_14122025_18_44_25_9935.jpg', '/home/pi/Desktop/images/14122025/18/44/image_14122025_18_44_44_9617.jpg', '/home/pi/Desktop/images/14122025/18/44/image_14122025_18_44_55_10607.jpg', '/home/pi/Desktop/images/14122025/18/44/image_14122025_18_45_05_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/43/image_14122025_18_43_55_9694.jpg
/home/pi/Desktop/images/14122025/18/43/image_14122025_18_44_04_9722.jpg
/home/pi/Desktop/images/14122025/18/44/image_14122025_18_44_25_9935.jpg
/home/pi/Desktop/images/14122025/18/44/image_14122025_18_44_44_9617.jpg
/home/pi/Desktop/images/14122025/18/44/image_14122025_18_44_55_10607.jpg
/home/pi/Desktop/images/14122025/18/44/image_14122025_18_45_05_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372641","1399372635","1399372644","1399372637","1399372639","1399372633"],"photo_ids_order":["1399372633","1399372635","1399372637","1399372639","1399372641","1399372644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2916970334a8f392677a8188ab33e64b.jpg","text":"TemporaryFile(/tmp/multipartBody3371098449774874466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734382875,"filename":"image_14122025_18_44_55_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ff68a697f4663bf16360c490e298f868.jpg","text":"TemporaryFile(/tmp/multipartBody5807867917231567528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734382875,"filename":"image_14122025_18_44_04_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/398ea7adf9a456a4b69f7676b98c8d8c.jpg","text":"TemporaryFile(/tmp/multipartBody477321327179151331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734382875,"filename":"image_14122025_18_45_05_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7771d95c0b039cb4013edc04436f0a93.jpg","text":"TemporaryFile(/tmp/multipartBody6196696019612973007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734382875,"filename":"image_14122025_18_44_25_9935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ea23a2ef4bc9381d881814de8a68c7a9.jpg","text":"TemporaryFile(/tmp/multipartBody4025288627420271804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734382875,"filename":"image_14122025_18_44_44_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bca1833f23d98591a32d8bf8817153a8.jpg","text":"TemporaryFile(/tmp/multipartBody229806069708177715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734382875,"filename":"image_14122025_18_43_55_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372637","file1":"1399372635","file0":"1399372633","file4":"1399372641","file5":"1399372644","file3":"1399372639"},"map_files_photo_id_array":[{"photo_id":"1399372644","filename":"file5"},{"photo_id":"1399372637","filename":"file2"},{"photo_id":"1399372641","filename":"file4"},{"photo_id":"1399372635","filename":"file1"},{"photo_id":"1399372633","filename":"file0"},{"photo_id":"1399372639","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372641":["hashtag1","hashtag2"]},{"1399372635":["hashtag1","hashtag2"]},{"1399372644":["hashtag1","hashtag2"]},{"1399372637":["hashtag1","hashtag2"]},{"1399372639":["hashtag1","hashtag2"]},{"1399372633":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372641, 1399372635, 1399372644, 1399372637, 1399372639, 1399372633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52626371383667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:46:02.996547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/45/image_14122025_18_45_14_9768.jpg', '/home/pi/Desktop/images/14122025/18/45/image_14122025_18_45_25_10650.jpg', '/home/pi/Desktop/images/14122025/18/45/image_14122025_18_45_45_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/45/image_14122025_18_45_14_9768.jpg
/home/pi/Desktop/images/14122025/18/45/image_14122025_18_45_25_10650.jpg
/home/pi/Desktop/images/14122025/18/45/image_14122025_18_45_45_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372647","1399372649","1399372648"],"photo_ids_order":["1399372647","1399372648","1399372649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/08a5946c4961412a42d9f50721a2b50c.jpg","text":"TemporaryFile(/tmp/multipartBody3706326160301724804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734423492,"filename":"image_14122025_18_45_14_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ebf52974b96b31566a597c02f20acaf2.jpg","text":"TemporaryFile(/tmp/multipartBody5442365308027685250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734423492,"filename":"image_14122025_18_45_45_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ab7bfec1bb8986e15b6af94b4dfd6326.jpg","text":"TemporaryFile(/tmp/multipartBody8878862756205614562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734423492,"filename":"image_14122025_18_45_25_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372649","file1":"1399372648","file0":"1399372647"},"map_files_photo_id_array":[{"photo_id":"1399372649","filename":"file2"},{"photo_id":"1399372648","filename":"file1"},{"photo_id":"1399372647","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372647":["hashtag1","hashtag2"]},{"1399372649":["hashtag1","hashtag2"]},{"1399372648":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372647, 1399372649, 1399372648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.102672576904297 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 18:46:32.431298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:46:42.479430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_43_3539.jpg', '/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_46_2717.jpg', '/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_49_2712.jpg', '/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_51_2733.jpg', '/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_55_3719.jpg', '/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_58_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_43_3539.jpg
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_46_2717.jpg
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_49_2712.jpg
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_51_2733.jpg
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_55_3719.jpg
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_25_58_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":["1399372656","1399372659","1399372658","1399372661","1399372660","1399372657"],"photo_ids_order":["1399372656","1399372657","1399372658","1399372659","1399372660","1399372661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2bd601cfe6aad4e8c613858febccdf06.jpg","text":"TemporaryFile(/tmp/multipartBody4666303335440175060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734463231,"filename":"image_04112025_14_25_43_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b846477fdc10b5980219fa2e44136bb.jpg","text":"TemporaryFile(/tmp/multipartBody454974980561122683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734463231,"filename":"image_04112025_14_25_51_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da7c2a4e2a9cb11956362e5e77b83d60.jpg","text":"TemporaryFile(/tmp/multipartBody1993757100371838216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734463231,"filename":"image_04112025_14_25_49_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0300a9814a3d7b8ac1f62e8f7a2d3ad1.jpg","text":"TemporaryFile(/tmp/multipartBody5944938323496137878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734463231,"filename":"image_04112025_14_25_58_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ea1e7825ecd2b202b7e438718a40d6e.jpg","text":"TemporaryFile(/tmp/multipartBody2444876552096469534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734463231,"filename":"image_04112025_14_25_55_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9acecce28202d2bc356ee74ed65af573.jpg","text":"TemporaryFile(/tmp/multipartBody1479296011708608090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734463231,"filename":"image_04112025_14_25_46_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372658","file1":"1399372657","file0":"1399372656","file4":"1399372660","file5":"1399372661","file3":"1399372659"},"map_files_photo_id_array":[{"photo_id":"1399372661","filename":"file5"},{"photo_id":"1399372658","filename":"file2"},{"photo_id":"1399372660","filename":"file4"},{"photo_id":"1399372657","filename":"file1"},{"photo_id":"1399372656","filename":"file0"},{"photo_id":"1399372659","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372656":["hashtag1","hashtag2"]},{"1399372659":["hashtag1","hashtag2"]},{"1399372658":["hashtag1","hashtag2"]},{"1399372661":["hashtag1","hashtag2"]},{"1399372660":["hashtag1","hashtag2"]},{"1399372657":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372656, 1399372659, 1399372658, 1399372661, 1399372660, 1399372657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54916572570801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:47:22.805141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/45/image_14122025_18_45_55_10724.jpg', '/home/pi/Desktop/images/14122025/18/45/image_14122025_18_46_05_9672.jpg', '/home/pi/Desktop/images/14122025/18/46/image_14122025_18_46_15_9721.jpg', '/home/pi/Desktop/images/14122025/18/46/image_14122025_18_46_24_9659.jpg', '/home/pi/Desktop/images/14122025/18/46/image_14122025_18_46_35_10697.jpg', '/home/pi/Desktop/images/14122025/18/46/image_14122025_18_46_45_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/45/image_14122025_18_45_55_10724.jpg
/home/pi/Desktop/images/14122025/18/45/image_14122025_18_46_05_9672.jpg
/home/pi/Desktop/images/14122025/18/46/image_14122025_18_46_15_9721.jpg
/home/pi/Desktop/images/14122025/18/46/image_14122025_18_46_24_9659.jpg
/home/pi/Desktop/images/14122025/18/46/image_14122025_18_46_35_10697.jpg
/home/pi/Desktop/images/14122025/18/46/image_14122025_18_46_45_9616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372671","1399372674","1399372668","1399372665","1399372667","1399372663"],"photo_ids_order":["1399372663","1399372665","1399372667","1399372668","1399372671","1399372674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8413def2f9c61e3da345a198117c1be5.jpg","text":"TemporaryFile(/tmp/multipartBody524010160606141953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734503410,"filename":"image_14122025_18_46_35_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc0073cd9ea0d8c7c279b6f83803f4cb.jpg","text":"TemporaryFile(/tmp/multipartBody8796487207080766489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734503410,"filename":"image_14122025_18_46_45_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/03c079c3edfc1347dfc118d687e54173.jpg","text":"TemporaryFile(/tmp/multipartBody7899359840037523786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734503410,"filename":"image_14122025_18_46_24_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/607d8fc8a8f21d104e57789875188eda.jpg","text":"TemporaryFile(/tmp/multipartBody6565969228969941209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734503410,"filename":"image_14122025_18_46_05_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ac8441d1ccdb241e27b94b0ba95be47.jpg","text":"TemporaryFile(/tmp/multipartBody6437891378396842819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734503410,"filename":"image_14122025_18_46_15_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f28ec8ffbebe379ef7228f7800370c13.jpg","text":"TemporaryFile(/tmp/multipartBody6123594043168983069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734503410,"filename":"image_14122025_18_45_55_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372667","file1":"1399372665","file0":"1399372663","file4":"1399372671","file5":"1399372674","file3":"1399372668"},"map_files_photo_id_array":[{"photo_id":"1399372674","filename":"file5"},{"photo_id":"1399372667","filename":"file2"},{"photo_id":"1399372671","filename":"file4"},{"photo_id":"1399372665","filename":"file1"},{"photo_id":"1399372663","filename":"file0"},{"photo_id":"1399372668","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372671":["hashtag1","hashtag2"]},{"1399372674":["hashtag1","hashtag2"]},{"1399372668":["hashtag1","hashtag2"]},{"1399372665":["hashtag1","hashtag2"]},{"1399372667":["hashtag1","hashtag2"]},{"1399372663":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372671, 1399372674, 1399372668, 1399372665, 1399372667, 1399372663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2379469871521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:48:02.441518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/46/image_14122025_18_46_54_9719.jpg', '/home/pi/Desktop/images/14122025/18/46/image_14122025_18_47_05_10560.jpg', '/home/pi/Desktop/images/14122025/18/47/image_14122025_18_47_15_9778.jpg', '/home/pi/Desktop/images/14122025/18/47/image_14122025_18_47_25_9882.jpg', '/home/pi/Desktop/images/14122025/18/47/image_14122025_18_47_34_9806.jpg', '/home/pi/Desktop/images/14122025/18/47/image_14122025_18_47_45_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/46/image_14122025_18_46_54_9719.jpg
/home/pi/Desktop/images/14122025/18/46/image_14122025_18_47_05_10560.jpg
/home/pi/Desktop/images/14122025/18/47/image_14122025_18_47_15_9778.jpg
/home/pi/Desktop/images/14122025/18/47/image_14122025_18_47_25_9882.jpg
/home/pi/Desktop/images/14122025/18/47/image_14122025_18_47_34_9806.jpg
/home/pi/Desktop/images/14122025/18/47/image_14122025_18_47_45_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":["1399372683","1399372682","1399372685","1399372687","1399372681","1399372684"],"photo_ids_order":["1399372681","1399372682","1399372683","1399372684","1399372685","1399372687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/22f6450be194e94fa18befc01d01d7c0.jpg","text":"TemporaryFile(/tmp/multipartBody2491773869661595318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734543072,"filename":"image_14122025_18_47_15_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/400af69127763cb844d66816e8d53820.jpg","text":"TemporaryFile(/tmp/multipartBody5371325388141782071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734543072,"filename":"image_14122025_18_47_05_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f0dc87165080f080060bc7b6748cd9fa.jpg","text":"TemporaryFile(/tmp/multipartBody8158278072087812817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734543072,"filename":"image_14122025_18_47_34_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a91944df11d02f34be60e0805d62f25.jpg","text":"TemporaryFile(/tmp/multipartBody8304342153136537223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734543072,"filename":"image_14122025_18_47_45_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c3ec9a7d6b662d899f23ef1f7977a2c.jpg","text":"TemporaryFile(/tmp/multipartBody4348057759866980722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734543072,"filename":"image_14122025_18_46_54_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/140404052669d51b7d77aa6d42f48062.jpg","text":"TemporaryFile(/tmp/multipartBody9033134125460942997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734543072,"filename":"image_14122025_18_47_25_9882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372683","file1":"1399372682","file0":"1399372681","file4":"1399372685","file5":"1399372687","file3":"1399372684"},"map_files_photo_id_array":[{"photo_id":"1399372687","filename":"file5"},{"photo_id":"1399372683","filename":"file2"},{"photo_id":"1399372685","filename":"file4"},{"photo_id":"1399372682","filename":"file1"},{"photo_id":"1399372681","filename":"file0"},{"photo_id":"1399372684","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372683":["hashtag1","hashtag2"]},{"1399372682":["hashtag1","hashtag2"]},{"1399372685":["hashtag1","hashtag2"]},{"1399372687":["hashtag1","hashtag2"]},{"1399372681":["hashtag1","hashtag2"]},{"1399372684":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372683, 1399372682, 1399372685, 1399372687, 1399372681, 1399372684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55871844291687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:48:41.971065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/25/image_04112025_14_26_00_2767.jpg', '/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_04_3621.jpg', '/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_07_2626.jpg', '/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_09_2614.jpg', '/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_13_3640.jpg', '/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_16_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_26_00_2767.jpg
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_04_3621.jpg
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_07_2626.jpg
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_09_2614.jpg
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_13_3640.jpg
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_16_2605.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.597771167755127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:49:03.124919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/47/image_14122025_18_47_55_9715.jpg', '/home/pi/Desktop/images/14122025/18/47/image_14122025_18_48_05_9821.jpg', '/home/pi/Desktop/images/14122025/18/48/image_14122025_18_48_15_10697.jpg', '/home/pi/Desktop/images/14122025/18/48/image_14122025_18_48_25_9939.jpg', '/home/pi/Desktop/images/14122025/18/48/image_14122025_18_48_35_9609.jpg', '/home/pi/Desktop/images/14122025/18/48/image_14122025_18_48_45_9898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/47/image_14122025_18_47_55_9715.jpg
/home/pi/Desktop/images/14122025/18/47/image_14122025_18_48_05_9821.jpg
/home/pi/Desktop/images/14122025/18/48/image_14122025_18_48_15_10697.jpg
/home/pi/Desktop/images/14122025/18/48/image_14122025_18_48_25_9939.jpg
/home/pi/Desktop/images/14122025/18/48/image_14122025_18_48_35_9609.jpg
/home/pi/Desktop/images/14122025/18/48/image_14122025_18_48_45_9898.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372702","1399372701","1399372700","1399372703","1399372699","1399372705"],"photo_ids_order":["1399372699","1399372700","1399372701","1399372702","1399372703","1399372705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/228f040e24b2fe4af3b6dbd7e5353240.jpg","text":"TemporaryFile(/tmp/multipartBody6196216499715825707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734603888,"filename":"image_14122025_18_48_25_9939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c97bbe8471bf086bb2267915e6a6a067.jpg","text":"TemporaryFile(/tmp/multipartBody875058238451375237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734603888,"filename":"image_14122025_18_48_15_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0911488399cc49222b8abd7fcda95a57.jpg","text":"TemporaryFile(/tmp/multipartBody7632148504052943053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734603888,"filename":"image_14122025_18_48_05_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b3211ca5c2c3fa6e53f6992ef634564b.jpg","text":"TemporaryFile(/tmp/multipartBody6191699258875397903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734603888,"filename":"image_14122025_18_48_35_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/72f80e38036ecb70202649dd645a90ab.jpg","text":"TemporaryFile(/tmp/multipartBody6202946149579365288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734603888,"filename":"image_14122025_18_47_55_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/98a97f78262d6cbcfeb450a250f16b47.jpg","text":"TemporaryFile(/tmp/multipartBody2908457885617698405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734603888,"filename":"image_14122025_18_48_45_9898.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372701","file1":"1399372700","file0":"1399372699","file4":"1399372703","file5":"1399372705","file3":"1399372702"},"map_files_photo_id_array":[{"photo_id":"1399372705","filename":"file5"},{"photo_id":"1399372701","filename":"file2"},{"photo_id":"1399372703","filename":"file4"},{"photo_id":"1399372700","filename":"file1"},{"photo_id":"1399372699","filename":"file0"},{"photo_id":"1399372702","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372702":["hashtag1","hashtag2"]},{"1399372701":["hashtag1","hashtag2"]},{"1399372700":["hashtag1","hashtag2"]},{"1399372703":["hashtag1","hashtag2"]},{"1399372699":["hashtag1","hashtag2"]},{"1399372705":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372702, 1399372701, 1399372700, 1399372703, 1399372699, 1399372705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.652374267578125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:49:42.193037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/25/image_04112025_14_26_00_2767.jpg', '/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_04_3621.jpg', '/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_07_2626.jpg', '/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_09_2614.jpg', '/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_13_3640.jpg', '/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_16_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/25/image_04112025_14_26_00_2767.jpg
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_04_3621.jpg
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_07_2626.jpg
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_09_2614.jpg
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_13_3640.jpg
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_16_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":["1399372716","1399372710","1399372713","1399372712","1399372711","1399372714"],"photo_ids_order":["1399372710","1399372711","1399372712","1399372713","1399372714","1399372716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c378e0081d1177012b1a49acfa86556.jpg","text":"TemporaryFile(/tmp/multipartBody459311867296507413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734642864,"filename":"image_04112025_14_26_16_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24de52193948eab3ae71087e2d82c4cb.jpg","text":"TemporaryFile(/tmp/multipartBody6037553891537842996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734642864,"filename":"image_04112025_14_26_00_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6cba971a8063563943dcae308788102b.jpg","text":"TemporaryFile(/tmp/multipartBody3516400673090980335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734642864,"filename":"image_04112025_14_26_09_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/baaa9f7f8ac215c4913f548bdd5cf8bc.jpg","text":"TemporaryFile(/tmp/multipartBody3837618059266239630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734642864,"filename":"image_04112025_14_26_07_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/86829a9feda61f374f981c22bf07e1bc.jpg","text":"TemporaryFile(/tmp/multipartBody3193350278057091247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734642864,"filename":"image_04112025_14_26_04_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/49965ddb46d76e95890efa74ef26a46b.jpg","text":"TemporaryFile(/tmp/multipartBody3149493603039234261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734642864,"filename":"image_04112025_14_26_13_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372712","file1":"1399372711","file0":"1399372710","file4":"1399372714","file5":"1399372716","file3":"1399372713"},"map_files_photo_id_array":[{"photo_id":"1399372716","filename":"file5"},{"photo_id":"1399372712","filename":"file2"},{"photo_id":"1399372714","filename":"file4"},{"photo_id":"1399372711","filename":"file1"},{"photo_id":"1399372710","filename":"file0"},{"photo_id":"1399372713","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372716":["hashtag1","hashtag2"]},{"1399372710":["hashtag1","hashtag2"]},{"1399372713":["hashtag1","hashtag2"]},{"1399372712":["hashtag1","hashtag2"]},{"1399372711":["hashtag1","hashtag2"]},{"1399372714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372716, 1399372710, 1399372713, 1399372712, 1399372711, 1399372714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94651556015015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:50:22.400858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/48/image_14122025_18_48_54_9652.jpg', '/home/pi/Desktop/images/14122025/18/48/image_14122025_18_49_05_10806.jpg', '/home/pi/Desktop/images/14122025/18/49/image_14122025_18_49_15_9559.jpg', '/home/pi/Desktop/images/14122025/18/49/image_14122025_18_49_25_9865.jpg', '/home/pi/Desktop/images/14122025/18/49/image_14122025_18_49_35_10072.jpg', '/home/pi/Desktop/images/14122025/18/49/image_14122025_18_49_44_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/48/image_14122025_18_48_54_9652.jpg
/home/pi/Desktop/images/14122025/18/48/image_14122025_18_49_05_10806.jpg
/home/pi/Desktop/images/14122025/18/49/image_14122025_18_49_15_9559.jpg
/home/pi/Desktop/images/14122025/18/49/image_14122025_18_49_25_9865.jpg
/home/pi/Desktop/images/14122025/18/49/image_14122025_18_49_35_10072.jpg
/home/pi/Desktop/images/14122025/18/49/image_14122025_18_49_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":["1399372737","1399372725","1399372719","1399372727","1399372721","1399372723"],"photo_ids_order":["1399372719","1399372721","1399372723","1399372725","1399372727","1399372737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c13bd411706395d450404490a1c2ed1.jpg","text":"TemporaryFile(/tmp/multipartBody8398549211905127407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734682987,"filename":"image_14122025_18_49_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4eca701d84fe20b9a2a5999c94d58486.jpg","text":"TemporaryFile(/tmp/multipartBody3196441777863676151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734682987,"filename":"image_14122025_18_49_25_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe3a409e2d5b96a1a6665ad80f07191f.jpg","text":"TemporaryFile(/tmp/multipartBody8791313319198292617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734682987,"filename":"image_14122025_18_48_54_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a4a5a16817010a52fd50f8c1337467a.jpg","text":"TemporaryFile(/tmp/multipartBody7456470415518815182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734682987,"filename":"image_14122025_18_49_35_10072.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9e143f8210afda2d000f34b96f07de81.jpg","text":"TemporaryFile(/tmp/multipartBody5232603781577291064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734682987,"filename":"image_14122025_18_49_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/12/14/5a4a6901a1469b0179261d4f1339529e.jpg","text":"TemporaryFile(/tmp/multipartBody8463324052920103673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734682987,"filename":"image_14122025_18_49_15_9559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372723","file1":"1399372721","file0":"1399372719","file4":"1399372727","file5":"1399372737","file3":"1399372725"},"map_files_photo_id_array":[{"photo_id":"1399372737","filename":"file5"},{"photo_id":"1399372723","filename":"file2"},{"photo_id":"1399372727","filename":"file4"},{"photo_id":"1399372721","filename":"file1"},{"photo_id":"1399372719","filename":"file0"},{"photo_id":"1399372725","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372737":["hashtag1","hashtag2"]},{"1399372725":["hashtag1","hashtag2"]},{"1399372719":["hashtag1","hashtag2"]},{"1399372727":["hashtag1","hashtag2"]},{"1399372721":["hashtag1","hashtag2"]},{"1399372723":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372737, 1399372725, 1399372719, 1399372727, 1399372721, 1399372723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.115886926651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:51:03.326662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/49/image_14122025_18_49_55_10640.jpg', '/home/pi/Desktop/images/14122025/18/49/image_14122025_18_50_05_9846.jpg', '/home/pi/Desktop/images/14122025/18/50/image_14122025_18_50_15_9839.jpg', '/home/pi/Desktop/images/14122025/18/50/image_14122025_18_50_25_10574.jpg', '/home/pi/Desktop/images/14122025/18/50/image_14122025_18_50_35_9931.jpg', '/home/pi/Desktop/images/14122025/18/50/image_14122025_18_50_45_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/49/image_14122025_18_49_55_10640.jpg
/home/pi/Desktop/images/14122025/18/49/image_14122025_18_50_05_9846.jpg
/home/pi/Desktop/images/14122025/18/50/image_14122025_18_50_15_9839.jpg
/home/pi/Desktop/images/14122025/18/50/image_14122025_18_50_25_10574.jpg
/home/pi/Desktop/images/14122025/18/50/image_14122025_18_50_35_9931.jpg
/home/pi/Desktop/images/14122025/18/50/image_14122025_18_50_45_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":["1399372740","1399372739","1399372742","1399372741","1399372744","1399372738"],"photo_ids_order":["1399372738","1399372739","1399372740","1399372741","1399372742","1399372744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bcbb73d6036125dbacebe1821aa10e1d.jpg","text":"TemporaryFile(/tmp/multipartBody6030351601944710510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734723958,"filename":"image_14122025_18_50_15_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6883a1028820fb6e27a8ecac9ddff0c3.jpg","text":"TemporaryFile(/tmp/multipartBody9176116964293932091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734723958,"filename":"image_14122025_18_50_05_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a26408bc25a81d6a3c95ecb2f4581a6a.jpg","text":"TemporaryFile(/tmp/multipartBody5299328216407614932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734723958,"filename":"image_14122025_18_50_35_9931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13e74de833297a568c5df322f071c0d0.jpg","text":"TemporaryFile(/tmp/multipartBody40349835025973772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734723958,"filename":"image_14122025_18_50_25_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6906b135cbf3865166b53860f6bf73ba.jpg","text":"TemporaryFile(/tmp/multipartBody989459339755794783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734723958,"filename":"image_14122025_18_50_45_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e8138ab0f164946d18c771a9c5f1c8f.jpg","text":"TemporaryFile(/tmp/multipartBody874906850521780910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734723958,"filename":"image_14122025_18_49_55_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372740","file1":"1399372739","file0":"1399372738","file4":"1399372742","file5":"1399372744","file3":"1399372741"},"map_files_photo_id_array":[{"photo_id":"1399372744","filename":"file5"},{"photo_id":"1399372740","filename":"file2"},{"photo_id":"1399372742","filename":"file4"},{"photo_id":"1399372739","filename":"file1"},{"photo_id":"1399372738","filename":"file0"},{"photo_id":"1399372741","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372740":["hashtag1","hashtag2"]},{"1399372739":["hashtag1","hashtag2"]},{"1399372742":["hashtag1","hashtag2"]},{"1399372741":["hashtag1","hashtag2"]},{"1399372744":["hashtag1","hashtag2"]},{"1399372738":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372740, 1399372739, 1399372742, 1399372741, 1399372744, 1399372738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33035755157471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:51:42.640573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_18_2759.jpg', '/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_22_3823.jpg', '/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_25_2598.jpg', '/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_27_2553.jpg', '/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_31_3594.jpg', '/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_34_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_18_2759.jpg
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_22_3823.jpg
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_25_2598.jpg
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_27_2553.jpg
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_31_3594.jpg
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_34_2716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372752","1399372755","1399372754","1399372756","1399372750","1399372753"],"photo_ids_order":["1399372750","1399372752","1399372753","1399372754","1399372755","1399372756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/add0f07538b6744027a593e69d2a28dc.jpg","text":"TemporaryFile(/tmp/multipartBody2082577220710333692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734763349,"filename":"image_04112025_14_26_22_3823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2be8548f23a609f24edb1c7558eff0f5.jpg","text":"TemporaryFile(/tmp/multipartBody2259718624051277231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734763349,"filename":"image_04112025_14_26_31_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fc90888efd40c7cd68048b4913dc0688.jpg","text":"TemporaryFile(/tmp/multipartBody6053857948569430297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734763349,"filename":"image_04112025_14_26_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/12/14/b71314a528a94a122f032d8a96fc8756.jpg","text":"TemporaryFile(/tmp/multipartBody5812948620235492872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734763349,"filename":"image_04112025_14_26_34_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e03db73f26ded446e648126af45fe8d.jpg","text":"TemporaryFile(/tmp/multipartBody4842365197294404986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734763349,"filename":"image_04112025_14_26_18_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/656603b123b532e18b6845e661c9533f.jpg","text":"TemporaryFile(/tmp/multipartBody5747920978906848147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734763349,"filename":"image_04112025_14_26_25_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372753","file1":"1399372752","file0":"1399372750","file4":"1399372755","file5":"1399372756","file3":"1399372754"},"map_files_photo_id_array":[{"photo_id":"1399372756","filename":"file5"},{"photo_id":"1399372753","filename":"file2"},{"photo_id":"1399372755","filename":"file4"},{"photo_id":"1399372752","filename":"file1"},{"photo_id":"1399372750","filename":"file0"},{"photo_id":"1399372754","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372752":["hashtag1","hashtag2"]},{"1399372755":["hashtag1","hashtag2"]},{"1399372754":["hashtag1","hashtag2"]},{"1399372756":["hashtag1","hashtag2"]},{"1399372750":["hashtag1","hashtag2"]},{"1399372753":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372752, 1399372755, 1399372754, 1399372756, 1399372750, 1399372753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15138578414917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:52:22.038125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/50/image_14122025_18_50_55_9628.jpg', '/home/pi/Desktop/images/14122025/18/50/image_14122025_18_51_05_10746.jpg', '/home/pi/Desktop/images/14122025/18/51/image_14122025_18_51_15_9675.jpg', '/home/pi/Desktop/images/14122025/18/51/image_14122025_18_51_25_9583.jpg', '/home/pi/Desktop/images/14122025/18/51/image_14122025_18_51_35_10673.jpg', '/home/pi/Desktop/images/14122025/18/51/image_14122025_18_51_45_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/50/image_14122025_18_50_55_9628.jpg
/home/pi/Desktop/images/14122025/18/50/image_14122025_18_51_05_10746.jpg
/home/pi/Desktop/images/14122025/18/51/image_14122025_18_51_15_9675.jpg
/home/pi/Desktop/images/14122025/18/51/image_14122025_18_51_25_9583.jpg
/home/pi/Desktop/images/14122025/18/51/image_14122025_18_51_35_10673.jpg
/home/pi/Desktop/images/14122025/18/51/image_14122025_18_51_45_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372761","1399372758","1399372763","1399372757","1399372768","1399372765"],"photo_ids_order":["1399372757","1399372758","1399372761","1399372763","1399372765","1399372768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e73cdc305bda7a7a5f191921fbebaee.jpg","text":"TemporaryFile(/tmp/multipartBody6851463186686712017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734802660,"filename":"image_14122025_18_51_15_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bab5abe862ed0bb1db43d1f659aee84f.jpg","text":"TemporaryFile(/tmp/multipartBody7522605584333131165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734802660,"filename":"image_14122025_18_51_05_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d005d973ca32b13e4dc33281be89a16.jpg","text":"TemporaryFile(/tmp/multipartBody6768841019721307621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734802660,"filename":"image_14122025_18_51_25_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e749812a9d434378f1ebb45168daad19.jpg","text":"TemporaryFile(/tmp/multipartBody4637616348487170486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734802660,"filename":"image_14122025_18_50_55_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8fcad8717ecde8909d14b95d26eaca8b.jpg","text":"TemporaryFile(/tmp/multipartBody2313899961515560383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734802660,"filename":"image_14122025_18_51_45_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ad9588d3eabc40a715345ad320656c5.jpg","text":"TemporaryFile(/tmp/multipartBody5437876913174686834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734802660,"filename":"image_14122025_18_51_35_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372761","file1":"1399372758","file0":"1399372757","file4":"1399372765","file5":"1399372768","file3":"1399372763"},"map_files_photo_id_array":[{"photo_id":"1399372768","filename":"file5"},{"photo_id":"1399372761","filename":"file2"},{"photo_id":"1399372765","filename":"file4"},{"photo_id":"1399372758","filename":"file1"},{"photo_id":"1399372757","filename":"file0"},{"photo_id":"1399372763","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372761":["hashtag1","hashtag2"]},{"1399372758":["hashtag1","hashtag2"]},{"1399372763":["hashtag1","hashtag2"]},{"1399372757":["hashtag1","hashtag2"]},{"1399372768":["hashtag1","hashtag2"]},{"1399372765":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372761, 1399372758, 1399372763, 1399372757, 1399372768, 1399372765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.846715450286865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:53:02.925311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/51/image_14122025_18_51_55_9852.jpg', '/home/pi/Desktop/images/14122025/18/51/image_14122025_18_52_05_9805.jpg', '/home/pi/Desktop/images/14122025/18/52/image_14122025_18_52_15_10665.jpg', '/home/pi/Desktop/images/14122025/18/52/image_14122025_18_52_25_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/51/image_14122025_18_51_55_9852.jpg
/home/pi/Desktop/images/14122025/18/51/image_14122025_18_52_05_9805.jpg
/home/pi/Desktop/images/14122025/18/52/image_14122025_18_52_15_10665.jpg
/home/pi/Desktop/images/14122025/18/52/image_14122025_18_52_25_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":["1399372773","1399372776","1399372775","1399372774"],"photo_ids_order":["1399372773","1399372774","1399372775","1399372776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0e127a1ad34443d270974e0030366162.jpg","text":"TemporaryFile(/tmp/multipartBody9190941946493386958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734843481,"filename":"image_14122025_18_51_55_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/df2fbf3e35c5a31ed2b7337a0914c0cd.jpg","text":"TemporaryFile(/tmp/multipartBody2401664524179880096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734843481,"filename":"image_14122025_18_52_25_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae5d559c21f68d9ae9a41e59ae728fe8.jpg","text":"TemporaryFile(/tmp/multipartBody1897082088280012834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734843481,"filename":"image_14122025_18_52_15_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ce9c13c2100b99fb1773b92c1aa4510.jpg","text":"TemporaryFile(/tmp/multipartBody316924134772715293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734843481,"filename":"image_14122025_18_52_05_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372775","file1":"1399372774","file0":"1399372773","file3":"1399372776"},"map_files_photo_id_array":[{"photo_id":"1399372775","filename":"file2"},{"photo_id":"1399372774","filename":"file1"},{"photo_id":"1399372773","filename":"file0"},{"photo_id":"1399372776","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372773":["hashtag1","hashtag2"]},{"1399372776":["hashtag1","hashtag2"]},{"1399372775":["hashtag1","hashtag2"]},{"1399372774":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372773, 1399372776, 1399372775, 1399372774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.946313619613647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 18:53:32.189233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:53:42.139966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_36_2700.jpg', '/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_40_3820.jpg', '/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_43_2784.jpg', '/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_46_2688.jpg', '/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_48_2728.jpg', '/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_52_3727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_36_2700.jpg
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_40_3820.jpg
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_43_2784.jpg
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_46_2688.jpg
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_48_2728.jpg
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_52_3727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372791","1399372794","1399372788","1399372782","1399372790","1399372789"],"photo_ids_order":["1399372782","1399372788","1399372789","1399372790","1399372791","1399372794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69b6fe65d9fa42525a6e7b1623015cff.jpg","text":"TemporaryFile(/tmp/multipartBody1831228439756953435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734882840,"filename":"image_04112025_14_26_48_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5166d367f4081232d3b8778e6522c3cb.jpg","text":"TemporaryFile(/tmp/multipartBody5305171802833122576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734882840,"filename":"image_04112025_14_26_52_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b2df622588f2778fa24c3fa13450bf5f.jpg","text":"TemporaryFile(/tmp/multipartBody4559635414375619018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734882840,"filename":"image_04112025_14_26_40_3820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf0da0cffe94d59b815b913b1b5f8770.jpg","text":"TemporaryFile(/tmp/multipartBody6377712745977518626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734882840,"filename":"image_04112025_14_26_36_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7e8822cd98b67a051074ca102eb695bc.jpg","text":"TemporaryFile(/tmp/multipartBody457957520033453239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734882840,"filename":"image_04112025_14_26_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/12/14/b4a4b68ef10e1ea9b057d56e035188fb.jpg","text":"TemporaryFile(/tmp/multipartBody6951288817795322994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734882840,"filename":"image_04112025_14_26_43_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372789","file1":"1399372788","file0":"1399372782","file4":"1399372791","file5":"1399372794","file3":"1399372790"},"map_files_photo_id_array":[{"photo_id":"1399372794","filename":"file5"},{"photo_id":"1399372789","filename":"file2"},{"photo_id":"1399372791","filename":"file4"},{"photo_id":"1399372788","filename":"file1"},{"photo_id":"1399372782","filename":"file0"},{"photo_id":"1399372790","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372791":["hashtag1","hashtag2"]},{"1399372794":["hashtag1","hashtag2"]},{"1399372788":["hashtag1","hashtag2"]},{"1399372782":["hashtag1","hashtag2"]},{"1399372790":["hashtag1","hashtag2"]},{"1399372789":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372791, 1399372794, 1399372788, 1399372782, 1399372790, 1399372789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.935324907302856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:54:22.433715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/52/image_14122025_18_52_45_10586.jpg', '/home/pi/Desktop/images/14122025/18/52/image_14122025_18_53_05_9865.jpg', '/home/pi/Desktop/images/14122025/18/53/image_14122025_18_53_35_9748.jpg', '/home/pi/Desktop/images/14122025/18/53/image_14122025_18_53_45_9800.jpg', '/home/pi/Desktop/images/14122025/18/53/image_14122025_18_53_54_9806.jpg', '/home/pi/Desktop/images/14122025/18/54/image_14122025_18_54_15_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/52/image_14122025_18_52_45_10586.jpg
/home/pi/Desktop/images/14122025/18/52/image_14122025_18_53_05_9865.jpg
/home/pi/Desktop/images/14122025/18/53/image_14122025_18_53_35_9748.jpg
/home/pi/Desktop/images/14122025/18/53/image_14122025_18_53_45_9800.jpg
/home/pi/Desktop/images/14122025/18/53/image_14122025_18_53_54_9806.jpg
/home/pi/Desktop/images/14122025/18/54/image_14122025_18_54_15_9771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372803","1399372806","1399372800","1399372798","1399372804","1399372797"],"photo_ids_order":["1399372797","1399372798","1399372800","1399372803","1399372804","1399372806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eed63232a99a4a4330484e5066bc1e15.jpg","text":"TemporaryFile(/tmp/multipartBody3943408939559430193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734923054,"filename":"image_14122025_18_53_45_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/15867275d21edcd94320a42fc5b0489c.jpg","text":"TemporaryFile(/tmp/multipartBody1739274029957497533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734923054,"filename":"image_14122025_18_54_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/12/14/008fae0ebb8f9cff1f777edae1d0a4f4.jpg","text":"TemporaryFile(/tmp/multipartBody7689079989421192791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734923054,"filename":"image_14122025_18_53_35_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fc55dfcfabe8207259ee3c0c6fcd820a.jpg","text":"TemporaryFile(/tmp/multipartBody5135705967048912924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734923054,"filename":"image_14122025_18_53_05_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/05aa39c9e3c2efb170412e242077cbc0.jpg","text":"TemporaryFile(/tmp/multipartBody2510627033600369523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734923054,"filename":"image_14122025_18_53_54_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3ea0307ea9de7a7d2c65d8e754bfb0d5.jpg","text":"TemporaryFile(/tmp/multipartBody114479261469950725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734923054,"filename":"image_14122025_18_52_45_10586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372800","file1":"1399372798","file0":"1399372797","file4":"1399372804","file5":"1399372806","file3":"1399372803"},"map_files_photo_id_array":[{"photo_id":"1399372806","filename":"file5"},{"photo_id":"1399372800","filename":"file2"},{"photo_id":"1399372804","filename":"file4"},{"photo_id":"1399372798","filename":"file1"},{"photo_id":"1399372797","filename":"file0"},{"photo_id":"1399372803","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372803":["hashtag1","hashtag2"]},{"1399372806":["hashtag1","hashtag2"]},{"1399372800":["hashtag1","hashtag2"]},{"1399372798":["hashtag1","hashtag2"]},{"1399372804":["hashtag1","hashtag2"]},{"1399372797":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372803, 1399372806, 1399372800, 1399372798, 1399372804, 1399372797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22344899177551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:55:03.290887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/54/image_14122025_18_54_25_9779.jpg', '/home/pi/Desktop/images/14122025/18/54/image_14122025_18_54_35_10677.jpg', '/home/pi/Desktop/images/14122025/18/54/image_14122025_18_54_45_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/54/image_14122025_18_54_25_9779.jpg
/home/pi/Desktop/images/14122025/18/54/image_14122025_18_54_35_10677.jpg
/home/pi/Desktop/images/14122025/18/54/image_14122025_18_54_45_9626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372809","1399372808","1399372807"],"photo_ids_order":["1399372807","1399372808","1399372809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f77f17af62a1cc79abcba3a4093753a8.jpg","text":"TemporaryFile(/tmp/multipartBody7460905109977547833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734963801,"filename":"image_14122025_18_54_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/12/14/149f83af5bb8bc3e3bcc43e1eab34559.jpg","text":"TemporaryFile(/tmp/multipartBody2191856881024093688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734963801,"filename":"image_14122025_18_54_35_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/313f451cab4734b03af6b75be9a16dd8.jpg","text":"TemporaryFile(/tmp/multipartBody8677772787471953563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765734963801,"filename":"image_14122025_18_54_25_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372809","file1":"1399372808","file0":"1399372807"},"map_files_photo_id_array":[{"photo_id":"1399372809","filename":"file2"},{"photo_id":"1399372808","filename":"file1"},{"photo_id":"1399372807","filename":"file0"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372809":["hashtag1","hashtag2"]},{"1399372808":["hashtag1","hashtag2"]},{"1399372807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372809, 1399372808, 1399372807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 26.827279329299927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 18:55:32.713198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:55:42.694697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_55_2734.jpg', '/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_57_2560.jpg', '/home/pi/Desktop/images/04112025/14/26/image_04112025_14_27_01_3623.jpg', '/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_04_2847.jpg', '/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_07_2772.jpg', '/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_09_2536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_55_2734.jpg
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_26_57_2560.jpg
/home/pi/Desktop/images/04112025/14/26/image_04112025_14_27_01_3623.jpg
/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_04_2847.jpg
/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_07_2772.jpg
/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_09_2536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372821","1399372815","1399372818","1399372820","1399372817","1399372819"],"photo_ids_order":["1399372815","1399372817","1399372818","1399372819","1399372820","1399372821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/85e0164d38188b647d6b5a8f6c9048cf.jpg","text":"TemporaryFile(/tmp/multipartBody6280696444686425817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735003417,"filename":"image_04112025_14_27_09_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ce4cc08e7ce5c5db34ab29be80a5fd0a.jpg","text":"TemporaryFile(/tmp/multipartBody514731190916676600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735003417,"filename":"image_04112025_14_26_55_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/43e2a08da81b0aa6efc4a5761ddc1af0.jpg","text":"TemporaryFile(/tmp/multipartBody7919277858932427859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735003417,"filename":"image_04112025_14_27_01_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef27e16994afc44f9afab9e104787c65.jpg","text":"TemporaryFile(/tmp/multipartBody4126094964206195537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735003417,"filename":"image_04112025_14_27_07_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/181689ea49c49452e5169917d7446db1.jpg","text":"TemporaryFile(/tmp/multipartBody9126808481770683695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735003417,"filename":"image_04112025_14_26_57_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/149df88647be45f627f1c6620e2a6493.jpg","text":"TemporaryFile(/tmp/multipartBody3457283258777825315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735003417,"filename":"image_04112025_14_27_04_2847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372818","file1":"1399372817","file0":"1399372815","file4":"1399372820","file5":"1399372821","file3":"1399372819"},"map_files_photo_id_array":[{"photo_id":"1399372821","filename":"file5"},{"photo_id":"1399372818","filename":"file2"},{"photo_id":"1399372820","filename":"file4"},{"photo_id":"1399372817","filename":"file1"},{"photo_id":"1399372815","filename":"file0"},{"photo_id":"1399372819","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372821":["hashtag1","hashtag2"]},{"1399372815":["hashtag1","hashtag2"]},{"1399372818":["hashtag1","hashtag2"]},{"1399372820":["hashtag1","hashtag2"]},{"1399372817":["hashtag1","hashtag2"]},{"1399372819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372821, 1399372815, 1399372818, 1399372820, 1399372817, 1399372819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.134350538253784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 18:56:21.879921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/54/image_14122025_18_54_55_9706.jpg', '/home/pi/Desktop/images/14122025/18/54/image_14122025_18_55_05_10614.jpg', '/home/pi/Desktop/images/14122025/18/55/image_14122025_18_55_15_9667.jpg', '/home/pi/Desktop/images/14122025/18/55/image_14122025_18_55_25_9650.jpg', '/home/pi/Desktop/images/14122025/18/55/image_14122025_18_55_35_10769.jpg', '/home/pi/Desktop/images/14122025/18/55/image_14122025_18_55_45_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/54/image_14122025_18_54_55_9706.jpg
/home/pi/Desktop/images/14122025/18/54/image_14122025_18_55_05_10614.jpg
/home/pi/Desktop/images/14122025/18/55/image_14122025_18_55_15_9667.jpg
/home/pi/Desktop/images/14122025/18/55/image_14122025_18_55_25_9650.jpg
/home/pi/Desktop/images/14122025/18/55/image_14122025_18_55_35_10769.jpg
/home/pi/Desktop/images/14122025/18/55/image_14122025_18_55_45_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":["1399372830","1399372838","1399372823","1399372822","1399372825","1399372828"],"photo_ids_order":["1399372822","1399372823","1399372825","1399372828","1399372830","1399372838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fefcef7d721656f7f990cf4096d8bdf4.jpg","text":"TemporaryFile(/tmp/multipartBody7504350704091016011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735042497,"filename":"image_14122025_18_55_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/12/14/0213c42f2481c4cf28b349e497616828.jpg","text":"TemporaryFile(/tmp/multipartBody8054110436231790971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735042497,"filename":"image_14122025_18_55_45_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/507c527b856e51ef1dbdf5a215a952bb.jpg","text":"TemporaryFile(/tmp/multipartBody8764232391347795959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735042497,"filename":"image_14122025_18_55_05_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b80dc42ef6b8f5fec87dc49320632fc4.jpg","text":"TemporaryFile(/tmp/multipartBody6510364513069241486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735042497,"filename":"image_14122025_18_54_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3222ad7802c0b9056638059bab7cc8d9.jpg","text":"TemporaryFile(/tmp/multipartBody210963198820081276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735042497,"filename":"image_14122025_18_55_15_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd8ac22a03f7b7640a3427089e241aeb.jpg","text":"TemporaryFile(/tmp/multipartBody1384637274388148980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735042497,"filename":"image_14122025_18_55_25_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372825","file1":"1399372823","file0":"1399372822","file4":"1399372830","file5":"1399372838","file3":"1399372828"},"map_files_photo_id_array":[{"photo_id":"1399372838","filename":"file5"},{"photo_id":"1399372825","filename":"file2"},{"photo_id":"1399372830","filename":"file4"},{"photo_id":"1399372823","filename":"file1"},{"photo_id":"1399372822","filename":"file0"},{"photo_id":"1399372828","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372830":["hashtag1","hashtag2"]},{"1399372838":["hashtag1","hashtag2"]},{"1399372823":["hashtag1","hashtag2"]},{"1399372822":["hashtag1","hashtag2"]},{"1399372825":["hashtag1","hashtag2"]},{"1399372828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372830, 1399372838, 1399372823, 1399372822, 1399372825, 1399372828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60976767539978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:57:02.980074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/55/image_14122025_18_55_55_9702.jpg', '/home/pi/Desktop/images/14122025/18/55/image_14122025_18_56_05_10663.jpg', '/home/pi/Desktop/images/14122025/18/56/image_14122025_18_56_15_9717.jpg', '/home/pi/Desktop/images/14122025/18/56/image_14122025_18_56_25_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/55/image_14122025_18_55_55_9702.jpg
/home/pi/Desktop/images/14122025/18/55/image_14122025_18_56_05_10663.jpg
/home/pi/Desktop/images/14122025/18/56/image_14122025_18_56_15_9717.jpg
/home/pi/Desktop/images/14122025/18/56/image_14122025_18_56_25_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":["1399372848","1399372850","1399372843","1399372846"],"photo_ids_order":["1399372843","1399372846","1399372848","1399372850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5148be74d70144d62d72b0bf9b953d71.jpg","text":"TemporaryFile(/tmp/multipartBody4858179732224282418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735083543,"filename":"image_14122025_18_56_15_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9014b634aba429f2e92d15f0e43bef90.jpg","text":"TemporaryFile(/tmp/multipartBody3561111629770651980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735083543,"filename":"image_14122025_18_56_25_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/537a2cb244bfd006190b65ccad4bc951.jpg","text":"TemporaryFile(/tmp/multipartBody9014073444880954731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735083543,"filename":"image_14122025_18_55_55_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d91c8f3e21a25dca5e01afc6dc8662e.jpg","text":"TemporaryFile(/tmp/multipartBody8125485692350013071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735083543,"filename":"image_14122025_18_56_05_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372848","file1":"1399372846","file0":"1399372843","file3":"1399372850"},"map_files_photo_id_array":[{"photo_id":"1399372848","filename":"file2"},{"photo_id":"1399372846","filename":"file1"},{"photo_id":"1399372843","filename":"file0"},{"photo_id":"1399372850","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399372848":["hashtag1","hashtag2"]},{"1399372850":["hashtag1","hashtag2"]},{"1399372843":["hashtag1","hashtag2"]},{"1399372846":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399372848, 1399372850, 1399372843, 1399372846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.259265184402466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 18:57:32.283049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 18:57:43.401474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_13_3678.jpg', '/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_16_2675.jpg', '/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_18_2763.jpg', '/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_22_3628.jpg', '/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_25_2625.jpg', '/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_27_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_13_3678.jpg
/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_16_2675.jpg
/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_18_2763.jpg
/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_22_3628.jpg
/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_25_2625.jpg
/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_27_2732.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399372944","1399372875","1399372860","1399372910","1399372855","1399372858"],"photo_ids_order":["1399372855","1399372858","1399372860","1399372875","1399372910","1399372944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/46b3771998b576bcec92c1fff9f1bc4b.jpg","text":"TemporaryFile(/tmp/multipartBody93809422218010348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735126431,"filename":"image_04112025_14_27_27_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/384b6e02223f9537b1dc6ecd61846f81.jpg","text":"TemporaryFile(/tmp/multipartBody1468503502241036051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735126431,"filename":"image_04112025_14_27_22_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/958946f4de401130e77af25bd7184d12.jpg","text":"TemporaryFile(/tmp/multipartBody6731264354232950793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735126431,"filename":"image_04112025_14_27_18_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81d01abc0c42888b157abd21233b13bf.jpg","text":"TemporaryFile(/tmp/multipartBody142299572132413479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735126431,"filename":"image_04112025_14_27_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/12/14/df8f6aaee3c791cfb03da16abdfa4aed.jpg","text":"TemporaryFile(/tmp/multipartBody9177066781627891967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735126431,"filename":"image_04112025_14_27_13_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f4c10f892a4b2b543d0b6c3a088effee.jpg","text":"TemporaryFile(/tmp/multipartBody7536776313242581136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735126431,"filename":"image_04112025_14_27_16_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399372860","file1":"1399372858","file0":"1399372855","file4":"1399372910","file5":"1399372944","file3":"1399372875"},"map_files_photo_id_array":[{"photo_id":"1399372944","filename":"file5"},{"photo_id":"1399372860","filename":"file2"},{"photo_id":"1399372910","filename":"file4"},{"photo_id":"1399372858","filename":"file1"},{"photo_id":"1399372855","filename":"file0"},{"photo_id":"1399372875","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399372944":["hashtag1","hashtag2"]},{"1399372875":["hashtag1","hashtag2"]},{"1399372860":["hashtag1","hashtag2"]},{"1399372910":["hashtag1","hashtag2"]},{"1399372855":["hashtag1","hashtag2"]},{"1399372858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399372944, 1399372875, 1399372860, 1399372910, 1399372855, 1399372858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.81207823753357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 18:59:03.437841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/56/image_14122025_18_56_35_9940.jpg', '/home/pi/Desktop/images/14122025/18/56/image_14122025_18_57_05_9635.jpg', '/home/pi/Desktop/images/14122025/18/57/image_14122025_18_57_14_9819.jpg', '/home/pi/Desktop/images/14122025/18/57/image_14122025_18_57_25_10768.jpg', '/home/pi/Desktop/images/14122025/18/57/image_14122025_18_57_35_9713.jpg', '/home/pi/Desktop/images/14122025/18/57/image_14122025_18_57_55_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/56/image_14122025_18_56_35_9940.jpg
/home/pi/Desktop/images/14122025/18/56/image_14122025_18_57_05_9635.jpg
/home/pi/Desktop/images/14122025/18/57/image_14122025_18_57_14_9819.jpg
/home/pi/Desktop/images/14122025/18/57/image_14122025_18_57_25_10768.jpg
/home/pi/Desktop/images/14122025/18/57/image_14122025_18_57_35_9713.jpg
/home/pi/Desktop/images/14122025/18/57/image_14122025_18_57_55_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399373291","1399373288","1399373275","1399373245","1399373242","1399373218"],"photo_ids_order":["1399373218","1399373242","1399373245","1399373275","1399373288","1399373291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88554870dcee9c9810b0b90c5ef2e521.jpg","text":"TemporaryFile(/tmp/multipartBody5491889988032377155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735204696,"filename":"image_14122025_18_57_55_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3bf89ad310a9fc99cca3a19669296951.jpg","text":"TemporaryFile(/tmp/multipartBody4337858646028277717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735204696,"filename":"image_14122025_18_57_35_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8090744aab0f9341c73dc350f9c3bbaa.jpg","text":"TemporaryFile(/tmp/multipartBody6521948334296382716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735204696,"filename":"image_14122025_18_57_25_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/916a5d12bfc0efdfecd165cce9a228b8.jpg","text":"TemporaryFile(/tmp/multipartBody5699188604146868932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735204696,"filename":"image_14122025_18_57_14_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/343574e6517ab9f842dc799e2f10b26b.jpg","text":"TemporaryFile(/tmp/multipartBody1910300760227711366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735204696,"filename":"image_14122025_18_57_05_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7246d5dc51f292587e51d09187857b1e.jpg","text":"TemporaryFile(/tmp/multipartBody5739974300261554749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735204696,"filename":"image_14122025_18_56_35_9940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399373245","file1":"1399373242","file0":"1399373218","file4":"1399373288","file5":"1399373291","file3":"1399373275"},"map_files_photo_id_array":[{"photo_id":"1399373291","filename":"file5"},{"photo_id":"1399373245","filename":"file2"},{"photo_id":"1399373288","filename":"file4"},{"photo_id":"1399373242","filename":"file1"},{"photo_id":"1399373218","filename":"file0"},{"photo_id":"1399373275","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399373291":["hashtag1","hashtag2"]},{"1399373288":["hashtag1","hashtag2"]},{"1399373275":["hashtag1","hashtag2"]},{"1399373245":["hashtag1","hashtag2"]},{"1399373242":["hashtag1","hashtag2"]},{"1399373218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399373291, 1399373288, 1399373275, 1399373245, 1399373242, 1399373218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55931043624878 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:00:03.272039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/58/image_14122025_18_58_15_9759.jpg', '/home/pi/Desktop/images/14122025/18/58/image_14122025_18_58_45_9666.jpg', '/home/pi/Desktop/images/14122025/18/58/image_14122025_18_58_55_9806.jpg', '/home/pi/Desktop/images/14122025/18/58/image_14122025_18_59_04_9602.jpg', '/home/pi/Desktop/images/14122025/18/59/image_14122025_18_59_25_9607.jpg', '/home/pi/Desktop/images/14122025/18/59/image_14122025_18_59_34_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/58/image_14122025_18_58_15_9759.jpg
/home/pi/Desktop/images/14122025/18/58/image_14122025_18_58_45_9666.jpg
/home/pi/Desktop/images/14122025/18/58/image_14122025_18_58_55_9806.jpg
/home/pi/Desktop/images/14122025/18/58/image_14122025_18_59_04_9602.jpg
/home/pi/Desktop/images/14122025/18/59/image_14122025_18_59_25_9607.jpg
/home/pi/Desktop/images/14122025/18/59/image_14122025_18_59_34_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":["1399373642","1399373570","1399373531","1399373716","1399373682","1399373608"],"photo_ids_order":["1399373531","1399373570","1399373608","1399373642","1399373682","1399373716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3de776e29f326d0320632c705e6565c2.jpg","text":"TemporaryFile(/tmp/multipartBody8023703875786314563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735263875,"filename":"image_14122025_18_59_04_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e06d20dadca4b2e883fcc29178ae786d.jpg","text":"TemporaryFile(/tmp/multipartBody6385813772099379516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735263875,"filename":"image_14122025_18_58_45_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/34653e1e31f6adba8443084d7a69f4df.jpg","text":"TemporaryFile(/tmp/multipartBody6089893016712792592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735263875,"filename":"image_14122025_18_58_15_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/72681a107cdcc7370cf7058980ff189e.jpg","text":"TemporaryFile(/tmp/multipartBody9076299866669642145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735263875,"filename":"image_14122025_18_59_34_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/23d6bd100af6dc5346e1a4c4ca0e727a.jpg","text":"TemporaryFile(/tmp/multipartBody1559480383647811733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735263875,"filename":"image_14122025_18_59_25_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b69dc527fa658aae2c3eff0c12c1f8bd.jpg","text":"TemporaryFile(/tmp/multipartBody8675266053022259857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735263875,"filename":"image_14122025_18_58_55_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399373608","file1":"1399373570","file0":"1399373531","file4":"1399373682","file5":"1399373716","file3":"1399373642"},"map_files_photo_id_array":[{"photo_id":"1399373716","filename":"file5"},{"photo_id":"1399373608","filename":"file2"},{"photo_id":"1399373682","filename":"file4"},{"photo_id":"1399373570","filename":"file1"},{"photo_id":"1399373531","filename":"file0"},{"photo_id":"1399373642","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399373642":["hashtag1","hashtag2"]},{"1399373570":["hashtag1","hashtag2"]},{"1399373531":["hashtag1","hashtag2"]},{"1399373716":["hashtag1","hashtag2"]},{"1399373682":["hashtag1","hashtag2"]},{"1399373608":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399373642, 1399373570, 1399373531, 1399373716, 1399373682, 1399373608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3825581073761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:00:42.716030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_31_3770.jpg', '/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_34_2651.jpg', '/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_36_2578.jpg', '/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_40_3725.jpg', '/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_43_2702.jpg', '/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_45_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_31_3770.jpg
/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_34_2651.jpg
/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_36_2578.jpg
/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_40_3725.jpg
/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_43_2702.jpg
/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_45_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":["1399373940","1399374143","1399374011","1399373903","1399373863","1399374093"],"photo_ids_order":["1399373863","1399373903","1399373940","1399374011","1399374093","1399374143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f434e06b6d8d60e412920864249d2d4.jpg","text":"TemporaryFile(/tmp/multipartBody6071771481196308876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735303467,"filename":"image_04112025_14_27_36_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d3184f775ae2e84de8044e4dc9e2965.jpg","text":"TemporaryFile(/tmp/multipartBody4273254003981584779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735303467,"filename":"image_04112025_14_27_45_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f7d97c5d00e988f20afb41818b868835.jpg","text":"TemporaryFile(/tmp/multipartBody2355718606195942200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735303467,"filename":"image_04112025_14_27_40_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fef1683ef61fa58c946469b576a182b1.jpg","text":"TemporaryFile(/tmp/multipartBody2350100496463361175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735303467,"filename":"image_04112025_14_27_34_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bc28c9be1e63c1e631afb99f6717fd43.jpg","text":"TemporaryFile(/tmp/multipartBody5269236036560330772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735303467,"filename":"image_04112025_14_27_31_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7bb8ee920bf5e3872efa282377907e5.jpg","text":"TemporaryFile(/tmp/multipartBody3353672873082529915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735303467,"filename":"image_04112025_14_27_43_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399373940","file1":"1399373903","file0":"1399373863","file4":"1399374093","file5":"1399374143","file3":"1399374011"},"map_files_photo_id_array":[{"photo_id":"1399374143","filename":"file5"},{"photo_id":"1399373940","filename":"file2"},{"photo_id":"1399374093","filename":"file4"},{"photo_id":"1399373903","filename":"file1"},{"photo_id":"1399373863","filename":"file0"},{"photo_id":"1399374011","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399373940":["hashtag1","hashtag2"]},{"1399374143":["hashtag1","hashtag2"]},{"1399374011":["hashtag1","hashtag2"]},{"1399373903":["hashtag1","hashtag2"]},{"1399373863":["hashtag1","hashtag2"]},{"1399374093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399373940, 1399374143, 1399374011, 1399373903, 1399373863, 1399374093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64266777038574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:01:21.966777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/18/59/image_14122025_18_59_45_10639.jpg', '/home/pi/Desktop/images/14122025/18/59/image_14122025_18_59_55_9673.jpg', '/home/pi/Desktop/images/14122025/19/01/image_14122025_19_01_15_10775.jpg', '/home/pi/Desktop/images/14122025/19/01/image_14122025_19_01_25_9769.jpg', '/home/pi/Desktop/images/14122025/19/01/image_14122025_19_01_35_10422.jpg', '/home/pi/Desktop/images/14122025/19/01/image_14122025_19_01_45_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/18/59/image_14122025_18_59_45_10639.jpg
/home/pi/Desktop/images/14122025/18/59/image_14122025_18_59_55_9673.jpg
/home/pi/Desktop/images/14122025/19/01/image_14122025_19_01_15_10775.jpg
/home/pi/Desktop/images/14122025/19/01/image_14122025_19_01_25_9769.jpg
/home/pi/Desktop/images/14122025/19/01/image_14122025_19_01_35_10422.jpg
/home/pi/Desktop/images/14122025/19/01/image_14122025_19_01_45_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399374470","1399374338","1399374379","1399374427","1399374507","1399374300"],"photo_ids_order":["1399374300","1399374338","1399374379","1399374427","1399374470","1399374507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef94f9c12d68462f196c55e825ed10a4.jpg","text":"TemporaryFile(/tmp/multipartBody6837502132121889830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735342595,"filename":"image_14122025_19_01_35_10422.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b0fabc39bd0020d8d0d376f6aa44776a.jpg","text":"TemporaryFile(/tmp/multipartBody6651427619147967003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735342595,"filename":"image_14122025_18_59_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/12/14/b7ebf810d8d0435a943eaefa561d5799.jpg","text":"TemporaryFile(/tmp/multipartBody5640389472812774232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735342595,"filename":"image_14122025_19_01_15_10775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1b942a9c8be3d290405e39578f6dc13.jpg","text":"TemporaryFile(/tmp/multipartBody2724285827501656155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735342595,"filename":"image_14122025_19_01_25_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1aea42b09b18faeb5523f344ed0f1fae.jpg","text":"TemporaryFile(/tmp/multipartBody122705712974785087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735342595,"filename":"image_14122025_19_01_45_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28e21f3e8daf883c0ba282b75ffc7a7f.jpg","text":"TemporaryFile(/tmp/multipartBody2022633000286592200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735342595,"filename":"image_14122025_18_59_45_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399374379","file1":"1399374338","file0":"1399374300","file4":"1399374470","file5":"1399374507","file3":"1399374427"},"map_files_photo_id_array":[{"photo_id":"1399374507","filename":"file5"},{"photo_id":"1399374379","filename":"file2"},{"photo_id":"1399374470","filename":"file4"},{"photo_id":"1399374338","filename":"file1"},{"photo_id":"1399374300","filename":"file0"},{"photo_id":"1399374427","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399374470":["hashtag1","hashtag2"]},{"1399374338":["hashtag1","hashtag2"]},{"1399374379":["hashtag1","hashtag2"]},{"1399374427":["hashtag1","hashtag2"]},{"1399374507":["hashtag1","hashtag2"]},{"1399374300":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399374470, 1399374338, 1399374379, 1399374427, 1399374507, 1399374300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71455931663513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:02:02.552304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 19:02:12.176194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:02:22.137675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/01/image_14122025_19_01_54_9744.jpg', '/home/pi/Desktop/images/14122025/19/01/image_14122025_19_02_04_9670.jpg', '/home/pi/Desktop/images/14122025/19/02/image_14122025_19_02_25_9686.jpg', '/home/pi/Desktop/images/14122025/19/02/image_14122025_19_02_34_9681.jpg', '/home/pi/Desktop/images/14122025/19/02/image_14122025_19_02_45_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/01/image_14122025_19_01_54_9744.jpg
/home/pi/Desktop/images/14122025/19/01/image_14122025_19_02_04_9670.jpg
/home/pi/Desktop/images/14122025/19/02/image_14122025_19_02_25_9686.jpg
/home/pi/Desktop/images/14122025/19/02/image_14122025_19_02_34_9681.jpg
/home/pi/Desktop/images/14122025/19/02/image_14122025_19_02_45_10644.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8744807243347168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 19:02:32.174668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:02:45.473852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_49_3638.jpg', '/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_52_2654.jpg', '/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_54_2615.jpg', '/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_58_3751.jpg', '/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_01_3152.jpg', '/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_04_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_49_3638.jpg
/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_52_2654.jpg
/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_54_2615.jpg
/home/pi/Desktop/images/04112025/14/27/image_04112025_14_27_58_3751.jpg
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_01_3152.jpg
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_04_2695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399375057","1399375059","1399375056","1399375026","1399375058","1399374989"],"photo_ids_order":["1399374989","1399375026","1399375056","1399375057","1399375058","1399375059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8d4000355b46c4935b9c263b78b69ec2.jpg","text":"TemporaryFile(/tmp/multipartBody3412217084188750560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735426160,"filename":"image_04112025_14_27_58_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f508fc778bb5b54c5c83d064e137a4d.jpg","text":"TemporaryFile(/tmp/multipartBody1639323781064681975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735426160,"filename":"image_04112025_14_28_04_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/547686a370d0680ad14ca51ca0f053c4.jpg","text":"TemporaryFile(/tmp/multipartBody5462225108163018512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735426160,"filename":"image_04112025_14_27_54_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3316a2c1087b66e548197614a7c463af.jpg","text":"TemporaryFile(/tmp/multipartBody8423545179692372634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735426160,"filename":"image_04112025_14_27_52_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9d223e9a903e4df36fea1263a50aa868.jpg","text":"TemporaryFile(/tmp/multipartBody8278773782420211485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735426160,"filename":"image_04112025_14_28_01_3152.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/324f760eb5b3b4143772d6daeab90a6e.jpg","text":"TemporaryFile(/tmp/multipartBody1238385340556047553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735426160,"filename":"image_04112025_14_27_49_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375056","file1":"1399375026","file0":"1399374989","file4":"1399375058","file5":"1399375059","file3":"1399375057"},"map_files_photo_id_array":[{"photo_id":"1399375059","filename":"file5"},{"photo_id":"1399375056","filename":"file2"},{"photo_id":"1399375058","filename":"file4"},{"photo_id":"1399375026","filename":"file1"},{"photo_id":"1399374989","filename":"file0"},{"photo_id":"1399375057","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399375057":["hashtag1","hashtag2"]},{"1399375059":["hashtag1","hashtag2"]},{"1399375056":["hashtag1","hashtag2"]},{"1399375026":["hashtag1","hashtag2"]},{"1399375058":["hashtag1","hashtag2"]},{"1399374989":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399375057, 1399375059, 1399375056, 1399375026, 1399375058, 1399374989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.86201024055481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 19:03:32.713002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:03:42.671357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_07_2695.jpg', '/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_09_2537.jpg', '/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_13_3807.jpg', '/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_16_2831.jpg', '/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_18_2622.jpg', '/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_21_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_07_2695.jpg
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_09_2537.jpg
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_13_3807.jpg
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_16_2831.jpg
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_18_2622.jpg
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_21_2738.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5782744884490967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:04:02.439023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/01/image_14122025_19_01_54_9744.jpg', '/home/pi/Desktop/images/14122025/19/01/image_14122025_19_02_04_9670.jpg', '/home/pi/Desktop/images/14122025/19/02/image_14122025_19_02_25_9686.jpg', '/home/pi/Desktop/images/14122025/19/02/image_14122025_19_02_34_9681.jpg', '/home/pi/Desktop/images/14122025/19/02/image_14122025_19_02_45_10644.jpg', '/home/pi/Desktop/images/14122025/19/02/image_14122025_19_02_55_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/01/image_14122025_19_01_54_9744.jpg
/home/pi/Desktop/images/14122025/19/01/image_14122025_19_02_04_9670.jpg
/home/pi/Desktop/images/14122025/19/02/image_14122025_19_02_25_9686.jpg
/home/pi/Desktop/images/14122025/19/02/image_14122025_19_02_34_9681.jpg
/home/pi/Desktop/images/14122025/19/02/image_14122025_19_02_45_10644.jpg
/home/pi/Desktop/images/14122025/19/02/image_14122025_19_02_55_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":["1399375232","1399375195","1399375120","1399375272","1399375157","1399375085"],"photo_ids_order":["1399375085","1399375120","1399375157","1399375195","1399375232","1399375272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b343558b6a5073f563681bf7acf021e3.jpg","text":"TemporaryFile(/tmp/multipartBody8280676305068213042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735505590,"filename":"image_14122025_19_02_45_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e1e0b374fda1ff3029cb67f8e1d6798.jpg","text":"TemporaryFile(/tmp/multipartBody7482452403998312460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735505590,"filename":"image_14122025_19_02_34_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0df290b09e551949b1c2d2ec8196f6ab.jpg","text":"TemporaryFile(/tmp/multipartBody5066919164230937849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735505590,"filename":"image_14122025_19_02_04_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ee79b7a52146b7e199309095de52e284.jpg","text":"TemporaryFile(/tmp/multipartBody3395100381456535877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735505590,"filename":"image_14122025_19_02_55_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63b20efb66d2ca38a67f70ea0e06c396.jpg","text":"TemporaryFile(/tmp/multipartBody3614627332794166573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735505590,"filename":"image_14122025_19_02_25_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc2ed89fb4bbaba94ba7964b2adcb0f8.jpg","text":"TemporaryFile(/tmp/multipartBody1001971718086935869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735505590,"filename":"image_14122025_19_01_54_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375157","file1":"1399375120","file0":"1399375085","file4":"1399375232","file5":"1399375272","file3":"1399375195"},"map_files_photo_id_array":[{"photo_id":"1399375272","filename":"file5"},{"photo_id":"1399375157","filename":"file2"},{"photo_id":"1399375232","filename":"file4"},{"photo_id":"1399375120","filename":"file1"},{"photo_id":"1399375085","filename":"file0"},{"photo_id":"1399375195","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399375232":["hashtag1","hashtag2"]},{"1399375195":["hashtag1","hashtag2"]},{"1399375120":["hashtag1","hashtag2"]},{"1399375272":["hashtag1","hashtag2"]},{"1399375157":["hashtag1","hashtag2"]},{"1399375085":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399375232, 1399375195, 1399375120, 1399375272, 1399375157, 1399375085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.283206939697266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:04:41.824747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_07_2695.jpg', '/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_09_2537.jpg', '/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_13_3807.jpg', '/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_16_2831.jpg', '/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_18_2622.jpg', '/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_21_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_07_2695.jpg
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_09_2537.jpg
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_13_3807.jpg
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_16_2831.jpg
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_18_2622.jpg
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_21_2738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399375418","1399375412","1399375387","1399375411","1399375410","1399375413"],"photo_ids_order":["1399375387","1399375410","1399375411","1399375412","1399375413","1399375418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c41c1f58ebd9fc24b46bba53339a33da.jpg","text":"TemporaryFile(/tmp/multipartBody7751508531758061291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735542384,"filename":"image_04112025_14_28_21_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/48822df059bf149b6205d495feb884e8.jpg","text":"TemporaryFile(/tmp/multipartBody3167365003277118471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735542384,"filename":"image_04112025_14_28_16_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6517130f81e1fd3c0f80f7887e70e7c.jpg","text":"TemporaryFile(/tmp/multipartBody5032596799346537485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735542384,"filename":"image_04112025_14_28_07_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c9e1768f9a6b1a7cc02c6d7f78a9492e.jpg","text":"TemporaryFile(/tmp/multipartBody3896992332989933277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735542384,"filename":"image_04112025_14_28_13_3807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/66d32658cc1f815ed42917dcbc6249e7.jpg","text":"TemporaryFile(/tmp/multipartBody4493767491732056402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735542384,"filename":"image_04112025_14_28_09_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/421e520bff05b9ec816360950c794c3d.jpg","text":"TemporaryFile(/tmp/multipartBody6449528544927364080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735542384,"filename":"image_04112025_14_28_18_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375411","file1":"1399375410","file0":"1399375387","file4":"1399375413","file5":"1399375418","file3":"1399375412"},"map_files_photo_id_array":[{"photo_id":"1399375418","filename":"file5"},{"photo_id":"1399375411","filename":"file2"},{"photo_id":"1399375413","filename":"file4"},{"photo_id":"1399375410","filename":"file1"},{"photo_id":"1399375387","filename":"file0"},{"photo_id":"1399375412","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399375418":["hashtag1","hashtag2"]},{"1399375412":["hashtag1","hashtag2"]},{"1399375387":["hashtag1","hashtag2"]},{"1399375411":["hashtag1","hashtag2"]},{"1399375410":["hashtag1","hashtag2"]},{"1399375413":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399375418, 1399375412, 1399375387, 1399375411, 1399375410, 1399375413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14026212692261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:05:22.047751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/02/image_14122025_19_03_04_9665.jpg', '/home/pi/Desktop/images/14122025/19/03/image_14122025_19_03_14_9710.jpg', '/home/pi/Desktop/images/14122025/19/03/image_14122025_19_03_25_10689.jpg', '/home/pi/Desktop/images/14122025/19/03/image_14122025_19_03_34_9593.jpg', '/home/pi/Desktop/images/14122025/19/03/image_14122025_19_03_44_9744.jpg', '/home/pi/Desktop/images/14122025/19/03/image_14122025_19_03_55_10838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/02/image_14122025_19_03_04_9665.jpg
/home/pi/Desktop/images/14122025/19/03/image_14122025_19_03_14_9710.jpg
/home/pi/Desktop/images/14122025/19/03/image_14122025_19_03_25_10689.jpg
/home/pi/Desktop/images/14122025/19/03/image_14122025_19_03_34_9593.jpg
/home/pi/Desktop/images/14122025/19/03/image_14122025_19_03_44_9744.jpg
/home/pi/Desktop/images/14122025/19/03/image_14122025_19_03_55_10838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399375555","1399375570","1399375567","1399375540","1399375575","1399375503"],"photo_ids_order":["1399375503","1399375540","1399375555","1399375567","1399375570","1399375575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9127391a49bdc4a1a1c1a4f86946dbab.jpg","text":"TemporaryFile(/tmp/multipartBody4796500347240753875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735585394,"filename":"image_14122025_19_03_25_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d446171e870917dc3b7ae3f5aa50e5e.jpg","text":"TemporaryFile(/tmp/multipartBody3737938704299048551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735585394,"filename":"image_14122025_19_03_44_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a288096b946e04e258de5acb15d6185c.jpg","text":"TemporaryFile(/tmp/multipartBody4968196315858841940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735585394,"filename":"image_14122025_19_03_34_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e0c3f2882c6e188d7c7c8a6a1ae5b038.jpg","text":"TemporaryFile(/tmp/multipartBody4191904811083546617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735585394,"filename":"image_14122025_19_03_14_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6adbd492d791c25b8edca51b4673f365.jpg","text":"TemporaryFile(/tmp/multipartBody5443946840781952970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735585394,"filename":"image_14122025_19_03_55_10838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fdf1ec8f4e326f0567f4922e1a74fa72.jpg","text":"TemporaryFile(/tmp/multipartBody4195051811565909604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735585394,"filename":"image_14122025_19_03_04_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375555","file1":"1399375540","file0":"1399375503","file4":"1399375570","file5":"1399375575","file3":"1399375567"},"map_files_photo_id_array":[{"photo_id":"1399375575","filename":"file5"},{"photo_id":"1399375555","filename":"file2"},{"photo_id":"1399375570","filename":"file4"},{"photo_id":"1399375540","filename":"file1"},{"photo_id":"1399375503","filename":"file0"},{"photo_id":"1399375567","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399375555":["hashtag1","hashtag2"]},{"1399375570":["hashtag1","hashtag2"]},{"1399375567":["hashtag1","hashtag2"]},{"1399375540":["hashtag1","hashtag2"]},{"1399375575":["hashtag1","hashtag2"]},{"1399375503":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399375555, 1399375570, 1399375567, 1399375540, 1399375575, 1399375503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9076292514801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 19:06:12.212951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:06:22.413181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/03/image_14122025_19_04_05_9642.jpg', '/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_14_9774.jpg', '/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_25_10653.jpg', '/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_35_9870.jpg', '/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_45_9612.jpg', '/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_54_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/03/image_14122025_19_04_05_9642.jpg
/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_14_9774.jpg
/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_25_10653.jpg
/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_35_9870.jpg
/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_45_9612.jpg
/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_54_9722.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4882242679595947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 19:06:32.419396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:06:42.249034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_25_3616.jpg', '/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_28_2757.jpg', '/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_30_2567.jpg', '/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_34_3640.jpg', '/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_36_2690.jpg', '/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_39_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_25_3616.jpg
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_28_2757.jpg
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_30_2567.jpg
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_34_3640.jpg
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_36_2690.jpg
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_39_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":["1399375591","1399375590","1399375593","1399375587","1399375592","1399375589"],"photo_ids_order":["1399375587","1399375589","1399375590","1399375591","1399375592","1399375593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1d1cfe7f85b4916934374f04ca5b103d.jpg","text":"TemporaryFile(/tmp/multipartBody1165453677119189446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735662931,"filename":"image_04112025_14_28_34_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0251dfee0d574afbbcb26fef78e969a4.jpg","text":"TemporaryFile(/tmp/multipartBody8706136433829945215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735662931,"filename":"image_04112025_14_28_30_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f3139035eefe5c9c446c88959723e64.jpg","text":"TemporaryFile(/tmp/multipartBody793330364900393661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735662931,"filename":"image_04112025_14_28_39_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/82590e2c18b9c8d780f37476ccccf7a6.jpg","text":"TemporaryFile(/tmp/multipartBody3350073587788906648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735662931,"filename":"image_04112025_14_28_25_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28f8506c5c20e95bceaea842af9d4023.jpg","text":"TemporaryFile(/tmp/multipartBody3865642075171511036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735662931,"filename":"image_04112025_14_28_36_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e504c1e01862fe69959c84131ca4d5ae.jpg","text":"TemporaryFile(/tmp/multipartBody1393785769063687762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735662931,"filename":"image_04112025_14_28_28_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375590","file1":"1399375589","file0":"1399375587","file4":"1399375592","file5":"1399375593","file3":"1399375591"},"map_files_photo_id_array":[{"photo_id":"1399375593","filename":"file5"},{"photo_id":"1399375590","filename":"file2"},{"photo_id":"1399375592","filename":"file4"},{"photo_id":"1399375589","filename":"file1"},{"photo_id":"1399375587","filename":"file0"},{"photo_id":"1399375591","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399375591":["hashtag1","hashtag2"]},{"1399375590":["hashtag1","hashtag2"]},{"1399375593":["hashtag1","hashtag2"]},{"1399375587":["hashtag1","hashtag2"]},{"1399375592":["hashtag1","hashtag2"]},{"1399375589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399375591, 1399375590, 1399375593, 1399375587, 1399375592, 1399375589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73724603652954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:07:22.544288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/03/image_14122025_19_04_05_9642.jpg', '/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_14_9774.jpg', '/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_25_10653.jpg', '/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_35_9870.jpg', '/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_45_9612.jpg', '/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_54_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/03/image_14122025_19_04_05_9642.jpg
/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_14_9774.jpg
/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_25_10653.jpg
/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_35_9870.jpg
/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_45_9612.jpg
/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_54_9722.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5586464405059814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 19:07:32.573209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:08:03.250555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/03/image_14122025_19_04_05_9642.jpg', '/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_14_9774.jpg', '/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_25_10653.jpg', '/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_35_9870.jpg', '/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_45_9612.jpg', '/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_54_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/03/image_14122025_19_04_05_9642.jpg
/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_14_9774.jpg
/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_25_10653.jpg
/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_35_9870.jpg
/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_45_9612.jpg
/home/pi/Desktop/images/14122025/19/04/image_14122025_19_04_54_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":["1399375613","1399375610","1399375607","1399375609","1399375611","1399375608"],"photo_ids_order":["1399375607","1399375608","1399375609","1399375610","1399375611","1399375613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7efe791ac2bba13226d461652c92a6d7.jpg","text":"TemporaryFile(/tmp/multipartBody6905570823901995169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735743848,"filename":"image_14122025_19_04_54_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/080585a207d59d7c3eb7c28eb2eaf094.jpg","text":"TemporaryFile(/tmp/multipartBody3417223875641551130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735743848,"filename":"image_14122025_19_04_35_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a900dcd0cfb9c6353fd3eb5b197367c0.jpg","text":"TemporaryFile(/tmp/multipartBody5056115165931792868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735743848,"filename":"image_14122025_19_04_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/31b215e33d2d6ac020751e1d89efefce.jpg","text":"TemporaryFile(/tmp/multipartBody598820521552986829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735743848,"filename":"image_14122025_19_04_25_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/624dab83ace132523a412e186b6f42b4.jpg","text":"TemporaryFile(/tmp/multipartBody9143472416882056931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735743848,"filename":"image_14122025_19_04_45_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ccdb273e6c20b3ed342930cbb093c1f.jpg","text":"TemporaryFile(/tmp/multipartBody2894561558497419980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735743848,"filename":"image_14122025_19_04_14_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375609","file1":"1399375608","file0":"1399375607","file4":"1399375611","file5":"1399375613","file3":"1399375610"},"map_files_photo_id_array":[{"photo_id":"1399375613","filename":"file5"},{"photo_id":"1399375609","filename":"file2"},{"photo_id":"1399375611","filename":"file4"},{"photo_id":"1399375608","filename":"file1"},{"photo_id":"1399375607","filename":"file0"},{"photo_id":"1399375610","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399375613":["hashtag1","hashtag2"]},{"1399375610":["hashtag1","hashtag2"]},{"1399375607":["hashtag1","hashtag2"]},{"1399375609":["hashtag1","hashtag2"]},{"1399375611":["hashtag1","hashtag2"]},{"1399375608":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399375613, 1399375610, 1399375607, 1399375609, 1399375611, 1399375608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.810059547424316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:08:42.879740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_43_3652.jpg', '/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_45_2717.jpg', '/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_48_2673.jpg', '/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_52_3789.jpg', '/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_55_2950.jpg', '/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_57_2113.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_43_3652.jpg
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_45_2717.jpg
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_48_2673.jpg
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_52_3789.jpg
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_55_2950.jpg
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_28_57_2113.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399375625","1399375624","1399375618","1399375627","1399375623","1399375626"],"photo_ids_order":["1399375618","1399375623","1399375624","1399375625","1399375626","1399375627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/014f1a8a9be1f6296e6b162933c47a1d.jpg","text":"TemporaryFile(/tmp/multipartBody8088853276280185476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735783585,"filename":"image_04112025_14_28_52_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ea79c82e117a08b7ea501f22606e8dbf.jpg","text":"TemporaryFile(/tmp/multipartBody8070550793067469430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735783585,"filename":"image_04112025_14_28_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/12/14/606f638e8770ee73f586f6f3ee243156.jpg","text":"TemporaryFile(/tmp/multipartBody6612637236148291302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735783585,"filename":"image_04112025_14_28_43_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4af03976a5fb8fa57d232bb4153e9020.jpg","text":"TemporaryFile(/tmp/multipartBody4390875001500880093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735783585,"filename":"image_04112025_14_28_57_2113.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7bad1b000fb963e58ae2d7b718312237.jpg","text":"TemporaryFile(/tmp/multipartBody4211491336186156975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735783585,"filename":"image_04112025_14_28_45_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b40641fbac13342daa20aab7f2701cd9.jpg","text":"TemporaryFile(/tmp/multipartBody1596838245295167085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735783585,"filename":"image_04112025_14_28_55_2950.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375624","file1":"1399375623","file0":"1399375618","file4":"1399375626","file5":"1399375627","file3":"1399375625"},"map_files_photo_id_array":[{"photo_id":"1399375627","filename":"file5"},{"photo_id":"1399375624","filename":"file2"},{"photo_id":"1399375626","filename":"file4"},{"photo_id":"1399375623","filename":"file1"},{"photo_id":"1399375618","filename":"file0"},{"photo_id":"1399375625","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399375625":["hashtag1","hashtag2"]},{"1399375624":["hashtag1","hashtag2"]},{"1399375618":["hashtag1","hashtag2"]},{"1399375627":["hashtag1","hashtag2"]},{"1399375623":["hashtag1","hashtag2"]},{"1399375626":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399375625, 1399375624, 1399375618, 1399375627, 1399375623, 1399375626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26254940032959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:09:22.151586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/04/image_14122025_19_05_05_10708.jpg', '/home/pi/Desktop/images/14122025/19/05/image_14122025_19_05_15_9653.jpg', '/home/pi/Desktop/images/14122025/19/05/image_14122025_19_05_24_9681.jpg', '/home/pi/Desktop/images/14122025/19/05/image_14122025_19_05_35_10559.jpg', '/home/pi/Desktop/images/14122025/19/05/image_14122025_19_05_45_9758.jpg', '/home/pi/Desktop/images/14122025/19/05/image_14122025_19_05_54_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/04/image_14122025_19_05_05_10708.jpg
/home/pi/Desktop/images/14122025/19/05/image_14122025_19_05_15_9653.jpg
/home/pi/Desktop/images/14122025/19/05/image_14122025_19_05_24_9681.jpg
/home/pi/Desktop/images/14122025/19/05/image_14122025_19_05_35_10559.jpg
/home/pi/Desktop/images/14122025/19/05/image_14122025_19_05_45_9758.jpg
/home/pi/Desktop/images/14122025/19/05/image_14122025_19_05_54_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399375634","1399375628","1399375636","1399375639","1399375630","1399375632"],"photo_ids_order":["1399375628","1399375630","1399375632","1399375634","1399375636","1399375639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/43d569bf1d8ae83af9c735631486c4c8.jpg","text":"TemporaryFile(/tmp/multipartBody7760313722623250823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735822785,"filename":"image_14122025_19_05_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/12/14/a2a01a3ecb32dc1a938d6b1654b36c6e.jpg","text":"TemporaryFile(/tmp/multipartBody1609474228369697440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735822785,"filename":"image_14122025_19_05_05_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/48150c9f71952e2201a1c94e582e69b1.jpg","text":"TemporaryFile(/tmp/multipartBody8365301163155772824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735822785,"filename":"image_14122025_19_05_45_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a8afd73034d50f61bbcc030823a4fe6d.jpg","text":"TemporaryFile(/tmp/multipartBody4211986587892979329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735822785,"filename":"image_14122025_19_05_54_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/33e092012b8f3a4b8ddab06f4ce94cb5.jpg","text":"TemporaryFile(/tmp/multipartBody7479219722404628360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735822785,"filename":"image_14122025_19_05_15_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b831f71a8af706e9ca726024c150c503.jpg","text":"TemporaryFile(/tmp/multipartBody6691894750825178747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735822785,"filename":"image_14122025_19_05_24_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375632","file1":"1399375630","file0":"1399375628","file4":"1399375636","file5":"1399375639","file3":"1399375634"},"map_files_photo_id_array":[{"photo_id":"1399375639","filename":"file5"},{"photo_id":"1399375632","filename":"file2"},{"photo_id":"1399375636","filename":"file4"},{"photo_id":"1399375630","filename":"file1"},{"photo_id":"1399375628","filename":"file0"},{"photo_id":"1399375634","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399375634":["hashtag1","hashtag2"]},{"1399375628":["hashtag1","hashtag2"]},{"1399375636":["hashtag1","hashtag2"]},{"1399375639":["hashtag1","hashtag2"]},{"1399375630":["hashtag1","hashtag2"]},{"1399375632":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399375634, 1399375628, 1399375636, 1399375639, 1399375630, 1399375632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72623133659363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:10:05.851396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/05/image_14122025_19_06_04_9839.jpg', '/home/pi/Desktop/images/14122025/19/06/image_14122025_19_06_15_10716.jpg', '/home/pi/Desktop/images/14122025/19/06/image_14122025_19_06_25_9756.jpg', '/home/pi/Desktop/images/14122025/19/06/image_14122025_19_06_34_9854.jpg', '/home/pi/Desktop/images/14122025/19/06/image_14122025_19_06_44_9828.jpg', '/home/pi/Desktop/images/14122025/19/06/image_14122025_19_06_55_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/05/image_14122025_19_06_04_9839.jpg
/home/pi/Desktop/images/14122025/19/06/image_14122025_19_06_15_10716.jpg
/home/pi/Desktop/images/14122025/19/06/image_14122025_19_06_25_9756.jpg
/home/pi/Desktop/images/14122025/19/06/image_14122025_19_06_34_9854.jpg
/home/pi/Desktop/images/14122025/19/06/image_14122025_19_06_44_9828.jpg
/home/pi/Desktop/images/14122025/19/06/image_14122025_19_06_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":["1399375643","1399375642","1399375645","1399375648","1399375644","1399375646"],"photo_ids_order":["1399375642","1399375643","1399375644","1399375645","1399375646","1399375648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f264da87f75103bb97db60ba54122087.jpg","text":"TemporaryFile(/tmp/multipartBody6630829164239061115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735866483,"filename":"image_14122025_19_06_15_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7dc8215f2925a938e995672f2b333530.jpg","text":"TemporaryFile(/tmp/multipartBody7418938332719622880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735866483,"filename":"image_14122025_19_06_04_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ecf01118977804a982046eab4dfd252f.jpg","text":"TemporaryFile(/tmp/multipartBody8100389619354463648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735866483,"filename":"image_14122025_19_06_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/12/14/8583160a0daedcd267cacca8854e6b5c.jpg","text":"TemporaryFile(/tmp/multipartBody5457506696349010790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735866483,"filename":"image_14122025_19_06_55_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d5b39303c3fc5ede90e02de5ab1e402c.jpg","text":"TemporaryFile(/tmp/multipartBody7086699422171008222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735866483,"filename":"image_14122025_19_06_25_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6303d1d94f2267a418e96f9e8bf98d2.jpg","text":"TemporaryFile(/tmp/multipartBody6609451563376190541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735866483,"filename":"image_14122025_19_06_44_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375644","file1":"1399375643","file0":"1399375642","file4":"1399375646","file5":"1399375648","file3":"1399375645"},"map_files_photo_id_array":[{"photo_id":"1399375648","filename":"file5"},{"photo_id":"1399375644","filename":"file2"},{"photo_id":"1399375646","filename":"file4"},{"photo_id":"1399375643","filename":"file1"},{"photo_id":"1399375642","filename":"file0"},{"photo_id":"1399375645","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399375643":["hashtag1","hashtag2"]},{"1399375642":["hashtag1","hashtag2"]},{"1399375645":["hashtag1","hashtag2"]},{"1399375648":["hashtag1","hashtag2"]},{"1399375644":["hashtag1","hashtag2"]},{"1399375646":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399375643, 1399375642, 1399375645, 1399375648, 1399375644, 1399375646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32833433151245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:10:44.977295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/28/image_04112025_14_29_00_2991.jpg', '/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_04_3787.jpg', '/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_07_2751.jpg', '/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_10_3108.jpg', '/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_13_3043.jpg', '/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_16_2971.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/28/image_04112025_14_29_00_2991.jpg
/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_04_3787.jpg
/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_07_2751.jpg
/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_10_3108.jpg
/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_13_3043.jpg
/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_16_2971.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399375661","1399375655","1399375663","1399375657","1399375653","1399375659"],"photo_ids_order":["1399375653","1399375655","1399375657","1399375659","1399375661","1399375663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/caebf0f2d39fef5cc1b1acb300cc5b46.jpg","text":"TemporaryFile(/tmp/multipartBody3535592864404507120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735905719,"filename":"image_04112025_14_29_13_3043.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3c1e5eaefc8f431d12f7224e2c465e2.jpg","text":"TemporaryFile(/tmp/multipartBody38225225609494383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735905719,"filename":"image_04112025_14_29_04_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5421027c1e72129e671973c1d00239db.jpg","text":"TemporaryFile(/tmp/multipartBody6207597524869228560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735905719,"filename":"image_04112025_14_29_16_2971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/60273b6ce25475a2540b68586aac2e27.jpg","text":"TemporaryFile(/tmp/multipartBody4479949496585002222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735905719,"filename":"image_04112025_14_29_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/12/14/816eed129d2c219ec2bf33b5cb986a31.jpg","text":"TemporaryFile(/tmp/multipartBody4289346102765332399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735905719,"filename":"image_04112025_14_29_00_2991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7469cb284c48d047bf8c423091de3be.jpg","text":"TemporaryFile(/tmp/multipartBody4141806391731159275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735905719,"filename":"image_04112025_14_29_10_3108.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375657","file1":"1399375655","file0":"1399375653","file4":"1399375661","file5":"1399375663","file3":"1399375659"},"map_files_photo_id_array":[{"photo_id":"1399375663","filename":"file5"},{"photo_id":"1399375657","filename":"file2"},{"photo_id":"1399375661","filename":"file4"},{"photo_id":"1399375655","filename":"file1"},{"photo_id":"1399375653","filename":"file0"},{"photo_id":"1399375659","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399375661":["hashtag1","hashtag2"]},{"1399375655":["hashtag1","hashtag2"]},{"1399375663":["hashtag1","hashtag2"]},{"1399375657":["hashtag1","hashtag2"]},{"1399375653":["hashtag1","hashtag2"]},{"1399375659":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399375661, 1399375655, 1399375663, 1399375657, 1399375653, 1399375659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19371223449707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:11:22.232056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/06/image_14122025_19_07_05_9559.jpg', '/home/pi/Desktop/images/14122025/19/07/image_14122025_19_07_14_9682.jpg', '/home/pi/Desktop/images/14122025/19/07/image_14122025_19_07_25_10678.jpg', '/home/pi/Desktop/images/14122025/19/07/image_14122025_19_07_34_9542.jpg', '/home/pi/Desktop/images/14122025/19/07/image_14122025_19_07_44_9805.jpg', '/home/pi/Desktop/images/14122025/19/07/image_14122025_19_07_55_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/06/image_14122025_19_07_05_9559.jpg
/home/pi/Desktop/images/14122025/19/07/image_14122025_19_07_14_9682.jpg
/home/pi/Desktop/images/14122025/19/07/image_14122025_19_07_25_10678.jpg
/home/pi/Desktop/images/14122025/19/07/image_14122025_19_07_34_9542.jpg
/home/pi/Desktop/images/14122025/19/07/image_14122025_19_07_44_9805.jpg
/home/pi/Desktop/images/14122025/19/07/image_14122025_19_07_55_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.5190320014953613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 19:11:32.246358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:11:42.176076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_19_3131.jpg', '/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_21_2714.jpg', '/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_24_2685.jpg', '/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_27_3316.jpg', '/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_30_2743.jpg', '/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_33_2846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_19_3131.jpg
/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_21_2714.jpg
/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_24_2685.jpg
/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_27_3316.jpg
/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_30_2743.jpg
/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_33_2846.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399375687","1399375684","1399375683","1399375686","1399375674","1399375685"],"photo_ids_order":["1399375674","1399375683","1399375684","1399375685","1399375686","1399375687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/501b60c1c1c254f933652f908d364727.jpg","text":"TemporaryFile(/tmp/multipartBody6660915439395038459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735962917,"filename":"image_04112025_14_29_33_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/afceade408dc0a59b8c3ae142aada08b.jpg","text":"TemporaryFile(/tmp/multipartBody2208340206397853536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735962917,"filename":"image_04112025_14_29_24_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/198e365c1b4371ec0c40afb57ee5f71a.jpg","text":"TemporaryFile(/tmp/multipartBody5569483025598391258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735962917,"filename":"image_04112025_14_29_21_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e1a55f39f894d12463d768647ab6bf64.jpg","text":"TemporaryFile(/tmp/multipartBody5622504285104101050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735962917,"filename":"image_04112025_14_29_30_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e0973cdba720f79451d031521d98cdfd.jpg","text":"TemporaryFile(/tmp/multipartBody5449468535741379677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735962917,"filename":"image_04112025_14_29_19_3131.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/98bcc4780e485069430288be40baa238.jpg","text":"TemporaryFile(/tmp/multipartBody5697697572287461845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765735962917,"filename":"image_04112025_14_29_27_3316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375684","file1":"1399375683","file0":"1399375674","file4":"1399375686","file5":"1399375687","file3":"1399375685"},"map_files_photo_id_array":[{"photo_id":"1399375687","filename":"file5"},{"photo_id":"1399375684","filename":"file2"},{"photo_id":"1399375686","filename":"file4"},{"photo_id":"1399375683","filename":"file1"},{"photo_id":"1399375674","filename":"file0"},{"photo_id":"1399375685","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399375687":["hashtag1","hashtag2"]},{"1399375684":["hashtag1","hashtag2"]},{"1399375683":["hashtag1","hashtag2"]},{"1399375686":["hashtag1","hashtag2"]},{"1399375674":["hashtag1","hashtag2"]},{"1399375685":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399375687, 1399375684, 1399375683, 1399375686, 1399375674, 1399375685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.660383224487305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:12:22.528898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/06/image_14122025_19_07_05_9559.jpg', '/home/pi/Desktop/images/14122025/19/07/image_14122025_19_07_14_9682.jpg', '/home/pi/Desktop/images/14122025/19/07/image_14122025_19_07_25_10678.jpg', '/home/pi/Desktop/images/14122025/19/07/image_14122025_19_07_34_9542.jpg', '/home/pi/Desktop/images/14122025/19/07/image_14122025_19_07_44_9805.jpg', '/home/pi/Desktop/images/14122025/19/07/image_14122025_19_07_55_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/06/image_14122025_19_07_05_9559.jpg
/home/pi/Desktop/images/14122025/19/07/image_14122025_19_07_14_9682.jpg
/home/pi/Desktop/images/14122025/19/07/image_14122025_19_07_25_10678.jpg
/home/pi/Desktop/images/14122025/19/07/image_14122025_19_07_34_9542.jpg
/home/pi/Desktop/images/14122025/19/07/image_14122025_19_07_44_9805.jpg
/home/pi/Desktop/images/14122025/19/07/image_14122025_19_07_55_10640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399375699","1399375690","1399375692","1399375695","1399375689","1399375697"],"photo_ids_order":["1399375689","1399375690","1399375692","1399375695","1399375697","1399375699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a055602918ee253c1e21eadfafb1affe.jpg","text":"TemporaryFile(/tmp/multipartBody2651054598805240362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736003167,"filename":"image_14122025_19_07_55_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6a9f7cd46cfaec9e28161fcfaf58c97a.jpg","text":"TemporaryFile(/tmp/multipartBody340282817928734256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736003167,"filename":"image_14122025_19_07_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3dad06de61b5ceef66b0f1f2fb78b12.jpg","text":"TemporaryFile(/tmp/multipartBody6952894503634255062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736003167,"filename":"image_14122025_19_07_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/12/14/3b52cf7e955dd9345d46c538f31455a9.jpg","text":"TemporaryFile(/tmp/multipartBody1577093189207126685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736003167,"filename":"image_14122025_19_07_34_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e0be92a2da8b23bcd585b69e1d11737d.jpg","text":"TemporaryFile(/tmp/multipartBody2679317044790220351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736003167,"filename":"image_14122025_19_07_05_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc66909462d73ed8f845ab4445a1d92a.jpg","text":"TemporaryFile(/tmp/multipartBody3349082549855526904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736003167,"filename":"image_14122025_19_07_44_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375692","file1":"1399375690","file0":"1399375689","file4":"1399375697","file5":"1399375699","file3":"1399375695"},"map_files_photo_id_array":[{"photo_id":"1399375699","filename":"file5"},{"photo_id":"1399375692","filename":"file2"},{"photo_id":"1399375697","filename":"file4"},{"photo_id":"1399375690","filename":"file1"},{"photo_id":"1399375689","filename":"file0"},{"photo_id":"1399375695","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399375699":["hashtag1","hashtag2"]},{"1399375690":["hashtag1","hashtag2"]},{"1399375692":["hashtag1","hashtag2"]},{"1399375695":["hashtag1","hashtag2"]},{"1399375689":["hashtag1","hashtag2"]},{"1399375697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399375699, 1399375690, 1399375692, 1399375695, 1399375689, 1399375697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49134874343872 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:13:03.203288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/07/image_14122025_19_08_05_9708.jpg', '/home/pi/Desktop/images/14122025/19/08/image_14122025_19_08_14_9709.jpg', '/home/pi/Desktop/images/14122025/19/08/image_14122025_19_08_24_9756.jpg', '/home/pi/Desktop/images/14122025/19/08/image_14122025_19_08_35_10782.jpg', '/home/pi/Desktop/images/14122025/19/08/image_14122025_19_08_45_9748.jpg', '/home/pi/Desktop/images/14122025/19/08/image_14122025_19_08_54_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/07/image_14122025_19_08_05_9708.jpg
/home/pi/Desktop/images/14122025/19/08/image_14122025_19_08_14_9709.jpg
/home/pi/Desktop/images/14122025/19/08/image_14122025_19_08_24_9756.jpg
/home/pi/Desktop/images/14122025/19/08/image_14122025_19_08_35_10782.jpg
/home/pi/Desktop/images/14122025/19/08/image_14122025_19_08_45_9748.jpg
/home/pi/Desktop/images/14122025/19/08/image_14122025_19_08_54_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":["1399375700","1399375703","1399375706","1399375702","1399375701","1399375704"],"photo_ids_order":["1399375700","1399375701","1399375702","1399375703","1399375704","1399375706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b31e2b488b3480bf90026b268fbcaf70.jpg","text":"TemporaryFile(/tmp/multipartBody799414369341571485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736043872,"filename":"image_14122025_19_08_05_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a5275738528dfdbc3ecd75063d82f9f0.jpg","text":"TemporaryFile(/tmp/multipartBody445753075183702290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736043872,"filename":"image_14122025_19_08_35_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8ce55cff73b1dee149009a0192652e3b.jpg","text":"TemporaryFile(/tmp/multipartBody1152382373410360026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736043872,"filename":"image_14122025_19_08_54_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f386387ebc7cfdde9c4add997c7a6572.jpg","text":"TemporaryFile(/tmp/multipartBody1165666072480500790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736043872,"filename":"image_14122025_19_08_24_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aac8765c5f33f696dac3da89e1f8b208.jpg","text":"TemporaryFile(/tmp/multipartBody817086166917709873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736043872,"filename":"image_14122025_19_08_14_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1fda7ff9137e559e169ddfaba8df3208.jpg","text":"TemporaryFile(/tmp/multipartBody5293643994233613919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736043872,"filename":"image_14122025_19_08_45_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375702","file1":"1399375701","file0":"1399375700","file4":"1399375704","file5":"1399375706","file3":"1399375703"},"map_files_photo_id_array":[{"photo_id":"1399375706","filename":"file5"},{"photo_id":"1399375702","filename":"file2"},{"photo_id":"1399375704","filename":"file4"},{"photo_id":"1399375701","filename":"file1"},{"photo_id":"1399375700","filename":"file0"},{"photo_id":"1399375703","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399375700":["hashtag1","hashtag2"]},{"1399375703":["hashtag1","hashtag2"]},{"1399375706":["hashtag1","hashtag2"]},{"1399375702":["hashtag1","hashtag2"]},{"1399375701":["hashtag1","hashtag2"]},{"1399375704":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399375700, 1399375703, 1399375706, 1399375702, 1399375701, 1399375704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87957763671875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:13:42.602205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_37_3648.jpg', '/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_39_2674.jpg', '/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_46_3538.jpg', '/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_48_2668.jpg', '/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_51_2649.jpg', '/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_55_3713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_37_3648.jpg
/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_39_2674.jpg
/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_46_3538.jpg
/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_48_2668.jpg
/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_51_2649.jpg
/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_55_3713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399375712","1399375715","1399375717","1399375714","1399375716","1399375713"],"photo_ids_order":["1399375712","1399375713","1399375714","1399375715","1399375716","1399375717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db74f25fb723a1c9f543b8efacfeee42.jpg","text":"TemporaryFile(/tmp/multipartBody5537963751569794858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736083326,"filename":"image_04112025_14_29_37_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eb37257e552c9f3bd07af0fa78817e4f.jpg","text":"TemporaryFile(/tmp/multipartBody5589552662615499192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736083326,"filename":"image_04112025_14_29_48_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b09a089b40b4e1877f51615002fd8489.jpg","text":"TemporaryFile(/tmp/multipartBody5478924103943418752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736083326,"filename":"image_04112025_14_29_55_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/502417785d212a6f34d2097471c409b4.jpg","text":"TemporaryFile(/tmp/multipartBody5117340613063187649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736083326,"filename":"image_04112025_14_29_46_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f32eb43e737d57857f643ea39da581d9.jpg","text":"TemporaryFile(/tmp/multipartBody3082123335476321220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736083326,"filename":"image_04112025_14_29_51_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b7ff6471858b974e6ee2908a7bd95368.jpg","text":"TemporaryFile(/tmp/multipartBody5146035809693694060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736083326,"filename":"image_04112025_14_29_39_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375714","file1":"1399375713","file0":"1399375712","file4":"1399375716","file5":"1399375717","file3":"1399375715"},"map_files_photo_id_array":[{"photo_id":"1399375717","filename":"file5"},{"photo_id":"1399375714","filename":"file2"},{"photo_id":"1399375716","filename":"file4"},{"photo_id":"1399375713","filename":"file1"},{"photo_id":"1399375712","filename":"file0"},{"photo_id":"1399375715","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399375712":["hashtag1","hashtag2"]},{"1399375715":["hashtag1","hashtag2"]},{"1399375717":["hashtag1","hashtag2"]},{"1399375714":["hashtag1","hashtag2"]},{"1399375716":["hashtag1","hashtag2"]},{"1399375713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399375712, 1399375715, 1399375717, 1399375714, 1399375716, 1399375713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.082552909851074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:14:21.922131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/08/image_14122025_19_09_04_9906.jpg', '/home/pi/Desktop/images/14122025/19/09/image_14122025_19_09_15_10692.jpg', '/home/pi/Desktop/images/14122025/19/09/image_14122025_19_09_25_9752.jpg', '/home/pi/Desktop/images/14122025/19/09/image_14122025_19_09_34_9696.jpg', '/home/pi/Desktop/images/14122025/19/09/image_14122025_19_09_55_10717.jpg', '/home/pi/Desktop/images/14122025/19/10/image_14122025_19_10_15_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/08/image_14122025_19_09_04_9906.jpg
/home/pi/Desktop/images/14122025/19/09/image_14122025_19_09_15_10692.jpg
/home/pi/Desktop/images/14122025/19/09/image_14122025_19_09_25_9752.jpg
/home/pi/Desktop/images/14122025/19/09/image_14122025_19_09_34_9696.jpg
/home/pi/Desktop/images/14122025/19/09/image_14122025_19_09_55_10717.jpg
/home/pi/Desktop/images/14122025/19/10/image_14122025_19_10_15_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":["1399375721","1399375724","1399375726","1399375720","1399375719","1399375730"],"photo_ids_order":["1399375719","1399375720","1399375721","1399375724","1399375726","1399375730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f6ec4449420479b3d3195575101a2f7b.jpg","text":"TemporaryFile(/tmp/multipartBody8828942527170034601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736122555,"filename":"image_14122025_19_09_25_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3bd5c7f70c67d413a2a8d3a87aa1ee0.jpg","text":"TemporaryFile(/tmp/multipartBody6063772491543944060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736122555,"filename":"image_14122025_19_09_34_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bbe97243197878f0fe584e58a5ce5275.jpg","text":"TemporaryFile(/tmp/multipartBody363470001089748453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736122555,"filename":"image_14122025_19_09_55_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fc901b07aca15cbeb944a157d7d57539.jpg","text":"TemporaryFile(/tmp/multipartBody2213973766345065037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736122555,"filename":"image_14122025_19_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/12/14/f33cc2dac72d82c3a5eeadedc92e43b0.jpg","text":"TemporaryFile(/tmp/multipartBody1763956440430108867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736122555,"filename":"image_14122025_19_09_04_9906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13f497371815b0066e06350a2c739416.jpg","text":"TemporaryFile(/tmp/multipartBody7625858305371802717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736122555,"filename":"image_14122025_19_10_15_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375721","file1":"1399375720","file0":"1399375719","file4":"1399375726","file5":"1399375730","file3":"1399375724"},"map_files_photo_id_array":[{"photo_id":"1399375730","filename":"file5"},{"photo_id":"1399375721","filename":"file2"},{"photo_id":"1399375726","filename":"file4"},{"photo_id":"1399375720","filename":"file1"},{"photo_id":"1399375719","filename":"file0"},{"photo_id":"1399375724","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399375721":["hashtag1","hashtag2"]},{"1399375724":["hashtag1","hashtag2"]},{"1399375726":["hashtag1","hashtag2"]},{"1399375720":["hashtag1","hashtag2"]},{"1399375719":["hashtag1","hashtag2"]},{"1399375730":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399375721, 1399375724, 1399375726, 1399375720, 1399375719, 1399375730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.941516637802124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:15:02.817616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/10/image_14122025_19_10_24_9619.jpg', '/home/pi/Desktop/images/14122025/19/10/image_14122025_19_10_35_10727.jpg', '/home/pi/Desktop/images/14122025/19/10/image_14122025_19_10_54_9701.jpg', '/home/pi/Desktop/images/14122025/19/10/image_14122025_19_11_04_9805.jpg', '/home/pi/Desktop/images/14122025/19/11/image_14122025_19_11_25_9798.jpg', '/home/pi/Desktop/images/14122025/19/11/image_14122025_19_11_34_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/10/image_14122025_19_10_24_9619.jpg
/home/pi/Desktop/images/14122025/19/10/image_14122025_19_10_35_10727.jpg
/home/pi/Desktop/images/14122025/19/10/image_14122025_19_10_54_9701.jpg
/home/pi/Desktop/images/14122025/19/10/image_14122025_19_11_04_9805.jpg
/home/pi/Desktop/images/14122025/19/11/image_14122025_19_11_25_9798.jpg
/home/pi/Desktop/images/14122025/19/11/image_14122025_19_11_34_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":["1399375742","1399375741","1399375744","1399375740","1399375737","1399375739"],"photo_ids_order":["1399375737","1399375739","1399375740","1399375741","1399375742","1399375744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bed479eb8f06b764e7e5d321c3c81de9.jpg","text":"TemporaryFile(/tmp/multipartBody2461820482771115400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736163493,"filename":"image_14122025_19_11_25_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9adbfd12e01d302dfe1a981c3fc58e01.jpg","text":"TemporaryFile(/tmp/multipartBody3647599911347841527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736163493,"filename":"image_14122025_19_11_04_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/daf8388e4e414632d4c6434b630c938b.jpg","text":"TemporaryFile(/tmp/multipartBody6468637616015461821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736163493,"filename":"image_14122025_19_11_34_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/38d17db98e4d8effdf67739cecfc3b63.jpg","text":"TemporaryFile(/tmp/multipartBody7200865682390455574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736163493,"filename":"image_14122025_19_10_54_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c90bab74655323c2026512e33a71564.jpg","text":"TemporaryFile(/tmp/multipartBody4747408690979458298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736163493,"filename":"image_14122025_19_10_24_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7573dc186c93c03ea658b62717321ee7.jpg","text":"TemporaryFile(/tmp/multipartBody5807466710530582271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736163493,"filename":"image_14122025_19_10_35_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375740","file1":"1399375739","file0":"1399375737","file4":"1399375742","file5":"1399375744","file3":"1399375741"},"map_files_photo_id_array":[{"photo_id":"1399375744","filename":"file5"},{"photo_id":"1399375740","filename":"file2"},{"photo_id":"1399375742","filename":"file4"},{"photo_id":"1399375739","filename":"file1"},{"photo_id":"1399375737","filename":"file0"},{"photo_id":"1399375741","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399375742":["hashtag1","hashtag2"]},{"1399375741":["hashtag1","hashtag2"]},{"1399375744":["hashtag1","hashtag2"]},{"1399375740":["hashtag1","hashtag2"]},{"1399375737":["hashtag1","hashtag2"]},{"1399375739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399375742, 1399375741, 1399375744, 1399375740, 1399375737, 1399375739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.568169355392456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:15:42.187773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_57_2555.jpg', '/home/pi/Desktop/images/04112025/14/29/image_04112025_14_30_00_2807.jpg', '/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_07_3011.jpg', '/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_10_3674.jpg', '/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_13_2878.jpg', '/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_16_2823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_57_2555.jpg
/home/pi/Desktop/images/04112025/14/29/image_04112025_14_30_00_2807.jpg
/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_07_3011.jpg
/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_10_3674.jpg
/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_13_2878.jpg
/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_16_2823.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6306338310241699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:16:02.871285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/11/image_14122025_19_11_45_10595.jpg', '/home/pi/Desktop/images/14122025/19/11/image_14122025_19_11_55_9589.jpg', '/home/pi/Desktop/images/14122025/19/11/image_14122025_19_12_04_9845.jpg', '/home/pi/Desktop/images/14122025/19/12/image_14122025_19_12_15_10639.jpg', '/home/pi/Desktop/images/14122025/19/12/image_14122025_19_12_34_9728.jpg', '/home/pi/Desktop/images/14122025/19/12/image_14122025_19_12_44_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/11/image_14122025_19_11_45_10595.jpg
/home/pi/Desktop/images/14122025/19/11/image_14122025_19_11_55_9589.jpg
/home/pi/Desktop/images/14122025/19/11/image_14122025_19_12_04_9845.jpg
/home/pi/Desktop/images/14122025/19/12/image_14122025_19_12_15_10639.jpg
/home/pi/Desktop/images/14122025/19/12/image_14122025_19_12_34_9728.jpg
/home/pi/Desktop/images/14122025/19/12/image_14122025_19_12_44_9714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399375760","1399375759","1399375761","1399375758","1399375763","1399375757"],"photo_ids_order":["1399375757","1399375758","1399375759","1399375760","1399375761","1399375763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3e93dd22b47fb914641b05b1d2819c8.jpg","text":"TemporaryFile(/tmp/multipartBody7900544440437587229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736223526,"filename":"image_14122025_19_12_15_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/45d71f8c0d813b43a142676a22d5b992.jpg","text":"TemporaryFile(/tmp/multipartBody1419373626336830890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736223526,"filename":"image_14122025_19_12_04_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a27c873a770af7f8623b5684df21eff.jpg","text":"TemporaryFile(/tmp/multipartBody7389108738115797866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736223526,"filename":"image_14122025_19_12_34_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd29eb1a2635582ac69ab21a2569deb7.jpg","text":"TemporaryFile(/tmp/multipartBody9198681181345608107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736223526,"filename":"image_14122025_19_11_55_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/100f387c0695bb89497bec77be99a48d.jpg","text":"TemporaryFile(/tmp/multipartBody8860186118918570233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736223526,"filename":"image_14122025_19_12_44_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/469a89e81b52f01d04e0fcba993712b3.jpg","text":"TemporaryFile(/tmp/multipartBody6900899701931694474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736223526,"filename":"image_14122025_19_11_45_10595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375759","file1":"1399375758","file0":"1399375757","file4":"1399375761","file5":"1399375763","file3":"1399375760"},"map_files_photo_id_array":[{"photo_id":"1399375763","filename":"file5"},{"photo_id":"1399375759","filename":"file2"},{"photo_id":"1399375761","filename":"file4"},{"photo_id":"1399375758","filename":"file1"},{"photo_id":"1399375757","filename":"file0"},{"photo_id":"1399375760","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399375760":["hashtag1","hashtag2"]},{"1399375759":["hashtag1","hashtag2"]},{"1399375761":["hashtag1","hashtag2"]},{"1399375758":["hashtag1","hashtag2"]},{"1399375763":["hashtag1","hashtag2"]},{"1399375757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399375760, 1399375759, 1399375761, 1399375758, 1399375763, 1399375757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32487893104553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:16:42.445525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_57_2555.jpg', '/home/pi/Desktop/images/04112025/14/29/image_04112025_14_30_00_2807.jpg', '/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_07_3011.jpg', '/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_10_3674.jpg', '/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_13_2878.jpg', '/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_16_2823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/29/image_04112025_14_29_57_2555.jpg
/home/pi/Desktop/images/04112025/14/29/image_04112025_14_30_00_2807.jpg
/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_07_3011.jpg
/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_10_3674.jpg
/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_13_2878.jpg
/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_16_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":["1399375771","1399375774","1399375768","1399375770","1399375773","1399375772"],"photo_ids_order":["1399375768","1399375770","1399375771","1399375772","1399375773","1399375774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2bf92a81908eb82c913faac08c1763d.jpg","text":"TemporaryFile(/tmp/multipartBody8302880985490290628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736263054,"filename":"image_04112025_14_30_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9067e78ff9271480d8ae0a8b3595c2c5.jpg","text":"TemporaryFile(/tmp/multipartBody5716264272838780955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736263054,"filename":"image_04112025_14_30_16_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b90c4386591084c15bf1fe32eddc581.jpg","text":"TemporaryFile(/tmp/multipartBody2360712496498071701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736263054,"filename":"image_04112025_14_29_57_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2614ee08856b509164d413c5a369d79e.jpg","text":"TemporaryFile(/tmp/multipartBody2116886346592557713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736263054,"filename":"image_04112025_14_30_00_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/261c4eb44dbe20f081e98524b0187b20.jpg","text":"TemporaryFile(/tmp/multipartBody1912371981323414564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736263054,"filename":"image_04112025_14_30_13_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/85c7aff6f4791988aa9d84635c975551.jpg","text":"TemporaryFile(/tmp/multipartBody3753747056068490286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736263054,"filename":"image_04112025_14_30_10_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375771","file1":"1399375770","file0":"1399375768","file4":"1399375773","file5":"1399375774","file3":"1399375772"},"map_files_photo_id_array":[{"photo_id":"1399375774","filename":"file5"},{"photo_id":"1399375771","filename":"file2"},{"photo_id":"1399375773","filename":"file4"},{"photo_id":"1399375770","filename":"file1"},{"photo_id":"1399375768","filename":"file0"},{"photo_id":"1399375772","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399375771":["hashtag1","hashtag2"]},{"1399375774":["hashtag1","hashtag2"]},{"1399375768":["hashtag1","hashtag2"]},{"1399375770":["hashtag1","hashtag2"]},{"1399375773":["hashtag1","hashtag2"]},{"1399375772":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399375771, 1399375774, 1399375768, 1399375770, 1399375773, 1399375772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09260559082031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:17:22.715097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/12/image_14122025_19_12_55_10889.jpg', '/home/pi/Desktop/images/14122025/19/12/image_14122025_19_13_04_9399.jpg', '/home/pi/Desktop/images/14122025/19/13/image_14122025_19_13_15_10623.jpg', '/home/pi/Desktop/images/14122025/19/13/image_14122025_19_13_25_9608.jpg', '/home/pi/Desktop/images/14122025/19/13/image_14122025_19_13_34_9721.jpg', '/home/pi/Desktop/images/14122025/19/13/image_14122025_19_13_55_10591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/12/image_14122025_19_12_55_10889.jpg
/home/pi/Desktop/images/14122025/19/12/image_14122025_19_13_04_9399.jpg
/home/pi/Desktop/images/14122025/19/13/image_14122025_19_13_15_10623.jpg
/home/pi/Desktop/images/14122025/19/13/image_14122025_19_13_25_9608.jpg
/home/pi/Desktop/images/14122025/19/13/image_14122025_19_13_34_9721.jpg
/home/pi/Desktop/images/14122025/19/13/image_14122025_19_13_55_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":["1399375786","1399375783","1399375777","1399375779","1399375776","1399375781"],"photo_ids_order":["1399375776","1399375777","1399375779","1399375781","1399375783","1399375786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54fde4960bec2d5954e3a1a2060c82fa.jpg","text":"TemporaryFile(/tmp/multipartBody3071916615763311549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736303400,"filename":"image_14122025_19_13_55_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3bd71701c336a7cf915565c23ed8cac6.jpg","text":"TemporaryFile(/tmp/multipartBody4494984240263552227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736303400,"filename":"image_14122025_19_13_34_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3490944d944a10fb41cd2e44b8f8119b.jpg","text":"TemporaryFile(/tmp/multipartBody6536663559052609773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736303400,"filename":"image_14122025_19_13_04_9399.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3ccf4dbf73464dfcbd33ac496761fa5b.jpg","text":"TemporaryFile(/tmp/multipartBody8046912420303052761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736303400,"filename":"image_14122025_19_13_15_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/16f39bfa3e56ffd5b14a2320c2451a5e.jpg","text":"TemporaryFile(/tmp/multipartBody5825899446705270536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736303400,"filename":"image_14122025_19_12_55_10889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d7d7bb37c640f0b711a216f6182bba4.jpg","text":"TemporaryFile(/tmp/multipartBody486098962362392158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736303400,"filename":"image_14122025_19_13_25_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375779","file1":"1399375777","file0":"1399375776","file4":"1399375783","file5":"1399375786","file3":"1399375781"},"map_files_photo_id_array":[{"photo_id":"1399375786","filename":"file5"},{"photo_id":"1399375779","filename":"file2"},{"photo_id":"1399375783","filename":"file4"},{"photo_id":"1399375777","filename":"file1"},{"photo_id":"1399375776","filename":"file0"},{"photo_id":"1399375781","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399375786":["hashtag1","hashtag2"]},{"1399375783":["hashtag1","hashtag2"]},{"1399375777":["hashtag1","hashtag2"]},{"1399375779":["hashtag1","hashtag2"]},{"1399375776":["hashtag1","hashtag2"]},{"1399375781":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399375786, 1399375783, 1399375777, 1399375779, 1399375776, 1399375781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38073396682739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:18:02.366015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/13/image_14122025_19_14_04_9649.jpg', '/home/pi/Desktop/images/14122025/19/14/image_14122025_19_14_14_9789.jpg', '/home/pi/Desktop/images/14122025/19/14/image_14122025_19_14_25_10684.jpg', '/home/pi/Desktop/images/14122025/19/14/image_14122025_19_14_35_9684.jpg', '/home/pi/Desktop/images/14122025/19/14/image_14122025_19_14_44_9720.jpg', '/home/pi/Desktop/images/14122025/19/14/image_14122025_19_14_54_9897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/13/image_14122025_19_14_04_9649.jpg
/home/pi/Desktop/images/14122025/19/14/image_14122025_19_14_14_9789.jpg
/home/pi/Desktop/images/14122025/19/14/image_14122025_19_14_25_10684.jpg
/home/pi/Desktop/images/14122025/19/14/image_14122025_19_14_35_9684.jpg
/home/pi/Desktop/images/14122025/19/14/image_14122025_19_14_44_9720.jpg
/home/pi/Desktop/images/14122025/19/14/image_14122025_19_14_54_9897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399375792","1399375789","1399375791","1399375788","1399375787","1399375790"],"photo_ids_order":["1399375787","1399375788","1399375789","1399375790","1399375791","1399375792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/50b383a1a6035d9ba4352f74d3da594e.jpg","text":"TemporaryFile(/tmp/multipartBody4177441418383567807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736342999,"filename":"image_14122025_19_14_54_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7e34fdd6061e276762db9995cf5b7753.jpg","text":"TemporaryFile(/tmp/multipartBody2416647821745034874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736342999,"filename":"image_14122025_19_14_25_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be036d30f80f27d55f303a12e29c42b9.jpg","text":"TemporaryFile(/tmp/multipartBody8162400642755396824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736342999,"filename":"image_14122025_19_14_44_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8fc192a71c470ed6e990e952eca57e5a.jpg","text":"TemporaryFile(/tmp/multipartBody1903029069320544913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736342999,"filename":"image_14122025_19_14_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/12/14/c6ebe2a35daefbd200cb149a686c2dd7.jpg","text":"TemporaryFile(/tmp/multipartBody7231018340325973216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736342999,"filename":"image_14122025_19_14_04_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5756bc398ca3dba33a1e0e712824a0c8.jpg","text":"TemporaryFile(/tmp/multipartBody1901945620209047198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736342999,"filename":"image_14122025_19_14_35_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375789","file1":"1399375788","file0":"1399375787","file4":"1399375791","file5":"1399375792","file3":"1399375790"},"map_files_photo_id_array":[{"photo_id":"1399375792","filename":"file5"},{"photo_id":"1399375789","filename":"file2"},{"photo_id":"1399375791","filename":"file4"},{"photo_id":"1399375788","filename":"file1"},{"photo_id":"1399375787","filename":"file0"},{"photo_id":"1399375790","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399375792":["hashtag1","hashtag2"]},{"1399375789":["hashtag1","hashtag2"]},{"1399375791":["hashtag1","hashtag2"]},{"1399375788":["hashtag1","hashtag2"]},{"1399375787":["hashtag1","hashtag2"]},{"1399375790":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399375792, 1399375789, 1399375791, 1399375788, 1399375787, 1399375790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.046547412872314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:18:41.900114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_19_3034.jpg', '/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_22_2661.jpg', '/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_25_3619.jpg', '/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_28_2826.jpg', '/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_31_2841.jpg', '/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_34_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_19_3034.jpg
/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_22_2661.jpg
/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_25_3619.jpg
/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_28_2826.jpg
/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_31_2841.jpg
/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_34_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":["1399375808","1399375802","1399375804","1399375797","1399375800","1399375806"],"photo_ids_order":["1399375797","1399375800","1399375802","1399375804","1399375806","1399375808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b2d08655323d44850f06b287f373785d.jpg","text":"TemporaryFile(/tmp/multipartBody6695206981534692409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736382634,"filename":"image_04112025_14_30_34_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b1e1950ac539bc1ab173638a94e6f1c.jpg","text":"TemporaryFile(/tmp/multipartBody2716457086152346962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736382634,"filename":"image_04112025_14_30_25_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/095592ad1b93ce02342657dbe9d0e478.jpg","text":"TemporaryFile(/tmp/multipartBody7251266321998914814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736382634,"filename":"image_04112025_14_30_28_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3a54df419a4c4d68765b0d69e446cc53.jpg","text":"TemporaryFile(/tmp/multipartBody7977423706985379003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736382634,"filename":"image_04112025_14_30_19_3034.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d5ec7f40d7da52ad2d99deed36658a2e.jpg","text":"TemporaryFile(/tmp/multipartBody7846393069447581000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736382634,"filename":"image_04112025_14_30_22_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f074f4aec41b579fad2421cb99394f68.jpg","text":"TemporaryFile(/tmp/multipartBody439883794468691963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736382634,"filename":"image_04112025_14_30_31_2841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375802","file1":"1399375800","file0":"1399375797","file4":"1399375806","file5":"1399375808","file3":"1399375804"},"map_files_photo_id_array":[{"photo_id":"1399375808","filename":"file5"},{"photo_id":"1399375802","filename":"file2"},{"photo_id":"1399375806","filename":"file4"},{"photo_id":"1399375800","filename":"file1"},{"photo_id":"1399375797","filename":"file0"},{"photo_id":"1399375804","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399375808":["hashtag1","hashtag2"]},{"1399375802":["hashtag1","hashtag2"]},{"1399375804":["hashtag1","hashtag2"]},{"1399375797":["hashtag1","hashtag2"]},{"1399375800":["hashtag1","hashtag2"]},{"1399375806":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399375808, 1399375802, 1399375804, 1399375797, 1399375800, 1399375806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28766655921936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:19:22.157128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/14/image_14122025_19_15_05_10690.jpg', '/home/pi/Desktop/images/14122025/19/15/image_14122025_19_15_15_9688.jpg', '/home/pi/Desktop/images/14122025/19/15/image_14122025_19_15_24_9674.jpg', '/home/pi/Desktop/images/14122025/19/15/image_14122025_19_15_35_10659.jpg', '/home/pi/Desktop/images/14122025/19/15/image_14122025_19_15_54_9684.jpg', '/home/pi/Desktop/images/14122025/19/15/image_14122025_19_16_05_10738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/14/image_14122025_19_15_05_10690.jpg
/home/pi/Desktop/images/14122025/19/15/image_14122025_19_15_15_9688.jpg
/home/pi/Desktop/images/14122025/19/15/image_14122025_19_15_24_9674.jpg
/home/pi/Desktop/images/14122025/19/15/image_14122025_19_15_35_10659.jpg
/home/pi/Desktop/images/14122025/19/15/image_14122025_19_15_54_9684.jpg
/home/pi/Desktop/images/14122025/19/15/image_14122025_19_16_05_10738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399375814","1399375817","1399375816","1399375810","1399375818","1399375812"],"photo_ids_order":["1399375810","1399375812","1399375814","1399375816","1399375817","1399375818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/77830ff8295fb18b203868f4668a9f5c.jpg","text":"TemporaryFile(/tmp/multipartBody1196131152044699554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736422792,"filename":"image_14122025_19_15_24_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3932db7a21ac02a783f26bd91c7dcd67.jpg","text":"TemporaryFile(/tmp/multipartBody7538842676111134885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736422792,"filename":"image_14122025_19_15_54_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d58ad172aff8bec09b118634c5cc8d95.jpg","text":"TemporaryFile(/tmp/multipartBody495199641605091247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736422792,"filename":"image_14122025_19_15_35_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13127d82d744ccebf3a361ba3e234759.jpg","text":"TemporaryFile(/tmp/multipartBody8233368028099800320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736422792,"filename":"image_14122025_19_15_05_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/89f4a64bf94f196735c651f4f0674f9b.jpg","text":"TemporaryFile(/tmp/multipartBody4356081989890930190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736422792,"filename":"image_14122025_19_16_05_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6eebb31668a946f0cf70ef55ccdd812c.jpg","text":"TemporaryFile(/tmp/multipartBody1418851835326199139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736422792,"filename":"image_14122025_19_15_15_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375814","file1":"1399375812","file0":"1399375810","file4":"1399375817","file5":"1399375818","file3":"1399375816"},"map_files_photo_id_array":[{"photo_id":"1399375818","filename":"file5"},{"photo_id":"1399375814","filename":"file2"},{"photo_id":"1399375817","filename":"file4"},{"photo_id":"1399375812","filename":"file1"},{"photo_id":"1399375810","filename":"file0"},{"photo_id":"1399375816","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399375814":["hashtag1","hashtag2"]},{"1399375817":["hashtag1","hashtag2"]},{"1399375816":["hashtag1","hashtag2"]},{"1399375810":["hashtag1","hashtag2"]},{"1399375818":["hashtag1","hashtag2"]},{"1399375812":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399375814, 1399375817, 1399375816, 1399375810, 1399375818, 1399375812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.301520347595215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:20:03.045419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/16/image_14122025_19_16_15_9767.jpg', '/home/pi/Desktop/images/14122025/19/16/image_14122025_19_16_24_9535.jpg', '/home/pi/Desktop/images/14122025/19/16/image_14122025_19_16_35_10739.jpg', '/home/pi/Desktop/images/14122025/19/16/image_14122025_19_16_45_9770.jpg', '/home/pi/Desktop/images/14122025/19/16/image_14122025_19_16_54_9686.jpg', '/home/pi/Desktop/images/14122025/19/16/image_14122025_19_17_04_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/16/image_14122025_19_16_15_9767.jpg
/home/pi/Desktop/images/14122025/19/16/image_14122025_19_16_24_9535.jpg
/home/pi/Desktop/images/14122025/19/16/image_14122025_19_16_35_10739.jpg
/home/pi/Desktop/images/14122025/19/16/image_14122025_19_16_45_9770.jpg
/home/pi/Desktop/images/14122025/19/16/image_14122025_19_16_54_9686.jpg
/home/pi/Desktop/images/14122025/19/16/image_14122025_19_17_04_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":["1399375826","1399375825","1399375828","1399375821","1399375824","1399375823"],"photo_ids_order":["1399375821","1399375823","1399375824","1399375825","1399375826","1399375828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a87b3542578925b8f8f6ed7b912fb754.jpg","text":"TemporaryFile(/tmp/multipartBody763148421693642618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736463676,"filename":"image_14122025_19_16_54_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/73dadb305eb7e01315674e19a38ab823.jpg","text":"TemporaryFile(/tmp/multipartBody1048276081132867135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736463676,"filename":"image_14122025_19_16_45_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe8be0031ed2dc5163251ac3a8819c09.jpg","text":"TemporaryFile(/tmp/multipartBody6567043861601743030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736463676,"filename":"image_14122025_19_17_04_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c23ba5f0a4e2a9fd524f0699e050630c.jpg","text":"TemporaryFile(/tmp/multipartBody8054909464684184233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736463676,"filename":"image_14122025_19_16_15_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b22a2297b7cbc8a2b2bf4155c46c14d0.jpg","text":"TemporaryFile(/tmp/multipartBody8821092886656616413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736463676,"filename":"image_14122025_19_16_35_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f39fa9bf176bc4f512cb6f485bc8e0f3.jpg","text":"TemporaryFile(/tmp/multipartBody8514263489052150228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736463676,"filename":"image_14122025_19_16_24_9535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375824","file1":"1399375823","file0":"1399375821","file4":"1399375826","file5":"1399375828","file3":"1399375825"},"map_files_photo_id_array":[{"photo_id":"1399375828","filename":"file5"},{"photo_id":"1399375824","filename":"file2"},{"photo_id":"1399375826","filename":"file4"},{"photo_id":"1399375823","filename":"file1"},{"photo_id":"1399375821","filename":"file0"},{"photo_id":"1399375825","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399375826":["hashtag1","hashtag2"]},{"1399375825":["hashtag1","hashtag2"]},{"1399375828":["hashtag1","hashtag2"]},{"1399375821":["hashtag1","hashtag2"]},{"1399375824":["hashtag1","hashtag2"]},{"1399375823":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399375826, 1399375825, 1399375828, 1399375821, 1399375824, 1399375823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89740300178528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:20:42.554254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_37_3639.jpg', '/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_40_2638.jpg', '/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_43_2641.jpg', '/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_46_3563.jpg', '/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_49_2863.jpg', '/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_52_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_37_3639.jpg
/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_40_2638.jpg
/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_43_2641.jpg
/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_46_3563.jpg
/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_49_2863.jpg
/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_52_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":["1399375832","1399375835","1399375834","1399375837","1399375836","1399375838"],"photo_ids_order":["1399375832","1399375834","1399375835","1399375836","1399375837","1399375838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0433ef2a556f4e9acd1f68fd1738086d.jpg","text":"TemporaryFile(/tmp/multipartBody1638660580860474436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736503278,"filename":"image_04112025_14_30_37_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a454fe025c7cfbf8f32ecdda50350f22.jpg","text":"TemporaryFile(/tmp/multipartBody3047603837717894124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736503278,"filename":"image_04112025_14_30_43_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a96543e7a6734561cdd5c729e05cc0b1.jpg","text":"TemporaryFile(/tmp/multipartBody3298881786935884272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736503278,"filename":"image_04112025_14_30_40_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bbc5f2eb3f211b3dd11032244cbc9e31.jpg","text":"TemporaryFile(/tmp/multipartBody171017404987450085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736503278,"filename":"image_04112025_14_30_49_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/62e6d7c9bb7d3a365dc36c320edcaab2.jpg","text":"TemporaryFile(/tmp/multipartBody58381606995459852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736503278,"filename":"image_04112025_14_30_46_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ead274fd0f2e4f59fca72e90fe21747.jpg","text":"TemporaryFile(/tmp/multipartBody1940012340849317860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736503278,"filename":"image_04112025_14_30_52_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375835","file1":"1399375834","file0":"1399375832","file4":"1399375837","file5":"1399375838","file3":"1399375836"},"map_files_photo_id_array":[{"photo_id":"1399375838","filename":"file5"},{"photo_id":"1399375835","filename":"file2"},{"photo_id":"1399375837","filename":"file4"},{"photo_id":"1399375834","filename":"file1"},{"photo_id":"1399375832","filename":"file0"},{"photo_id":"1399375836","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399375832":["hashtag1","hashtag2"]},{"1399375835":["hashtag1","hashtag2"]},{"1399375834":["hashtag1","hashtag2"]},{"1399375837":["hashtag1","hashtag2"]},{"1399375836":["hashtag1","hashtag2"]},{"1399375838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399375832, 1399375835, 1399375834, 1399375837, 1399375836, 1399375838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49442005157471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:21:22.854466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/17/image_14122025_19_17_15_10740.jpg', '/home/pi/Desktop/images/14122025/19/17/image_14122025_19_17_25_9706.jpg', '/home/pi/Desktop/images/14122025/19/17/image_14122025_19_17_34_9566.jpg', '/home/pi/Desktop/images/14122025/19/17/image_14122025_19_17_45_10601.jpg', '/home/pi/Desktop/images/14122025/19/17/image_14122025_19_17_54_9579.jpg', '/home/pi/Desktop/images/14122025/19/17/image_14122025_19_18_04_9902.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/17/image_14122025_19_17_15_10740.jpg
/home/pi/Desktop/images/14122025/19/17/image_14122025_19_17_25_9706.jpg
/home/pi/Desktop/images/14122025/19/17/image_14122025_19_17_34_9566.jpg
/home/pi/Desktop/images/14122025/19/17/image_14122025_19_17_45_10601.jpg
/home/pi/Desktop/images/14122025/19/17/image_14122025_19_17_54_9579.jpg
/home/pi/Desktop/images/14122025/19/17/image_14122025_19_18_04_9902.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399375847","1399375840","1399375845","1399375842","1399375850","1399375844"],"photo_ids_order":["1399375840","1399375842","1399375844","1399375845","1399375847","1399375850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dbd01191b66306a350405e5a18246d00.jpg","text":"TemporaryFile(/tmp/multipartBody9129822151301975892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736543482,"filename":"image_14122025_19_17_54_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f89a9aa09fa8bbb7393967ddb5c1ce67.jpg","text":"TemporaryFile(/tmp/multipartBody6244900578041742328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736543482,"filename":"image_14122025_19_17_15_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/05c5fc663d1bbfd6f094d0b6aca9b618.jpg","text":"TemporaryFile(/tmp/multipartBody8557386229204089342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736543482,"filename":"image_14122025_19_17_45_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a9b999e8d69b0d5142a8fa866dd22c4.jpg","text":"TemporaryFile(/tmp/multipartBody527382736391413443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736543482,"filename":"image_14122025_19_17_25_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f5a482b11644bba1ccb94ff0d14745e.jpg","text":"TemporaryFile(/tmp/multipartBody1545508304751006049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736543482,"filename":"image_14122025_19_18_04_9902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a0c40e7652a4175196e2f7d0e11a9f1.jpg","text":"TemporaryFile(/tmp/multipartBody8443893616058908048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736543482,"filename":"image_14122025_19_17_34_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375844","file1":"1399375842","file0":"1399375840","file4":"1399375847","file5":"1399375850","file3":"1399375845"},"map_files_photo_id_array":[{"photo_id":"1399375850","filename":"file5"},{"photo_id":"1399375844","filename":"file2"},{"photo_id":"1399375847","filename":"file4"},{"photo_id":"1399375842","filename":"file1"},{"photo_id":"1399375840","filename":"file0"},{"photo_id":"1399375845","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399375847":["hashtag1","hashtag2"]},{"1399375840":["hashtag1","hashtag2"]},{"1399375845":["hashtag1","hashtag2"]},{"1399375842":["hashtag1","hashtag2"]},{"1399375850":["hashtag1","hashtag2"]},{"1399375844":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399375847, 1399375840, 1399375845, 1399375842, 1399375850, 1399375844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37116599082947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:22:02.418323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/18/image_14122025_19_18_25_10649.jpg', '/home/pi/Desktop/images/14122025/19/18/image_14122025_19_18_35_9720.jpg', '/home/pi/Desktop/images/14122025/19/18/image_14122025_19_18_44_9629.jpg', '/home/pi/Desktop/images/14122025/19/18/image_14122025_19_18_54_9803.jpg', '/home/pi/Desktop/images/14122025/19/18/image_14122025_19_19_05_10610.jpg', '/home/pi/Desktop/images/14122025/19/19/image_14122025_19_19_14_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/18/image_14122025_19_18_25_10649.jpg
/home/pi/Desktop/images/14122025/19/18/image_14122025_19_18_35_9720.jpg
/home/pi/Desktop/images/14122025/19/18/image_14122025_19_18_44_9629.jpg
/home/pi/Desktop/images/14122025/19/18/image_14122025_19_18_54_9803.jpg
/home/pi/Desktop/images/14122025/19/18/image_14122025_19_19_05_10610.jpg
/home/pi/Desktop/images/14122025/19/19/image_14122025_19_19_14_9729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399375853","1399375855","1399375851","1399375854","1399375857","1399375856"],"photo_ids_order":["1399375851","1399375853","1399375854","1399375855","1399375856","1399375857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2fc046e4280b85a50cedecd21acae6d9.jpg","text":"TemporaryFile(/tmp/multipartBody8109214111222382616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736583068,"filename":"image_14122025_19_18_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/12/14/4571d68f11b66c701dd0c875ed939571.jpg","text":"TemporaryFile(/tmp/multipartBody7661202160931614396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736583068,"filename":"image_14122025_19_18_54_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c5f3a8c48cae5f93158d00e66b3f3163.jpg","text":"TemporaryFile(/tmp/multipartBody291103647863594993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736583068,"filename":"image_14122025_19_18_25_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63c48f1c128cf9c7f0b4f61c37a72a0d.jpg","text":"TemporaryFile(/tmp/multipartBody7528179061286320101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736583068,"filename":"image_14122025_19_18_44_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bae135bec405fe9e564b049129483430.jpg","text":"TemporaryFile(/tmp/multipartBody5119919101651775004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736583068,"filename":"image_14122025_19_19_14_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/10bcb23e0d16d6ebc12fda53b9e2ca4d.jpg","text":"TemporaryFile(/tmp/multipartBody1060021166643451953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736583068,"filename":"image_14122025_19_19_05_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375854","file1":"1399375853","file0":"1399375851","file4":"1399375856","file5":"1399375857","file3":"1399375855"},"map_files_photo_id_array":[{"photo_id":"1399375857","filename":"file5"},{"photo_id":"1399375854","filename":"file2"},{"photo_id":"1399375856","filename":"file4"},{"photo_id":"1399375853","filename":"file1"},{"photo_id":"1399375851","filename":"file0"},{"photo_id":"1399375855","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399375853":["hashtag1","hashtag2"]},{"1399375855":["hashtag1","hashtag2"]},{"1399375851":["hashtag1","hashtag2"]},{"1399375854":["hashtag1","hashtag2"]},{"1399375857":["hashtag1","hashtag2"]},{"1399375856":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399375853, 1399375855, 1399375851, 1399375854, 1399375857, 1399375856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.358540534973145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:22:41.953690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_55_2804.jpg', '/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_58_3821.jpg', '/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_01_2894.jpg', '/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_04_2775.jpg', '/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_07_2558.jpg', '/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_10_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_55_2804.jpg
/home/pi/Desktop/images/04112025/14/30/image_04112025_14_30_58_3821.jpg
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_01_2894.jpg
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_04_2775.jpg
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_07_2558.jpg
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_10_3570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399375870","1399375873","1399375867","1399375872","1399375862","1399375865"],"photo_ids_order":["1399375862","1399375865","1399375867","1399375870","1399375872","1399375873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a4310bf7c7d4c2cd3888f2d12d9e525d.jpg","text":"TemporaryFile(/tmp/multipartBody8462576228303165108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736622677,"filename":"image_04112025_14_31_04_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/53e3a412a6b3e620ed87b264f7c9f00c.jpg","text":"TemporaryFile(/tmp/multipartBody8436786787028235472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736622677,"filename":"image_04112025_14_31_10_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d5aaa2f543752d28b523cc1cf0990e4.jpg","text":"TemporaryFile(/tmp/multipartBody3109634754704246269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736622677,"filename":"image_04112025_14_31_01_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/031476592d6edca0d094f110c7340afb.jpg","text":"TemporaryFile(/tmp/multipartBody7606944435605897474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736622677,"filename":"image_04112025_14_31_07_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9fbb7ace5a8507fd964a907d41d05b9d.jpg","text":"TemporaryFile(/tmp/multipartBody2947025146557195329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736622677,"filename":"image_04112025_14_30_55_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/04f67dd4e706362da0202406f7ac42b9.jpg","text":"TemporaryFile(/tmp/multipartBody279163194547373359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736622677,"filename":"image_04112025_14_30_58_3821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375867","file1":"1399375865","file0":"1399375862","file4":"1399375872","file5":"1399375873","file3":"1399375870"},"map_files_photo_id_array":[{"photo_id":"1399375873","filename":"file5"},{"photo_id":"1399375867","filename":"file2"},{"photo_id":"1399375872","filename":"file4"},{"photo_id":"1399375865","filename":"file1"},{"photo_id":"1399375862","filename":"file0"},{"photo_id":"1399375870","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399375870":["hashtag1","hashtag2"]},{"1399375873":["hashtag1","hashtag2"]},{"1399375867":["hashtag1","hashtag2"]},{"1399375872":["hashtag1","hashtag2"]},{"1399375862":["hashtag1","hashtag2"]},{"1399375865":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399375870, 1399375873, 1399375867, 1399375872, 1399375862, 1399375865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89656591415405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:23:22.178139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/19/image_14122025_19_19_25_10560.jpg', '/home/pi/Desktop/images/14122025/19/19/image_14122025_19_19_35_9685.jpg', '/home/pi/Desktop/images/14122025/19/19/image_14122025_19_19_44_9769.jpg', '/home/pi/Desktop/images/14122025/19/19/image_14122025_19_19_54_9822.jpg', '/home/pi/Desktop/images/14122025/19/19/image_14122025_19_20_04_9797.jpg', '/home/pi/Desktop/images/14122025/19/20/image_14122025_19_20_15_10863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/19/image_14122025_19_19_25_10560.jpg
/home/pi/Desktop/images/14122025/19/19/image_14122025_19_19_35_9685.jpg
/home/pi/Desktop/images/14122025/19/19/image_14122025_19_19_44_9769.jpg
/home/pi/Desktop/images/14122025/19/19/image_14122025_19_19_54_9822.jpg
/home/pi/Desktop/images/14122025/19/19/image_14122025_19_20_04_9797.jpg
/home/pi/Desktop/images/14122025/19/20/image_14122025_19_20_15_10863.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.137483835220337 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 19:23:32.171426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:23:42.352396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_13_2657.jpg', '/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_16_2654.jpg', '/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_19_3787.jpg', '/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_22_2701.jpg', '/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_25_2691.jpg', '/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_28_3532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_13_2657.jpg
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_16_2654.jpg
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_19_3787.jpg
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_22_2701.jpg
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_25_2691.jpg
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_28_3532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399375891","1399375894","1399375890","1399375893","1399375892","1399375886"],"photo_ids_order":["1399375886","1399375890","1399375891","1399375892","1399375893","1399375894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c3763b7c9f3abdb9d57a475f0617cd9.jpg","text":"TemporaryFile(/tmp/multipartBody7969061912877821426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736683135,"filename":"image_04112025_14_31_19_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c48349c4811faeac95b7dd876ad428f.jpg","text":"TemporaryFile(/tmp/multipartBody3561524244507692285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736683135,"filename":"image_04112025_14_31_28_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/12566b7a34686076796f0066adcd377d.jpg","text":"TemporaryFile(/tmp/multipartBody2194240964728493990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736683135,"filename":"image_04112025_14_31_16_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/977c84e434ec766ca3e2b9b70c412dd9.jpg","text":"TemporaryFile(/tmp/multipartBody2869065741587619189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736683135,"filename":"image_04112025_14_31_25_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7ec618d744006abf07375d860b35176.jpg","text":"TemporaryFile(/tmp/multipartBody799434896438533002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736683135,"filename":"image_04112025_14_31_22_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd92d40d489d4bc87788ac2a3e28cbfc.jpg","text":"TemporaryFile(/tmp/multipartBody3231318927721305171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736683135,"filename":"image_04112025_14_31_13_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375891","file1":"1399375890","file0":"1399375886","file4":"1399375893","file5":"1399375894","file3":"1399375892"},"map_files_photo_id_array":[{"photo_id":"1399375894","filename":"file5"},{"photo_id":"1399375891","filename":"file2"},{"photo_id":"1399375893","filename":"file4"},{"photo_id":"1399375890","filename":"file1"},{"photo_id":"1399375886","filename":"file0"},{"photo_id":"1399375892","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399375891":["hashtag1","hashtag2"]},{"1399375894":["hashtag1","hashtag2"]},{"1399375890":["hashtag1","hashtag2"]},{"1399375893":["hashtag1","hashtag2"]},{"1399375892":["hashtag1","hashtag2"]},{"1399375886":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399375891, 1399375894, 1399375890, 1399375893, 1399375892, 1399375886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26026391983032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:24:22.612968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/19/image_14122025_19_19_25_10560.jpg', '/home/pi/Desktop/images/14122025/19/19/image_14122025_19_19_35_9685.jpg', '/home/pi/Desktop/images/14122025/19/19/image_14122025_19_19_44_9769.jpg', '/home/pi/Desktop/images/14122025/19/19/image_14122025_19_19_54_9822.jpg', '/home/pi/Desktop/images/14122025/19/19/image_14122025_19_20_04_9797.jpg', '/home/pi/Desktop/images/14122025/19/20/image_14122025_19_20_15_10863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/19/image_14122025_19_19_25_10560.jpg
/home/pi/Desktop/images/14122025/19/19/image_14122025_19_19_35_9685.jpg
/home/pi/Desktop/images/14122025/19/19/image_14122025_19_19_44_9769.jpg
/home/pi/Desktop/images/14122025/19/19/image_14122025_19_19_54_9822.jpg
/home/pi/Desktop/images/14122025/19/19/image_14122025_19_20_04_9797.jpg
/home/pi/Desktop/images/14122025/19/20/image_14122025_19_20_15_10863.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399375904","1399375907","1399375897","1399375896","1399375900","1399375902"],"photo_ids_order":["1399375896","1399375897","1399375900","1399375902","1399375904","1399375907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e970b1bf9a4f789ac53224ffb2842ebc.jpg","text":"TemporaryFile(/tmp/multipartBody4949505588479830943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736723229,"filename":"image_14122025_19_20_04_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7e4d24c0fd6d016b427b7c05f65f2bea.jpg","text":"TemporaryFile(/tmp/multipartBody9020231882141555844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736723229,"filename":"image_14122025_19_20_15_10863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e47a08e4b5ff64133cba31b9b0a57a3.jpg","text":"TemporaryFile(/tmp/multipartBody986165610420678251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736723229,"filename":"image_14122025_19_19_35_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b42105aab0b4a69c33ee700002b680e6.jpg","text":"TemporaryFile(/tmp/multipartBody2998185706761558681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736723229,"filename":"image_14122025_19_19_25_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae3b3f769a553b9f7269e21dbdbdc2fd.jpg","text":"TemporaryFile(/tmp/multipartBody7297458985529340129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736723229,"filename":"image_14122025_19_19_44_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be79939da985ec58bde9e4e8a471a571.jpg","text":"TemporaryFile(/tmp/multipartBody8838381898619459602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736723229,"filename":"image_14122025_19_19_54_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375900","file1":"1399375897","file0":"1399375896","file4":"1399375904","file5":"1399375907","file3":"1399375902"},"map_files_photo_id_array":[{"photo_id":"1399375907","filename":"file5"},{"photo_id":"1399375900","filename":"file2"},{"photo_id":"1399375904","filename":"file4"},{"photo_id":"1399375897","filename":"file1"},{"photo_id":"1399375896","filename":"file0"},{"photo_id":"1399375902","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399375904":["hashtag1","hashtag2"]},{"1399375907":["hashtag1","hashtag2"]},{"1399375897":["hashtag1","hashtag2"]},{"1399375896":["hashtag1","hashtag2"]},{"1399375900":["hashtag1","hashtag2"]},{"1399375902":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399375904, 1399375907, 1399375897, 1399375896, 1399375900, 1399375902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.954928159713745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:25:03.473586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/20/image_14122025_19_20_25_9732.jpg', '/home/pi/Desktop/images/14122025/19/20/image_14122025_19_20_34_9669.jpg', '/home/pi/Desktop/images/14122025/19/20/image_14122025_19_20_45_10634.jpg', '/home/pi/Desktop/images/14122025/19/20/image_14122025_19_20_55_9657.jpg', '/home/pi/Desktop/images/14122025/19/20/image_14122025_19_21_04_9812.jpg', '/home/pi/Desktop/images/14122025/19/21/image_14122025_19_21_14_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/20/image_14122025_19_20_25_9732.jpg
/home/pi/Desktop/images/14122025/19/20/image_14122025_19_20_34_9669.jpg
/home/pi/Desktop/images/14122025/19/20/image_14122025_19_20_45_10634.jpg
/home/pi/Desktop/images/14122025/19/20/image_14122025_19_20_55_9657.jpg
/home/pi/Desktop/images/14122025/19/20/image_14122025_19_21_04_9812.jpg
/home/pi/Desktop/images/14122025/19/21/image_14122025_19_21_14_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399375910","1399375912","1399375909","1399375914","1399375908","1399375911"],"photo_ids_order":["1399375908","1399375909","1399375910","1399375911","1399375912","1399375914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7bb20b8478244aa02f90c7cff5d9e7b7.jpg","text":"TemporaryFile(/tmp/multipartBody5272701126998704232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736764148,"filename":"image_14122025_19_20_45_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/652e8c9b995bbfce047c0792f7c4d4e4.jpg","text":"TemporaryFile(/tmp/multipartBody455456356205371961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736764148,"filename":"image_14122025_19_21_04_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/298b44fa1832c440415f841c5c751414.jpg","text":"TemporaryFile(/tmp/multipartBody5525978574744324821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736764148,"filename":"image_14122025_19_20_34_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/293e91e92481908c8dfce8d597a724d7.jpg","text":"TemporaryFile(/tmp/multipartBody3376478345422223767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736764148,"filename":"image_14122025_19_21_14_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/37f64717b19ef0c5cf96a359e320e473.jpg","text":"TemporaryFile(/tmp/multipartBody5748190603835341486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736764148,"filename":"image_14122025_19_20_25_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd0774c417d985f3254b7a9cf77ec75a.jpg","text":"TemporaryFile(/tmp/multipartBody2232083652340108446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736764148,"filename":"image_14122025_19_20_55_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375910","file1":"1399375909","file0":"1399375908","file4":"1399375912","file5":"1399375914","file3":"1399375911"},"map_files_photo_id_array":[{"photo_id":"1399375914","filename":"file5"},{"photo_id":"1399375910","filename":"file2"},{"photo_id":"1399375912","filename":"file4"},{"photo_id":"1399375909","filename":"file1"},{"photo_id":"1399375908","filename":"file0"},{"photo_id":"1399375911","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399375910":["hashtag1","hashtag2"]},{"1399375912":["hashtag1","hashtag2"]},{"1399375909":["hashtag1","hashtag2"]},{"1399375914":["hashtag1","hashtag2"]},{"1399375908":["hashtag1","hashtag2"]},{"1399375911":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399375910, 1399375912, 1399375909, 1399375914, 1399375908, 1399375911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36863946914673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:25:42.748316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_31_2614.jpg', '/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_34_2734.jpg', '/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_37_3018.jpg', '/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_40_3534.jpg', '/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_43_2624.jpg', '/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_46_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_31_2614.jpg
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_34_2734.jpg
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_37_3018.jpg
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_40_3534.jpg
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_43_2624.jpg
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_46_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":["1399375925","1399375924","1399375927","1399375926","1399375920","1399375923"],"photo_ids_order":["1399375920","1399375923","1399375924","1399375925","1399375926","1399375927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b0b7b3661dc59ca06869dbf0cca6d364.jpg","text":"TemporaryFile(/tmp/multipartBody1199433178380379404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736803456,"filename":"image_04112025_14_31_40_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d1c2bab5e1085aa8388951893b9de4ff.jpg","text":"TemporaryFile(/tmp/multipartBody2675581460478708827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736803456,"filename":"image_04112025_14_31_37_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b98f1cf853d0ce97c1ad524272e1e7d3.jpg","text":"TemporaryFile(/tmp/multipartBody1004719920117762064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736803456,"filename":"image_04112025_14_31_46_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa768304a727d9d5208c8b5ccd46ab0e.jpg","text":"TemporaryFile(/tmp/multipartBody6746818293536792883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736803456,"filename":"image_04112025_14_31_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/12/14/c75b2d70a0dbc3be4188c4225b0650c0.jpg","text":"TemporaryFile(/tmp/multipartBody6877984909399341001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736803456,"filename":"image_04112025_14_31_31_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a6a960da28cad8d0e3286ca3f8e7fe8.jpg","text":"TemporaryFile(/tmp/multipartBody4186495148133790730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736803456,"filename":"image_04112025_14_31_34_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375924","file1":"1399375923","file0":"1399375920","file4":"1399375926","file5":"1399375927","file3":"1399375925"},"map_files_photo_id_array":[{"photo_id":"1399375927","filename":"file5"},{"photo_id":"1399375924","filename":"file2"},{"photo_id":"1399375926","filename":"file4"},{"photo_id":"1399375923","filename":"file1"},{"photo_id":"1399375920","filename":"file0"},{"photo_id":"1399375925","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399375925":["hashtag1","hashtag2"]},{"1399375924":["hashtag1","hashtag2"]},{"1399375927":["hashtag1","hashtag2"]},{"1399375926":["hashtag1","hashtag2"]},{"1399375920":["hashtag1","hashtag2"]},{"1399375923":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399375925, 1399375924, 1399375927, 1399375926, 1399375920, 1399375923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.392163038253784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:26:22.055669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/21/image_14122025_19_21_25_10574.jpg', '/home/pi/Desktop/images/14122025/19/21/image_14122025_19_21_34_9748.jpg', '/home/pi/Desktop/images/14122025/19/21/image_14122025_19_21_44_9841.jpg', '/home/pi/Desktop/images/14122025/19/21/image_14122025_19_21_55_10781.jpg', '/home/pi/Desktop/images/14122025/19/21/image_14122025_19_22_05_9549.jpg', '/home/pi/Desktop/images/14122025/19/22/image_14122025_19_22_14_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/21/image_14122025_19_21_25_10574.jpg
/home/pi/Desktop/images/14122025/19/21/image_14122025_19_21_34_9748.jpg
/home/pi/Desktop/images/14122025/19/21/image_14122025_19_21_44_9841.jpg
/home/pi/Desktop/images/14122025/19/21/image_14122025_19_21_55_10781.jpg
/home/pi/Desktop/images/14122025/19/21/image_14122025_19_22_05_9549.jpg
/home/pi/Desktop/images/14122025/19/22/image_14122025_19_22_14_9766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399375931","1399375934","1399375928","1399375936","1399375941","1399375929"],"photo_ids_order":["1399375928","1399375929","1399375931","1399375934","1399375936","1399375941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/434fb3a3c1e71b1364191e9c6c2c1877.jpg","text":"TemporaryFile(/tmp/multipartBody8162550843148286355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736842718,"filename":"image_14122025_19_21_44_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/87cb79f6fcf20ebd3ee6fa15b0b233a2.jpg","text":"TemporaryFile(/tmp/multipartBody5688020523619285918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736842718,"filename":"image_14122025_19_21_55_10781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cab501ad372cd8351c42d0054a2cf77d.jpg","text":"TemporaryFile(/tmp/multipartBody6417061931395465724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736842718,"filename":"image_14122025_19_21_25_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c473acbd48dcc5b0444995db23e7ece.jpg","text":"TemporaryFile(/tmp/multipartBody2634033643880485600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736842718,"filename":"image_14122025_19_22_05_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f1df7724a2d0f4c4bfb1490712ca277.jpg","text":"TemporaryFile(/tmp/multipartBody6091205439962363198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736842718,"filename":"image_14122025_19_22_14_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c080ab1333d69fd1853cbf04d4ddd97.jpg","text":"TemporaryFile(/tmp/multipartBody5525938815132710761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736842718,"filename":"image_14122025_19_21_34_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375931","file1":"1399375929","file0":"1399375928","file4":"1399375936","file5":"1399375941","file3":"1399375934"},"map_files_photo_id_array":[{"photo_id":"1399375941","filename":"file5"},{"photo_id":"1399375931","filename":"file2"},{"photo_id":"1399375936","filename":"file4"},{"photo_id":"1399375929","filename":"file1"},{"photo_id":"1399375928","filename":"file0"},{"photo_id":"1399375934","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399375931":["hashtag1","hashtag2"]},{"1399375934":["hashtag1","hashtag2"]},{"1399375928":["hashtag1","hashtag2"]},{"1399375936":["hashtag1","hashtag2"]},{"1399375941":["hashtag1","hashtag2"]},{"1399375929":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399375931, 1399375934, 1399375928, 1399375936, 1399375941, 1399375929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71471548080444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:27:02.950237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/22/image_14122025_19_22_25_10649.jpg', '/home/pi/Desktop/images/14122025/19/22/image_14122025_19_22_35_9566.jpg', '/home/pi/Desktop/images/14122025/19/22/image_14122025_19_22_44_9728.jpg', '/home/pi/Desktop/images/14122025/19/22/image_14122025_19_22_54_9758.jpg', '/home/pi/Desktop/images/14122025/19/22/image_14122025_19_23_05_10809.jpg', '/home/pi/Desktop/images/14122025/19/23/image_14122025_19_23_15_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/22/image_14122025_19_22_25_10649.jpg
/home/pi/Desktop/images/14122025/19/22/image_14122025_19_22_35_9566.jpg
/home/pi/Desktop/images/14122025/19/22/image_14122025_19_22_44_9728.jpg
/home/pi/Desktop/images/14122025/19/22/image_14122025_19_22_54_9758.jpg
/home/pi/Desktop/images/14122025/19/22/image_14122025_19_23_05_10809.jpg
/home/pi/Desktop/images/14122025/19/23/image_14122025_19_23_15_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":["1399375946","1399375951","1399375948","1399375950","1399375953","1399375949"],"photo_ids_order":["1399375946","1399375948","1399375949","1399375950","1399375951","1399375953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c98e84c8fbcb15e7394d7f1855ed5223.jpg","text":"TemporaryFile(/tmp/multipartBody3258330343471792976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736883664,"filename":"image_14122025_19_22_25_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d94986f67cc8c473a1166844763acd3.jpg","text":"TemporaryFile(/tmp/multipartBody2401561349111513565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736883664,"filename":"image_14122025_19_23_05_10809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf54b1cb5a1fd2b36e5be4b2f8ad7e1c.jpg","text":"TemporaryFile(/tmp/multipartBody6215677555662605718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736883664,"filename":"image_14122025_19_22_35_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/97b3144e9523ee1ffa025843e6ff2efc.jpg","text":"TemporaryFile(/tmp/multipartBody6246041167984355188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736883664,"filename":"image_14122025_19_22_54_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6716a32c323337636b771f3b3b489345.jpg","text":"TemporaryFile(/tmp/multipartBody6629286279640134853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736883664,"filename":"image_14122025_19_23_15_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b5a27c35d6fca6af4520a5f0111a7fb8.jpg","text":"TemporaryFile(/tmp/multipartBody7375973499424851051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736883664,"filename":"image_14122025_19_22_44_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375949","file1":"1399375948","file0":"1399375946","file4":"1399375951","file5":"1399375953","file3":"1399375950"},"map_files_photo_id_array":[{"photo_id":"1399375953","filename":"file5"},{"photo_id":"1399375949","filename":"file2"},{"photo_id":"1399375951","filename":"file4"},{"photo_id":"1399375948","filename":"file1"},{"photo_id":"1399375946","filename":"file0"},{"photo_id":"1399375950","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399375946":["hashtag1","hashtag2"]},{"1399375951":["hashtag1","hashtag2"]},{"1399375948":["hashtag1","hashtag2"]},{"1399375950":["hashtag1","hashtag2"]},{"1399375953":["hashtag1","hashtag2"]},{"1399375949":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399375946, 1399375951, 1399375948, 1399375950, 1399375953, 1399375949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.998451471328735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:27:42.410339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_49_3798.jpg', '/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_52_2509.jpg', '/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_55_2651.jpg', '/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_58_3736.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_01_2646.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_04_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_49_3798.jpg
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_52_2509.jpg
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_55_2651.jpg
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_58_3736.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_01_2646.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_04_2711.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6027042865753174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:28:03.106200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/23/image_14122025_19_23_24_9722.jpg', '/home/pi/Desktop/images/14122025/19/23/image_14122025_19_23_35_10604.jpg', '/home/pi/Desktop/images/14122025/19/23/image_14122025_19_23_45_9717.jpg', '/home/pi/Desktop/images/14122025/19/23/image_14122025_19_23_54_9860.jpg', '/home/pi/Desktop/images/14122025/19/23/image_14122025_19_24_04_9712.jpg', '/home/pi/Desktop/images/14122025/19/24/image_14122025_19_24_15_10466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/23/image_14122025_19_23_24_9722.jpg
/home/pi/Desktop/images/14122025/19/23/image_14122025_19_23_35_10604.jpg
/home/pi/Desktop/images/14122025/19/23/image_14122025_19_23_45_9717.jpg
/home/pi/Desktop/images/14122025/19/23/image_14122025_19_23_54_9860.jpg
/home/pi/Desktop/images/14122025/19/23/image_14122025_19_24_04_9712.jpg
/home/pi/Desktop/images/14122025/19/24/image_14122025_19_24_15_10466.jpg
 val : 1 : upload photos already in 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":["1399375966","1399375969","1399375971","1399375965","1399375967","1399375964"],"photo_ids_order":["1399375964","1399375965","1399375966","1399375967","1399375969","1399375971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ddbbb9ae97d5b24aa62ffd5fe11533b.jpg","text":"TemporaryFile(/tmp/multipartBody9142230263939108312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736947347,"filename":"image_14122025_19_23_45_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/37fe587b09574992b90306f46c5769ae.jpg","text":"TemporaryFile(/tmp/multipartBody1687313377159852298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736947347,"filename":"image_14122025_19_24_04_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/802a62b962b5b98351a3c54cf2575e47.jpg","text":"TemporaryFile(/tmp/multipartBody4614182177551687302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736947347,"filename":"image_14122025_19_24_15_10466.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76ec666f4ff5df86aec662dce2a12a28.jpg","text":"TemporaryFile(/tmp/multipartBody2005790823911110475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736947347,"filename":"image_14122025_19_23_35_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/58a75a486f46ad02b86ffdd400032aa2.jpg","text":"TemporaryFile(/tmp/multipartBody800908596356350264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736947347,"filename":"image_14122025_19_23_54_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1dc38932b2bb1e3902b8b2a879398fb3.jpg","text":"TemporaryFile(/tmp/multipartBody6959272589248667925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765736947347,"filename":"image_14122025_19_23_24_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375966","file1":"1399375965","file0":"1399375964","file4":"1399375969","file5":"1399375971","file3":"1399375967"},"map_files_photo_id_array":[{"photo_id":"1399375971","filename":"file5"},{"photo_id":"1399375966","filename":"file2"},{"photo_id":"1399375969","filename":"file4"},{"photo_id":"1399375965","filename":"file1"},{"photo_id":"1399375964","filename":"file0"},{"photo_id":"1399375967","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399375966":["hashtag1","hashtag2"]},{"1399375969":["hashtag1","hashtag2"]},{"1399375971":["hashtag1","hashtag2"]},{"1399375965":["hashtag1","hashtag2"]},{"1399375967":["hashtag1","hashtag2"]},{"1399375964":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399375966, 1399375969, 1399375971, 1399375965, 1399375967, 1399375964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04351592063904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:29:02.760266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/24/image_14122025_19_24_24_9807.jpg', '/home/pi/Desktop/images/14122025/19/24/image_14122025_19_24_35_10602.jpg', '/home/pi/Desktop/images/14122025/19/24/image_14122025_19_24_45_9883.jpg', '/home/pi/Desktop/images/14122025/19/24/image_14122025_19_24_54_9603.jpg', '/home/pi/Desktop/images/14122025/19/24/image_14122025_19_25_04_9771.jpg', '/home/pi/Desktop/images/14122025/19/25/image_14122025_19_25_25_9950.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/24/image_14122025_19_24_24_9807.jpg
/home/pi/Desktop/images/14122025/19/24/image_14122025_19_24_35_10602.jpg
/home/pi/Desktop/images/14122025/19/24/image_14122025_19_24_45_9883.jpg
/home/pi/Desktop/images/14122025/19/24/image_14122025_19_24_54_9603.jpg
/home/pi/Desktop/images/14122025/19/24/image_14122025_19_25_04_9771.jpg
/home/pi/Desktop/images/14122025/19/25/image_14122025_19_25_25_9950.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399375978","1399375975","1399375980","1399375982","1399375976","1399375979"],"photo_ids_order":["1399375975","1399375976","1399375978","1399375979","1399375980","1399375982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/030ba274db4cc3274a5d50411c1867f4.jpg","text":"TemporaryFile(/tmp/multipartBody1929298670432206717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737003506,"filename":"image_14122025_19_24_45_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5617c432cba0e68e73c560c973fb8f05.jpg","text":"TemporaryFile(/tmp/multipartBody4934410664413041105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737003506,"filename":"image_14122025_19_24_24_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a2c0e6d4c6b01cc6c9f52828b1a7e30c.jpg","text":"TemporaryFile(/tmp/multipartBody2812168608358303539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737003506,"filename":"image_14122025_19_25_04_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c14ac39900fa5cba142a528303bfe535.jpg","text":"TemporaryFile(/tmp/multipartBody9103109197698822640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737003506,"filename":"image_14122025_19_25_25_9950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5fdb09d0c6d1fa879b776bf2cece15c5.jpg","text":"TemporaryFile(/tmp/multipartBody8106336601040642176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737003506,"filename":"image_14122025_19_24_35_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b1838cfbbd7afcb0cc07a23808e87940.jpg","text":"TemporaryFile(/tmp/multipartBody9133871681814867247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737003506,"filename":"image_14122025_19_24_54_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375978","file1":"1399375976","file0":"1399375975","file4":"1399375980","file5":"1399375982","file3":"1399375979"},"map_files_photo_id_array":[{"photo_id":"1399375982","filename":"file5"},{"photo_id":"1399375978","filename":"file2"},{"photo_id":"1399375980","filename":"file4"},{"photo_id":"1399375976","filename":"file1"},{"photo_id":"1399375975","filename":"file0"},{"photo_id":"1399375979","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399375978":["hashtag1","hashtag2"]},{"1399375975":["hashtag1","hashtag2"]},{"1399375980":["hashtag1","hashtag2"]},{"1399375982":["hashtag1","hashtag2"]},{"1399375976":["hashtag1","hashtag2"]},{"1399375979":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399375978, 1399375975, 1399375980, 1399375982, 1399375976, 1399375979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.512465715408325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:29:41.865117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_49_3798.jpg', '/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_52_2509.jpg', '/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_55_2651.jpg', '/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_58_3736.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_01_2646.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_04_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_49_3798.jpg
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_52_2509.jpg
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_55_2651.jpg
/home/pi/Desktop/images/04112025/14/31/image_04112025_14_31_58_3736.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_01_2646.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_04_2711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399375996","1399375993","1399375992","1399375995","1399375994","1399375988"],"photo_ids_order":["1399375988","1399375992","1399375993","1399375994","1399375995","1399375996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e5323e7185e6787b2c0ec50405ff9a20.jpg","text":"TemporaryFile(/tmp/multipartBody5118902688549757799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737042444,"filename":"image_04112025_14_32_04_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c38f9d749af0435ea29326bf16e3313e.jpg","text":"TemporaryFile(/tmp/multipartBody8630847535707078923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737042444,"filename":"image_04112025_14_31_55_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f6e586b03ab83c775f5323b9fa1406eb.jpg","text":"TemporaryFile(/tmp/multipartBody2170998814606704880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737042444,"filename":"image_04112025_14_31_52_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e3c5c21cbe46703b8bdb4354eb58b132.jpg","text":"TemporaryFile(/tmp/multipartBody9039185779925709363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737042444,"filename":"image_04112025_14_32_01_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b7699adfa9669006bb9fe97e2090b052.jpg","text":"TemporaryFile(/tmp/multipartBody6662151020411417413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737042444,"filename":"image_04112025_14_31_58_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1929e74c79e166d21527870e6957b3c7.jpg","text":"TemporaryFile(/tmp/multipartBody7829394356362234189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737042444,"filename":"image_04112025_14_31_49_3798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399375993","file1":"1399375992","file0":"1399375988","file4":"1399375995","file5":"1399375996","file3":"1399375994"},"map_files_photo_id_array":[{"photo_id":"1399375996","filename":"file5"},{"photo_id":"1399375993","filename":"file2"},{"photo_id":"1399375995","filename":"file4"},{"photo_id":"1399375992","filename":"file1"},{"photo_id":"1399375988","filename":"file0"},{"photo_id":"1399375994","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399375996":["hashtag1","hashtag2"]},{"1399375993":["hashtag1","hashtag2"]},{"1399375992":["hashtag1","hashtag2"]},{"1399375995":["hashtag1","hashtag2"]},{"1399375994":["hashtag1","hashtag2"]},{"1399375988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399375996, 1399375993, 1399375992, 1399375995, 1399375994, 1399375988)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.30285096168518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 19:30:32.055910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:30:42.574492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_07_3552.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_10_2612.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_13_2728.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_16_3685.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_19_2645.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_22_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_07_3552.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_10_2612.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_13_2728.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_16_3685.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_19_2645.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_22_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":["1399376005","1399376008","1399376007","1399376004","1399376003","1399376006"],"photo_ids_order":["1399376003","1399376004","1399376005","1399376006","1399376007","1399376008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b94a9ec65c048309953a952a85105d4.jpg","text":"TemporaryFile(/tmp/multipartBody8326314238670044730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737103278,"filename":"image_04112025_14_32_13_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a528fb7bd26879a639fc8dc4d7caf333.jpg","text":"TemporaryFile(/tmp/multipartBody1995951275037731578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737103278,"filename":"image_04112025_14_32_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/12/14/5ec232c553c5706a8b4ce136b4918c26.jpg","text":"TemporaryFile(/tmp/multipartBody6975320532568712705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737103278,"filename":"image_04112025_14_32_19_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3908a8cc457c6c9401d350162b0faf0d.jpg","text":"TemporaryFile(/tmp/multipartBody8882790042354656370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737103278,"filename":"image_04112025_14_32_10_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2508a2ee6cf7c776897fc7b9603d7aa9.jpg","text":"TemporaryFile(/tmp/multipartBody1557934200536406064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737103278,"filename":"image_04112025_14_32_07_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e5386317a975fb6bd4c2d3df839363b.jpg","text":"TemporaryFile(/tmp/multipartBody585567996176213897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737103278,"filename":"image_04112025_14_32_16_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376005","file1":"1399376004","file0":"1399376003","file4":"1399376007","file5":"1399376008","file3":"1399376006"},"map_files_photo_id_array":[{"photo_id":"1399376008","filename":"file5"},{"photo_id":"1399376005","filename":"file2"},{"photo_id":"1399376007","filename":"file4"},{"photo_id":"1399376004","filename":"file1"},{"photo_id":"1399376003","filename":"file0"},{"photo_id":"1399376006","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399376005":["hashtag1","hashtag2"]},{"1399376008":["hashtag1","hashtag2"]},{"1399376007":["hashtag1","hashtag2"]},{"1399376004":["hashtag1","hashtag2"]},{"1399376003":["hashtag1","hashtag2"]},{"1399376006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399376005, 1399376008, 1399376007, 1399376004, 1399376003, 1399376006)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.402289390563965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 19:31:32.882745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:31:42.857925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_25_3690.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_28_2631.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_30_2590.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_34_3625.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_37_2704.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_39_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_25_3690.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_28_2631.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_30_2590.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_34_3625.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_37_2704.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_39_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: 0.6246826648712158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:32:02.514367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/25/image_14122025_19_25_35_9644.jpg', '/home/pi/Desktop/images/14122025/19/25/image_14122025_19_25_44_9679.jpg', '/home/pi/Desktop/images/14122025/19/25/image_14122025_19_25_55_10678.jpg', '/home/pi/Desktop/images/14122025/19/26/image_14122025_19_26_14_9697.jpg', '/home/pi/Desktop/images/14122025/19/26/image_14122025_19_26_25_10584.jpg', '/home/pi/Desktop/images/14122025/19/26/image_14122025_19_26_34_9548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/25/image_14122025_19_25_35_9644.jpg
/home/pi/Desktop/images/14122025/19/25/image_14122025_19_25_44_9679.jpg
/home/pi/Desktop/images/14122025/19/25/image_14122025_19_25_55_10678.jpg
/home/pi/Desktop/images/14122025/19/26/image_14122025_19_26_14_9697.jpg
/home/pi/Desktop/images/14122025/19/26/image_14122025_19_26_25_10584.jpg
/home/pi/Desktop/images/14122025/19/26/image_14122025_19_26_34_9548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399376023","1399376026","1399376025","1399376028","1399376022","1399376024"],"photo_ids_order":["1399376022","1399376023","1399376024","1399376025","1399376026","1399376028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/752b5d2d59a1b5e79349aa025305aac6.jpg","text":"TemporaryFile(/tmp/multipartBody4778271600214555964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737183200,"filename":"image_14122025_19_25_44_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d12ad7895b378f0092f1703b2edf85ea.jpg","text":"TemporaryFile(/tmp/multipartBody204426356932651423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737183200,"filename":"image_14122025_19_26_25_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1dc0aea9da2cc156d7902ac2e8c23a78.jpg","text":"TemporaryFile(/tmp/multipartBody7491314372980502702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737183200,"filename":"image_14122025_19_26_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a66d32424a4b6caa0c6bdfcbcc38c327.jpg","text":"TemporaryFile(/tmp/multipartBody7182272531538786759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737183200,"filename":"image_14122025_19_26_34_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d42375ea518fbb28a9de04cae4a675f5.jpg","text":"TemporaryFile(/tmp/multipartBody2349456242416940454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737183200,"filename":"image_14122025_19_25_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/12/14/2b0f4e5196a3959221bd281ddb8bf72c.jpg","text":"TemporaryFile(/tmp/multipartBody8912479314003382344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737183200,"filename":"image_14122025_19_25_55_10678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376024","file1":"1399376023","file0":"1399376022","file4":"1399376026","file5":"1399376028","file3":"1399376025"},"map_files_photo_id_array":[{"photo_id":"1399376028","filename":"file5"},{"photo_id":"1399376024","filename":"file2"},{"photo_id":"1399376026","filename":"file4"},{"photo_id":"1399376023","filename":"file1"},{"photo_id":"1399376022","filename":"file0"},{"photo_id":"1399376025","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376023":["hashtag1","hashtag2"]},{"1399376026":["hashtag1","hashtag2"]},{"1399376025":["hashtag1","hashtag2"]},{"1399376028":["hashtag1","hashtag2"]},{"1399376022":["hashtag1","hashtag2"]},{"1399376024":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376023, 1399376026, 1399376025, 1399376028, 1399376022, 1399376024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.6143741607666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:32:42.047584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_25_3690.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_28_2631.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_30_2590.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_34_3625.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_37_2704.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_39_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_25_3690.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_28_2631.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_30_2590.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_34_3625.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_37_2704.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_39_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":["1399376038","1399376037","1399376040","1399376036","1399376039","1399376033"],"photo_ids_order":["1399376033","1399376036","1399376037","1399376038","1399376039","1399376040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/79f490354bcfc294451746fee14d33b6.jpg","text":"TemporaryFile(/tmp/multipartBody4897173977046033806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737222682,"filename":"image_04112025_14_32_34_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6d49eb57f385be93cb540b3ac66a518.jpg","text":"TemporaryFile(/tmp/multipartBody4424841899184149494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737222682,"filename":"image_04112025_14_32_30_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c6601a43bdbd321dd8d05a3e12f16a2.jpg","text":"TemporaryFile(/tmp/multipartBody7538755028069588806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737222682,"filename":"image_04112025_14_32_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/12/14/70ef12c4d631ef2680f00325bac16dea.jpg","text":"TemporaryFile(/tmp/multipartBody7240493719910428462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737222682,"filename":"image_04112025_14_32_28_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51d31b2d8a052e251c999d08b4507467.jpg","text":"TemporaryFile(/tmp/multipartBody3197122001111186262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737222682,"filename":"image_04112025_14_32_37_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b7ce307df339cefbd8c75899dff3a4c5.jpg","text":"TemporaryFile(/tmp/multipartBody5114485437700160814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737222682,"filename":"image_04112025_14_32_25_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376037","file1":"1399376036","file0":"1399376033","file4":"1399376039","file5":"1399376040","file3":"1399376038"},"map_files_photo_id_array":[{"photo_id":"1399376040","filename":"file5"},{"photo_id":"1399376037","filename":"file2"},{"photo_id":"1399376039","filename":"file4"},{"photo_id":"1399376036","filename":"file1"},{"photo_id":"1399376033","filename":"file0"},{"photo_id":"1399376038","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399376038":["hashtag1","hashtag2"]},{"1399376037":["hashtag1","hashtag2"]},{"1399376040":["hashtag1","hashtag2"]},{"1399376036":["hashtag1","hashtag2"]},{"1399376039":["hashtag1","hashtag2"]},{"1399376033":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399376038, 1399376037, 1399376040, 1399376036, 1399376039, 1399376033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.516358613967896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:33:22.299533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/26/image_14122025_19_26_44_9856.jpg', '/home/pi/Desktop/images/14122025/19/26/image_14122025_19_26_55_10760.jpg', '/home/pi/Desktop/images/14122025/19/26/image_14122025_19_27_05_9652.jpg', '/home/pi/Desktop/images/14122025/19/27/image_14122025_19_27_14_9644.jpg', '/home/pi/Desktop/images/14122025/19/27/image_14122025_19_27_25_10714.jpg', '/home/pi/Desktop/images/14122025/19/27/image_14122025_19_27_35_9903.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/26/image_14122025_19_26_44_9856.jpg
/home/pi/Desktop/images/14122025/19/26/image_14122025_19_26_55_10760.jpg
/home/pi/Desktop/images/14122025/19/26/image_14122025_19_27_05_9652.jpg
/home/pi/Desktop/images/14122025/19/27/image_14122025_19_27_14_9644.jpg
/home/pi/Desktop/images/14122025/19/27/image_14122025_19_27_25_10714.jpg
/home/pi/Desktop/images/14122025/19/27/image_14122025_19_27_35_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":["1399376050","1399376044","1399376046","1399376054","1399376048","1399376042"],"photo_ids_order":["1399376042","1399376044","1399376046","1399376048","1399376050","1399376054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ddd1995569fedc11d91551e108ba6a14.jpg","text":"TemporaryFile(/tmp/multipartBody4129694245802240084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737265881,"filename":"image_14122025_19_27_25_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/758933247d8ab31700e310490712dfce.jpg","text":"TemporaryFile(/tmp/multipartBody6498216280802267161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737265881,"filename":"image_14122025_19_26_55_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1adc054e5d861bb7288ed18b79e3f606.jpg","text":"TemporaryFile(/tmp/multipartBody463573945176576323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737265881,"filename":"image_14122025_19_27_05_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e87f49f197bf067a7c8a736afa633ed5.jpg","text":"TemporaryFile(/tmp/multipartBody8111479441246261094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737265881,"filename":"image_14122025_19_27_35_9903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa3f5224760e34d1556cf61e1da2d261.jpg","text":"TemporaryFile(/tmp/multipartBody5719887106519662277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737265881,"filename":"image_14122025_19_27_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13f4e86f74c75e9f575c0af88e5b6088.jpg","text":"TemporaryFile(/tmp/multipartBody4520451792160523735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737265881,"filename":"image_14122025_19_26_44_9856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376046","file1":"1399376044","file0":"1399376042","file4":"1399376050","file5":"1399376054","file3":"1399376048"},"map_files_photo_id_array":[{"photo_id":"1399376054","filename":"file5"},{"photo_id":"1399376046","filename":"file2"},{"photo_id":"1399376050","filename":"file4"},{"photo_id":"1399376044","filename":"file1"},{"photo_id":"1399376042","filename":"file0"},{"photo_id":"1399376048","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376050":["hashtag1","hashtag2"]},{"1399376044":["hashtag1","hashtag2"]},{"1399376046":["hashtag1","hashtag2"]},{"1399376054":["hashtag1","hashtag2"]},{"1399376048":["hashtag1","hashtag2"]},{"1399376042":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376050, 1399376044, 1399376046, 1399376054, 1399376048, 1399376042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.752384185791016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:34:03.226751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/27/image_14122025_19_27_45_9663.jpg', '/home/pi/Desktop/images/14122025/19/27/image_14122025_19_27_54_9862.jpg', '/home/pi/Desktop/images/14122025/19/27/image_14122025_19_28_04_9699.jpg', '/home/pi/Desktop/images/14122025/19/28/image_14122025_19_28_15_10825.jpg', '/home/pi/Desktop/images/14122025/19/28/image_14122025_19_28_25_9561.jpg', '/home/pi/Desktop/images/14122025/19/28/image_14122025_19_28_34_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/27/image_14122025_19_27_45_9663.jpg
/home/pi/Desktop/images/14122025/19/27/image_14122025_19_27_54_9862.jpg
/home/pi/Desktop/images/14122025/19/27/image_14122025_19_28_04_9699.jpg
/home/pi/Desktop/images/14122025/19/28/image_14122025_19_28_15_10825.jpg
/home/pi/Desktop/images/14122025/19/28/image_14122025_19_28_25_9561.jpg
/home/pi/Desktop/images/14122025/19/28/image_14122025_19_28_34_9602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399376059","1399376056","1399376055","1399376058","1399376060","1399376057"],"photo_ids_order":["1399376055","1399376056","1399376057","1399376058","1399376059","1399376060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/97153d014107c52505ef933ebe59b9c8.jpg","text":"TemporaryFile(/tmp/multipartBody7418094204760404302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737303909,"filename":"image_14122025_19_28_25_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/73077533e9907166df435b170e566e4d.jpg","text":"TemporaryFile(/tmp/multipartBody8124408372081152021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737303909,"filename":"image_14122025_19_27_54_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ca21349f43b08d47632744a71a12603.jpg","text":"TemporaryFile(/tmp/multipartBody7565806727371973033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737303909,"filename":"image_14122025_19_27_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/12/14/c8a47439bf0c2ad80f390aff1576a41e.jpg","text":"TemporaryFile(/tmp/multipartBody2959921205782161388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737303909,"filename":"image_14122025_19_28_15_10825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f7adb9cb10ab26a974fa5c584f37c59.jpg","text":"TemporaryFile(/tmp/multipartBody2450999011758713305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737303909,"filename":"image_14122025_19_28_34_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13c8384074aa49bf38abe788ccac5fcf.jpg","text":"TemporaryFile(/tmp/multipartBody4371300515070546055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737303909,"filename":"image_14122025_19_28_04_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376057","file1":"1399376056","file0":"1399376055","file4":"1399376059","file5":"1399376060","file3":"1399376058"},"map_files_photo_id_array":[{"photo_id":"1399376060","filename":"file5"},{"photo_id":"1399376057","filename":"file2"},{"photo_id":"1399376059","filename":"file4"},{"photo_id":"1399376056","filename":"file1"},{"photo_id":"1399376055","filename":"file0"},{"photo_id":"1399376058","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376059":["hashtag1","hashtag2"]},{"1399376056":["hashtag1","hashtag2"]},{"1399376055":["hashtag1","hashtag2"]},{"1399376058":["hashtag1","hashtag2"]},{"1399376060":["hashtag1","hashtag2"]},{"1399376057":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376059, 1399376056, 1399376055, 1399376058, 1399376060, 1399376057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86864948272705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:34:42.628353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_43_3852.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_46_2739.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_49_2628.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_51_2790.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_55_3584.jpg', '/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_58_2784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_43_3852.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_46_2739.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_49_2628.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_51_2790.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_55_3584.jpg
/home/pi/Desktop/images/04112025/14/32/image_04112025_14_32_58_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":["1399376068","1399376073","1399376076","1399376070","1399376066","1399376075"],"photo_ids_order":["1399376066","1399376068","1399376070","1399376073","1399376075","1399376076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/825d25b275f381ec2ca4a2b5498eb835.jpg","text":"TemporaryFile(/tmp/multipartBody3961381098256506933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737343419,"filename":"image_04112025_14_32_46_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c61503459ef93c502dac32678d9be10e.jpg","text":"TemporaryFile(/tmp/multipartBody762373867464096627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737343419,"filename":"image_04112025_14_32_51_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d998f6beeec36ce01a7c5bfcdbf725f.jpg","text":"TemporaryFile(/tmp/multipartBody8508024994894958961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737343419,"filename":"image_04112025_14_32_58_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e0b3888844323745c43bb54a5306868.jpg","text":"TemporaryFile(/tmp/multipartBody4336476839102288450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737343419,"filename":"image_04112025_14_32_49_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51d7941e1e5e10bb5d61b4adadc0adeb.jpg","text":"TemporaryFile(/tmp/multipartBody5652032792315578903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737343419,"filename":"image_04112025_14_32_43_3852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/edb1e7218c7cf201eb17bd671888d255.jpg","text":"TemporaryFile(/tmp/multipartBody8175575263631730984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737343419,"filename":"image_04112025_14_32_55_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376070","file1":"1399376068","file0":"1399376066","file4":"1399376075","file5":"1399376076","file3":"1399376073"},"map_files_photo_id_array":[{"photo_id":"1399376076","filename":"file5"},{"photo_id":"1399376070","filename":"file2"},{"photo_id":"1399376075","filename":"file4"},{"photo_id":"1399376068","filename":"file1"},{"photo_id":"1399376066","filename":"file0"},{"photo_id":"1399376073","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399376068":["hashtag1","hashtag2"]},{"1399376073":["hashtag1","hashtag2"]},{"1399376076":["hashtag1","hashtag2"]},{"1399376070":["hashtag1","hashtag2"]},{"1399376066":["hashtag1","hashtag2"]},{"1399376075":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399376068, 1399376073, 1399376076, 1399376070, 1399376066, 1399376075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42014789581299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:35:22.786645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/28/image_14122025_19_28_45_10590.jpg', '/home/pi/Desktop/images/14122025/19/28/image_14122025_19_28_54_9750.jpg', '/home/pi/Desktop/images/14122025/19/28/image_14122025_19_29_04_9639.jpg', '/home/pi/Desktop/images/14122025/19/29/image_14122025_19_29_14_10025.jpg', '/home/pi/Desktop/images/14122025/19/29/image_14122025_19_29_25_10733.jpg', '/home/pi/Desktop/images/14122025/19/29/image_14122025_19_29_35_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/28/image_14122025_19_28_45_10590.jpg
/home/pi/Desktop/images/14122025/19/28/image_14122025_19_28_54_9750.jpg
/home/pi/Desktop/images/14122025/19/28/image_14122025_19_29_04_9639.jpg
/home/pi/Desktop/images/14122025/19/29/image_14122025_19_29_14_10025.jpg
/home/pi/Desktop/images/14122025/19/29/image_14122025_19_29_25_10733.jpg
/home/pi/Desktop/images/14122025/19/29/image_14122025_19_29_35_9788.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5187151432037354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 19:35:32.795245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:35:42.826123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_01_2971.jpg', '/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_03_2622.jpg', '/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_07_3650.jpg', '/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_10_2749.jpg', '/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_13_2677.jpg', '/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_15_2872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_01_2971.jpg
/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_03_2622.jpg
/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_07_3650.jpg
/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_10_2749.jpg
/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_13_2677.jpg
/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_15_2872.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399376092","1399376091","1399376094","1399376088","1399376093","1399376095"],"photo_ids_order":["1399376088","1399376091","1399376092","1399376093","1399376094","1399376095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ed6d2da9e3b62278781532966ed8691c.jpg","text":"TemporaryFile(/tmp/multipartBody2539803889680051925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737403566,"filename":"image_04112025_14_33_07_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/41512c498711191588adcac49c23a63c.jpg","text":"TemporaryFile(/tmp/multipartBody5856210320825297017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737403566,"filename":"image_04112025_14_33_03_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0dff696c4cd1ca18272d52235f5c458f.jpg","text":"TemporaryFile(/tmp/multipartBody8620410048057330127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737403566,"filename":"image_04112025_14_33_13_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e12c462fae00d562bae175b90567826d.jpg","text":"TemporaryFile(/tmp/multipartBody3034666342277573137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737403566,"filename":"image_04112025_14_33_01_2971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a5ca68aac2c9295065fc16871237c51.jpg","text":"TemporaryFile(/tmp/multipartBody5970398772833612381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737403566,"filename":"image_04112025_14_33_10_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c811ff1a6d0c09dd83b3221f00f2a138.jpg","text":"TemporaryFile(/tmp/multipartBody3986102608604995884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737403566,"filename":"image_04112025_14_33_15_2872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376092","file1":"1399376091","file0":"1399376088","file4":"1399376094","file5":"1399376095","file3":"1399376093"},"map_files_photo_id_array":[{"photo_id":"1399376095","filename":"file5"},{"photo_id":"1399376092","filename":"file2"},{"photo_id":"1399376094","filename":"file4"},{"photo_id":"1399376091","filename":"file1"},{"photo_id":"1399376088","filename":"file0"},{"photo_id":"1399376093","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399376092":["hashtag1","hashtag2"]},{"1399376091":["hashtag1","hashtag2"]},{"1399376094":["hashtag1","hashtag2"]},{"1399376088":["hashtag1","hashtag2"]},{"1399376093":["hashtag1","hashtag2"]},{"1399376095":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399376092, 1399376091, 1399376094, 1399376088, 1399376093, 1399376095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.856003761291504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:36:22.106286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/28/image_14122025_19_28_45_10590.jpg', '/home/pi/Desktop/images/14122025/19/28/image_14122025_19_28_54_9750.jpg', '/home/pi/Desktop/images/14122025/19/28/image_14122025_19_29_04_9639.jpg', '/home/pi/Desktop/images/14122025/19/29/image_14122025_19_29_14_10025.jpg', '/home/pi/Desktop/images/14122025/19/29/image_14122025_19_29_25_10733.jpg', '/home/pi/Desktop/images/14122025/19/29/image_14122025_19_29_35_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/28/image_14122025_19_28_45_10590.jpg
/home/pi/Desktop/images/14122025/19/28/image_14122025_19_28_54_9750.jpg
/home/pi/Desktop/images/14122025/19/28/image_14122025_19_29_04_9639.jpg
/home/pi/Desktop/images/14122025/19/29/image_14122025_19_29_14_10025.jpg
/home/pi/Desktop/images/14122025/19/29/image_14122025_19_29_25_10733.jpg
/home/pi/Desktop/images/14122025/19/29/image_14122025_19_29_35_9788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399376104","1399376107","1399376100","1399376099","1399376096","1399376102"],"photo_ids_order":["1399376096","1399376099","1399376100","1399376102","1399376104","1399376107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c61a8ef704bc0c62bd84fcd9f7abe69e.jpg","text":"TemporaryFile(/tmp/multipartBody1915169413315843448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737442761,"filename":"image_14122025_19_29_25_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1acef1e27fd520feb5cc45479d4e10ae.jpg","text":"TemporaryFile(/tmp/multipartBody355333126433527730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737442761,"filename":"image_14122025_19_29_35_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b82a46483e81ecda3b323fbe59189303.jpg","text":"TemporaryFile(/tmp/multipartBody2756773783304786740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737442761,"filename":"image_14122025_19_29_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0204e5820e2946b6c7cce3010b86885d.jpg","text":"TemporaryFile(/tmp/multipartBody3566403560672643633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737442761,"filename":"image_14122025_19_28_54_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0582868080e55d0658b8b35397c09261.jpg","text":"TemporaryFile(/tmp/multipartBody1053578938041895025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737442761,"filename":"image_14122025_19_28_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/12/14/afedd201b31190b75aa89bb571b003eb.jpg","text":"TemporaryFile(/tmp/multipartBody6744698057826573329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737442761,"filename":"image_14122025_19_29_14_10025.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376100","file1":"1399376099","file0":"1399376096","file4":"1399376104","file5":"1399376107","file3":"1399376102"},"map_files_photo_id_array":[{"photo_id":"1399376107","filename":"file5"},{"photo_id":"1399376100","filename":"file2"},{"photo_id":"1399376104","filename":"file4"},{"photo_id":"1399376099","filename":"file1"},{"photo_id":"1399376096","filename":"file0"},{"photo_id":"1399376102","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376104":["hashtag1","hashtag2"]},{"1399376107":["hashtag1","hashtag2"]},{"1399376100":["hashtag1","hashtag2"]},{"1399376099":["hashtag1","hashtag2"]},{"1399376096":["hashtag1","hashtag2"]},{"1399376102":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376104, 1399376107, 1399376100, 1399376099, 1399376096, 1399376102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83070635795593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:37:02.859685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/29/image_14122025_19_29_44_9645.jpg', '/home/pi/Desktop/images/14122025/19/29/image_14122025_19_29_55_10710.jpg', '/home/pi/Desktop/images/14122025/19/31/image_14122025_19_31_14_10870.jpg', '/home/pi/Desktop/images/14122025/19/31/image_14122025_19_31_24_9711.jpg', '/home/pi/Desktop/images/14122025/19/31/image_14122025_19_31_34_9764.jpg', '/home/pi/Desktop/images/14122025/19/31/image_14122025_19_31_43_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/29/image_14122025_19_29_44_9645.jpg
/home/pi/Desktop/images/14122025/19/29/image_14122025_19_29_55_10710.jpg
/home/pi/Desktop/images/14122025/19/31/image_14122025_19_31_14_10870.jpg
/home/pi/Desktop/images/14122025/19/31/image_14122025_19_31_24_9711.jpg
/home/pi/Desktop/images/14122025/19/31/image_14122025_19_31_34_9764.jpg
/home/pi/Desktop/images/14122025/19/31/image_14122025_19_31_43_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":["1399376108","1399376110","1399376112","1399376115","1399376109","1399376111"],"photo_ids_order":["1399376108","1399376109","1399376110","1399376111","1399376112","1399376115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f6030d8a56af9e7fafe665d80e37a090.jpg","text":"TemporaryFile(/tmp/multipartBody2184818416568538987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737483503,"filename":"image_14122025_19_29_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/12/14/9f4f4727103b75b43dd21a565ac8fe73.jpg","text":"TemporaryFile(/tmp/multipartBody1658370826069549091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737483503,"filename":"image_14122025_19_31_14_10870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f14a6af5dc44789f8e9cec7300e8e6c4.jpg","text":"TemporaryFile(/tmp/multipartBody8317540464339609488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737483503,"filename":"image_14122025_19_31_34_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d87b6c497268776dc836013085d129c.jpg","text":"TemporaryFile(/tmp/multipartBody4017796233503357534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737483503,"filename":"image_14122025_19_31_43_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3eecb2920f8a146ecb6e06277b7ac159.jpg","text":"TemporaryFile(/tmp/multipartBody2832943139998708136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737483503,"filename":"image_14122025_19_29_55_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7bab1abb6211f186f374e929dd39d6b8.jpg","text":"TemporaryFile(/tmp/multipartBody2839598876988748795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737483503,"filename":"image_14122025_19_31_24_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376110","file1":"1399376109","file0":"1399376108","file4":"1399376112","file5":"1399376115","file3":"1399376111"},"map_files_photo_id_array":[{"photo_id":"1399376115","filename":"file5"},{"photo_id":"1399376110","filename":"file2"},{"photo_id":"1399376112","filename":"file4"},{"photo_id":"1399376109","filename":"file1"},{"photo_id":"1399376108","filename":"file0"},{"photo_id":"1399376111","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376108":["hashtag1","hashtag2"]},{"1399376110":["hashtag1","hashtag2"]},{"1399376112":["hashtag1","hashtag2"]},{"1399376115":["hashtag1","hashtag2"]},{"1399376109":["hashtag1","hashtag2"]},{"1399376111":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376108, 1399376110, 1399376112, 1399376115, 1399376109, 1399376111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66439628601074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:37:42.292323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_19_3692.jpg', '/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_22_2759.jpg', '/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_25_2810.jpg', '/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_27_2733.jpg', '/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_31_3549.jpg', '/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_33_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_19_3692.jpg
/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_22_2759.jpg
/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_25_2810.jpg
/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_27_2733.jpg
/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_31_3549.jpg
/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_33_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":["1399376125","1399376119","1399376124","1399376121","1399376123","1399376126"],"photo_ids_order":["1399376119","1399376121","1399376123","1399376124","1399376125","1399376126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ffe79572f233fb454c65db94676943ed.jpg","text":"TemporaryFile(/tmp/multipartBody4508119546511673339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737523011,"filename":"image_04112025_14_33_31_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e4dd06620a22ee7257208a804e95ec79.jpg","text":"TemporaryFile(/tmp/multipartBody5109826065913314985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737523011,"filename":"image_04112025_14_33_19_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a15268948efce741e96242e038ae276e.jpg","text":"TemporaryFile(/tmp/multipartBody2086097269542211709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737523011,"filename":"image_04112025_14_33_27_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a6f147cffe5e41e8e3a562a55f51b141.jpg","text":"TemporaryFile(/tmp/multipartBody402697656394222728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737523011,"filename":"image_04112025_14_33_22_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14f9bcebeb90dd4342fa0f8ab30119ac.jpg","text":"TemporaryFile(/tmp/multipartBody3478191456006883909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737523011,"filename":"image_04112025_14_33_25_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/052926250af16cf8a613ad57aa027301.jpg","text":"TemporaryFile(/tmp/multipartBody1363820462358076438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737523011,"filename":"image_04112025_14_33_33_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376123","file1":"1399376121","file0":"1399376119","file4":"1399376125","file5":"1399376126","file3":"1399376124"},"map_files_photo_id_array":[{"photo_id":"1399376126","filename":"file5"},{"photo_id":"1399376123","filename":"file2"},{"photo_id":"1399376125","filename":"file4"},{"photo_id":"1399376121","filename":"file1"},{"photo_id":"1399376119","filename":"file0"},{"photo_id":"1399376124","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399376125":["hashtag1","hashtag2"]},{"1399376119":["hashtag1","hashtag2"]},{"1399376124":["hashtag1","hashtag2"]},{"1399376121":["hashtag1","hashtag2"]},{"1399376123":["hashtag1","hashtag2"]},{"1399376126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399376125, 1399376119, 1399376124, 1399376121, 1399376123, 1399376126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.650399923324585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:38:22.651656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/31/image_14122025_19_31_54_10605.jpg', '/home/pi/Desktop/images/14122025/19/31/image_14122025_19_32_04_9784.jpg', '/home/pi/Desktop/images/14122025/19/32/image_14122025_19_32_14_9670.jpg', '/home/pi/Desktop/images/14122025/19/32/image_14122025_19_32_24_10738.jpg', '/home/pi/Desktop/images/14122025/19/32/image_14122025_19_32_34_9439.jpg', '/home/pi/Desktop/images/14122025/19/32/image_14122025_19_32_44_10545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/31/image_14122025_19_31_54_10605.jpg
/home/pi/Desktop/images/14122025/19/31/image_14122025_19_32_04_9784.jpg
/home/pi/Desktop/images/14122025/19/32/image_14122025_19_32_14_9670.jpg
/home/pi/Desktop/images/14122025/19/32/image_14122025_19_32_24_10738.jpg
/home/pi/Desktop/images/14122025/19/32/image_14122025_19_32_34_9439.jpg
/home/pi/Desktop/images/14122025/19/32/image_14122025_19_32_44_10545.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5076427459716797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 19:38:32.715203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:38:46.049109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_36_2898.jpg', '/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_40_3669.jpg', '/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_43_2793.jpg', '/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_45_2634.jpg', '/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_49_3746.jpg', '/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_52_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_36_2898.jpg
/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_40_3669.jpg
/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_43_2793.jpg
/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_45_2634.jpg
/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_49_3746.jpg
/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_52_2714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399376140","1399376143","1399376142","1399376139","1399376141","1399376138"],"photo_ids_order":["1399376138","1399376139","1399376140","1399376141","1399376142","1399376143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/085069d3136bce79bef378afe90f4323.jpg","text":"TemporaryFile(/tmp/multipartBody474045646412387718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737586750,"filename":"image_04112025_14_33_43_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fbec9d1bbfbeea20100e91215379be67.jpg","text":"TemporaryFile(/tmp/multipartBody7940227214850793420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737586750,"filename":"image_04112025_14_33_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/12/14/ac6ae872cf589a16ad838e7eace4d25b.jpg","text":"TemporaryFile(/tmp/multipartBody6841495396474915142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737586750,"filename":"image_04112025_14_33_49_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa5038ee82c28f7fcf6716edf2d024eb.jpg","text":"TemporaryFile(/tmp/multipartBody1008476261785542021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737586750,"filename":"image_04112025_14_33_40_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/53e4e7c75f01d1bbd6d8973863f89a55.jpg","text":"TemporaryFile(/tmp/multipartBody3763486501494679315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737586750,"filename":"image_04112025_14_33_45_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7af2842c5220f905d25c2762a5e5e24a.jpg","text":"TemporaryFile(/tmp/multipartBody1452193656647227702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737586750,"filename":"image_04112025_14_33_36_2898.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376140","file1":"1399376139","file0":"1399376138","file4":"1399376142","file5":"1399376143","file3":"1399376141"},"map_files_photo_id_array":[{"photo_id":"1399376143","filename":"file5"},{"photo_id":"1399376140","filename":"file2"},{"photo_id":"1399376142","filename":"file4"},{"photo_id":"1399376139","filename":"file1"},{"photo_id":"1399376138","filename":"file0"},{"photo_id":"1399376141","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399376140":["hashtag1","hashtag2"]},{"1399376143":["hashtag1","hashtag2"]},{"1399376142":["hashtag1","hashtag2"]},{"1399376139":["hashtag1","hashtag2"]},{"1399376141":["hashtag1","hashtag2"]},{"1399376138":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399376140, 1399376143, 1399376142, 1399376139, 1399376141, 1399376138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.278380393981934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:39:22.417880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/31/image_14122025_19_31_54_10605.jpg', '/home/pi/Desktop/images/14122025/19/31/image_14122025_19_32_04_9784.jpg', '/home/pi/Desktop/images/14122025/19/32/image_14122025_19_32_14_9670.jpg', '/home/pi/Desktop/images/14122025/19/32/image_14122025_19_32_24_10738.jpg', '/home/pi/Desktop/images/14122025/19/32/image_14122025_19_32_34_9439.jpg', '/home/pi/Desktop/images/14122025/19/32/image_14122025_19_32_44_10545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/31/image_14122025_19_31_54_10605.jpg
/home/pi/Desktop/images/14122025/19/31/image_14122025_19_32_04_9784.jpg
/home/pi/Desktop/images/14122025/19/32/image_14122025_19_32_14_9670.jpg
/home/pi/Desktop/images/14122025/19/32/image_14122025_19_32_24_10738.jpg
/home/pi/Desktop/images/14122025/19/32/image_14122025_19_32_34_9439.jpg
/home/pi/Desktop/images/14122025/19/32/image_14122025_19_32_44_10545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399376152","1399376146","1399376155","1399376145","1399376148","1399376150"],"photo_ids_order":["1399376145","1399376146","1399376148","1399376150","1399376152","1399376155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36fd388780a600df587a399eeca0c73f.jpg","text":"TemporaryFile(/tmp/multipartBody8605238165398580068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737622991,"filename":"image_14122025_19_32_34_9439.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f87770d160e94262a15cf389cd1fc944.jpg","text":"TemporaryFile(/tmp/multipartBody3624783941112271058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737622991,"filename":"image_14122025_19_32_04_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fafb2249f5df58af3c3b4fb00c10b7ba.jpg","text":"TemporaryFile(/tmp/multipartBody1986578823537321135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737622991,"filename":"image_14122025_19_32_44_10545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/103b9ab6d2766c80736a5b6731dc0c98.jpg","text":"TemporaryFile(/tmp/multipartBody1114091901214337429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737622991,"filename":"image_14122025_19_31_54_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6140624908dbcc62595f4882db08bf8.jpg","text":"TemporaryFile(/tmp/multipartBody7079464353410020135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737622991,"filename":"image_14122025_19_32_14_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d60fd235066d95344c3d6078c4ea20a1.jpg","text":"TemporaryFile(/tmp/multipartBody2693717914438270373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737622991,"filename":"image_14122025_19_32_24_10738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376148","file1":"1399376146","file0":"1399376145","file4":"1399376152","file5":"1399376155","file3":"1399376150"},"map_files_photo_id_array":[{"photo_id":"1399376155","filename":"file5"},{"photo_id":"1399376148","filename":"file2"},{"photo_id":"1399376152","filename":"file4"},{"photo_id":"1399376146","filename":"file1"},{"photo_id":"1399376145","filename":"file0"},{"photo_id":"1399376150","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376152":["hashtag1","hashtag2"]},{"1399376146":["hashtag1","hashtag2"]},{"1399376155":["hashtag1","hashtag2"]},{"1399376145":["hashtag1","hashtag2"]},{"1399376148":["hashtag1","hashtag2"]},{"1399376150":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376152, 1399376146, 1399376155, 1399376145, 1399376148, 1399376150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.975518226623535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:40:03.050463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 19:40:12.641667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:40:22.670325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/32/image_14122025_19_33_04_9610.jpg', '/home/pi/Desktop/images/14122025/19/33/image_14122025_19_33_14_10684.jpg', '/home/pi/Desktop/images/14122025/19/33/image_14122025_19_33_24_9672.jpg', '/home/pi/Desktop/images/14122025/19/33/image_14122025_19_33_54_10639.jpg', '/home/pi/Desktop/images/14122025/19/33/image_14122025_19_34_04_9705.jpg', '/home/pi/Desktop/images/14122025/19/34/image_14122025_19_34_13_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/32/image_14122025_19_33_04_9610.jpg
/home/pi/Desktop/images/14122025/19/33/image_14122025_19_33_14_10684.jpg
/home/pi/Desktop/images/14122025/19/33/image_14122025_19_33_24_9672.jpg
/home/pi/Desktop/images/14122025/19/33/image_14122025_19_33_54_10639.jpg
/home/pi/Desktop/images/14122025/19/33/image_14122025_19_34_04_9705.jpg
/home/pi/Desktop/images/14122025/19/34/image_14122025_19_34_13_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399376164","1399376158","1399376169","1399376160","1399376166","1399376162"],"photo_ids_order":["1399376158","1399376160","1399376162","1399376164","1399376166","1399376169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/71faf7ba4aa2c11e19a161dd47b28d24.jpg","text":"TemporaryFile(/tmp/multipartBody8370417310576391243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737683227,"filename":"image_14122025_19_33_54_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7c8d3d064b7fde6d4ae1ecdc94a01198.jpg","text":"TemporaryFile(/tmp/multipartBody4379070835150218449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737683227,"filename":"image_14122025_19_33_04_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cde1c5953745ca27237b95cb1896f1a7.jpg","text":"TemporaryFile(/tmp/multipartBody2517904180902718843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737683227,"filename":"image_14122025_19_34_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/12/14/122c1031879c0f3126d9c4d0ba60fb4b.jpg","text":"TemporaryFile(/tmp/multipartBody4695750878499871859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737683227,"filename":"image_14122025_19_33_14_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/370d1373243c8dd4961f87e2980c2e13.jpg","text":"TemporaryFile(/tmp/multipartBody8534720617497934755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737683227,"filename":"image_14122025_19_34_04_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf27d0de3bb121386abfdb1a626e4ab7.jpg","text":"TemporaryFile(/tmp/multipartBody5011260445934030635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737683227,"filename":"image_14122025_19_33_24_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376162","file1":"1399376160","file0":"1399376158","file4":"1399376166","file5":"1399376169","file3":"1399376164"},"map_files_photo_id_array":[{"photo_id":"1399376169","filename":"file5"},{"photo_id":"1399376162","filename":"file2"},{"photo_id":"1399376166","filename":"file4"},{"photo_id":"1399376160","filename":"file1"},{"photo_id":"1399376158","filename":"file0"},{"photo_id":"1399376164","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376164":["hashtag1","hashtag2"]},{"1399376158":["hashtag1","hashtag2"]},{"1399376169":["hashtag1","hashtag2"]},{"1399376160":["hashtag1","hashtag2"]},{"1399376166":["hashtag1","hashtag2"]},{"1399376162":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376164, 1399376158, 1399376169, 1399376160, 1399376166, 1399376162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93293786048889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:41:03.052486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/34/image_14122025_19_34_24_10643.jpg', '/home/pi/Desktop/images/14122025/19/34/image_14122025_19_34_44_9670.jpg', '/home/pi/Desktop/images/14122025/19/34/image_14122025_19_34_53_9884.jpg', '/home/pi/Desktop/images/14122025/19/34/image_14122025_19_35_04_10607.jpg', '/home/pi/Desktop/images/14122025/19/35/image_14122025_19_35_14_9675.jpg', '/home/pi/Desktop/images/14122025/19/35/image_14122025_19_35_23_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/34/image_14122025_19_34_24_10643.jpg
/home/pi/Desktop/images/14122025/19/34/image_14122025_19_34_44_9670.jpg
/home/pi/Desktop/images/14122025/19/34/image_14122025_19_34_53_9884.jpg
/home/pi/Desktop/images/14122025/19/34/image_14122025_19_35_04_10607.jpg
/home/pi/Desktop/images/14122025/19/35/image_14122025_19_35_14_9675.jpg
/home/pi/Desktop/images/14122025/19/35/image_14122025_19_35_23_9787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399376170","1399376173","1399376172","1399376171","1399376174","1399376177"],"photo_ids_order":["1399376170","1399376171","1399376172","1399376173","1399376174","1399376177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a94241dfdc6609db4fdab1082edf95f.jpg","text":"TemporaryFile(/tmp/multipartBody3351941236075841128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737723778,"filename":"image_14122025_19_34_24_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7fb1b171b23fafcda47aea86d450a690.jpg","text":"TemporaryFile(/tmp/multipartBody3487044353926659893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737723778,"filename":"image_14122025_19_35_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/12/14/4dafb73399a982f179afe1fcd72b4b92.jpg","text":"TemporaryFile(/tmp/multipartBody2601494341343002516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737723778,"filename":"image_14122025_19_34_53_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d79d0881a23cd74b72a0115a95c0ccce.jpg","text":"TemporaryFile(/tmp/multipartBody3768266502195878145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737723778,"filename":"image_14122025_19_34_44_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cccf38fe1d4b772a0f78c631bbab4e69.jpg","text":"TemporaryFile(/tmp/multipartBody3826410091814398916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737723778,"filename":"image_14122025_19_35_14_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e7d982b8057a127e775b0a7f20f28fc.jpg","text":"TemporaryFile(/tmp/multipartBody1727142513019222581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737723778,"filename":"image_14122025_19_35_23_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376172","file1":"1399376171","file0":"1399376170","file4":"1399376174","file5":"1399376177","file3":"1399376173"},"map_files_photo_id_array":[{"photo_id":"1399376177","filename":"file5"},{"photo_id":"1399376172","filename":"file2"},{"photo_id":"1399376174","filename":"file4"},{"photo_id":"1399376171","filename":"file1"},{"photo_id":"1399376170","filename":"file0"},{"photo_id":"1399376173","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376170":["hashtag1","hashtag2"]},{"1399376173":["hashtag1","hashtag2"]},{"1399376172":["hashtag1","hashtag2"]},{"1399376171":["hashtag1","hashtag2"]},{"1399376174":["hashtag1","hashtag2"]},{"1399376177":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376170, 1399376173, 1399376172, 1399376171, 1399376174, 1399376177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80119013786316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:41:42.484719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_55_2867.jpg', '/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_58_2741.jpg', '/home/pi/Desktop/images/04112025/14/33/image_04112025_14_34_00_2726.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_04_3603.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_07_2860.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_09_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_55_2867.jpg
/home/pi/Desktop/images/04112025/14/33/image_04112025_14_33_58_2741.jpg
/home/pi/Desktop/images/04112025/14/33/image_04112025_14_34_00_2726.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_04_3603.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_07_2860.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_09_2581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399376185","1399376187","1399376181","1399376184","1399376186","1399376188"],"photo_ids_order":["1399376181","1399376184","1399376185","1399376186","1399376187","1399376188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7128afffc258bef2a6dfc6384ba4ac58.jpg","text":"TemporaryFile(/tmp/multipartBody8128931881193811430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737763179,"filename":"image_04112025_14_34_00_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/02e4a9f38e0a5dbbbc3f9be3e40f5cf5.jpg","text":"TemporaryFile(/tmp/multipartBody8867605312656623200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737763179,"filename":"image_04112025_14_34_07_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6743ef1e685c42b84211db4d1ce43de9.jpg","text":"TemporaryFile(/tmp/multipartBody6319337214348435817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737763179,"filename":"image_04112025_14_33_55_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/33abfa253c8d263347e1ec5ff171af5b.jpg","text":"TemporaryFile(/tmp/multipartBody6170497399973267002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737763179,"filename":"image_04112025_14_33_58_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b59a231a3fb633811ef72e6d6e8abf28.jpg","text":"TemporaryFile(/tmp/multipartBody4653517184764781870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737763179,"filename":"image_04112025_14_34_04_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ec1fe6e9f5317385be0c525db07c455.jpg","text":"TemporaryFile(/tmp/multipartBody4928133414050338958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737763179,"filename":"image_04112025_14_34_09_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376185","file1":"1399376184","file0":"1399376181","file4":"1399376187","file5":"1399376188","file3":"1399376186"},"map_files_photo_id_array":[{"photo_id":"1399376188","filename":"file5"},{"photo_id":"1399376185","filename":"file2"},{"photo_id":"1399376187","filename":"file4"},{"photo_id":"1399376184","filename":"file1"},{"photo_id":"1399376181","filename":"file0"},{"photo_id":"1399376186","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399376185":["hashtag1","hashtag2"]},{"1399376187":["hashtag1","hashtag2"]},{"1399376181":["hashtag1","hashtag2"]},{"1399376184":["hashtag1","hashtag2"]},{"1399376186":["hashtag1","hashtag2"]},{"1399376188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399376185, 1399376187, 1399376181, 1399376184, 1399376186, 1399376188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95408272743225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:42:23.070614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/35/image_14122025_19_35_34_10401.jpg', '/home/pi/Desktop/images/14122025/19/35/image_14122025_19_35_44_9855.jpg', '/home/pi/Desktop/images/14122025/19/35/image_14122025_19_35_53_9624.jpg', '/home/pi/Desktop/images/14122025/19/35/image_14122025_19_36_04_10601.jpg', '/home/pi/Desktop/images/14122025/19/36/image_14122025_19_36_23_9775.jpg', '/home/pi/Desktop/images/14122025/19/36/image_14122025_19_36_34_10716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/35/image_14122025_19_35_34_10401.jpg
/home/pi/Desktop/images/14122025/19/35/image_14122025_19_35_44_9855.jpg
/home/pi/Desktop/images/14122025/19/35/image_14122025_19_35_53_9624.jpg
/home/pi/Desktop/images/14122025/19/35/image_14122025_19_36_04_10601.jpg
/home/pi/Desktop/images/14122025/19/36/image_14122025_19_36_23_9775.jpg
/home/pi/Desktop/images/14122025/19/36/image_14122025_19_36_34_10716.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5063354969024658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 19:42:34.130393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:42:42.801746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_13_3656.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_16_2750.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_18_2762.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_22_3702.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_25_2674.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_28_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_13_3656.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_16_2750.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_18_2762.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_22_3702.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_25_2674.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_28_2677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399376199","1399376203","1399376205","1399376202","1399376201","1399376204"],"photo_ids_order":["1399376199","1399376201","1399376202","1399376203","1399376204","1399376205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94332a53251f77d2245582b98c50d5b5.jpg","text":"TemporaryFile(/tmp/multipartBody4378730840589689557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737823532,"filename":"image_04112025_14_34_13_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8eca3e275fc27c643089e5987d4e40ec.jpg","text":"TemporaryFile(/tmp/multipartBody1202225959549923054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737823532,"filename":"image_04112025_14_34_22_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4019c93d6013b70065e01b09f9c6101d.jpg","text":"TemporaryFile(/tmp/multipartBody230691051943598689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737823532,"filename":"image_04112025_14_34_28_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ee5cfbe812076409258419638e66a70f.jpg","text":"TemporaryFile(/tmp/multipartBody8371799405207354958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737823532,"filename":"image_04112025_14_34_18_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8728b4cc00315782cd752d2382bdd83f.jpg","text":"TemporaryFile(/tmp/multipartBody323109265629536880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737823532,"filename":"image_04112025_14_34_16_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/86766f62c82f61dee9c38efaa2a74382.jpg","text":"TemporaryFile(/tmp/multipartBody2173948964363709266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737823532,"filename":"image_04112025_14_34_25_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376202","file1":"1399376201","file0":"1399376199","file4":"1399376204","file5":"1399376205","file3":"1399376203"},"map_files_photo_id_array":[{"photo_id":"1399376205","filename":"file5"},{"photo_id":"1399376202","filename":"file2"},{"photo_id":"1399376204","filename":"file4"},{"photo_id":"1399376201","filename":"file1"},{"photo_id":"1399376199","filename":"file0"},{"photo_id":"1399376203","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399376199":["hashtag1","hashtag2"]},{"1399376203":["hashtag1","hashtag2"]},{"1399376205":["hashtag1","hashtag2"]},{"1399376202":["hashtag1","hashtag2"]},{"1399376201":["hashtag1","hashtag2"]},{"1399376204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399376199, 1399376203, 1399376205, 1399376202, 1399376201, 1399376204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68983435630798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:43:22.062000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/35/image_14122025_19_35_34_10401.jpg', '/home/pi/Desktop/images/14122025/19/35/image_14122025_19_35_44_9855.jpg', '/home/pi/Desktop/images/14122025/19/35/image_14122025_19_35_53_9624.jpg', '/home/pi/Desktop/images/14122025/19/35/image_14122025_19_36_04_10601.jpg', '/home/pi/Desktop/images/14122025/19/36/image_14122025_19_36_23_9775.jpg', '/home/pi/Desktop/images/14122025/19/36/image_14122025_19_36_34_10716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/35/image_14122025_19_35_34_10401.jpg
/home/pi/Desktop/images/14122025/19/35/image_14122025_19_35_44_9855.jpg
/home/pi/Desktop/images/14122025/19/35/image_14122025_19_35_53_9624.jpg
/home/pi/Desktop/images/14122025/19/35/image_14122025_19_36_04_10601.jpg
/home/pi/Desktop/images/14122025/19/36/image_14122025_19_36_23_9775.jpg
/home/pi/Desktop/images/14122025/19/36/image_14122025_19_36_34_10716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399376212","1399376206","1399376211","1399376214","1399376208","1399376216"],"photo_ids_order":["1399376206","1399376208","1399376211","1399376212","1399376214","1399376216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7b1d3274afea6786c49226068aa094bf.jpg","text":"TemporaryFile(/tmp/multipartBody6757223712282158639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737862729,"filename":"image_14122025_19_36_04_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/671c66e5d19a53c8627aa7cc45fff0dc.jpg","text":"TemporaryFile(/tmp/multipartBody3764635911963128468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737862729,"filename":"image_14122025_19_35_34_10401.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36224792c29a0de11da6a90688712912.jpg","text":"TemporaryFile(/tmp/multipartBody2592111788729887035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737862729,"filename":"image_14122025_19_35_53_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f6afb29f4f2c7b3b911732e8fe3671c.jpg","text":"TemporaryFile(/tmp/multipartBody4517485786205600985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737862729,"filename":"image_14122025_19_36_23_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9b2a43c6e9ed2bc4d2ec9b08724d87d9.jpg","text":"TemporaryFile(/tmp/multipartBody598864290111241418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737862729,"filename":"image_14122025_19_35_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/12/14/f9aed337a7c40d5ea227f89efb3f06c7.jpg","text":"TemporaryFile(/tmp/multipartBody691741590714621532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737862729,"filename":"image_14122025_19_36_34_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376211","file1":"1399376208","file0":"1399376206","file4":"1399376214","file5":"1399376216","file3":"1399376212"},"map_files_photo_id_array":[{"photo_id":"1399376216","filename":"file5"},{"photo_id":"1399376211","filename":"file2"},{"photo_id":"1399376214","filename":"file4"},{"photo_id":"1399376208","filename":"file1"},{"photo_id":"1399376206","filename":"file0"},{"photo_id":"1399376212","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376212":["hashtag1","hashtag2"]},{"1399376206":["hashtag1","hashtag2"]},{"1399376211":["hashtag1","hashtag2"]},{"1399376214":["hashtag1","hashtag2"]},{"1399376208":["hashtag1","hashtag2"]},{"1399376216":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376212, 1399376206, 1399376211, 1399376214, 1399376208, 1399376216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66587686538696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:44:02.939310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/36/image_14122025_19_36_44_9678.jpg', '/home/pi/Desktop/images/14122025/19/36/image_14122025_19_36_53_9631.jpg', '/home/pi/Desktop/images/14122025/19/36/image_14122025_19_37_04_10639.jpg', '/home/pi/Desktop/images/14122025/19/37/image_14122025_19_37_14_9763.jpg', '/home/pi/Desktop/images/14122025/19/37/image_14122025_19_37_23_9614.jpg', '/home/pi/Desktop/images/14122025/19/37/image_14122025_19_37_34_10734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/36/image_14122025_19_36_44_9678.jpg
/home/pi/Desktop/images/14122025/19/36/image_14122025_19_36_53_9631.jpg
/home/pi/Desktop/images/14122025/19/36/image_14122025_19_37_04_10639.jpg
/home/pi/Desktop/images/14122025/19/37/image_14122025_19_37_14_9763.jpg
/home/pi/Desktop/images/14122025/19/37/image_14122025_19_37_23_9614.jpg
/home/pi/Desktop/images/14122025/19/37/image_14122025_19_37_34_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":["1399376221","1399376224","1399376218","1399376226","1399376220","1399376222"],"photo_ids_order":["1399376218","1399376220","1399376221","1399376222","1399376224","1399376226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d60584379a7d2b7e48019dcea2eb629.jpg","text":"TemporaryFile(/tmp/multipartBody6189198730978273965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737903612,"filename":"image_14122025_19_37_04_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b59dd4a1b165f37059b9b6779f7046c0.jpg","text":"TemporaryFile(/tmp/multipartBody5870760302255643160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737903612,"filename":"image_14122025_19_37_23_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88adbf73684c87c941656b78c310a3c1.jpg","text":"TemporaryFile(/tmp/multipartBody5352524801920297827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737903612,"filename":"image_14122025_19_36_44_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c50c37be55bcb858537b4ffaab67ff0.jpg","text":"TemporaryFile(/tmp/multipartBody2372002999560706500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737903612,"filename":"image_14122025_19_37_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/12/14/50d6693cbd35ed64506d67c5fe6b50f5.jpg","text":"TemporaryFile(/tmp/multipartBody1706498560003052007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737903612,"filename":"image_14122025_19_36_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/12/14/1b83d864e72d85b6603089e8620879ff.jpg","text":"TemporaryFile(/tmp/multipartBody6004910514349070260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737903612,"filename":"image_14122025_19_37_14_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376221","file1":"1399376220","file0":"1399376218","file4":"1399376224","file5":"1399376226","file3":"1399376222"},"map_files_photo_id_array":[{"photo_id":"1399376226","filename":"file5"},{"photo_id":"1399376221","filename":"file2"},{"photo_id":"1399376224","filename":"file4"},{"photo_id":"1399376220","filename":"file1"},{"photo_id":"1399376218","filename":"file0"},{"photo_id":"1399376222","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376221":["hashtag1","hashtag2"]},{"1399376224":["hashtag1","hashtag2"]},{"1399376218":["hashtag1","hashtag2"]},{"1399376226":["hashtag1","hashtag2"]},{"1399376220":["hashtag1","hashtag2"]},{"1399376222":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376221, 1399376224, 1399376218, 1399376226, 1399376220, 1399376222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.35712647438049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:44:42.315200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_30_2787.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_34_3635.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_36_2490.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_40_3673.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_43_2487.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_45_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_30_2787.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_34_3635.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_36_2490.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_40_3673.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_43_2487.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_45_2630.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6466445922851562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:45:03.183174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/37/image_14122025_19_37_44_9695.jpg', '/home/pi/Desktop/images/14122025/19/37/image_14122025_19_37_54_9774.jpg', '/home/pi/Desktop/images/14122025/19/37/image_14122025_19_38_03_9725.jpg', '/home/pi/Desktop/images/14122025/19/38/image_14122025_19_38_14_10792.jpg', '/home/pi/Desktop/images/14122025/19/38/image_14122025_19_38_24_9717.jpg', '/home/pi/Desktop/images/14122025/19/38/image_14122025_19_38_34_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/37/image_14122025_19_37_44_9695.jpg
/home/pi/Desktop/images/14122025/19/37/image_14122025_19_37_54_9774.jpg
/home/pi/Desktop/images/14122025/19/37/image_14122025_19_38_03_9725.jpg
/home/pi/Desktop/images/14122025/19/38/image_14122025_19_38_14_10792.jpg
/home/pi/Desktop/images/14122025/19/38/image_14122025_19_38_24_9717.jpg
/home/pi/Desktop/images/14122025/19/38/image_14122025_19_38_34_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399376245","1399376239","1399376242","1399376241","1399376240","1399376243"],"photo_ids_order":["1399376239","1399376240","1399376241","1399376242","1399376243","1399376245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f493f58c173b689d40d768bab61b018e.jpg","text":"TemporaryFile(/tmp/multipartBody5025716859262489226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737963874,"filename":"image_14122025_19_38_34_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0dc54e0ba608accc4d856ac0c432cc9d.jpg","text":"TemporaryFile(/tmp/multipartBody4821810355416770885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737963874,"filename":"image_14122025_19_37_44_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/78724d302182721767d5a854e4741fc4.jpg","text":"TemporaryFile(/tmp/multipartBody536820542002174286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737963874,"filename":"image_14122025_19_38_14_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/584dad3379caa1adf1e5566671156107.jpg","text":"TemporaryFile(/tmp/multipartBody8724049413657410649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737963874,"filename":"image_14122025_19_38_03_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a5d454616e91961391579105b3d6a61.jpg","text":"TemporaryFile(/tmp/multipartBody5359981258064485097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737963874,"filename":"image_14122025_19_37_54_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7b42a70b31dc0f745dc773bfce0638a2.jpg","text":"TemporaryFile(/tmp/multipartBody6870307884714930119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765737963874,"filename":"image_14122025_19_38_24_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376241","file1":"1399376240","file0":"1399376239","file4":"1399376243","file5":"1399376245","file3":"1399376242"},"map_files_photo_id_array":[{"photo_id":"1399376245","filename":"file5"},{"photo_id":"1399376241","filename":"file2"},{"photo_id":"1399376243","filename":"file4"},{"photo_id":"1399376240","filename":"file1"},{"photo_id":"1399376239","filename":"file0"},{"photo_id":"1399376242","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376245":["hashtag1","hashtag2"]},{"1399376239":["hashtag1","hashtag2"]},{"1399376242":["hashtag1","hashtag2"]},{"1399376241":["hashtag1","hashtag2"]},{"1399376240":["hashtag1","hashtag2"]},{"1399376243":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376245, 1399376239, 1399376242, 1399376241, 1399376240, 1399376243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.80925393104553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:45:42.602924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_30_2787.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_34_3635.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_36_2490.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_40_3673.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_43_2487.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_45_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_30_2787.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_34_3635.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_36_2490.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_40_3673.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_43_2487.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_45_2630.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5252370834350586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:46:02.209713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/38/image_14122025_19_38_44_10648.jpg', '/home/pi/Desktop/images/14122025/19/38/image_14122025_19_38_54_9687.jpg', '/home/pi/Desktop/images/14122025/19/38/image_14122025_19_39_04_9581.jpg', '/home/pi/Desktop/images/14122025/19/39/image_14122025_19_39_14_10674.jpg', '/home/pi/Desktop/images/14122025/19/39/image_14122025_19_39_24_9563.jpg', '/home/pi/Desktop/images/14122025/19/39/image_14122025_19_39_33_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/38/image_14122025_19_38_44_10648.jpg
/home/pi/Desktop/images/14122025/19/38/image_14122025_19_38_54_9687.jpg
/home/pi/Desktop/images/14122025/19/38/image_14122025_19_39_04_9581.jpg
/home/pi/Desktop/images/14122025/19/39/image_14122025_19_39_14_10674.jpg
/home/pi/Desktop/images/14122025/19/39/image_14122025_19_39_24_9563.jpg
/home/pi/Desktop/images/14122025/19/39/image_14122025_19_39_33_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399376257","1399376260","1399376262","1399376256","1399376259","1399376258"],"photo_ids_order":["1399376256","1399376257","1399376258","1399376259","1399376260","1399376262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b3f674258214c91d8617fbc20ff529d4.jpg","text":"TemporaryFile(/tmp/multipartBody2098705652861442267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738022821,"filename":"image_14122025_19_38_54_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fcba00b425305635a9fb5d2e00363ad5.jpg","text":"TemporaryFile(/tmp/multipartBody5144070859831320957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738022821,"filename":"image_14122025_19_39_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/12/14/991b3a21045d5a84ed80016d35243018.jpg","text":"TemporaryFile(/tmp/multipartBody4910011951547971536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738022821,"filename":"image_14122025_19_39_33_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bc46217bf9763c10215999fee325b2c2.jpg","text":"TemporaryFile(/tmp/multipartBody7994064854214678662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738022821,"filename":"image_14122025_19_38_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e74081b7af433a25726f43cdbc27a199.jpg","text":"TemporaryFile(/tmp/multipartBody3491600968597193185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738022821,"filename":"image_14122025_19_39_14_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2977be1ffc06f133e9abf3346f1ef23.jpg","text":"TemporaryFile(/tmp/multipartBody3413246848801264337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738022821,"filename":"image_14122025_19_39_04_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376258","file1":"1399376257","file0":"1399376256","file4":"1399376260","file5":"1399376262","file3":"1399376259"},"map_files_photo_id_array":[{"photo_id":"1399376262","filename":"file5"},{"photo_id":"1399376258","filename":"file2"},{"photo_id":"1399376260","filename":"file4"},{"photo_id":"1399376257","filename":"file1"},{"photo_id":"1399376256","filename":"file0"},{"photo_id":"1399376259","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376257":["hashtag1","hashtag2"]},{"1399376260":["hashtag1","hashtag2"]},{"1399376262":["hashtag1","hashtag2"]},{"1399376256":["hashtag1","hashtag2"]},{"1399376259":["hashtag1","hashtag2"]},{"1399376258":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376257, 1399376260, 1399376262, 1399376256, 1399376259, 1399376258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.47593069076538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:46:41.908935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_30_2787.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_34_3635.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_36_2490.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_40_3673.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_43_2487.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_45_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_30_2787.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_34_3635.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_36_2490.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_40_3673.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_43_2487.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_45_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":["1399376269","1399376272","1399376271","1399376270","1399376273","1399376267"],"photo_ids_order":["1399376267","1399376269","1399376270","1399376271","1399376272","1399376273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e28b06a9bc132e762b69bf90544ce5b.jpg","text":"TemporaryFile(/tmp/multipartBody7740336504569954983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738062539,"filename":"image_04112025_14_34_34_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/87988263aed1964206250f90d574d521.jpg","text":"TemporaryFile(/tmp/multipartBody694697380235825424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738062539,"filename":"image_04112025_14_34_43_2487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9ef4c6f5645a662b3685e586e67e43b1.jpg","text":"TemporaryFile(/tmp/multipartBody1394898590106701287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738062539,"filename":"image_04112025_14_34_40_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f76350b88b2eea3bcafdd249dba19748.jpg","text":"TemporaryFile(/tmp/multipartBody313380665808706449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738062539,"filename":"image_04112025_14_34_36_2490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d584645dca0acbaaa0f8f52346c987a7.jpg","text":"TemporaryFile(/tmp/multipartBody619436633707375732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738062539,"filename":"image_04112025_14_34_45_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8cf465bebcb5c89f3e4bae732276ef6e.jpg","text":"TemporaryFile(/tmp/multipartBody7686905523878199026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738062539,"filename":"image_04112025_14_34_30_2787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376270","file1":"1399376269","file0":"1399376267","file4":"1399376272","file5":"1399376273","file3":"1399376271"},"map_files_photo_id_array":[{"photo_id":"1399376273","filename":"file5"},{"photo_id":"1399376270","filename":"file2"},{"photo_id":"1399376272","filename":"file4"},{"photo_id":"1399376269","filename":"file1"},{"photo_id":"1399376267","filename":"file0"},{"photo_id":"1399376271","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399376269":["hashtag1","hashtag2"]},{"1399376272":["hashtag1","hashtag2"]},{"1399376271":["hashtag1","hashtag2"]},{"1399376270":["hashtag1","hashtag2"]},{"1399376273":["hashtag1","hashtag2"]},{"1399376267":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399376269, 1399376272, 1399376271, 1399376270, 1399376273, 1399376267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4060845375061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:47:22.145670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/39/image_14122025_19_39_44_10789.jpg', '/home/pi/Desktop/images/14122025/19/39/image_14122025_19_39_54_9859.jpg', '/home/pi/Desktop/images/14122025/19/39/image_14122025_19_40_04_9681.jpg', '/home/pi/Desktop/images/14122025/19/40/image_14122025_19_40_40_16583.jpg', '/home/pi/Desktop/images/14122025/19/40/image_14122025_19_40_44_3666.jpg', '/home/pi/Desktop/images/14122025/19/40/image_14122025_19_40_54_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/39/image_14122025_19_39_44_10789.jpg
/home/pi/Desktop/images/14122025/19/39/image_14122025_19_39_54_9859.jpg
/home/pi/Desktop/images/14122025/19/39/image_14122025_19_40_04_9681.jpg
/home/pi/Desktop/images/14122025/19/40/image_14122025_19_40_40_16583.jpg
/home/pi/Desktop/images/14122025/19/40/image_14122025_19_40_44_3666.jpg
/home/pi/Desktop/images/14122025/19/40/image_14122025_19_40_54_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":["1399376281","1399376275","1399376284","1399376277","1399376282","1399376279"],"photo_ids_order":["1399376275","1399376277","1399376279","1399376281","1399376282","1399376284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7309cb5492ef20afe46aee20c549b98a.jpg","text":"TemporaryFile(/tmp/multipartBody4848545167146254780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738102804,"filename":"image_14122025_19_40_40_16583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/341b8f8eccfcdaaafa5f90b03996d2b2.jpg","text":"TemporaryFile(/tmp/multipartBody2159733213916123898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738102804,"filename":"image_14122025_19_39_44_10789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1cb733c7aa2cdc4150baba839fbd29f0.jpg","text":"TemporaryFile(/tmp/multipartBody2127264697769622761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738102804,"filename":"image_14122025_19_40_54_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7af6f8ff035e6f1eec647549bac3221.jpg","text":"TemporaryFile(/tmp/multipartBody4140928001748902116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738102804,"filename":"image_14122025_19_39_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/12/14/b04407b03c4b7f49c8852b427806562b.jpg","text":"TemporaryFile(/tmp/multipartBody4620128100782309687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738102804,"filename":"image_14122025_19_40_44_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aff3b9a4dc8f1dae8d211791382c9e3c.jpg","text":"TemporaryFile(/tmp/multipartBody516104153055755408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738102804,"filename":"image_14122025_19_40_04_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376279","file1":"1399376277","file0":"1399376275","file4":"1399376282","file5":"1399376284","file3":"1399376281"},"map_files_photo_id_array":[{"photo_id":"1399376284","filename":"file5"},{"photo_id":"1399376279","filename":"file2"},{"photo_id":"1399376282","filename":"file4"},{"photo_id":"1399376277","filename":"file1"},{"photo_id":"1399376275","filename":"file0"},{"photo_id":"1399376281","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376281":["hashtag1","hashtag2"]},{"1399376275":["hashtag1","hashtag2"]},{"1399376284":["hashtag1","hashtag2"]},{"1399376277":["hashtag1","hashtag2"]},{"1399376282":["hashtag1","hashtag2"]},{"1399376279":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376281, 1399376275, 1399376284, 1399376277, 1399376282, 1399376279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.324368953704834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:48:02.854216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/40/image_14122025_19_41_04_9786.jpg', '/home/pi/Desktop/images/14122025/19/41/image_14122025_19_41_13_9622.jpg', '/home/pi/Desktop/images/14122025/19/41/image_14122025_19_41_24_10862.jpg', '/home/pi/Desktop/images/14122025/19/41/image_14122025_19_41_44_9581.jpg', '/home/pi/Desktop/images/14122025/19/41/image_14122025_19_41_53_9860.jpg', '/home/pi/Desktop/images/14122025/19/41/image_14122025_19_42_04_10723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/40/image_14122025_19_41_04_9786.jpg
/home/pi/Desktop/images/14122025/19/41/image_14122025_19_41_13_9622.jpg
/home/pi/Desktop/images/14122025/19/41/image_14122025_19_41_24_10862.jpg
/home/pi/Desktop/images/14122025/19/41/image_14122025_19_41_44_9581.jpg
/home/pi/Desktop/images/14122025/19/41/image_14122025_19_41_53_9860.jpg
/home/pi/Desktop/images/14122025/19/41/image_14122025_19_42_04_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":["1399376290","1399376286","1399376289","1399376291","1399376288","1399376287"],"photo_ids_order":["1399376286","1399376287","1399376288","1399376289","1399376290","1399376291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92a5c8d99571c5e52f0b6fd2709d0159.jpg","text":"TemporaryFile(/tmp/multipartBody4152625731662561079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738143509,"filename":"image_14122025_19_41_53_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f16ec4f9024b900e76bd935899aa5893.jpg","text":"TemporaryFile(/tmp/multipartBody4285643776089205094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738143509,"filename":"image_14122025_19_41_04_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5c11b50a9ea0c80c58d5a86bd7e03933.jpg","text":"TemporaryFile(/tmp/multipartBody3934087599322441207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738143509,"filename":"image_14122025_19_41_44_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f58b93b8a8d5404bd24667c7904cf9ca.jpg","text":"TemporaryFile(/tmp/multipartBody513827345436076270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738143509,"filename":"image_14122025_19_42_04_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e03186e9defb4ea0b7b5bd50e58443fe.jpg","text":"TemporaryFile(/tmp/multipartBody251899210208636944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738143509,"filename":"image_14122025_19_41_24_10862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd3dc1f7f1632df3a8cbf46eb43ba0d7.jpg","text":"TemporaryFile(/tmp/multipartBody5386969828036589271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738143509,"filename":"image_14122025_19_41_13_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376288","file1":"1399376287","file0":"1399376286","file4":"1399376290","file5":"1399376291","file3":"1399376289"},"map_files_photo_id_array":[{"photo_id":"1399376291","filename":"file5"},{"photo_id":"1399376288","filename":"file2"},{"photo_id":"1399376290","filename":"file4"},{"photo_id":"1399376287","filename":"file1"},{"photo_id":"1399376286","filename":"file0"},{"photo_id":"1399376289","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376290":["hashtag1","hashtag2"]},{"1399376286":["hashtag1","hashtag2"]},{"1399376289":["hashtag1","hashtag2"]},{"1399376291":["hashtag1","hashtag2"]},{"1399376288":["hashtag1","hashtag2"]},{"1399376287":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376290, 1399376286, 1399376289, 1399376291, 1399376288, 1399376287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.48122024536133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:48:42.394633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_49_3613.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_51_2607.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_54_2720.jpg', '/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_58_3685.jpg', '/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_01_2629.jpg', '/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_04_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_49_3613.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_51_2607.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_54_2720.jpg
/home/pi/Desktop/images/04112025/14/34/image_04112025_14_34_58_3685.jpg
/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_01_2629.jpg
/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_04_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":["1399376305","1399376302","1399376307","1399376297","1399376300","1399376303"],"photo_ids_order":["1399376297","1399376300","1399376302","1399376303","1399376305","1399376307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f9d2619a8299e0ddf12526e2937c464.jpg","text":"TemporaryFile(/tmp/multipartBody6030108574155429085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738183137,"filename":"image_04112025_14_35_01_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/263a57096262039faad7c6f4f6b203a3.jpg","text":"TemporaryFile(/tmp/multipartBody4616371670164912067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738183137,"filename":"image_04112025_14_34_54_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a1e66230d654fb333ee7e1767b3e9cd.jpg","text":"TemporaryFile(/tmp/multipartBody2410311350250337986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738183137,"filename":"image_04112025_14_35_04_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fbccaf948881a3ff37a1299a7737adc5.jpg","text":"TemporaryFile(/tmp/multipartBody5417904929773993091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738183137,"filename":"image_04112025_14_34_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/12/14/0de21d0dadbed24acdf40423710a8a63.jpg","text":"TemporaryFile(/tmp/multipartBody4147128624552942344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738183137,"filename":"image_04112025_14_34_51_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a12e811bb51d0de4a48026bfe6e48ed.jpg","text":"TemporaryFile(/tmp/multipartBody7739438394280751181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738183137,"filename":"image_04112025_14_34_58_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376302","file1":"1399376300","file0":"1399376297","file4":"1399376305","file5":"1399376307","file3":"1399376303"},"map_files_photo_id_array":[{"photo_id":"1399376307","filename":"file5"},{"photo_id":"1399376302","filename":"file2"},{"photo_id":"1399376305","filename":"file4"},{"photo_id":"1399376300","filename":"file1"},{"photo_id":"1399376297","filename":"file0"},{"photo_id":"1399376303","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399376305":["hashtag1","hashtag2"]},{"1399376302":["hashtag1","hashtag2"]},{"1399376307":["hashtag1","hashtag2"]},{"1399376297":["hashtag1","hashtag2"]},{"1399376300":["hashtag1","hashtag2"]},{"1399376303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399376305, 1399376302, 1399376307, 1399376297, 1399376300, 1399376303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82975363731384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:49:22.606199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/42/image_14122025_19_42_14_9761.jpg', '/home/pi/Desktop/images/14122025/19/42/image_14122025_19_42_24_9753.jpg', '/home/pi/Desktop/images/14122025/19/42/image_14122025_19_42_33_9753.jpg', '/home/pi/Desktop/images/14122025/19/42/image_14122025_19_42_44_10151.jpg', '/home/pi/Desktop/images/14122025/19/42/image_14122025_19_42_54_10616.jpg', '/home/pi/Desktop/images/14122025/19/42/image_14122025_19_43_04_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/42/image_14122025_19_42_14_9761.jpg
/home/pi/Desktop/images/14122025/19/42/image_14122025_19_42_24_9753.jpg
/home/pi/Desktop/images/14122025/19/42/image_14122025_19_42_33_9753.jpg
/home/pi/Desktop/images/14122025/19/42/image_14122025_19_42_44_10151.jpg
/home/pi/Desktop/images/14122025/19/42/image_14122025_19_42_54_10616.jpg
/home/pi/Desktop/images/14122025/19/42/image_14122025_19_43_04_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.4782986640930176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 19:49:32.647192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:49:42.684783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_06_2302.jpg', '/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_09_2816.jpg', '/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_13_3720.jpg', '/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_16_2738.jpg', '/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_19_2780.jpg', '/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_21_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_06_2302.jpg
/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_09_2816.jpg
/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_13_3720.jpg
/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_16_2738.jpg
/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_19_2780.jpg
/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_21_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":["1399376323","1399376326","1399376322","1399376325","1399376321","1399376324"],"photo_ids_order":["1399376321","1399376322","1399376323","1399376324","1399376325","1399376326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1923f3500246b6abd7318cc0c066e6d2.jpg","text":"TemporaryFile(/tmp/multipartBody460890987808819336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738246155,"filename":"image_04112025_14_35_13_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3e8ccb2e2a0e4bd47944b226beb52b93.jpg","text":"TemporaryFile(/tmp/multipartBody747719668733357431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738246155,"filename":"image_04112025_14_35_21_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/26b4b2d8365e79a0665eb49449fb02c0.jpg","text":"TemporaryFile(/tmp/multipartBody7179400543832474076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738246155,"filename":"image_04112025_14_35_09_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/43d6e2b69e28e71c85c3c08644995bf8.jpg","text":"TemporaryFile(/tmp/multipartBody4566771068709309045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738246155,"filename":"image_04112025_14_35_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/12/14/537959625c5a4d1f57c49ee6cac116aa.jpg","text":"TemporaryFile(/tmp/multipartBody6851150358484381377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738246155,"filename":"image_04112025_14_35_06_2302.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/17c7260eed72fdfeb65a1cc6b2ed8ebf.jpg","text":"TemporaryFile(/tmp/multipartBody373628488447144047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738246155,"filename":"image_04112025_14_35_16_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376323","file1":"1399376322","file0":"1399376321","file4":"1399376325","file5":"1399376326","file3":"1399376324"},"map_files_photo_id_array":[{"photo_id":"1399376326","filename":"file5"},{"photo_id":"1399376323","filename":"file2"},{"photo_id":"1399376325","filename":"file4"},{"photo_id":"1399376322","filename":"file1"},{"photo_id":"1399376321","filename":"file0"},{"photo_id":"1399376324","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399376323":["hashtag1","hashtag2"]},{"1399376326":["hashtag1","hashtag2"]},{"1399376322":["hashtag1","hashtag2"]},{"1399376325":["hashtag1","hashtag2"]},{"1399376321":["hashtag1","hashtag2"]},{"1399376324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399376323, 1399376326, 1399376322, 1399376325, 1399376321, 1399376324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72109413146973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:50:21.927698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/42/image_14122025_19_42_14_9761.jpg', '/home/pi/Desktop/images/14122025/19/42/image_14122025_19_42_24_9753.jpg', '/home/pi/Desktop/images/14122025/19/42/image_14122025_19_42_33_9753.jpg', '/home/pi/Desktop/images/14122025/19/42/image_14122025_19_42_44_10151.jpg', '/home/pi/Desktop/images/14122025/19/42/image_14122025_19_42_54_10616.jpg', '/home/pi/Desktop/images/14122025/19/42/image_14122025_19_43_04_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/42/image_14122025_19_42_14_9761.jpg
/home/pi/Desktop/images/14122025/19/42/image_14122025_19_42_24_9753.jpg
/home/pi/Desktop/images/14122025/19/42/image_14122025_19_42_33_9753.jpg
/home/pi/Desktop/images/14122025/19/42/image_14122025_19_42_44_10151.jpg
/home/pi/Desktop/images/14122025/19/42/image_14122025_19_42_54_10616.jpg
/home/pi/Desktop/images/14122025/19/42/image_14122025_19_43_04_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":["1399376338","1399376335","1399376329","1399376331","1399376333","1399376327"],"photo_ids_order":["1399376327","1399376329","1399376331","1399376333","1399376335","1399376338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e7819ee56f34d2d32418026f0bb9f3d.jpg","text":"TemporaryFile(/tmp/multipartBody5053160771819205051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738282562,"filename":"image_14122025_19_43_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d5011d4e40f7ef36d49867e97fae9fd.jpg","text":"TemporaryFile(/tmp/multipartBody5231404059601174560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738282562,"filename":"image_14122025_19_42_54_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24337f619ecabb4df483b9f230344c9b.jpg","text":"TemporaryFile(/tmp/multipartBody1847616797829149967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738282562,"filename":"image_14122025_19_42_24_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be2165b2213a7374b3845bd7df2faebc.jpg","text":"TemporaryFile(/tmp/multipartBody8498749223129241388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738282562,"filename":"image_14122025_19_42_33_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f06a20ffe9a06a2c1a1ced967b8ba4f.jpg","text":"TemporaryFile(/tmp/multipartBody5861243868969965427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738282562,"filename":"image_14122025_19_42_44_10151.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88c87b794fe2d2121c529f1c09b4e8d6.jpg","text":"TemporaryFile(/tmp/multipartBody1850021316019804755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738282562,"filename":"image_14122025_19_42_14_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376331","file1":"1399376329","file0":"1399376327","file4":"1399376335","file5":"1399376338","file3":"1399376333"},"map_files_photo_id_array":[{"photo_id":"1399376338","filename":"file5"},{"photo_id":"1399376331","filename":"file2"},{"photo_id":"1399376335","filename":"file4"},{"photo_id":"1399376329","filename":"file1"},{"photo_id":"1399376327","filename":"file0"},{"photo_id":"1399376333","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376338":["hashtag1","hashtag2"]},{"1399376335":["hashtag1","hashtag2"]},{"1399376329":["hashtag1","hashtag2"]},{"1399376331":["hashtag1","hashtag2"]},{"1399376333":["hashtag1","hashtag2"]},{"1399376327":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376338, 1399376335, 1399376329, 1399376331, 1399376333, 1399376327)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.980945348739624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 19:51:12.224454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:51:22.184752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/43/image_14122025_19_43_14_9939.jpg', '/home/pi/Desktop/images/14122025/19/43/image_14122025_19_43_24_9732.jpg', '/home/pi/Desktop/images/14122025/19/43/image_14122025_19_43_44_9576.jpg', '/home/pi/Desktop/images/14122025/19/43/image_14122025_19_44_04_10712.jpg', '/home/pi/Desktop/images/14122025/19/44/image_14122025_19_44_14_9700.jpg', '/home/pi/Desktop/images/14122025/19/44/image_14122025_19_44_24_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/43/image_14122025_19_43_14_9939.jpg
/home/pi/Desktop/images/14122025/19/43/image_14122025_19_43_24_9732.jpg
/home/pi/Desktop/images/14122025/19/43/image_14122025_19_43_44_9576.jpg
/home/pi/Desktop/images/14122025/19/43/image_14122025_19_44_04_10712.jpg
/home/pi/Desktop/images/14122025/19/44/image_14122025_19_44_14_9700.jpg
/home/pi/Desktop/images/14122025/19/44/image_14122025_19_44_24_9827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399376350","1399376344","1399376346","1399376348","1399376342","1399376339"],"photo_ids_order":["1399376339","1399376342","1399376344","1399376346","1399376348","1399376350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8147c6a27b42f629108ee5f4ca4ac3ae.jpg","text":"TemporaryFile(/tmp/multipartBody3781820191205671919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738342771,"filename":"image_14122025_19_44_24_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9fc4d477b4f1b259c7f579175440e008.jpg","text":"TemporaryFile(/tmp/multipartBody8177791250853123641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738342771,"filename":"image_14122025_19_43_44_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/77240926fa04d4d317241af892914161.jpg","text":"TemporaryFile(/tmp/multipartBody8751022373183770609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738342771,"filename":"image_14122025_19_44_04_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f6b0885c4c4519c8399cac0fa5d8c4d9.jpg","text":"TemporaryFile(/tmp/multipartBody369507368441343682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738342771,"filename":"image_14122025_19_44_14_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2ae19f7b18c089b994e1956edfba4d2.jpg","text":"TemporaryFile(/tmp/multipartBody3020515822158531778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738342771,"filename":"image_14122025_19_43_24_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c8fd8af0a87fd900bcc017bfe727470.jpg","text":"TemporaryFile(/tmp/multipartBody8986163100116157293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738342771,"filename":"image_14122025_19_43_14_9939.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376344","file1":"1399376342","file0":"1399376339","file4":"1399376348","file5":"1399376350","file3":"1399376346"},"map_files_photo_id_array":[{"photo_id":"1399376350","filename":"file5"},{"photo_id":"1399376344","filename":"file2"},{"photo_id":"1399376348","filename":"file4"},{"photo_id":"1399376342","filename":"file1"},{"photo_id":"1399376339","filename":"file0"},{"photo_id":"1399376346","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376350":["hashtag1","hashtag2"]},{"1399376344":["hashtag1","hashtag2"]},{"1399376346":["hashtag1","hashtag2"]},{"1399376348":["hashtag1","hashtag2"]},{"1399376342":["hashtag1","hashtag2"]},{"1399376339":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376350, 1399376344, 1399376346, 1399376348, 1399376342, 1399376339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78210520744324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:52:02.695707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/44/image_14122025_19_44_34_10583.jpg', '/home/pi/Desktop/images/14122025/19/44/image_14122025_19_44_44_9747.jpg', '/home/pi/Desktop/images/14122025/19/44/image_14122025_19_44_54_9682.jpg', '/home/pi/Desktop/images/14122025/19/45/image_14122025_19_45_14_9719.jpg', '/home/pi/Desktop/images/14122025/19/45/image_14122025_19_45_24_9607.jpg', '/home/pi/Desktop/images/14122025/19/45/image_14122025_19_45_34_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/44/image_14122025_19_44_34_10583.jpg
/home/pi/Desktop/images/14122025/19/44/image_14122025_19_44_44_9747.jpg
/home/pi/Desktop/images/14122025/19/44/image_14122025_19_44_54_9682.jpg
/home/pi/Desktop/images/14122025/19/45/image_14122025_19_45_14_9719.jpg
/home/pi/Desktop/images/14122025/19/45/image_14122025_19_45_24_9607.jpg
/home/pi/Desktop/images/14122025/19/45/image_14122025_19_45_34_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399376356","1399376353","1399376352","1399376355","1399376351","1399376354"],"photo_ids_order":["1399376351","1399376352","1399376353","1399376354","1399376355","1399376356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c99faf36c53e6129c98e482d2c62af34.jpg","text":"TemporaryFile(/tmp/multipartBody3623550242607680911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738383321,"filename":"image_14122025_19_45_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/12/14/08e3c488c5cddc7b2926c2b619be3559.jpg","text":"TemporaryFile(/tmp/multipartBody4700581561237702198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738383321,"filename":"image_14122025_19_44_54_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/955b0735b37152b0858377a0caae7be0.jpg","text":"TemporaryFile(/tmp/multipartBody3960342100432618241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738383321,"filename":"image_14122025_19_44_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/12/14/9442d4b2d13fc23be354febe99812aae.jpg","text":"TemporaryFile(/tmp/multipartBody62780870438921917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738383321,"filename":"image_14122025_19_45_24_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4238d3d443a1ce5d66816473684bf790.jpg","text":"TemporaryFile(/tmp/multipartBody1665166983911380156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738383321,"filename":"image_14122025_19_44_34_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f574e6a4ba0e33d099eba7dd64fbf6fb.jpg","text":"TemporaryFile(/tmp/multipartBody2769402169319860171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738383321,"filename":"image_14122025_19_45_14_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376353","file1":"1399376352","file0":"1399376351","file4":"1399376355","file5":"1399376356","file3":"1399376354"},"map_files_photo_id_array":[{"photo_id":"1399376356","filename":"file5"},{"photo_id":"1399376353","filename":"file2"},{"photo_id":"1399376355","filename":"file4"},{"photo_id":"1399376352","filename":"file1"},{"photo_id":"1399376351","filename":"file0"},{"photo_id":"1399376354","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376356":["hashtag1","hashtag2"]},{"1399376353":["hashtag1","hashtag2"]},{"1399376352":["hashtag1","hashtag2"]},{"1399376355":["hashtag1","hashtag2"]},{"1399376351":["hashtag1","hashtag2"]},{"1399376354":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376356, 1399376353, 1399376352, 1399376355, 1399376351, 1399376354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85168480873108 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:52:42.218778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_25_3549.jpg', '/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_27_2666.jpg', '/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_31_3561.jpg', '/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_34_2633.jpg', '/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_36_2569.jpg', '/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_40_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_25_3549.jpg
/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_27_2666.jpg
/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_31_3561.jpg
/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_34_2633.jpg
/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_36_2569.jpg
/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_40_3641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399376371","1399376365","1399376373","1399376367","1399376361","1399376369"],"photo_ids_order":["1399376361","1399376365","1399376367","1399376369","1399376371","1399376373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d7b031780689341c392e04cc34834d0.jpg","text":"TemporaryFile(/tmp/multipartBody5171017739794785188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738422972,"filename":"image_04112025_14_35_36_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/04233ba9171e0cc54c5959cb744048a1.jpg","text":"TemporaryFile(/tmp/multipartBody5052124077540366856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738422972,"filename":"image_04112025_14_35_27_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9b9aaa4319263fdc819ac15bcbdc3336.jpg","text":"TemporaryFile(/tmp/multipartBody26484280529720611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738422972,"filename":"image_04112025_14_35_40_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d8491df100176e530540c8f0926d4cd.jpg","text":"TemporaryFile(/tmp/multipartBody1413548322004784003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738422972,"filename":"image_04112025_14_35_31_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b74f458a2db8f4e9fcc2ce22024ae362.jpg","text":"TemporaryFile(/tmp/multipartBody7192539871840674218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738422972,"filename":"image_04112025_14_35_25_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e9790166840d74f5d6a50a593dcf809.jpg","text":"TemporaryFile(/tmp/multipartBody5659451745069109447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738422972,"filename":"image_04112025_14_35_34_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376367","file1":"1399376365","file0":"1399376361","file4":"1399376371","file5":"1399376373","file3":"1399376369"},"map_files_photo_id_array":[{"photo_id":"1399376373","filename":"file5"},{"photo_id":"1399376367","filename":"file2"},{"photo_id":"1399376371","filename":"file4"},{"photo_id":"1399376365","filename":"file1"},{"photo_id":"1399376361","filename":"file0"},{"photo_id":"1399376369","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399376371":["hashtag1","hashtag2"]},{"1399376365":["hashtag1","hashtag2"]},{"1399376373":["hashtag1","hashtag2"]},{"1399376367":["hashtag1","hashtag2"]},{"1399376361":["hashtag1","hashtag2"]},{"1399376369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399376371, 1399376365, 1399376373, 1399376367, 1399376361, 1399376369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.616246700286865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:53:22.569306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/45/image_14122025_19_45_44_9680.jpg', '/home/pi/Desktop/images/14122025/19/45/image_14122025_19_45_54_9843.jpg', '/home/pi/Desktop/images/14122025/19/45/image_14122025_19_46_03_9661.jpg', '/home/pi/Desktop/images/14122025/19/46/image_14122025_19_46_14_10626.jpg', '/home/pi/Desktop/images/14122025/19/46/image_14122025_19_46_24_9886.jpg', '/home/pi/Desktop/images/14122025/19/46/image_14122025_19_46_34_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/45/image_14122025_19_45_44_9680.jpg
/home/pi/Desktop/images/14122025/19/45/image_14122025_19_45_54_9843.jpg
/home/pi/Desktop/images/14122025/19/45/image_14122025_19_46_03_9661.jpg
/home/pi/Desktop/images/14122025/19/46/image_14122025_19_46_14_10626.jpg
/home/pi/Desktop/images/14122025/19/46/image_14122025_19_46_24_9886.jpg
/home/pi/Desktop/images/14122025/19/46/image_14122025_19_46_34_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399376374","1399376377","1399376379","1399376381","1399376384","1399376375"],"photo_ids_order":["1399376374","1399376375","1399376377","1399376379","1399376381","1399376384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ebe2886408b0be11fd7815ede7d096d.jpg","text":"TemporaryFile(/tmp/multipartBody1361250354416683443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738463188,"filename":"image_14122025_19_45_44_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2530214e5ee1db27aa73a27db35679f0.jpg","text":"TemporaryFile(/tmp/multipartBody9213619405612868920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738463188,"filename":"image_14122025_19_46_03_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/327474404b1696572399fab4ac0d5990.jpg","text":"TemporaryFile(/tmp/multipartBody5314489191536655475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738463188,"filename":"image_14122025_19_46_14_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a5cc5ab331e7a564bfc53424a63cbc79.jpg","text":"TemporaryFile(/tmp/multipartBody3723231646472206531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738463188,"filename":"image_14122025_19_46_24_9886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ab5521222053297b1f595a3c9b4d0a4.jpg","text":"TemporaryFile(/tmp/multipartBody9100646054900264067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738463188,"filename":"image_14122025_19_46_34_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c239fa50666ec4837c218f6fefdbed95.jpg","text":"TemporaryFile(/tmp/multipartBody3637385493370261350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738463188,"filename":"image_14122025_19_45_54_9843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376377","file1":"1399376375","file0":"1399376374","file4":"1399376381","file5":"1399376384","file3":"1399376379"},"map_files_photo_id_array":[{"photo_id":"1399376384","filename":"file5"},{"photo_id":"1399376377","filename":"file2"},{"photo_id":"1399376381","filename":"file4"},{"photo_id":"1399376375","filename":"file1"},{"photo_id":"1399376374","filename":"file0"},{"photo_id":"1399376379","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376374":["hashtag1","hashtag2"]},{"1399376377":["hashtag1","hashtag2"]},{"1399376379":["hashtag1","hashtag2"]},{"1399376381":["hashtag1","hashtag2"]},{"1399376384":["hashtag1","hashtag2"]},{"1399376375":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376374, 1399376377, 1399376379, 1399376381, 1399376384, 1399376375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60012912750244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:54:03.456172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/46/image_14122025_19_46_54_9675.jpg', '/home/pi/Desktop/images/14122025/19/46/image_14122025_19_47_04_9663.jpg', '/home/pi/Desktop/images/14122025/19/47/image_14122025_19_47_14_10608.jpg', '/home/pi/Desktop/images/14122025/19/47/image_14122025_19_47_24_9773.jpg', '/home/pi/Desktop/images/14122025/19/47/image_14122025_19_47_34_9623.jpg', '/home/pi/Desktop/images/14122025/19/47/image_14122025_19_47_43_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/46/image_14122025_19_46_54_9675.jpg
/home/pi/Desktop/images/14122025/19/46/image_14122025_19_47_04_9663.jpg
/home/pi/Desktop/images/14122025/19/47/image_14122025_19_47_14_10608.jpg
/home/pi/Desktop/images/14122025/19/47/image_14122025_19_47_24_9773.jpg
/home/pi/Desktop/images/14122025/19/47/image_14122025_19_47_34_9623.jpg
/home/pi/Desktop/images/14122025/19/47/image_14122025_19_47_43_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":["1399376398","1399376394","1399376396","1399376400","1399376390","1399376402"],"photo_ids_order":["1399376390","1399376394","1399376396","1399376398","1399376400","1399376402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/298e5928a13c38108e76870967e81742.jpg","text":"TemporaryFile(/tmp/multipartBody3109692847956678050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738504134,"filename":"image_14122025_19_47_24_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a9347aced4ede66f88e31f258436210c.jpg","text":"TemporaryFile(/tmp/multipartBody7117420106126961378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738504134,"filename":"image_14122025_19_47_04_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/502ac92c81c6651776873246f890a3b4.jpg","text":"TemporaryFile(/tmp/multipartBody3742009269669059815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738504134,"filename":"image_14122025_19_47_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/12/14/f8fc450414de863e825cf31b1c6d9eb8.jpg","text":"TemporaryFile(/tmp/multipartBody4926925798006570098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738504134,"filename":"image_14122025_19_47_34_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/30da62c1a503161744294172665900bf.jpg","text":"TemporaryFile(/tmp/multipartBody4854979069376563006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738504134,"filename":"image_14122025_19_46_54_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4713cd17434bb2ea1d6124094898e269.jpg","text":"TemporaryFile(/tmp/multipartBody8168877616666440148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738504134,"filename":"image_14122025_19_47_43_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376396","file1":"1399376394","file0":"1399376390","file4":"1399376400","file5":"1399376402","file3":"1399376398"},"map_files_photo_id_array":[{"photo_id":"1399376402","filename":"file5"},{"photo_id":"1399376396","filename":"file2"},{"photo_id":"1399376400","filename":"file4"},{"photo_id":"1399376394","filename":"file1"},{"photo_id":"1399376390","filename":"file0"},{"photo_id":"1399376398","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376398":["hashtag1","hashtag2"]},{"1399376394":["hashtag1","hashtag2"]},{"1399376396":["hashtag1","hashtag2"]},{"1399376400":["hashtag1","hashtag2"]},{"1399376390":["hashtag1","hashtag2"]},{"1399376402":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376398, 1399376394, 1399376396, 1399376400, 1399376390, 1399376402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09815788269043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:54:42.757680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_42_2702.jpg', '/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_46_3528.jpg', '/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_49_2693.jpg', '/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_51_2692.jpg', '/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_55_3651.jpg', '/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_04_8722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_42_2702.jpg
/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_46_3528.jpg
/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_49_2693.jpg
/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_51_2692.jpg
/home/pi/Desktop/images/04112025/14/35/image_04112025_14_35_55_3651.jpg
/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_04_8722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399376410","1399376404","1399376412","1399376406","1399376414","1399376408"],"photo_ids_order":["1399376404","1399376406","1399376408","1399376410","1399376412","1399376414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c481d63237d16c2260e7035af92d1dc8.jpg","text":"TemporaryFile(/tmp/multipartBody107740729061079748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738543504,"filename":"image_04112025_14_35_51_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/31077c82f40e0b49ff45b8202b777eab.jpg","text":"TemporaryFile(/tmp/multipartBody7531631956667162352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738543504,"filename":"image_04112025_14_35_42_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3d9153db0366e3524357691fcde4a8c.jpg","text":"TemporaryFile(/tmp/multipartBody8857405341811580967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738543504,"filename":"image_04112025_14_35_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/12/14/5342dcbec43ff8225a6ad67e222dd519.jpg","text":"TemporaryFile(/tmp/multipartBody408898200054336530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738543504,"filename":"image_04112025_14_35_46_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/39c3ad582a1b6d9e11e747bc76758a36.jpg","text":"TemporaryFile(/tmp/multipartBody4550562406244404122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738543504,"filename":"image_04112025_14_36_04_8722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/62a679b7a2b79ad842eddf22e71fadc0.jpg","text":"TemporaryFile(/tmp/multipartBody4180096207941087680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738543504,"filename":"image_04112025_14_35_49_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376408","file1":"1399376406","file0":"1399376404","file4":"1399376412","file5":"1399376414","file3":"1399376410"},"map_files_photo_id_array":[{"photo_id":"1399376414","filename":"file5"},{"photo_id":"1399376408","filename":"file2"},{"photo_id":"1399376412","filename":"file4"},{"photo_id":"1399376406","filename":"file1"},{"photo_id":"1399376404","filename":"file0"},{"photo_id":"1399376410","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399376410":["hashtag1","hashtag2"]},{"1399376404":["hashtag1","hashtag2"]},{"1399376412":["hashtag1","hashtag2"]},{"1399376406":["hashtag1","hashtag2"]},{"1399376414":["hashtag1","hashtag2"]},{"1399376408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399376410, 1399376404, 1399376412, 1399376406, 1399376414, 1399376408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02914357185364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:55:22.006997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/47/image_14122025_19_47_54_10750.jpg', '/home/pi/Desktop/images/14122025/19/47/image_14122025_19_48_04_9790.jpg', '/home/pi/Desktop/images/14122025/19/48/image_14122025_19_48_14_9741.jpg', '/home/pi/Desktop/images/14122025/19/48/image_14122025_19_48_23_9829.jpg', '/home/pi/Desktop/images/14122025/19/48/image_14122025_19_48_34_10732.jpg', '/home/pi/Desktop/images/14122025/19/48/image_14122025_19_48_44_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/47/image_14122025_19_47_54_10750.jpg
/home/pi/Desktop/images/14122025/19/47/image_14122025_19_48_04_9790.jpg
/home/pi/Desktop/images/14122025/19/48/image_14122025_19_48_14_9741.jpg
/home/pi/Desktop/images/14122025/19/48/image_14122025_19_48_23_9829.jpg
/home/pi/Desktop/images/14122025/19/48/image_14122025_19_48_34_10732.jpg
/home/pi/Desktop/images/14122025/19/48/image_14122025_19_48_44_9767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399376416","1399376421","1399376424","1399376418","1399376426","1399376423"],"photo_ids_order":["1399376416","1399376418","1399376421","1399376423","1399376424","1399376426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6af2d739205e795542773cdf1da47262.jpg","text":"TemporaryFile(/tmp/multipartBody3825260241475667892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738582595,"filename":"image_14122025_19_47_54_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f5dc3f955a97aa1fa30a67765d7e17c.jpg","text":"TemporaryFile(/tmp/multipartBody4972866206324938464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738582595,"filename":"image_14122025_19_48_14_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f7913ed45b4756c5666effe3b3045c3f.jpg","text":"TemporaryFile(/tmp/multipartBody1983127275797561853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738582595,"filename":"image_14122025_19_48_34_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/beef3a90418d5ca46ce0d3f569af755d.jpg","text":"TemporaryFile(/tmp/multipartBody625562882028749418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738582595,"filename":"image_14122025_19_48_04_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/843c90bf345fe92f270c685987a7ad46.jpg","text":"TemporaryFile(/tmp/multipartBody1274906969878703857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738582595,"filename":"image_14122025_19_48_44_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eca585b2a2f0ee1eb94bb9309eae8059.jpg","text":"TemporaryFile(/tmp/multipartBody1756832079658946770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738582595,"filename":"image_14122025_19_48_23_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376421","file1":"1399376418","file0":"1399376416","file4":"1399376424","file5":"1399376426","file3":"1399376423"},"map_files_photo_id_array":[{"photo_id":"1399376426","filename":"file5"},{"photo_id":"1399376421","filename":"file2"},{"photo_id":"1399376424","filename":"file4"},{"photo_id":"1399376418","filename":"file1"},{"photo_id":"1399376416","filename":"file0"},{"photo_id":"1399376423","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376416":["hashtag1","hashtag2"]},{"1399376421":["hashtag1","hashtag2"]},{"1399376424":["hashtag1","hashtag2"]},{"1399376418":["hashtag1","hashtag2"]},{"1399376426":["hashtag1","hashtag2"]},{"1399376423":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376416, 1399376421, 1399376424, 1399376418, 1399376426, 1399376423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61320686340332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:56:02.650405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/48/image_14122025_19_49_03_9740.jpg', '/home/pi/Desktop/images/14122025/19/49/image_14122025_19_49_24_9657.jpg', '/home/pi/Desktop/images/14122025/19/49/image_14122025_19_49_34_9858.jpg', '/home/pi/Desktop/images/14122025/19/49/image_14122025_19_49_43_9636.jpg', '/home/pi/Desktop/images/14122025/19/49/image_14122025_19_49_54_10756.jpg', '/home/pi/Desktop/images/14122025/19/49/image_14122025_19_50_04_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/48/image_14122025_19_49_03_9740.jpg
/home/pi/Desktop/images/14122025/19/49/image_14122025_19_49_24_9657.jpg
/home/pi/Desktop/images/14122025/19/49/image_14122025_19_49_34_9858.jpg
/home/pi/Desktop/images/14122025/19/49/image_14122025_19_49_43_9636.jpg
/home/pi/Desktop/images/14122025/19/49/image_14122025_19_49_54_10756.jpg
/home/pi/Desktop/images/14122025/19/49/image_14122025_19_50_04_9621.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5187227725982666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 19:56:12.113943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:56:22.203373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/48/image_14122025_19_49_03_9740.jpg', '/home/pi/Desktop/images/14122025/19/49/image_14122025_19_49_24_9657.jpg', '/home/pi/Desktop/images/14122025/19/49/image_14122025_19_49_34_9858.jpg', '/home/pi/Desktop/images/14122025/19/49/image_14122025_19_49_43_9636.jpg', '/home/pi/Desktop/images/14122025/19/49/image_14122025_19_49_54_10756.jpg', '/home/pi/Desktop/images/14122025/19/49/image_14122025_19_50_04_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/48/image_14122025_19_49_03_9740.jpg
/home/pi/Desktop/images/14122025/19/49/image_14122025_19_49_24_9657.jpg
/home/pi/Desktop/images/14122025/19/49/image_14122025_19_49_34_9858.jpg
/home/pi/Desktop/images/14122025/19/49/image_14122025_19_49_43_9636.jpg
/home/pi/Desktop/images/14122025/19/49/image_14122025_19_49_54_10756.jpg
/home/pi/Desktop/images/14122025/19/49/image_14122025_19_50_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":["1399376434","1399376439","1399376444","1399376438","1399376441","1399376435"],"photo_ids_order":["1399376434","1399376435","1399376438","1399376439","1399376441","1399376444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef61825b3db6b6c43486aa287d4050c3.jpg","text":"TemporaryFile(/tmp/multipartBody1914512652485242781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738642832,"filename":"image_14122025_19_49_03_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7368e13794fecafab5f77cd7c72b4537.jpg","text":"TemporaryFile(/tmp/multipartBody6854368181097467076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738642832,"filename":"image_14122025_19_49_43_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7997e7a19478f324c9db8b55f488700a.jpg","text":"TemporaryFile(/tmp/multipartBody4995191453975972259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738642832,"filename":"image_14122025_19_50_04_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/369beb3a23289182b0d40f92426d5fee.jpg","text":"TemporaryFile(/tmp/multipartBody2881812461186535004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738642832,"filename":"image_14122025_19_49_34_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cfd2ca42c2e21011971a2378518efb4b.jpg","text":"TemporaryFile(/tmp/multipartBody8884084632156143698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738642832,"filename":"image_14122025_19_49_54_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76ab98e609d3d34e4792d150e02d4183.jpg","text":"TemporaryFile(/tmp/multipartBody208928250723426162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738642832,"filename":"image_14122025_19_49_24_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376438","file1":"1399376435","file0":"1399376434","file4":"1399376441","file5":"1399376444","file3":"1399376439"},"map_files_photo_id_array":[{"photo_id":"1399376444","filename":"file5"},{"photo_id":"1399376438","filename":"file2"},{"photo_id":"1399376441","filename":"file4"},{"photo_id":"1399376435","filename":"file1"},{"photo_id":"1399376434","filename":"file0"},{"photo_id":"1399376439","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376434":["hashtag1","hashtag2"]},{"1399376439":["hashtag1","hashtag2"]},{"1399376444":["hashtag1","hashtag2"]},{"1399376438":["hashtag1","hashtag2"]},{"1399376441":["hashtag1","hashtag2"]},{"1399376435":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376434, 1399376439, 1399376444, 1399376438, 1399376441, 1399376435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84809637069702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:57:03.150980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/50/image_14122025_19_50_23_9772.jpg', '/home/pi/Desktop/images/14122025/19/50/image_14122025_19_50_34_10652.jpg', '/home/pi/Desktop/images/14122025/19/50/image_14122025_19_50_44_9656.jpg', '/home/pi/Desktop/images/14122025/19/50/image_14122025_19_50_54_10526.jpg', '/home/pi/Desktop/images/14122025/19/50/image_14122025_19_51_04_9629.jpg', '/home/pi/Desktop/images/14122025/19/51/image_14122025_19_51_13_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/50/image_14122025_19_50_23_9772.jpg
/home/pi/Desktop/images/14122025/19/50/image_14122025_19_50_34_10652.jpg
/home/pi/Desktop/images/14122025/19/50/image_14122025_19_50_44_9656.jpg
/home/pi/Desktop/images/14122025/19/50/image_14122025_19_50_54_10526.jpg
/home/pi/Desktop/images/14122025/19/50/image_14122025_19_51_04_9629.jpg
/home/pi/Desktop/images/14122025/19/51/image_14122025_19_51_13_9674.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5328671932220459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 19:57:12.502516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 19:57:24.803441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/50/image_14122025_19_50_23_9772.jpg', '/home/pi/Desktop/images/14122025/19/50/image_14122025_19_50_34_10652.jpg', '/home/pi/Desktop/images/14122025/19/50/image_14122025_19_50_44_9656.jpg', '/home/pi/Desktop/images/14122025/19/50/image_14122025_19_50_54_10526.jpg', '/home/pi/Desktop/images/14122025/19/50/image_14122025_19_51_04_9629.jpg', '/home/pi/Desktop/images/14122025/19/51/image_14122025_19_51_13_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/50/image_14122025_19_50_23_9772.jpg
/home/pi/Desktop/images/14122025/19/50/image_14122025_19_50_34_10652.jpg
/home/pi/Desktop/images/14122025/19/50/image_14122025_19_50_44_9656.jpg
/home/pi/Desktop/images/14122025/19/50/image_14122025_19_50_54_10526.jpg
/home/pi/Desktop/images/14122025/19/50/image_14122025_19_51_04_9629.jpg
/home/pi/Desktop/images/14122025/19/51/image_14122025_19_51_13_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":["1399376461","1399376458","1399376454","1399376463","1399376456","1399376453"],"photo_ids_order":["1399376453","1399376454","1399376456","1399376458","1399376461","1399376463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ec420f713ae3e55aa2a5abb7910a2ab3.jpg","text":"TemporaryFile(/tmp/multipartBody7411574878033830895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738707790,"filename":"image_14122025_19_51_04_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d715fb48fbc0806fc6ae90995d2e12b7.jpg","text":"TemporaryFile(/tmp/multipartBody1563342248691994348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738707790,"filename":"image_14122025_19_50_54_10526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e9ad4827288cd4c0b29444a9e7e6367a.jpg","text":"TemporaryFile(/tmp/multipartBody5595217008521853347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738707790,"filename":"image_14122025_19_50_34_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd936babea21b5f705803f72341bedbf.jpg","text":"TemporaryFile(/tmp/multipartBody961088559344488489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738707790,"filename":"image_14122025_19_51_13_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9286e1e00b850edb9abf4c8913c37e4b.jpg","text":"TemporaryFile(/tmp/multipartBody9084223579235934676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738707790,"filename":"image_14122025_19_50_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5b52c8183bf7d4bd4d0743a2e852e0d9.jpg","text":"TemporaryFile(/tmp/multipartBody4375164223364194128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738707790,"filename":"image_14122025_19_50_23_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376456","file1":"1399376454","file0":"1399376453","file4":"1399376461","file5":"1399376463","file3":"1399376458"},"map_files_photo_id_array":[{"photo_id":"1399376463","filename":"file5"},{"photo_id":"1399376456","filename":"file2"},{"photo_id":"1399376461","filename":"file4"},{"photo_id":"1399376454","filename":"file1"},{"photo_id":"1399376453","filename":"file0"},{"photo_id":"1399376458","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376461":["hashtag1","hashtag2"]},{"1399376458":["hashtag1","hashtag2"]},{"1399376454":["hashtag1","hashtag2"]},{"1399376463":["hashtag1","hashtag2"]},{"1399376456":["hashtag1","hashtag2"]},{"1399376453":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376461, 1399376458, 1399376454, 1399376463, 1399376456, 1399376453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36183714866638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 19:59:03.553527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/51/image_14122025_19_51_24_10557.jpg', '/home/pi/Desktop/images/14122025/19/51/image_14122025_19_51_34_10276.jpg', '/home/pi/Desktop/images/14122025/19/51/image_14122025_19_51_44_9663.jpg', '/home/pi/Desktop/images/14122025/19/51/image_14122025_19_51_54_9699.jpg', '/home/pi/Desktop/images/14122025/19/51/image_14122025_19_52_03_9656.jpg', '/home/pi/Desktop/images/14122025/19/52/image_14122025_19_52_14_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/51/image_14122025_19_51_24_10557.jpg
/home/pi/Desktop/images/14122025/19/51/image_14122025_19_51_34_10276.jpg
/home/pi/Desktop/images/14122025/19/51/image_14122025_19_51_44_9663.jpg
/home/pi/Desktop/images/14122025/19/51/image_14122025_19_51_54_9699.jpg
/home/pi/Desktop/images/14122025/19/51/image_14122025_19_52_03_9656.jpg
/home/pi/Desktop/images/14122025/19/52/image_14122025_19_52_14_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399376710","1399376781","1399376925","1399376852","1399376992","1399377064"],"photo_ids_order":["1399376710","1399376781","1399376852","1399376925","1399376992","1399377064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8494742b9490fa9ad35e736571657be9.jpg","text":"TemporaryFile(/tmp/multipartBody1462701123719611096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738804260,"filename":"image_14122025_19_51_24_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51c4537473bef7ad7e5dfe41456e1773.jpg","text":"TemporaryFile(/tmp/multipartBody7913367323855942012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738804260,"filename":"image_14122025_19_51_34_10276.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19ad13b9eac68fde664a38a9a82eb0a8.jpg","text":"TemporaryFile(/tmp/multipartBody2096501091557081764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738804260,"filename":"image_14122025_19_51_54_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f83c73eed02cb257aa6b942e6dc012e6.jpg","text":"TemporaryFile(/tmp/multipartBody8876631662922781953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738804260,"filename":"image_14122025_19_51_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ded2efafd80eb7f2427353e1c42bd11f.jpg","text":"TemporaryFile(/tmp/multipartBody6748204945098359289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738804260,"filename":"image_14122025_19_52_03_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/65ad43ac214849404f4bdfb97bf6f111.jpg","text":"TemporaryFile(/tmp/multipartBody4726550274649589696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738804260,"filename":"image_14122025_19_52_14_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399376852","file1":"1399376781","file0":"1399376710","file4":"1399376992","file5":"1399377064","file3":"1399376925"},"map_files_photo_id_array":[{"photo_id":"1399377064","filename":"file5"},{"photo_id":"1399376852","filename":"file2"},{"photo_id":"1399376992","filename":"file4"},{"photo_id":"1399376781","filename":"file1"},{"photo_id":"1399376710","filename":"file0"},{"photo_id":"1399376925","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399376710":["hashtag1","hashtag2"]},{"1399376781":["hashtag1","hashtag2"]},{"1399376925":["hashtag1","hashtag2"]},{"1399376852":["hashtag1","hashtag2"]},{"1399376992":["hashtag1","hashtag2"]},{"1399377064":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399376710, 1399376781, 1399376925, 1399376852, 1399376992, 1399377064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.114007234573364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 19:59:42.762110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_15_11657.jpg', '/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_17_1683.jpg', '/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_22_4634.jpg', '/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_23_1658.jpg', '/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_25_1629.jpg', '/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_27_1763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_15_11657.jpg
/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_17_1683.jpg
/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_22_4634.jpg
/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_23_1658.jpg
/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_25_1629.jpg
/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_27_1763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399377322","1399377238","1399377346","1399377301","1399377290","1399377254"],"photo_ids_order":["1399377238","1399377254","1399377290","1399377301","1399377322","1399377346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/412ea872e0bcf13730122743dd0a7e70.jpg","text":"TemporaryFile(/tmp/multipartBody2387539958368900520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738843480,"filename":"image_04112025_14_36_25_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe3aabb5244079e67b34045ee00078dc.jpg","text":"TemporaryFile(/tmp/multipartBody7580167157039783231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738843480,"filename":"image_04112025_14_36_15_11657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f4ded4b625ae354b1c3d5dd10b1b5d1.jpg","text":"TemporaryFile(/tmp/multipartBody2585709927373862069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738843480,"filename":"image_04112025_14_36_27_1763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7689333e3bfa2a66ff149e80db8bad1b.jpg","text":"TemporaryFile(/tmp/multipartBody3668029462296635674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738843480,"filename":"image_04112025_14_36_23_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3cf6ad7d8ae786272f107797d90d8485.jpg","text":"TemporaryFile(/tmp/multipartBody4554062489722747985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738843480,"filename":"image_04112025_14_36_22_4634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cfa861d5845494e436cc7f38185b7c80.jpg","text":"TemporaryFile(/tmp/multipartBody4412761837338729415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738843480,"filename":"image_04112025_14_36_17_1683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399377290","file1":"1399377254","file0":"1399377238","file4":"1399377322","file5":"1399377346","file3":"1399377301"},"map_files_photo_id_array":[{"photo_id":"1399377346","filename":"file5"},{"photo_id":"1399377290","filename":"file2"},{"photo_id":"1399377322","filename":"file4"},{"photo_id":"1399377254","filename":"file1"},{"photo_id":"1399377238","filename":"file0"},{"photo_id":"1399377301","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399377322":["hashtag1","hashtag2"]},{"1399377238":["hashtag1","hashtag2"]},{"1399377346":["hashtag1","hashtag2"]},{"1399377301":["hashtag1","hashtag2"]},{"1399377290":["hashtag1","hashtag2"]},{"1399377254":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399377322, 1399377238, 1399377346, 1399377301, 1399377290, 1399377254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.264997720718384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:00:21.999489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/52/image_14122025_19_52_24_9790.jpg', '/home/pi/Desktop/images/14122025/19/52/image_14122025_19_52_34_9758.jpg', '/home/pi/Desktop/images/14122025/19/52/image_14122025_19_52_44_10730.jpg', '/home/pi/Desktop/images/14122025/19/52/image_14122025_19_52_54_9649.jpg', '/home/pi/Desktop/images/14122025/19/52/image_14122025_19_53_04_9667.jpg', '/home/pi/Desktop/images/14122025/19/53/image_14122025_19_53_13_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/52/image_14122025_19_52_24_9790.jpg
/home/pi/Desktop/images/14122025/19/52/image_14122025_19_52_34_9758.jpg
/home/pi/Desktop/images/14122025/19/52/image_14122025_19_52_44_10730.jpg
/home/pi/Desktop/images/14122025/19/52/image_14122025_19_52_54_9649.jpg
/home/pi/Desktop/images/14122025/19/52/image_14122025_19_53_04_9667.jpg
/home/pi/Desktop/images/14122025/19/53/image_14122025_19_53_13_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":["1399377514","1399377721","1399377577","1399377478","1399377679","1399377625"],"photo_ids_order":["1399377478","1399377514","1399377577","1399377625","1399377679","1399377721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/faf61246487fa344a95a56910e5a0f05.jpg","text":"TemporaryFile(/tmp/multipartBody9204190129702944597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738882645,"filename":"image_14122025_19_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/12/14/add051f6861f3c2227d6748729179e60.jpg","text":"TemporaryFile(/tmp/multipartBody5286323165034326803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738882645,"filename":"image_14122025_19_53_13_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0880d2d32a508681d19c6a860b1dac8e.jpg","text":"TemporaryFile(/tmp/multipartBody8820549222834030725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738882645,"filename":"image_14122025_19_52_44_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36a28ed267e84ef8515ae9f0f7a1323e.jpg","text":"TemporaryFile(/tmp/multipartBody6455410601397346894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738882645,"filename":"image_14122025_19_52_24_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e1ad5b31c7718005b71c64ed7642f0b2.jpg","text":"TemporaryFile(/tmp/multipartBody7736487024694591734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738882645,"filename":"image_14122025_19_53_04_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ff340222f46fa1fa6f60242ccf404842.jpg","text":"TemporaryFile(/tmp/multipartBody2759949184136893286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738882645,"filename":"image_14122025_19_52_54_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399377577","file1":"1399377514","file0":"1399377478","file4":"1399377679","file5":"1399377721","file3":"1399377625"},"map_files_photo_id_array":[{"photo_id":"1399377721","filename":"file5"},{"photo_id":"1399377577","filename":"file2"},{"photo_id":"1399377679","filename":"file4"},{"photo_id":"1399377514","filename":"file1"},{"photo_id":"1399377478","filename":"file0"},{"photo_id":"1399377625","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399377514":["hashtag1","hashtag2"]},{"1399377721":["hashtag1","hashtag2"]},{"1399377577":["hashtag1","hashtag2"]},{"1399377478":["hashtag1","hashtag2"]},{"1399377679":["hashtag1","hashtag2"]},{"1399377625":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399377514, 1399377721, 1399377577, 1399377478, 1399377679, 1399377625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8964159488678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:01:10.326103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 20:01:17.436276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:01:27.369391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/53/image_14122025_19_53_24_10594.jpg', '/home/pi/Desktop/images/14122025/19/53/image_14122025_19_53_34_9664.jpg', '/home/pi/Desktop/images/14122025/19/53/image_14122025_19_53_43_9797.jpg', '/home/pi/Desktop/images/14122025/19/53/image_14122025_19_53_54_10862.jpg', '/home/pi/Desktop/images/14122025/19/53/image_14122025_19_54_04_9648.jpg', '/home/pi/Desktop/images/14122025/19/54/image_14122025_19_54_14_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/53/image_14122025_19_53_24_10594.jpg
/home/pi/Desktop/images/14122025/19/53/image_14122025_19_53_34_9664.jpg
/home/pi/Desktop/images/14122025/19/53/image_14122025_19_53_43_9797.jpg
/home/pi/Desktop/images/14122025/19/53/image_14122025_19_53_54_10862.jpg
/home/pi/Desktop/images/14122025/19/53/image_14122025_19_54_04_9648.jpg
/home/pi/Desktop/images/14122025/19/54/image_14122025_19_54_14_9740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399378227","1399378193","1399378046","1399378121","1399378156","1399378080"],"photo_ids_order":["1399378046","1399378080","1399378121","1399378156","1399378193","1399378227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1a012aaa5a755c591bb9aaa4687c4edc.jpg","text":"TemporaryFile(/tmp/multipartBody2594580961733530957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738947924,"filename":"image_14122025_19_54_14_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c8743a4e73214f41f99601a7aedbf015.jpg","text":"TemporaryFile(/tmp/multipartBody4576199645325009731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738947924,"filename":"image_14122025_19_54_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7e97a719a1ee83dae05e84c8b21fdd2f.jpg","text":"TemporaryFile(/tmp/multipartBody4619874645131169736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738947924,"filename":"image_14122025_19_53_24_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a987a11662af3e67037fa8eef5f2fc9e.jpg","text":"TemporaryFile(/tmp/multipartBody6648366886886934448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738947924,"filename":"image_14122025_19_53_43_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b3397e94c89161bf0d91e50f83c06f1.jpg","text":"TemporaryFile(/tmp/multipartBody5483391691482294558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738947924,"filename":"image_14122025_19_53_54_10862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/05e27e005be4c8389dd24b98cb71cf1f.jpg","text":"TemporaryFile(/tmp/multipartBody1503490364007097890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765738947924,"filename":"image_14122025_19_53_34_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399378121","file1":"1399378080","file0":"1399378046","file4":"1399378193","file5":"1399378227","file3":"1399378156"},"map_files_photo_id_array":[{"photo_id":"1399378227","filename":"file5"},{"photo_id":"1399378121","filename":"file2"},{"photo_id":"1399378193","filename":"file4"},{"photo_id":"1399378080","filename":"file1"},{"photo_id":"1399378046","filename":"file0"},{"photo_id":"1399378156","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399378227":["hashtag1","hashtag2"]},{"1399378193":["hashtag1","hashtag2"]},{"1399378046":["hashtag1","hashtag2"]},{"1399378121":["hashtag1","hashtag2"]},{"1399378156":["hashtag1","hashtag2"]},{"1399378080":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399378227, 1399378193, 1399378046, 1399378121, 1399378156, 1399378080)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.236581325531006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:02:22.600731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/54/image_14122025_19_54_23_9794.jpg', '/home/pi/Desktop/images/14122025/19/54/image_14122025_19_54_44_9636.jpg', '/home/pi/Desktop/images/14122025/19/54/image_14122025_19_54_53_9572.jpg', '/home/pi/Desktop/images/14122025/19/54/image_14122025_19_55_04_10928.jpg', '/home/pi/Desktop/images/14122025/19/55/image_14122025_19_55_14_9703.jpg', '/home/pi/Desktop/images/14122025/19/55/image_14122025_19_55_24_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/54/image_14122025_19_54_23_9794.jpg
/home/pi/Desktop/images/14122025/19/54/image_14122025_19_54_44_9636.jpg
/home/pi/Desktop/images/14122025/19/54/image_14122025_19_54_53_9572.jpg
/home/pi/Desktop/images/14122025/19/54/image_14122025_19_55_04_10928.jpg
/home/pi/Desktop/images/14122025/19/55/image_14122025_19_55_14_9703.jpg
/home/pi/Desktop/images/14122025/19/55/image_14122025_19_55_24_9750.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4478178024291992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 20:02:32.755794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:02:42.737365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_28_1568.jpg', '/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_30_1743.jpg', '/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_32_1536.jpg', '/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_33_1593.jpg', '/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_35_1586.jpg', '/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_36_1573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_28_1568.jpg
/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_30_1743.jpg
/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_32_1536.jpg
/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_33_1593.jpg
/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_35_1586.jpg
/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_36_1573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399378581","1399378580","1399378582","1399378576","1399378579","1399378578"],"photo_ids_order":["1399378576","1399378578","1399378579","1399378580","1399378581","1399378582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/baed9c03d85dd5a1330dfa5b97ea3bd7.jpg","text":"TemporaryFile(/tmp/multipartBody8568575592072488162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739023506,"filename":"image_04112025_14_36_35_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/138809e840c54b5108b87f4bfb40ae37.jpg","text":"TemporaryFile(/tmp/multipartBody5297767148589921173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739023506,"filename":"image_04112025_14_36_33_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e99534e7986cdb509f396ebd004e074.jpg","text":"TemporaryFile(/tmp/multipartBody625606418359807821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739023506,"filename":"image_04112025_14_36_36_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/18531632a435757821b2897d0a98dfa9.jpg","text":"TemporaryFile(/tmp/multipartBody604744698864106664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739023506,"filename":"image_04112025_14_36_28_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/710b0e2b8fb86e1b0401f11480a78c91.jpg","text":"TemporaryFile(/tmp/multipartBody7495955339333091295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739023506,"filename":"image_04112025_14_36_32_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba9c02e70b0ec7cabc26293444c236e1.jpg","text":"TemporaryFile(/tmp/multipartBody3650934745911208471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739023506,"filename":"image_04112025_14_36_30_1743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399378579","file1":"1399378578","file0":"1399378576","file4":"1399378581","file5":"1399378582","file3":"1399378580"},"map_files_photo_id_array":[{"photo_id":"1399378582","filename":"file5"},{"photo_id":"1399378579","filename":"file2"},{"photo_id":"1399378581","filename":"file4"},{"photo_id":"1399378578","filename":"file1"},{"photo_id":"1399378576","filename":"file0"},{"photo_id":"1399378580","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399378581":["hashtag1","hashtag2"]},{"1399378580":["hashtag1","hashtag2"]},{"1399378582":["hashtag1","hashtag2"]},{"1399378576":["hashtag1","hashtag2"]},{"1399378579":["hashtag1","hashtag2"]},{"1399378578":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399378581, 1399378580, 1399378582, 1399378576, 1399378579, 1399378578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17541527748108 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:03:23.794640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/54/image_14122025_19_54_23_9794.jpg', '/home/pi/Desktop/images/14122025/19/54/image_14122025_19_54_44_9636.jpg', '/home/pi/Desktop/images/14122025/19/54/image_14122025_19_54_53_9572.jpg', '/home/pi/Desktop/images/14122025/19/54/image_14122025_19_55_04_10928.jpg', '/home/pi/Desktop/images/14122025/19/55/image_14122025_19_55_14_9703.jpg', '/home/pi/Desktop/images/14122025/19/55/image_14122025_19_55_24_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/54/image_14122025_19_54_23_9794.jpg
/home/pi/Desktop/images/14122025/19/54/image_14122025_19_54_44_9636.jpg
/home/pi/Desktop/images/14122025/19/54/image_14122025_19_54_53_9572.jpg
/home/pi/Desktop/images/14122025/19/54/image_14122025_19_55_04_10928.jpg
/home/pi/Desktop/images/14122025/19/55/image_14122025_19_55_14_9703.jpg
/home/pi/Desktop/images/14122025/19/55/image_14122025_19_55_24_9750.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.505441427230835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 20:03:31.917819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:03:41.881815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_38_1758.jpg', '/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_40_1845.jpg', '/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_43_2669.jpg', '/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_45_2552.jpg', '/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_48_2797.jpg', '/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_52_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_38_1758.jpg
/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_40_1845.jpg
/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_43_2669.jpg
/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_45_2552.jpg
/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_48_2797.jpg
/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_52_3675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399378668","1399378629","1399378704","1399378806","1399378772","1399378739"],"photo_ids_order":["1399378629","1399378668","1399378704","1399378739","1399378772","1399378806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/093a935de30562f65c45448ac7f59673.jpg","text":"TemporaryFile(/tmp/multipartBody3291417231527304153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739082592,"filename":"image_04112025_14_36_40_1845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e606e0aefbcc6a31ef20326a5baacbf5.jpg","text":"TemporaryFile(/tmp/multipartBody6267985116338945858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739082592,"filename":"image_04112025_14_36_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/12/14/f71a4cccd0fd411bd664d06ce3c25640.jpg","text":"TemporaryFile(/tmp/multipartBody887403427157481063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739082592,"filename":"image_04112025_14_36_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/12/14/4ed8195c071996edccac034dd9af1bfe.jpg","text":"TemporaryFile(/tmp/multipartBody7223108145504608766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739082592,"filename":"image_04112025_14_36_52_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b343b6754090ffeb2f53a0699fcc6f45.jpg","text":"TemporaryFile(/tmp/multipartBody6087360409531318481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739082592,"filename":"image_04112025_14_36_48_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8e8228ac9ca8329cf8dd26c13ee259e8.jpg","text":"TemporaryFile(/tmp/multipartBody228938567947952346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739082592,"filename":"image_04112025_14_36_45_2552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399378704","file1":"1399378668","file0":"1399378629","file4":"1399378772","file5":"1399378806","file3":"1399378739"},"map_files_photo_id_array":[{"photo_id":"1399378806","filename":"file5"},{"photo_id":"1399378704","filename":"file2"},{"photo_id":"1399378772","filename":"file4"},{"photo_id":"1399378668","filename":"file1"},{"photo_id":"1399378629","filename":"file0"},{"photo_id":"1399378739","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399378668":["hashtag1","hashtag2"]},{"1399378629":["hashtag1","hashtag2"]},{"1399378704":["hashtag1","hashtag2"]},{"1399378806":["hashtag1","hashtag2"]},{"1399378772":["hashtag1","hashtag2"]},{"1399378739":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399378668, 1399378629, 1399378704, 1399378806, 1399378772, 1399378739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33986234664917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:04:22.103568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/54/image_14122025_19_54_23_9794.jpg', '/home/pi/Desktop/images/14122025/19/54/image_14122025_19_54_44_9636.jpg', '/home/pi/Desktop/images/14122025/19/54/image_14122025_19_54_53_9572.jpg', '/home/pi/Desktop/images/14122025/19/54/image_14122025_19_55_04_10928.jpg', '/home/pi/Desktop/images/14122025/19/55/image_14122025_19_55_14_9703.jpg', '/home/pi/Desktop/images/14122025/19/55/image_14122025_19_55_24_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/54/image_14122025_19_54_23_9794.jpg
/home/pi/Desktop/images/14122025/19/54/image_14122025_19_54_44_9636.jpg
/home/pi/Desktop/images/14122025/19/54/image_14122025_19_54_53_9572.jpg
/home/pi/Desktop/images/14122025/19/54/image_14122025_19_55_04_10928.jpg
/home/pi/Desktop/images/14122025/19/55/image_14122025_19_55_14_9703.jpg
/home/pi/Desktop/images/14122025/19/55/image_14122025_19_55_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":["1399378965","1399378920","1399378914","1399378916","1399378930","1399378918"],"photo_ids_order":["1399378914","1399378916","1399378918","1399378920","1399378930","1399378965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d65f5ac38378913aacba472c61815a0a.jpg","text":"TemporaryFile(/tmp/multipartBody7864790790698213531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739122689,"filename":"image_14122025_19_55_24_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e9c7b8f3b619357cb4b7054433df192b.jpg","text":"TemporaryFile(/tmp/multipartBody6444943833021409345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739122689,"filename":"image_14122025_19_55_04_10928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0483bb870d17b0bc8af55eaad8093056.jpg","text":"TemporaryFile(/tmp/multipartBody9023920457548462106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739122689,"filename":"image_14122025_19_54_23_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aeb3083a20e7fa391d9a8ab009dcc7c4.jpg","text":"TemporaryFile(/tmp/multipartBody4582581635100228659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739122689,"filename":"image_14122025_19_54_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ab16f970572cd064167a11b37796018.jpg","text":"TemporaryFile(/tmp/multipartBody3152161838672048153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739122689,"filename":"image_14122025_19_55_14_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f47c4058c46442ca2bd459c58ca71e77.jpg","text":"TemporaryFile(/tmp/multipartBody5180594719993038153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739122689,"filename":"image_14122025_19_54_53_9572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399378918","file1":"1399378916","file0":"1399378914","file4":"1399378930","file5":"1399378965","file3":"1399378920"},"map_files_photo_id_array":[{"photo_id":"1399378965","filename":"file5"},{"photo_id":"1399378918","filename":"file2"},{"photo_id":"1399378930","filename":"file4"},{"photo_id":"1399378916","filename":"file1"},{"photo_id":"1399378914","filename":"file0"},{"photo_id":"1399378920","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399378965":["hashtag1","hashtag2"]},{"1399378920":["hashtag1","hashtag2"]},{"1399378914":["hashtag1","hashtag2"]},{"1399378916":["hashtag1","hashtag2"]},{"1399378930":["hashtag1","hashtag2"]},{"1399378918":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399378965, 1399378920, 1399378914, 1399378916, 1399378930, 1399378918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89901065826416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:05:02.864409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/55/image_14122025_19_55_33_9631.jpg', '/home/pi/Desktop/images/14122025/19/55/image_14122025_19_55_44_10745.jpg', '/home/pi/Desktop/images/14122025/19/55/image_14122025_19_55_54_9665.jpg', '/home/pi/Desktop/images/14122025/19/55/image_14122025_19_56_04_9749.jpg', '/home/pi/Desktop/images/14122025/19/56/image_14122025_19_56_13_9846.jpg', '/home/pi/Desktop/images/14122025/19/56/image_14122025_19_56_24_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/55/image_14122025_19_55_33_9631.jpg
/home/pi/Desktop/images/14122025/19/55/image_14122025_19_55_44_10745.jpg
/home/pi/Desktop/images/14122025/19/55/image_14122025_19_55_54_9665.jpg
/home/pi/Desktop/images/14122025/19/55/image_14122025_19_56_04_9749.jpg
/home/pi/Desktop/images/14122025/19/56/image_14122025_19_56_13_9846.jpg
/home/pi/Desktop/images/14122025/19/56/image_14122025_19_56_24_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":["1399379052","1399379051","1399379053","1399379047","1399379032","1399379055"],"photo_ids_order":["1399379032","1399379047","1399379051","1399379052","1399379053","1399379055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9dddbaf3a07b5f4bb3763911c255f85b.jpg","text":"TemporaryFile(/tmp/multipartBody7137994301749319603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739163573,"filename":"image_14122025_19_56_04_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/783610c5e98f7a1bca38796804efeff6.jpg","text":"TemporaryFile(/tmp/multipartBody8157035022522307946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739163573,"filename":"image_14122025_19_55_54_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24512611e003290025dc72a4059b3df4.jpg","text":"TemporaryFile(/tmp/multipartBody2231577203786934021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739163573,"filename":"image_14122025_19_56_13_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/453e3b7955732d9d210fc86f2c86a0d1.jpg","text":"TemporaryFile(/tmp/multipartBody1887472239311981076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739163573,"filename":"image_14122025_19_55_44_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1187c8aa740c8d86f063786fa292ada5.jpg","text":"TemporaryFile(/tmp/multipartBody764112376817179515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739163573,"filename":"image_14122025_19_55_33_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ee0d0a56ba74fc4dd4ee85a57135938b.jpg","text":"TemporaryFile(/tmp/multipartBody2307230090492036839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739163573,"filename":"image_14122025_19_56_24_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379051","file1":"1399379047","file0":"1399379032","file4":"1399379053","file5":"1399379055","file3":"1399379052"},"map_files_photo_id_array":[{"photo_id":"1399379055","filename":"file5"},{"photo_id":"1399379051","filename":"file2"},{"photo_id":"1399379053","filename":"file4"},{"photo_id":"1399379047","filename":"file1"},{"photo_id":"1399379032","filename":"file0"},{"photo_id":"1399379052","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379052":["hashtag1","hashtag2"]},{"1399379051":["hashtag1","hashtag2"]},{"1399379053":["hashtag1","hashtag2"]},{"1399379047":["hashtag1","hashtag2"]},{"1399379032":["hashtag1","hashtag2"]},{"1399379055":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379052, 1399379051, 1399379053, 1399379047, 1399379032, 1399379055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38476347923279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:05:42.320312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_54_2721.jpg', '/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_57_2837.jpg', '/home/pi/Desktop/images/04112025/14/36/image_04112025_14_37_01_3587.jpg', '/home/pi/Desktop/images/04112025/14/37/image_04112025_14_37_03_2611.jpg', '/home/pi/Desktop/images/04112025/14/37/image_04112025_14_37_06_2769.jpg', '/home/pi/Desktop/images/04112025/14/37/image_04112025_14_37_10_3734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_54_2721.jpg
/home/pi/Desktop/images/04112025/14/36/image_04112025_14_36_57_2837.jpg
/home/pi/Desktop/images/04112025/14/36/image_04112025_14_37_01_3587.jpg
/home/pi/Desktop/images/04112025/14/37/image_04112025_14_37_03_2611.jpg
/home/pi/Desktop/images/04112025/14/37/image_04112025_14_37_06_2769.jpg
/home/pi/Desktop/images/04112025/14/37/image_04112025_14_37_10_3734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379067","1399379066","1399379060","1399379063","1399379065","1399379064"],"photo_ids_order":["1399379060","1399379063","1399379064","1399379065","1399379066","1399379067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7387a73a36389cf066ad80d344673e98.jpg","text":"TemporaryFile(/tmp/multipartBody3415508021653353866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739203028,"filename":"image_04112025_14_37_10_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e4e968cda1ebb65a2dfd4b8c05bcd99a.jpg","text":"TemporaryFile(/tmp/multipartBody8945898291160820952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739203028,"filename":"image_04112025_14_37_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/12/14/2691b00c5f86cdae8b1dd7477154b54e.jpg","text":"TemporaryFile(/tmp/multipartBody699268538513690205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739203028,"filename":"image_04112025_14_36_54_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/20bd330ddf91364baa7f4bddfd8b1916.jpg","text":"TemporaryFile(/tmp/multipartBody8533773271826628736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739203028,"filename":"image_04112025_14_36_57_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27c4ee6b68ee1eaade1042bb535bfddf.jpg","text":"TemporaryFile(/tmp/multipartBody8914982265424331438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739203028,"filename":"image_04112025_14_37_03_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd71317ca68945ce14f1fb99a954b935.jpg","text":"TemporaryFile(/tmp/multipartBody5726687599549054034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739203028,"filename":"image_04112025_14_37_01_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379064","file1":"1399379063","file0":"1399379060","file4":"1399379066","file5":"1399379067","file3":"1399379065"},"map_files_photo_id_array":[{"photo_id":"1399379067","filename":"file5"},{"photo_id":"1399379064","filename":"file2"},{"photo_id":"1399379066","filename":"file4"},{"photo_id":"1399379063","filename":"file1"},{"photo_id":"1399379060","filename":"file0"},{"photo_id":"1399379065","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379067":["hashtag1","hashtag2"]},{"1399379066":["hashtag1","hashtag2"]},{"1399379060":["hashtag1","hashtag2"]},{"1399379063":["hashtag1","hashtag2"]},{"1399379065":["hashtag1","hashtag2"]},{"1399379064":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379067, 1399379066, 1399379060, 1399379063, 1399379065, 1399379064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.272664070129395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:06:22.612331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/56/image_14122025_19_56_34_9784.jpg', '/home/pi/Desktop/images/14122025/19/56/image_14122025_19_56_44_9932.jpg', '/home/pi/Desktop/images/14122025/19/56/image_14122025_19_56_53_9708.jpg', '/home/pi/Desktop/images/14122025/19/57/image_14122025_19_57_14_9549.jpg', '/home/pi/Desktop/images/14122025/19/57/image_14122025_19_57_24_9837.jpg', '/home/pi/Desktop/images/14122025/19/57/image_14122025_19_57_34_10566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/56/image_14122025_19_56_34_9784.jpg
/home/pi/Desktop/images/14122025/19/56/image_14122025_19_56_44_9932.jpg
/home/pi/Desktop/images/14122025/19/56/image_14122025_19_56_53_9708.jpg
/home/pi/Desktop/images/14122025/19/57/image_14122025_19_57_14_9549.jpg
/home/pi/Desktop/images/14122025/19/57/image_14122025_19_57_24_9837.jpg
/home/pi/Desktop/images/14122025/19/57/image_14122025_19_57_34_10566.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5141077041625977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 20:06:32.646868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:06:42.582261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/37/image_04112025_14_37_24_14075.jpg', '/home/pi/Desktop/images/04112025/14/37/image_04112025_14_37_26_1951.jpg', '/home/pi/Desktop/images/04112025/14/37/image_04112025_14_37_28_1734.jpg', '/home/pi/Desktop/images/04112025/14/37/image_04112025_14_37_29_1740.jpg', '/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_07_38012.jpg', '/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_09_1611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/37/image_04112025_14_37_24_14075.jpg
/home/pi/Desktop/images/04112025/14/37/image_04112025_14_37_26_1951.jpg
/home/pi/Desktop/images/04112025/14/37/image_04112025_14_37_28_1734.jpg
/home/pi/Desktop/images/04112025/14/37/image_04112025_14_37_29_1740.jpg
/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_07_38012.jpg
/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_09_1611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379084","1399379078","1399379081","1399379080","1399379083","1399379082"],"photo_ids_order":["1399379078","1399379080","1399379081","1399379082","1399379083","1399379084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/704a2897545282798becbb348858ee6a.jpg","text":"TemporaryFile(/tmp/multipartBody6750968578630496094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739263294,"filename":"image_04112025_14_38_09_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/013ccf142b99b9e3ef07a8bea2ab0864.jpg","text":"TemporaryFile(/tmp/multipartBody2784440660493559558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739263294,"filename":"image_04112025_14_37_24_14075.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8724b6e746cfa391779685f9172830f6.jpg","text":"TemporaryFile(/tmp/multipartBody1238259650710680274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739263294,"filename":"image_04112025_14_37_28_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2083f1a5a2159cae6432995b062cd09e.jpg","text":"TemporaryFile(/tmp/multipartBody5778717874425366736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739263294,"filename":"image_04112025_14_37_26_1951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f0c65e1e7cb283e52c75151b8c6e7ea.jpg","text":"TemporaryFile(/tmp/multipartBody2214975040366580097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739263294,"filename":"image_04112025_14_38_07_38012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3e5c9fbcbfcd09af9f121e764d147914.jpg","text":"TemporaryFile(/tmp/multipartBody5950080990766326151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739263294,"filename":"image_04112025_14_37_29_1740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379081","file1":"1399379080","file0":"1399379078","file4":"1399379083","file5":"1399379084","file3":"1399379082"},"map_files_photo_id_array":[{"photo_id":"1399379084","filename":"file5"},{"photo_id":"1399379081","filename":"file2"},{"photo_id":"1399379083","filename":"file4"},{"photo_id":"1399379080","filename":"file1"},{"photo_id":"1399379078","filename":"file0"},{"photo_id":"1399379082","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379084":["hashtag1","hashtag2"]},{"1399379078":["hashtag1","hashtag2"]},{"1399379081":["hashtag1","hashtag2"]},{"1399379080":["hashtag1","hashtag2"]},{"1399379083":["hashtag1","hashtag2"]},{"1399379082":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379084, 1399379078, 1399379081, 1399379080, 1399379083, 1399379082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13983917236328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:07:22.746405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/56/image_14122025_19_56_34_9784.jpg', '/home/pi/Desktop/images/14122025/19/56/image_14122025_19_56_44_9932.jpg', '/home/pi/Desktop/images/14122025/19/56/image_14122025_19_56_53_9708.jpg', '/home/pi/Desktop/images/14122025/19/57/image_14122025_19_57_14_9549.jpg', '/home/pi/Desktop/images/14122025/19/57/image_14122025_19_57_24_9837.jpg', '/home/pi/Desktop/images/14122025/19/57/image_14122025_19_57_34_10566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/56/image_14122025_19_56_34_9784.jpg
/home/pi/Desktop/images/14122025/19/56/image_14122025_19_56_44_9932.jpg
/home/pi/Desktop/images/14122025/19/56/image_14122025_19_56_53_9708.jpg
/home/pi/Desktop/images/14122025/19/57/image_14122025_19_57_14_9549.jpg
/home/pi/Desktop/images/14122025/19/57/image_14122025_19_57_24_9837.jpg
/home/pi/Desktop/images/14122025/19/57/image_14122025_19_57_34_10566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379093","1399379095","1399379089","1399379086","1399379091","1399379088"],"photo_ids_order":["1399379086","1399379088","1399379089","1399379091","1399379093","1399379095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b0b3325f74d0aea969fd36f0be6ef405.jpg","text":"TemporaryFile(/tmp/multipartBody2677041461942966426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739303379,"filename":"image_14122025_19_57_24_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/212bc06874c08f2a0c7adeab71a0c6e0.jpg","text":"TemporaryFile(/tmp/multipartBody7999393136936535269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739303379,"filename":"image_14122025_19_57_34_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0377ecf8db6a9eca96f7628a41b4e355.jpg","text":"TemporaryFile(/tmp/multipartBody3056552732968127568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739303379,"filename":"image_14122025_19_56_53_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/58a99b68dfe19cf3ea7a641d16544a6d.jpg","text":"TemporaryFile(/tmp/multipartBody8277133369639235752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739303379,"filename":"image_14122025_19_56_34_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f30956479fe85f8d56d53f3910946b7.jpg","text":"TemporaryFile(/tmp/multipartBody927554962887567393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739303379,"filename":"image_14122025_19_57_14_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc9f811a09873966ceb4c64495c8ea4e.jpg","text":"TemporaryFile(/tmp/multipartBody732240757585236802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739303379,"filename":"image_14122025_19_56_44_9932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379089","file1":"1399379088","file0":"1399379086","file4":"1399379093","file5":"1399379095","file3":"1399379091"},"map_files_photo_id_array":[{"photo_id":"1399379095","filename":"file5"},{"photo_id":"1399379089","filename":"file2"},{"photo_id":"1399379093","filename":"file4"},{"photo_id":"1399379088","filename":"file1"},{"photo_id":"1399379086","filename":"file0"},{"photo_id":"1399379091","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379093":["hashtag1","hashtag2"]},{"1399379095":["hashtag1","hashtag2"]},{"1399379089":["hashtag1","hashtag2"]},{"1399379086":["hashtag1","hashtag2"]},{"1399379091":["hashtag1","hashtag2"]},{"1399379088":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379093, 1399379095, 1399379089, 1399379086, 1399379091, 1399379088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.265063762664795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:08:02.561327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/57/image_14122025_19_57_54_9721.jpg', '/home/pi/Desktop/images/14122025/19/57/image_14122025_19_58_04_10703.jpg', '/home/pi/Desktop/images/14122025/19/58/image_14122025_19_58_24_9680.jpg', '/home/pi/Desktop/images/14122025/19/58/image_14122025_19_58_33_9833.jpg', '/home/pi/Desktop/images/14122025/19/58/image_14122025_19_58_44_10622.jpg', '/home/pi/Desktop/images/14122025/19/58/image_14122025_19_58_54_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/57/image_14122025_19_57_54_9721.jpg
/home/pi/Desktop/images/14122025/19/57/image_14122025_19_58_04_10703.jpg
/home/pi/Desktop/images/14122025/19/58/image_14122025_19_58_24_9680.jpg
/home/pi/Desktop/images/14122025/19/58/image_14122025_19_58_33_9833.jpg
/home/pi/Desktop/images/14122025/19/58/image_14122025_19_58_44_10622.jpg
/home/pi/Desktop/images/14122025/19/58/image_14122025_19_58_54_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":["1399379100","1399379099","1399379102","1399379098","1399379101","1399379097"],"photo_ids_order":["1399379097","1399379098","1399379099","1399379100","1399379101","1399379102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e4dda24059c0733213f41e16240f00e3.jpg","text":"TemporaryFile(/tmp/multipartBody8210779924885041011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739343185,"filename":"image_14122025_19_58_33_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/50901d9811c1580247d9cd422f2f5353.jpg","text":"TemporaryFile(/tmp/multipartBody1481732067056252937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739343185,"filename":"image_14122025_19_58_24_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/86de82273527b2112c4101a506b0d2a2.jpg","text":"TemporaryFile(/tmp/multipartBody1531582944844728596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739343185,"filename":"image_14122025_19_58_54_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d9fb046eba4d67ced8422c6d80073aae.jpg","text":"TemporaryFile(/tmp/multipartBody4317182082312307543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739343185,"filename":"image_14122025_19_58_04_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0853db33063157a7c2a2491c86a38d6e.jpg","text":"TemporaryFile(/tmp/multipartBody1980129128488045969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739343185,"filename":"image_14122025_19_58_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/12/14/befbd39f11565b987b9dd5ee94d7cb64.jpg","text":"TemporaryFile(/tmp/multipartBody539739871354211324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739343185,"filename":"image_14122025_19_57_54_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379099","file1":"1399379098","file0":"1399379097","file4":"1399379101","file5":"1399379102","file3":"1399379100"},"map_files_photo_id_array":[{"photo_id":"1399379102","filename":"file5"},{"photo_id":"1399379099","filename":"file2"},{"photo_id":"1399379101","filename":"file4"},{"photo_id":"1399379098","filename":"file1"},{"photo_id":"1399379097","filename":"file0"},{"photo_id":"1399379100","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379100":["hashtag1","hashtag2"]},{"1399379099":["hashtag1","hashtag2"]},{"1399379102":["hashtag1","hashtag2"]},{"1399379098":["hashtag1","hashtag2"]},{"1399379101":["hashtag1","hashtag2"]},{"1399379097":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379100, 1399379099, 1399379102, 1399379098, 1399379101, 1399379097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83652925491333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:08:42.189475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_11_1684.jpg', '/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_12_1652.jpg', '/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_14_1608.jpg', '/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_16_1571.jpg', '/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_17_1623.jpg', '/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_19_1736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_11_1684.jpg
/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_12_1652.jpg
/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_14_1608.jpg
/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_16_1571.jpg
/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_17_1623.jpg
/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_19_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":["1399379118","1399379112","1399379114","1399379108","1399379116","1399379110"],"photo_ids_order":["1399379108","1399379110","1399379112","1399379114","1399379116","1399379118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c95e3797b7e3fc4c382cfb9a49deb33.jpg","text":"TemporaryFile(/tmp/multipartBody1737931031257092086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739382925,"filename":"image_04112025_14_38_19_1736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e85af6942df08014f23fe75628a7a72.jpg","text":"TemporaryFile(/tmp/multipartBody5436728762849673419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739382925,"filename":"image_04112025_14_38_14_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a19c5eb2b43458d2f17e8c9113f6b7e.jpg","text":"TemporaryFile(/tmp/multipartBody8592773969533601243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739382925,"filename":"image_04112025_14_38_16_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/971fbcf90715da1bcdd781fd5c89dcc2.jpg","text":"TemporaryFile(/tmp/multipartBody4559818268140968607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739382925,"filename":"image_04112025_14_38_11_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ca39f758ec13105497e166fb015cba18.jpg","text":"TemporaryFile(/tmp/multipartBody2407750687353170290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739382925,"filename":"image_04112025_14_38_17_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dcbcd37fad18f214725730e7004eb3b2.jpg","text":"TemporaryFile(/tmp/multipartBody3102631733483958109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739382925,"filename":"image_04112025_14_38_12_1652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379112","file1":"1399379110","file0":"1399379108","file4":"1399379116","file5":"1399379118","file3":"1399379114"},"map_files_photo_id_array":[{"photo_id":"1399379118","filename":"file5"},{"photo_id":"1399379112","filename":"file2"},{"photo_id":"1399379116","filename":"file4"},{"photo_id":"1399379110","filename":"file1"},{"photo_id":"1399379108","filename":"file0"},{"photo_id":"1399379114","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379118":["hashtag1","hashtag2"]},{"1399379112":["hashtag1","hashtag2"]},{"1399379114":["hashtag1","hashtag2"]},{"1399379108":["hashtag1","hashtag2"]},{"1399379116":["hashtag1","hashtag2"]},{"1399379110":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379118, 1399379112, 1399379114, 1399379108, 1399379116, 1399379110)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.27146077156067 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 20:09:32.424076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:09:42.466589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_21_1767.jpg', '/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_22_1681.jpg', '/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_24_1727.jpg', '/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_26_1779.jpg', '/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_28_1838.jpg', '/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_29_1633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_21_1767.jpg
/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_22_1681.jpg
/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_24_1727.jpg
/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_26_1779.jpg
/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_28_1838.jpg
/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_29_1633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379130","1399379127","1399379129","1399379126","1399379125","1399379128"],"photo_ids_order":["1399379125","1399379126","1399379127","1399379128","1399379129","1399379130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/99ede9fcbc36330ece58bc6449dc9020.jpg","text":"TemporaryFile(/tmp/multipartBody5777059696432564740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739443248,"filename":"image_04112025_14_38_29_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e6d7c4c44ccd6dc875089ffb768e8623.jpg","text":"TemporaryFile(/tmp/multipartBody3034496601005749333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739443248,"filename":"image_04112025_14_38_24_1727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/219fb0baef096d33377e8437e5bb2663.jpg","text":"TemporaryFile(/tmp/multipartBody1980390433256270310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739443248,"filename":"image_04112025_14_38_28_1838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e9bc510cb18e54a921dd7472ee53537.jpg","text":"TemporaryFile(/tmp/multipartBody8819899414960041504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739443248,"filename":"image_04112025_14_38_22_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f884df95f32f73ba76d4f33df9058d40.jpg","text":"TemporaryFile(/tmp/multipartBody7426903559418725765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739443248,"filename":"image_04112025_14_38_21_1767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dde39914a7353699f8daeb6078740356.jpg","text":"TemporaryFile(/tmp/multipartBody5668970442013236885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739443248,"filename":"image_04112025_14_38_26_1779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379127","file1":"1399379126","file0":"1399379125","file4":"1399379129","file5":"1399379130","file3":"1399379128"},"map_files_photo_id_array":[{"photo_id":"1399379130","filename":"file5"},{"photo_id":"1399379127","filename":"file2"},{"photo_id":"1399379129","filename":"file4"},{"photo_id":"1399379126","filename":"file1"},{"photo_id":"1399379125","filename":"file0"},{"photo_id":"1399379128","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379130":["hashtag1","hashtag2"]},{"1399379127":["hashtag1","hashtag2"]},{"1399379129":["hashtag1","hashtag2"]},{"1399379126":["hashtag1","hashtag2"]},{"1399379125":["hashtag1","hashtag2"]},{"1399379128":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379130, 1399379127, 1399379129, 1399379126, 1399379125, 1399379128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57971405982971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:10:22.565327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/58/image_14122025_19_59_04_9799.jpg', '/home/pi/Desktop/images/14122025/19/59/image_14122025_19_59_13_9720.jpg', '/home/pi/Desktop/images/14122025/19/59/image_14122025_19_59_24_10779.jpg', '/home/pi/Desktop/images/14122025/19/59/image_14122025_19_59_34_9712.jpg', '/home/pi/Desktop/images/14122025/19/59/image_14122025_19_59_43_9650.jpg', '/home/pi/Desktop/images/14122025/19/59/image_14122025_19_59_54_10758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/58/image_14122025_19_59_04_9799.jpg
/home/pi/Desktop/images/14122025/19/59/image_14122025_19_59_13_9720.jpg
/home/pi/Desktop/images/14122025/19/59/image_14122025_19_59_24_10779.jpg
/home/pi/Desktop/images/14122025/19/59/image_14122025_19_59_34_9712.jpg
/home/pi/Desktop/images/14122025/19/59/image_14122025_19_59_43_9650.jpg
/home/pi/Desktop/images/14122025/19/59/image_14122025_19_59_54_10758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379133","1399379135","1399379143","1399379131","1399379140","1399379137"],"photo_ids_order":["1399379131","1399379133","1399379135","1399379137","1399379140","1399379143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/652b84ef546e9bdc0484efb59b233658.jpg","text":"TemporaryFile(/tmp/multipartBody840360594717892247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739483160,"filename":"image_14122025_19_59_13_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/11eaaa1c8ca228b9d096cff14e6dacfa.jpg","text":"TemporaryFile(/tmp/multipartBody5316075902384207775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739483160,"filename":"image_14122025_19_59_24_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/04a9a7d7a0c3fa6fdb5a71febef3d5d3.jpg","text":"TemporaryFile(/tmp/multipartBody3313972179650295670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739483160,"filename":"image_14122025_19_59_54_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/70760c833c30dcf5dc056467f50262d7.jpg","text":"TemporaryFile(/tmp/multipartBody738791102771698756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739483160,"filename":"image_14122025_19_59_04_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/433e1ccca85c2b385516141bad2f51aa.jpg","text":"TemporaryFile(/tmp/multipartBody1194004319912825863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739483160,"filename":"image_14122025_19_59_43_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/55b9c9bac9732931901dca62014b8b73.jpg","text":"TemporaryFile(/tmp/multipartBody1027535033586466136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739483160,"filename":"image_14122025_19_59_34_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379135","file1":"1399379133","file0":"1399379131","file4":"1399379140","file5":"1399379143","file3":"1399379137"},"map_files_photo_id_array":[{"photo_id":"1399379143","filename":"file5"},{"photo_id":"1399379135","filename":"file2"},{"photo_id":"1399379140","filename":"file4"},{"photo_id":"1399379133","filename":"file1"},{"photo_id":"1399379131","filename":"file0"},{"photo_id":"1399379137","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379133":["hashtag1","hashtag2"]},{"1399379135":["hashtag1","hashtag2"]},{"1399379143":["hashtag1","hashtag2"]},{"1399379131":["hashtag1","hashtag2"]},{"1399379140":["hashtag1","hashtag2"]},{"1399379137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379133, 1399379135, 1399379143, 1399379131, 1399379140, 1399379137)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.09817934036255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 20:11:12.822964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:11:22.727858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/19/59/image_14122025_20_00_04_9621.jpg', '/home/pi/Desktop/images/14122025/20/00/image_14122025_20_00_14_9794.jpg', '/home/pi/Desktop/images/14122025/20/00/image_14122025_20_00_23_9683.jpg', '/home/pi/Desktop/images/14122025/20/00/image_14122025_20_00_34_10699.jpg', '/home/pi/Desktop/images/14122025/20/00/image_14122025_20_00_44_9581.jpg', '/home/pi/Desktop/images/14122025/20/00/image_14122025_20_00_54_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/19/59/image_14122025_20_00_04_9621.jpg
/home/pi/Desktop/images/14122025/20/00/image_14122025_20_00_14_9794.jpg
/home/pi/Desktop/images/14122025/20/00/image_14122025_20_00_23_9683.jpg
/home/pi/Desktop/images/14122025/20/00/image_14122025_20_00_34_10699.jpg
/home/pi/Desktop/images/14122025/20/00/image_14122025_20_00_44_9581.jpg
/home/pi/Desktop/images/14122025/20/00/image_14122025_20_00_54_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379151","1399379153","1399379147","1399379156","1399379146","1399379149"],"photo_ids_order":["1399379146","1399379147","1399379149","1399379151","1399379153","1399379156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ff605ec891be892fc63bd2c637f5a53.jpg","text":"TemporaryFile(/tmp/multipartBody6486417463928040906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739543345,"filename":"image_14122025_20_00_34_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/67daf1cfa9934a868ceeac68cfdede5a.jpg","text":"TemporaryFile(/tmp/multipartBody3032280217967697090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739543345,"filename":"image_14122025_20_00_44_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d6a19201b696615dc8075f2e107a6b3.jpg","text":"TemporaryFile(/tmp/multipartBody7624401222573737138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739543345,"filename":"image_14122025_20_00_14_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b380342e8beecb22d0c29e73fe6c5984.jpg","text":"TemporaryFile(/tmp/multipartBody5678317016954287792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739543345,"filename":"image_14122025_20_00_54_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8757e44547ffac69ca88b4392ef60313.jpg","text":"TemporaryFile(/tmp/multipartBody1649162911283251787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739543345,"filename":"image_14122025_20_00_04_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ea41fc19dfb2b9564d9f670ec9dfcca9.jpg","text":"TemporaryFile(/tmp/multipartBody81637739084307503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739543345,"filename":"image_14122025_20_00_23_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379149","file1":"1399379147","file0":"1399379146","file4":"1399379153","file5":"1399379156","file3":"1399379151"},"map_files_photo_id_array":[{"photo_id":"1399379156","filename":"file5"},{"photo_id":"1399379149","filename":"file2"},{"photo_id":"1399379153","filename":"file4"},{"photo_id":"1399379147","filename":"file1"},{"photo_id":"1399379146","filename":"file0"},{"photo_id":"1399379151","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379151":["hashtag1","hashtag2"]},{"1399379153":["hashtag1","hashtag2"]},{"1399379147":["hashtag1","hashtag2"]},{"1399379156":["hashtag1","hashtag2"]},{"1399379146":["hashtag1","hashtag2"]},{"1399379149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379151, 1399379153, 1399379147, 1399379156, 1399379146, 1399379149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84862208366394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:12:02.477918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/00/image_14122025_20_01_04_9909.jpg', '/home/pi/Desktop/images/14122025/20/01/image_14122025_20_01_14_9656.jpg', '/home/pi/Desktop/images/14122025/20/01/image_14122025_20_01_23_9622.jpg', '/home/pi/Desktop/images/14122025/20/01/image_14122025_20_01_34_10704.jpg', '/home/pi/Desktop/images/14122025/20/01/image_14122025_20_01_44_9749.jpg', '/home/pi/Desktop/images/14122025/20/01/image_14122025_20_01_54_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/00/image_14122025_20_01_04_9909.jpg
/home/pi/Desktop/images/14122025/20/01/image_14122025_20_01_14_9656.jpg
/home/pi/Desktop/images/14122025/20/01/image_14122025_20_01_23_9622.jpg
/home/pi/Desktop/images/14122025/20/01/image_14122025_20_01_34_10704.jpg
/home/pi/Desktop/images/14122025/20/01/image_14122025_20_01_44_9749.jpg
/home/pi/Desktop/images/14122025/20/01/image_14122025_20_01_54_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379159","1399379162","1399379161","1399379158","1399379160","1399379157"],"photo_ids_order":["1399379157","1399379158","1399379159","1399379160","1399379161","1399379162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/970e81321ede86b22e1ab4af631c3635.jpg","text":"TemporaryFile(/tmp/multipartBody3172585640445592864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739583100,"filename":"image_14122025_20_01_23_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb34f0a8cd71ca404fd33378ec0a1850.jpg","text":"TemporaryFile(/tmp/multipartBody3791584477720036017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739583100,"filename":"image_14122025_20_01_54_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da6cc19dc0e58424d26d5a99cb44195f.jpg","text":"TemporaryFile(/tmp/multipartBody4665584044427895908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739583100,"filename":"image_14122025_20_01_44_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56a95a0df6715225517c0d87975e2687.jpg","text":"TemporaryFile(/tmp/multipartBody5550204776442516326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739583100,"filename":"image_14122025_20_01_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/356063639e77af3b9d925e04e63d24fc.jpg","text":"TemporaryFile(/tmp/multipartBody5685962841702086434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739583100,"filename":"image_14122025_20_01_34_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f0037c60857f1f2dc3606a28c13be23.jpg","text":"TemporaryFile(/tmp/multipartBody8859545858829949195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739583100,"filename":"image_14122025_20_01_04_9909.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379159","file1":"1399379158","file0":"1399379157","file4":"1399379161","file5":"1399379162","file3":"1399379160"},"map_files_photo_id_array":[{"photo_id":"1399379162","filename":"file5"},{"photo_id":"1399379159","filename":"file2"},{"photo_id":"1399379161","filename":"file4"},{"photo_id":"1399379158","filename":"file1"},{"photo_id":"1399379157","filename":"file0"},{"photo_id":"1399379160","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379159":["hashtag1","hashtag2"]},{"1399379162":["hashtag1","hashtag2"]},{"1399379161":["hashtag1","hashtag2"]},{"1399379158":["hashtag1","hashtag2"]},{"1399379160":["hashtag1","hashtag2"]},{"1399379157":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379159, 1399379162, 1399379161, 1399379158, 1399379160, 1399379157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69823503494263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:12:42.065223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_31_1788.jpg', '/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_33_1614.jpg', '/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_57_23981.jpg', '/home/pi/Desktop/images/04112025/14/39/image_04112025_14_39_06_9156.jpg', '/home/pi/Desktop/images/04112025/14/39/image_04112025_14_39_07_1559.jpg', '/home/pi/Desktop/images/04112025/14/39/image_04112025_14_39_09_1784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_31_1788.jpg
/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_33_1614.jpg
/home/pi/Desktop/images/04112025/14/38/image_04112025_14_38_57_23981.jpg
/home/pi/Desktop/images/04112025/14/39/image_04112025_14_39_06_9156.jpg
/home/pi/Desktop/images/04112025/14/39/image_04112025_14_39_07_1559.jpg
/home/pi/Desktop/images/04112025/14/39/image_04112025_14_39_09_1784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379180","1399379174","1399379168","1399379176","1399379172","1399379178"],"photo_ids_order":["1399379168","1399379172","1399379174","1399379176","1399379178","1399379180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0a9890d6917ba47f6c557d3140ad3b9a.jpg","text":"TemporaryFile(/tmp/multipartBody8250532229418728172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739622794,"filename":"image_04112025_14_39_09_1784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e38fbe7572275fbc0cfe9b90cd3d9acc.jpg","text":"TemporaryFile(/tmp/multipartBody3707841674319866563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739622794,"filename":"image_04112025_14_38_57_23981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/630df4cb6f985527b6cdc6423353b71c.jpg","text":"TemporaryFile(/tmp/multipartBody5633302465210347671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739622794,"filename":"image_04112025_14_38_31_1788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2786cf9dbeaae65f96e1ad6e3bf9cae8.jpg","text":"TemporaryFile(/tmp/multipartBody4328629815907890474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739622794,"filename":"image_04112025_14_39_06_9156.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/769d1c38e32a30c3c7fa9161f47a2cf7.jpg","text":"TemporaryFile(/tmp/multipartBody4042061701722755302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739622794,"filename":"image_04112025_14_38_33_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/408bd0f9be3569cadffc07d39bc35ed5.jpg","text":"TemporaryFile(/tmp/multipartBody3730555544881434557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739622794,"filename":"image_04112025_14_39_07_1559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379174","file1":"1399379172","file0":"1399379168","file4":"1399379178","file5":"1399379180","file3":"1399379176"},"map_files_photo_id_array":[{"photo_id":"1399379180","filename":"file5"},{"photo_id":"1399379174","filename":"file2"},{"photo_id":"1399379178","filename":"file4"},{"photo_id":"1399379172","filename":"file1"},{"photo_id":"1399379168","filename":"file0"},{"photo_id":"1399379176","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379180":["hashtag1","hashtag2"]},{"1399379174":["hashtag1","hashtag2"]},{"1399379168":["hashtag1","hashtag2"]},{"1399379176":["hashtag1","hashtag2"]},{"1399379172":["hashtag1","hashtag2"]},{"1399379178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379180, 1399379174, 1399379168, 1399379176, 1399379172, 1399379178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73041749000549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:13:22.295431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/01/image_14122025_20_02_03_9766.jpg', '/home/pi/Desktop/images/14122025/20/02/image_14122025_20_02_14_10823.jpg', '/home/pi/Desktop/images/14122025/20/02/image_14122025_20_02_24_9689.jpg', '/home/pi/Desktop/images/14122025/20/02/image_14122025_20_02_34_9733.jpg', '/home/pi/Desktop/images/14122025/20/02/image_14122025_20_02_44_10622.jpg', '/home/pi/Desktop/images/14122025/20/02/image_14122025_20_02_54_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/01/image_14122025_20_02_03_9766.jpg
/home/pi/Desktop/images/14122025/20/02/image_14122025_20_02_14_10823.jpg
/home/pi/Desktop/images/14122025/20/02/image_14122025_20_02_24_9689.jpg
/home/pi/Desktop/images/14122025/20/02/image_14122025_20_02_34_9733.jpg
/home/pi/Desktop/images/14122025/20/02/image_14122025_20_02_44_10622.jpg
/home/pi/Desktop/images/14122025/20/02/image_14122025_20_02_54_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":["1399379183","1399379186","1399379188","1399379185","1399379190","1399379193"],"photo_ids_order":["1399379183","1399379185","1399379186","1399379188","1399379190","1399379193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/20faf86337cb35e16bfad6fc3635b7b0.jpg","text":"TemporaryFile(/tmp/multipartBody5647454066637006122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739662947,"filename":"image_14122025_20_02_03_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e5e7a20108290cb52f799a8b699e4c85.jpg","text":"TemporaryFile(/tmp/multipartBody2523691888912225640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739662947,"filename":"image_14122025_20_02_24_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7adc26c7c41b62d3a4619fd6a8a2771b.jpg","text":"TemporaryFile(/tmp/multipartBody7767939281371663062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739662947,"filename":"image_14122025_20_02_34_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a7c822d58b701b68a53fc81d6478efc.jpg","text":"TemporaryFile(/tmp/multipartBody520286512069955472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739662947,"filename":"image_14122025_20_02_14_10823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a27ed8e02ef5b9a2da9df28cbf5b807.jpg","text":"TemporaryFile(/tmp/multipartBody7255958171889960187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739662947,"filename":"image_14122025_20_02_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/12/14/6b578df7836c2b503119fc0e693c6634.jpg","text":"TemporaryFile(/tmp/multipartBody6857063620520894185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739662947,"filename":"image_14122025_20_02_54_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379186","file1":"1399379185","file0":"1399379183","file4":"1399379190","file5":"1399379193","file3":"1399379188"},"map_files_photo_id_array":[{"photo_id":"1399379193","filename":"file5"},{"photo_id":"1399379186","filename":"file2"},{"photo_id":"1399379190","filename":"file4"},{"photo_id":"1399379185","filename":"file1"},{"photo_id":"1399379183","filename":"file0"},{"photo_id":"1399379188","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379183":["hashtag1","hashtag2"]},{"1399379186":["hashtag1","hashtag2"]},{"1399379188":["hashtag1","hashtag2"]},{"1399379185":["hashtag1","hashtag2"]},{"1399379190":["hashtag1","hashtag2"]},{"1399379193":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379183, 1399379186, 1399379188, 1399379185, 1399379190, 1399379193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26387047767639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:14:03.196446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/03/image_14122025_20_03_13_9719.jpg', '/home/pi/Desktop/images/14122025/20/03/image_14122025_20_03_24_10982.jpg', '/home/pi/Desktop/images/14122025/20/03/image_14122025_20_03_34_9629.jpg', '/home/pi/Desktop/images/14122025/20/03/image_14122025_20_03_44_9678.jpg', '/home/pi/Desktop/images/14122025/20/03/image_14122025_20_03_54_10644.jpg', '/home/pi/Desktop/images/14122025/20/03/image_14122025_20_04_04_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/03/image_14122025_20_03_13_9719.jpg
/home/pi/Desktop/images/14122025/20/03/image_14122025_20_03_24_10982.jpg
/home/pi/Desktop/images/14122025/20/03/image_14122025_20_03_34_9629.jpg
/home/pi/Desktop/images/14122025/20/03/image_14122025_20_03_44_9678.jpg
/home/pi/Desktop/images/14122025/20/03/image_14122025_20_03_54_10644.jpg
/home/pi/Desktop/images/14122025/20/03/image_14122025_20_04_04_9826.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.541128396987915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 20:14:12.551882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:14:22.535026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/03/image_14122025_20_03_13_9719.jpg', '/home/pi/Desktop/images/14122025/20/03/image_14122025_20_03_24_10982.jpg', '/home/pi/Desktop/images/14122025/20/03/image_14122025_20_03_34_9629.jpg', '/home/pi/Desktop/images/14122025/20/03/image_14122025_20_03_44_9678.jpg', '/home/pi/Desktop/images/14122025/20/03/image_14122025_20_03_54_10644.jpg', '/home/pi/Desktop/images/14122025/20/03/image_14122025_20_04_04_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/03/image_14122025_20_03_13_9719.jpg
/home/pi/Desktop/images/14122025/20/03/image_14122025_20_03_24_10982.jpg
/home/pi/Desktop/images/14122025/20/03/image_14122025_20_03_34_9629.jpg
/home/pi/Desktop/images/14122025/20/03/image_14122025_20_03_44_9678.jpg
/home/pi/Desktop/images/14122025/20/03/image_14122025_20_03_54_10644.jpg
/home/pi/Desktop/images/14122025/20/03/image_14122025_20_04_04_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":["1399379208","1399379213","1399379201","1399379210","1399379206","1399379203"],"photo_ids_order":["1399379201","1399379203","1399379206","1399379208","1399379210","1399379213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d0a87aa658b8f3ba7c2edad68a6e8176.jpg","text":"TemporaryFile(/tmp/multipartBody5787899076216102992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739723156,"filename":"image_14122025_20_03_44_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/759e874865543ea2dcb84cec69df0079.jpg","text":"TemporaryFile(/tmp/multipartBody8971498794843840974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739723156,"filename":"image_14122025_20_04_04_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/051d0169463a9dd4c5e392b3892ce7b7.jpg","text":"TemporaryFile(/tmp/multipartBody7564599978939890379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739723156,"filename":"image_14122025_20_03_13_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/607ed1f441d195d150d8dbed09106dda.jpg","text":"TemporaryFile(/tmp/multipartBody2644929838060908680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739723156,"filename":"image_14122025_20_03_54_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f195b784176a4000e64ec5d115766b81.jpg","text":"TemporaryFile(/tmp/multipartBody4820759388799721607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739723156,"filename":"image_14122025_20_03_34_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/083f2a9b40c469492c8fd0f5caec312a.jpg","text":"TemporaryFile(/tmp/multipartBody6471284465683964654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739723156,"filename":"image_14122025_20_03_24_10982.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379206","file1":"1399379203","file0":"1399379201","file4":"1399379210","file5":"1399379213","file3":"1399379208"},"map_files_photo_id_array":[{"photo_id":"1399379213","filename":"file5"},{"photo_id":"1399379206","filename":"file2"},{"photo_id":"1399379210","filename":"file4"},{"photo_id":"1399379203","filename":"file1"},{"photo_id":"1399379201","filename":"file0"},{"photo_id":"1399379208","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379208":["hashtag1","hashtag2"]},{"1399379213":["hashtag1","hashtag2"]},{"1399379201":["hashtag1","hashtag2"]},{"1399379210":["hashtag1","hashtag2"]},{"1399379206":["hashtag1","hashtag2"]},{"1399379203":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379208, 1399379213, 1399379201, 1399379210, 1399379206, 1399379203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41134476661682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:15:03.409577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/04/image_14122025_20_04_14_9680.jpg', '/home/pi/Desktop/images/14122025/20/04/image_14122025_20_04_23_9678.jpg', '/home/pi/Desktop/images/14122025/20/04/image_14122025_20_04_34_10835.jpg', '/home/pi/Desktop/images/14122025/20/04/image_14122025_20_04_44_9568.jpg', '/home/pi/Desktop/images/14122025/20/04/image_14122025_20_04_53_9643.jpg', '/home/pi/Desktop/images/14122025/20/05/image_14122025_20_05_14_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/04/image_14122025_20_04_14_9680.jpg
/home/pi/Desktop/images/14122025/20/04/image_14122025_20_04_23_9678.jpg
/home/pi/Desktop/images/14122025/20/04/image_14122025_20_04_34_10835.jpg
/home/pi/Desktop/images/14122025/20/04/image_14122025_20_04_44_9568.jpg
/home/pi/Desktop/images/14122025/20/04/image_14122025_20_04_53_9643.jpg
/home/pi/Desktop/images/14122025/20/05/image_14122025_20_05_14_9779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379217","1399379216","1399379219","1399379221","1399379215","1399379218"],"photo_ids_order":["1399379215","1399379216","1399379217","1399379218","1399379219","1399379221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b0f49b8021ad224664a9e4c989e99db7.jpg","text":"TemporaryFile(/tmp/multipartBody2770321332774205210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739764132,"filename":"image_14122025_20_04_34_10835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dec4af3084e51a5994e2c44e5fa2d3f0.jpg","text":"TemporaryFile(/tmp/multipartBody3970774206977620281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739764132,"filename":"image_14122025_20_04_23_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a4a227ab2a7668b16446d7d5c6673a9e.jpg","text":"TemporaryFile(/tmp/multipartBody1929712491759382227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739764132,"filename":"image_14122025_20_04_53_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b0232d54ab8d838dbfc47061617a425d.jpg","text":"TemporaryFile(/tmp/multipartBody4107617248654994236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739764132,"filename":"image_14122025_20_05_14_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/82b397545bc233b51826560dab5dc492.jpg","text":"TemporaryFile(/tmp/multipartBody7803772411221242656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739764132,"filename":"image_14122025_20_04_14_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1573fac38ae9934880738a1af3324a00.jpg","text":"TemporaryFile(/tmp/multipartBody8547228270053818550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739764132,"filename":"image_14122025_20_04_44_9568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379217","file1":"1399379216","file0":"1399379215","file4":"1399379219","file5":"1399379221","file3":"1399379218"},"map_files_photo_id_array":[{"photo_id":"1399379221","filename":"file5"},{"photo_id":"1399379217","filename":"file2"},{"photo_id":"1399379219","filename":"file4"},{"photo_id":"1399379216","filename":"file1"},{"photo_id":"1399379215","filename":"file0"},{"photo_id":"1399379218","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379217":["hashtag1","hashtag2"]},{"1399379216":["hashtag1","hashtag2"]},{"1399379219":["hashtag1","hashtag2"]},{"1399379221":["hashtag1","hashtag2"]},{"1399379215":["hashtag1","hashtag2"]},{"1399379218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379217, 1399379216, 1399379219, 1399379221, 1399379215, 1399379218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55231332778931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:15:42.829607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_08_3011.jpg', '/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_11_3593.jpg', '/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_14_2694.jpg', '/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_17_3537.jpg', '/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_20_2809.jpg', '/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_24_4098.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_08_3011.jpg
/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_11_3593.jpg
/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_14_2694.jpg
/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_17_3537.jpg
/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_20_2809.jpg
/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_24_4098.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379232","1399379231","1399379230","1399379233","1399379227","1399379229"],"photo_ids_order":["1399379227","1399379229","1399379230","1399379231","1399379232","1399379233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/59788abd9495eeecb127cad9b38241d3.jpg","text":"TemporaryFile(/tmp/multipartBody6005771814392208627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739803589,"filename":"image_04112025_14_40_20_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9985956123fb2735754435b643bb6f1a.jpg","text":"TemporaryFile(/tmp/multipartBody2660176986159678999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739803589,"filename":"image_04112025_14_40_17_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/06f3933aaa7c2c13dec821437d481c44.jpg","text":"TemporaryFile(/tmp/multipartBody325010563278650264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739803589,"filename":"image_04112025_14_40_14_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/944f18a934439aef82e38c8b3e65110a.jpg","text":"TemporaryFile(/tmp/multipartBody6380602846689642267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739803589,"filename":"image_04112025_14_40_24_4098.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c7455affd1467be92cf489371b5ccc4b.jpg","text":"TemporaryFile(/tmp/multipartBody8310795390548613964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739803589,"filename":"image_04112025_14_40_08_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6a92ddb9aeb60445a15d85eb63251446.jpg","text":"TemporaryFile(/tmp/multipartBody7612339907892720538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739803589,"filename":"image_04112025_14_40_11_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379230","file1":"1399379229","file0":"1399379227","file4":"1399379232","file5":"1399379233","file3":"1399379231"},"map_files_photo_id_array":[{"photo_id":"1399379233","filename":"file5"},{"photo_id":"1399379230","filename":"file2"},{"photo_id":"1399379232","filename":"file4"},{"photo_id":"1399379229","filename":"file1"},{"photo_id":"1399379227","filename":"file0"},{"photo_id":"1399379231","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379232":["hashtag1","hashtag2"]},{"1399379231":["hashtag1","hashtag2"]},{"1399379230":["hashtag1","hashtag2"]},{"1399379233":["hashtag1","hashtag2"]},{"1399379227":["hashtag1","hashtag2"]},{"1399379229":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379232, 1399379231, 1399379230, 1399379233, 1399379227, 1399379229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67519783973694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:16:22.127291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/05/image_14122025_20_05_24_9579.jpg', '/home/pi/Desktop/images/14122025/20/05/image_14122025_20_05_34_10595.jpg', '/home/pi/Desktop/images/14122025/20/05/image_14122025_20_05_44_9681.jpg', '/home/pi/Desktop/images/14122025/20/05/image_14122025_20_05_53_9572.jpg', '/home/pi/Desktop/images/14122025/20/05/image_14122025_20_06_04_10852.jpg', '/home/pi/Desktop/images/14122025/20/06/image_14122025_20_06_14_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/05/image_14122025_20_05_24_9579.jpg
/home/pi/Desktop/images/14122025/20/05/image_14122025_20_05_34_10595.jpg
/home/pi/Desktop/images/14122025/20/05/image_14122025_20_05_44_9681.jpg
/home/pi/Desktop/images/14122025/20/05/image_14122025_20_05_53_9572.jpg
/home/pi/Desktop/images/14122025/20/05/image_14122025_20_06_04_10852.jpg
/home/pi/Desktop/images/14122025/20/06/image_14122025_20_06_14_9591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379234","1399379237","1399379242","1399379245","1399379239","1399379235"],"photo_ids_order":["1399379234","1399379235","1399379237","1399379239","1399379242","1399379245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9060fc71d70ac4c4e6d6b455d234a40c.jpg","text":"TemporaryFile(/tmp/multipartBody4798997677851576550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739842791,"filename":"image_14122025_20_05_24_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f8e7a8757073ce1cd105a0f729f710e.jpg","text":"TemporaryFile(/tmp/multipartBody2223999291885949743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739842791,"filename":"image_14122025_20_05_44_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1489dc0d8358787776f270a1fe3710d.jpg","text":"TemporaryFile(/tmp/multipartBody2695187152777871638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739842791,"filename":"image_14122025_20_06_04_10852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/03bab31f5f955ebf454fe879534b517f.jpg","text":"TemporaryFile(/tmp/multipartBody8371643068030818435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739842791,"filename":"image_14122025_20_06_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/12/14/6ba1f7792aec5d8e3920cf6dc61d8e10.jpg","text":"TemporaryFile(/tmp/multipartBody4601909814876280971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739842791,"filename":"image_14122025_20_05_53_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1627182c0345eda4adaa35214710ef73.jpg","text":"TemporaryFile(/tmp/multipartBody8977215187979949920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739842791,"filename":"image_14122025_20_05_34_10595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379237","file1":"1399379235","file0":"1399379234","file4":"1399379242","file5":"1399379245","file3":"1399379239"},"map_files_photo_id_array":[{"photo_id":"1399379245","filename":"file5"},{"photo_id":"1399379237","filename":"file2"},{"photo_id":"1399379242","filename":"file4"},{"photo_id":"1399379235","filename":"file1"},{"photo_id":"1399379234","filename":"file0"},{"photo_id":"1399379239","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379234":["hashtag1","hashtag2"]},{"1399379237":["hashtag1","hashtag2"]},{"1399379242":["hashtag1","hashtag2"]},{"1399379245":["hashtag1","hashtag2"]},{"1399379239":["hashtag1","hashtag2"]},{"1399379235":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379234, 1399379237, 1399379242, 1399379245, 1399379239, 1399379235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37008619308472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:17:02.980718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/06/image_14122025_20_06_24_9861.jpg', '/home/pi/Desktop/images/14122025/20/06/image_14122025_20_06_33_9697.jpg', '/home/pi/Desktop/images/14122025/20/06/image_14122025_20_06_44_10603.jpg', '/home/pi/Desktop/images/14122025/20/06/image_14122025_20_06_54_9659.jpg', '/home/pi/Desktop/images/14122025/20/06/image_14122025_20_07_03_9671.jpg', '/home/pi/Desktop/images/14122025/20/07/image_14122025_20_07_14_10832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/06/image_14122025_20_06_24_9861.jpg
/home/pi/Desktop/images/14122025/20/06/image_14122025_20_06_33_9697.jpg
/home/pi/Desktop/images/14122025/20/06/image_14122025_20_06_44_10603.jpg
/home/pi/Desktop/images/14122025/20/06/image_14122025_20_06_54_9659.jpg
/home/pi/Desktop/images/14122025/20/06/image_14122025_20_07_03_9671.jpg
/home/pi/Desktop/images/14122025/20/07/image_14122025_20_07_14_10832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379252","1399379255","1399379257","1399379251","1399379254","1399379253"],"photo_ids_order":["1399379251","1399379252","1399379253","1399379254","1399379255","1399379257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c6680eb0dac06807916e5bef258be56.jpg","text":"TemporaryFile(/tmp/multipartBody1155054781601405639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739883658,"filename":"image_14122025_20_06_33_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9d6af6fd40284e1c5e816963ba3cb8a6.jpg","text":"TemporaryFile(/tmp/multipartBody4132773956916595027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739883658,"filename":"image_14122025_20_07_03_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c129829be7b6c2f184bd80e814e644f2.jpg","text":"TemporaryFile(/tmp/multipartBody1781619298874976584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739883658,"filename":"image_14122025_20_07_14_10832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b0fd6a0e090b49b981f0bd62d8142b48.jpg","text":"TemporaryFile(/tmp/multipartBody1916890895539216187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739883658,"filename":"image_14122025_20_06_24_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e03f642eb3d8c3e99aec4b9813bbf1a5.jpg","text":"TemporaryFile(/tmp/multipartBody2921913244384937190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739883658,"filename":"image_14122025_20_06_54_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ec7c851cf265cc9ba4f9be56b67d53fd.jpg","text":"TemporaryFile(/tmp/multipartBody7253222335248751140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739883658,"filename":"image_14122025_20_06_44_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379253","file1":"1399379252","file0":"1399379251","file4":"1399379255","file5":"1399379257","file3":"1399379254"},"map_files_photo_id_array":[{"photo_id":"1399379257","filename":"file5"},{"photo_id":"1399379253","filename":"file2"},{"photo_id":"1399379255","filename":"file4"},{"photo_id":"1399379252","filename":"file1"},{"photo_id":"1399379251","filename":"file0"},{"photo_id":"1399379254","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379252":["hashtag1","hashtag2"]},{"1399379255":["hashtag1","hashtag2"]},{"1399379257":["hashtag1","hashtag2"]},{"1399379251":["hashtag1","hashtag2"]},{"1399379254":["hashtag1","hashtag2"]},{"1399379253":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379252, 1399379255, 1399379257, 1399379251, 1399379254, 1399379253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.44679546356201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:17:42.261164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_26_1536.jpg', '/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_36_10106.jpg', '/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_38_1608.jpg', '/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_39_1722.jpg', '/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_41_1767.jpg', '/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_43_1566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_26_1536.jpg
/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_36_10106.jpg
/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_38_1608.jpg
/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_39_1722.jpg
/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_41_1767.jpg
/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_43_1566.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6295056343078613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:18:02.770775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/07/image_14122025_20_07_24_9751.jpg', '/home/pi/Desktop/images/14122025/20/07/image_14122025_20_07_34_9611.jpg', '/home/pi/Desktop/images/14122025/20/07/image_14122025_20_07_43_9862.jpg', '/home/pi/Desktop/images/14122025/20/07/image_14122025_20_08_04_9750.jpg', '/home/pi/Desktop/images/14122025/20/08/image_14122025_20_08_14_10015.jpg', '/home/pi/Desktop/images/14122025/20/08/image_14122025_20_08_24_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/07/image_14122025_20_07_24_9751.jpg
/home/pi/Desktop/images/14122025/20/07/image_14122025_20_07_34_9611.jpg
/home/pi/Desktop/images/14122025/20/07/image_14122025_20_07_43_9862.jpg
/home/pi/Desktop/images/14122025/20/07/image_14122025_20_08_04_9750.jpg
/home/pi/Desktop/images/14122025/20/08/image_14122025_20_08_14_10015.jpg
/home/pi/Desktop/images/14122025/20/08/image_14122025_20_08_24_9801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379270","1399379273","1399379267","1399379269","1399379271","1399379268"],"photo_ids_order":["1399379267","1399379268","1399379269","1399379270","1399379271","1399379273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b82cff934c4c054ae567d390e26a8e5.jpg","text":"TemporaryFile(/tmp/multipartBody5398960415114222274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739944631,"filename":"image_14122025_20_08_04_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9945887687682779d937a9cbea16d9e2.jpg","text":"TemporaryFile(/tmp/multipartBody2950743716704700191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739944631,"filename":"image_14122025_20_08_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/12/14/f854f170c074570aa29b904c8b84229d.jpg","text":"TemporaryFile(/tmp/multipartBody542935733658791275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739944631,"filename":"image_14122025_20_07_24_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf8478b564179a32d127cf166450d4d4.jpg","text":"TemporaryFile(/tmp/multipartBody2263735950286888381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739944631,"filename":"image_14122025_20_07_43_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b457845f17f2cb545d38069a160df6fa.jpg","text":"TemporaryFile(/tmp/multipartBody5002565643584302018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739944631,"filename":"image_14122025_20_08_14_10015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a8ed0a3fbcc3110f50ba13361126ae9e.jpg","text":"TemporaryFile(/tmp/multipartBody8076104340439273748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739944631,"filename":"image_14122025_20_07_34_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379269","file1":"1399379268","file0":"1399379267","file4":"1399379271","file5":"1399379273","file3":"1399379270"},"map_files_photo_id_array":[{"photo_id":"1399379273","filename":"file5"},{"photo_id":"1399379269","filename":"file2"},{"photo_id":"1399379271","filename":"file4"},{"photo_id":"1399379268","filename":"file1"},{"photo_id":"1399379267","filename":"file0"},{"photo_id":"1399379270","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379270":["hashtag1","hashtag2"]},{"1399379273":["hashtag1","hashtag2"]},{"1399379267":["hashtag1","hashtag2"]},{"1399379269":["hashtag1","hashtag2"]},{"1399379271":["hashtag1","hashtag2"]},{"1399379268":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379270, 1399379273, 1399379267, 1399379269, 1399379271, 1399379268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60243082046509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:18:42.504301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_26_1536.jpg', '/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_36_10106.jpg', '/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_38_1608.jpg', '/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_39_1722.jpg', '/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_41_1767.jpg', '/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_43_1566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_26_1536.jpg
/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_36_10106.jpg
/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_38_1608.jpg
/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_39_1722.jpg
/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_41_1767.jpg
/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_43_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":["1399379282","1399379285","1399379281","1399379284","1399379278","1399379283"],"photo_ids_order":["1399379278","1399379281","1399379282","1399379283","1399379284","1399379285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/934ee6a8fcb87a6f8632f7f595f99536.jpg","text":"TemporaryFile(/tmp/multipartBody810758330860733681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739983099,"filename":"image_04112025_14_40_38_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da09cf877d2ebcde3a33d63c48a8a973.jpg","text":"TemporaryFile(/tmp/multipartBody4475675266895435883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739983099,"filename":"image_04112025_14_40_43_1566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ff752bfa44c031fc07c83b6347ce936.jpg","text":"TemporaryFile(/tmp/multipartBody7061643143199780640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739983099,"filename":"image_04112025_14_40_36_10106.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa8a0d1c03737a167d589817304c9cc5.jpg","text":"TemporaryFile(/tmp/multipartBody2122377492477165958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739983099,"filename":"image_04112025_14_40_41_1767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eabcc6ee9fe17dcbb007b65db738071b.jpg","text":"TemporaryFile(/tmp/multipartBody5108294321665161152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739983099,"filename":"image_04112025_14_40_26_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/164af77bda72aa29e43145fe6dfa3116.jpg","text":"TemporaryFile(/tmp/multipartBody8920983420980527999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765739983099,"filename":"image_04112025_14_40_39_1722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379282","file1":"1399379281","file0":"1399379278","file4":"1399379284","file5":"1399379285","file3":"1399379283"},"map_files_photo_id_array":[{"photo_id":"1399379285","filename":"file5"},{"photo_id":"1399379282","filename":"file2"},{"photo_id":"1399379284","filename":"file4"},{"photo_id":"1399379281","filename":"file1"},{"photo_id":"1399379278","filename":"file0"},{"photo_id":"1399379283","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379282":["hashtag1","hashtag2"]},{"1399379285":["hashtag1","hashtag2"]},{"1399379281":["hashtag1","hashtag2"]},{"1399379284":["hashtag1","hashtag2"]},{"1399379278":["hashtag1","hashtag2"]},{"1399379283":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379282, 1399379285, 1399379281, 1399379284, 1399379278, 1399379283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.762104511260986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:19:22.768413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/08/image_14122025_20_08_33_9860.jpg', '/home/pi/Desktop/images/14122025/20/08/image_14122025_20_08_44_10662.jpg', '/home/pi/Desktop/images/14122025/20/08/image_14122025_20_08_54_9826.jpg', '/home/pi/Desktop/images/14122025/20/08/image_14122025_20_09_04_9758.jpg', '/home/pi/Desktop/images/14122025/20/09/image_14122025_20_09_13_9684.jpg', '/home/pi/Desktop/images/14122025/20/09/image_14122025_20_09_24_10750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/08/image_14122025_20_08_33_9860.jpg
/home/pi/Desktop/images/14122025/20/08/image_14122025_20_08_44_10662.jpg
/home/pi/Desktop/images/14122025/20/08/image_14122025_20_08_54_9826.jpg
/home/pi/Desktop/images/14122025/20/08/image_14122025_20_09_04_9758.jpg
/home/pi/Desktop/images/14122025/20/09/image_14122025_20_09_13_9684.jpg
/home/pi/Desktop/images/14122025/20/09/image_14122025_20_09_24_10750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379297","1399379291","1399379293","1399379286","1399379295","1399379289"],"photo_ids_order":["1399379286","1399379289","1399379291","1399379293","1399379295","1399379297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f62312ef4a5ae5c636ef2039e0534610.jpg","text":"TemporaryFile(/tmp/multipartBody1981527608874179126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740023382,"filename":"image_14122025_20_09_24_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c1636de3f67e0d5166c734c28b105a7.jpg","text":"TemporaryFile(/tmp/multipartBody2616384511065524371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740023382,"filename":"image_14122025_20_08_54_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/32c81490be3241f9e7574b5d6197d75b.jpg","text":"TemporaryFile(/tmp/multipartBody6214855087854808704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740023382,"filename":"image_14122025_20_09_04_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/179924e2de7538409260eb3683ade5d1.jpg","text":"TemporaryFile(/tmp/multipartBody9186202191548265129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740023382,"filename":"image_14122025_20_08_33_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/194a7321b14cbc22db6170052e244e5b.jpg","text":"TemporaryFile(/tmp/multipartBody3637728930000688445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740023382,"filename":"image_14122025_20_09_13_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ca2689bf5f531f974fd1bda4d9ec951.jpg","text":"TemporaryFile(/tmp/multipartBody430293455290504659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740023382,"filename":"image_14122025_20_08_44_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379291","file1":"1399379289","file0":"1399379286","file4":"1399379295","file5":"1399379297","file3":"1399379293"},"map_files_photo_id_array":[{"photo_id":"1399379297","filename":"file5"},{"photo_id":"1399379291","filename":"file2"},{"photo_id":"1399379295","filename":"file4"},{"photo_id":"1399379289","filename":"file1"},{"photo_id":"1399379286","filename":"file0"},{"photo_id":"1399379293","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379297":["hashtag1","hashtag2"]},{"1399379291":["hashtag1","hashtag2"]},{"1399379293":["hashtag1","hashtag2"]},{"1399379286":["hashtag1","hashtag2"]},{"1399379295":["hashtag1","hashtag2"]},{"1399379289":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379297, 1399379291, 1399379293, 1399379286, 1399379295, 1399379289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26482653617859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:20:02.551245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/09/image_14122025_20_09_34_9693.jpg', '/home/pi/Desktop/images/14122025/20/09/image_14122025_20_09_44_9701.jpg', '/home/pi/Desktop/images/14122025/20/09/image_14122025_20_09_54_10706.jpg', '/home/pi/Desktop/images/14122025/20/09/image_14122025_20_10_04_9702.jpg', '/home/pi/Desktop/images/14122025/20/10/image_14122025_20_10_14_9628.jpg', '/home/pi/Desktop/images/14122025/20/10/image_14122025_20_10_27_13337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/09/image_14122025_20_09_34_9693.jpg
/home/pi/Desktop/images/14122025/20/09/image_14122025_20_09_44_9701.jpg
/home/pi/Desktop/images/14122025/20/09/image_14122025_20_09_54_10706.jpg
/home/pi/Desktop/images/14122025/20/09/image_14122025_20_10_04_9702.jpg
/home/pi/Desktop/images/14122025/20/10/image_14122025_20_10_14_9628.jpg
/home/pi/Desktop/images/14122025/20/10/image_14122025_20_10_27_13337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379304","1399379301","1399379300","1399379299","1399379298","1399379302"],"photo_ids_order":["1399379298","1399379299","1399379300","1399379301","1399379302","1399379304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a21e0bf9325251235afadef8caf53c9f.jpg","text":"TemporaryFile(/tmp/multipartBody2349128101227646551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740063166,"filename":"image_14122025_20_10_27_13337.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8639f063b7c25b034f8bc49a6fd57738.jpg","text":"TemporaryFile(/tmp/multipartBody1144281684229858008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740063166,"filename":"image_14122025_20_10_04_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/78c1c2c592ac9bad81136a66d0c74d93.jpg","text":"TemporaryFile(/tmp/multipartBody184734361937270973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740063166,"filename":"image_14122025_20_09_54_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/08d721c517463c1c2edfc8b4e5218d2e.jpg","text":"TemporaryFile(/tmp/multipartBody957712864328845673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740063166,"filename":"image_14122025_20_09_44_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e0eeeb5bfda507f70816c5c7a51f85a0.jpg","text":"TemporaryFile(/tmp/multipartBody8227176270432114153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740063166,"filename":"image_14122025_20_09_34_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b26b5b938cc07f85f6050efbc53c245.jpg","text":"TemporaryFile(/tmp/multipartBody7323992586392972041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740063166,"filename":"image_14122025_20_10_14_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379300","file1":"1399379299","file0":"1399379298","file4":"1399379302","file5":"1399379304","file3":"1399379301"},"map_files_photo_id_array":[{"photo_id":"1399379304","filename":"file5"},{"photo_id":"1399379300","filename":"file2"},{"photo_id":"1399379302","filename":"file4"},{"photo_id":"1399379299","filename":"file1"},{"photo_id":"1399379298","filename":"file0"},{"photo_id":"1399379301","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379304":["hashtag1","hashtag2"]},{"1399379301":["hashtag1","hashtag2"]},{"1399379300":["hashtag1","hashtag2"]},{"1399379299":["hashtag1","hashtag2"]},{"1399379298":["hashtag1","hashtag2"]},{"1399379302":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379304, 1399379301, 1399379300, 1399379299, 1399379298, 1399379302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.055309772491455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:20:41.947894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_44_1614.jpg', '/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_47_2636.jpg', '/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_51_3553.jpg', '/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_22_31698.jpg', '/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_24_1730.jpg', '/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_26_1654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_44_1614.jpg
/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_47_2636.jpg
/home/pi/Desktop/images/04112025/14/40/image_04112025_14_40_51_3553.jpg
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_22_31698.jpg
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_24_1730.jpg
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_26_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":["1399379310","1399379313","1399379312","1399379311","1399379314","1399379308"],"photo_ids_order":["1399379308","1399379310","1399379311","1399379312","1399379313","1399379314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/763c517d551359c6688bd914f3f958b5.jpg","text":"TemporaryFile(/tmp/multipartBody5734769051775861447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740102670,"filename":"image_04112025_14_40_47_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/22eb9c277dbcf04e40a45018700d4cf7.jpg","text":"TemporaryFile(/tmp/multipartBody6328157799923467685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740102670,"filename":"image_04112025_14_41_24_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0709e84e7dd3627233c93ee867d700a9.jpg","text":"TemporaryFile(/tmp/multipartBody5524773439247554131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740102670,"filename":"image_04112025_14_41_22_31698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f9644021b15cb5bd18d054ce46935672.jpg","text":"TemporaryFile(/tmp/multipartBody7727001028735711209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740102670,"filename":"image_04112025_14_40_51_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c33a6d7411ffe5c4d031c6551da1dbef.jpg","text":"TemporaryFile(/tmp/multipartBody5826011452134299330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740102670,"filename":"image_04112025_14_41_26_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/67eee2eca79a6a015ad9423e2de01407.jpg","text":"TemporaryFile(/tmp/multipartBody8984108842477174341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740102670,"filename":"image_04112025_14_40_44_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379311","file1":"1399379310","file0":"1399379308","file4":"1399379313","file5":"1399379314","file3":"1399379312"},"map_files_photo_id_array":[{"photo_id":"1399379314","filename":"file5"},{"photo_id":"1399379311","filename":"file2"},{"photo_id":"1399379313","filename":"file4"},{"photo_id":"1399379310","filename":"file1"},{"photo_id":"1399379308","filename":"file0"},{"photo_id":"1399379312","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379310":["hashtag1","hashtag2"]},{"1399379313":["hashtag1","hashtag2"]},{"1399379312":["hashtag1","hashtag2"]},{"1399379311":["hashtag1","hashtag2"]},{"1399379314":["hashtag1","hashtag2"]},{"1399379308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379310, 1399379313, 1399379312, 1399379311, 1399379314, 1399379308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.878055810928345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:21:22.245849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/10/image_14122025_20_10_34_6697.jpg', '/home/pi/Desktop/images/14122025/20/10/image_14122025_20_10_43_9759.jpg', '/home/pi/Desktop/images/14122025/20/10/image_14122025_20_10_54_10670.jpg', '/home/pi/Desktop/images/14122025/20/11/image_14122025_20_11_04_9831.jpg', '/home/pi/Desktop/images/14122025/20/11/image_14122025_20_11_14_9717.jpg', '/home/pi/Desktop/images/14122025/20/11/image_14122025_20_11_24_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/10/image_14122025_20_10_34_6697.jpg
/home/pi/Desktop/images/14122025/20/10/image_14122025_20_10_43_9759.jpg
/home/pi/Desktop/images/14122025/20/10/image_14122025_20_10_54_10670.jpg
/home/pi/Desktop/images/14122025/20/11/image_14122025_20_11_04_9831.jpg
/home/pi/Desktop/images/14122025/20/11/image_14122025_20_11_14_9717.jpg
/home/pi/Desktop/images/14122025/20/11/image_14122025_20_11_24_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399379322","1399379316","1399379325","1399379324","1399379318","1399379320"],"photo_ids_order":["1399379316","1399379318","1399379320","1399379322","1399379324","1399379325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3c62f7e6f92ea23558a5c871184b7221.jpg","text":"TemporaryFile(/tmp/multipartBody2069524273440029770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740142914,"filename":"image_14122025_20_11_04_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/89736a3e22ea7ea56ee47a3eae581ea4.jpg","text":"TemporaryFile(/tmp/multipartBody270251955060587673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740142914,"filename":"image_14122025_20_10_34_6697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/024c67953be34ad32025ce57d7802741.jpg","text":"TemporaryFile(/tmp/multipartBody9117795373097185546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740142914,"filename":"image_14122025_20_11_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/12/14/0aeb52f973ee7f46c85f7eac7f17e4f1.jpg","text":"TemporaryFile(/tmp/multipartBody3965277566388583174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740142914,"filename":"image_14122025_20_11_14_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aebd81c96786b34f4c15f90f4a59123c.jpg","text":"TemporaryFile(/tmp/multipartBody2002602411658279627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740142914,"filename":"image_14122025_20_10_43_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a8cb63cce16b57447a211f124e0fa32.jpg","text":"TemporaryFile(/tmp/multipartBody6724085205792186268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740142914,"filename":"image_14122025_20_10_54_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379320","file1":"1399379318","file0":"1399379316","file4":"1399379324","file5":"1399379325","file3":"1399379322"},"map_files_photo_id_array":[{"photo_id":"1399379325","filename":"file5"},{"photo_id":"1399379320","filename":"file2"},{"photo_id":"1399379324","filename":"file4"},{"photo_id":"1399379318","filename":"file1"},{"photo_id":"1399379316","filename":"file0"},{"photo_id":"1399379322","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379322":["hashtag1","hashtag2"]},{"1399379316":["hashtag1","hashtag2"]},{"1399379325":["hashtag1","hashtag2"]},{"1399379324":["hashtag1","hashtag2"]},{"1399379318":["hashtag1","hashtag2"]},{"1399379320":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379322, 1399379316, 1399379325, 1399379324, 1399379318, 1399379320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.61856818199158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 20:22:14.553968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:22:24.554450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/11/image_14122025_20_11_34_9739.jpg', '/home/pi/Desktop/images/14122025/20/11/image_14122025_20_11_44_9716.jpg', '/home/pi/Desktop/images/14122025/20/11/image_14122025_20_12_04_10692.jpg', '/home/pi/Desktop/images/14122025/20/12/image_14122025_20_12_14_9572.jpg', '/home/pi/Desktop/images/14122025/20/12/image_14122025_20_12_23_9660.jpg', '/home/pi/Desktop/images/14122025/20/12/image_14122025_20_12_34_10843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/11/image_14122025_20_11_34_9739.jpg
/home/pi/Desktop/images/14122025/20/11/image_14122025_20_11_44_9716.jpg
/home/pi/Desktop/images/14122025/20/11/image_14122025_20_12_04_10692.jpg
/home/pi/Desktop/images/14122025/20/12/image_14122025_20_12_14_9572.jpg
/home/pi/Desktop/images/14122025/20/12/image_14122025_20_12_23_9660.jpg
/home/pi/Desktop/images/14122025/20/12/image_14122025_20_12_34_10843.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4959554672241211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 20:22:34.626037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:22:46.559856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_30_4201.jpg', '/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_32_1703.jpg', '/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_33_1823.jpg', '/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_35_1597.jpg', '/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_37_1634.jpg', '/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_38_1588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_30_4201.jpg
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_32_1703.jpg
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_33_1823.jpg
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_35_1597.jpg
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_37_1634.jpg
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_38_1588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379343","1399379339","1399379342","1399379341","1399379338","1399379340"],"photo_ids_order":["1399379338","1399379339","1399379340","1399379341","1399379342","1399379343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f6c5a1cece97ebcc422ac0e116ea683.jpg","text":"TemporaryFile(/tmp/multipartBody6576964447704331394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740227299,"filename":"image_04112025_14_41_38_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/575267f609feaa63133365fe342fe338.jpg","text":"TemporaryFile(/tmp/multipartBody7026266255071703067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740227299,"filename":"image_04112025_14_41_32_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ac0532092eb4bf268d75d68dd5ce078.jpg","text":"TemporaryFile(/tmp/multipartBody6773173225335384867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740227299,"filename":"image_04112025_14_41_37_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/40f82f5096deb27dd216741eecc6eb89.jpg","text":"TemporaryFile(/tmp/multipartBody4841932366909509370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740227299,"filename":"image_04112025_14_41_35_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1e2f2e1e1b8f6576c88865581818f38.jpg","text":"TemporaryFile(/tmp/multipartBody4815860729803909480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740227299,"filename":"image_04112025_14_41_30_4201.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/df3e34926c32d306dc3fb79ee197d6ef.jpg","text":"TemporaryFile(/tmp/multipartBody7402465909581393446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740227299,"filename":"image_04112025_14_41_33_1823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379340","file1":"1399379339","file0":"1399379338","file4":"1399379342","file5":"1399379343","file3":"1399379341"},"map_files_photo_id_array":[{"photo_id":"1399379343","filename":"file5"},{"photo_id":"1399379340","filename":"file2"},{"photo_id":"1399379342","filename":"file4"},{"photo_id":"1399379339","filename":"file1"},{"photo_id":"1399379338","filename":"file0"},{"photo_id":"1399379341","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379343":["hashtag1","hashtag2"]},{"1399379339":["hashtag1","hashtag2"]},{"1399379342":["hashtag1","hashtag2"]},{"1399379341":["hashtag1","hashtag2"]},{"1399379338":["hashtag1","hashtag2"]},{"1399379340":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379343, 1399379339, 1399379342, 1399379341, 1399379338, 1399379340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60841512680054 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 20:23:32.759750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:23:42.741472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_45_7099.jpg', '/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_47_1573.jpg', '/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_49_1779.jpg', '/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_50_1658.jpg', '/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_52_1714.jpg', '/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_54_1874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_45_7099.jpg
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_47_1573.jpg
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_49_1779.jpg
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_50_1658.jpg
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_52_1714.jpg
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_54_1874.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.620274543762207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:24:02.534217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/11/image_14122025_20_11_34_9739.jpg', '/home/pi/Desktop/images/14122025/20/11/image_14122025_20_11_44_9716.jpg', '/home/pi/Desktop/images/14122025/20/11/image_14122025_20_12_04_10692.jpg', '/home/pi/Desktop/images/14122025/20/12/image_14122025_20_12_14_9572.jpg', '/home/pi/Desktop/images/14122025/20/12/image_14122025_20_12_23_9660.jpg', '/home/pi/Desktop/images/14122025/20/12/image_14122025_20_12_34_10843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/11/image_14122025_20_11_34_9739.jpg
/home/pi/Desktop/images/14122025/20/11/image_14122025_20_11_44_9716.jpg
/home/pi/Desktop/images/14122025/20/11/image_14122025_20_12_04_10692.jpg
/home/pi/Desktop/images/14122025/20/12/image_14122025_20_12_14_9572.jpg
/home/pi/Desktop/images/14122025/20/12/image_14122025_20_12_23_9660.jpg
/home/pi/Desktop/images/14122025/20/12/image_14122025_20_12_34_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":["1399379358","1399379357","1399379362","1399379356","1399379359","1399379355"],"photo_ids_order":["1399379355","1399379356","1399379357","1399379358","1399379359","1399379362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/090d4e1936cc88320dbf5ffc6eb61116.jpg","text":"TemporaryFile(/tmp/multipartBody6826273386194520260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740303603,"filename":"image_14122025_20_12_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/12/14/6b7e45c6fb21e78b483ae02b5857a3d9.jpg","text":"TemporaryFile(/tmp/multipartBody8545462888689409039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740303603,"filename":"image_14122025_20_12_04_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/33c1346b6860162e2c0bc26c4bef8a06.jpg","text":"TemporaryFile(/tmp/multipartBody1091726228213084094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740303603,"filename":"image_14122025_20_12_34_10843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5889614afc7b9ccca48535606bc5e240.jpg","text":"TemporaryFile(/tmp/multipartBody6920995459459821302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740303603,"filename":"image_14122025_20_11_44_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/798c6c923548eee71f079c6be21ed8bc.jpg","text":"TemporaryFile(/tmp/multipartBody7301122143108792799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740303603,"filename":"image_14122025_20_12_23_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/66fdd1e1ebaee30f24adfc24db56bb8e.jpg","text":"TemporaryFile(/tmp/multipartBody2459787035776714464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740303603,"filename":"image_14122025_20_11_34_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379357","file1":"1399379356","file0":"1399379355","file4":"1399379359","file5":"1399379362","file3":"1399379358"},"map_files_photo_id_array":[{"photo_id":"1399379362","filename":"file5"},{"photo_id":"1399379357","filename":"file2"},{"photo_id":"1399379359","filename":"file4"},{"photo_id":"1399379356","filename":"file1"},{"photo_id":"1399379355","filename":"file0"},{"photo_id":"1399379358","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379358":["hashtag1","hashtag2"]},{"1399379357":["hashtag1","hashtag2"]},{"1399379362":["hashtag1","hashtag2"]},{"1399379356":["hashtag1","hashtag2"]},{"1399379359":["hashtag1","hashtag2"]},{"1399379355":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379358, 1399379357, 1399379362, 1399379356, 1399379359, 1399379355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46764826774597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:24:42.020474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_45_7099.jpg', '/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_47_1573.jpg', '/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_49_1779.jpg', '/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_50_1658.jpg', '/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_52_1714.jpg', '/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_54_1874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_45_7099.jpg
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_47_1573.jpg
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_49_1779.jpg
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_50_1658.jpg
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_52_1714.jpg
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_54_1874.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379372","1399379366","1399379369","1399379368","1399379371","1399379370"],"photo_ids_order":["1399379366","1399379368","1399379369","1399379370","1399379371","1399379372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6700b960938cc597239055d5ca241a7.jpg","text":"TemporaryFile(/tmp/multipartBody858354991655509622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740342650,"filename":"image_04112025_14_41_54_1874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e1f1b02367a79dda06324fbaabdaec1e.jpg","text":"TemporaryFile(/tmp/multipartBody2431995094182227970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740342650,"filename":"image_04112025_14_41_45_7099.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9ca3717f492d7c79e799a7375a063823.jpg","text":"TemporaryFile(/tmp/multipartBody605406495068761436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740342650,"filename":"image_04112025_14_41_49_1779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ea55fcf2545bc47ce7412ccf942544c.jpg","text":"TemporaryFile(/tmp/multipartBody6809585186634438525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740342650,"filename":"image_04112025_14_41_47_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/beb2f63c3dbdb9d4dab8fde885559d10.jpg","text":"TemporaryFile(/tmp/multipartBody638352477001373801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740342650,"filename":"image_04112025_14_41_52_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2694aff7f4dd58b5cc6245fab9779385.jpg","text":"TemporaryFile(/tmp/multipartBody1112217253662709779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740342650,"filename":"image_04112025_14_41_50_1658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379369","file1":"1399379368","file0":"1399379366","file4":"1399379371","file5":"1399379372","file3":"1399379370"},"map_files_photo_id_array":[{"photo_id":"1399379372","filename":"file5"},{"photo_id":"1399379369","filename":"file2"},{"photo_id":"1399379371","filename":"file4"},{"photo_id":"1399379368","filename":"file1"},{"photo_id":"1399379366","filename":"file0"},{"photo_id":"1399379370","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379372":["hashtag1","hashtag2"]},{"1399379366":["hashtag1","hashtag2"]},{"1399379369":["hashtag1","hashtag2"]},{"1399379368":["hashtag1","hashtag2"]},{"1399379371":["hashtag1","hashtag2"]},{"1399379370":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379372, 1399379366, 1399379369, 1399379368, 1399379371, 1399379370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.007368326187134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:25:22.270194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/12/image_14122025_20_12_44_9624.jpg', '/home/pi/Desktop/images/14122025/20/12/image_14122025_20_12_54_9957.jpg', '/home/pi/Desktop/images/14122025/20/12/image_14122025_20_13_04_9755.jpg', '/home/pi/Desktop/images/14122025/20/13/image_14122025_20_13_13_9836.jpg', '/home/pi/Desktop/images/14122025/20/13/image_14122025_20_13_24_10715.jpg', '/home/pi/Desktop/images/14122025/20/13/image_14122025_20_13_34_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/12/image_14122025_20_12_44_9624.jpg
/home/pi/Desktop/images/14122025/20/12/image_14122025_20_12_54_9957.jpg
/home/pi/Desktop/images/14122025/20/12/image_14122025_20_13_04_9755.jpg
/home/pi/Desktop/images/14122025/20/13/image_14122025_20_13_13_9836.jpg
/home/pi/Desktop/images/14122025/20/13/image_14122025_20_13_24_10715.jpg
/home/pi/Desktop/images/14122025/20/13/image_14122025_20_13_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":["1399379384","1399379380","1399379374","1399379377","1399379382","1399379379"],"photo_ids_order":["1399379374","1399379377","1399379379","1399379380","1399379382","1399379384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7d89a5b99bd73cd255594e310706dc4.jpg","text":"TemporaryFile(/tmp/multipartBody2581636489206014097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740382941,"filename":"image_14122025_20_13_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd806aef5c6197405c1f16ae9bd8b887.jpg","text":"TemporaryFile(/tmp/multipartBody6866811184832828309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740382941,"filename":"image_14122025_20_13_13_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/390c0de3c41b10b2aad900e6edae0001.jpg","text":"TemporaryFile(/tmp/multipartBody5069725657408751650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740382941,"filename":"image_14122025_20_12_44_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c744135361e17011b93e5c1a35255953.jpg","text":"TemporaryFile(/tmp/multipartBody3415478232969445017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740382941,"filename":"image_14122025_20_12_54_9957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/169da7599005adb0204038986ed1bccc.jpg","text":"TemporaryFile(/tmp/multipartBody6634177349681295883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740382941,"filename":"image_14122025_20_13_24_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/628b07bff9cc47a32e672d1befc9d37a.jpg","text":"TemporaryFile(/tmp/multipartBody8063115355872720623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740382941,"filename":"image_14122025_20_13_04_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379379","file1":"1399379377","file0":"1399379374","file4":"1399379382","file5":"1399379384","file3":"1399379380"},"map_files_photo_id_array":[{"photo_id":"1399379384","filename":"file5"},{"photo_id":"1399379379","filename":"file2"},{"photo_id":"1399379382","filename":"file4"},{"photo_id":"1399379377","filename":"file1"},{"photo_id":"1399379374","filename":"file0"},{"photo_id":"1399379380","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379384":["hashtag1","hashtag2"]},{"1399379380":["hashtag1","hashtag2"]},{"1399379374":["hashtag1","hashtag2"]},{"1399379377":["hashtag1","hashtag2"]},{"1399379382":["hashtag1","hashtag2"]},{"1399379379":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379384, 1399379380, 1399379374, 1399379377, 1399379382, 1399379379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7514431476593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:26:02.919104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/13/image_14122025_20_13_43_9601.jpg', '/home/pi/Desktop/images/14122025/20/13/image_14122025_20_13_54_10737.jpg', '/home/pi/Desktop/images/14122025/20/13/image_14122025_20_14_04_9677.jpg', '/home/pi/Desktop/images/14122025/20/14/image_14122025_20_14_13_9713.jpg', '/home/pi/Desktop/images/14122025/20/14/image_14122025_20_14_23_9989.jpg', '/home/pi/Desktop/images/14122025/20/14/image_14122025_20_14_33_9847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/13/image_14122025_20_13_43_9601.jpg
/home/pi/Desktop/images/14122025/20/13/image_14122025_20_13_54_10737.jpg
/home/pi/Desktop/images/14122025/20/13/image_14122025_20_14_04_9677.jpg
/home/pi/Desktop/images/14122025/20/14/image_14122025_20_14_13_9713.jpg
/home/pi/Desktop/images/14122025/20/14/image_14122025_20_14_23_9989.jpg
/home/pi/Desktop/images/14122025/20/14/image_14122025_20_14_33_9847.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5179951190948486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 20:26:12.471206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:26:22.528688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/13/image_14122025_20_13_43_9601.jpg', '/home/pi/Desktop/images/14122025/20/13/image_14122025_20_13_54_10737.jpg', '/home/pi/Desktop/images/14122025/20/13/image_14122025_20_14_04_9677.jpg', '/home/pi/Desktop/images/14122025/20/14/image_14122025_20_14_13_9713.jpg', '/home/pi/Desktop/images/14122025/20/14/image_14122025_20_14_23_9989.jpg', '/home/pi/Desktop/images/14122025/20/14/image_14122025_20_14_33_9847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/13/image_14122025_20_13_43_9601.jpg
/home/pi/Desktop/images/14122025/20/13/image_14122025_20_13_54_10737.jpg
/home/pi/Desktop/images/14122025/20/13/image_14122025_20_14_04_9677.jpg
/home/pi/Desktop/images/14122025/20/14/image_14122025_20_14_13_9713.jpg
/home/pi/Desktop/images/14122025/20/14/image_14122025_20_14_23_9989.jpg
/home/pi/Desktop/images/14122025/20/14/image_14122025_20_14_33_9847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379403","1399379396","1399379399","1399379392","1399379395","1399379401"],"photo_ids_order":["1399379392","1399379395","1399379396","1399379399","1399379401","1399379403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/65f6d593f3170655e702e906a8b23a9c.jpg","text":"TemporaryFile(/tmp/multipartBody597649606060280268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740443191,"filename":"image_14122025_20_14_33_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/42d5df2cd4fb8deb1cf604fa75654714.jpg","text":"TemporaryFile(/tmp/multipartBody9137221541183706930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740443191,"filename":"image_14122025_20_14_04_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d8173480897477458ad8526306a8066.jpg","text":"TemporaryFile(/tmp/multipartBody8317422975651374067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740443191,"filename":"image_14122025_20_14_13_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/936b35f497280101b22bc6df6b4f970e.jpg","text":"TemporaryFile(/tmp/multipartBody1371452279144805617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740443191,"filename":"image_14122025_20_13_43_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4281d77a069892b9281168fdcdc1bce5.jpg","text":"TemporaryFile(/tmp/multipartBody6838341447958878206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740443191,"filename":"image_14122025_20_13_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/12/14/33966ed1697f149bf0df51d6f19d767f.jpg","text":"TemporaryFile(/tmp/multipartBody3936667500504804380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740443191,"filename":"image_14122025_20_14_23_9989.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379396","file1":"1399379395","file0":"1399379392","file4":"1399379401","file5":"1399379403","file3":"1399379399"},"map_files_photo_id_array":[{"photo_id":"1399379403","filename":"file5"},{"photo_id":"1399379396","filename":"file2"},{"photo_id":"1399379401","filename":"file4"},{"photo_id":"1399379395","filename":"file1"},{"photo_id":"1399379392","filename":"file0"},{"photo_id":"1399379399","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379403":["hashtag1","hashtag2"]},{"1399379396":["hashtag1","hashtag2"]},{"1399379399":["hashtag1","hashtag2"]},{"1399379392":["hashtag1","hashtag2"]},{"1399379395":["hashtag1","hashtag2"]},{"1399379401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379403, 1399379396, 1399379399, 1399379392, 1399379395, 1399379401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60433506965637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:27:03.313502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/14/image_14122025_20_14_44_10587.jpg', '/home/pi/Desktop/images/14122025/20/14/image_14122025_20_14_54_9706.jpg', '/home/pi/Desktop/images/14122025/20/14/image_14122025_20_15_03_9707.jpg', '/home/pi/Desktop/images/14122025/20/15/image_14122025_20_15_14_10696.jpg', '/home/pi/Desktop/images/14122025/20/15/image_14122025_20_15_24_9862.jpg', '/home/pi/Desktop/images/14122025/20/15/image_14122025_20_15_34_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/14/image_14122025_20_14_44_10587.jpg
/home/pi/Desktop/images/14122025/20/14/image_14122025_20_14_54_9706.jpg
/home/pi/Desktop/images/14122025/20/14/image_14122025_20_15_03_9707.jpg
/home/pi/Desktop/images/14122025/20/15/image_14122025_20_15_14_10696.jpg
/home/pi/Desktop/images/14122025/20/15/image_14122025_20_15_24_9862.jpg
/home/pi/Desktop/images/14122025/20/15/image_14122025_20_15_34_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379406","1399379408","1399379405","1399379410","1399379404","1399379407"],"photo_ids_order":["1399379404","1399379405","1399379406","1399379407","1399379408","1399379410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bec86f7a14b2f3e68c206625b2a41dcb.jpg","text":"TemporaryFile(/tmp/multipartBody5088955356368955945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740483963,"filename":"image_14122025_20_15_03_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d0882fd7dbbf0e0d48ee0cd248154a3.jpg","text":"TemporaryFile(/tmp/multipartBody5778442437311212225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740483963,"filename":"image_14122025_20_15_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/12/14/ff39e72df13c9b24d734ab7d79524653.jpg","text":"TemporaryFile(/tmp/multipartBody8112242455572453242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740483963,"filename":"image_14122025_20_14_54_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/73974e36fdb906ade18ed8d0a964a191.jpg","text":"TemporaryFile(/tmp/multipartBody3455935736295949399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740483963,"filename":"image_14122025_20_15_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ace74fb843a4dbfef9c1c326035ba033.jpg","text":"TemporaryFile(/tmp/multipartBody1551915079837766628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740483963,"filename":"image_14122025_20_14_44_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c2dadb8f7b2383f30e81debe435c4c37.jpg","text":"TemporaryFile(/tmp/multipartBody6379676671517625313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740483963,"filename":"image_14122025_20_15_14_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379406","file1":"1399379405","file0":"1399379404","file4":"1399379408","file5":"1399379410","file3":"1399379407"},"map_files_photo_id_array":[{"photo_id":"1399379410","filename":"file5"},{"photo_id":"1399379406","filename":"file2"},{"photo_id":"1399379408","filename":"file4"},{"photo_id":"1399379405","filename":"file1"},{"photo_id":"1399379404","filename":"file0"},{"photo_id":"1399379407","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379406":["hashtag1","hashtag2"]},{"1399379408":["hashtag1","hashtag2"]},{"1399379405":["hashtag1","hashtag2"]},{"1399379410":["hashtag1","hashtag2"]},{"1399379404":["hashtag1","hashtag2"]},{"1399379407":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379406, 1399379408, 1399379405, 1399379410, 1399379404, 1399379407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85757303237915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:27:42.687129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_57_3201.jpg', '/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_59_1592.jpg', '/home/pi/Desktop/images/04112025/14/41/image_04112025_14_42_00_1598.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_02_2088.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_04_1606.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_06_1738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_57_3201.jpg
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_41_59_1592.jpg
/home/pi/Desktop/images/04112025/14/41/image_04112025_14_42_00_1598.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_02_2088.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_04_1606.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_06_1738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399379421","1399379418","1399379420","1399379417","1399379416","1399379419"],"photo_ids_order":["1399379416","1399379417","1399379418","1399379419","1399379420","1399379421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/10ee282449ba5dc8d877481a04d6d368.jpg","text":"TemporaryFile(/tmp/multipartBody6122188878660358403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740523420,"filename":"image_04112025_14_42_06_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cb89584cf14774b99b8abd3e0e4c2c11.jpg","text":"TemporaryFile(/tmp/multipartBody7550999444343385805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740523420,"filename":"image_04112025_14_42_00_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e2a3cc729e7af51ea1d04f3223c9743.jpg","text":"TemporaryFile(/tmp/multipartBody1847337736624874000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740523420,"filename":"image_04112025_14_42_04_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8ed530701d8430a890b265d54f301901.jpg","text":"TemporaryFile(/tmp/multipartBody171566019284883193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740523420,"filename":"image_04112025_14_41_59_1592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4cb01cfb345b7cc723cd252429f21c68.jpg","text":"TemporaryFile(/tmp/multipartBody6530186012768207277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740523420,"filename":"image_04112025_14_41_57_3201.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d76115672625d520d1d1db6f6380c79d.jpg","text":"TemporaryFile(/tmp/multipartBody2275694011954846423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740523420,"filename":"image_04112025_14_42_02_2088.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379418","file1":"1399379417","file0":"1399379416","file4":"1399379420","file5":"1399379421","file3":"1399379419"},"map_files_photo_id_array":[{"photo_id":"1399379421","filename":"file5"},{"photo_id":"1399379418","filename":"file2"},{"photo_id":"1399379420","filename":"file4"},{"photo_id":"1399379417","filename":"file1"},{"photo_id":"1399379416","filename":"file0"},{"photo_id":"1399379419","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379421":["hashtag1","hashtag2"]},{"1399379418":["hashtag1","hashtag2"]},{"1399379420":["hashtag1","hashtag2"]},{"1399379417":["hashtag1","hashtag2"]},{"1399379416":["hashtag1","hashtag2"]},{"1399379419":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379421, 1399379418, 1399379420, 1399379417, 1399379416, 1399379419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25581240653992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 20:28:31.960565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:28:41.988723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_07_1707.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_09_1556.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_11_1577.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_12_1599.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_14_1588.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_15_1603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_07_1707.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_09_1556.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_11_1577.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_12_1599.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_14_1588.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_15_1603.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6231412887573242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:29:02.899040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/15/image_14122025_20_15_44_10634.jpg', '/home/pi/Desktop/images/14122025/20/15/image_14122025_20_15_54_9676.jpg', '/home/pi/Desktop/images/14122025/20/15/image_14122025_20_16_04_9884.jpg', '/home/pi/Desktop/images/14122025/20/16/image_14122025_20_16_14_10559.jpg', '/home/pi/Desktop/images/14122025/20/16/image_14122025_20_16_24_9624.jpg', '/home/pi/Desktop/images/14122025/20/16/image_14122025_20_16_33_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/15/image_14122025_20_15_44_10634.jpg
/home/pi/Desktop/images/14122025/20/15/image_14122025_20_15_54_9676.jpg
/home/pi/Desktop/images/14122025/20/15/image_14122025_20_16_04_9884.jpg
/home/pi/Desktop/images/14122025/20/16/image_14122025_20_16_14_10559.jpg
/home/pi/Desktop/images/14122025/20/16/image_14122025_20_16_24_9624.jpg
/home/pi/Desktop/images/14122025/20/16/image_14122025_20_16_33_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":["1399379442","1399379436","1399379439","1399379435","1399379440","1399379437"],"photo_ids_order":["1399379435","1399379436","1399379437","1399379439","1399379440","1399379442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b8e02cec010eab77d1a4a466ffe9689.jpg","text":"TemporaryFile(/tmp/multipartBody6472268257052025472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740603582,"filename":"image_14122025_20_16_33_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69ab76c03f91160ab8fec5b028625419.jpg","text":"TemporaryFile(/tmp/multipartBody6106193735616111390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740603582,"filename":"image_14122025_20_15_54_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f6872b9b362c84aaec60660842e6d64.jpg","text":"TemporaryFile(/tmp/multipartBody3826577796944120329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740603582,"filename":"image_14122025_20_16_14_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da72f16253f815db839df0ccf09aa5d5.jpg","text":"TemporaryFile(/tmp/multipartBody8040417590727062323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740603582,"filename":"image_14122025_20_15_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/12/14/90f8d8a350e49da1d1c62d52d60540a8.jpg","text":"TemporaryFile(/tmp/multipartBody3387056585220384089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740603582,"filename":"image_14122025_20_16_24_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ccd4e0217d5559b402c804c0e26b6ac0.jpg","text":"TemporaryFile(/tmp/multipartBody2598614331189250623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740603582,"filename":"image_14122025_20_16_04_9884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379437","file1":"1399379436","file0":"1399379435","file4":"1399379440","file5":"1399379442","file3":"1399379439"},"map_files_photo_id_array":[{"photo_id":"1399379442","filename":"file5"},{"photo_id":"1399379437","filename":"file2"},{"photo_id":"1399379440","filename":"file4"},{"photo_id":"1399379436","filename":"file1"},{"photo_id":"1399379435","filename":"file0"},{"photo_id":"1399379439","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379442":["hashtag1","hashtag2"]},{"1399379436":["hashtag1","hashtag2"]},{"1399379439":["hashtag1","hashtag2"]},{"1399379435":["hashtag1","hashtag2"]},{"1399379440":["hashtag1","hashtag2"]},{"1399379437":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379442, 1399379436, 1399379439, 1399379435, 1399379440, 1399379437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72345209121704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:29:42.184616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_07_1707.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_09_1556.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_11_1577.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_12_1599.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_14_1588.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_15_1603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_07_1707.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_09_1556.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_11_1577.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_12_1599.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_14_1588.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_15_1603.jpg
 val : 1 : upload photos already in processing! 
 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>8blo42gcn</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>8blo42gcn</strong>.
uploaded 0 photos
time to upload: 44.90633010864258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 20:30:32.541645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:30:42.482225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_07_1707.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_09_1556.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_11_1577.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_12_1599.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_14_1588.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_15_1603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_07_1707.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_09_1556.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_11_1577.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_12_1599.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_14_1588.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_15_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":["1399379462","1399379456","1399379465","1399379459","1399379464","1399379463"],"photo_ids_order":["1399379456","1399379459","1399379462","1399379463","1399379464","1399379465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a32d23f22dbdf7fa2b6918f36f0713b.jpg","text":"TemporaryFile(/tmp/multipartBody3107280684392089558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740703087,"filename":"image_04112025_14_42_11_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d41b8cbd90ba1404c47e31043f723b5.jpg","text":"TemporaryFile(/tmp/multipartBody2990171133889939009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740703087,"filename":"image_04112025_14_42_07_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/34cee47ed3bbdb17c79f62beb8699cb3.jpg","text":"TemporaryFile(/tmp/multipartBody8809799171427778195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740703087,"filename":"image_04112025_14_42_15_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/720e013a3e174edafc4b9b83352f37a4.jpg","text":"TemporaryFile(/tmp/multipartBody2111973077173636282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740703087,"filename":"image_04112025_14_42_09_1556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9e18aa62a4ffeb2e036e8c04c85fa9dc.jpg","text":"TemporaryFile(/tmp/multipartBody9219503527410727475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740703087,"filename":"image_04112025_14_42_14_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9b06e0ef4ed7db9b21009be7eff62453.jpg","text":"TemporaryFile(/tmp/multipartBody7931304369073558767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740703087,"filename":"image_04112025_14_42_12_1599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379462","file1":"1399379459","file0":"1399379456","file4":"1399379464","file5":"1399379465","file3":"1399379463"},"map_files_photo_id_array":[{"photo_id":"1399379465","filename":"file5"},{"photo_id":"1399379462","filename":"file2"},{"photo_id":"1399379464","filename":"file4"},{"photo_id":"1399379459","filename":"file1"},{"photo_id":"1399379456","filename":"file0"},{"photo_id":"1399379463","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379462":["hashtag1","hashtag2"]},{"1399379456":["hashtag1","hashtag2"]},{"1399379465":["hashtag1","hashtag2"]},{"1399379459":["hashtag1","hashtag2"]},{"1399379464":["hashtag1","hashtag2"]},{"1399379463":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379462, 1399379456, 1399379465, 1399379459, 1399379464, 1399379463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95350408554077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:31:22.709167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/16/image_14122025_20_16_43_9849.jpg', '/home/pi/Desktop/images/14122025/20/16/image_14122025_20_16_54_10820.jpg', '/home/pi/Desktop/images/14122025/20/16/image_14122025_20_17_04_9917.jpg', '/home/pi/Desktop/images/14122025/20/17/image_14122025_20_17_23_9770.jpg', '/home/pi/Desktop/images/14122025/20/17/image_14122025_20_17_34_10832.jpg', '/home/pi/Desktop/images/14122025/20/17/image_14122025_20_17_44_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/16/image_14122025_20_16_43_9849.jpg
/home/pi/Desktop/images/14122025/20/16/image_14122025_20_16_54_10820.jpg
/home/pi/Desktop/images/14122025/20/16/image_14122025_20_17_04_9917.jpg
/home/pi/Desktop/images/14122025/20/17/image_14122025_20_17_23_9770.jpg
/home/pi/Desktop/images/14122025/20/17/image_14122025_20_17_34_10832.jpg
/home/pi/Desktop/images/14122025/20/17/image_14122025_20_17_44_9723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379474","1399379477","1399379471","1399379467","1399379472","1399379469"],"photo_ids_order":["1399379467","1399379469","1399379471","1399379472","1399379474","1399379477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1719399fe762a3abf10a93dad9646671.jpg","text":"TemporaryFile(/tmp/multipartBody2664483349656821409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740743361,"filename":"image_14122025_20_17_34_10832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b8ca8ae6692ed2e33c715796a89a9d2e.jpg","text":"TemporaryFile(/tmp/multipartBody4204725897756438032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740743361,"filename":"image_14122025_20_17_44_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5c33e71f7f89065bd204cea3d270e55a.jpg","text":"TemporaryFile(/tmp/multipartBody7855564118411483089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740743361,"filename":"image_14122025_20_17_04_9917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/01e3c7e654ba7f440a2ad3502a3315b2.jpg","text":"TemporaryFile(/tmp/multipartBody6945936830501495051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740743361,"filename":"image_14122025_20_16_43_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/af89dbd817bfede9d4e6750aec7b9fa6.jpg","text":"TemporaryFile(/tmp/multipartBody4790999384575566780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740743361,"filename":"image_14122025_20_17_23_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/89f5e0365e46350829aee6ffac707491.jpg","text":"TemporaryFile(/tmp/multipartBody7082427424694011144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740743361,"filename":"image_14122025_20_16_54_10820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379471","file1":"1399379469","file0":"1399379467","file4":"1399379474","file5":"1399379477","file3":"1399379472"},"map_files_photo_id_array":[{"photo_id":"1399379477","filename":"file5"},{"photo_id":"1399379471","filename":"file2"},{"photo_id":"1399379474","filename":"file4"},{"photo_id":"1399379469","filename":"file1"},{"photo_id":"1399379467","filename":"file0"},{"photo_id":"1399379472","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379474":["hashtag1","hashtag2"]},{"1399379477":["hashtag1","hashtag2"]},{"1399379471":["hashtag1","hashtag2"]},{"1399379467":["hashtag1","hashtag2"]},{"1399379472":["hashtag1","hashtag2"]},{"1399379469":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379474, 1399379477, 1399379471, 1399379467, 1399379472, 1399379469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.462801933288574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:32:02.348529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/17/image_14122025_20_17_54_9748.jpg', '/home/pi/Desktop/images/14122025/20/17/image_14122025_20_18_03_9685.jpg', '/home/pi/Desktop/images/14122025/20/18/image_14122025_20_18_14_10746.jpg', '/home/pi/Desktop/images/14122025/20/18/image_14122025_20_18_24_9628.jpg', '/home/pi/Desktop/images/14122025/20/18/image_14122025_20_18_34_9727.jpg', '/home/pi/Desktop/images/14122025/20/18/image_14122025_20_18_44_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/17/image_14122025_20_17_54_9748.jpg
/home/pi/Desktop/images/14122025/20/17/image_14122025_20_18_03_9685.jpg
/home/pi/Desktop/images/14122025/20/18/image_14122025_20_18_14_10746.jpg
/home/pi/Desktop/images/14122025/20/18/image_14122025_20_18_24_9628.jpg
/home/pi/Desktop/images/14122025/20/18/image_14122025_20_18_34_9727.jpg
/home/pi/Desktop/images/14122025/20/18/image_14122025_20_18_44_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":["1399379480","1399379483","1399379485","1399379479","1399379482","1399379481"],"photo_ids_order":["1399379479","1399379480","1399379481","1399379482","1399379483","1399379485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ab12d8513dc1fd380a7c0229341351b.jpg","text":"TemporaryFile(/tmp/multipartBody6408140628011676277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740782991,"filename":"image_14122025_20_18_03_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3316ca3adbaa75ab4e5554783e66e23.jpg","text":"TemporaryFile(/tmp/multipartBody3798486714059978928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740782991,"filename":"image_14122025_20_18_34_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ca9cf1b95922fd815168136d9aa7e2d3.jpg","text":"TemporaryFile(/tmp/multipartBody5242511958040515543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740782991,"filename":"image_14122025_20_18_44_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6704e1b5ea6883a9853f7c3d3f338325.jpg","text":"TemporaryFile(/tmp/multipartBody1726385669555541556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740782991,"filename":"image_14122025_20_17_54_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6865886663a17de483cb097f786ea34d.jpg","text":"TemporaryFile(/tmp/multipartBody294744269836000395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740782991,"filename":"image_14122025_20_18_24_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90542d9dd53575f3cacf66412b57f358.jpg","text":"TemporaryFile(/tmp/multipartBody5542615434805408714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740782991,"filename":"image_14122025_20_18_14_10746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379481","file1":"1399379480","file0":"1399379479","file4":"1399379483","file5":"1399379485","file3":"1399379482"},"map_files_photo_id_array":[{"photo_id":"1399379485","filename":"file5"},{"photo_id":"1399379481","filename":"file2"},{"photo_id":"1399379483","filename":"file4"},{"photo_id":"1399379480","filename":"file1"},{"photo_id":"1399379479","filename":"file0"},{"photo_id":"1399379482","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379480":["hashtag1","hashtag2"]},{"1399379483":["hashtag1","hashtag2"]},{"1399379485":["hashtag1","hashtag2"]},{"1399379479":["hashtag1","hashtag2"]},{"1399379482":["hashtag1","hashtag2"]},{"1399379481":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379480, 1399379483, 1399379485, 1399379479, 1399379482, 1399379481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.798656702041626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:32:41.871420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_17_1779.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_19_1848.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_21_1686.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_22_1852.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_26_3788.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_29_2298.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_17_1779.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_19_1848.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_21_1686.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_22_1852.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_26_3788.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_29_2298.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379495","1399379498","1399379497","1399379494","1399379496","1399379490"],"photo_ids_order":["1399379490","1399379494","1399379495","1399379496","1399379497","1399379498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/47b96c23d6c607e944a7f5966beda63b.jpg","text":"TemporaryFile(/tmp/multipartBody4313124811559109973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740822832,"filename":"image_04112025_14_42_21_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e47f683a897f8c5ebe7a3ee82996303.jpg","text":"TemporaryFile(/tmp/multipartBody728223390672052889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740822832,"filename":"image_04112025_14_42_29_2298.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/339d24840cfd0ea696006b774c9178af.jpg","text":"TemporaryFile(/tmp/multipartBody3405793624762818792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740822832,"filename":"image_04112025_14_42_26_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6b0ee24babc9645a91380263d60f1b6.jpg","text":"TemporaryFile(/tmp/multipartBody6565330454806699558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740822832,"filename":"image_04112025_14_42_19_1848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/06852592ec4503a1f6782c85449a2c40.jpg","text":"TemporaryFile(/tmp/multipartBody6907276032532141714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740822832,"filename":"image_04112025_14_42_22_1852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19ff20217150cbd62d5784ce7b45022c.jpg","text":"TemporaryFile(/tmp/multipartBody2048768857767665432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740822832,"filename":"image_04112025_14_42_17_1779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379495","file1":"1399379494","file0":"1399379490","file4":"1399379497","file5":"1399379498","file3":"1399379496"},"map_files_photo_id_array":[{"photo_id":"1399379498","filename":"file5"},{"photo_id":"1399379495","filename":"file2"},{"photo_id":"1399379497","filename":"file4"},{"photo_id":"1399379494","filename":"file1"},{"photo_id":"1399379490","filename":"file0"},{"photo_id":"1399379496","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379495":["hashtag1","hashtag2"]},{"1399379498":["hashtag1","hashtag2"]},{"1399379497":["hashtag1","hashtag2"]},{"1399379494":["hashtag1","hashtag2"]},{"1399379496":["hashtag1","hashtag2"]},{"1399379490":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379495, 1399379498, 1399379497, 1399379494, 1399379496, 1399379490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30942106246948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:33:22.189908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/18/image_14122025_20_18_54_9857.jpg', '/home/pi/Desktop/images/14122025/20/18/image_14122025_20_19_04_9570.jpg', '/home/pi/Desktop/images/14122025/20/19/image_14122025_20_19_13_9692.jpg', '/home/pi/Desktop/images/14122025/20/19/image_14122025_20_19_24_10685.jpg', '/home/pi/Desktop/images/14122025/20/19/image_14122025_20_19_34_9555.jpg', '/home/pi/Desktop/images/14122025/20/19/image_14122025_20_19_44_10212.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/18/image_14122025_20_18_54_9857.jpg
/home/pi/Desktop/images/14122025/20/18/image_14122025_20_19_04_9570.jpg
/home/pi/Desktop/images/14122025/20/19/image_14122025_20_19_13_9692.jpg
/home/pi/Desktop/images/14122025/20/19/image_14122025_20_19_24_10685.jpg
/home/pi/Desktop/images/14122025/20/19/image_14122025_20_19_34_9555.jpg
/home/pi/Desktop/images/14122025/20/19/image_14122025_20_19_44_10212.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379505","1399379507","1399379501","1399379503","1399379509","1399379499"],"photo_ids_order":["1399379499","1399379501","1399379503","1399379505","1399379507","1399379509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7b04873f6d09c4c725d69be2f4a954f2.jpg","text":"TemporaryFile(/tmp/multipartBody2080148857981902491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740862840,"filename":"image_14122025_20_19_24_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/255bb1237fd39b3b1783e5bb86fc6b22.jpg","text":"TemporaryFile(/tmp/multipartBody5069631153690897523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740862840,"filename":"image_14122025_20_19_34_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e6e4434838cbd2cf063e00b948867c95.jpg","text":"TemporaryFile(/tmp/multipartBody6652057253724437228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740862840,"filename":"image_14122025_20_19_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/12/14/4f36ab9408dd3cda5c50bdc1da2a00b0.jpg","text":"TemporaryFile(/tmp/multipartBody5516807389889368367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740862840,"filename":"image_14122025_20_19_13_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/af487659a7ec3ab06463c8736cfa6bd8.jpg","text":"TemporaryFile(/tmp/multipartBody3220278875405236152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740862840,"filename":"image_14122025_20_19_44_10212.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/44d09a67425146857ca396acf5b27fea.jpg","text":"TemporaryFile(/tmp/multipartBody4451548084721028030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740862840,"filename":"image_14122025_20_18_54_9857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379503","file1":"1399379501","file0":"1399379499","file4":"1399379507","file5":"1399379509","file3":"1399379505"},"map_files_photo_id_array":[{"photo_id":"1399379509","filename":"file5"},{"photo_id":"1399379503","filename":"file2"},{"photo_id":"1399379507","filename":"file4"},{"photo_id":"1399379501","filename":"file1"},{"photo_id":"1399379499","filename":"file0"},{"photo_id":"1399379505","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379505":["hashtag1","hashtag2"]},{"1399379507":["hashtag1","hashtag2"]},{"1399379501":["hashtag1","hashtag2"]},{"1399379503":["hashtag1","hashtag2"]},{"1399379509":["hashtag1","hashtag2"]},{"1399379499":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379505, 1399379507, 1399379501, 1399379503, 1399379509, 1399379499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48380398750305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:34:02.969581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/19/image_14122025_20_19_54_9827.jpg', '/home/pi/Desktop/images/14122025/20/20/image_14122025_20_20_24_9695.jpg', '/home/pi/Desktop/images/14122025/20/20/image_14122025_20_20_34_10646.jpg', '/home/pi/Desktop/images/14122025/20/20/image_14122025_20_20_44_9582.jpg', '/home/pi/Desktop/images/14122025/20/20/image_14122025_20_20_54_9750.jpg', '/home/pi/Desktop/images/14122025/20/20/image_14122025_20_21_04_10763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/19/image_14122025_20_19_54_9827.jpg
/home/pi/Desktop/images/14122025/20/20/image_14122025_20_20_24_9695.jpg
/home/pi/Desktop/images/14122025/20/20/image_14122025_20_20_34_10646.jpg
/home/pi/Desktop/images/14122025/20/20/image_14122025_20_20_44_9582.jpg
/home/pi/Desktop/images/14122025/20/20/image_14122025_20_20_54_9750.jpg
/home/pi/Desktop/images/14122025/20/20/image_14122025_20_21_04_10763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379514","1399379517","1399379511","1399379513","1399379515","1399379512"],"photo_ids_order":["1399379511","1399379512","1399379513","1399379514","1399379515","1399379517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2911b246f66be5e01070cd5e18c2b2bf.jpg","text":"TemporaryFile(/tmp/multipartBody8828299240074351364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740903687,"filename":"image_14122025_20_20_44_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6189baaf8409de4c20856029d9138b67.jpg","text":"TemporaryFile(/tmp/multipartBody9022149208849309719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740903687,"filename":"image_14122025_20_21_04_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be49f8900b2e142020952a9d8bd2bbcc.jpg","text":"TemporaryFile(/tmp/multipartBody2366558538350035209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740903687,"filename":"image_14122025_20_19_54_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bebdd0b6c8bfbbe2b5551aa0ad8f65f8.jpg","text":"TemporaryFile(/tmp/multipartBody7996783115113013237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740903687,"filename":"image_14122025_20_20_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/12/14/105e6b6bc3b476e70b2fee4d00b2e5fe.jpg","text":"TemporaryFile(/tmp/multipartBody7375310627231202162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740903687,"filename":"image_14122025_20_20_54_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f223345ef03e3663304363e06c68d1f3.jpg","text":"TemporaryFile(/tmp/multipartBody2176749491213504459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740903687,"filename":"image_14122025_20_20_24_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379513","file1":"1399379512","file0":"1399379511","file4":"1399379515","file5":"1399379517","file3":"1399379514"},"map_files_photo_id_array":[{"photo_id":"1399379517","filename":"file5"},{"photo_id":"1399379513","filename":"file2"},{"photo_id":"1399379515","filename":"file4"},{"photo_id":"1399379512","filename":"file1"},{"photo_id":"1399379511","filename":"file0"},{"photo_id":"1399379514","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379514":["hashtag1","hashtag2"]},{"1399379517":["hashtag1","hashtag2"]},{"1399379511":["hashtag1","hashtag2"]},{"1399379513":["hashtag1","hashtag2"]},{"1399379515":["hashtag1","hashtag2"]},{"1399379512":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379514, 1399379517, 1399379511, 1399379513, 1399379515, 1399379512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18212890625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:34:42.294424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_32_3512.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_35_2769.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_38_2787.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_41_3689.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_44_2683.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_47_2826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_32_3512.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_35_2769.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_38_2787.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_41_3689.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_44_2683.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_47_2826.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6096928119659424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:35:03.217237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/21/image_14122025_20_21_14_9690.jpg', '/home/pi/Desktop/images/14122025/20/21/image_14122025_20_21_24_9776.jpg', '/home/pi/Desktop/images/14122025/20/21/image_14122025_20_22_04_9800.jpg', '/home/pi/Desktop/images/14122025/20/22/image_14122025_20_22_13_9715.jpg', '/home/pi/Desktop/images/14122025/20/22/image_14122025_20_22_33_9327.jpg', '/home/pi/Desktop/images/14122025/20/22/image_14122025_20_22_44_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/21/image_14122025_20_21_14_9690.jpg
/home/pi/Desktop/images/14122025/20/21/image_14122025_20_21_24_9776.jpg
/home/pi/Desktop/images/14122025/20/21/image_14122025_20_22_04_9800.jpg
/home/pi/Desktop/images/14122025/20/22/image_14122025_20_22_13_9715.jpg
/home/pi/Desktop/images/14122025/20/22/image_14122025_20_22_33_9327.jpg
/home/pi/Desktop/images/14122025/20/22/image_14122025_20_22_44_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":["1399379535","1399379529","1399379531","1399379533","1399379530","1399379532"],"photo_ids_order":["1399379529","1399379530","1399379531","1399379532","1399379533","1399379535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c04e18275a961a25dc8c9aab7ffd39e.jpg","text":"TemporaryFile(/tmp/multipartBody1522482981878606508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740963888,"filename":"image_14122025_20_22_44_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9a888e1043561bfafba9fd56d8820ca.jpg","text":"TemporaryFile(/tmp/multipartBody7316595467056107744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740963888,"filename":"image_14122025_20_21_14_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c84f0a8a64a2ae7013a6392bc800f11c.jpg","text":"TemporaryFile(/tmp/multipartBody1651211711795512441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740963888,"filename":"image_14122025_20_22_04_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b37c1473fcb302c7290cb2c3a7325b7.jpg","text":"TemporaryFile(/tmp/multipartBody8095114929632131394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740963888,"filename":"image_14122025_20_22_33_9327.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/805c76b12dd02a27df9b2147b24b3e59.jpg","text":"TemporaryFile(/tmp/multipartBody7660538509774160551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740963888,"filename":"image_14122025_20_21_24_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/146729f4f07a20f9361eddb3c38dc96e.jpg","text":"TemporaryFile(/tmp/multipartBody2654618708392515403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765740963888,"filename":"image_14122025_20_22_13_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379531","file1":"1399379530","file0":"1399379529","file4":"1399379533","file5":"1399379535","file3":"1399379532"},"map_files_photo_id_array":[{"photo_id":"1399379535","filename":"file5"},{"photo_id":"1399379531","filename":"file2"},{"photo_id":"1399379533","filename":"file4"},{"photo_id":"1399379530","filename":"file1"},{"photo_id":"1399379529","filename":"file0"},{"photo_id":"1399379532","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379535":["hashtag1","hashtag2"]},{"1399379529":["hashtag1","hashtag2"]},{"1399379531":["hashtag1","hashtag2"]},{"1399379533":["hashtag1","hashtag2"]},{"1399379530":["hashtag1","hashtag2"]},{"1399379532":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379535, 1399379529, 1399379531, 1399379533, 1399379530, 1399379532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24349093437195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:35:42.517792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_32_3512.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_35_2769.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_38_2787.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_41_3689.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_44_2683.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_47_2826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_32_3512.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_35_2769.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_38_2787.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_41_3689.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_44_2683.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_47_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":["1399379543","1399379546","1399379540","1399379542","1399379545","1399379544"],"photo_ids_order":["1399379540","1399379542","1399379543","1399379544","1399379545","1399379546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ee97176c350522759035217f9769be5.jpg","text":"TemporaryFile(/tmp/multipartBody6193338374157707876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741003179,"filename":"image_04112025_14_42_38_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3970d4ce7fe454f49a4d569b8a2c9b1c.jpg","text":"TemporaryFile(/tmp/multipartBody1624202266603656393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741003179,"filename":"image_04112025_14_42_47_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef9779a9d4814192a48fd67aadea3733.jpg","text":"TemporaryFile(/tmp/multipartBody1225787919828902592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741003179,"filename":"image_04112025_14_42_32_3512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/17e2074676679ef907f48716b7ab72d9.jpg","text":"TemporaryFile(/tmp/multipartBody2044591023228593112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741003179,"filename":"image_04112025_14_42_35_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/99a501cfee69d807a5e16d183bf9bae0.jpg","text":"TemporaryFile(/tmp/multipartBody2579545536281321150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741003179,"filename":"image_04112025_14_42_44_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f57f685211dd01691211df8c542b62b3.jpg","text":"TemporaryFile(/tmp/multipartBody7819998557563275229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741003179,"filename":"image_04112025_14_42_41_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379543","file1":"1399379542","file0":"1399379540","file4":"1399379545","file5":"1399379546","file3":"1399379544"},"map_files_photo_id_array":[{"photo_id":"1399379546","filename":"file5"},{"photo_id":"1399379543","filename":"file2"},{"photo_id":"1399379545","filename":"file4"},{"photo_id":"1399379542","filename":"file1"},{"photo_id":"1399379540","filename":"file0"},{"photo_id":"1399379544","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379543":["hashtag1","hashtag2"]},{"1399379546":["hashtag1","hashtag2"]},{"1399379540":["hashtag1","hashtag2"]},{"1399379542":["hashtag1","hashtag2"]},{"1399379545":["hashtag1","hashtag2"]},{"1399379544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379543, 1399379546, 1399379540, 1399379542, 1399379545, 1399379544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9094181060791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:36:22.802622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/22/image_14122025_20_22_54_9779.jpg', '/home/pi/Desktop/images/14122025/20/22/image_14122025_20_23_04_9767.jpg', '/home/pi/Desktop/images/14122025/20/23/image_14122025_20_23_13_9834.jpg', '/home/pi/Desktop/images/14122025/20/23/image_14122025_20_23_24_10627.jpg', '/home/pi/Desktop/images/14122025/20/23/image_14122025_20_23_34_9610.jpg', '/home/pi/Desktop/images/14122025/20/23/image_14122025_20_23_43_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/22/image_14122025_20_22_54_9779.jpg
/home/pi/Desktop/images/14122025/20/22/image_14122025_20_23_04_9767.jpg
/home/pi/Desktop/images/14122025/20/23/image_14122025_20_23_13_9834.jpg
/home/pi/Desktop/images/14122025/20/23/image_14122025_20_23_24_10627.jpg
/home/pi/Desktop/images/14122025/20/23/image_14122025_20_23_34_9610.jpg
/home/pi/Desktop/images/14122025/20/23/image_14122025_20_23_43_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":["1399379555","1399379549","1399379551","1399379559","1399379553","1399379547"],"photo_ids_order":["1399379547","1399379549","1399379551","1399379553","1399379555","1399379559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a5e29e7b5c06769436bba8644b0d9e9d.jpg","text":"TemporaryFile(/tmp/multipartBody6088651117383703887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741043459,"filename":"image_14122025_20_23_34_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28989bc004f9fa0bfcb8b4f5dd75faae.jpg","text":"TemporaryFile(/tmp/multipartBody1403921538060034511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741043459,"filename":"image_14122025_20_23_04_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/20b3bea9384c67a3c9f7c2fc88c38940.jpg","text":"TemporaryFile(/tmp/multipartBody8865306857218301682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741043459,"filename":"image_14122025_20_23_13_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f5fa41d2ed68ac55ff7dd927a3560233.jpg","text":"TemporaryFile(/tmp/multipartBody6148221046554664392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741043459,"filename":"image_14122025_20_23_43_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a860e24ac8ef4a3befb157a1e110556.jpg","text":"TemporaryFile(/tmp/multipartBody2372429134893568844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741043459,"filename":"image_14122025_20_23_24_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf641a4e04a875f76c039bada49c0d5c.jpg","text":"TemporaryFile(/tmp/multipartBody7028947600210483495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741043459,"filename":"image_14122025_20_22_54_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379551","file1":"1399379549","file0":"1399379547","file4":"1399379555","file5":"1399379559","file3":"1399379553"},"map_files_photo_id_array":[{"photo_id":"1399379559","filename":"file5"},{"photo_id":"1399379551","filename":"file2"},{"photo_id":"1399379555","filename":"file4"},{"photo_id":"1399379549","filename":"file1"},{"photo_id":"1399379547","filename":"file0"},{"photo_id":"1399379553","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379555":["hashtag1","hashtag2"]},{"1399379549":["hashtag1","hashtag2"]},{"1399379551":["hashtag1","hashtag2"]},{"1399379559":["hashtag1","hashtag2"]},{"1399379553":["hashtag1","hashtag2"]},{"1399379547":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379555, 1399379549, 1399379551, 1399379559, 1399379553, 1399379547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16856384277344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:37:02.698338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/23/image_14122025_20_23_54_10290.jpg', '/home/pi/Desktop/images/14122025/20/23/image_14122025_20_24_04_10598.jpg', '/home/pi/Desktop/images/14122025/20/24/image_14122025_20_24_14_9615.jpg', '/home/pi/Desktop/images/14122025/20/24/image_14122025_20_24_23_9594.jpg', '/home/pi/Desktop/images/14122025/20/24/image_14122025_20_24_34_10713.jpg', '/home/pi/Desktop/images/14122025/20/24/image_14122025_20_24_44_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/23/image_14122025_20_23_54_10290.jpg
/home/pi/Desktop/images/14122025/20/23/image_14122025_20_24_04_10598.jpg
/home/pi/Desktop/images/14122025/20/24/image_14122025_20_24_14_9615.jpg
/home/pi/Desktop/images/14122025/20/24/image_14122025_20_24_23_9594.jpg
/home/pi/Desktop/images/14122025/20/24/image_14122025_20_24_34_10713.jpg
/home/pi/Desktop/images/14122025/20/24/image_14122025_20_24_44_9796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379567","1399379564","1399379566","1399379569","1399379571","1399379568"],"photo_ids_order":["1399379564","1399379566","1399379567","1399379568","1399379569","1399379571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c570ee681a78da460e94f59b98ce3a18.jpg","text":"TemporaryFile(/tmp/multipartBody6295390990664229996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741083376,"filename":"image_14122025_20_24_14_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f113ad8b8c7c06946a902fb1cc61839a.jpg","text":"TemporaryFile(/tmp/multipartBody1477316504134512596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741083376,"filename":"image_14122025_20_23_54_10290.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9ef7b2abecb85ca6bb2c4043a53fb89c.jpg","text":"TemporaryFile(/tmp/multipartBody5465380871511404575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741083376,"filename":"image_14122025_20_24_04_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f82c65d8bcfa002ba2f6f7dcd20497b.jpg","text":"TemporaryFile(/tmp/multipartBody2815411035523779952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741083376,"filename":"image_14122025_20_24_34_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/62d2b4f70fa690f9038ee13476b35726.jpg","text":"TemporaryFile(/tmp/multipartBody2017536376179000872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741083376,"filename":"image_14122025_20_24_44_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f918bf8f884afaa9663d2654a044477b.jpg","text":"TemporaryFile(/tmp/multipartBody2462854540480687345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741083376,"filename":"image_14122025_20_24_23_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379567","file1":"1399379566","file0":"1399379564","file4":"1399379569","file5":"1399379571","file3":"1399379568"},"map_files_photo_id_array":[{"photo_id":"1399379571","filename":"file5"},{"photo_id":"1399379567","filename":"file2"},{"photo_id":"1399379569","filename":"file4"},{"photo_id":"1399379566","filename":"file1"},{"photo_id":"1399379564","filename":"file0"},{"photo_id":"1399379568","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379567":["hashtag1","hashtag2"]},{"1399379564":["hashtag1","hashtag2"]},{"1399379566":["hashtag1","hashtag2"]},{"1399379569":["hashtag1","hashtag2"]},{"1399379571":["hashtag1","hashtag2"]},{"1399379568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379567, 1399379564, 1399379566, 1399379569, 1399379571, 1399379568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48415541648865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:37:42.020060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_49_2639.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_53_3064.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_56_3642.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_59_3176.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_02_2622.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_05_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_49_2639.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_53_3064.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_56_3642.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_59_3176.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_02_2622.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_05_2636.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6511261463165283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:38:02.776446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/24/image_14122025_20_24_53_9566.jpg', '/home/pi/Desktop/images/14122025/20/24/image_14122025_20_25_04_10632.jpg', '/home/pi/Desktop/images/14122025/20/25/image_14122025_20_25_14_9667.jpg', '/home/pi/Desktop/images/14122025/20/25/image_14122025_20_25_24_9732.jpg', '/home/pi/Desktop/images/14122025/20/25/image_14122025_20_25_34_10741.jpg', '/home/pi/Desktop/images/14122025/20/25/image_14122025_20_25_44_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/24/image_14122025_20_24_53_9566.jpg
/home/pi/Desktop/images/14122025/20/24/image_14122025_20_25_04_10632.jpg
/home/pi/Desktop/images/14122025/20/25/image_14122025_20_25_14_9667.jpg
/home/pi/Desktop/images/14122025/20/25/image_14122025_20_25_24_9732.jpg
/home/pi/Desktop/images/14122025/20/25/image_14122025_20_25_34_10741.jpg
/home/pi/Desktop/images/14122025/20/25/image_14122025_20_25_44_9790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379585","1399379588","1399379582","1399379584","1399379583","1399379586"],"photo_ids_order":["1399379582","1399379583","1399379584","1399379585","1399379586","1399379588"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c573f98b5140fec05363fc80b609bdaf.jpg","text":"TemporaryFile(/tmp/multipartBody6090749202702769639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741143437,"filename":"image_14122025_20_25_24_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bfaf1d841b37c69e6b23c5be1dda1f84.jpg","text":"TemporaryFile(/tmp/multipartBody8605991548394217428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741143437,"filename":"image_14122025_20_25_44_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a5bf761ef7d217da3862325b3af745e8.jpg","text":"TemporaryFile(/tmp/multipartBody6833599009464522740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741143437,"filename":"image_14122025_20_24_53_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/298322b5cac78712f271b8b4e39bb5a7.jpg","text":"TemporaryFile(/tmp/multipartBody1230768156948879987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741143437,"filename":"image_14122025_20_25_14_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba76a94796b71cd64dea21407aafbdfa.jpg","text":"TemporaryFile(/tmp/multipartBody8786673510196939756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741143437,"filename":"image_14122025_20_25_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/12/14/71d343fe5c1348d2eff0b11c35e69d33.jpg","text":"TemporaryFile(/tmp/multipartBody518521287411639525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741143437,"filename":"image_14122025_20_25_34_10741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379584","file1":"1399379583","file0":"1399379582","file4":"1399379586","file5":"1399379588","file3":"1399379585"},"map_files_photo_id_array":[{"photo_id":"1399379588","filename":"file5"},{"photo_id":"1399379584","filename":"file2"},{"photo_id":"1399379586","filename":"file4"},{"photo_id":"1399379583","filename":"file1"},{"photo_id":"1399379582","filename":"file0"},{"photo_id":"1399379585","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379585":["hashtag1","hashtag2"]},{"1399379588":["hashtag1","hashtag2"]},{"1399379582":["hashtag1","hashtag2"]},{"1399379584":["hashtag1","hashtag2"]},{"1399379583":["hashtag1","hashtag2"]},{"1399379586":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379585, 1399379588, 1399379582, 1399379584, 1399379583, 1399379586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.384071588516235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:38:42.231023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_49_2639.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_53_3064.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_56_3642.jpg', '/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_59_3176.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_02_2622.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_05_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_49_2639.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_53_3064.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_56_3642.jpg
/home/pi/Desktop/images/04112025/14/42/image_04112025_14_42_59_3176.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_02_2622.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_05_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":["1399379601","1399379597","1399379599","1399379593","1399379595","1399379598"],"photo_ids_order":["1399379593","1399379595","1399379597","1399379598","1399379599","1399379601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b22995d9e69d5f568b1f257a86f20bae.jpg","text":"TemporaryFile(/tmp/multipartBody486197828802351620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741182863,"filename":"image_04112025_14_43_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/12/14/0b2fb8f05f31861ae9b2f6f3d2204d8b.jpg","text":"TemporaryFile(/tmp/multipartBody8148657523675268195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741182863,"filename":"image_04112025_14_42_56_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9c0cab9c9ff4b8cd37d69fb181d05f2.jpg","text":"TemporaryFile(/tmp/multipartBody378973698537150303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741182863,"filename":"image_04112025_14_43_02_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4fcecb637f1b497b98c2b27eec447d28.jpg","text":"TemporaryFile(/tmp/multipartBody6352896429437009040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741182863,"filename":"image_04112025_14_42_49_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/03ae9ada6008ba5aefe27bc922dc17a2.jpg","text":"TemporaryFile(/tmp/multipartBody2420088236300751342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741182863,"filename":"image_04112025_14_42_53_3064.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/37f650f0c825bd19e081af24162a3599.jpg","text":"TemporaryFile(/tmp/multipartBody521293451178433348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741182863,"filename":"image_04112025_14_42_59_3176.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379597","file1":"1399379595","file0":"1399379593","file4":"1399379599","file5":"1399379601","file3":"1399379598"},"map_files_photo_id_array":[{"photo_id":"1399379601","filename":"file5"},{"photo_id":"1399379597","filename":"file2"},{"photo_id":"1399379599","filename":"file4"},{"photo_id":"1399379595","filename":"file1"},{"photo_id":"1399379593","filename":"file0"},{"photo_id":"1399379598","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379601":["hashtag1","hashtag2"]},{"1399379597":["hashtag1","hashtag2"]},{"1399379599":["hashtag1","hashtag2"]},{"1399379593":["hashtag1","hashtag2"]},{"1399379595":["hashtag1","hashtag2"]},{"1399379598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379601, 1399379597, 1399379599, 1399379593, 1399379595, 1399379598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07096982002258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:39:22.450923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/25/image_14122025_20_25_54_9717.jpg', '/home/pi/Desktop/images/14122025/20/26/image_14122025_20_26_14_10697.jpg', '/home/pi/Desktop/images/14122025/20/26/image_14122025_20_26_24_9648.jpg', '/home/pi/Desktop/images/14122025/20/26/image_14122025_20_26_33_9852.jpg', '/home/pi/Desktop/images/14122025/20/26/image_14122025_20_26_54_9530.jpg', '/home/pi/Desktop/images/14122025/20/26/image_14122025_20_27_04_9847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/25/image_14122025_20_25_54_9717.jpg
/home/pi/Desktop/images/14122025/20/26/image_14122025_20_26_14_10697.jpg
/home/pi/Desktop/images/14122025/20/26/image_14122025_20_26_24_9648.jpg
/home/pi/Desktop/images/14122025/20/26/image_14122025_20_26_33_9852.jpg
/home/pi/Desktop/images/14122025/20/26/image_14122025_20_26_54_9530.jpg
/home/pi/Desktop/images/14122025/20/26/image_14122025_20_27_04_9847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379607","1399379609","1399379603","1399379614","1399379611","1399379605"],"photo_ids_order":["1399379603","1399379605","1399379607","1399379609","1399379611","1399379614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90d2eeb8ed0ffdfe7e13bd06b0c587d3.jpg","text":"TemporaryFile(/tmp/multipartBody8271179673020037998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741223065,"filename":"image_14122025_20_26_24_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f5ebe428c01090d0df77ec65531434f.jpg","text":"TemporaryFile(/tmp/multipartBody7515765974688586079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741223065,"filename":"image_14122025_20_26_33_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe893156759ccac65188db8e4b246b28.jpg","text":"TemporaryFile(/tmp/multipartBody8909088971832483191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741223065,"filename":"image_14122025_20_25_54_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8521b235bebb319f05feb0d97cff19f7.jpg","text":"TemporaryFile(/tmp/multipartBody941835588518229521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741223065,"filename":"image_14122025_20_27_04_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a95413e2b08dd269b8007b1c31cb3b73.jpg","text":"TemporaryFile(/tmp/multipartBody6779607954541465204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741223065,"filename":"image_14122025_20_26_54_9530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/668a2560d55a697504009f55d458d20f.jpg","text":"TemporaryFile(/tmp/multipartBody2663398420421085926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741223065,"filename":"image_14122025_20_26_14_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379607","file1":"1399379605","file0":"1399379603","file4":"1399379611","file5":"1399379614","file3":"1399379609"},"map_files_photo_id_array":[{"photo_id":"1399379614","filename":"file5"},{"photo_id":"1399379607","filename":"file2"},{"photo_id":"1399379611","filename":"file4"},{"photo_id":"1399379605","filename":"file1"},{"photo_id":"1399379603","filename":"file0"},{"photo_id":"1399379609","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379607":["hashtag1","hashtag2"]},{"1399379609":["hashtag1","hashtag2"]},{"1399379603":["hashtag1","hashtag2"]},{"1399379614":["hashtag1","hashtag2"]},{"1399379611":["hashtag1","hashtag2"]},{"1399379605":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379607, 1399379609, 1399379603, 1399379614, 1399379611, 1399379605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2182514667511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:40:03.208240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/27/image_14122025_20_27_13_9710.jpg', '/home/pi/Desktop/images/14122025/20/27/image_14122025_20_27_24_10830.jpg', '/home/pi/Desktop/images/14122025/20/27/image_14122025_20_27_34_9576.jpg', '/home/pi/Desktop/images/14122025/20/27/image_14122025_20_27_43_9605.jpg', '/home/pi/Desktop/images/14122025/20/27/image_14122025_20_27_54_10648.jpg', '/home/pi/Desktop/images/14122025/20/27/image_14122025_20_28_04_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/27/image_14122025_20_27_13_9710.jpg
/home/pi/Desktop/images/14122025/20/27/image_14122025_20_27_24_10830.jpg
/home/pi/Desktop/images/14122025/20/27/image_14122025_20_27_34_9576.jpg
/home/pi/Desktop/images/14122025/20/27/image_14122025_20_27_43_9605.jpg
/home/pi/Desktop/images/14122025/20/27/image_14122025_20_27_54_10648.jpg
/home/pi/Desktop/images/14122025/20/27/image_14122025_20_28_04_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":["1399379622","1399379616","1399379619","1399379618","1399379620","1399379617"],"photo_ids_order":["1399379616","1399379617","1399379618","1399379619","1399379620","1399379622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36a2887c880368d3c6d8d95347c18dc8.jpg","text":"TemporaryFile(/tmp/multipartBody6184308184908528839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741263875,"filename":"image_14122025_20_28_04_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ca31fb4c0258b3b3c259101d034cbd8d.jpg","text":"TemporaryFile(/tmp/multipartBody7978854761849024680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741263875,"filename":"image_14122025_20_27_13_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8acdc0b549beed94890a2ca902407a83.jpg","text":"TemporaryFile(/tmp/multipartBody5763794803940090721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741263875,"filename":"image_14122025_20_27_43_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/82de3f0327c6e495569b8163c3e7c8fc.jpg","text":"TemporaryFile(/tmp/multipartBody1352328753604582498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741263875,"filename":"image_14122025_20_27_34_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd8dee3f34eefce38be9d1d7ad8fd4a0.jpg","text":"TemporaryFile(/tmp/multipartBody3072259805383187195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741263875,"filename":"image_14122025_20_27_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/df7cd266e56513ed0667e19852a79679.jpg","text":"TemporaryFile(/tmp/multipartBody4309551030146118949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741263875,"filename":"image_14122025_20_27_24_10830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379618","file1":"1399379617","file0":"1399379616","file4":"1399379620","file5":"1399379622","file3":"1399379619"},"map_files_photo_id_array":[{"photo_id":"1399379622","filename":"file5"},{"photo_id":"1399379618","filename":"file2"},{"photo_id":"1399379620","filename":"file4"},{"photo_id":"1399379617","filename":"file1"},{"photo_id":"1399379616","filename":"file0"},{"photo_id":"1399379619","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379622":["hashtag1","hashtag2"]},{"1399379616":["hashtag1","hashtag2"]},{"1399379619":["hashtag1","hashtag2"]},{"1399379618":["hashtag1","hashtag2"]},{"1399379620":["hashtag1","hashtag2"]},{"1399379617":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379622, 1399379616, 1399379619, 1399379618, 1399379620, 1399379617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.156160831451416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:40:42.654792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_07_2787.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_11_3581.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_14_2570.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_17_3551.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_21_4259.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_23_1612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_07_2787.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_11_3581.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_14_2570.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_17_3551.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_21_4259.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_23_1612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379634","1399379628","1399379633","1399379632","1399379635","1399379631"],"photo_ids_order":["1399379628","1399379631","1399379632","1399379633","1399379634","1399379635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/efabfd83fc6a97e2eea9ef44f01c469b.jpg","text":"TemporaryFile(/tmp/multipartBody8711575387029300496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741303410,"filename":"image_04112025_14_43_21_4259.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1cff23fe80ac6127d5a4df99fb5193e5.jpg","text":"TemporaryFile(/tmp/multipartBody2058537949365587929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741303410,"filename":"image_04112025_14_43_07_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9cd7f054197722b22c97312c4d3eb324.jpg","text":"TemporaryFile(/tmp/multipartBody1997982955113251372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741303410,"filename":"image_04112025_14_43_17_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7630c07aee3014340723952dde73f47c.jpg","text":"TemporaryFile(/tmp/multipartBody8720944435045335237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741303410,"filename":"image_04112025_14_43_14_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92f4bafba1dbc1604ba759a6a1c6291a.jpg","text":"TemporaryFile(/tmp/multipartBody812171869359127354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741303410,"filename":"image_04112025_14_43_23_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/109595bb30c6c401223360d2100b4d23.jpg","text":"TemporaryFile(/tmp/multipartBody7627260147633522349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741303410,"filename":"image_04112025_14_43_11_3581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379632","file1":"1399379631","file0":"1399379628","file4":"1399379634","file5":"1399379635","file3":"1399379633"},"map_files_photo_id_array":[{"photo_id":"1399379635","filename":"file5"},{"photo_id":"1399379632","filename":"file2"},{"photo_id":"1399379634","filename":"file4"},{"photo_id":"1399379631","filename":"file1"},{"photo_id":"1399379628","filename":"file0"},{"photo_id":"1399379633","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379634":["hashtag1","hashtag2"]},{"1399379628":["hashtag1","hashtag2"]},{"1399379633":["hashtag1","hashtag2"]},{"1399379632":["hashtag1","hashtag2"]},{"1399379635":["hashtag1","hashtag2"]},{"1399379631":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379634, 1399379628, 1399379633, 1399379632, 1399379635, 1399379631)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.2404944896698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 20:41:31.896381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:41:41.815294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_26_2956.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_29_2667.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_32_3121.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_34_2638.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_38_3737.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_41_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_26_2956.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_29_2667.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_32_3121.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_34_2638.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_38_3737.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_41_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":["1399379642","1399379645","1399379647","1399379644","1399379643","1399379646"],"photo_ids_order":["1399379642","1399379643","1399379644","1399379645","1399379646","1399379647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb7f15a4f8f34643a52afb2e379d36b0.jpg","text":"TemporaryFile(/tmp/multipartBody7947156328986297206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741364546,"filename":"image_04112025_14_43_26_2956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/775cb0a6a414ab1407382cbba1c6b5a9.jpg","text":"TemporaryFile(/tmp/multipartBody6251480761492628971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741364546,"filename":"image_04112025_14_43_34_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/501897efd882cf0c9f1b2d016f2b0804.jpg","text":"TemporaryFile(/tmp/multipartBody8219689208040801108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741364546,"filename":"image_04112025_14_43_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/12/14/0711210684c3b29f51fcd43c6640c519.jpg","text":"TemporaryFile(/tmp/multipartBody8712491173352385278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741364546,"filename":"image_04112025_14_43_32_3121.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa8452a6f3aa0c9be007f94dd8e8ffdb.jpg","text":"TemporaryFile(/tmp/multipartBody2490124448074211241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741364546,"filename":"image_04112025_14_43_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/12/14/679fc60041264ada2644596ea6a3d166.jpg","text":"TemporaryFile(/tmp/multipartBody3916690509268277159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741364546,"filename":"image_04112025_14_43_38_3737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379644","file1":"1399379643","file0":"1399379642","file4":"1399379646","file5":"1399379647","file3":"1399379645"},"map_files_photo_id_array":[{"photo_id":"1399379647","filename":"file5"},{"photo_id":"1399379644","filename":"file2"},{"photo_id":"1399379646","filename":"file4"},{"photo_id":"1399379643","filename":"file1"},{"photo_id":"1399379642","filename":"file0"},{"photo_id":"1399379645","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379642":["hashtag1","hashtag2"]},{"1399379645":["hashtag1","hashtag2"]},{"1399379647":["hashtag1","hashtag2"]},{"1399379644":["hashtag1","hashtag2"]},{"1399379643":["hashtag1","hashtag2"]},{"1399379646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379642, 1399379645, 1399379647, 1399379644, 1399379643, 1399379646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.255523443222046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:42:22.199590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/28/image_14122025_20_28_13_9861.jpg', '/home/pi/Desktop/images/14122025/20/28/image_14122025_20_28_34_9726.jpg', '/home/pi/Desktop/images/14122025/20/28/image_14122025_20_28_44_9762.jpg', '/home/pi/Desktop/images/14122025/20/28/image_14122025_20_28_53_9757.jpg', '/home/pi/Desktop/images/14122025/20/28/image_14122025_20_29_04_10711.jpg', '/home/pi/Desktop/images/14122025/20/29/image_14122025_20_29_14_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/28/image_14122025_20_28_13_9861.jpg
/home/pi/Desktop/images/14122025/20/28/image_14122025_20_28_34_9726.jpg
/home/pi/Desktop/images/14122025/20/28/image_14122025_20_28_44_9762.jpg
/home/pi/Desktop/images/14122025/20/28/image_14122025_20_28_53_9757.jpg
/home/pi/Desktop/images/14122025/20/28/image_14122025_20_29_04_10711.jpg
/home/pi/Desktop/images/14122025/20/29/image_14122025_20_29_14_9722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379649","1399379660","1399379654","1399379648","1399379656","1399379652"],"photo_ids_order":["1399379648","1399379649","1399379652","1399379654","1399379656","1399379660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/67d1f3bd681769697fbd6b10b4cd67d9.jpg","text":"TemporaryFile(/tmp/multipartBody7352340551211802550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741402809,"filename":"image_14122025_20_28_34_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e307ed0dec03d4ce483198902794e3fc.jpg","text":"TemporaryFile(/tmp/multipartBody5343426788562695100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741402809,"filename":"image_14122025_20_29_14_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fa085ec34992287ef390ba075fb7358f.jpg","text":"TemporaryFile(/tmp/multipartBody3046237015448468138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741402809,"filename":"image_14122025_20_28_53_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bdede27bfc20384d00e2e4ee0448f8ea.jpg","text":"TemporaryFile(/tmp/multipartBody6605514162210169301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741402809,"filename":"image_14122025_20_28_13_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24edc93e9e05529ad57fca980294c998.jpg","text":"TemporaryFile(/tmp/multipartBody7451780207643486963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741402809,"filename":"image_14122025_20_29_04_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/994ec776b58dbc62c6344542df9b97ea.jpg","text":"TemporaryFile(/tmp/multipartBody6830083591505646038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741402809,"filename":"image_14122025_20_28_44_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379652","file1":"1399379649","file0":"1399379648","file4":"1399379656","file5":"1399379660","file3":"1399379654"},"map_files_photo_id_array":[{"photo_id":"1399379660","filename":"file5"},{"photo_id":"1399379652","filename":"file2"},{"photo_id":"1399379656","filename":"file4"},{"photo_id":"1399379649","filename":"file1"},{"photo_id":"1399379648","filename":"file0"},{"photo_id":"1399379654","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379649":["hashtag1","hashtag2"]},{"1399379660":["hashtag1","hashtag2"]},{"1399379654":["hashtag1","hashtag2"]},{"1399379648":["hashtag1","hashtag2"]},{"1399379656":["hashtag1","hashtag2"]},{"1399379652":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379649, 1399379660, 1399379654, 1399379648, 1399379656, 1399379652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62314558029175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:43:02.937306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/29/image_14122025_20_29_24_9725.jpg', '/home/pi/Desktop/images/14122025/20/29/image_14122025_20_29_34_10563.jpg', '/home/pi/Desktop/images/14122025/20/29/image_14122025_20_29_44_9679.jpg', '/home/pi/Desktop/images/14122025/20/29/image_14122025_20_29_53_9581.jpg', '/home/pi/Desktop/images/14122025/20/29/image_14122025_20_30_04_10711.jpg', '/home/pi/Desktop/images/14122025/20/30/image_14122025_20_30_14_10085.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/29/image_14122025_20_29_24_9725.jpg
/home/pi/Desktop/images/14122025/20/29/image_14122025_20_29_34_10563.jpg
/home/pi/Desktop/images/14122025/20/29/image_14122025_20_29_44_9679.jpg
/home/pi/Desktop/images/14122025/20/29/image_14122025_20_29_53_9581.jpg
/home/pi/Desktop/images/14122025/20/29/image_14122025_20_30_04_10711.jpg
/home/pi/Desktop/images/14122025/20/30/image_14122025_20_30_14_10085.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379666","1399379669","1399379671","1399379668","1399379670","1399379673"],"photo_ids_order":["1399379666","1399379668","1399379669","1399379670","1399379671","1399379673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/736aebf2d8edae21d6c71e978e10558c.jpg","text":"TemporaryFile(/tmp/multipartBody5281218585033305200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741443586,"filename":"image_14122025_20_29_24_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/10eda83936a9c9bdbbcde69b3ea43b20.jpg","text":"TemporaryFile(/tmp/multipartBody9092435113150897154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741443586,"filename":"image_14122025_20_29_44_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7b1dba825d028bbde4134fab13ba9893.jpg","text":"TemporaryFile(/tmp/multipartBody6877472896171139120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741443586,"filename":"image_14122025_20_30_04_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eafd81c98276e0181409a59c73a56ebd.jpg","text":"TemporaryFile(/tmp/multipartBody7484022157026418733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741443586,"filename":"image_14122025_20_29_34_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6942b77037a34a4c08559697ed668b83.jpg","text":"TemporaryFile(/tmp/multipartBody2917978156041788251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741443586,"filename":"image_14122025_20_29_53_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe9278b56c5f6831e3276cfecbfc971c.jpg","text":"TemporaryFile(/tmp/multipartBody1617058398960793401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741443586,"filename":"image_14122025_20_30_14_10085.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379669","file1":"1399379668","file0":"1399379666","file4":"1399379671","file5":"1399379673","file3":"1399379670"},"map_files_photo_id_array":[{"photo_id":"1399379673","filename":"file5"},{"photo_id":"1399379669","filename":"file2"},{"photo_id":"1399379671","filename":"file4"},{"photo_id":"1399379668","filename":"file1"},{"photo_id":"1399379666","filename":"file0"},{"photo_id":"1399379670","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379666":["hashtag1","hashtag2"]},{"1399379669":["hashtag1","hashtag2"]},{"1399379671":["hashtag1","hashtag2"]},{"1399379668":["hashtag1","hashtag2"]},{"1399379670":["hashtag1","hashtag2"]},{"1399379673":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379666, 1399379669, 1399379671, 1399379668, 1399379670, 1399379673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.566930294036865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:43:42.253851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_43_2723.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_47_3677.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_50_2639.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_52_2746.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_55_2826.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_59_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_43_2723.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_47_3677.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_50_2639.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_52_2746.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_55_2826.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_59_3663.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6267132759094238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:44:03.197468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/30/image_14122025_20_30_24_9900.jpg', '/home/pi/Desktop/images/14122025/20/30/image_14122025_20_30_34_9709.jpg', '/home/pi/Desktop/images/14122025/20/30/image_14122025_20_30_43_9611.jpg', '/home/pi/Desktop/images/14122025/20/30/image_14122025_20_30_54_10788.jpg', '/home/pi/Desktop/images/14122025/20/30/image_14122025_20_31_04_9666.jpg', '/home/pi/Desktop/images/14122025/20/31/image_14122025_20_31_13_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/30/image_14122025_20_30_24_9900.jpg
/home/pi/Desktop/images/14122025/20/30/image_14122025_20_30_34_9709.jpg
/home/pi/Desktop/images/14122025/20/30/image_14122025_20_30_43_9611.jpg
/home/pi/Desktop/images/14122025/20/30/image_14122025_20_30_54_10788.jpg
/home/pi/Desktop/images/14122025/20/30/image_14122025_20_31_04_9666.jpg
/home/pi/Desktop/images/14122025/20/31/image_14122025_20_31_13_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379690","1399379687","1399379692","1399379686","1399379689","1399379685"],"photo_ids_order":["1399379685","1399379686","1399379687","1399379689","1399379690","1399379692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/74a118a0677a783083bf7ecec7925697.jpg","text":"TemporaryFile(/tmp/multipartBody5913187535291455625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741503857,"filename":"image_14122025_20_31_04_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b2ef3afd231d33cdadd75d20f88aacb.jpg","text":"TemporaryFile(/tmp/multipartBody1246949839174852687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741503857,"filename":"image_14122025_20_30_43_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/947fef549d241c5a2ff0f9c7b967012f.jpg","text":"TemporaryFile(/tmp/multipartBody5391831549367188710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741503857,"filename":"image_14122025_20_31_13_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/921110904635ccb7495eb4a4ec02cffc.jpg","text":"TemporaryFile(/tmp/multipartBody8508501846547777246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741503857,"filename":"image_14122025_20_30_34_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54b4b1b571ecec5bb0f1cd32fa37e11e.jpg","text":"TemporaryFile(/tmp/multipartBody1946385288891323501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741503857,"filename":"image_14122025_20_30_54_10788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8f517f080282f52b8e6ff0781168f6d4.jpg","text":"TemporaryFile(/tmp/multipartBody4951306561428602109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741503857,"filename":"image_14122025_20_30_24_9900.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379687","file1":"1399379686","file0":"1399379685","file4":"1399379690","file5":"1399379692","file3":"1399379689"},"map_files_photo_id_array":[{"photo_id":"1399379692","filename":"file5"},{"photo_id":"1399379687","filename":"file2"},{"photo_id":"1399379690","filename":"file4"},{"photo_id":"1399379686","filename":"file1"},{"photo_id":"1399379685","filename":"file0"},{"photo_id":"1399379689","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379690":["hashtag1","hashtag2"]},{"1399379687":["hashtag1","hashtag2"]},{"1399379692":["hashtag1","hashtag2"]},{"1399379686":["hashtag1","hashtag2"]},{"1399379689":["hashtag1","hashtag2"]},{"1399379685":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379690, 1399379687, 1399379692, 1399379686, 1399379689, 1399379685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63166856765747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:44:42.485746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_43_2723.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_47_3677.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_50_2639.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_52_2746.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_55_2826.jpg', '/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_59_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_43_2723.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_47_3677.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_50_2639.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_52_2746.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_55_2826.jpg
/home/pi/Desktop/images/04112025/14/43/image_04112025_14_43_59_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":["1399379700","1399379699","1399379703","1399379702","1399379705","1399379701"],"photo_ids_order":["1399379699","1399379700","1399379701","1399379702","1399379703","1399379705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cbc4ab9d80611da56183548ba10101b4.jpg","text":"TemporaryFile(/tmp/multipartBody4824316875011722367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741543092,"filename":"image_04112025_14_43_47_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/303ff2e86481cb50786dd4493c410be3.jpg","text":"TemporaryFile(/tmp/multipartBody8575699102333960142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741543092,"filename":"image_04112025_14_43_43_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3a6021d8bec2ae380865ce67c80165d5.jpg","text":"TemporaryFile(/tmp/multipartBody3643477318110102233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741543092,"filename":"image_04112025_14_43_55_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c4e8a07a1fe5ede9832fa4ca7664acad.jpg","text":"TemporaryFile(/tmp/multipartBody6010064348052937967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741543092,"filename":"image_04112025_14_43_52_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/74aba33e3b240039ef1cbb4dd25e2b32.jpg","text":"TemporaryFile(/tmp/multipartBody2852552461073023653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741543092,"filename":"image_04112025_14_43_59_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b0d36d686b9fda45e8bf44ecf59f934.jpg","text":"TemporaryFile(/tmp/multipartBody635304783408326162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741543092,"filename":"image_04112025_14_43_50_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379701","file1":"1399379700","file0":"1399379699","file4":"1399379703","file5":"1399379705","file3":"1399379702"},"map_files_photo_id_array":[{"photo_id":"1399379705","filename":"file5"},{"photo_id":"1399379701","filename":"file2"},{"photo_id":"1399379703","filename":"file4"},{"photo_id":"1399379700","filename":"file1"},{"photo_id":"1399379699","filename":"file0"},{"photo_id":"1399379702","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379700":["hashtag1","hashtag2"]},{"1399379699":["hashtag1","hashtag2"]},{"1399379703":["hashtag1","hashtag2"]},{"1399379702":["hashtag1","hashtag2"]},{"1399379705":["hashtag1","hashtag2"]},{"1399379701":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379700, 1399379699, 1399379703, 1399379702, 1399379705, 1399379701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77634787559509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:45:22.769729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/31/image_14122025_20_31_24_10639.jpg', '/home/pi/Desktop/images/14122025/20/31/image_14122025_20_31_34_9771.jpg', '/home/pi/Desktop/images/14122025/20/31/image_14122025_20_31_44_9650.jpg', '/home/pi/Desktop/images/14122025/20/31/image_14122025_20_31_53_9822.jpg', '/home/pi/Desktop/images/14122025/20/31/image_14122025_20_32_04_10664.jpg', '/home/pi/Desktop/images/14122025/20/32/image_14122025_20_32_14_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/31/image_14122025_20_31_24_10639.jpg
/home/pi/Desktop/images/14122025/20/31/image_14122025_20_31_34_9771.jpg
/home/pi/Desktop/images/14122025/20/31/image_14122025_20_31_44_9650.jpg
/home/pi/Desktop/images/14122025/20/31/image_14122025_20_31_53_9822.jpg
/home/pi/Desktop/images/14122025/20/31/image_14122025_20_32_04_10664.jpg
/home/pi/Desktop/images/14122025/20/32/image_14122025_20_32_14_9725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379712","1399379714","1399379708","1399379716","1399379710","1399379707"],"photo_ids_order":["1399379707","1399379708","1399379710","1399379712","1399379714","1399379716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3a3962d87e681ee660fc29b02f7cf8c5.jpg","text":"TemporaryFile(/tmp/multipartBody3485913358275192807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741583385,"filename":"image_14122025_20_31_53_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90c20e21c185f6337660bbe3e805039d.jpg","text":"TemporaryFile(/tmp/multipartBody6410939053271579663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741583385,"filename":"image_14122025_20_32_04_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd719b53218074d440300e6f23a153c2.jpg","text":"TemporaryFile(/tmp/multipartBody7848095636121687825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741583385,"filename":"image_14122025_20_31_34_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e8f408d9764ec700200ac1e0b90290b.jpg","text":"TemporaryFile(/tmp/multipartBody8089559590461257383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741583385,"filename":"image_14122025_20_32_14_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f9d6e7a7a20db3c0784d52c5bcb8edf4.jpg","text":"TemporaryFile(/tmp/multipartBody6112912959952425402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741583385,"filename":"image_14122025_20_31_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81933706b2de877c3cca742a03eaa81a.jpg","text":"TemporaryFile(/tmp/multipartBody7973475410620405418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741583385,"filename":"image_14122025_20_31_24_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379710","file1":"1399379708","file0":"1399379707","file4":"1399379714","file5":"1399379716","file3":"1399379712"},"map_files_photo_id_array":[{"photo_id":"1399379716","filename":"file5"},{"photo_id":"1399379710","filename":"file2"},{"photo_id":"1399379714","filename":"file4"},{"photo_id":"1399379708","filename":"file1"},{"photo_id":"1399379707","filename":"file0"},{"photo_id":"1399379712","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379712":["hashtag1","hashtag2"]},{"1399379714":["hashtag1","hashtag2"]},{"1399379708":["hashtag1","hashtag2"]},{"1399379716":["hashtag1","hashtag2"]},{"1399379710":["hashtag1","hashtag2"]},{"1399379707":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379712, 1399379714, 1399379708, 1399379716, 1399379710, 1399379707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.329872369766235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:46:02.458143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/32/image_14122025_20_32_23_9670.jpg', '/home/pi/Desktop/images/14122025/20/32/image_14122025_20_32_34_10779.jpg', '/home/pi/Desktop/images/14122025/20/32/image_14122025_20_32_44_9702.jpg', '/home/pi/Desktop/images/14122025/20/32/image_14122025_20_32_54_9646.jpg', '/home/pi/Desktop/images/14122025/20/32/image_14122025_20_33_03_9805.jpg', '/home/pi/Desktop/images/14122025/20/33/image_14122025_20_33_14_10703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/32/image_14122025_20_32_23_9670.jpg
/home/pi/Desktop/images/14122025/20/32/image_14122025_20_32_34_10779.jpg
/home/pi/Desktop/images/14122025/20/32/image_14122025_20_32_44_9702.jpg
/home/pi/Desktop/images/14122025/20/32/image_14122025_20_32_54_9646.jpg
/home/pi/Desktop/images/14122025/20/32/image_14122025_20_33_03_9805.jpg
/home/pi/Desktop/images/14122025/20/33/image_14122025_20_33_14_10703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379721","1399379718","1399379720","1399379723","1399379722","1399379719"],"photo_ids_order":["1399379718","1399379719","1399379720","1399379721","1399379722","1399379723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e85ac53a36578146f05b7b3866469061.jpg","text":"TemporaryFile(/tmp/multipartBody8195251863471823289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741623086,"filename":"image_14122025_20_32_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e8bdc9135dbd5b42165f052bd6351e1b.jpg","text":"TemporaryFile(/tmp/multipartBody261350824626784338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741623086,"filename":"image_14122025_20_32_23_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/814729b56e495922442e990d853c5b0f.jpg","text":"TemporaryFile(/tmp/multipartBody8115790798129484100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741623086,"filename":"image_14122025_20_32_44_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f48103d38473b358b56926db1606725b.jpg","text":"TemporaryFile(/tmp/multipartBody6294699654114959754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741623086,"filename":"image_14122025_20_33_14_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9df6049c612d7f1063b83daad1c0a1b1.jpg","text":"TemporaryFile(/tmp/multipartBody281318645385847354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741623086,"filename":"image_14122025_20_33_03_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1aa3552c6d7a31e8ae0d46d2085ab27.jpg","text":"TemporaryFile(/tmp/multipartBody2617946230321050659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741623086,"filename":"image_14122025_20_32_34_10779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379720","file1":"1399379719","file0":"1399379718","file4":"1399379722","file5":"1399379723","file3":"1399379721"},"map_files_photo_id_array":[{"photo_id":"1399379723","filename":"file5"},{"photo_id":"1399379720","filename":"file2"},{"photo_id":"1399379722","filename":"file4"},{"photo_id":"1399379719","filename":"file1"},{"photo_id":"1399379718","filename":"file0"},{"photo_id":"1399379721","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379721":["hashtag1","hashtag2"]},{"1399379718":["hashtag1","hashtag2"]},{"1399379720":["hashtag1","hashtag2"]},{"1399379723":["hashtag1","hashtag2"]},{"1399379722":["hashtag1","hashtag2"]},{"1399379719":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379721, 1399379718, 1399379720, 1399379723, 1399379722, 1399379719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23871827125549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:46:41.942206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_02_2766.jpg', '/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_04_2679.jpg', '/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_08_3627.jpg', '/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_11_2674.jpg', '/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_13_2588.jpg', '/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_17_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_02_2766.jpg
/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_04_2679.jpg
/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_08_3627.jpg
/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_11_2674.jpg
/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_13_2588.jpg
/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_17_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":["1399379736","1399379738","1399379732","1399379734","1399379728","1399379730"],"photo_ids_order":["1399379728","1399379730","1399379732","1399379734","1399379736","1399379738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b28f91e0050dd1d3b37850461b7183a.jpg","text":"TemporaryFile(/tmp/multipartBody6751700005621069541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741662677,"filename":"image_04112025_14_44_13_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f8aca89f16822d619785592150b8e8a6.jpg","text":"TemporaryFile(/tmp/multipartBody7391974207007110416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741662677,"filename":"image_04112025_14_44_17_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d64a3d75d1c69637aa13e84d5d2f1c0.jpg","text":"TemporaryFile(/tmp/multipartBody8798223846677527207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741662677,"filename":"image_04112025_14_44_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/12/14/311599ea9357057ccba1023b422f2091.jpg","text":"TemporaryFile(/tmp/multipartBody2925683259469610121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741662677,"filename":"image_04112025_14_44_11_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e576a28987a9afd5e9da14ba015a6e1.jpg","text":"TemporaryFile(/tmp/multipartBody7983899895610432383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741662677,"filename":"image_04112025_14_44_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/12/14/a387781b65833e4f0b084fda2f309801.jpg","text":"TemporaryFile(/tmp/multipartBody7595410551221024964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741662677,"filename":"image_04112025_14_44_04_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379732","file1":"1399379730","file0":"1399379728","file4":"1399379736","file5":"1399379738","file3":"1399379734"},"map_files_photo_id_array":[{"photo_id":"1399379738","filename":"file5"},{"photo_id":"1399379732","filename":"file2"},{"photo_id":"1399379736","filename":"file4"},{"photo_id":"1399379730","filename":"file1"},{"photo_id":"1399379728","filename":"file0"},{"photo_id":"1399379734","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379736":["hashtag1","hashtag2"]},{"1399379738":["hashtag1","hashtag2"]},{"1399379732":["hashtag1","hashtag2"]},{"1399379734":["hashtag1","hashtag2"]},{"1399379728":["hashtag1","hashtag2"]},{"1399379730":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379736, 1399379738, 1399379732, 1399379734, 1399379728, 1399379730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48451638221741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:47:22.205423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/33/image_14122025_20_33_24_9636.jpg', '/home/pi/Desktop/images/14122025/20/33/image_14122025_20_33_33_9612.jpg', '/home/pi/Desktop/images/14122025/20/33/image_14122025_20_33_44_10620.jpg', '/home/pi/Desktop/images/14122025/20/33/image_14122025_20_33_54_9752.jpg', '/home/pi/Desktop/images/14122025/20/33/image_14122025_20_34_03_9804.jpg', '/home/pi/Desktop/images/14122025/20/34/image_14122025_20_34_13_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/33/image_14122025_20_33_24_9636.jpg
/home/pi/Desktop/images/14122025/20/33/image_14122025_20_33_33_9612.jpg
/home/pi/Desktop/images/14122025/20/33/image_14122025_20_33_44_10620.jpg
/home/pi/Desktop/images/14122025/20/33/image_14122025_20_33_54_9752.jpg
/home/pi/Desktop/images/14122025/20/33/image_14122025_20_34_03_9804.jpg
/home/pi/Desktop/images/14122025/20/34/image_14122025_20_34_13_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":["1399379747","1399379741","1399379749","1399379743","1399379745","1399379739"],"photo_ids_order":["1399379739","1399379741","1399379743","1399379745","1399379747","1399379749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9da249ff513ae24134badf8d9c90cbc.jpg","text":"TemporaryFile(/tmp/multipartBody1993926301243849523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741702825,"filename":"image_14122025_20_34_03_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/856828cf651b1f1d08b2c7a6675d1cd5.jpg","text":"TemporaryFile(/tmp/multipartBody3762190684132123800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741702825,"filename":"image_14122025_20_33_33_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a3546bcfdd31b7289a46989242761e0.jpg","text":"TemporaryFile(/tmp/multipartBody1073732272428181277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741702825,"filename":"image_14122025_20_34_13_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a41ec7a3a5feb220657525ec0cab12e.jpg","text":"TemporaryFile(/tmp/multipartBody5188401890241803873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741702825,"filename":"image_14122025_20_33_44_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eaa7f99cc9f3d8a73f9a935c8f46284a.jpg","text":"TemporaryFile(/tmp/multipartBody2269772103512442489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741702825,"filename":"image_14122025_20_33_54_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a7123830ce202448f527bd920b081a7c.jpg","text":"TemporaryFile(/tmp/multipartBody3770081341324940174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741702825,"filename":"image_14122025_20_33_24_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379743","file1":"1399379741","file0":"1399379739","file4":"1399379747","file5":"1399379749","file3":"1399379745"},"map_files_photo_id_array":[{"photo_id":"1399379749","filename":"file5"},{"photo_id":"1399379743","filename":"file2"},{"photo_id":"1399379747","filename":"file4"},{"photo_id":"1399379741","filename":"file1"},{"photo_id":"1399379739","filename":"file0"},{"photo_id":"1399379745","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379747":["hashtag1","hashtag2"]},{"1399379741":["hashtag1","hashtag2"]},{"1399379749":["hashtag1","hashtag2"]},{"1399379743":["hashtag1","hashtag2"]},{"1399379745":["hashtag1","hashtag2"]},{"1399379739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379747, 1399379741, 1399379749, 1399379743, 1399379745, 1399379739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79746103286743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:48:02.850849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/34/image_14122025_20_34_24_10662.jpg', '/home/pi/Desktop/images/14122025/20/34/image_14122025_20_34_34_9587.jpg', '/home/pi/Desktop/images/14122025/20/34/image_14122025_20_34_43_9785.jpg', '/home/pi/Desktop/images/14122025/20/34/image_14122025_20_35_04_9674.jpg', '/home/pi/Desktop/images/14122025/20/35/image_14122025_20_35_13_9662.jpg', '/home/pi/Desktop/images/14122025/20/35/image_14122025_20_35_24_10732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/34/image_14122025_20_34_24_10662.jpg
/home/pi/Desktop/images/14122025/20/34/image_14122025_20_34_34_9587.jpg
/home/pi/Desktop/images/14122025/20/34/image_14122025_20_34_43_9785.jpg
/home/pi/Desktop/images/14122025/20/34/image_14122025_20_35_04_9674.jpg
/home/pi/Desktop/images/14122025/20/35/image_14122025_20_35_13_9662.jpg
/home/pi/Desktop/images/14122025/20/35/image_14122025_20_35_24_10732.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5145418643951416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 20:48:12.419967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:48:22.449068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/34/image_14122025_20_34_24_10662.jpg', '/home/pi/Desktop/images/14122025/20/34/image_14122025_20_34_34_9587.jpg', '/home/pi/Desktop/images/14122025/20/34/image_14122025_20_34_43_9785.jpg', '/home/pi/Desktop/images/14122025/20/34/image_14122025_20_35_04_9674.jpg', '/home/pi/Desktop/images/14122025/20/35/image_14122025_20_35_13_9662.jpg', '/home/pi/Desktop/images/14122025/20/35/image_14122025_20_35_24_10732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/34/image_14122025_20_34_24_10662.jpg
/home/pi/Desktop/images/14122025/20/34/image_14122025_20_34_34_9587.jpg
/home/pi/Desktop/images/14122025/20/34/image_14122025_20_34_43_9785.jpg
/home/pi/Desktop/images/14122025/20/34/image_14122025_20_35_04_9674.jpg
/home/pi/Desktop/images/14122025/20/35/image_14122025_20_35_13_9662.jpg
/home/pi/Desktop/images/14122025/20/35/image_14122025_20_35_24_10732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379765","1399379759","1399379767","1399379761","1399379763","1399379757"],"photo_ids_order":["1399379757","1399379759","1399379761","1399379763","1399379765","1399379767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4844051e40aeed22a391be1d61ec438b.jpg","text":"TemporaryFile(/tmp/multipartBody8437379365337075893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741763064,"filename":"image_14122025_20_35_13_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a484f671fc25084918af06c16407c5e.jpg","text":"TemporaryFile(/tmp/multipartBody8446148973688113495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741763064,"filename":"image_14122025_20_34_34_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8dc66b6c5d2d54a209e6abb6dd07af97.jpg","text":"TemporaryFile(/tmp/multipartBody6015610813140272875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741763064,"filename":"image_14122025_20_35_24_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9363c48e4156ef3237cba930c7a263d5.jpg","text":"TemporaryFile(/tmp/multipartBody671382408481412138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741763064,"filename":"image_14122025_20_34_43_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/86c7fb22df284f26b2f68fed42893455.jpg","text":"TemporaryFile(/tmp/multipartBody6491588896589230556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741763064,"filename":"image_14122025_20_35_04_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d20f0c5003cc07e21eddc85f5c85111a.jpg","text":"TemporaryFile(/tmp/multipartBody6726550301162756351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741763064,"filename":"image_14122025_20_34_24_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379761","file1":"1399379759","file0":"1399379757","file4":"1399379765","file5":"1399379767","file3":"1399379763"},"map_files_photo_id_array":[{"photo_id":"1399379767","filename":"file5"},{"photo_id":"1399379761","filename":"file2"},{"photo_id":"1399379765","filename":"file4"},{"photo_id":"1399379759","filename":"file1"},{"photo_id":"1399379757","filename":"file0"},{"photo_id":"1399379763","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379765":["hashtag1","hashtag2"]},{"1399379759":["hashtag1","hashtag2"]},{"1399379767":["hashtag1","hashtag2"]},{"1399379761":["hashtag1","hashtag2"]},{"1399379763":["hashtag1","hashtag2"]},{"1399379757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379765, 1399379759, 1399379767, 1399379761, 1399379763, 1399379757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.060240030288696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:49:03.519953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/35/image_14122025_20_35_34_9751.jpg', '/home/pi/Desktop/images/14122025/20/35/image_14122025_20_35_44_9757.jpg', '/home/pi/Desktop/images/14122025/20/35/image_14122025_20_35_54_10724.jpg', '/home/pi/Desktop/images/14122025/20/35/image_14122025_20_36_04_9692.jpg', '/home/pi/Desktop/images/14122025/20/36/image_14122025_20_36_14_9800.jpg', '/home/pi/Desktop/images/14122025/20/36/image_14122025_20_36_24_9878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/35/image_14122025_20_35_34_9751.jpg
/home/pi/Desktop/images/14122025/20/35/image_14122025_20_35_44_9757.jpg
/home/pi/Desktop/images/14122025/20/35/image_14122025_20_35_54_10724.jpg
/home/pi/Desktop/images/14122025/20/35/image_14122025_20_36_04_9692.jpg
/home/pi/Desktop/images/14122025/20/36/image_14122025_20_36_14_9800.jpg
/home/pi/Desktop/images/14122025/20/36/image_14122025_20_36_24_9878.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379771","1399379774","1399379768","1399379770","1399379769","1399379772"],"photo_ids_order":["1399379768","1399379769","1399379770","1399379771","1399379772","1399379774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bcac27aa99199f6daafb69e99861245e.jpg","text":"TemporaryFile(/tmp/multipartBody419649480437369131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741804439,"filename":"image_14122025_20_36_04_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a463171cfad9a16b49e0452dc12db217.jpg","text":"TemporaryFile(/tmp/multipartBody8835804455828066160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741804439,"filename":"image_14122025_20_36_24_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1d0e927d1845e78135436eddd9b89cac.jpg","text":"TemporaryFile(/tmp/multipartBody6510297655272546642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741804439,"filename":"image_14122025_20_35_34_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1373f008e49b0d4cbddf3ae2711d6892.jpg","text":"TemporaryFile(/tmp/multipartBody8006348884620988518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741804439,"filename":"image_14122025_20_35_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/12/14/b50c59078282211fc45754a78098cc85.jpg","text":"TemporaryFile(/tmp/multipartBody1690766385864305460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741804439,"filename":"image_14122025_20_35_44_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/19610d31758d08e3a444e2a628c7548e.jpg","text":"TemporaryFile(/tmp/multipartBody6291846662975943270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741804439,"filename":"image_14122025_20_36_14_9800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379770","file1":"1399379769","file0":"1399379768","file4":"1399379772","file5":"1399379774","file3":"1399379771"},"map_files_photo_id_array":[{"photo_id":"1399379774","filename":"file5"},{"photo_id":"1399379770","filename":"file2"},{"photo_id":"1399379772","filename":"file4"},{"photo_id":"1399379769","filename":"file1"},{"photo_id":"1399379768","filename":"file0"},{"photo_id":"1399379771","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379771":["hashtag1","hashtag2"]},{"1399379774":["hashtag1","hashtag2"]},{"1399379768":["hashtag1","hashtag2"]},{"1399379770":["hashtag1","hashtag2"]},{"1399379769":["hashtag1","hashtag2"]},{"1399379772":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379771, 1399379774, 1399379768, 1399379770, 1399379769, 1399379772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.825785875320435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:49:42.802927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_20_3015.jpg', '/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_23_2643.jpg', '/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_26_3154.jpg', '/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_28_2527.jpg', '/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_32_3566.jpg', '/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_35_2750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_20_3015.jpg
/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_23_2643.jpg
/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_26_3154.jpg
/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_28_2527.jpg
/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_32_3566.jpg
/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_35_2750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379783","1399379782","1399379785","1399379779","1399379781","1399379784"],"photo_ids_order":["1399379779","1399379781","1399379782","1399379783","1399379784","1399379785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5c984d1a96d11d37489dd6a7aea2696c.jpg","text":"TemporaryFile(/tmp/multipartBody6062283878712761701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741843565,"filename":"image_04112025_14_44_28_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7555f103a3d293e3302f233a02e0d64e.jpg","text":"TemporaryFile(/tmp/multipartBody6594795332720053708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741843565,"filename":"image_04112025_14_44_26_3154.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8768edf457bfd70fa7ff8f8807b8b6e0.jpg","text":"TemporaryFile(/tmp/multipartBody7502733128154907228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741843565,"filename":"image_04112025_14_44_35_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/666ef9c207d119ea154302d2fb74051c.jpg","text":"TemporaryFile(/tmp/multipartBody608608453038400685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741843565,"filename":"image_04112025_14_44_20_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f712eed40f67347e3f47b2355adee70a.jpg","text":"TemporaryFile(/tmp/multipartBody8379559697190718837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741843565,"filename":"image_04112025_14_44_23_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8e698281e67e69b531e80fffe8d46331.jpg","text":"TemporaryFile(/tmp/multipartBody1608859409214010770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741843565,"filename":"image_04112025_14_44_32_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379782","file1":"1399379781","file0":"1399379779","file4":"1399379784","file5":"1399379785","file3":"1399379783"},"map_files_photo_id_array":[{"photo_id":"1399379785","filename":"file5"},{"photo_id":"1399379782","filename":"file2"},{"photo_id":"1399379784","filename":"file4"},{"photo_id":"1399379781","filename":"file1"},{"photo_id":"1399379779","filename":"file0"},{"photo_id":"1399379783","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379783":["hashtag1","hashtag2"]},{"1399379782":["hashtag1","hashtag2"]},{"1399379785":["hashtag1","hashtag2"]},{"1399379779":["hashtag1","hashtag2"]},{"1399379781":["hashtag1","hashtag2"]},{"1399379784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379783, 1399379782, 1399379785, 1399379779, 1399379781, 1399379784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.265560150146484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:50:22.075726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/36/image_14122025_20_36_44_10754.jpg', '/home/pi/Desktop/images/14122025/20/36/image_14122025_20_36_54_9753.jpg', '/home/pi/Desktop/images/14122025/20/36/image_14122025_20_37_04_9866.jpg', '/home/pi/Desktop/images/14122025/20/37/image_14122025_20_37_13_9737.jpg', '/home/pi/Desktop/images/14122025/20/37/image_14122025_20_37_24_10814.jpg', '/home/pi/Desktop/images/14122025/20/37/image_14122025_20_37_34_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/36/image_14122025_20_36_44_10754.jpg
/home/pi/Desktop/images/14122025/20/36/image_14122025_20_36_54_9753.jpg
/home/pi/Desktop/images/14122025/20/36/image_14122025_20_37_04_9866.jpg
/home/pi/Desktop/images/14122025/20/37/image_14122025_20_37_13_9737.jpg
/home/pi/Desktop/images/14122025/20/37/image_14122025_20_37_24_10814.jpg
/home/pi/Desktop/images/14122025/20/37/image_14122025_20_37_34_9628.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5580298900604248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 20:50:33.376715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:50:42.110796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_37_2673.jpg', '/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_41_3599.jpg', '/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_43_2536.jpg', '/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_47_3588.jpg', '/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_50_2789.jpg', '/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_52_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_37_2673.jpg
/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_41_3599.jpg
/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_43_2536.jpg
/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_47_3588.jpg
/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_50_2789.jpg
/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_52_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":["1399379798","1399379802","1399379801","1399379800","1399379799","1399379796"],"photo_ids_order":["1399379796","1399379798","1399379799","1399379800","1399379801","1399379802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c5bb80ccaec3360b61ba4e3cfef42c3.jpg","text":"TemporaryFile(/tmp/multipartBody4079331687764969724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741902844,"filename":"image_04112025_14_44_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/12/14/0687d43f2b2f3a3ba321229cb3b1f3f1.jpg","text":"TemporaryFile(/tmp/multipartBody986619994101984431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741902844,"filename":"image_04112025_14_44_52_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e5ab7c578ca358bcc501d2464441a4c.jpg","text":"TemporaryFile(/tmp/multipartBody7222449199576234998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741902844,"filename":"image_04112025_14_44_50_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/173a6ac06084355d4ae55c4e12ffb667.jpg","text":"TemporaryFile(/tmp/multipartBody6844284281239486829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741902844,"filename":"image_04112025_14_44_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/12/14/311ef45f2eb4adaaed7ef9e34044049a.jpg","text":"TemporaryFile(/tmp/multipartBody4555191270435129397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741902844,"filename":"image_04112025_14_44_43_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b282612aab087e147d7cd69d0709f4c2.jpg","text":"TemporaryFile(/tmp/multipartBody7012953876635377394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741902844,"filename":"image_04112025_14_44_37_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379799","file1":"1399379798","file0":"1399379796","file4":"1399379801","file5":"1399379802","file3":"1399379800"},"map_files_photo_id_array":[{"photo_id":"1399379802","filename":"file5"},{"photo_id":"1399379799","filename":"file2"},{"photo_id":"1399379801","filename":"file4"},{"photo_id":"1399379798","filename":"file1"},{"photo_id":"1399379796","filename":"file0"},{"photo_id":"1399379800","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379798":["hashtag1","hashtag2"]},{"1399379802":["hashtag1","hashtag2"]},{"1399379801":["hashtag1","hashtag2"]},{"1399379800":["hashtag1","hashtag2"]},{"1399379799":["hashtag1","hashtag2"]},{"1399379796":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379798, 1399379802, 1399379801, 1399379800, 1399379799, 1399379796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59560465812683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:51:22.396295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/36/image_14122025_20_36_44_10754.jpg', '/home/pi/Desktop/images/14122025/20/36/image_14122025_20_36_54_9753.jpg', '/home/pi/Desktop/images/14122025/20/36/image_14122025_20_37_04_9866.jpg', '/home/pi/Desktop/images/14122025/20/37/image_14122025_20_37_13_9737.jpg', '/home/pi/Desktop/images/14122025/20/37/image_14122025_20_37_24_10814.jpg', '/home/pi/Desktop/images/14122025/20/37/image_14122025_20_37_34_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/36/image_14122025_20_36_44_10754.jpg
/home/pi/Desktop/images/14122025/20/36/image_14122025_20_36_54_9753.jpg
/home/pi/Desktop/images/14122025/20/36/image_14122025_20_37_04_9866.jpg
/home/pi/Desktop/images/14122025/20/37/image_14122025_20_37_13_9737.jpg
/home/pi/Desktop/images/14122025/20/37/image_14122025_20_37_24_10814.jpg
/home/pi/Desktop/images/14122025/20/37/image_14122025_20_37_34_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":["1399379811","1399379808","1399379804","1399379813","1399379809","1399379806"],"photo_ids_order":["1399379804","1399379806","1399379808","1399379809","1399379811","1399379813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/41cbf90bbf3e957a1917c0e126fe984e.jpg","text":"TemporaryFile(/tmp/multipartBody8802069729742647271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741943013,"filename":"image_14122025_20_37_24_10814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/17154ea18542c076a1963aa486b8142c.jpg","text":"TemporaryFile(/tmp/multipartBody1545374800539263509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741943013,"filename":"image_14122025_20_37_04_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a0712d0fa6d12580e841a3c326c63f75.jpg","text":"TemporaryFile(/tmp/multipartBody5140903470779194631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741943013,"filename":"image_14122025_20_36_44_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7aff20f3d73f4573a9a8f8717086782b.jpg","text":"TemporaryFile(/tmp/multipartBody7082629830585529666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741943013,"filename":"image_14122025_20_37_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28e6e4b59d0e0fdc7b9456cab848a820.jpg","text":"TemporaryFile(/tmp/multipartBody6309997215292245399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741943013,"filename":"image_14122025_20_37_13_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/565c4a5394f472379d4ab3599fd3c934.jpg","text":"TemporaryFile(/tmp/multipartBody841908736079722677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765741943013,"filename":"image_14122025_20_36_54_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379808","file1":"1399379806","file0":"1399379804","file4":"1399379811","file5":"1399379813","file3":"1399379809"},"map_files_photo_id_array":[{"photo_id":"1399379813","filename":"file5"},{"photo_id":"1399379808","filename":"file2"},{"photo_id":"1399379811","filename":"file4"},{"photo_id":"1399379806","filename":"file1"},{"photo_id":"1399379804","filename":"file0"},{"photo_id":"1399379809","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379811":["hashtag1","hashtag2"]},{"1399379808":["hashtag1","hashtag2"]},{"1399379804":["hashtag1","hashtag2"]},{"1399379813":["hashtag1","hashtag2"]},{"1399379809":["hashtag1","hashtag2"]},{"1399379806":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379811, 1399379808, 1399379804, 1399379813, 1399379809, 1399379806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52387261390686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:52:03.094778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/37/image_14122025_20_37_54_10740.jpg', '/home/pi/Desktop/images/14122025/20/38/image_14122025_20_38_14_9597.jpg', '/home/pi/Desktop/images/14122025/20/38/image_14122025_20_38_23_9656.jpg', '/home/pi/Desktop/images/14122025/20/38/image_14122025_20_38_34_10775.jpg', '/home/pi/Desktop/images/14122025/20/38/image_14122025_20_38_44_9727.jpg', '/home/pi/Desktop/images/14122025/20/38/image_14122025_20_38_53_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/37/image_14122025_20_37_54_10740.jpg
/home/pi/Desktop/images/14122025/20/38/image_14122025_20_38_14_9597.jpg
/home/pi/Desktop/images/14122025/20/38/image_14122025_20_38_23_9656.jpg
/home/pi/Desktop/images/14122025/20/38/image_14122025_20_38_34_10775.jpg
/home/pi/Desktop/images/14122025/20/38/image_14122025_20_38_44_9727.jpg
/home/pi/Desktop/images/14122025/20/38/image_14122025_20_38_53_9597.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5046319961547852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 20:52:12.550315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:52:22.621807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/37/image_14122025_20_37_54_10740.jpg', '/home/pi/Desktop/images/14122025/20/38/image_14122025_20_38_14_9597.jpg', '/home/pi/Desktop/images/14122025/20/38/image_14122025_20_38_23_9656.jpg', '/home/pi/Desktop/images/14122025/20/38/image_14122025_20_38_34_10775.jpg', '/home/pi/Desktop/images/14122025/20/38/image_14122025_20_38_44_9727.jpg', '/home/pi/Desktop/images/14122025/20/38/image_14122025_20_38_53_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/37/image_14122025_20_37_54_10740.jpg
/home/pi/Desktop/images/14122025/20/38/image_14122025_20_38_14_9597.jpg
/home/pi/Desktop/images/14122025/20/38/image_14122025_20_38_23_9656.jpg
/home/pi/Desktop/images/14122025/20/38/image_14122025_20_38_34_10775.jpg
/home/pi/Desktop/images/14122025/20/38/image_14122025_20_38_44_9727.jpg
/home/pi/Desktop/images/14122025/20/38/image_14122025_20_38_53_9597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379832","1399379829","1399379825","1399379827","1399379821","1399379823"],"photo_ids_order":["1399379821","1399379823","1399379825","1399379827","1399379829","1399379832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a58f18bceb836e75cdba12d874ba60d0.jpg","text":"TemporaryFile(/tmp/multipartBody7588227134985322670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742003244,"filename":"image_14122025_20_38_53_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a9f441368b3cec1c5f0007dbb7ffd1e7.jpg","text":"TemporaryFile(/tmp/multipartBody8141997926841099135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742003244,"filename":"image_14122025_20_38_44_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd97ad82a14b61c1358ae6c4720283dc.jpg","text":"TemporaryFile(/tmp/multipartBody1668454043348486005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742003244,"filename":"image_14122025_20_38_23_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d999626b5556d22477b8b050aaaa4310.jpg","text":"TemporaryFile(/tmp/multipartBody5315296906250756437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742003244,"filename":"image_14122025_20_38_34_10775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ac3e1871c7c173f8b94af8c20a1a903.jpg","text":"TemporaryFile(/tmp/multipartBody4115879524111675854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742003244,"filename":"image_14122025_20_37_54_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/746005e81b482a84e9f50d4ad973643f.jpg","text":"TemporaryFile(/tmp/multipartBody5312541778888932850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742003244,"filename":"image_14122025_20_38_14_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379825","file1":"1399379823","file0":"1399379821","file4":"1399379829","file5":"1399379832","file3":"1399379827"},"map_files_photo_id_array":[{"photo_id":"1399379832","filename":"file5"},{"photo_id":"1399379825","filename":"file2"},{"photo_id":"1399379829","filename":"file4"},{"photo_id":"1399379823","filename":"file1"},{"photo_id":"1399379821","filename":"file0"},{"photo_id":"1399379827","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379832":["hashtag1","hashtag2"]},{"1399379829":["hashtag1","hashtag2"]},{"1399379825":["hashtag1","hashtag2"]},{"1399379827":["hashtag1","hashtag2"]},{"1399379821":["hashtag1","hashtag2"]},{"1399379823":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379832, 1399379829, 1399379825, 1399379827, 1399379821, 1399379823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72399568557739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:53:02.495912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/38/image_14122025_20_39_04_10706.jpg', '/home/pi/Desktop/images/14122025/20/39/image_14122025_20_39_14_9841.jpg', '/home/pi/Desktop/images/14122025/20/39/image_14122025_20_39_24_9891.jpg', '/home/pi/Desktop/images/14122025/20/39/image_14122025_20_39_34_9685.jpg', '/home/pi/Desktop/images/14122025/20/39/image_14122025_20_39_43_9814.jpg', '/home/pi/Desktop/images/14122025/20/39/image_14122025_20_39_54_10744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/38/image_14122025_20_39_04_10706.jpg
/home/pi/Desktop/images/14122025/20/39/image_14122025_20_39_14_9841.jpg
/home/pi/Desktop/images/14122025/20/39/image_14122025_20_39_24_9891.jpg
/home/pi/Desktop/images/14122025/20/39/image_14122025_20_39_34_9685.jpg
/home/pi/Desktop/images/14122025/20/39/image_14122025_20_39_43_9814.jpg
/home/pi/Desktop/images/14122025/20/39/image_14122025_20_39_54_10744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379834","1399379837","1399379839","1399379833","1399379836","1399379835"],"photo_ids_order":["1399379833","1399379834","1399379835","1399379836","1399379837","1399379839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7dd47d8a0061d4987aabdea790e1b0f8.jpg","text":"TemporaryFile(/tmp/multipartBody9143759753540514660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742043134,"filename":"image_14122025_20_39_14_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/60f3fba92dde7e363e9aef2d98e69f40.jpg","text":"TemporaryFile(/tmp/multipartBody9019785185190849000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742043134,"filename":"image_14122025_20_39_43_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b186cadb6bcb374bea411ddaf564e9e.jpg","text":"TemporaryFile(/tmp/multipartBody6875077310330590785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742043134,"filename":"image_14122025_20_39_54_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/00e184417a8ec9806264172f9be2dddf.jpg","text":"TemporaryFile(/tmp/multipartBody3320484497730225238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742043134,"filename":"image_14122025_20_39_04_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51921975c6d8ec82c955f40f141ed298.jpg","text":"TemporaryFile(/tmp/multipartBody6651479114255902154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742043134,"filename":"image_14122025_20_39_34_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a49098d8aec94a69f72b6d280bd3b63.jpg","text":"TemporaryFile(/tmp/multipartBody1160858353195729794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742043134,"filename":"image_14122025_20_39_24_9891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379835","file1":"1399379834","file0":"1399379833","file4":"1399379837","file5":"1399379839","file3":"1399379836"},"map_files_photo_id_array":[{"photo_id":"1399379839","filename":"file5"},{"photo_id":"1399379835","filename":"file2"},{"photo_id":"1399379837","filename":"file4"},{"photo_id":"1399379834","filename":"file1"},{"photo_id":"1399379833","filename":"file0"},{"photo_id":"1399379836","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379834":["hashtag1","hashtag2"]},{"1399379837":["hashtag1","hashtag2"]},{"1399379839":["hashtag1","hashtag2"]},{"1399379833":["hashtag1","hashtag2"]},{"1399379836":["hashtag1","hashtag2"]},{"1399379835":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379834, 1399379837, 1399379839, 1399379833, 1399379836, 1399379835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17176580429077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:53:41.804050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_56_3617.jpg', '/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_59_2711.jpg', '/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_01_2702.jpg', '/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_04_2802.jpg', '/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_08_3630.jpg', '/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_11_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_56_3617.jpg
/home/pi/Desktop/images/04112025/14/44/image_04112025_14_44_59_2711.jpg
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_01_2702.jpg
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_04_2802.jpg
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_08_3630.jpg
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_11_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":["1399379847","1399379849","1399379851","1399379848","1399379850","1399379844"],"photo_ids_order":["1399379844","1399379847","1399379848","1399379849","1399379850","1399379851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad3d7a98cdc797aacb46945a86240121.jpg","text":"TemporaryFile(/tmp/multipartBody8466169708753483705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742082567,"filename":"image_04112025_14_44_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/12/14/499a67ded2e00ea13fb9fa6c5eea698e.jpg","text":"TemporaryFile(/tmp/multipartBody8032034557926553978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742082567,"filename":"image_04112025_14_45_04_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c1cdece83a67a2fe680f675945557d9.jpg","text":"TemporaryFile(/tmp/multipartBody4544024627216630658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742082567,"filename":"image_04112025_14_45_11_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9088534e0513cdf13ee8c47e50ef308.jpg","text":"TemporaryFile(/tmp/multipartBody7393154357930501533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742082567,"filename":"image_04112025_14_45_01_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0a1b08826ed296b0fc5a91ca37c19a18.jpg","text":"TemporaryFile(/tmp/multipartBody8911308508102842909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742082567,"filename":"image_04112025_14_45_08_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/239a63ab3bd1624b6e25a0cefefe05e0.jpg","text":"TemporaryFile(/tmp/multipartBody6664185853630076063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742082567,"filename":"image_04112025_14_44_56_3617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379848","file1":"1399379847","file0":"1399379844","file4":"1399379850","file5":"1399379851","file3":"1399379849"},"map_files_photo_id_array":[{"photo_id":"1399379851","filename":"file5"},{"photo_id":"1399379848","filename":"file2"},{"photo_id":"1399379850","filename":"file4"},{"photo_id":"1399379847","filename":"file1"},{"photo_id":"1399379844","filename":"file0"},{"photo_id":"1399379849","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379847":["hashtag1","hashtag2"]},{"1399379849":["hashtag1","hashtag2"]},{"1399379851":["hashtag1","hashtag2"]},{"1399379848":["hashtag1","hashtag2"]},{"1399379850":["hashtag1","hashtag2"]},{"1399379844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379847, 1399379849, 1399379851, 1399379848, 1399379850, 1399379844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.068010568618774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:54:22.041928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/39/image_14122025_20_40_04_9624.jpg', '/home/pi/Desktop/images/14122025/20/40/image_14122025_20_40_14_9773.jpg', '/home/pi/Desktop/images/14122025/20/40/image_14122025_20_40_34_9752.jpg', '/home/pi/Desktop/images/14122025/20/40/image_14122025_20_40_44_9817.jpg', '/home/pi/Desktop/images/14122025/20/40/image_14122025_20_40_53_9699.jpg', '/home/pi/Desktop/images/14122025/20/40/image_14122025_20_41_04_10887.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/39/image_14122025_20_40_04_9624.jpg
/home/pi/Desktop/images/14122025/20/40/image_14122025_20_40_14_9773.jpg
/home/pi/Desktop/images/14122025/20/40/image_14122025_20_40_34_9752.jpg
/home/pi/Desktop/images/14122025/20/40/image_14122025_20_40_44_9817.jpg
/home/pi/Desktop/images/14122025/20/40/image_14122025_20_40_53_9699.jpg
/home/pi/Desktop/images/14122025/20/40/image_14122025_20_41_04_10887.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379852","1399379855","1399379863","1399379857","1399379853","1399379859"],"photo_ids_order":["1399379852","1399379853","1399379855","1399379857","1399379859","1399379863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/31e36363ec308104723f86799eee3361.jpg","text":"TemporaryFile(/tmp/multipartBody8446400233916184063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742122665,"filename":"image_14122025_20_40_04_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/efcbcc7ddd4df3323919c9825f3127e6.jpg","text":"TemporaryFile(/tmp/multipartBody9103807341892915587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742122665,"filename":"image_14122025_20_40_34_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd18208d63149e300ad2975881a5143c.jpg","text":"TemporaryFile(/tmp/multipartBody5191912683965862424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742122665,"filename":"image_14122025_20_41_04_10887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5449b69a9b1065735e341a7352109a73.jpg","text":"TemporaryFile(/tmp/multipartBody6262194689772527520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742122665,"filename":"image_14122025_20_40_44_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/801bb791b3c63f4bd9ea0d5f3d3b462a.jpg","text":"TemporaryFile(/tmp/multipartBody1353905952337328804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742122665,"filename":"image_14122025_20_40_14_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13df6071bdfe37857963c1a8bd5dc5a4.jpg","text":"TemporaryFile(/tmp/multipartBody1640316690722212775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742122665,"filename":"image_14122025_20_40_53_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379855","file1":"1399379853","file0":"1399379852","file4":"1399379859","file5":"1399379863","file3":"1399379857"},"map_files_photo_id_array":[{"photo_id":"1399379863","filename":"file5"},{"photo_id":"1399379855","filename":"file2"},{"photo_id":"1399379859","filename":"file4"},{"photo_id":"1399379853","filename":"file1"},{"photo_id":"1399379852","filename":"file0"},{"photo_id":"1399379857","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379852":["hashtag1","hashtag2"]},{"1399379855":["hashtag1","hashtag2"]},{"1399379863":["hashtag1","hashtag2"]},{"1399379857":["hashtag1","hashtag2"]},{"1399379853":["hashtag1","hashtag2"]},{"1399379859":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379852, 1399379855, 1399379863, 1399379857, 1399379853, 1399379859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07240271568298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:55:02.819438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/41/image_14122025_20_41_14_9685.jpg', '/home/pi/Desktop/images/14122025/20/41/image_14122025_20_41_33_9606.jpg', '/home/pi/Desktop/images/14122025/20/41/image_14122025_20_41_44_10739.jpg', '/home/pi/Desktop/images/14122025/20/41/image_14122025_20_42_04_9712.jpg', '/home/pi/Desktop/images/14122025/20/42/image_14122025_20_42_13_9904.jpg', '/home/pi/Desktop/images/14122025/20/42/image_14122025_20_42_24_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/41/image_14122025_20_41_14_9685.jpg
/home/pi/Desktop/images/14122025/20/41/image_14122025_20_41_33_9606.jpg
/home/pi/Desktop/images/14122025/20/41/image_14122025_20_41_44_10739.jpg
/home/pi/Desktop/images/14122025/20/41/image_14122025_20_42_04_9712.jpg
/home/pi/Desktop/images/14122025/20/42/image_14122025_20_42_13_9904.jpg
/home/pi/Desktop/images/14122025/20/42/image_14122025_20_42_24_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379870","1399379873","1399379875","1399379869","1399379872","1399379871"],"photo_ids_order":["1399379869","1399379870","1399379871","1399379872","1399379873","1399379875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/061a440fc417d096d110c475ece7e82b.jpg","text":"TemporaryFile(/tmp/multipartBody5521761845675566303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742163518,"filename":"image_14122025_20_41_33_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a6ae6513938d73922865f75923716855.jpg","text":"TemporaryFile(/tmp/multipartBody3433262653791695192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742163518,"filename":"image_14122025_20_42_13_9904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/570291ccdeb3b9c0f93fde89e97d5ca1.jpg","text":"TemporaryFile(/tmp/multipartBody6208968253584553915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742163518,"filename":"image_14122025_20_42_24_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a086e56913398f9e05af41bb6ce6c74.jpg","text":"TemporaryFile(/tmp/multipartBody5802417321483552618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742163518,"filename":"image_14122025_20_41_14_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7832ab1ca438b8c9a460f42d76e7aa26.jpg","text":"TemporaryFile(/tmp/multipartBody1509240294886532374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742163518,"filename":"image_14122025_20_42_04_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/563e15c6fc7028af9b7960011f10f879.jpg","text":"TemporaryFile(/tmp/multipartBody6262444657726190226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742163518,"filename":"image_14122025_20_41_44_10739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379871","file1":"1399379870","file0":"1399379869","file4":"1399379873","file5":"1399379875","file3":"1399379872"},"map_files_photo_id_array":[{"photo_id":"1399379875","filename":"file5"},{"photo_id":"1399379871","filename":"file2"},{"photo_id":"1399379873","filename":"file4"},{"photo_id":"1399379870","filename":"file1"},{"photo_id":"1399379869","filename":"file0"},{"photo_id":"1399379872","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379870":["hashtag1","hashtag2"]},{"1399379873":["hashtag1","hashtag2"]},{"1399379875":["hashtag1","hashtag2"]},{"1399379869":["hashtag1","hashtag2"]},{"1399379872":["hashtag1","hashtag2"]},{"1399379871":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379870, 1399379873, 1399379875, 1399379869, 1399379872, 1399379871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29067420959473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:55:42.209430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_13_2599.jpg', '/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_17_3603.jpg', '/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_20_2903.jpg', '/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_22_2648.jpg', '/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_25_2859.jpg', '/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_29_3440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_13_2599.jpg
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_17_3603.jpg
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_20_2903.jpg
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_22_2648.jpg
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_25_2859.jpg
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_29_3440.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6317965984344482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:56:02.887510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/42/image_14122025_20_42_34_9707.jpg', '/home/pi/Desktop/images/14122025/20/42/image_14122025_20_42_44_9699.jpg', '/home/pi/Desktop/images/14122025/20/42/image_14122025_20_42_54_10705.jpg', '/home/pi/Desktop/images/14122025/20/42/image_14122025_20_43_04_9678.jpg', '/home/pi/Desktop/images/14122025/20/43/image_14122025_20_43_13_9574.jpg', '/home/pi/Desktop/images/14122025/20/43/image_14122025_20_43_24_10741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/42/image_14122025_20_42_34_9707.jpg
/home/pi/Desktop/images/14122025/20/42/image_14122025_20_42_44_9699.jpg
/home/pi/Desktop/images/14122025/20/42/image_14122025_20_42_54_10705.jpg
/home/pi/Desktop/images/14122025/20/42/image_14122025_20_43_04_9678.jpg
/home/pi/Desktop/images/14122025/20/43/image_14122025_20_43_13_9574.jpg
/home/pi/Desktop/images/14122025/20/43/image_14122025_20_43_24_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":["1399379888","1399379887","1399379890","1399379892","1399379886","1399379889"],"photo_ids_order":["1399379886","1399379887","1399379888","1399379889","1399379890","1399379892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/614cc8b96aee444e1cceda374c663eae.jpg","text":"TemporaryFile(/tmp/multipartBody6967150561883136365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742223526,"filename":"image_14122025_20_42_54_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d956886070cbf239515ed24140386986.jpg","text":"TemporaryFile(/tmp/multipartBody3407408902890396003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742223526,"filename":"image_14122025_20_42_44_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c9a889002b02918bd4aa91c759fc85bd.jpg","text":"TemporaryFile(/tmp/multipartBody2702101616176430752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742223526,"filename":"image_14122025_20_43_13_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2798ae19268702fdd71c6ea176d88149.jpg","text":"TemporaryFile(/tmp/multipartBody4112974880312260202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742223526,"filename":"image_14122025_20_43_24_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d87f8d3bea5edc670d2452c77c63afb9.jpg","text":"TemporaryFile(/tmp/multipartBody3846043088415690383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742223526,"filename":"image_14122025_20_42_34_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ffb0c4c4a59a7762db2bd2a70cf56fb.jpg","text":"TemporaryFile(/tmp/multipartBody9147718394322089794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742223526,"filename":"image_14122025_20_43_04_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379888","file1":"1399379887","file0":"1399379886","file4":"1399379890","file5":"1399379892","file3":"1399379889"},"map_files_photo_id_array":[{"photo_id":"1399379892","filename":"file5"},{"photo_id":"1399379888","filename":"file2"},{"photo_id":"1399379890","filename":"file4"},{"photo_id":"1399379887","filename":"file1"},{"photo_id":"1399379886","filename":"file0"},{"photo_id":"1399379889","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379888":["hashtag1","hashtag2"]},{"1399379887":["hashtag1","hashtag2"]},{"1399379890":["hashtag1","hashtag2"]},{"1399379892":["hashtag1","hashtag2"]},{"1399379886":["hashtag1","hashtag2"]},{"1399379889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379888, 1399379887, 1399379890, 1399379892, 1399379886, 1399379889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61068034172058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:56:42.397672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_13_2599.jpg', '/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_17_3603.jpg', '/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_20_2903.jpg', '/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_22_2648.jpg', '/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_25_2859.jpg', '/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_29_3440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_13_2599.jpg
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_17_3603.jpg
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_20_2903.jpg
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_22_2648.jpg
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_25_2859.jpg
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_29_3440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399379897","1399379900","1399379896","1399379899","1399379898","1399379902"],"photo_ids_order":["1399379896","1399379897","1399379898","1399379899","1399379900","1399379902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3c674d4006fac3bc204fecd5d79f8f2a.jpg","text":"TemporaryFile(/tmp/multipartBody637411782456700570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742263006,"filename":"image_04112025_14_45_17_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0029034e770eb1a361551a9cb0548c3a.jpg","text":"TemporaryFile(/tmp/multipartBody3269962386018700533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742263006,"filename":"image_04112025_14_45_25_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1010157d88703008072775e5a5210444.jpg","text":"TemporaryFile(/tmp/multipartBody6475482647717103855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742263006,"filename":"image_04112025_14_45_13_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eb050e34752623ee5c37b3dc47d18a3a.jpg","text":"TemporaryFile(/tmp/multipartBody1983952198807200334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742263006,"filename":"image_04112025_14_45_22_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a56753b9a68671bfc2dbe70daa777cff.jpg","text":"TemporaryFile(/tmp/multipartBody531210870658099674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742263006,"filename":"image_04112025_14_45_20_2903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c9af31b9d406e8dba8bb68066d5d2a1.jpg","text":"TemporaryFile(/tmp/multipartBody397409916893129055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742263006,"filename":"image_04112025_14_45_29_3440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379898","file1":"1399379897","file0":"1399379896","file4":"1399379900","file5":"1399379902","file3":"1399379899"},"map_files_photo_id_array":[{"photo_id":"1399379902","filename":"file5"},{"photo_id":"1399379898","filename":"file2"},{"photo_id":"1399379900","filename":"file4"},{"photo_id":"1399379897","filename":"file1"},{"photo_id":"1399379896","filename":"file0"},{"photo_id":"1399379899","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399379897":["hashtag1","hashtag2"]},{"1399379900":["hashtag1","hashtag2"]},{"1399379896":["hashtag1","hashtag2"]},{"1399379899":["hashtag1","hashtag2"]},{"1399379898":["hashtag1","hashtag2"]},{"1399379902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399379897, 1399379900, 1399379896, 1399379899, 1399379898, 1399379902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.999077558517456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 20:57:22.713050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/43/image_14122025_20_43_34_9614.jpg', '/home/pi/Desktop/images/14122025/20/43/image_14122025_20_43_44_9949.jpg', '/home/pi/Desktop/images/14122025/20/43/image_14122025_20_43_53_9704.jpg', '/home/pi/Desktop/images/14122025/20/43/image_14122025_20_44_04_10775.jpg', '/home/pi/Desktop/images/14122025/20/44/image_14122025_20_44_14_9675.jpg', '/home/pi/Desktop/images/14122025/20/44/image_14122025_20_44_24_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/43/image_14122025_20_43_34_9614.jpg
/home/pi/Desktop/images/14122025/20/43/image_14122025_20_43_44_9949.jpg
/home/pi/Desktop/images/14122025/20/43/image_14122025_20_43_53_9704.jpg
/home/pi/Desktop/images/14122025/20/43/image_14122025_20_44_04_10775.jpg
/home/pi/Desktop/images/14122025/20/44/image_14122025_20_44_14_9675.jpg
/home/pi/Desktop/images/14122025/20/44/image_14122025_20_44_24_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":["1399379913","1399379907","1399379909","1399379903","1399379911","1399379905"],"photo_ids_order":["1399379903","1399379905","1399379907","1399379909","1399379911","1399379913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2494d834ee2bf6ef20b15dea06387351.jpg","text":"TemporaryFile(/tmp/multipartBody4978302308903727708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742303341,"filename":"image_14122025_20_44_24_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/169c3544fb76caf349787cbfca36687a.jpg","text":"TemporaryFile(/tmp/multipartBody2320707654718682547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742303341,"filename":"image_14122025_20_43_53_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa2827b7d1e3319f468810fb5a78e1a3.jpg","text":"TemporaryFile(/tmp/multipartBody5715415128048675499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742303341,"filename":"image_14122025_20_44_04_10775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/91d1af3a970ae6623f1aa54372ad71cf.jpg","text":"TemporaryFile(/tmp/multipartBody8425003150384244640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742303341,"filename":"image_14122025_20_43_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/89965438efb8aa83cb48be874e9f499a.jpg","text":"TemporaryFile(/tmp/multipartBody5992056431608491050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742303341,"filename":"image_14122025_20_44_14_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e083db74309263c2839da8346dc36f6a.jpg","text":"TemporaryFile(/tmp/multipartBody1355522757849335345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742303341,"filename":"image_14122025_20_43_44_9949.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399379907","file1":"1399379905","file0":"1399379903","file4":"1399379911","file5":"1399379913","file3":"1399379909"},"map_files_photo_id_array":[{"photo_id":"1399379913","filename":"file5"},{"photo_id":"1399379907","filename":"file2"},{"photo_id":"1399379911","filename":"file4"},{"photo_id":"1399379905","filename":"file1"},{"photo_id":"1399379903","filename":"file0"},{"photo_id":"1399379909","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399379913":["hashtag1","hashtag2"]},{"1399379907":["hashtag1","hashtag2"]},{"1399379909":["hashtag1","hashtag2"]},{"1399379903":["hashtag1","hashtag2"]},{"1399379911":["hashtag1","hashtag2"]},{"1399379905":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399379913, 1399379907, 1399379909, 1399379903, 1399379911, 1399379905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.046703577041626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 20:59:03.153297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/44/image_14122025_20_44_44_9665.jpg', '/home/pi/Desktop/images/14122025/20/44/image_14122025_20_44_54_9840.jpg', '/home/pi/Desktop/images/14122025/20/44/image_14122025_20_45_03_9699.jpg', '/home/pi/Desktop/images/14122025/20/45/image_14122025_20_45_14_10613.jpg', '/home/pi/Desktop/images/14122025/20/45/image_14122025_20_45_24_9596.jpg', '/home/pi/Desktop/images/14122025/20/45/image_14122025_20_45_33_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/44/image_14122025_20_44_44_9665.jpg
/home/pi/Desktop/images/14122025/20/44/image_14122025_20_44_54_9840.jpg
/home/pi/Desktop/images/14122025/20/44/image_14122025_20_45_03_9699.jpg
/home/pi/Desktop/images/14122025/20/45/image_14122025_20_45_14_10613.jpg
/home/pi/Desktop/images/14122025/20/45/image_14122025_20_45_24_9596.jpg
/home/pi/Desktop/images/14122025/20/45/image_14122025_20_45_33_9801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399380564","1399380549","1399380504","1399380563","1399380536","1399380559"],"photo_ids_order":["1399380504","1399380536","1399380549","1399380559","1399380563","1399380564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/914c81145e05a8217bc5967f26e0389e.jpg","text":"TemporaryFile(/tmp/multipartBody4846438652031888846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742403892,"filename":"image_14122025_20_45_33_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5781451b3f38b652c599a650e1f37ba2.jpg","text":"TemporaryFile(/tmp/multipartBody7118132123148866406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742403892,"filename":"image_14122025_20_45_03_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88a32a4d6734e7287201c05788e13ed1.jpg","text":"TemporaryFile(/tmp/multipartBody7678746148395365448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742403892,"filename":"image_14122025_20_44_44_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c783217ad962f99fea47dd814e328eb5.jpg","text":"TemporaryFile(/tmp/multipartBody2548254538324039076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742403892,"filename":"image_14122025_20_45_24_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/91873061ef4c52dcf50589eee350afff.jpg","text":"TemporaryFile(/tmp/multipartBody2001502047070322723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742403892,"filename":"image_14122025_20_44_54_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2527eef2fc5901120d0acd4498be40fd.jpg","text":"TemporaryFile(/tmp/multipartBody5466694581470025313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742403892,"filename":"image_14122025_20_45_14_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399380549","file1":"1399380536","file0":"1399380504","file4":"1399380563","file5":"1399380564","file3":"1399380559"},"map_files_photo_id_array":[{"photo_id":"1399380564","filename":"file5"},{"photo_id":"1399380549","filename":"file2"},{"photo_id":"1399380563","filename":"file4"},{"photo_id":"1399380536","filename":"file1"},{"photo_id":"1399380504","filename":"file0"},{"photo_id":"1399380559","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399380564":["hashtag1","hashtag2"]},{"1399380549":["hashtag1","hashtag2"]},{"1399380504":["hashtag1","hashtag2"]},{"1399380563":["hashtag1","hashtag2"]},{"1399380536":["hashtag1","hashtag2"]},{"1399380559":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399380564, 1399380549, 1399380504, 1399380563, 1399380536, 1399380559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.151323556900024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 20:59:42.147141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_31_2516.jpg', '/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_35_3607.jpg', '/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_37_2561.jpg', '/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_40_2874.jpg', '/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_44_3689.jpg', '/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_47_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_31_2516.jpg
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_35_3607.jpg
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_37_2561.jpg
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_40_2874.jpg
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_44_3689.jpg
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_47_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":["1399380579","1399380566","1399380575","1399380577","1399380571","1399380573"],"photo_ids_order":["1399380566","1399380571","1399380573","1399380575","1399380577","1399380579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a7bcbea807576cc662a28ff56955a2cc.jpg","text":"TemporaryFile(/tmp/multipartBody4374735688802303954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742442911,"filename":"image_04112025_14_45_47_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c92ebe1e1d14006c8ddb7e2684539d6d.jpg","text":"TemporaryFile(/tmp/multipartBody7165158983169024824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742442911,"filename":"image_04112025_14_45_31_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/53d67e23930b9b65b49d90388cbd7401.jpg","text":"TemporaryFile(/tmp/multipartBody6387575130685423434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742442911,"filename":"image_04112025_14_45_40_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d70aa79a33a8fb4bc75b736cc0e12774.jpg","text":"TemporaryFile(/tmp/multipartBody630677925029437956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742442911,"filename":"image_04112025_14_45_44_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f06d9c7e52f915ba2435416db8f6074.jpg","text":"TemporaryFile(/tmp/multipartBody76986969447145417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742442911,"filename":"image_04112025_14_45_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/12/14/9ea6b828dd8cbd02849bc1022a376149.jpg","text":"TemporaryFile(/tmp/multipartBody3201383464156616284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742442911,"filename":"image_04112025_14_45_37_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399380573","file1":"1399380571","file0":"1399380566","file4":"1399380577","file5":"1399380579","file3":"1399380575"},"map_files_photo_id_array":[{"photo_id":"1399380579","filename":"file5"},{"photo_id":"1399380573","filename":"file2"},{"photo_id":"1399380577","filename":"file4"},{"photo_id":"1399380571","filename":"file1"},{"photo_id":"1399380566","filename":"file0"},{"photo_id":"1399380575","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399380579":["hashtag1","hashtag2"]},{"1399380566":["hashtag1","hashtag2"]},{"1399380575":["hashtag1","hashtag2"]},{"1399380577":["hashtag1","hashtag2"]},{"1399380571":["hashtag1","hashtag2"]},{"1399380573":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399380579, 1399380566, 1399380575, 1399380577, 1399380571, 1399380573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71248197555542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:00:22.419668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/45/image_14122025_20_45_43_9890.jpg', '/home/pi/Desktop/images/14122025/20/45/image_14122025_20_45_54_10761.jpg', '/home/pi/Desktop/images/14122025/20/45/image_14122025_20_46_04_9749.jpg', '/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_14_9896.jpg', '/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_23_9702.jpg', '/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_34_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/45/image_14122025_20_45_43_9890.jpg
/home/pi/Desktop/images/14122025/20/45/image_14122025_20_45_54_10761.jpg
/home/pi/Desktop/images/14122025/20/45/image_14122025_20_46_04_9749.jpg
/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_14_9896.jpg
/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_23_9702.jpg
/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_34_10651.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5180854797363281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:00:32.443015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:00:44.264417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_49_2780.jpg', '/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_52_2862.jpg', '/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_56_3715.jpg', '/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_59_2998.jpg', '/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_02_2550.jpg', '/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_04_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_49_2780.jpg
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_52_2862.jpg
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_56_3715.jpg
/home/pi/Desktop/images/04112025/14/45/image_04112025_14_45_59_2998.jpg
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_02_2550.jpg
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_04_2637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399380903","1399380828","1399381007","1399380971","1399380935","1399380862"],"photo_ids_order":["1399380828","1399380862","1399380903","1399380935","1399380971","1399381007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d5b4a253a16abb68261652f0a480e595.jpg","text":"TemporaryFile(/tmp/multipartBody8586092169596354091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742507287,"filename":"image_04112025_14_45_56_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad98df5f99fe5b2931a542b8d112bfa2.jpg","text":"TemporaryFile(/tmp/multipartBody2533804656632320530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742507287,"filename":"image_04112025_14_45_49_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f0752ba256e67637acc96d56938be56.jpg","text":"TemporaryFile(/tmp/multipartBody5569392988238399693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742507287,"filename":"image_04112025_14_46_04_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e9eb6894ba6d20610348a6c93fe02a4d.jpg","text":"TemporaryFile(/tmp/multipartBody8623092182365192858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742507287,"filename":"image_04112025_14_46_02_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c0eb5d01a8b1325fa59d18bdb4f14f7a.jpg","text":"TemporaryFile(/tmp/multipartBody2659228371258600025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742507287,"filename":"image_04112025_14_45_59_2998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d9067a05cee7c8c284f388cd414b8f3e.jpg","text":"TemporaryFile(/tmp/multipartBody459695368494524782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742507287,"filename":"image_04112025_14_45_52_2862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399380903","file1":"1399380862","file0":"1399380828","file4":"1399380971","file5":"1399381007","file3":"1399380935"},"map_files_photo_id_array":[{"photo_id":"1399381007","filename":"file5"},{"photo_id":"1399380903","filename":"file2"},{"photo_id":"1399380971","filename":"file4"},{"photo_id":"1399380862","filename":"file1"},{"photo_id":"1399380828","filename":"file0"},{"photo_id":"1399380935","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399380903":["hashtag1","hashtag2"]},{"1399380828":["hashtag1","hashtag2"]},{"1399381007":["hashtag1","hashtag2"]},{"1399380971":["hashtag1","hashtag2"]},{"1399380935":["hashtag1","hashtag2"]},{"1399380862":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399380903, 1399380828, 1399381007, 1399380971, 1399380935, 1399380862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11939835548401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:01:32.513212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:01:42.482790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_08_3640.jpg', '/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_10_2596.jpg', '/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_13_2606.jpg', '/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_17_3785.jpg', '/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_19_2572.jpg', '/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_23_3563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_08_3640.jpg
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_10_2596.jpg
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_13_2606.jpg
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_17_3785.jpg
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_19_2572.jpg
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_23_3563.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6385979652404785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 21:02:03.156919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/45/image_14122025_20_45_43_9890.jpg', '/home/pi/Desktop/images/14122025/20/45/image_14122025_20_45_54_10761.jpg', '/home/pi/Desktop/images/14122025/20/45/image_14122025_20_46_04_9749.jpg', '/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_14_9896.jpg', '/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_23_9702.jpg', '/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_34_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/45/image_14122025_20_45_43_9890.jpg
/home/pi/Desktop/images/14122025/20/45/image_14122025_20_45_54_10761.jpg
/home/pi/Desktop/images/14122025/20/45/image_14122025_20_46_04_9749.jpg
/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_14_9896.jpg
/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_23_9702.jpg
/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_34_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":["1399381428","1399381608","1399381535","1399381570","1399381501","1399381464"],"photo_ids_order":["1399381428","1399381464","1399381501","1399381535","1399381570","1399381608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/681a0fbb21081f4faf0819e40aff004a.jpg","text":"TemporaryFile(/tmp/multipartBody3595777210874341604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742583781,"filename":"image_14122025_20_45_43_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a0be6e17a44c630570b0fcf0b4b5bd64.jpg","text":"TemporaryFile(/tmp/multipartBody3514611521955466709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742583781,"filename":"image_14122025_20_46_34_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a2a1cb53c70d6be8a404b471aef9272e.jpg","text":"TemporaryFile(/tmp/multipartBody7987046193352810547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742583781,"filename":"image_14122025_20_46_14_9896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aa10b9217f109200f5e63b87f8500ccb.jpg","text":"TemporaryFile(/tmp/multipartBody62436632010290830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742583781,"filename":"image_14122025_20_46_23_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ea891c1f9c84770c9576f3c89d51aa5.jpg","text":"TemporaryFile(/tmp/multipartBody3708606063614964162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742583781,"filename":"image_14122025_20_46_04_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29f380e1670341ba604bbea8c802c0c2.jpg","text":"TemporaryFile(/tmp/multipartBody7565153359686894918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742583781,"filename":"image_14122025_20_45_54_10761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399381501","file1":"1399381464","file0":"1399381428","file4":"1399381570","file5":"1399381608","file3":"1399381535"},"map_files_photo_id_array":[{"photo_id":"1399381608","filename":"file5"},{"photo_id":"1399381501","filename":"file2"},{"photo_id":"1399381570","filename":"file4"},{"photo_id":"1399381464","filename":"file1"},{"photo_id":"1399381428","filename":"file0"},{"photo_id":"1399381535","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399381428":["hashtag1","hashtag2"]},{"1399381608":["hashtag1","hashtag2"]},{"1399381535":["hashtag1","hashtag2"]},{"1399381570":["hashtag1","hashtag2"]},{"1399381501":["hashtag1","hashtag2"]},{"1399381464":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399381428, 1399381608, 1399381535, 1399381570, 1399381501, 1399381464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.351263999938965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:02:42.774676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_08_3640.jpg', '/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_10_2596.jpg', '/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_13_2606.jpg', '/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_17_3785.jpg', '/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_19_2572.jpg', '/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_23_3563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_08_3640.jpg
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_10_2596.jpg
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_13_2606.jpg
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_17_3785.jpg
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_19_2572.jpg
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_23_3563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399381658","1399381655","1399381660","1399381657","1399381659","1399381656"],"photo_ids_order":["1399381655","1399381656","1399381657","1399381658","1399381659","1399381660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dff85869fb417416aa05716f1d580e11.jpg","text":"TemporaryFile(/tmp/multipartBody5391248852289009751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742623426,"filename":"image_04112025_14_46_17_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d5fc637a68e4ef6f6339e06b10b6c02d.jpg","text":"TemporaryFile(/tmp/multipartBody9118995054462160723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742623426,"filename":"image_04112025_14_46_08_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e45b117cae5ee7a89ca8dfbc041a4694.jpg","text":"TemporaryFile(/tmp/multipartBody2247310517331187827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742623426,"filename":"image_04112025_14_46_23_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c712788882c02c365c850ac4f2c63505.jpg","text":"TemporaryFile(/tmp/multipartBody7599736300087855255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742623426,"filename":"image_04112025_14_46_13_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2992358382d658835b1ec78e78ce959e.jpg","text":"TemporaryFile(/tmp/multipartBody2165523338214303337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742623426,"filename":"image_04112025_14_46_19_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aedc72f221b1b01e12f5ec1c30b8ccd8.jpg","text":"TemporaryFile(/tmp/multipartBody7678057742698662391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742623426,"filename":"image_04112025_14_46_10_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399381657","file1":"1399381656","file0":"1399381655","file4":"1399381659","file5":"1399381660","file3":"1399381658"},"map_files_photo_id_array":[{"photo_id":"1399381660","filename":"file5"},{"photo_id":"1399381657","filename":"file2"},{"photo_id":"1399381659","filename":"file4"},{"photo_id":"1399381656","filename":"file1"},{"photo_id":"1399381655","filename":"file0"},{"photo_id":"1399381658","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399381658":["hashtag1","hashtag2"]},{"1399381655":["hashtag1","hashtag2"]},{"1399381660":["hashtag1","hashtag2"]},{"1399381657":["hashtag1","hashtag2"]},{"1399381659":["hashtag1","hashtag2"]},{"1399381656":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399381658, 1399381655, 1399381660, 1399381657, 1399381659, 1399381656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.994340896606445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:03:32.049097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:03:42.080760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_28_2670.jpg', '/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_32_3525.jpg', '/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_35_2848.jpg', '/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_37_2739.jpg', '/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_40_2600.jpg', '/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_44_3536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_28_2670.jpg
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_32_3525.jpg
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_35_2848.jpg
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_37_2739.jpg
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_40_2600.jpg
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_44_3536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399381820","1399381894","1399381857","1399381785","1399381749","1399381713"],"photo_ids_order":["1399381713","1399381749","1399381785","1399381820","1399381857","1399381894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4e0ef6957401527ac7002b1670526617.jpg","text":"TemporaryFile(/tmp/multipartBody3563638848101631233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742682772,"filename":"image_04112025_14_46_37_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/80b3b9a55be12852e5d7d1e9de08f0a8.jpg","text":"TemporaryFile(/tmp/multipartBody4623317546863577598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742682772,"filename":"image_04112025_14_46_44_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27f533435d17d5ce9a07939c6077f5da.jpg","text":"TemporaryFile(/tmp/multipartBody4374801286198654679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742682772,"filename":"image_04112025_14_46_40_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8eb66afca953852fdf0932ed11f08cb2.jpg","text":"TemporaryFile(/tmp/multipartBody8869664044160079016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742682772,"filename":"image_04112025_14_46_35_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a8d4e0cdc6fdafdc42494f5d1b594e40.jpg","text":"TemporaryFile(/tmp/multipartBody8247163896952905853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742682772,"filename":"image_04112025_14_46_32_3525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f08cbd207159f035d51293874284ed5.jpg","text":"TemporaryFile(/tmp/multipartBody6161045462437118591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742682772,"filename":"image_04112025_14_46_28_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399381785","file1":"1399381749","file0":"1399381713","file4":"1399381857","file5":"1399381894","file3":"1399381820"},"map_files_photo_id_array":[{"photo_id":"1399381894","filename":"file5"},{"photo_id":"1399381785","filename":"file2"},{"photo_id":"1399381857","filename":"file4"},{"photo_id":"1399381749","filename":"file1"},{"photo_id":"1399381713","filename":"file0"},{"photo_id":"1399381820","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399381820":["hashtag1","hashtag2"]},{"1399381894":["hashtag1","hashtag2"]},{"1399381857":["hashtag1","hashtag2"]},{"1399381785":["hashtag1","hashtag2"]},{"1399381749":["hashtag1","hashtag2"]},{"1399381713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399381820, 1399381894, 1399381857, 1399381785, 1399381749, 1399381713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17409610748291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:04:22.357242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_44_9640.jpg', '/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_53_9735.jpg', '/home/pi/Desktop/images/14122025/20/46/image_14122025_20_47_04_10707.jpg', '/home/pi/Desktop/images/14122025/20/47/image_14122025_20_47_14_9654.jpg', '/home/pi/Desktop/images/14122025/20/47/image_14122025_20_47_24_9755.jpg', '/home/pi/Desktop/images/14122025/20/47/image_14122025_20_47_33_9880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_44_9640.jpg
/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_53_9735.jpg
/home/pi/Desktop/images/14122025/20/46/image_14122025_20_47_04_10707.jpg
/home/pi/Desktop/images/14122025/20/47/image_14122025_20_47_14_9654.jpg
/home/pi/Desktop/images/14122025/20/47/image_14122025_20_47_24_9755.jpg
/home/pi/Desktop/images/14122025/20/47/image_14122025_20_47_33_9880.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5133142471313477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:04:32.348430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:04:42.289070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_46_2663.jpg', '/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_50_3752.jpg', '/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_53_2650.jpg', '/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_55_2696.jpg', '/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_58_3106.jpg', '/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_01_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_46_2663.jpg
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_50_3752.jpg
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_53_2650.jpg
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_55_2696.jpg
/home/pi/Desktop/images/04112025/14/46/image_04112025_14_46_58_3106.jpg
/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_01_2660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382135","1399382044","1399382128","1399382085","1399382079","1399382090"],"photo_ids_order":["1399382044","1399382079","1399382085","1399382090","1399382128","1399382135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c6aba1492cac56d3132ea624b8ebee4e.jpg","text":"TemporaryFile(/tmp/multipartBody6794412711588065223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742742992,"filename":"image_04112025_14_47_01_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/771a5ea940c354db4277554c35fca5bc.jpg","text":"TemporaryFile(/tmp/multipartBody591016208304670699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742742992,"filename":"image_04112025_14_46_46_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/68c5eb9f8f60bd346f487a9c2e22c1d9.jpg","text":"TemporaryFile(/tmp/multipartBody2362997018374148136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742742992,"filename":"image_04112025_14_46_58_3106.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d894ed782657ffd3e8c95d13ac0df0f0.jpg","text":"TemporaryFile(/tmp/multipartBody9105051793492323123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742742992,"filename":"image_04112025_14_46_53_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bc76f5d325795d75ee5029308a907c89.jpg","text":"TemporaryFile(/tmp/multipartBody3450954944494289301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742742992,"filename":"image_04112025_14_46_50_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef74a8c9dd003f244329e0638d36f70c.jpg","text":"TemporaryFile(/tmp/multipartBody5359321796218094197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742742992,"filename":"image_04112025_14_46_55_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382085","file1":"1399382079","file0":"1399382044","file4":"1399382128","file5":"1399382135","file3":"1399382090"},"map_files_photo_id_array":[{"photo_id":"1399382135","filename":"file5"},{"photo_id":"1399382085","filename":"file2"},{"photo_id":"1399382128","filename":"file4"},{"photo_id":"1399382079","filename":"file1"},{"photo_id":"1399382044","filename":"file0"},{"photo_id":"1399382090","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382135":["hashtag1","hashtag2"]},{"1399382044":["hashtag1","hashtag2"]},{"1399382128":["hashtag1","hashtag2"]},{"1399382085":["hashtag1","hashtag2"]},{"1399382079":["hashtag1","hashtag2"]},{"1399382090":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382135, 1399382044, 1399382128, 1399382085, 1399382079, 1399382090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40267062187195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:05:22.591696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_44_9640.jpg', '/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_53_9735.jpg', '/home/pi/Desktop/images/14122025/20/46/image_14122025_20_47_04_10707.jpg', '/home/pi/Desktop/images/14122025/20/47/image_14122025_20_47_14_9654.jpg', '/home/pi/Desktop/images/14122025/20/47/image_14122025_20_47_24_9755.jpg', '/home/pi/Desktop/images/14122025/20/47/image_14122025_20_47_33_9880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_44_9640.jpg
/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_53_9735.jpg
/home/pi/Desktop/images/14122025/20/46/image_14122025_20_47_04_10707.jpg
/home/pi/Desktop/images/14122025/20/47/image_14122025_20_47_14_9654.jpg
/home/pi/Desktop/images/14122025/20/47/image_14122025_20_47_24_9755.jpg
/home/pi/Desktop/images/14122025/20/47/image_14122025_20_47_33_9880.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5190274715423584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:05:32.581261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:05:42.510382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_05_3898.jpg', '/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_08_2726.jpg', '/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_10_2655.jpg', '/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_13_2888.jpg', '/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_17_3592.jpg', '/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_19_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_05_3898.jpg
/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_08_2726.jpg
/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_10_2655.jpg
/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_13_2888.jpg
/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_17_3592.jpg
/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_19_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":["1399382153","1399382152","1399382149","1399382154","1399382151","1399382145"],"photo_ids_order":["1399382145","1399382149","1399382151","1399382152","1399382153","1399382154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/abee781f42d9a6bed22e719ce14eb805.jpg","text":"TemporaryFile(/tmp/multipartBody8435281883853083395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742803213,"filename":"image_04112025_14_47_17_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6d91d7f0d14b3db892523ca9b682a609.jpg","text":"TemporaryFile(/tmp/multipartBody7284710706550702169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742803213,"filename":"image_04112025_14_47_13_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ef3eb7e88695bf0fd88844dc4df2314.jpg","text":"TemporaryFile(/tmp/multipartBody8784549253321715676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742803213,"filename":"image_04112025_14_47_08_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e299752691de74255a0cbe80b0c01610.jpg","text":"TemporaryFile(/tmp/multipartBody7059571985210373692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742803213,"filename":"image_04112025_14_47_19_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c429459539056fe2d3ee0a04966d21bd.jpg","text":"TemporaryFile(/tmp/multipartBody3180272592026262960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742803213,"filename":"image_04112025_14_47_10_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24f36fccadfc36b031faf64a82b02437.jpg","text":"TemporaryFile(/tmp/multipartBody7416017016054889266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742803213,"filename":"image_04112025_14_47_05_3898.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382151","file1":"1399382149","file0":"1399382145","file4":"1399382153","file5":"1399382154","file3":"1399382152"},"map_files_photo_id_array":[{"photo_id":"1399382154","filename":"file5"},{"photo_id":"1399382151","filename":"file2"},{"photo_id":"1399382153","filename":"file4"},{"photo_id":"1399382149","filename":"file1"},{"photo_id":"1399382145","filename":"file0"},{"photo_id":"1399382152","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382153":["hashtag1","hashtag2"]},{"1399382152":["hashtag1","hashtag2"]},{"1399382149":["hashtag1","hashtag2"]},{"1399382154":["hashtag1","hashtag2"]},{"1399382151":["hashtag1","hashtag2"]},{"1399382145":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382153, 1399382152, 1399382149, 1399382154, 1399382151, 1399382145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.636565923690796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:06:22.812697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_44_9640.jpg', '/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_53_9735.jpg', '/home/pi/Desktop/images/14122025/20/46/image_14122025_20_47_04_10707.jpg', '/home/pi/Desktop/images/14122025/20/47/image_14122025_20_47_14_9654.jpg', '/home/pi/Desktop/images/14122025/20/47/image_14122025_20_47_24_9755.jpg', '/home/pi/Desktop/images/14122025/20/47/image_14122025_20_47_33_9880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_44_9640.jpg
/home/pi/Desktop/images/14122025/20/46/image_14122025_20_46_53_9735.jpg
/home/pi/Desktop/images/14122025/20/46/image_14122025_20_47_04_10707.jpg
/home/pi/Desktop/images/14122025/20/47/image_14122025_20_47_14_9654.jpg
/home/pi/Desktop/images/14122025/20/47/image_14122025_20_47_24_9755.jpg
/home/pi/Desktop/images/14122025/20/47/image_14122025_20_47_33_9880.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382156","1399382161","1399382158","1399382160","1399382163","1399382166"],"photo_ids_order":["1399382156","1399382158","1399382160","1399382161","1399382163","1399382166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be26bbd99fb50f87486465fdf93f5861.jpg","text":"TemporaryFile(/tmp/multipartBody7564523103064247632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742843439,"filename":"image_14122025_20_46_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d76446fe74593a878caef5cbef6c75cf.jpg","text":"TemporaryFile(/tmp/multipartBody5556669568084281218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742843439,"filename":"image_14122025_20_47_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/afb4030f2d7f05d6e08098184f61c6d3.jpg","text":"TemporaryFile(/tmp/multipartBody7420393519576454142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742843439,"filename":"image_14122025_20_46_53_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/225de0f0ff4d47b797a8568d41b195b5.jpg","text":"TemporaryFile(/tmp/multipartBody4925656249399524996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742843439,"filename":"image_14122025_20_47_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/12/14/b116967251d7aea31d82bc60caa5ea08.jpg","text":"TemporaryFile(/tmp/multipartBody2735983506450594243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742843439,"filename":"image_14122025_20_47_24_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/743453bf6a339b9716c340785e845196.jpg","text":"TemporaryFile(/tmp/multipartBody5393797441618843502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742843439,"filename":"image_14122025_20_47_33_9880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382160","file1":"1399382158","file0":"1399382156","file4":"1399382163","file5":"1399382166","file3":"1399382161"},"map_files_photo_id_array":[{"photo_id":"1399382166","filename":"file5"},{"photo_id":"1399382160","filename":"file2"},{"photo_id":"1399382163","filename":"file4"},{"photo_id":"1399382158","filename":"file1"},{"photo_id":"1399382156","filename":"file0"},{"photo_id":"1399382161","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382156":["hashtag1","hashtag2"]},{"1399382161":["hashtag1","hashtag2"]},{"1399382158":["hashtag1","hashtag2"]},{"1399382160":["hashtag1","hashtag2"]},{"1399382163":["hashtag1","hashtag2"]},{"1399382166":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382156, 1399382161, 1399382158, 1399382160, 1399382163, 1399382166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.499969720840454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 21:07:02.707151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/47/image_14122025_20_47_43_9832.jpg', '/home/pi/Desktop/images/14122025/20/47/image_14122025_20_47_54_10737.jpg', '/home/pi/Desktop/images/14122025/20/47/image_14122025_20_48_04_9678.jpg', '/home/pi/Desktop/images/14122025/20/48/image_14122025_20_48_14_9811.jpg', '/home/pi/Desktop/images/14122025/20/48/image_14122025_20_48_24_10640.jpg', '/home/pi/Desktop/images/14122025/20/48/image_14122025_20_48_34_9551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/47/image_14122025_20_47_43_9832.jpg
/home/pi/Desktop/images/14122025/20/47/image_14122025_20_47_54_10737.jpg
/home/pi/Desktop/images/14122025/20/47/image_14122025_20_48_04_9678.jpg
/home/pi/Desktop/images/14122025/20/48/image_14122025_20_48_14_9811.jpg
/home/pi/Desktop/images/14122025/20/48/image_14122025_20_48_24_10640.jpg
/home/pi/Desktop/images/14122025/20/48/image_14122025_20_48_34_9551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382171","1399382174","1399382170","1399382167","1399382172","1399382169"],"photo_ids_order":["1399382167","1399382169","1399382170","1399382171","1399382172","1399382174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a95c4b44105e78e4e283d9b790b5b594.jpg","text":"TemporaryFile(/tmp/multipartBody9156350942911905113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742883392,"filename":"image_14122025_20_48_14_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/42a23ad0f1b7b43133e8a8966d63955e.jpg","text":"TemporaryFile(/tmp/multipartBody8523791334910626897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742883392,"filename":"image_14122025_20_48_34_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/249504dec9b99e1e59eb30f9b77a614f.jpg","text":"TemporaryFile(/tmp/multipartBody4204267268863346127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742883392,"filename":"image_14122025_20_48_04_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f7b15597c9ea45964c52dd7d0fc520f6.jpg","text":"TemporaryFile(/tmp/multipartBody7830701544600061261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742883392,"filename":"image_14122025_20_47_43_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7510316123eac2c10f5cb519835eb20e.jpg","text":"TemporaryFile(/tmp/multipartBody854229805633752399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742883392,"filename":"image_14122025_20_48_24_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9633cc69a2978ef095dc4df9ea61e364.jpg","text":"TemporaryFile(/tmp/multipartBody2564021288722076729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742883392,"filename":"image_14122025_20_47_54_10737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382170","file1":"1399382169","file0":"1399382167","file4":"1399382172","file5":"1399382174","file3":"1399382171"},"map_files_photo_id_array":[{"photo_id":"1399382174","filename":"file5"},{"photo_id":"1399382170","filename":"file2"},{"photo_id":"1399382172","filename":"file4"},{"photo_id":"1399382169","filename":"file1"},{"photo_id":"1399382167","filename":"file0"},{"photo_id":"1399382171","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382171":["hashtag1","hashtag2"]},{"1399382174":["hashtag1","hashtag2"]},{"1399382170":["hashtag1","hashtag2"]},{"1399382167":["hashtag1","hashtag2"]},{"1399382172":["hashtag1","hashtag2"]},{"1399382169":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382171, 1399382174, 1399382170, 1399382167, 1399382172, 1399382169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1350622177124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:07:42.054804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_22_2601.jpg', '/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_37_14920.jpg', '/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_39_1648.jpg', '/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_43_4269.jpg', '/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_45_1654.jpg', '/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_48_3046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_22_2601.jpg
/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_37_14920.jpg
/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_39_1648.jpg
/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_43_4269.jpg
/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_45_1654.jpg
/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_48_3046.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382186","1399382182","1399382185","1399382179","1399382187","1399382184"],"photo_ids_order":["1399382179","1399382182","1399382184","1399382185","1399382186","1399382187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/796d37178e149d620db6ebde6584bbd1.jpg","text":"TemporaryFile(/tmp/multipartBody2756476225758370947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742922778,"filename":"image_04112025_14_47_45_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/284eed9377d18e28e2e02e1799bc93fe.jpg","text":"TemporaryFile(/tmp/multipartBody2238295844808620894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742922778,"filename":"image_04112025_14_47_37_14920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe03868d0a214ac73307e46655c3a3cb.jpg","text":"TemporaryFile(/tmp/multipartBody2394163031007693924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742922778,"filename":"image_04112025_14_47_43_4269.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae1f045c72127ce6ac6a6b1c38967117.jpg","text":"TemporaryFile(/tmp/multipartBody1150425745214388888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742922778,"filename":"image_04112025_14_47_22_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ee72b9cbfe77e5867d23570bc9cc4777.jpg","text":"TemporaryFile(/tmp/multipartBody2119372191230158690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742922778,"filename":"image_04112025_14_47_48_3046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9cf5011b488fc0e3cb8496b91360d87.jpg","text":"TemporaryFile(/tmp/multipartBody7538831498229438233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742922778,"filename":"image_04112025_14_47_39_1648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382184","file1":"1399382182","file0":"1399382179","file4":"1399382186","file5":"1399382187","file3":"1399382185"},"map_files_photo_id_array":[{"photo_id":"1399382187","filename":"file5"},{"photo_id":"1399382184","filename":"file2"},{"photo_id":"1399382186","filename":"file4"},{"photo_id":"1399382182","filename":"file1"},{"photo_id":"1399382179","filename":"file0"},{"photo_id":"1399382185","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382186":["hashtag1","hashtag2"]},{"1399382182":["hashtag1","hashtag2"]},{"1399382185":["hashtag1","hashtag2"]},{"1399382179":["hashtag1","hashtag2"]},{"1399382187":["hashtag1","hashtag2"]},{"1399382184":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382186, 1399382182, 1399382185, 1399382179, 1399382187, 1399382184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89130687713623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:08:22.268224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/48/image_14122025_20_48_43_9594.jpg', '/home/pi/Desktop/images/14122025/20/48/image_14122025_20_48_54_10658.jpg', '/home/pi/Desktop/images/14122025/20/48/image_14122025_20_49_04_9845.jpg', '/home/pi/Desktop/images/14122025/20/49/image_14122025_20_49_14_9784.jpg', '/home/pi/Desktop/images/14122025/20/49/image_14122025_20_49_23_9846.jpg', '/home/pi/Desktop/images/14122025/20/49/image_14122025_20_49_34_10754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/48/image_14122025_20_48_43_9594.jpg
/home/pi/Desktop/images/14122025/20/48/image_14122025_20_48_54_10658.jpg
/home/pi/Desktop/images/14122025/20/48/image_14122025_20_49_04_9845.jpg
/home/pi/Desktop/images/14122025/20/49/image_14122025_20_49_14_9784.jpg
/home/pi/Desktop/images/14122025/20/49/image_14122025_20_49_23_9846.jpg
/home/pi/Desktop/images/14122025/20/49/image_14122025_20_49_34_10754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382192","1399382194","1399382188","1399382199","1399382190","1399382196"],"photo_ids_order":["1399382188","1399382190","1399382192","1399382194","1399382196","1399382199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a932c4691233c5e866476f998f0aca4.jpg","text":"TemporaryFile(/tmp/multipartBody4525676066782525205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742962888,"filename":"image_14122025_20_49_04_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4bf0d1d50fb496e2976c915e9467b23d.jpg","text":"TemporaryFile(/tmp/multipartBody2383269854396298351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742962888,"filename":"image_14122025_20_49_14_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c4c617c96d7aa5a02af283c5215cb956.jpg","text":"TemporaryFile(/tmp/multipartBody7761579953952335641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742962888,"filename":"image_14122025_20_48_43_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b6d77d847639da85525b6a7f452ccbf.jpg","text":"TemporaryFile(/tmp/multipartBody1278726929266786308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742962888,"filename":"image_14122025_20_49_34_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2aa8bba3c1f769ebecb9364d22b8c474.jpg","text":"TemporaryFile(/tmp/multipartBody3618069780735850473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742962888,"filename":"image_14122025_20_48_54_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0681f3f6143c3cd92b84d485f3fbc2dd.jpg","text":"TemporaryFile(/tmp/multipartBody3187178232940131527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765742962888,"filename":"image_14122025_20_49_23_9846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382192","file1":"1399382190","file0":"1399382188","file4":"1399382196","file5":"1399382199","file3":"1399382194"},"map_files_photo_id_array":[{"photo_id":"1399382199","filename":"file5"},{"photo_id":"1399382192","filename":"file2"},{"photo_id":"1399382196","filename":"file4"},{"photo_id":"1399382190","filename":"file1"},{"photo_id":"1399382188","filename":"file0"},{"photo_id":"1399382194","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382192":["hashtag1","hashtag2"]},{"1399382194":["hashtag1","hashtag2"]},{"1399382188":["hashtag1","hashtag2"]},{"1399382199":["hashtag1","hashtag2"]},{"1399382190":["hashtag1","hashtag2"]},{"1399382196":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382192, 1399382194, 1399382188, 1399382199, 1399382190, 1399382196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88740801811218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 21:09:03.400199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/49/image_14122025_20_49_54_9950.jpg', '/home/pi/Desktop/images/14122025/20/49/image_14122025_20_50_03_9549.jpg', '/home/pi/Desktop/images/14122025/20/50/image_14122025_20_50_14_10643.jpg', '/home/pi/Desktop/images/14122025/20/50/image_14122025_20_50_24_9737.jpg', '/home/pi/Desktop/images/14122025/20/50/image_14122025_20_50_34_9767.jpg', '/home/pi/Desktop/images/14122025/20/50/image_14122025_20_50_44_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/49/image_14122025_20_49_54_9950.jpg
/home/pi/Desktop/images/14122025/20/49/image_14122025_20_50_03_9549.jpg
/home/pi/Desktop/images/14122025/20/50/image_14122025_20_50_14_10643.jpg
/home/pi/Desktop/images/14122025/20/50/image_14122025_20_50_24_9737.jpg
/home/pi/Desktop/images/14122025/20/50/image_14122025_20_50_34_9767.jpg
/home/pi/Desktop/images/14122025/20/50/image_14122025_20_50_44_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382202","1399382201","1399382204","1399382206","1399382203","1399382208"],"photo_ids_order":["1399382201","1399382202","1399382203","1399382204","1399382206","1399382208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f712e400de838fb8d933ddfb8f1b6bc1.jpg","text":"TemporaryFile(/tmp/multipartBody3867242931046549378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743004180,"filename":"image_14122025_20_50_03_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/60fa6638f63b003cda6fa5c049af0daf.jpg","text":"TemporaryFile(/tmp/multipartBody4793912584165535137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743004180,"filename":"image_14122025_20_49_54_9950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f04fa4c0193d3d4077150ae8829f8947.jpg","text":"TemporaryFile(/tmp/multipartBody6677908304567313211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743004180,"filename":"image_14122025_20_50_24_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8ea7633bf7f6892c42764050a8874119.jpg","text":"TemporaryFile(/tmp/multipartBody188591536075467859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743004180,"filename":"image_14122025_20_50_34_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/65422c1f690068eb9be1f9cf070792d3.jpg","text":"TemporaryFile(/tmp/multipartBody3865644671652803057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743004180,"filename":"image_14122025_20_50_14_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb6e62f009297de11a6dd9092eb03f57.jpg","text":"TemporaryFile(/tmp/multipartBody2990764293072146544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743004180,"filename":"image_14122025_20_50_44_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382203","file1":"1399382202","file0":"1399382201","file4":"1399382206","file5":"1399382208","file3":"1399382204"},"map_files_photo_id_array":[{"photo_id":"1399382208","filename":"file5"},{"photo_id":"1399382203","filename":"file2"},{"photo_id":"1399382206","filename":"file4"},{"photo_id":"1399382202","filename":"file1"},{"photo_id":"1399382201","filename":"file0"},{"photo_id":"1399382204","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382202":["hashtag1","hashtag2"]},{"1399382201":["hashtag1","hashtag2"]},{"1399382204":["hashtag1","hashtag2"]},{"1399382206":["hashtag1","hashtag2"]},{"1399382203":["hashtag1","hashtag2"]},{"1399382208":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382202, 1399382201, 1399382204, 1399382206, 1399382203, 1399382208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.256216287612915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:09:42.525643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_49_1795.jpg', '/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_51_1665.jpg', '/home/pi/Desktop/images/04112025/14/48/image_04112025_14_48_03_12376.jpg', '/home/pi/Desktop/images/04112025/14/48/image_04112025_14_48_05_1647.jpg', '/home/pi/Desktop/images/04112025/14/48/image_04112025_14_48_07_1693.jpg', '/home/pi/Desktop/images/04112025/14/48/image_04112025_14_48_09_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_49_1795.jpg
/home/pi/Desktop/images/04112025/14/47/image_04112025_14_47_51_1665.jpg
/home/pi/Desktop/images/04112025/14/48/image_04112025_14_48_03_12376.jpg
/home/pi/Desktop/images/04112025/14/48/image_04112025_14_48_05_1647.jpg
/home/pi/Desktop/images/04112025/14/48/image_04112025_14_48_07_1693.jpg
/home/pi/Desktop/images/04112025/14/48/image_04112025_14_48_09_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":["1399382216","1399382219","1399382212","1399382215","1399382218","1399382217"],"photo_ids_order":["1399382212","1399382215","1399382216","1399382217","1399382218","1399382219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56e4d1f064b4d0b16e6afbc8372cc700.jpg","text":"TemporaryFile(/tmp/multipartBody2510754139373513419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743043221,"filename":"image_04112025_14_48_03_12376.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/510c662130f1b7906f295cc6bfbb614e.jpg","text":"TemporaryFile(/tmp/multipartBody7683713910056371424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743043221,"filename":"image_04112025_14_48_09_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/51a73d3e5477546f63f6ae85ab5df53b.jpg","text":"TemporaryFile(/tmp/multipartBody6626317823890844427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743043221,"filename":"image_04112025_14_47_49_1795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/689dc7c53c9d52e2c56614c0461a9bb9.jpg","text":"TemporaryFile(/tmp/multipartBody1768213883384538311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743043221,"filename":"image_04112025_14_47_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/12/14/e31848d9d7b8cc52388e6848a1a55251.jpg","text":"TemporaryFile(/tmp/multipartBody304998079949198220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743043221,"filename":"image_04112025_14_48_07_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d7d0f29a2d07ed907aece3af526bddd.jpg","text":"TemporaryFile(/tmp/multipartBody7246767867975894826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743043221,"filename":"image_04112025_14_48_05_1647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382216","file1":"1399382215","file0":"1399382212","file4":"1399382218","file5":"1399382219","file3":"1399382217"},"map_files_photo_id_array":[{"photo_id":"1399382219","filename":"file5"},{"photo_id":"1399382216","filename":"file2"},{"photo_id":"1399382218","filename":"file4"},{"photo_id":"1399382215","filename":"file1"},{"photo_id":"1399382212","filename":"file0"},{"photo_id":"1399382217","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382216":["hashtag1","hashtag2"]},{"1399382219":["hashtag1","hashtag2"]},{"1399382212":["hashtag1","hashtag2"]},{"1399382215":["hashtag1","hashtag2"]},{"1399382218":["hashtag1","hashtag2"]},{"1399382217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382216, 1399382219, 1399382212, 1399382215, 1399382218, 1399382217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77154564857483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:10:22.795803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/50/image_14122025_20_50_54_9786.jpg', '/home/pi/Desktop/images/14122025/20/50/image_14122025_20_51_04_9778.jpg', '/home/pi/Desktop/images/14122025/20/51/image_14122025_20_51_13_9657.jpg', '/home/pi/Desktop/images/14122025/20/51/image_14122025_20_51_24_10652.jpg', '/home/pi/Desktop/images/14122025/20/51/image_14122025_20_51_34_9671.jpg', '/home/pi/Desktop/images/14122025/20/51/image_14122025_20_51_43_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/50/image_14122025_20_50_54_9786.jpg
/home/pi/Desktop/images/14122025/20/50/image_14122025_20_51_04_9778.jpg
/home/pi/Desktop/images/14122025/20/51/image_14122025_20_51_13_9657.jpg
/home/pi/Desktop/images/14122025/20/51/image_14122025_20_51_24_10652.jpg
/home/pi/Desktop/images/14122025/20/51/image_14122025_20_51_34_9671.jpg
/home/pi/Desktop/images/14122025/20/51/image_14122025_20_51_43_9713.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5113632678985596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:10:32.807473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:10:45.847045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/48/image_04112025_14_48_16_6567.jpg', '/home/pi/Desktop/images/04112025/14/48/image_04112025_14_48_18_1672.jpg', '/home/pi/Desktop/images/04112025/14/48/image_04112025_14_48_19_1648.jpg', '/home/pi/Desktop/images/04112025/14/48/image_04112025_14_48_21_1620.jpg', '/home/pi/Desktop/images/04112025/14/48/image_04112025_14_48_49_27784.jpg', '/home/pi/Desktop/images/04112025/14/48/image_04112025_14_48_51_1717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/48/image_04112025_14_48_16_6567.jpg
/home/pi/Desktop/images/04112025/14/48/image_04112025_14_48_18_1672.jpg
/home/pi/Desktop/images/04112025/14/48/image_04112025_14_48_19_1648.jpg
/home/pi/Desktop/images/04112025/14/48/image_04112025_14_48_21_1620.jpg
/home/pi/Desktop/images/04112025/14/48/image_04112025_14_48_49_27784.jpg
/home/pi/Desktop/images/04112025/14/48/image_04112025_14_48_51_1717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382234","1399382237","1399382233","1399382236","1399382235","1399382232"],"photo_ids_order":["1399382232","1399382233","1399382234","1399382235","1399382236","1399382237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ab41dc5c173995b063c4e4ad15b5e2c.jpg","text":"TemporaryFile(/tmp/multipartBody1322015021248950475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743107715,"filename":"image_04112025_14_48_19_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24c5fd723aba115c11989244fae4eee2.jpg","text":"TemporaryFile(/tmp/multipartBody6187313356237671986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743107715,"filename":"image_04112025_14_48_51_1717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b37fd72526e0a379afe492dfd35c1de.jpg","text":"TemporaryFile(/tmp/multipartBody4161740175638183512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743107715,"filename":"image_04112025_14_48_18_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/50cd049ce194adc4d5826065fd34c963.jpg","text":"TemporaryFile(/tmp/multipartBody3242065287583207923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743107715,"filename":"image_04112025_14_48_49_27784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7e447edfde7a4d1e0ee54a6f0d047e15.jpg","text":"TemporaryFile(/tmp/multipartBody1723230838580536382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743107715,"filename":"image_04112025_14_48_21_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/67fdb67cb666eab5e34ea95ef47cdb7f.jpg","text":"TemporaryFile(/tmp/multipartBody4375829006766424507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743107715,"filename":"image_04112025_14_48_16_6567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382234","file1":"1399382233","file0":"1399382232","file4":"1399382236","file5":"1399382237","file3":"1399382235"},"map_files_photo_id_array":[{"photo_id":"1399382237","filename":"file5"},{"photo_id":"1399382234","filename":"file2"},{"photo_id":"1399382236","filename":"file4"},{"photo_id":"1399382233","filename":"file1"},{"photo_id":"1399382232","filename":"file0"},{"photo_id":"1399382235","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382234":["hashtag1","hashtag2"]},{"1399382237":["hashtag1","hashtag2"]},{"1399382233":["hashtag1","hashtag2"]},{"1399382236":["hashtag1","hashtag2"]},{"1399382235":["hashtag1","hashtag2"]},{"1399382232":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382234, 1399382237, 1399382233, 1399382236, 1399382235, 1399382232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33598303794861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:11:32.110117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:11:41.970110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_16_25559.jpg', '/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_18_1525.jpg', '/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_19_1644.jpg', '/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_21_1641.jpg', '/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_23_1780.jpg', '/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_24_1710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_16_25559.jpg
/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_18_1525.jpg
/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_19_1644.jpg
/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_21_1641.jpg
/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_23_1780.jpg
/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_24_1710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382252","1399382246","1399382249","1399382243","1399382248","1399382250"],"photo_ids_order":["1399382243","1399382246","1399382248","1399382249","1399382250","1399382252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a5a96ade1625e056f5318493bc52d1d.jpg","text":"TemporaryFile(/tmp/multipartBody6169739183215655917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743162672,"filename":"image_04112025_14_49_24_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/41e6d0fb0f8815472cdf01ac0328ea62.jpg","text":"TemporaryFile(/tmp/multipartBody3738367858629900408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743162672,"filename":"image_04112025_14_49_18_1525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ca6617f2ec880bf3c1a33a2d920279a.jpg","text":"TemporaryFile(/tmp/multipartBody8938889778818772838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743162672,"filename":"image_04112025_14_49_21_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e02feba92046d6d890b129c9814e7f0c.jpg","text":"TemporaryFile(/tmp/multipartBody1446113884684864481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743162672,"filename":"image_04112025_14_49_16_25559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8f703e967c55a482174a8dd7251cc103.jpg","text":"TemporaryFile(/tmp/multipartBody2362483699455506346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743162672,"filename":"image_04112025_14_49_19_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ce003054a8f9428c56840467ab336af.jpg","text":"TemporaryFile(/tmp/multipartBody1685393415674083792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743162672,"filename":"image_04112025_14_49_23_1780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382248","file1":"1399382246","file0":"1399382243","file4":"1399382250","file5":"1399382252","file3":"1399382249"},"map_files_photo_id_array":[{"photo_id":"1399382252","filename":"file5"},{"photo_id":"1399382248","filename":"file2"},{"photo_id":"1399382250","filename":"file4"},{"photo_id":"1399382246","filename":"file1"},{"photo_id":"1399382243","filename":"file0"},{"photo_id":"1399382249","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382252":["hashtag1","hashtag2"]},{"1399382246":["hashtag1","hashtag2"]},{"1399382249":["hashtag1","hashtag2"]},{"1399382243":["hashtag1","hashtag2"]},{"1399382248":["hashtag1","hashtag2"]},{"1399382250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382252, 1399382246, 1399382249, 1399382243, 1399382248, 1399382250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8580002784729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:12:22.249485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/50/image_14122025_20_50_54_9786.jpg', '/home/pi/Desktop/images/14122025/20/50/image_14122025_20_51_04_9778.jpg', '/home/pi/Desktop/images/14122025/20/51/image_14122025_20_51_13_9657.jpg', '/home/pi/Desktop/images/14122025/20/51/image_14122025_20_51_24_10652.jpg', '/home/pi/Desktop/images/14122025/20/51/image_14122025_20_51_34_9671.jpg', '/home/pi/Desktop/images/14122025/20/51/image_14122025_20_51_43_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/50/image_14122025_20_50_54_9786.jpg
/home/pi/Desktop/images/14122025/20/50/image_14122025_20_51_04_9778.jpg
/home/pi/Desktop/images/14122025/20/51/image_14122025_20_51_13_9657.jpg
/home/pi/Desktop/images/14122025/20/51/image_14122025_20_51_24_10652.jpg
/home/pi/Desktop/images/14122025/20/51/image_14122025_20_51_34_9671.jpg
/home/pi/Desktop/images/14122025/20/51/image_14122025_20_51_43_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":["1399382261","1399382263","1399382257","1399382254","1399382265","1399382259"],"photo_ids_order":["1399382254","1399382257","1399382259","1399382261","1399382263","1399382265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63498671478733069eb2edfd5b122f7b.jpg","text":"TemporaryFile(/tmp/multipartBody5277727455349528700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743202869,"filename":"image_14122025_20_51_24_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b49591cf442d3f649515a69fa4e5c83.jpg","text":"TemporaryFile(/tmp/multipartBody6778386608518349730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743202869,"filename":"image_14122025_20_51_34_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/06d6c18b84b13298b20c39cc6061053f.jpg","text":"TemporaryFile(/tmp/multipartBody7224304866677833694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743202869,"filename":"image_14122025_20_51_04_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/019d6b183eed07ac7b2642566a13ae30.jpg","text":"TemporaryFile(/tmp/multipartBody2533229399666700106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743202869,"filename":"image_14122025_20_50_54_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4049f94f84a11aeab0dd9b6b4cedaab9.jpg","text":"TemporaryFile(/tmp/multipartBody1656426598313325434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743202869,"filename":"image_14122025_20_51_43_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d08086f84240b43295cbfa1e7380398.jpg","text":"TemporaryFile(/tmp/multipartBody3458791806362957345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743202869,"filename":"image_14122025_20_51_13_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382259","file1":"1399382257","file0":"1399382254","file4":"1399382263","file5":"1399382265","file3":"1399382261"},"map_files_photo_id_array":[{"photo_id":"1399382265","filename":"file5"},{"photo_id":"1399382259","filename":"file2"},{"photo_id":"1399382263","filename":"file4"},{"photo_id":"1399382257","filename":"file1"},{"photo_id":"1399382254","filename":"file0"},{"photo_id":"1399382261","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382261":["hashtag1","hashtag2"]},{"1399382263":["hashtag1","hashtag2"]},{"1399382257":["hashtag1","hashtag2"]},{"1399382254":["hashtag1","hashtag2"]},{"1399382265":["hashtag1","hashtag2"]},{"1399382259":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382261, 1399382263, 1399382257, 1399382254, 1399382265, 1399382259)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 53.73046064376831 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:13:20.889009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:13:30.992095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/51/image_14122025_20_51_54_10089.jpg', '/home/pi/Desktop/images/14122025/20/51/image_14122025_20_52_03_9771.jpg', '/home/pi/Desktop/images/14122025/20/52/image_14122025_20_52_14_10713.jpg', '/home/pi/Desktop/images/14122025/20/52/image_14122025_20_52_24_9852.jpg', '/home/pi/Desktop/images/14122025/20/52/image_14122025_20_52_34_9743.jpg', '/home/pi/Desktop/images/14122025/20/52/image_14122025_20_52_43_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/51/image_14122025_20_51_54_10089.jpg
/home/pi/Desktop/images/14122025/20/51/image_14122025_20_52_03_9771.jpg
/home/pi/Desktop/images/14122025/20/52/image_14122025_20_52_14_10713.jpg
/home/pi/Desktop/images/14122025/20/52/image_14122025_20_52_24_9852.jpg
/home/pi/Desktop/images/14122025/20/52/image_14122025_20_52_34_9743.jpg
/home/pi/Desktop/images/14122025/20/52/image_14122025_20_52_43_9686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382279","1399382273","1399382269","1399382278","1399382271","1399382276"],"photo_ids_order":["1399382269","1399382271","1399382273","1399382276","1399382278","1399382279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a3b34d787ffd6a38b3ee6376a85d194.jpg","text":"TemporaryFile(/tmp/multipartBody9193207796807266537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743272958,"filename":"image_14122025_20_52_43_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/795e789446c97c2e4f1360da247a68ed.jpg","text":"TemporaryFile(/tmp/multipartBody5500129459202157168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743272958,"filename":"image_14122025_20_52_14_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/86591faf6920ce34120775bb7ceb694b.jpg","text":"TemporaryFile(/tmp/multipartBody4189619933700011935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743272958,"filename":"image_14122025_20_51_54_10089.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/019b5f16086c59a034853795aeb1f77b.jpg","text":"TemporaryFile(/tmp/multipartBody8181596064961358122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743272958,"filename":"image_14122025_20_52_34_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ec04064fe2d7852df0415dc27e347abd.jpg","text":"TemporaryFile(/tmp/multipartBody5028599374720836719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743272958,"filename":"image_14122025_20_52_03_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/413334498962dd3d899485ba2a545ca5.jpg","text":"TemporaryFile(/tmp/multipartBody5370039997973240660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743272958,"filename":"image_14122025_20_52_24_9852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382273","file1":"1399382271","file0":"1399382269","file4":"1399382278","file5":"1399382279","file3":"1399382276"},"map_files_photo_id_array":[{"photo_id":"1399382279","filename":"file5"},{"photo_id":"1399382273","filename":"file2"},{"photo_id":"1399382278","filename":"file4"},{"photo_id":"1399382271","filename":"file1"},{"photo_id":"1399382269","filename":"file0"},{"photo_id":"1399382276","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382279":["hashtag1","hashtag2"]},{"1399382273":["hashtag1","hashtag2"]},{"1399382269":["hashtag1","hashtag2"]},{"1399382278":["hashtag1","hashtag2"]},{"1399382271":["hashtag1","hashtag2"]},{"1399382276":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382279, 1399382273, 1399382269, 1399382278, 1399382271, 1399382276)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 53.8888304233551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:14:34.974012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:14:46.064255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_26_1637.jpg', '/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_28_1711.jpg', '/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_29_1672.jpg', '/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_40_10132.jpg', '/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_41_1685.jpg', '/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_45_4222.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_26_1637.jpg
/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_28_1711.jpg
/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_29_1672.jpg
/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_40_10132.jpg
/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_41_1685.jpg
/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_45_4222.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382291","1399382293","1399382296","1399382292","1399382294","1399382297"],"photo_ids_order":["1399382291","1399382292","1399382293","1399382294","1399382296","1399382297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/31817206efb83de3ecfe65082b04805b.jpg","text":"TemporaryFile(/tmp/multipartBody348240477137913143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743349706,"filename":"image_04112025_14_49_26_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a7a83fe3f8e94e98fa2009fdfb70eff.jpg","text":"TemporaryFile(/tmp/multipartBody486266632635718883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743349706,"filename":"image_04112025_14_49_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/12/14/3053af0f0fccea449e80e1de3f8655e9.jpg","text":"TemporaryFile(/tmp/multipartBody4893361472623941507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743349706,"filename":"image_04112025_14_49_41_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/869218fd1224774b2453bd9c24135a2f.jpg","text":"TemporaryFile(/tmp/multipartBody3169434195298284721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743349706,"filename":"image_04112025_14_49_28_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56abd5ddc357565409d5207fc0537bd8.jpg","text":"TemporaryFile(/tmp/multipartBody7135808771984355464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743349706,"filename":"image_04112025_14_49_40_10132.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e6d771db33d937c7b4cf0be8ebf6b604.jpg","text":"TemporaryFile(/tmp/multipartBody8849998458346298657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743349706,"filename":"image_04112025_14_49_45_4222.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382293","file1":"1399382292","file0":"1399382291","file4":"1399382296","file5":"1399382297","file3":"1399382294"},"map_files_photo_id_array":[{"photo_id":"1399382297","filename":"file5"},{"photo_id":"1399382293","filename":"file2"},{"photo_id":"1399382296","filename":"file4"},{"photo_id":"1399382292","filename":"file1"},{"photo_id":"1399382291","filename":"file0"},{"photo_id":"1399382294","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382291":["hashtag1","hashtag2"]},{"1399382293":["hashtag1","hashtag2"]},{"1399382296":["hashtag1","hashtag2"]},{"1399382292":["hashtag1","hashtag2"]},{"1399382294":["hashtag1","hashtag2"]},{"1399382297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382291, 1399382293, 1399382296, 1399382292, 1399382294, 1399382297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68579363822937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:15:31.897011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:15:41.886504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_47_1833.jpg', '/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_49_1513.jpg', '/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_50_1661.jpg', '/home/pi/Desktop/images/04112025/14/49/image_04112025_14_50_00_9885.jpg', '/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_02_1654.jpg', '/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_04_2144.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_47_1833.jpg
/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_49_1513.jpg
/home/pi/Desktop/images/04112025/14/49/image_04112025_14_49_50_1661.jpg
/home/pi/Desktop/images/04112025/14/49/image_04112025_14_50_00_9885.jpg
/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_02_1654.jpg
/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_04_2144.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382301","1399382303","1399382306","1399382305","1399382308","1399382307"],"photo_ids_order":["1399382301","1399382303","1399382305","1399382306","1399382307","1399382308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f57fa68fa8437d2872eb844cd103185b.jpg","text":"TemporaryFile(/tmp/multipartBody3411436631693073503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743402568,"filename":"image_04112025_14_49_47_1833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e64813371a514be7bc2b0956f0e5e0b3.jpg","text":"TemporaryFile(/tmp/multipartBody1335082255265085045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743402568,"filename":"image_04112025_14_49_49_1513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ae607ecd9a7a9728d7590d9f4f4c0e6.jpg","text":"TemporaryFile(/tmp/multipartBody2441610163226367404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743402568,"filename":"image_04112025_14_50_00_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8115711c835beee6b9911d7faceb8ec2.jpg","text":"TemporaryFile(/tmp/multipartBody7283393065080648335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743402568,"filename":"image_04112025_14_49_50_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/467b31038535b3ecd172b9b235f2e708.jpg","text":"TemporaryFile(/tmp/multipartBody7414515980606337019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743402568,"filename":"image_04112025_14_50_04_2144.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d3b78e7f0bbe457c9fa42a5d3e92f58a.jpg","text":"TemporaryFile(/tmp/multipartBody1594389826479098294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743402568,"filename":"image_04112025_14_50_02_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382305","file1":"1399382303","file0":"1399382301","file4":"1399382307","file5":"1399382308","file3":"1399382306"},"map_files_photo_id_array":[{"photo_id":"1399382308","filename":"file5"},{"photo_id":"1399382305","filename":"file2"},{"photo_id":"1399382307","filename":"file4"},{"photo_id":"1399382303","filename":"file1"},{"photo_id":"1399382301","filename":"file0"},{"photo_id":"1399382306","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382301":["hashtag1","hashtag2"]},{"1399382303":["hashtag1","hashtag2"]},{"1399382306":["hashtag1","hashtag2"]},{"1399382305":["hashtag1","hashtag2"]},{"1399382308":["hashtag1","hashtag2"]},{"1399382307":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382301, 1399382303, 1399382306, 1399382305, 1399382308, 1399382307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73074722290039 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:16:22.250017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/52/image_14122025_20_52_54_10938.jpg', '/home/pi/Desktop/images/14122025/20/52/image_14122025_20_53_04_9945.jpg', '/home/pi/Desktop/images/14122025/20/53/image_14122025_20_53_14_9827.jpg', '/home/pi/Desktop/images/14122025/20/53/image_14122025_20_53_24_9721.jpg', '/home/pi/Desktop/images/14122025/20/53/image_14122025_20_53_33_9688.jpg', '/home/pi/Desktop/images/14122025/20/53/image_14122025_20_53_44_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/52/image_14122025_20_52_54_10938.jpg
/home/pi/Desktop/images/14122025/20/52/image_14122025_20_53_04_9945.jpg
/home/pi/Desktop/images/14122025/20/53/image_14122025_20_53_14_9827.jpg
/home/pi/Desktop/images/14122025/20/53/image_14122025_20_53_24_9721.jpg
/home/pi/Desktop/images/14122025/20/53/image_14122025_20_53_33_9688.jpg
/home/pi/Desktop/images/14122025/20/53/image_14122025_20_53_44_10717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382312","1399382309","1399382320","1399382314","1399382316","1399382310"],"photo_ids_order":["1399382309","1399382310","1399382312","1399382314","1399382316","1399382320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c45d3894c061110b25db67814a6ddd9.jpg","text":"TemporaryFile(/tmp/multipartBody796273457209252750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743442901,"filename":"image_14122025_20_53_14_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8498488f729139a6530c416728046b5b.jpg","text":"TemporaryFile(/tmp/multipartBody4056318225064482268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743442901,"filename":"image_14122025_20_52_54_10938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a68378dc1fa42b7b0f86861b65d48be1.jpg","text":"TemporaryFile(/tmp/multipartBody1855887556441847744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743442901,"filename":"image_14122025_20_53_44_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/97684b814a229bd1cb8fc5c1b8128a19.jpg","text":"TemporaryFile(/tmp/multipartBody8686840416064766604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743442901,"filename":"image_14122025_20_53_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/12/14/adf0e657b336105c649d8b9e30957ce4.jpg","text":"TemporaryFile(/tmp/multipartBody1504316806844744114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743442901,"filename":"image_14122025_20_53_33_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c1b793a191be6fcbd22f183b70602e40.jpg","text":"TemporaryFile(/tmp/multipartBody296541930696741226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743442901,"filename":"image_14122025_20_53_04_9945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382312","file1":"1399382310","file0":"1399382309","file4":"1399382316","file5":"1399382320","file3":"1399382314"},"map_files_photo_id_array":[{"photo_id":"1399382320","filename":"file5"},{"photo_id":"1399382312","filename":"file2"},{"photo_id":"1399382316","filename":"file4"},{"photo_id":"1399382310","filename":"file1"},{"photo_id":"1399382309","filename":"file0"},{"photo_id":"1399382314","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382312":["hashtag1","hashtag2"]},{"1399382309":["hashtag1","hashtag2"]},{"1399382320":["hashtag1","hashtag2"]},{"1399382314":["hashtag1","hashtag2"]},{"1399382316":["hashtag1","hashtag2"]},{"1399382310":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382312, 1399382309, 1399382320, 1399382314, 1399382316, 1399382310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42223525047302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 21:17:02.975247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/53/image_14122025_20_53_54_9626.jpg', '/home/pi/Desktop/images/14122025/20/53/image_14122025_20_54_04_9766.jpg', '/home/pi/Desktop/images/14122025/20/54/image_14122025_20_54_13_9797.jpg', '/home/pi/Desktop/images/14122025/20/54/image_14122025_20_54_24_10834.jpg', '/home/pi/Desktop/images/14122025/20/54/image_14122025_20_54_34_9453.jpg', '/home/pi/Desktop/images/14122025/20/54/image_14122025_20_54_44_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/53/image_14122025_20_53_54_9626.jpg
/home/pi/Desktop/images/14122025/20/53/image_14122025_20_54_04_9766.jpg
/home/pi/Desktop/images/14122025/20/54/image_14122025_20_54_13_9797.jpg
/home/pi/Desktop/images/14122025/20/54/image_14122025_20_54_24_10834.jpg
/home/pi/Desktop/images/14122025/20/54/image_14122025_20_54_34_9453.jpg
/home/pi/Desktop/images/14122025/20/54/image_14122025_20_54_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":["1399382330","1399382333","1399382326","1399382329","1399382328","1399382331"],"photo_ids_order":["1399382326","1399382328","1399382329","1399382330","1399382331","1399382333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e72f422f1a237407b9292a61e75f7bfe.jpg","text":"TemporaryFile(/tmp/multipartBody4526615365473204035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743483654,"filename":"image_14122025_20_54_24_10834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a80ec812e0a0496db6005803d265a11e.jpg","text":"TemporaryFile(/tmp/multipartBody8438345122556041199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743483654,"filename":"image_14122025_20_54_44_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/87542cf2cdabd6c0066093ae99460956.jpg","text":"TemporaryFile(/tmp/multipartBody3447940969329123314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743483654,"filename":"image_14122025_20_53_54_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c95910e9cf8690f69714dae6e8867bbb.jpg","text":"TemporaryFile(/tmp/multipartBody6750450931692499950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743483654,"filename":"image_14122025_20_54_13_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e00fa073ec8e2c28381dcbf3577ca514.jpg","text":"TemporaryFile(/tmp/multipartBody1822660532348919527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743483654,"filename":"image_14122025_20_54_04_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/420b02cfc7d97e12d0cee5fca9e481e3.jpg","text":"TemporaryFile(/tmp/multipartBody3812611640747931211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743483654,"filename":"image_14122025_20_54_34_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382329","file1":"1399382328","file0":"1399382326","file4":"1399382331","file5":"1399382333","file3":"1399382330"},"map_files_photo_id_array":[{"photo_id":"1399382333","filename":"file5"},{"photo_id":"1399382329","filename":"file2"},{"photo_id":"1399382331","filename":"file4"},{"photo_id":"1399382328","filename":"file1"},{"photo_id":"1399382326","filename":"file0"},{"photo_id":"1399382330","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382330":["hashtag1","hashtag2"]},{"1399382333":["hashtag1","hashtag2"]},{"1399382326":["hashtag1","hashtag2"]},{"1399382329":["hashtag1","hashtag2"]},{"1399382328":["hashtag1","hashtag2"]},{"1399382331":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382330, 1399382333, 1399382326, 1399382329, 1399382328, 1399382331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40593409538269 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:17:42.246715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_12_8143.jpg', '/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_14_1584.jpg', '/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_50_36428.jpg', '/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_52_1618.jpg', '/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_53_1530.jpg', '/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_55_1645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_12_8143.jpg
/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_14_1584.jpg
/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_50_36428.jpg
/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_52_1618.jpg
/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_53_1530.jpg
/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_55_1645.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5344653129577637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 21:18:02.846470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/54/image_14122025_20_54_54_9595.jpg', '/home/pi/Desktop/images/14122025/20/54/image_14122025_20_55_04_9808.jpg', '/home/pi/Desktop/images/14122025/20/55/image_14122025_20_55_13_9721.jpg', '/home/pi/Desktop/images/14122025/20/55/image_14122025_20_55_24_10575.jpg', '/home/pi/Desktop/images/14122025/20/55/image_14122025_20_55_34_9875.jpg', '/home/pi/Desktop/images/14122025/20/55/image_14122025_20_55_44_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/54/image_14122025_20_54_54_9595.jpg
/home/pi/Desktop/images/14122025/20/54/image_14122025_20_55_04_9808.jpg
/home/pi/Desktop/images/14122025/20/55/image_14122025_20_55_13_9721.jpg
/home/pi/Desktop/images/14122025/20/55/image_14122025_20_55_24_10575.jpg
/home/pi/Desktop/images/14122025/20/55/image_14122025_20_55_34_9875.jpg
/home/pi/Desktop/images/14122025/20/55/image_14122025_20_55_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":["1399382348","1399382350","1399382347","1399382352","1399382346","1399382349"],"photo_ids_order":["1399382346","1399382347","1399382348","1399382349","1399382350","1399382352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/22046e7a771664238f37b30311448581.jpg","text":"TemporaryFile(/tmp/multipartBody343042795514530864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743543516,"filename":"image_14122025_20_55_13_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3091708754c4f07cc444b4514d6a2c98.jpg","text":"TemporaryFile(/tmp/multipartBody8693164346473999577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743543516,"filename":"image_14122025_20_55_34_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fbdff2e8b6c473b5903a56260be0ec4e.jpg","text":"TemporaryFile(/tmp/multipartBody6936735823908542123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743543516,"filename":"image_14122025_20_55_04_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/af68d96361a7070aaa7601f1cd5af7e3.jpg","text":"TemporaryFile(/tmp/multipartBody166362099898308672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743543516,"filename":"image_14122025_20_55_44_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/afbfedf9e66769759596cebc2ffbfb8d.jpg","text":"TemporaryFile(/tmp/multipartBody3113442417722075472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743543516,"filename":"image_14122025_20_54_54_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ef33414df83539d549f88d3130221ab.jpg","text":"TemporaryFile(/tmp/multipartBody3282237692710837825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743543516,"filename":"image_14122025_20_55_24_10575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382348","file1":"1399382347","file0":"1399382346","file4":"1399382350","file5":"1399382352","file3":"1399382349"},"map_files_photo_id_array":[{"photo_id":"1399382352","filename":"file5"},{"photo_id":"1399382348","filename":"file2"},{"photo_id":"1399382350","filename":"file4"},{"photo_id":"1399382347","filename":"file1"},{"photo_id":"1399382346","filename":"file0"},{"photo_id":"1399382349","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382348":["hashtag1","hashtag2"]},{"1399382350":["hashtag1","hashtag2"]},{"1399382347":["hashtag1","hashtag2"]},{"1399382352":["hashtag1","hashtag2"]},{"1399382346":["hashtag1","hashtag2"]},{"1399382349":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382348, 1399382350, 1399382347, 1399382352, 1399382346, 1399382349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84414577484131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:18:42.415691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_12_8143.jpg', '/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_14_1584.jpg', '/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_50_36428.jpg', '/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_52_1618.jpg', '/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_53_1530.jpg', '/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_55_1645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_12_8143.jpg
/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_14_1584.jpg
/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_50_36428.jpg
/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_52_1618.jpg
/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_53_1530.jpg
/home/pi/Desktop/images/04112025/14/50/image_04112025_14_50_55_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":["1399382363","1399382357","1399382360","1399382362","1399382359","1399382361"],"photo_ids_order":["1399382357","1399382359","1399382360","1399382361","1399382362","1399382363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/08b18525f18087cad679b639be64f130.jpg","text":"TemporaryFile(/tmp/multipartBody6110443561780177672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743583038,"filename":"image_04112025_14_50_55_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/16a4548ce3ef22dda8698028ca195c0a.jpg","text":"TemporaryFile(/tmp/multipartBody8839908607291221809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743583038,"filename":"image_04112025_14_50_12_8143.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f7466d51ac8b29edc700d038afa848d6.jpg","text":"TemporaryFile(/tmp/multipartBody4008851565736531306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743583038,"filename":"image_04112025_14_50_50_36428.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2e0e25ec61e063b063e0e4679da3b643.jpg","text":"TemporaryFile(/tmp/multipartBody921361816730552910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743583038,"filename":"image_04112025_14_50_53_1530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9cdcc6c70dba673d3022639ea514cf86.jpg","text":"TemporaryFile(/tmp/multipartBody784109065588935759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743583038,"filename":"image_04112025_14_50_14_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0aaa88682802c938e137bbc9f96210ca.jpg","text":"TemporaryFile(/tmp/multipartBody5722367652160360558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743583038,"filename":"image_04112025_14_50_52_1618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382360","file1":"1399382359","file0":"1399382357","file4":"1399382362","file5":"1399382363","file3":"1399382361"},"map_files_photo_id_array":[{"photo_id":"1399382363","filename":"file5"},{"photo_id":"1399382360","filename":"file2"},{"photo_id":"1399382362","filename":"file4"},{"photo_id":"1399382359","filename":"file1"},{"photo_id":"1399382357","filename":"file0"},{"photo_id":"1399382361","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382363":["hashtag1","hashtag2"]},{"1399382357":["hashtag1","hashtag2"]},{"1399382360":["hashtag1","hashtag2"]},{"1399382362":["hashtag1","hashtag2"]},{"1399382359":["hashtag1","hashtag2"]},{"1399382361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382363, 1399382357, 1399382360, 1399382362, 1399382359, 1399382361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01848363876343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:19:22.582029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/55/image_14122025_20_55_53_9733.jpg', '/home/pi/Desktop/images/14122025/20/55/image_14122025_20_56_04_10687.jpg', '/home/pi/Desktop/images/14122025/20/56/image_14122025_20_56_14_9583.jpg', '/home/pi/Desktop/images/14122025/20/56/image_14122025_20_56_34_10676.jpg', '/home/pi/Desktop/images/14122025/20/56/image_14122025_20_56_44_9730.jpg', '/home/pi/Desktop/images/14122025/20/56/image_14122025_20_56_53_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/55/image_14122025_20_55_53_9733.jpg
/home/pi/Desktop/images/14122025/20/55/image_14122025_20_56_04_10687.jpg
/home/pi/Desktop/images/14122025/20/56/image_14122025_20_56_14_9583.jpg
/home/pi/Desktop/images/14122025/20/56/image_14122025_20_56_34_10676.jpg
/home/pi/Desktop/images/14122025/20/56/image_14122025_20_56_44_9730.jpg
/home/pi/Desktop/images/14122025/20/56/image_14122025_20_56_53_9594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382372","1399382369","1399382371","1399382365","1399382367","1399382375"],"photo_ids_order":["1399382365","1399382367","1399382369","1399382371","1399382372","1399382375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a64c4de451daf66f53959014f4fa50c4.jpg","text":"TemporaryFile(/tmp/multipartBody8922502573094941674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743623206,"filename":"image_14122025_20_56_44_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/423cf7a0574590d4d543a523de94c168.jpg","text":"TemporaryFile(/tmp/multipartBody4018469573263445339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743623206,"filename":"image_14122025_20_56_14_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94facd380b6fd8e228745709b4cc8b44.jpg","text":"TemporaryFile(/tmp/multipartBody7099607168794090086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743623206,"filename":"image_14122025_20_56_34_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/275edb10189bd4ffcabe52713c072424.jpg","text":"TemporaryFile(/tmp/multipartBody6399918574845349387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743623206,"filename":"image_14122025_20_55_53_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c43f9c26bf53871d5b244b9daa84c17.jpg","text":"TemporaryFile(/tmp/multipartBody4625752308597002134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743623206,"filename":"image_14122025_20_56_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/12/14/05ca70149264cc0e6f84e8d626b91651.jpg","text":"TemporaryFile(/tmp/multipartBody1594508804709724536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743623206,"filename":"image_14122025_20_56_53_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382369","file1":"1399382367","file0":"1399382365","file4":"1399382372","file5":"1399382375","file3":"1399382371"},"map_files_photo_id_array":[{"photo_id":"1399382375","filename":"file5"},{"photo_id":"1399382369","filename":"file2"},{"photo_id":"1399382372","filename":"file4"},{"photo_id":"1399382367","filename":"file1"},{"photo_id":"1399382365","filename":"file0"},{"photo_id":"1399382371","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382372":["hashtag1","hashtag2"]},{"1399382369":["hashtag1","hashtag2"]},{"1399382371":["hashtag1","hashtag2"]},{"1399382365":["hashtag1","hashtag2"]},{"1399382367":["hashtag1","hashtag2"]},{"1399382375":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382372, 1399382369, 1399382371, 1399382365, 1399382367, 1399382375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8576819896698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 21:20:03.267249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/57/image_14122025_20_57_14_10026.jpg', '/home/pi/Desktop/images/14122025/20/57/image_14122025_20_57_24_9668.jpg', '/home/pi/Desktop/images/14122025/20/57/image_14122025_20_57_34_9674.jpg', '/home/pi/Desktop/images/14122025/20/57/image_14122025_20_57_44_10702.jpg', '/home/pi/Desktop/images/14122025/20/57/image_14122025_20_57_53_9139.jpg', '/home/pi/Desktop/images/14122025/20/57/image_14122025_20_58_04_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/57/image_14122025_20_57_14_10026.jpg
/home/pi/Desktop/images/14122025/20/57/image_14122025_20_57_24_9668.jpg
/home/pi/Desktop/images/14122025/20/57/image_14122025_20_57_34_9674.jpg
/home/pi/Desktop/images/14122025/20/57/image_14122025_20_57_44_10702.jpg
/home/pi/Desktop/images/14122025/20/57/image_14122025_20_57_53_9139.jpg
/home/pi/Desktop/images/14122025/20/57/image_14122025_20_58_04_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":["1399382378","1399382380","1399382383","1399382382","1399382379","1399382381"],"photo_ids_order":["1399382378","1399382379","1399382380","1399382381","1399382382","1399382383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/06421e5ff7cbd63d157e256314c31530.jpg","text":"TemporaryFile(/tmp/multipartBody7995185597168904732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743663917,"filename":"image_14122025_20_57_14_10026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e4e9b0001609e38f75b69683ed2212a8.jpg","text":"TemporaryFile(/tmp/multipartBody2562817276612715058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743663917,"filename":"image_14122025_20_57_34_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4581ad0120015847323c6388291c5e36.jpg","text":"TemporaryFile(/tmp/multipartBody6988920967550506336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743663917,"filename":"image_14122025_20_58_04_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/37948506cb23c778b0459e706fc50e3c.jpg","text":"TemporaryFile(/tmp/multipartBody1735871098258701291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743663917,"filename":"image_14122025_20_57_53_9139.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/693ea50f5135586b023ffaf636e5602a.jpg","text":"TemporaryFile(/tmp/multipartBody4057108339422329059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743663917,"filename":"image_14122025_20_57_24_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b7d95722de6158c275b3329c143fab78.jpg","text":"TemporaryFile(/tmp/multipartBody753806208858903195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743663917,"filename":"image_14122025_20_57_44_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382380","file1":"1399382379","file0":"1399382378","file4":"1399382382","file5":"1399382383","file3":"1399382381"},"map_files_photo_id_array":[{"photo_id":"1399382383","filename":"file5"},{"photo_id":"1399382380","filename":"file2"},{"photo_id":"1399382382","filename":"file4"},{"photo_id":"1399382379","filename":"file1"},{"photo_id":"1399382378","filename":"file0"},{"photo_id":"1399382381","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382378":["hashtag1","hashtag2"]},{"1399382380":["hashtag1","hashtag2"]},{"1399382383":["hashtag1","hashtag2"]},{"1399382382":["hashtag1","hashtag2"]},{"1399382379":["hashtag1","hashtag2"]},{"1399382381":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382378, 1399382380, 1399382383, 1399382382, 1399382379, 1399382381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.397870779037476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:20:42.815053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/52/image_04112025_14_52_08_3018.jpg', '/home/pi/Desktop/images/04112025/14/52/image_04112025_14_52_11_3725.jpg', '/home/pi/Desktop/images/04112025/14/52/image_04112025_14_52_14_2809.jpg', '/home/pi/Desktop/images/04112025/14/52/image_04112025_14_52_17_2539.jpg', '/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_05_3019.jpg', '/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_09_3818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/52/image_04112025_14_52_08_3018.jpg
/home/pi/Desktop/images/04112025/14/52/image_04112025_14_52_11_3725.jpg
/home/pi/Desktop/images/04112025/14/52/image_04112025_14_52_14_2809.jpg
/home/pi/Desktop/images/04112025/14/52/image_04112025_14_52_17_2539.jpg
/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_05_3019.jpg
/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_09_3818.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382399","1399382390","1399382395","1399382397","1399382401","1399382393"],"photo_ids_order":["1399382390","1399382393","1399382395","1399382397","1399382399","1399382401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf3c8f88a63a47db8b44bb12d362ce2b.jpg","text":"TemporaryFile(/tmp/multipartBody2269387020101726055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743703553,"filename":"image_04112025_14_53_05_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c3ee82f1529175cba85ce908f2d1b194.jpg","text":"TemporaryFile(/tmp/multipartBody5257159611712948156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743703553,"filename":"image_04112025_14_52_08_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/794b68bb403dff43760f9ec210bb3363.jpg","text":"TemporaryFile(/tmp/multipartBody4447251850356891138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743703553,"filename":"image_04112025_14_52_14_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f25a7f23880b2fadeb442b215f25f73.jpg","text":"TemporaryFile(/tmp/multipartBody7133882043592371917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743703553,"filename":"image_04112025_14_52_17_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/383018c0aae4cd6c9ba66e7cb5fc4738.jpg","text":"TemporaryFile(/tmp/multipartBody7295470213495405503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743703553,"filename":"image_04112025_14_53_09_3818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/502b1447c82a72e10146c6b90e9df550.jpg","text":"TemporaryFile(/tmp/multipartBody3604659015569194506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743703553,"filename":"image_04112025_14_52_11_3725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382395","file1":"1399382393","file0":"1399382390","file4":"1399382399","file5":"1399382401","file3":"1399382397"},"map_files_photo_id_array":[{"photo_id":"1399382401","filename":"file5"},{"photo_id":"1399382395","filename":"file2"},{"photo_id":"1399382399","filename":"file4"},{"photo_id":"1399382393","filename":"file1"},{"photo_id":"1399382390","filename":"file0"},{"photo_id":"1399382397","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382399":["hashtag1","hashtag2"]},{"1399382390":["hashtag1","hashtag2"]},{"1399382395":["hashtag1","hashtag2"]},{"1399382397":["hashtag1","hashtag2"]},{"1399382401":["hashtag1","hashtag2"]},{"1399382393":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382399, 1399382390, 1399382395, 1399382397, 1399382401, 1399382393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55595564842224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:21:22.209206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_14_9760.jpg', '/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_24_9768.jpg', '/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_33_9677.jpg', '/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_54_9765.jpg', '/home/pi/Desktop/images/14122025/20/58/image_14122025_20_59_03_9579.jpg', '/home/pi/Desktop/images/14122025/20/59/image_14122025_20_59_13_9900.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_14_9760.jpg
/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_24_9768.jpg
/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_33_9677.jpg
/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_54_9765.jpg
/home/pi/Desktop/images/14122025/20/58/image_14122025_20_59_03_9579.jpg
/home/pi/Desktop/images/14122025/20/59/image_14122025_20_59_13_9900.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5486476421356201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:21:32.122224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:21:42.073821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_12_2620.jpg', '/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_14_2548.jpg', '/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_18_3581.jpg', '/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_21_2863.jpg', '/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_23_2557.jpg', '/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_27_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_12_2620.jpg
/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_14_2548.jpg
/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_18_3581.jpg
/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_21_2863.jpg
/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_23_2557.jpg
/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_27_3696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382420","1399382417","1399382419","1399382416","1399382418","1399382412"],"photo_ids_order":["1399382412","1399382416","1399382417","1399382418","1399382419","1399382420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/435dd203b40901af0f43329742df692c.jpg","text":"TemporaryFile(/tmp/multipartBody8830541109888359639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743762778,"filename":"image_04112025_14_53_27_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/23890403ca2f5ef4a78d977b98e712b1.jpg","text":"TemporaryFile(/tmp/multipartBody2780666826277892410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743762778,"filename":"image_04112025_14_53_18_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e8857e7e3851d7a5c4a022479c0f892f.jpg","text":"TemporaryFile(/tmp/multipartBody7727811881285298631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743762778,"filename":"image_04112025_14_53_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/12/14/7857cb923f17abf3754e0b27c30ca03e.jpg","text":"TemporaryFile(/tmp/multipartBody6380462191462751522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743762778,"filename":"image_04112025_14_53_14_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba5bd8d99096db9a3e6ebeeb7f814a7b.jpg","text":"TemporaryFile(/tmp/multipartBody8050805638869311418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743762778,"filename":"image_04112025_14_53_21_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/66fb2e877aee613ed64705069918fdee.jpg","text":"TemporaryFile(/tmp/multipartBody6873396532628520586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743762778,"filename":"image_04112025_14_53_12_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382417","file1":"1399382416","file0":"1399382412","file4":"1399382419","file5":"1399382420","file3":"1399382418"},"map_files_photo_id_array":[{"photo_id":"1399382420","filename":"file5"},{"photo_id":"1399382417","filename":"file2"},{"photo_id":"1399382419","filename":"file4"},{"photo_id":"1399382416","filename":"file1"},{"photo_id":"1399382412","filename":"file0"},{"photo_id":"1399382418","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382420":["hashtag1","hashtag2"]},{"1399382417":["hashtag1","hashtag2"]},{"1399382419":["hashtag1","hashtag2"]},{"1399382416":["hashtag1","hashtag2"]},{"1399382418":["hashtag1","hashtag2"]},{"1399382412":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382420, 1399382417, 1399382419, 1399382416, 1399382418, 1399382412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27899789810181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:22:22.332225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_14_9760.jpg', '/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_24_9768.jpg', '/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_33_9677.jpg', '/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_54_9765.jpg', '/home/pi/Desktop/images/14122025/20/58/image_14122025_20_59_03_9579.jpg', '/home/pi/Desktop/images/14122025/20/59/image_14122025_20_59_13_9900.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_14_9760.jpg
/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_24_9768.jpg
/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_33_9677.jpg
/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_54_9765.jpg
/home/pi/Desktop/images/14122025/20/58/image_14122025_20_59_03_9579.jpg
/home/pi/Desktop/images/14122025/20/59/image_14122025_20_59_13_9900.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5093472003936768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:22:32.329489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:22:42.283785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_30_2796.jpg', '/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_32_2644.jpg', '/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_40_7397.jpg', '/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_42_1882.jpg', '/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_43_1591.jpg', '/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_45_1678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_30_2796.jpg
/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_32_2644.jpg
/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_40_7397.jpg
/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_42_1882.jpg
/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_43_1591.jpg
/home/pi/Desktop/images/04112025/14/53/image_04112025_14_53_45_1678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382438","1399382435","1399382437","1399382431","1399382434","1399382436"],"photo_ids_order":["1399382431","1399382434","1399382435","1399382436","1399382437","1399382438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f592e05aa146c0416ef903dca968e6a.jpg","text":"TemporaryFile(/tmp/multipartBody6400368089416314472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743822989,"filename":"image_04112025_14_53_45_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd829bfc3b30788e09c52835912019bd.jpg","text":"TemporaryFile(/tmp/multipartBody5586921089349142292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743822989,"filename":"image_04112025_14_53_40_7397.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a302d7f64bc977fe66f925e88c75655.jpg","text":"TemporaryFile(/tmp/multipartBody3197064140924123613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743822989,"filename":"image_04112025_14_53_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/12/14/2f34d793c3170e234c8e529bf93fa307.jpg","text":"TemporaryFile(/tmp/multipartBody5981811997463335726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743822989,"filename":"image_04112025_14_53_30_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36bf490306b6eccaae292390fb6fe83c.jpg","text":"TemporaryFile(/tmp/multipartBody7490464731397823765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743822989,"filename":"image_04112025_14_53_32_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/52651c1eebd47c4bc1d7a982fadb52a9.jpg","text":"TemporaryFile(/tmp/multipartBody7451433809010178241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743822989,"filename":"image_04112025_14_53_42_1882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382435","file1":"1399382434","file0":"1399382431","file4":"1399382437","file5":"1399382438","file3":"1399382436"},"map_files_photo_id_array":[{"photo_id":"1399382438","filename":"file5"},{"photo_id":"1399382435","filename":"file2"},{"photo_id":"1399382437","filename":"file4"},{"photo_id":"1399382434","filename":"file1"},{"photo_id":"1399382431","filename":"file0"},{"photo_id":"1399382436","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382438":["hashtag1","hashtag2"]},{"1399382435":["hashtag1","hashtag2"]},{"1399382437":["hashtag1","hashtag2"]},{"1399382431":["hashtag1","hashtag2"]},{"1399382434":["hashtag1","hashtag2"]},{"1399382436":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382438, 1399382435, 1399382437, 1399382431, 1399382434, 1399382436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.47438144683838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:23:22.670085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_14_9760.jpg', '/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_24_9768.jpg', '/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_33_9677.jpg', '/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_54_9765.jpg', '/home/pi/Desktop/images/14122025/20/58/image_14122025_20_59_03_9579.jpg', '/home/pi/Desktop/images/14122025/20/59/image_14122025_20_59_13_9900.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_14_9760.jpg
/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_24_9768.jpg
/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_33_9677.jpg
/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_54_9765.jpg
/home/pi/Desktop/images/14122025/20/58/image_14122025_20_59_03_9579.jpg
/home/pi/Desktop/images/14122025/20/59/image_14122025_20_59_13_9900.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.512671709060669 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:23:32.606317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:23:42.561067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_05_19883.jpg', '/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_06_1571.jpg', '/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_08_1616.jpg', '/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_10_1666.jpg', '/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_22_12415.jpg', '/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_24_1633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_05_19883.jpg
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_06_1571.jpg
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_08_1616.jpg
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_10_1666.jpg
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_22_12415.jpg
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_24_1633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382456","1399382450","1399382453","1399382455","1399382452","1399382454"],"photo_ids_order":["1399382450","1399382452","1399382453","1399382454","1399382455","1399382456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/312cbba215ffc8b4748ae138c1ef5c8d.jpg","text":"TemporaryFile(/tmp/multipartBody4365198245547691495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743883264,"filename":"image_04112025_14_54_24_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/193e842394b7db6f0c5a0ab7eb4359f4.jpg","text":"TemporaryFile(/tmp/multipartBody2986037520232444928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743883264,"filename":"image_04112025_14_54_05_19883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9fc5d3e0c4aa0d8bf9ca8f4eefef4712.jpg","text":"TemporaryFile(/tmp/multipartBody7903864796509268194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743883264,"filename":"image_04112025_14_54_08_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69542ec3e9161dda4d5c6c31ba9ee283.jpg","text":"TemporaryFile(/tmp/multipartBody7663617671416112954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743883264,"filename":"image_04112025_14_54_22_12415.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae8de256c2a6cc7eb259a3472226bf12.jpg","text":"TemporaryFile(/tmp/multipartBody8025831223494320602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743883264,"filename":"image_04112025_14_54_06_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/116a040ab52b8b09609fe3914ec546ab.jpg","text":"TemporaryFile(/tmp/multipartBody531456044742513039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743883264,"filename":"image_04112025_14_54_10_1666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382453","file1":"1399382452","file0":"1399382450","file4":"1399382455","file5":"1399382456","file3":"1399382454"},"map_files_photo_id_array":[{"photo_id":"1399382456","filename":"file5"},{"photo_id":"1399382453","filename":"file2"},{"photo_id":"1399382455","filename":"file4"},{"photo_id":"1399382452","filename":"file1"},{"photo_id":"1399382450","filename":"file0"},{"photo_id":"1399382454","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382456":["hashtag1","hashtag2"]},{"1399382450":["hashtag1","hashtag2"]},{"1399382453":["hashtag1","hashtag2"]},{"1399382455":["hashtag1","hashtag2"]},{"1399382452":["hashtag1","hashtag2"]},{"1399382454":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382456, 1399382450, 1399382453, 1399382455, 1399382452, 1399382454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.110259771347046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:24:22.887938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_14_9760.jpg', '/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_24_9768.jpg', '/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_33_9677.jpg', '/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_54_9765.jpg', '/home/pi/Desktop/images/14122025/20/58/image_14122025_20_59_03_9579.jpg', '/home/pi/Desktop/images/14122025/20/59/image_14122025_20_59_13_9900.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_14_9760.jpg
/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_24_9768.jpg
/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_33_9677.jpg
/home/pi/Desktop/images/14122025/20/58/image_14122025_20_58_54_9765.jpg
/home/pi/Desktop/images/14122025/20/58/image_14122025_20_59_03_9579.jpg
/home/pi/Desktop/images/14122025/20/59/image_14122025_20_59_13_9900.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382462","1399382467","1399382464","1399382458","1399382466","1399382460"],"photo_ids_order":["1399382458","1399382460","1399382462","1399382464","1399382466","1399382467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9b122e0ad97a2a3c101579649ddb9fda.jpg","text":"TemporaryFile(/tmp/multipartBody3427793631907138180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743923509,"filename":"image_14122025_20_58_33_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1daf05458959934a377551d2da4eadfe.jpg","text":"TemporaryFile(/tmp/multipartBody7280502182588683996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743923509,"filename":"image_14122025_20_59_13_9900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dfce213ed2e60dc93f33854f432387d2.jpg","text":"TemporaryFile(/tmp/multipartBody3103963187412324721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743923509,"filename":"image_14122025_20_58_54_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f5a3b9e202c80f4b61c7d4b3d386ecb4.jpg","text":"TemporaryFile(/tmp/multipartBody3881021245005419212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743923509,"filename":"image_14122025_20_58_14_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ddd7bc3d4cfab49f59d1e6c20ea3a9bb.jpg","text":"TemporaryFile(/tmp/multipartBody2043079954198800925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743923509,"filename":"image_14122025_20_59_03_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6739cb3a5b9b866f2ae059f8c394c425.jpg","text":"TemporaryFile(/tmp/multipartBody5083757590028227483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743923509,"filename":"image_14122025_20_58_24_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382462","file1":"1399382460","file0":"1399382458","file4":"1399382466","file5":"1399382467","file3":"1399382464"},"map_files_photo_id_array":[{"photo_id":"1399382467","filename":"file5"},{"photo_id":"1399382462","filename":"file2"},{"photo_id":"1399382466","filename":"file4"},{"photo_id":"1399382460","filename":"file1"},{"photo_id":"1399382458","filename":"file0"},{"photo_id":"1399382464","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382462":["hashtag1","hashtag2"]},{"1399382467":["hashtag1","hashtag2"]},{"1399382464":["hashtag1","hashtag2"]},{"1399382458":["hashtag1","hashtag2"]},{"1399382466":["hashtag1","hashtag2"]},{"1399382460":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382462, 1399382467, 1399382464, 1399382458, 1399382466, 1399382460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21702814102173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 21:25:02.641276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/20/59/image_14122025_20_59_24_10652.jpg', '/home/pi/Desktop/images/14122025/20/59/image_14122025_20_59_34_9737.jpg', '/home/pi/Desktop/images/14122025/20/59/image_14122025_20_59_43_9603.jpg', '/home/pi/Desktop/images/14122025/20/59/image_14122025_20_59_54_10716.jpg', '/home/pi/Desktop/images/14122025/21/00/image_14122025_21_00_14_10053.jpg', '/home/pi/Desktop/images/14122025/21/00/image_14122025_21_00_25_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/20/59/image_14122025_20_59_24_10652.jpg
/home/pi/Desktop/images/14122025/20/59/image_14122025_20_59_34_9737.jpg
/home/pi/Desktop/images/14122025/20/59/image_14122025_20_59_43_9603.jpg
/home/pi/Desktop/images/14122025/20/59/image_14122025_20_59_54_10716.jpg
/home/pi/Desktop/images/14122025/21/00/image_14122025_21_00_14_10053.jpg
/home/pi/Desktop/images/14122025/21/00/image_14122025_21_00_25_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382471","1399382468","1399382470","1399382472","1399382469","1399382474"],"photo_ids_order":["1399382468","1399382469","1399382470","1399382471","1399382472","1399382474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/08781a024f6f8918cced668da940ecaa.jpg","text":"TemporaryFile(/tmp/multipartBody7049092550128556502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743963417,"filename":"image_14122025_20_59_54_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/026449d4207a3829870a61c3b7a15fd7.jpg","text":"TemporaryFile(/tmp/multipartBody8867516961148405154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743963417,"filename":"image_14122025_20_59_24_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/529da7e8b1c8bdb3d20db44f28709b2a.jpg","text":"TemporaryFile(/tmp/multipartBody5470925775369527870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743963417,"filename":"image_14122025_20_59_43_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ad4ffe8f2d4a27daf654b365a8d43c2.jpg","text":"TemporaryFile(/tmp/multipartBody8818161685770157716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743963417,"filename":"image_14122025_21_00_14_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0eaa188df589ae30afc3586cb9bbd09e.jpg","text":"TemporaryFile(/tmp/multipartBody2477824927386506960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743963417,"filename":"image_14122025_20_59_34_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3a1af650d01fcb9866467e3f51be20ae.jpg","text":"TemporaryFile(/tmp/multipartBody7121881547317802886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765743963417,"filename":"image_14122025_21_00_25_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382470","file1":"1399382469","file0":"1399382468","file4":"1399382472","file5":"1399382474","file3":"1399382471"},"map_files_photo_id_array":[{"photo_id":"1399382474","filename":"file5"},{"photo_id":"1399382470","filename":"file2"},{"photo_id":"1399382472","filename":"file4"},{"photo_id":"1399382469","filename":"file1"},{"photo_id":"1399382468","filename":"file0"},{"photo_id":"1399382471","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382471":["hashtag1","hashtag2"]},{"1399382468":["hashtag1","hashtag2"]},{"1399382470":["hashtag1","hashtag2"]},{"1399382472":["hashtag1","hashtag2"]},{"1399382469":["hashtag1","hashtag2"]},{"1399382474":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382471, 1399382468, 1399382470, 1399382472, 1399382469, 1399382474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8879873752594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:25:42.008955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_25_1570.jpg', '/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_27_1663.jpg', '/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_29_1723.jpg', '/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_30_1754.jpg', '/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_32_1719.jpg', '/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_34_1590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_25_1570.jpg
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_27_1663.jpg
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_29_1723.jpg
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_30_1754.jpg
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_32_1719.jpg
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_34_1590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382483","1399382486","1399382485","1399382479","1399382482","1399382484"],"photo_ids_order":["1399382479","1399382482","1399382483","1399382484","1399382485","1399382486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd77c314875090b8db754ed2014a0259.jpg","text":"TemporaryFile(/tmp/multipartBody7119138621710941169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744002701,"filename":"image_04112025_14_54_29_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9068488edb87ce16c7a5b5376e4b610e.jpg","text":"TemporaryFile(/tmp/multipartBody5469223224917078078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744002701,"filename":"image_04112025_14_54_34_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/284f561720b246693a440d8f06bb7450.jpg","text":"TemporaryFile(/tmp/multipartBody8229113466445826438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744002701,"filename":"image_04112025_14_54_32_1719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dcb382cfa8ee61d1e3277ae09a29cb76.jpg","text":"TemporaryFile(/tmp/multipartBody773068974951285911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744002701,"filename":"image_04112025_14_54_25_1570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2268e5dbe2414143cb8d813d9bcc6089.jpg","text":"TemporaryFile(/tmp/multipartBody2163323431813787741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744002701,"filename":"image_04112025_14_54_27_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/43f2049f4684d2bd9cc6137284c59280.jpg","text":"TemporaryFile(/tmp/multipartBody2963501861605957368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744002701,"filename":"image_04112025_14_54_30_1754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382483","file1":"1399382482","file0":"1399382479","file4":"1399382485","file5":"1399382486","file3":"1399382484"},"map_files_photo_id_array":[{"photo_id":"1399382486","filename":"file5"},{"photo_id":"1399382483","filename":"file2"},{"photo_id":"1399382485","filename":"file4"},{"photo_id":"1399382482","filename":"file1"},{"photo_id":"1399382479","filename":"file0"},{"photo_id":"1399382484","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382483":["hashtag1","hashtag2"]},{"1399382486":["hashtag1","hashtag2"]},{"1399382485":["hashtag1","hashtag2"]},{"1399382479":["hashtag1","hashtag2"]},{"1399382482":["hashtag1","hashtag2"]},{"1399382484":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382483, 1399382486, 1399382485, 1399382479, 1399382482, 1399382484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32535910606384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:26:22.307093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/00/image_14122025_21_00_35_9669.jpg', '/home/pi/Desktop/images/14122025/21/00/image_14122025_21_00_45_9787.jpg', '/home/pi/Desktop/images/14122025/21/00/image_14122025_21_00_55_10835.jpg', '/home/pi/Desktop/images/14122025/21/00/image_14122025_21_01_05_9618.jpg', '/home/pi/Desktop/images/14122025/21/01/image_14122025_21_01_15_9796.jpg', '/home/pi/Desktop/images/14122025/21/01/image_14122025_21_01_25_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/00/image_14122025_21_00_35_9669.jpg
/home/pi/Desktop/images/14122025/21/00/image_14122025_21_00_45_9787.jpg
/home/pi/Desktop/images/14122025/21/00/image_14122025_21_00_55_10835.jpg
/home/pi/Desktop/images/14122025/21/00/image_14122025_21_01_05_9618.jpg
/home/pi/Desktop/images/14122025/21/01/image_14122025_21_01_15_9796.jpg
/home/pi/Desktop/images/14122025/21/01/image_14122025_21_01_25_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":["1399382488","1399382500","1399382490","1399382487","1399382492","1399382495"],"photo_ids_order":["1399382487","1399382488","1399382490","1399382492","1399382495","1399382500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e6624e8650dcdba2ee8339cf4d946a7.jpg","text":"TemporaryFile(/tmp/multipartBody2619503602344431569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744042933,"filename":"image_14122025_21_00_45_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/53719d4269f27a30d7a5460cc14c1045.jpg","text":"TemporaryFile(/tmp/multipartBody5027341746670658296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744042933,"filename":"image_14122025_21_01_25_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c9f9638b6ec89471ca14a3a4f9cf8326.jpg","text":"TemporaryFile(/tmp/multipartBody5427484414909251140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744042933,"filename":"image_14122025_21_00_55_10835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b6df7f5e3b184ec70dbd9ae316cc7bf.jpg","text":"TemporaryFile(/tmp/multipartBody6700724248758107451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744042933,"filename":"image_14122025_21_00_35_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db51b226ed5d08900a63cac7d03d8522.jpg","text":"TemporaryFile(/tmp/multipartBody5348162490905947367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744042933,"filename":"image_14122025_21_01_05_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1298bc6f5274d6e00959d1529d0e9b8e.jpg","text":"TemporaryFile(/tmp/multipartBody7353592638177125318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744042933,"filename":"image_14122025_21_01_15_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382490","file1":"1399382488","file0":"1399382487","file4":"1399382495","file5":"1399382500","file3":"1399382492"},"map_files_photo_id_array":[{"photo_id":"1399382500","filename":"file5"},{"photo_id":"1399382490","filename":"file2"},{"photo_id":"1399382495","filename":"file4"},{"photo_id":"1399382488","filename":"file1"},{"photo_id":"1399382487","filename":"file0"},{"photo_id":"1399382492","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382488":["hashtag1","hashtag2"]},{"1399382500":["hashtag1","hashtag2"]},{"1399382490":["hashtag1","hashtag2"]},{"1399382487":["hashtag1","hashtag2"]},{"1399382492":["hashtag1","hashtag2"]},{"1399382495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382488, 1399382500, 1399382490, 1399382487, 1399382492, 1399382495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82581686973572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 21:27:03.084963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/01/image_14122025_21_01_35_10550.jpg', '/home/pi/Desktop/images/14122025/21/01/image_14122025_21_01_45_9810.jpg', '/home/pi/Desktop/images/14122025/21/01/image_14122025_21_01_55_10416.jpg', '/home/pi/Desktop/images/14122025/21/01/image_14122025_21_02_05_9679.jpg', '/home/pi/Desktop/images/14122025/21/02/image_14122025_21_02_15_9700.jpg', '/home/pi/Desktop/images/14122025/21/02/image_14122025_21_02_35_9846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/01/image_14122025_21_01_35_10550.jpg
/home/pi/Desktop/images/14122025/21/01/image_14122025_21_01_45_9810.jpg
/home/pi/Desktop/images/14122025/21/01/image_14122025_21_01_55_10416.jpg
/home/pi/Desktop/images/14122025/21/01/image_14122025_21_02_05_9679.jpg
/home/pi/Desktop/images/14122025/21/02/image_14122025_21_02_15_9700.jpg
/home/pi/Desktop/images/14122025/21/02/image_14122025_21_02_35_9846.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382510","1399382507","1399382512","1399382509","1399382508","1399382505"],"photo_ids_order":["1399382505","1399382507","1399382508","1399382509","1399382510","1399382512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c3feeab5592bfb3082218f8168b12700.jpg","text":"TemporaryFile(/tmp/multipartBody3527399684758603526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744083778,"filename":"image_14122025_21_02_15_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c6c9d604814126f7e252221a2fb690a.jpg","text":"TemporaryFile(/tmp/multipartBody7786026162079441819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744083778,"filename":"image_14122025_21_01_45_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e8971bd34e8dad9e108c11cae9dba24d.jpg","text":"TemporaryFile(/tmp/multipartBody3285202360658368940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744083778,"filename":"image_14122025_21_02_35_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14cddc2f4f53eee6d9d86db932692a5b.jpg","text":"TemporaryFile(/tmp/multipartBody8309701821888198298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744083778,"filename":"image_14122025_21_02_05_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24ba1ef908cbe7c457b6a96650e04dc8.jpg","text":"TemporaryFile(/tmp/multipartBody5266280395666056400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744083778,"filename":"image_14122025_21_01_55_10416.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d071b31703c704d0db2d7a31e2259a47.jpg","text":"TemporaryFile(/tmp/multipartBody8071611228230529286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744083778,"filename":"image_14122025_21_01_35_10550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382508","file1":"1399382507","file0":"1399382505","file4":"1399382510","file5":"1399382512","file3":"1399382509"},"map_files_photo_id_array":[{"photo_id":"1399382512","filename":"file5"},{"photo_id":"1399382508","filename":"file2"},{"photo_id":"1399382510","filename":"file4"},{"photo_id":"1399382507","filename":"file1"},{"photo_id":"1399382505","filename":"file0"},{"photo_id":"1399382509","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382510":["hashtag1","hashtag2"]},{"1399382507":["hashtag1","hashtag2"]},{"1399382512":["hashtag1","hashtag2"]},{"1399382509":["hashtag1","hashtag2"]},{"1399382508":["hashtag1","hashtag2"]},{"1399382505":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382510, 1399382507, 1399382512, 1399382509, 1399382508, 1399382505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75553917884827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:27:42.445818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_35_1728.jpg', '/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_37_1661.jpg', '/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_39_1544.jpg', '/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_40_1649.jpg', '/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_42_1615.jpg', '/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_44_1721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_35_1728.jpg
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_37_1661.jpg
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_39_1544.jpg
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_40_1649.jpg
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_42_1615.jpg
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_44_1721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382519","1399382521","1399382518","1399382520","1399382523","1399382517"],"photo_ids_order":["1399382517","1399382518","1399382519","1399382520","1399382521","1399382523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f4603f3dcc955f9895d06d818247affb.jpg","text":"TemporaryFile(/tmp/multipartBody1495169120921076743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744123164,"filename":"image_04112025_14_54_39_1544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a9ed2faf5cc9824eb690dc8c5c3bc48d.jpg","text":"TemporaryFile(/tmp/multipartBody397598871938102331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744123164,"filename":"image_04112025_14_54_42_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/50676a45759f90ffe1159c9608c670d4.jpg","text":"TemporaryFile(/tmp/multipartBody275610604312599375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744123164,"filename":"image_04112025_14_54_37_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7aa5126f11865adfe0aa72c5622bed1c.jpg","text":"TemporaryFile(/tmp/multipartBody4365381192035940636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744123164,"filename":"image_04112025_14_54_40_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b18710bcf75f14d67633233693521c16.jpg","text":"TemporaryFile(/tmp/multipartBody3945355805128274059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744123164,"filename":"image_04112025_14_54_44_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3db8dbd73bc741b744650b8ba6cf328b.jpg","text":"TemporaryFile(/tmp/multipartBody6548168933278234798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744123164,"filename":"image_04112025_14_54_35_1728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382519","file1":"1399382518","file0":"1399382517","file4":"1399382521","file5":"1399382523","file3":"1399382520"},"map_files_photo_id_array":[{"photo_id":"1399382523","filename":"file5"},{"photo_id":"1399382519","filename":"file2"},{"photo_id":"1399382521","filename":"file4"},{"photo_id":"1399382518","filename":"file1"},{"photo_id":"1399382517","filename":"file0"},{"photo_id":"1399382520","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382519":["hashtag1","hashtag2"]},{"1399382521":["hashtag1","hashtag2"]},{"1399382518":["hashtag1","hashtag2"]},{"1399382520":["hashtag1","hashtag2"]},{"1399382523":["hashtag1","hashtag2"]},{"1399382517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382519, 1399382521, 1399382518, 1399382520, 1399382523, 1399382517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49048948287964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:28:22.706149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/02/image_14122025_21_02_45_9743.jpg', '/home/pi/Desktop/images/14122025/21/02/image_14122025_21_02_55_9690.jpg', '/home/pi/Desktop/images/14122025/21/02/image_14122025_21_03_04_9778.jpg', '/home/pi/Desktop/images/14122025/21/03/image_14122025_21_03_15_10899.jpg', '/home/pi/Desktop/images/14122025/21/03/image_14122025_21_03_25_9727.jpg', '/home/pi/Desktop/images/14122025/21/03/image_14122025_21_03_35_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/02/image_14122025_21_02_45_9743.jpg
/home/pi/Desktop/images/14122025/21/02/image_14122025_21_02_55_9690.jpg
/home/pi/Desktop/images/14122025/21/02/image_14122025_21_03_04_9778.jpg
/home/pi/Desktop/images/14122025/21/03/image_14122025_21_03_15_10899.jpg
/home/pi/Desktop/images/14122025/21/03/image_14122025_21_03_25_9727.jpg
/home/pi/Desktop/images/14122025/21/03/image_14122025_21_03_35_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":["1399382525","1399382533","1399382530","1399382527","1399382535","1399382529"],"photo_ids_order":["1399382525","1399382527","1399382529","1399382530","1399382533","1399382535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f8380711959863f9c83b349a85ac4357.jpg","text":"TemporaryFile(/tmp/multipartBody4985737408319565598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744163327,"filename":"image_14122025_21_02_45_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c2b88b5225872b53dd253ecdf3f9035.jpg","text":"TemporaryFile(/tmp/multipartBody3532609705121198795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744163327,"filename":"image_14122025_21_03_25_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7eb2d161fcf5decfc7f31794573b417c.jpg","text":"TemporaryFile(/tmp/multipartBody1557310849930077766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744163327,"filename":"image_14122025_21_03_15_10899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2967ac6f9993233e8b4a79793a36e254.jpg","text":"TemporaryFile(/tmp/multipartBody8411607980233502082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744163327,"filename":"image_14122025_21_02_55_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/135f60833ffea18adb4189a2d57f5890.jpg","text":"TemporaryFile(/tmp/multipartBody1504015955625280765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744163327,"filename":"image_14122025_21_03_35_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e80993791feb50ad66e0f60b162aa6f3.jpg","text":"TemporaryFile(/tmp/multipartBody7362285500907316024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744163327,"filename":"image_14122025_21_03_04_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382529","file1":"1399382527","file0":"1399382525","file4":"1399382533","file5":"1399382535","file3":"1399382530"},"map_files_photo_id_array":[{"photo_id":"1399382535","filename":"file5"},{"photo_id":"1399382529","filename":"file2"},{"photo_id":"1399382533","filename":"file4"},{"photo_id":"1399382527","filename":"file1"},{"photo_id":"1399382525","filename":"file0"},{"photo_id":"1399382530","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382525":["hashtag1","hashtag2"]},{"1399382533":["hashtag1","hashtag2"]},{"1399382530":["hashtag1","hashtag2"]},{"1399382527":["hashtag1","hashtag2"]},{"1399382535":["hashtag1","hashtag2"]},{"1399382529":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382525, 1399382533, 1399382530, 1399382527, 1399382535, 1399382529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34475135803223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 21:29:03.116891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/03/image_14122025_21_03_45_10712.jpg', '/home/pi/Desktop/images/14122025/21/03/image_14122025_21_03_55_9758.jpg', '/home/pi/Desktop/images/14122025/21/04/image_14122025_21_04_14_9557.jpg', '/home/pi/Desktop/images/14122025/21/04/image_14122025_21_04_25_10608.jpg', '/home/pi/Desktop/images/14122025/21/04/image_14122025_21_04_35_9600.jpg', '/home/pi/Desktop/images/14122025/21/04/image_14122025_21_04_45_10736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/03/image_14122025_21_03_45_10712.jpg
/home/pi/Desktop/images/14122025/21/03/image_14122025_21_03_55_9758.jpg
/home/pi/Desktop/images/14122025/21/04/image_14122025_21_04_14_9557.jpg
/home/pi/Desktop/images/14122025/21/04/image_14122025_21_04_25_10608.jpg
/home/pi/Desktop/images/14122025/21/04/image_14122025_21_04_35_9600.jpg
/home/pi/Desktop/images/14122025/21/04/image_14122025_21_04_45_10736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382543","1399382537","1399382540","1399382536","1399382539","1399382541"],"photo_ids_order":["1399382536","1399382537","1399382539","1399382540","1399382541","1399382543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e3f8bd5654f2fd529d37b943bfabce4c.jpg","text":"TemporaryFile(/tmp/multipartBody8538227311127384281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744203864,"filename":"image_14122025_21_04_45_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dce1a5290de30c1b7e7e592ed5e8a1ff.jpg","text":"TemporaryFile(/tmp/multipartBody2437030479380481593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744203864,"filename":"image_14122025_21_03_55_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dfec23ea0b15b6e237c0ebb69e4aa0e2.jpg","text":"TemporaryFile(/tmp/multipartBody4587435829841913621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744203864,"filename":"image_14122025_21_04_25_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/77d93f53b5ec55e3f52fbbb68e6d368a.jpg","text":"TemporaryFile(/tmp/multipartBody7758748107758530812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744203864,"filename":"image_14122025_21_03_45_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c5e16c4c3831cb2a81e2c50aa739ad35.jpg","text":"TemporaryFile(/tmp/multipartBody7885842138208591890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744203864,"filename":"image_14122025_21_04_14_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d396c41420594c0b42bce815de0c735f.jpg","text":"TemporaryFile(/tmp/multipartBody2316477978330492018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744203864,"filename":"image_14122025_21_04_35_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382539","file1":"1399382537","file0":"1399382536","file4":"1399382541","file5":"1399382543","file3":"1399382540"},"map_files_photo_id_array":[{"photo_id":"1399382543","filename":"file5"},{"photo_id":"1399382539","filename":"file2"},{"photo_id":"1399382541","filename":"file4"},{"photo_id":"1399382537","filename":"file1"},{"photo_id":"1399382536","filename":"file0"},{"photo_id":"1399382540","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382543":["hashtag1","hashtag2"]},{"1399382537":["hashtag1","hashtag2"]},{"1399382540":["hashtag1","hashtag2"]},{"1399382536":["hashtag1","hashtag2"]},{"1399382539":["hashtag1","hashtag2"]},{"1399382541":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382543, 1399382537, 1399382540, 1399382536, 1399382539, 1399382541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.363465547561646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:29:41.966853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_45_1836.jpg', '/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_47_1623.jpg', '/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_49_1563.jpg', '/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_50_1651.jpg', '/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_54_3527.jpg', '/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_56_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_45_1836.jpg
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_47_1623.jpg
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_49_1563.jpg
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_50_1651.jpg
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_54_3527.jpg
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_56_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":["1399382555","1399382549","1399382554","1399382557","1399382553","1399382556"],"photo_ids_order":["1399382549","1399382553","1399382554","1399382555","1399382556","1399382557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/30561f02c322b226ef4c580f0f62aa69.jpg","text":"TemporaryFile(/tmp/multipartBody180095616474691933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744242650,"filename":"image_04112025_14_54_50_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1bc890acbde91fe8308436794949d300.jpg","text":"TemporaryFile(/tmp/multipartBody114323952547264294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744242650,"filename":"image_04112025_14_54_45_1836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c564ece763bd8f71f2156ecf95205a5.jpg","text":"TemporaryFile(/tmp/multipartBody3342664740053886312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744242650,"filename":"image_04112025_14_54_49_1563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f7ef67a84b1e66d01cf3568441095485.jpg","text":"TemporaryFile(/tmp/multipartBody7557716593600499602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744242650,"filename":"image_04112025_14_54_56_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9474d60b16005a411ab5a254f1e8b233.jpg","text":"TemporaryFile(/tmp/multipartBody3984473174209049593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744242650,"filename":"image_04112025_14_54_47_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0db366526799b312b67154cec315ba21.jpg","text":"TemporaryFile(/tmp/multipartBody1909836208359581296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744242650,"filename":"image_04112025_14_54_54_3527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382554","file1":"1399382553","file0":"1399382549","file4":"1399382556","file5":"1399382557","file3":"1399382555"},"map_files_photo_id_array":[{"photo_id":"1399382557","filename":"file5"},{"photo_id":"1399382554","filename":"file2"},{"photo_id":"1399382556","filename":"file4"},{"photo_id":"1399382553","filename":"file1"},{"photo_id":"1399382549","filename":"file0"},{"photo_id":"1399382555","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382555":["hashtag1","hashtag2"]},{"1399382549":["hashtag1","hashtag2"]},{"1399382554":["hashtag1","hashtag2"]},{"1399382557":["hashtag1","hashtag2"]},{"1399382553":["hashtag1","hashtag2"]},{"1399382556":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382555, 1399382549, 1399382554, 1399382557, 1399382553, 1399382556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.500181674957275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:30:22.251250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/04/image_14122025_21_04_55_9983.jpg', '/home/pi/Desktop/images/14122025/21/04/image_14122025_21_05_05_9790.jpg', '/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_15_9647.jpg', '/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_35_10794.jpg', '/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_45_9716.jpg', '/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_55_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/04/image_14122025_21_04_55_9983.jpg
/home/pi/Desktop/images/14122025/21/04/image_14122025_21_05_05_9790.jpg
/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_15_9647.jpg
/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_35_10794.jpg
/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_45_9716.jpg
/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_55_10369.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.514678955078125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:30:32.252036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:30:42.210615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_59_2635.jpg', '/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_03_3700.jpg', '/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_05_2698.jpg', '/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_09_3307.jpg', '/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_18_8801.jpg', '/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_27_8973.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/54/image_04112025_14_54_59_2635.jpg
/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_03_3700.jpg
/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_05_2698.jpg
/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_09_3307.jpg
/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_18_8801.jpg
/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_27_8973.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382570","1399382572","1399382571","1399382574","1399382568","1399382573"],"photo_ids_order":["1399382568","1399382570","1399382571","1399382572","1399382573","1399382574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b0be291271d3dc71e1e4123a6f9d2d4c.jpg","text":"TemporaryFile(/tmp/multipartBody4126631756075839446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744302902,"filename":"image_04112025_14_55_03_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c56bb3965ce4b660bbbad4b54ef32686.jpg","text":"TemporaryFile(/tmp/multipartBody6735757480730291394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744302902,"filename":"image_04112025_14_55_09_3307.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d696ed1645b70753c2d3cacb187a0551.jpg","text":"TemporaryFile(/tmp/multipartBody867078499118420492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744302902,"filename":"image_04112025_14_55_05_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd8572b20d292a795ceaf339d2bb2dd1.jpg","text":"TemporaryFile(/tmp/multipartBody3994069036415719443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744302902,"filename":"image_04112025_14_55_27_8973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7db38e0f72e2968da8eceaca29dc3659.jpg","text":"TemporaryFile(/tmp/multipartBody7631724131648521983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744302902,"filename":"image_04112025_14_54_59_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c4549313287784185628fe642bf633d.jpg","text":"TemporaryFile(/tmp/multipartBody5257672836532115546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744302902,"filename":"image_04112025_14_55_18_8801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382571","file1":"1399382570","file0":"1399382568","file4":"1399382573","file5":"1399382574","file3":"1399382572"},"map_files_photo_id_array":[{"photo_id":"1399382574","filename":"file5"},{"photo_id":"1399382571","filename":"file2"},{"photo_id":"1399382573","filename":"file4"},{"photo_id":"1399382570","filename":"file1"},{"photo_id":"1399382568","filename":"file0"},{"photo_id":"1399382572","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382570":["hashtag1","hashtag2"]},{"1399382572":["hashtag1","hashtag2"]},{"1399382571":["hashtag1","hashtag2"]},{"1399382574":["hashtag1","hashtag2"]},{"1399382568":["hashtag1","hashtag2"]},{"1399382573":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382570, 1399382572, 1399382571, 1399382574, 1399382568, 1399382573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39275789260864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:31:22.474428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/04/image_14122025_21_04_55_9983.jpg', '/home/pi/Desktop/images/14122025/21/04/image_14122025_21_05_05_9790.jpg', '/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_15_9647.jpg', '/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_35_10794.jpg', '/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_45_9716.jpg', '/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_55_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/04/image_14122025_21_04_55_9983.jpg
/home/pi/Desktop/images/14122025/21/04/image_14122025_21_05_05_9790.jpg
/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_15_9647.jpg
/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_35_10794.jpg
/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_45_9716.jpg
/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_55_10369.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5120635032653809 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:31:32.611697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:31:42.471728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_28_1713.jpg', '/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_30_1743.jpg', '/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_34_4334.jpg', '/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_36_1690.jpg', '/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_38_1625.jpg', '/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_39_1689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_28_1713.jpg
/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_30_1743.jpg
/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_34_4334.jpg
/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_36_1690.jpg
/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_38_1625.jpg
/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_39_1689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382585","1399382590","1399382589","1399382592","1399382591","1399382588"],"photo_ids_order":["1399382585","1399382588","1399382589","1399382590","1399382591","1399382592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6d6fb9eb8e638733f031cb6e416a3ae8.jpg","text":"TemporaryFile(/tmp/multipartBody2621988327587139756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744363186,"filename":"image_04112025_14_55_28_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3fd2b83b7fcc363d6dc83f1957cfb187.jpg","text":"TemporaryFile(/tmp/multipartBody5597625872110243824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744363186,"filename":"image_04112025_14_55_36_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2760f93d55da029b5ea1bf578aee3ce.jpg","text":"TemporaryFile(/tmp/multipartBody8526291800409051992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744363186,"filename":"image_04112025_14_55_34_4334.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/33664956ae1d6179775150065befd944.jpg","text":"TemporaryFile(/tmp/multipartBody2134992760739108152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744363186,"filename":"image_04112025_14_55_39_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/953054a4b2ca803a0f9c7b2bbc220d9c.jpg","text":"TemporaryFile(/tmp/multipartBody7622545074754522726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744363186,"filename":"image_04112025_14_55_38_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ab50569343fc5dac376128224808dca.jpg","text":"TemporaryFile(/tmp/multipartBody5762051348452805778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744363186,"filename":"image_04112025_14_55_30_1743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382589","file1":"1399382588","file0":"1399382585","file4":"1399382591","file5":"1399382592","file3":"1399382590"},"map_files_photo_id_array":[{"photo_id":"1399382592","filename":"file5"},{"photo_id":"1399382589","filename":"file2"},{"photo_id":"1399382591","filename":"file4"},{"photo_id":"1399382588","filename":"file1"},{"photo_id":"1399382585","filename":"file0"},{"photo_id":"1399382590","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382585":["hashtag1","hashtag2"]},{"1399382590":["hashtag1","hashtag2"]},{"1399382589":["hashtag1","hashtag2"]},{"1399382592":["hashtag1","hashtag2"]},{"1399382591":["hashtag1","hashtag2"]},{"1399382588":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382585, 1399382590, 1399382589, 1399382592, 1399382591, 1399382588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96338939666748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:32:22.725896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/04/image_14122025_21_04_55_9983.jpg', '/home/pi/Desktop/images/14122025/21/04/image_14122025_21_05_05_9790.jpg', '/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_15_9647.jpg', '/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_35_10794.jpg', '/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_45_9716.jpg', '/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_55_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/04/image_14122025_21_04_55_9983.jpg
/home/pi/Desktop/images/14122025/21/04/image_14122025_21_05_05_9790.jpg
/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_15_9647.jpg
/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_35_10794.jpg
/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_45_9716.jpg
/home/pi/Desktop/images/14122025/21/05/image_14122025_21_05_55_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382596","1399382600","1399382602","1399382598","1399382604","1399382594"],"photo_ids_order":["1399382594","1399382596","1399382598","1399382600","1399382602","1399382604"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ba719f27985249c736a57c37b0336eb.jpg","text":"TemporaryFile(/tmp/multipartBody7573849552314953094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744403336,"filename":"image_14122025_21_05_05_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/96be2e390333822c5e14c41e9e8d9ac1.jpg","text":"TemporaryFile(/tmp/multipartBody365236700709806653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744403336,"filename":"image_14122025_21_05_35_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/34aee64806bc5becccf3e94509b68b56.jpg","text":"TemporaryFile(/tmp/multipartBody3621486768965936233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744403336,"filename":"image_14122025_21_05_45_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/18564b690cfff316fc6878401df904ca.jpg","text":"TemporaryFile(/tmp/multipartBody4973084478754450035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744403336,"filename":"image_14122025_21_05_15_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8819c9ef4e87b809f32314e8e44b48f7.jpg","text":"TemporaryFile(/tmp/multipartBody4807860988521707295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744403336,"filename":"image_14122025_21_05_55_10369.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6ae3716446a2305c49152bd7057d333b.jpg","text":"TemporaryFile(/tmp/multipartBody2230106819181642728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744403336,"filename":"image_14122025_21_04_55_9983.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382598","file1":"1399382596","file0":"1399382594","file4":"1399382602","file5":"1399382604","file3":"1399382600"},"map_files_photo_id_array":[{"photo_id":"1399382604","filename":"file5"},{"photo_id":"1399382598","filename":"file2"},{"photo_id":"1399382602","filename":"file4"},{"photo_id":"1399382596","filename":"file1"},{"photo_id":"1399382594","filename":"file0"},{"photo_id":"1399382600","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382596":["hashtag1","hashtag2"]},{"1399382600":["hashtag1","hashtag2"]},{"1399382602":["hashtag1","hashtag2"]},{"1399382598":["hashtag1","hashtag2"]},{"1399382604":["hashtag1","hashtag2"]},{"1399382594":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382596, 1399382600, 1399382602, 1399382598, 1399382604, 1399382594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17746829986572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 21:33:02.603481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/05/image_14122025_21_06_05_9724.jpg', '/home/pi/Desktop/images/14122025/21/06/image_14122025_21_06_15_9652.jpg', '/home/pi/Desktop/images/14122025/21/06/image_14122025_21_06_24_9784.jpg', '/home/pi/Desktop/images/14122025/21/06/image_14122025_21_06_35_10806.jpg', '/home/pi/Desktop/images/14122025/21/06/image_14122025_21_06_45_9859.jpg', '/home/pi/Desktop/images/14122025/21/06/image_14122025_21_07_05_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/05/image_14122025_21_06_05_9724.jpg
/home/pi/Desktop/images/14122025/21/06/image_14122025_21_06_15_9652.jpg
/home/pi/Desktop/images/14122025/21/06/image_14122025_21_06_24_9784.jpg
/home/pi/Desktop/images/14122025/21/06/image_14122025_21_06_35_10806.jpg
/home/pi/Desktop/images/14122025/21/06/image_14122025_21_06_45_9859.jpg
/home/pi/Desktop/images/14122025/21/06/image_14122025_21_07_05_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":["1399382612","1399382609","1399382605","1399382608","1399382607","1399382610"],"photo_ids_order":["1399382605","1399382607","1399382608","1399382609","1399382610","1399382612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/48f22f489af39831f23f2362f8beb4ab.jpg","text":"TemporaryFile(/tmp/multipartBody392669449833178268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744443239,"filename":"image_14122025_21_07_05_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28a70acc9ba11af8d78d4f7074f60199.jpg","text":"TemporaryFile(/tmp/multipartBody7508049054327308763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744443239,"filename":"image_14122025_21_06_35_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5369be647b18e58c11390025425278ae.jpg","text":"TemporaryFile(/tmp/multipartBody138395424183571520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744443239,"filename":"image_14122025_21_06_05_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0e4363d9d229a75a03792b3a837d8dd9.jpg","text":"TemporaryFile(/tmp/multipartBody2958117802579935589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744443239,"filename":"image_14122025_21_06_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/12/14/97a89da7d141f48204f0fc5f0941e9dd.jpg","text":"TemporaryFile(/tmp/multipartBody3791328122261728961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744443239,"filename":"image_14122025_21_06_15_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7152c9bcc44cd2df11f9fb8ed29c5c04.jpg","text":"TemporaryFile(/tmp/multipartBody4529875955508451757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744443239,"filename":"image_14122025_21_06_45_9859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382608","file1":"1399382607","file0":"1399382605","file4":"1399382610","file5":"1399382612","file3":"1399382609"},"map_files_photo_id_array":[{"photo_id":"1399382612","filename":"file5"},{"photo_id":"1399382608","filename":"file2"},{"photo_id":"1399382610","filename":"file4"},{"photo_id":"1399382607","filename":"file1"},{"photo_id":"1399382605","filename":"file0"},{"photo_id":"1399382609","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382612":["hashtag1","hashtag2"]},{"1399382609":["hashtag1","hashtag2"]},{"1399382605":["hashtag1","hashtag2"]},{"1399382608":["hashtag1","hashtag2"]},{"1399382607":["hashtag1","hashtag2"]},{"1399382610":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382612, 1399382609, 1399382605, 1399382608, 1399382607, 1399382610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.162697315216064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:33:41.905433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_41_1664.jpg', '/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_48_6894.jpg', '/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_50_1864.jpg', '/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_55_1702.jpg', '/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_57_1803.jpg', '/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_58_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_41_1664.jpg
/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_48_6894.jpg
/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_50_1864.jpg
/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_55_1702.jpg
/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_57_1803.jpg
/home/pi/Desktop/images/04112025/14/55/image_04112025_14_55_58_1646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382624","1399382621","1399382620","1399382623","1399382617","1399382622"],"photo_ids_order":["1399382617","1399382620","1399382621","1399382622","1399382623","1399382624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/35aa5cdd2418fed4d8421f3eb9282590.jpg","text":"TemporaryFile(/tmp/multipartBody5187092339257515963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744482598,"filename":"image_04112025_14_55_58_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/98f07abdadd91ac99b415cba513ed45f.jpg","text":"TemporaryFile(/tmp/multipartBody8121053820855155164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744482598,"filename":"image_04112025_14_55_50_1864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d17473c62119fad077fe26750d10ceaa.jpg","text":"TemporaryFile(/tmp/multipartBody8890192199294495936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744482598,"filename":"image_04112025_14_55_48_6894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/384b50cac4d14e8d18871516fb27391b.jpg","text":"TemporaryFile(/tmp/multipartBody6917572851708678568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744482598,"filename":"image_04112025_14_55_57_1803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5575b0498b2282574d7d9cc1ef17b106.jpg","text":"TemporaryFile(/tmp/multipartBody8360755148504335234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744482598,"filename":"image_04112025_14_55_41_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6993ea12d8abd118918043b203ec3778.jpg","text":"TemporaryFile(/tmp/multipartBody1090737338963467648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744482598,"filename":"image_04112025_14_55_55_1702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382621","file1":"1399382620","file0":"1399382617","file4":"1399382623","file5":"1399382624","file3":"1399382622"},"map_files_photo_id_array":[{"photo_id":"1399382624","filename":"file5"},{"photo_id":"1399382621","filename":"file2"},{"photo_id":"1399382623","filename":"file4"},{"photo_id":"1399382620","filename":"file1"},{"photo_id":"1399382617","filename":"file0"},{"photo_id":"1399382622","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382624":["hashtag1","hashtag2"]},{"1399382621":["hashtag1","hashtag2"]},{"1399382620":["hashtag1","hashtag2"]},{"1399382623":["hashtag1","hashtag2"]},{"1399382617":["hashtag1","hashtag2"]},{"1399382622":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382624, 1399382621, 1399382620, 1399382623, 1399382617, 1399382622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53237724304199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:34:22.132294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/07/image_14122025_21_07_15_9852.jpg', '/home/pi/Desktop/images/14122025/21/07/image_14122025_21_07_24_9627.jpg', '/home/pi/Desktop/images/14122025/21/07/image_14122025_21_07_35_10893.jpg', '/home/pi/Desktop/images/14122025/21/07/image_14122025_21_07_45_9688.jpg', '/home/pi/Desktop/images/14122025/21/07/image_14122025_21_07_55_9606.jpg', '/home/pi/Desktop/images/14122025/21/07/image_14122025_21_08_05_10700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/07/image_14122025_21_07_15_9852.jpg
/home/pi/Desktop/images/14122025/21/07/image_14122025_21_07_24_9627.jpg
/home/pi/Desktop/images/14122025/21/07/image_14122025_21_07_35_10893.jpg
/home/pi/Desktop/images/14122025/21/07/image_14122025_21_07_45_9688.jpg
/home/pi/Desktop/images/14122025/21/07/image_14122025_21_07_55_9606.jpg
/home/pi/Desktop/images/14122025/21/07/image_14122025_21_08_05_10700.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5183215141296387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:34:32.175262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:34:42.203721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/55/image_04112025_14_56_00_1706.jpg', '/home/pi/Desktop/images/04112025/14/56/image_04112025_14_56_03_2675.jpg', '/home/pi/Desktop/images/04112025/14/56/image_04112025_14_56_05_2697.jpg', '/home/pi/Desktop/images/04112025/14/56/image_04112025_14_56_08_2767.jpg', '/home/pi/Desktop/images/04112025/14/56/image_04112025_14_56_17_2600.jpg', '/home/pi/Desktop/images/04112025/14/56/image_04112025_14_56_26_2837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/55/image_04112025_14_56_00_1706.jpg
/home/pi/Desktop/images/04112025/14/56/image_04112025_14_56_03_2675.jpg
/home/pi/Desktop/images/04112025/14/56/image_04112025_14_56_05_2697.jpg
/home/pi/Desktop/images/04112025/14/56/image_04112025_14_56_08_2767.jpg
/home/pi/Desktop/images/04112025/14/56/image_04112025_14_56_17_2600.jpg
/home/pi/Desktop/images/04112025/14/56/image_04112025_14_56_26_2837.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382642","1399382639","1399382641","1399382635","1399382638","1399382640"],"photo_ids_order":["1399382635","1399382638","1399382639","1399382640","1399382641","1399382642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4282b7c63a8aadec88df5dbcb9b915b1.jpg","text":"TemporaryFile(/tmp/multipartBody5004338454998336165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744542918,"filename":"image_04112025_14_56_26_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4be067fe0cf76f009c205e18b95b97a8.jpg","text":"TemporaryFile(/tmp/multipartBody1325649786572520000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744542918,"filename":"image_04112025_14_56_05_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bd50f9ad00324ca0a9fc32b4233ef834.jpg","text":"TemporaryFile(/tmp/multipartBody8254776077448355348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744542918,"filename":"image_04112025_14_56_17_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/686c9066c16485fd87a04bc33bc57003.jpg","text":"TemporaryFile(/tmp/multipartBody7475254996034290930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744542918,"filename":"image_04112025_14_56_00_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c321b761c159bf5b869d80a6e2e51b89.jpg","text":"TemporaryFile(/tmp/multipartBody1727358794333047378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744542918,"filename":"image_04112025_14_56_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/12/14/8aba5df4a9dd1ac7a6818cf9619babe8.jpg","text":"TemporaryFile(/tmp/multipartBody8288567060317636308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744542918,"filename":"image_04112025_14_56_08_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382639","file1":"1399382638","file0":"1399382635","file4":"1399382641","file5":"1399382642","file3":"1399382640"},"map_files_photo_id_array":[{"photo_id":"1399382642","filename":"file5"},{"photo_id":"1399382639","filename":"file2"},{"photo_id":"1399382641","filename":"file4"},{"photo_id":"1399382638","filename":"file1"},{"photo_id":"1399382635","filename":"file0"},{"photo_id":"1399382640","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382642":["hashtag1","hashtag2"]},{"1399382639":["hashtag1","hashtag2"]},{"1399382641":["hashtag1","hashtag2"]},{"1399382635":["hashtag1","hashtag2"]},{"1399382638":["hashtag1","hashtag2"]},{"1399382640":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382642, 1399382639, 1399382641, 1399382635, 1399382638, 1399382640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86516189575195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:35:22.511154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/07/image_14122025_21_07_15_9852.jpg', '/home/pi/Desktop/images/14122025/21/07/image_14122025_21_07_24_9627.jpg', '/home/pi/Desktop/images/14122025/21/07/image_14122025_21_07_35_10893.jpg', '/home/pi/Desktop/images/14122025/21/07/image_14122025_21_07_45_9688.jpg', '/home/pi/Desktop/images/14122025/21/07/image_14122025_21_07_55_9606.jpg', '/home/pi/Desktop/images/14122025/21/07/image_14122025_21_08_05_10700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/07/image_14122025_21_07_15_9852.jpg
/home/pi/Desktop/images/14122025/21/07/image_14122025_21_07_24_9627.jpg
/home/pi/Desktop/images/14122025/21/07/image_14122025_21_07_35_10893.jpg
/home/pi/Desktop/images/14122025/21/07/image_14122025_21_07_45_9688.jpg
/home/pi/Desktop/images/14122025/21/07/image_14122025_21_07_55_9606.jpg
/home/pi/Desktop/images/14122025/21/07/image_14122025_21_08_05_10700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382645","1399382650","1399382653","1399382647","1399382643","1399382649"],"photo_ids_order":["1399382643","1399382645","1399382647","1399382649","1399382650","1399382653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9b4439d7a71826090373e6a1ad94139.jpg","text":"TemporaryFile(/tmp/multipartBody7425416791951312490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744583175,"filename":"image_14122025_21_07_24_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1fe5f7f69e37564d06be82113de823a6.jpg","text":"TemporaryFile(/tmp/multipartBody4403599657741849917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744583175,"filename":"image_14122025_21_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/12/14/cdf2c45da021385c5250f8314836cf38.jpg","text":"TemporaryFile(/tmp/multipartBody3636546211009250276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744583175,"filename":"image_14122025_21_08_05_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/782f94250f351712bec60f4c4da12d59.jpg","text":"TemporaryFile(/tmp/multipartBody8349487487511314958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744583175,"filename":"image_14122025_21_07_35_10893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f218ff6c40282fd63211329939f89709.jpg","text":"TemporaryFile(/tmp/multipartBody7491268128629230772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744583175,"filename":"image_14122025_21_07_15_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/09292b15024e9b56e20e05196947a345.jpg","text":"TemporaryFile(/tmp/multipartBody5073209043740481229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744583175,"filename":"image_14122025_21_07_45_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382647","file1":"1399382645","file0":"1399382643","file4":"1399382650","file5":"1399382653","file3":"1399382649"},"map_files_photo_id_array":[{"photo_id":"1399382653","filename":"file5"},{"photo_id":"1399382647","filename":"file2"},{"photo_id":"1399382650","filename":"file4"},{"photo_id":"1399382645","filename":"file1"},{"photo_id":"1399382643","filename":"file0"},{"photo_id":"1399382649","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382645":["hashtag1","hashtag2"]},{"1399382650":["hashtag1","hashtag2"]},{"1399382653":["hashtag1","hashtag2"]},{"1399382647":["hashtag1","hashtag2"]},{"1399382643":["hashtag1","hashtag2"]},{"1399382649":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382645, 1399382650, 1399382653, 1399382647, 1399382643, 1399382649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48284077644348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 21:36:03.239601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/08/image_14122025_21_08_16_10410.jpg', '/home/pi/Desktop/images/14122025/21/08/image_14122025_21_08_25_8913.jpg', '/home/pi/Desktop/images/14122025/21/08/image_14122025_21_08_34_9798.jpg', '/home/pi/Desktop/images/14122025/21/08/image_14122025_21_08_45_10720.jpg', '/home/pi/Desktop/images/14122025/21/08/image_14122025_21_08_55_9675.jpg', '/home/pi/Desktop/images/14122025/21/08/image_14122025_21_09_05_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/08/image_14122025_21_08_16_10410.jpg
/home/pi/Desktop/images/14122025/21/08/image_14122025_21_08_25_8913.jpg
/home/pi/Desktop/images/14122025/21/08/image_14122025_21_08_34_9798.jpg
/home/pi/Desktop/images/14122025/21/08/image_14122025_21_08_45_10720.jpg
/home/pi/Desktop/images/14122025/21/08/image_14122025_21_08_55_9675.jpg
/home/pi/Desktop/images/14122025/21/08/image_14122025_21_09_05_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":["1399382660","1399382663","1399382665","1399382662","1399382664","1399382667"],"photo_ids_order":["1399382660","1399382662","1399382663","1399382664","1399382665","1399382667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3a318db873f75f55b0b985cb2dbca366.jpg","text":"TemporaryFile(/tmp/multipartBody2395517108041729651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744623920,"filename":"image_14122025_21_08_16_10410.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b135f1f1376347084abb968a7e7efce.jpg","text":"TemporaryFile(/tmp/multipartBody5038920971945031773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744623920,"filename":"image_14122025_21_08_34_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c13c56407cea9c4ccf9f8255dae9d4b.jpg","text":"TemporaryFile(/tmp/multipartBody312702415285471641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744623920,"filename":"image_14122025_21_08_55_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f91e5f5ee1a4b97283ca7e378fd8c5ff.jpg","text":"TemporaryFile(/tmp/multipartBody1472031754736968658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744623920,"filename":"image_14122025_21_08_25_8913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/617557bc1ed4e995fd4c38595a027c63.jpg","text":"TemporaryFile(/tmp/multipartBody2857885532970844195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744623920,"filename":"image_14122025_21_08_45_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb32914b185ca2d66d1ab2d3b05a0e3f.jpg","text":"TemporaryFile(/tmp/multipartBody8425399214506176105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744623920,"filename":"image_14122025_21_09_05_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382663","file1":"1399382662","file0":"1399382660","file4":"1399382665","file5":"1399382667","file3":"1399382664"},"map_files_photo_id_array":[{"photo_id":"1399382667","filename":"file5"},{"photo_id":"1399382663","filename":"file2"},{"photo_id":"1399382665","filename":"file4"},{"photo_id":"1399382662","filename":"file1"},{"photo_id":"1399382660","filename":"file0"},{"photo_id":"1399382664","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382660":["hashtag1","hashtag2"]},{"1399382663":["hashtag1","hashtag2"]},{"1399382665":["hashtag1","hashtag2"]},{"1399382662":["hashtag1","hashtag2"]},{"1399382664":["hashtag1","hashtag2"]},{"1399382667":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382660, 1399382663, 1399382665, 1399382662, 1399382664, 1399382667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.232107162475586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:36:42.820692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/56/image_04112025_14_56_39_12564.jpg', '/home/pi/Desktop/images/04112025/14/56/image_04112025_14_56_40_1639.jpg', '/home/pi/Desktop/images/04112025/14/56/image_04112025_14_56_46_1641.jpg', '/home/pi/Desktop/images/04112025/14/56/image_04112025_14_56_47_1604.jpg', '/home/pi/Desktop/images/04112025/14/56/image_04112025_14_56_49_1766.jpg', '/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_02_12943.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/56/image_04112025_14_56_39_12564.jpg
/home/pi/Desktop/images/04112025/14/56/image_04112025_14_56_40_1639.jpg
/home/pi/Desktop/images/04112025/14/56/image_04112025_14_56_46_1641.jpg
/home/pi/Desktop/images/04112025/14/56/image_04112025_14_56_47_1604.jpg
/home/pi/Desktop/images/04112025/14/56/image_04112025_14_56_49_1766.jpg
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_02_12943.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382675","1399382677","1399382674","1399382676","1399382673","1399382672"],"photo_ids_order":["1399382672","1399382673","1399382674","1399382675","1399382676","1399382677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5cd32634a645e3c615aa65f06e9fb4c0.jpg","text":"TemporaryFile(/tmp/multipartBody3965906313870629276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744663515,"filename":"image_04112025_14_56_47_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9c14f227aeeb2cc2a44b2fb72aac6216.jpg","text":"TemporaryFile(/tmp/multipartBody8618469299945587060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744663515,"filename":"image_04112025_14_57_02_12943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/254de6ded65c1a66eec1ab4d4bee4906.jpg","text":"TemporaryFile(/tmp/multipartBody8929697058813617391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744663515,"filename":"image_04112025_14_56_46_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/05666913a5cdc24f2ac6378c1b3b2371.jpg","text":"TemporaryFile(/tmp/multipartBody8127835343070788441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744663515,"filename":"image_04112025_14_56_49_1766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ad426c04391b38eaed9d43f904fc6fb.jpg","text":"TemporaryFile(/tmp/multipartBody7521244735580608860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744663515,"filename":"image_04112025_14_56_40_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba3f91c8fe0b64b69544e1d7ceeb62a0.jpg","text":"TemporaryFile(/tmp/multipartBody4284316843863609526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744663515,"filename":"image_04112025_14_56_39_12564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382674","file1":"1399382673","file0":"1399382672","file4":"1399382676","file5":"1399382677","file3":"1399382675"},"map_files_photo_id_array":[{"photo_id":"1399382677","filename":"file5"},{"photo_id":"1399382674","filename":"file2"},{"photo_id":"1399382676","filename":"file4"},{"photo_id":"1399382673","filename":"file1"},{"photo_id":"1399382672","filename":"file0"},{"photo_id":"1399382675","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382675":["hashtag1","hashtag2"]},{"1399382677":["hashtag1","hashtag2"]},{"1399382674":["hashtag1","hashtag2"]},{"1399382676":["hashtag1","hashtag2"]},{"1399382673":["hashtag1","hashtag2"]},{"1399382672":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382675, 1399382677, 1399382674, 1399382676, 1399382673, 1399382672)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.74566102027893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:37:32.067612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:37:42.114555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_04_1643.jpg', '/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_05_1653.jpg', '/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_07_1646.jpg', '/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_09_1525.jpg', '/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_10_1613.jpg', '/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_12_1718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_04_1643.jpg
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_05_1653.jpg
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_07_1646.jpg
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_09_1525.jpg
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_10_1613.jpg
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_12_1718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382686","1399382689","1399382688","1399382690","1399382684","1399382687"],"photo_ids_order":["1399382684","1399382686","1399382687","1399382688","1399382689","1399382690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4febd53c1443da161845327a17b4173c.jpg","text":"TemporaryFile(/tmp/multipartBody591274158693183715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744722820,"filename":"image_04112025_14_57_05_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ee1ab277e097e79cc1b5d0c827e1c2d.jpg","text":"TemporaryFile(/tmp/multipartBody4091704751371780929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744722820,"filename":"image_04112025_14_57_10_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88fb043d56ad1e1c6342dc0bd826b5d5.jpg","text":"TemporaryFile(/tmp/multipartBody2727031654091321144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744722820,"filename":"image_04112025_14_57_09_1525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eb36ca77f87b9889408d36a1f73392f5.jpg","text":"TemporaryFile(/tmp/multipartBody749451556465261949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744722820,"filename":"image_04112025_14_57_12_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4cd0e81d6b3481f0e3dc9685a0b654f4.jpg","text":"TemporaryFile(/tmp/multipartBody434863491869991917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744722820,"filename":"image_04112025_14_57_04_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/597a9fe54b404ed8837ca44cd6445dc6.jpg","text":"TemporaryFile(/tmp/multipartBody3519710997431889327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744722820,"filename":"image_04112025_14_57_07_1646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382687","file1":"1399382686","file0":"1399382684","file4":"1399382689","file5":"1399382690","file3":"1399382688"},"map_files_photo_id_array":[{"photo_id":"1399382690","filename":"file5"},{"photo_id":"1399382687","filename":"file2"},{"photo_id":"1399382689","filename":"file4"},{"photo_id":"1399382686","filename":"file1"},{"photo_id":"1399382684","filename":"file0"},{"photo_id":"1399382688","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382686":["hashtag1","hashtag2"]},{"1399382689":["hashtag1","hashtag2"]},{"1399382688":["hashtag1","hashtag2"]},{"1399382690":["hashtag1","hashtag2"]},{"1399382684":["hashtag1","hashtag2"]},{"1399382687":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382686, 1399382689, 1399382688, 1399382690, 1399382684, 1399382687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.792712450027466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:38:22.352466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_15_10672.jpg', '/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_25_9724.jpg', '/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_35_9707.jpg', '/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_45_9914.jpg', '/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_54_9851.jpg', '/home/pi/Desktop/images/14122025/21/09/image_14122025_21_10_05_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_15_10672.jpg
/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_25_9724.jpg
/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_35_9707.jpg
/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_45_9914.jpg
/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_54_9851.jpg
/home/pi/Desktop/images/14122025/21/09/image_14122025_21_10_05_10712.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5152866840362549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:38:32.370534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:38:42.341205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_15_3113.jpg', '/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_17_1701.jpg', '/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_18_1619.jpg', '/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_22_3829.jpg', '/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_24_1901.jpg', '/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_28_4005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_15_3113.jpg
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_17_1701.jpg
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_18_1619.jpg
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_22_3829.jpg
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_24_1901.jpg
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_28_4005.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382711","1399382708","1399382701","1399382710","1399382707","1399382709"],"photo_ids_order":["1399382701","1399382707","1399382708","1399382709","1399382710","1399382711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b39c1c37e6bba74706e429fabdb11238.jpg","text":"TemporaryFile(/tmp/multipartBody801880208213792211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744783044,"filename":"image_04112025_14_57_28_4005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c10af5d69fed0bade10c08c4b9e2115.jpg","text":"TemporaryFile(/tmp/multipartBody5478422594931044856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744783044,"filename":"image_04112025_14_57_18_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b44aa26abdb817c6d60283be7fcdc5ac.jpg","text":"TemporaryFile(/tmp/multipartBody6682991446035239212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744783044,"filename":"image_04112025_14_57_15_3113.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d92f1187117c1ac83e4d4e7b30b08d0.jpg","text":"TemporaryFile(/tmp/multipartBody5175311386812637418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744783044,"filename":"image_04112025_14_57_24_1901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2bd50502e40f124cc1f777cb0605e0d8.jpg","text":"TemporaryFile(/tmp/multipartBody5052831983610165603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744783044,"filename":"image_04112025_14_57_17_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c73c3d852b4ea9512f6dc2e4f3f76a8.jpg","text":"TemporaryFile(/tmp/multipartBody3756317056036642202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744783044,"filename":"image_04112025_14_57_22_3829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382708","file1":"1399382707","file0":"1399382701","file4":"1399382710","file5":"1399382711","file3":"1399382709"},"map_files_photo_id_array":[{"photo_id":"1399382711","filename":"file5"},{"photo_id":"1399382708","filename":"file2"},{"photo_id":"1399382710","filename":"file4"},{"photo_id":"1399382707","filename":"file1"},{"photo_id":"1399382701","filename":"file0"},{"photo_id":"1399382709","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382711":["hashtag1","hashtag2"]},{"1399382708":["hashtag1","hashtag2"]},{"1399382701":["hashtag1","hashtag2"]},{"1399382710":["hashtag1","hashtag2"]},{"1399382707":["hashtag1","hashtag2"]},{"1399382709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382711, 1399382708, 1399382701, 1399382710, 1399382707, 1399382709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09703779220581 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:39:22.633213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_15_10672.jpg', '/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_25_9724.jpg', '/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_35_9707.jpg', '/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_45_9914.jpg', '/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_54_9851.jpg', '/home/pi/Desktop/images/14122025/21/09/image_14122025_21_10_05_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_15_10672.jpg
/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_25_9724.jpg
/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_35_9707.jpg
/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_45_9914.jpg
/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_54_9851.jpg
/home/pi/Desktop/images/14122025/21/09/image_14122025_21_10_05_10712.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5174984931945801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:39:32.589191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:39:42.566195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_30_1524.jpg', '/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_31_1843.jpg', '/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_33_1579.jpg', '/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_36_2688.jpg', '/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_39_2900.jpg', '/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_41_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_30_1524.jpg
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_31_1843.jpg
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_33_1579.jpg
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_36_2688.jpg
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_39_2900.jpg
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_41_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":["1399382729","1399382723","1399382726","1399382728","1399382730","1399382727"],"photo_ids_order":["1399382723","1399382726","1399382727","1399382728","1399382729","1399382730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/55db9e379b2915921d62065c473bb155.jpg","text":"TemporaryFile(/tmp/multipartBody4419346294710856433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744843333,"filename":"image_04112025_14_57_39_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da4d0c53a95eeb9cbaee3809bb9d9880.jpg","text":"TemporaryFile(/tmp/multipartBody473960154141747021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744843333,"filename":"image_04112025_14_57_30_1524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5582ee785fe8e700f6f9b279359a48fa.jpg","text":"TemporaryFile(/tmp/multipartBody686941219298226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744843333,"filename":"image_04112025_14_57_31_1843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e083d749ebe05dd1d8b363c1e684776.jpg","text":"TemporaryFile(/tmp/multipartBody8825269795977900600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744843333,"filename":"image_04112025_14_57_36_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b45253ca59ee855d0833046429253f04.jpg","text":"TemporaryFile(/tmp/multipartBody8076110377959122149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744843333,"filename":"image_04112025_14_57_41_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fdffab1bfca08a75b36c31b214f7f433.jpg","text":"TemporaryFile(/tmp/multipartBody9221282935132413294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744843333,"filename":"image_04112025_14_57_33_1579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382727","file1":"1399382726","file0":"1399382723","file4":"1399382729","file5":"1399382730","file3":"1399382728"},"map_files_photo_id_array":[{"photo_id":"1399382730","filename":"file5"},{"photo_id":"1399382727","filename":"file2"},{"photo_id":"1399382729","filename":"file4"},{"photo_id":"1399382726","filename":"file1"},{"photo_id":"1399382723","filename":"file0"},{"photo_id":"1399382728","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382729":["hashtag1","hashtag2"]},{"1399382723":["hashtag1","hashtag2"]},{"1399382726":["hashtag1","hashtag2"]},{"1399382728":["hashtag1","hashtag2"]},{"1399382730":["hashtag1","hashtag2"]},{"1399382727":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382729, 1399382723, 1399382726, 1399382728, 1399382730, 1399382727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.561996936798096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:40:22.811462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_15_10672.jpg', '/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_25_9724.jpg', '/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_35_9707.jpg', '/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_45_9914.jpg', '/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_54_9851.jpg', '/home/pi/Desktop/images/14122025/21/09/image_14122025_21_10_05_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_15_10672.jpg
/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_25_9724.jpg
/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_35_9707.jpg
/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_45_9914.jpg
/home/pi/Desktop/images/14122025/21/09/image_14122025_21_09_54_9851.jpg
/home/pi/Desktop/images/14122025/21/09/image_14122025_21_10_05_10712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382738","1399382732","1399382740","1399382734","1399382742","1399382736"],"photo_ids_order":["1399382732","1399382734","1399382736","1399382738","1399382740","1399382742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae4d1b50986f9408d4c09010a30f4b41.jpg","text":"TemporaryFile(/tmp/multipartBody8378704492465605066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744883424,"filename":"image_14122025_21_09_45_9914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/347f399aac665d1217313df458d89815.jpg","text":"TemporaryFile(/tmp/multipartBody9001600171610808277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744883424,"filename":"image_14122025_21_09_15_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d494f8f0c4436e7e91c76205402ad6b0.jpg","text":"TemporaryFile(/tmp/multipartBody1899650774773077997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744883424,"filename":"image_14122025_21_09_54_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf665ce660c6c1a7e4e367a90125ad5a.jpg","text":"TemporaryFile(/tmp/multipartBody1788554828582081139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744883424,"filename":"image_14122025_21_09_25_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b1ee4190309f5489eeb4246791b6d1e6.jpg","text":"TemporaryFile(/tmp/multipartBody7768907659012578604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744883424,"filename":"image_14122025_21_10_05_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c9874877e667e49a638b125b20176e4c.jpg","text":"TemporaryFile(/tmp/multipartBody5170055601232494665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744883424,"filename":"image_14122025_21_09_35_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382736","file1":"1399382734","file0":"1399382732","file4":"1399382740","file5":"1399382742","file3":"1399382738"},"map_files_photo_id_array":[{"photo_id":"1399382742","filename":"file5"},{"photo_id":"1399382736","filename":"file2"},{"photo_id":"1399382740","filename":"file4"},{"photo_id":"1399382734","filename":"file1"},{"photo_id":"1399382732","filename":"file0"},{"photo_id":"1399382738","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382738":["hashtag1","hashtag2"]},{"1399382732":["hashtag1","hashtag2"]},{"1399382740":["hashtag1","hashtag2"]},{"1399382734":["hashtag1","hashtag2"]},{"1399382742":["hashtag1","hashtag2"]},{"1399382736":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382738, 1399382732, 1399382740, 1399382734, 1399382742, 1399382736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.748504400253296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 21:41:02.491387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/10/image_14122025_21_10_15_9826.jpg', '/home/pi/Desktop/images/14122025/21/10/image_14122025_21_10_25_9736.jpg', '/home/pi/Desktop/images/14122025/21/10/image_14122025_21_10_34_9729.jpg', '/home/pi/Desktop/images/14122025/21/10/image_14122025_21_10_45_10763.jpg', '/home/pi/Desktop/images/14122025/21/10/image_14122025_21_10_55_9773.jpg', '/home/pi/Desktop/images/14122025/21/10/image_14122025_21_11_05_9887.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/10/image_14122025_21_10_15_9826.jpg
/home/pi/Desktop/images/14122025/21/10/image_14122025_21_10_25_9736.jpg
/home/pi/Desktop/images/14122025/21/10/image_14122025_21_10_34_9729.jpg
/home/pi/Desktop/images/14122025/21/10/image_14122025_21_10_45_10763.jpg
/home/pi/Desktop/images/14122025/21/10/image_14122025_21_10_55_9773.jpg
/home/pi/Desktop/images/14122025/21/10/image_14122025_21_11_05_9887.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382747","1399382750","1399382746","1399382743","1399382745","1399382748"],"photo_ids_order":["1399382743","1399382745","1399382746","1399382747","1399382748","1399382750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d00c84d6c36742dff8dee38be43cc028.jpg","text":"TemporaryFile(/tmp/multipartBody7575036994959980386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744923247,"filename":"image_14122025_21_10_45_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/73fa763238fb40c07e603a9a1ee7db9a.jpg","text":"TemporaryFile(/tmp/multipartBody4009848295082649236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744923247,"filename":"image_14122025_21_11_05_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c5e07b155f5c0ac3a2c24022b2c11ffa.jpg","text":"TemporaryFile(/tmp/multipartBody8100380956184636480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744923247,"filename":"image_14122025_21_10_34_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c9ee33b8c4b29a334c4171f4991b7693.jpg","text":"TemporaryFile(/tmp/multipartBody8099108767000953626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744923247,"filename":"image_14122025_21_10_15_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/70abf9aaa365c7f10463f413642676e9.jpg","text":"TemporaryFile(/tmp/multipartBody2526727587919090799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744923247,"filename":"image_14122025_21_10_25_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54d93064a58534b55712070185a8e890.jpg","text":"TemporaryFile(/tmp/multipartBody328824649159837492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744923247,"filename":"image_14122025_21_10_55_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382746","file1":"1399382745","file0":"1399382743","file4":"1399382748","file5":"1399382750","file3":"1399382747"},"map_files_photo_id_array":[{"photo_id":"1399382750","filename":"file5"},{"photo_id":"1399382746","filename":"file2"},{"photo_id":"1399382748","filename":"file4"},{"photo_id":"1399382745","filename":"file1"},{"photo_id":"1399382743","filename":"file0"},{"photo_id":"1399382747","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382747":["hashtag1","hashtag2"]},{"1399382750":["hashtag1","hashtag2"]},{"1399382746":["hashtag1","hashtag2"]},{"1399382743":["hashtag1","hashtag2"]},{"1399382745":["hashtag1","hashtag2"]},{"1399382748":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382747, 1399382750, 1399382746, 1399382743, 1399382745, 1399382748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38260841369629 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:41:42.005254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_44_3048.jpg', '/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_47_2787.jpg', '/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_50_2631.jpg', '/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_53_3655.jpg', '/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_06_13015.jpg', '/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_08_1642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_44_3048.jpg
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_47_2787.jpg
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_50_2631.jpg
/home/pi/Desktop/images/04112025/14/57/image_04112025_14_57_53_3655.jpg
/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_06_13015.jpg
/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_08_1642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382762","1399382764","1399382761","1399382755","1399382763","1399382766"],"photo_ids_order":["1399382755","1399382761","1399382762","1399382763","1399382764","1399382766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f031d97243c1a08b52d6c4be3dc14740.jpg","text":"TemporaryFile(/tmp/multipartBody5744272908589189988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744962703,"filename":"image_04112025_14_57_50_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a4eb64326eeace9f58e4dc9b421ede8c.jpg","text":"TemporaryFile(/tmp/multipartBody2646817837418667338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744962703,"filename":"image_04112025_14_58_06_13015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/79887e576d45c179d2003519677a4f76.jpg","text":"TemporaryFile(/tmp/multipartBody8085350798350269931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744962703,"filename":"image_04112025_14_57_47_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dce08a19719d2f4e986a703a589b675b.jpg","text":"TemporaryFile(/tmp/multipartBody1441390395235192929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744962703,"filename":"image_04112025_14_57_44_3048.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f655dba67d133f53b8f9fa1e2fca6220.jpg","text":"TemporaryFile(/tmp/multipartBody4848608505917068562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744962703,"filename":"image_04112025_14_57_53_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ffcebfa58b0a3c389d57cad8e2c58694.jpg","text":"TemporaryFile(/tmp/multipartBody369583717335110652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765744962703,"filename":"image_04112025_14_58_08_1642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382762","file1":"1399382761","file0":"1399382755","file4":"1399382764","file5":"1399382766","file3":"1399382763"},"map_files_photo_id_array":[{"photo_id":"1399382766","filename":"file5"},{"photo_id":"1399382762","filename":"file2"},{"photo_id":"1399382764","filename":"file4"},{"photo_id":"1399382761","filename":"file1"},{"photo_id":"1399382755","filename":"file0"},{"photo_id":"1399382763","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382762":["hashtag1","hashtag2"]},{"1399382764":["hashtag1","hashtag2"]},{"1399382761":["hashtag1","hashtag2"]},{"1399382755":["hashtag1","hashtag2"]},{"1399382763":["hashtag1","hashtag2"]},{"1399382766":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382762, 1399382764, 1399382761, 1399382755, 1399382763, 1399382766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.731860637664795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:42:22.256294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/11/image_14122025_21_11_25_10787.jpg', '/home/pi/Desktop/images/14122025/21/11/image_14122025_21_11_35_9678.jpg', '/home/pi/Desktop/images/14122025/21/11/image_14122025_21_11_45_9690.jpg', '/home/pi/Desktop/images/14122025/21/11/image_14122025_21_11_55_10064.jpg', '/home/pi/Desktop/images/14122025/21/11/image_14122025_21_12_04_9651.jpg', '/home/pi/Desktop/images/14122025/21/12/image_14122025_21_12_15_10827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/11/image_14122025_21_11_25_10787.jpg
/home/pi/Desktop/images/14122025/21/11/image_14122025_21_11_35_9678.jpg
/home/pi/Desktop/images/14122025/21/11/image_14122025_21_11_45_9690.jpg
/home/pi/Desktop/images/14122025/21/11/image_14122025_21_11_55_10064.jpg
/home/pi/Desktop/images/14122025/21/11/image_14122025_21_12_04_9651.jpg
/home/pi/Desktop/images/14122025/21/12/image_14122025_21_12_15_10827.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5461199283599854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:42:32.274618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:42:42.253604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_10_1627.jpg', '/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_12_1914.jpg', '/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_13_1699.jpg', '/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_15_1574.jpg', '/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_17_1665.jpg', '/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_18_1572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_10_1627.jpg
/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_12_1914.jpg
/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_13_1699.jpg
/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_15_1574.jpg
/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_17_1665.jpg
/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_18_1572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382780","1399382777","1399382782","1399382779","1399382781","1399382783"],"photo_ids_order":["1399382777","1399382779","1399382780","1399382781","1399382782","1399382783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27a221e1e19ea299f2f6b749999a347a.jpg","text":"TemporaryFile(/tmp/multipartBody5338871839182937220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745022962,"filename":"image_04112025_14_58_13_1699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f6e14b4f3e561d0cf81109ec0e3a7f6.jpg","text":"TemporaryFile(/tmp/multipartBody8888112749986749464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745022962,"filename":"image_04112025_14_58_10_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d37fc3ebb379ff74afab47196480720b.jpg","text":"TemporaryFile(/tmp/multipartBody1035118562509589977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745022962,"filename":"image_04112025_14_58_17_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b4e30af4586b206696f6623d9d7c2534.jpg","text":"TemporaryFile(/tmp/multipartBody7705800254751253248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745022962,"filename":"image_04112025_14_58_12_1914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1749bdf455df1c566e9d726c08b4abb8.jpg","text":"TemporaryFile(/tmp/multipartBody7224112252567798339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745022962,"filename":"image_04112025_14_58_15_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/84b9d1c1ddcfa09a7febb25337bb83bc.jpg","text":"TemporaryFile(/tmp/multipartBody4800103026849262987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745022962,"filename":"image_04112025_14_58_18_1572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382780","file1":"1399382779","file0":"1399382777","file4":"1399382782","file5":"1399382783","file3":"1399382781"},"map_files_photo_id_array":[{"photo_id":"1399382783","filename":"file5"},{"photo_id":"1399382780","filename":"file2"},{"photo_id":"1399382782","filename":"file4"},{"photo_id":"1399382779","filename":"file1"},{"photo_id":"1399382777","filename":"file0"},{"photo_id":"1399382781","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382780":["hashtag1","hashtag2"]},{"1399382777":["hashtag1","hashtag2"]},{"1399382782":["hashtag1","hashtag2"]},{"1399382779":["hashtag1","hashtag2"]},{"1399382781":["hashtag1","hashtag2"]},{"1399382783":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382780, 1399382777, 1399382782, 1399382779, 1399382781, 1399382783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30528998374939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:43:22.557680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/11/image_14122025_21_11_25_10787.jpg', '/home/pi/Desktop/images/14122025/21/11/image_14122025_21_11_35_9678.jpg', '/home/pi/Desktop/images/14122025/21/11/image_14122025_21_11_45_9690.jpg', '/home/pi/Desktop/images/14122025/21/11/image_14122025_21_11_55_10064.jpg', '/home/pi/Desktop/images/14122025/21/11/image_14122025_21_12_04_9651.jpg', '/home/pi/Desktop/images/14122025/21/12/image_14122025_21_12_15_10827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/11/image_14122025_21_11_25_10787.jpg
/home/pi/Desktop/images/14122025/21/11/image_14122025_21_11_35_9678.jpg
/home/pi/Desktop/images/14122025/21/11/image_14122025_21_11_45_9690.jpg
/home/pi/Desktop/images/14122025/21/11/image_14122025_21_11_55_10064.jpg
/home/pi/Desktop/images/14122025/21/11/image_14122025_21_12_04_9651.jpg
/home/pi/Desktop/images/14122025/21/12/image_14122025_21_12_15_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":["1399382789","1399382794","1399382791","1399382785","1399382787","1399382784"],"photo_ids_order":["1399382784","1399382785","1399382787","1399382789","1399382791","1399382794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d4c650d330adcb3997a7aec3cbf4d542.jpg","text":"TemporaryFile(/tmp/multipartBody5792461289496946380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745063224,"filename":"image_14122025_21_11_55_10064.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e9cd45419528f948857d3b0a63b46776.jpg","text":"TemporaryFile(/tmp/multipartBody3412330163063672240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745063224,"filename":"image_14122025_21_12_15_10827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/65db0c2cefa19d03e6b4c6803b24c8cc.jpg","text":"TemporaryFile(/tmp/multipartBody5615547685551349208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745063224,"filename":"image_14122025_21_12_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f2cd83d7ae65642c064b1395527207c4.jpg","text":"TemporaryFile(/tmp/multipartBody4509846023353014173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745063224,"filename":"image_14122025_21_11_35_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1fb236bfbdaa9373376b9e7d94399fb0.jpg","text":"TemporaryFile(/tmp/multipartBody2556722755249591491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745063224,"filename":"image_14122025_21_11_45_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/33e2f2c588f3184ab0d846f6a0c382b7.jpg","text":"TemporaryFile(/tmp/multipartBody5136453680946701903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745063224,"filename":"image_14122025_21_11_25_10787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382787","file1":"1399382785","file0":"1399382784","file4":"1399382791","file5":"1399382794","file3":"1399382789"},"map_files_photo_id_array":[{"photo_id":"1399382794","filename":"file5"},{"photo_id":"1399382787","filename":"file2"},{"photo_id":"1399382791","filename":"file4"},{"photo_id":"1399382785","filename":"file1"},{"photo_id":"1399382784","filename":"file0"},{"photo_id":"1399382789","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382789":["hashtag1","hashtag2"]},{"1399382794":["hashtag1","hashtag2"]},{"1399382791":["hashtag1","hashtag2"]},{"1399382785":["hashtag1","hashtag2"]},{"1399382787":["hashtag1","hashtag2"]},{"1399382784":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382789, 1399382794, 1399382791, 1399382785, 1399382787, 1399382784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.744054317474365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 21:44:03.366861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/12/image_14122025_21_12_25_9605.jpg', '/home/pi/Desktop/images/14122025/21/12/image_14122025_21_12_34_9634.jpg', '/home/pi/Desktop/images/14122025/21/12/image_14122025_21_12_45_10650.jpg', '/home/pi/Desktop/images/14122025/21/12/image_14122025_21_12_55_9814.jpg', '/home/pi/Desktop/images/14122025/21/12/image_14122025_21_13_05_9671.jpg', '/home/pi/Desktop/images/14122025/21/13/image_14122025_21_13_45_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/12/image_14122025_21_12_25_9605.jpg
/home/pi/Desktop/images/14122025/21/12/image_14122025_21_12_34_9634.jpg
/home/pi/Desktop/images/14122025/21/12/image_14122025_21_12_45_10650.jpg
/home/pi/Desktop/images/14122025/21/12/image_14122025_21_12_55_9814.jpg
/home/pi/Desktop/images/14122025/21/12/image_14122025_21_13_05_9671.jpg
/home/pi/Desktop/images/14122025/21/13/image_14122025_21_13_45_9778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382801","1399382804","1399382799","1399382803","1399382806","1399382802"],"photo_ids_order":["1399382799","1399382801","1399382802","1399382803","1399382804","1399382806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/06f1677525ae4f74bc9358bda033625b.jpg","text":"TemporaryFile(/tmp/multipartBody8014866816432101235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745104079,"filename":"image_14122025_21_12_34_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/85ebd80bedf08198df536b915f422906.jpg","text":"TemporaryFile(/tmp/multipartBody1870326148608018848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745104079,"filename":"image_14122025_21_13_05_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d2463ce3fd987f46672cda76ef66741.jpg","text":"TemporaryFile(/tmp/multipartBody6391808096143662052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745104079,"filename":"image_14122025_21_12_25_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/994cd56976f934da0497dca048944272.jpg","text":"TemporaryFile(/tmp/multipartBody2339050508884760981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745104079,"filename":"image_14122025_21_12_55_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9856c33b757406d7dde111bfd282f15e.jpg","text":"TemporaryFile(/tmp/multipartBody8609089320228381552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745104079,"filename":"image_14122025_21_13_45_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/463c4de5010339fc2c57e946ab61b706.jpg","text":"TemporaryFile(/tmp/multipartBody3302944466632004640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745104079,"filename":"image_14122025_21_12_45_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382802","file1":"1399382801","file0":"1399382799","file4":"1399382804","file5":"1399382806","file3":"1399382803"},"map_files_photo_id_array":[{"photo_id":"1399382806","filename":"file5"},{"photo_id":"1399382802","filename":"file2"},{"photo_id":"1399382804","filename":"file4"},{"photo_id":"1399382801","filename":"file1"},{"photo_id":"1399382799","filename":"file0"},{"photo_id":"1399382803","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382801":["hashtag1","hashtag2"]},{"1399382804":["hashtag1","hashtag2"]},{"1399382799":["hashtag1","hashtag2"]},{"1399382803":["hashtag1","hashtag2"]},{"1399382806":["hashtag1","hashtag2"]},{"1399382802":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382801, 1399382804, 1399382799, 1399382803, 1399382806, 1399382802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70580744743347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:44:42.761431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_20_1711.jpg', '/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_23_3675.jpg', '/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_26_2701.jpg', '/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_29_2578.jpg', '/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_33_3807.jpg', '/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_56_23194.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_20_1711.jpg
/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_23_3675.jpg
/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_26_2701.jpg
/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_29_2578.jpg
/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_33_3807.jpg
/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_56_23194.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382816","1399382812","1399382815","1399382818","1399382820","1399382817"],"photo_ids_order":["1399382812","1399382815","1399382816","1399382817","1399382818","1399382820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29e880bf23b635bcd13d377f07bc1f8e.jpg","text":"TemporaryFile(/tmp/multipartBody7273763426918564571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745143520,"filename":"image_04112025_14_58_26_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/260a8e51a01e7822dea9d72a4705b2c5.jpg","text":"TemporaryFile(/tmp/multipartBody564162048935938483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745143520,"filename":"image_04112025_14_58_20_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c8ed8773896b6f2e219cd6d902761f9a.jpg","text":"TemporaryFile(/tmp/multipartBody8766974747551209412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745143520,"filename":"image_04112025_14_58_23_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c2a5237e0758be48c587d99002e6cee.jpg","text":"TemporaryFile(/tmp/multipartBody6934932089765375811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745143520,"filename":"image_04112025_14_58_33_3807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/18a2aa90c21f86cb7c14afa6e06bccc6.jpg","text":"TemporaryFile(/tmp/multipartBody1504473494604077659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745143520,"filename":"image_04112025_14_58_56_23194.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/82a967a3204f463f7b3c0b918a96cd84.jpg","text":"TemporaryFile(/tmp/multipartBody8750425639305109606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745143520,"filename":"image_04112025_14_58_29_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382816","file1":"1399382815","file0":"1399382812","file4":"1399382818","file5":"1399382820","file3":"1399382817"},"map_files_photo_id_array":[{"photo_id":"1399382820","filename":"file5"},{"photo_id":"1399382816","filename":"file2"},{"photo_id":"1399382818","filename":"file4"},{"photo_id":"1399382815","filename":"file1"},{"photo_id":"1399382812","filename":"file0"},{"photo_id":"1399382817","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382816":["hashtag1","hashtag2"]},{"1399382812":["hashtag1","hashtag2"]},{"1399382815":["hashtag1","hashtag2"]},{"1399382818":["hashtag1","hashtag2"]},{"1399382820":["hashtag1","hashtag2"]},{"1399382817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382816, 1399382812, 1399382815, 1399382818, 1399382820, 1399382817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65010380744934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:45:22.010664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/13/image_14122025_21_13_55_10714.jpg', '/home/pi/Desktop/images/14122025/21/13/image_14122025_21_14_05_9847.jpg', '/home/pi/Desktop/images/14122025/21/14/image_14122025_21_14_14_9291.jpg', '/home/pi/Desktop/images/14122025/21/14/image_14122025_21_14_25_10024.jpg', '/home/pi/Desktop/images/14122025/21/14/image_14122025_21_14_35_10709.jpg', '/home/pi/Desktop/images/14122025/21/14/image_14122025_21_14_45_9485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/13/image_14122025_21_13_55_10714.jpg
/home/pi/Desktop/images/14122025/21/13/image_14122025_21_14_05_9847.jpg
/home/pi/Desktop/images/14122025/21/14/image_14122025_21_14_14_9291.jpg
/home/pi/Desktop/images/14122025/21/14/image_14122025_21_14_25_10024.jpg
/home/pi/Desktop/images/14122025/21/14/image_14122025_21_14_35_10709.jpg
/home/pi/Desktop/images/14122025/21/14/image_14122025_21_14_45_9485.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382825","1399382827","1399382821","1399382823","1399382832","1399382829"],"photo_ids_order":["1399382821","1399382823","1399382825","1399382827","1399382829","1399382832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0dd722f9171f83990e7ef058cc735e3d.jpg","text":"TemporaryFile(/tmp/multipartBody2257564157032808829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745182634,"filename":"image_14122025_21_14_14_9291.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b76b9029c122f68aa625a8d75cff568.jpg","text":"TemporaryFile(/tmp/multipartBody1581009508079115565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745182634,"filename":"image_14122025_21_14_25_10024.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b5875cadefaeb02a46aceeabfae7e2d.jpg","text":"TemporaryFile(/tmp/multipartBody8386013248798219414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745182634,"filename":"image_14122025_21_13_55_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c7feb9ba2b939a96ab66151fd214305.jpg","text":"TemporaryFile(/tmp/multipartBody1282211660585117610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745182634,"filename":"image_14122025_21_14_05_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/858b3ffcbb016ed4f10f11a10934d9f7.jpg","text":"TemporaryFile(/tmp/multipartBody135243362170132073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745182634,"filename":"image_14122025_21_14_45_9485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3b2b6ac0ba9c72fdc3d49921cc55d5e.jpg","text":"TemporaryFile(/tmp/multipartBody5330443396526749180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745182634,"filename":"image_14122025_21_14_35_10709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382825","file1":"1399382823","file0":"1399382821","file4":"1399382829","file5":"1399382832","file3":"1399382827"},"map_files_photo_id_array":[{"photo_id":"1399382832","filename":"file5"},{"photo_id":"1399382825","filename":"file2"},{"photo_id":"1399382829","filename":"file4"},{"photo_id":"1399382823","filename":"file1"},{"photo_id":"1399382821","filename":"file0"},{"photo_id":"1399382827","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382825":["hashtag1","hashtag2"]},{"1399382827":["hashtag1","hashtag2"]},{"1399382821":["hashtag1","hashtag2"]},{"1399382823":["hashtag1","hashtag2"]},{"1399382832":["hashtag1","hashtag2"]},{"1399382829":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382825, 1399382827, 1399382821, 1399382823, 1399382832, 1399382829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66543221473694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 21:46:02.891713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/14/image_14122025_21_14_54_9740.jpg', '/home/pi/Desktop/images/14122025/21/14/image_14122025_21_15_05_10662.jpg', '/home/pi/Desktop/images/14122025/21/15/image_14122025_21_15_15_9787.jpg', '/home/pi/Desktop/images/14122025/21/15/image_14122025_21_15_35_10651.jpg', '/home/pi/Desktop/images/14122025/21/15/image_14122025_21_15_45_9627.jpg', '/home/pi/Desktop/images/14122025/21/15/image_14122025_21_15_55_10047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/14/image_14122025_21_14_54_9740.jpg
/home/pi/Desktop/images/14122025/21/14/image_14122025_21_15_05_10662.jpg
/home/pi/Desktop/images/14122025/21/15/image_14122025_21_15_15_9787.jpg
/home/pi/Desktop/images/14122025/21/15/image_14122025_21_15_35_10651.jpg
/home/pi/Desktop/images/14122025/21/15/image_14122025_21_15_45_9627.jpg
/home/pi/Desktop/images/14122025/21/15/image_14122025_21_15_55_10047.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382840","1399382837","1399382839","1399382836","1399382838","1399382835"],"photo_ids_order":["1399382835","1399382836","1399382837","1399382838","1399382839","1399382840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fc5e8ef398d82503eb9340830aa7b1e2.jpg","text":"TemporaryFile(/tmp/multipartBody4327056485736690603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745223526,"filename":"image_14122025_21_15_55_10047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/78504b7075de7ab26b22d876b3529376.jpg","text":"TemporaryFile(/tmp/multipartBody2507066285382978693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745223526,"filename":"image_14122025_21_15_15_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9935512173bfba78c0a4a391b1d5671c.jpg","text":"TemporaryFile(/tmp/multipartBody551493846809038586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745223526,"filename":"image_14122025_21_15_45_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/314373ffbc7273b65168af5366b348dd.jpg","text":"TemporaryFile(/tmp/multipartBody758222623456791391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745223526,"filename":"image_14122025_21_15_05_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/66ed10d918780bfe972d9c57bdd5d958.jpg","text":"TemporaryFile(/tmp/multipartBody9090253611969522127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745223526,"filename":"image_14122025_21_15_35_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe3ccddd4109db578441c31c9dea694f.jpg","text":"TemporaryFile(/tmp/multipartBody1637536729877417900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745223526,"filename":"image_14122025_21_14_54_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382837","file1":"1399382836","file0":"1399382835","file4":"1399382839","file5":"1399382840","file3":"1399382838"},"map_files_photo_id_array":[{"photo_id":"1399382840","filename":"file5"},{"photo_id":"1399382837","filename":"file2"},{"photo_id":"1399382839","filename":"file4"},{"photo_id":"1399382836","filename":"file1"},{"photo_id":"1399382835","filename":"file0"},{"photo_id":"1399382838","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382840":["hashtag1","hashtag2"]},{"1399382837":["hashtag1","hashtag2"]},{"1399382839":["hashtag1","hashtag2"]},{"1399382836":["hashtag1","hashtag2"]},{"1399382838":["hashtag1","hashtag2"]},{"1399382835":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382840, 1399382837, 1399382839, 1399382836, 1399382838, 1399382835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14876961708069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:46:42.387037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_57_1650.jpg', '/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_09_3015.jpg', '/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_12_3183.jpg', '/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_16_3661.jpg', '/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_18_2650.jpg', '/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_21_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/14/58/image_04112025_14_58_57_1650.jpg
/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_09_3015.jpg
/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_12_3183.jpg
/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_16_3661.jpg
/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_18_2650.jpg
/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_21_2558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382849","1399382858","1399382851","1399382854","1399382856","1399382847"],"photo_ids_order":["1399382847","1399382849","1399382851","1399382854","1399382856","1399382858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3e9e96e1bb8b429cc508eabf794217da.jpg","text":"TemporaryFile(/tmp/multipartBody6813884747284928702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745263098,"filename":"image_04112025_15_01_09_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d074b3cb11f4515935bf0816c8e39a12.jpg","text":"TemporaryFile(/tmp/multipartBody1498205898556426190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745263098,"filename":"image_04112025_15_01_21_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c4e22b2ba676a9936b8ad4d8e0b89fde.jpg","text":"TemporaryFile(/tmp/multipartBody3440582583744824953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745263098,"filename":"image_04112025_15_01_12_3183.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d80a9a1b40c038af9fb8c41368d7cf1.jpg","text":"TemporaryFile(/tmp/multipartBody1372218928934867048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745263098,"filename":"image_04112025_15_01_16_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c4b93a60b3b8873cc840bbbd2381bf8.jpg","text":"TemporaryFile(/tmp/multipartBody4911269141471886393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745263098,"filename":"image_04112025_15_01_18_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2dfbc46adc231d6b90678030a8e39f32.jpg","text":"TemporaryFile(/tmp/multipartBody3626171064237001365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745263098,"filename":"image_04112025_14_58_57_1650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382851","file1":"1399382849","file0":"1399382847","file4":"1399382856","file5":"1399382858","file3":"1399382854"},"map_files_photo_id_array":[{"photo_id":"1399382858","filename":"file5"},{"photo_id":"1399382851","filename":"file2"},{"photo_id":"1399382856","filename":"file4"},{"photo_id":"1399382849","filename":"file1"},{"photo_id":"1399382847","filename":"file0"},{"photo_id":"1399382854","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382849":["hashtag1","hashtag2"]},{"1399382858":["hashtag1","hashtag2"]},{"1399382851":["hashtag1","hashtag2"]},{"1399382854":["hashtag1","hashtag2"]},{"1399382856":["hashtag1","hashtag2"]},{"1399382847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382849, 1399382858, 1399382851, 1399382854, 1399382856, 1399382847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79477095603943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:47:22.699535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/16/image_14122025_21_16_15_10550.jpg', '/home/pi/Desktop/images/14122025/21/16/image_14122025_21_16_25_9716.jpg', '/home/pi/Desktop/images/14122025/21/16/image_14122025_21_16_35_9850.jpg', '/home/pi/Desktop/images/14122025/21/16/image_14122025_21_16_44_9681.jpg', '/home/pi/Desktop/images/14122025/21/16/image_14122025_21_16_55_10835.jpg', '/home/pi/Desktop/images/14122025/21/16/image_14122025_21_17_05_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/16/image_14122025_21_16_15_10550.jpg
/home/pi/Desktop/images/14122025/21/16/image_14122025_21_16_25_9716.jpg
/home/pi/Desktop/images/14122025/21/16/image_14122025_21_16_35_9850.jpg
/home/pi/Desktop/images/14122025/21/16/image_14122025_21_16_44_9681.jpg
/home/pi/Desktop/images/14122025/21/16/image_14122025_21_16_55_10835.jpg
/home/pi/Desktop/images/14122025/21/16/image_14122025_21_17_05_9660.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5107018947601318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:47:32.638413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:47:42.714066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_30_9642.jpg', '/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_32_1637.jpg', '/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_34_1657.jpg', '/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_35_1740.jpg', '/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_37_1704.jpg', '/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_43_5726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_30_9642.jpg
/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_32_1637.jpg
/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_34_1657.jpg
/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_35_1740.jpg
/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_37_1704.jpg
/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_43_5726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382881","1399382878","1399382880","1399382882","1399382879","1399382870"],"photo_ids_order":["1399382870","1399382878","1399382879","1399382880","1399382881","1399382882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/52bf5531f982df01cdcae103a645c1ff.jpg","text":"TemporaryFile(/tmp/multipartBody8670752267982963284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745323473,"filename":"image_04112025_15_01_37_1704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b3a009e99fc9b9814810b2cc9a5c9190.jpg","text":"TemporaryFile(/tmp/multipartBody436969961359541764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745323473,"filename":"image_04112025_15_01_32_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d75f20715f3a995d547b6480074a2b4f.jpg","text":"TemporaryFile(/tmp/multipartBody4407401402451028858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745323473,"filename":"image_04112025_15_01_35_1740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d53a2ae6d54e0d637880abd722d110c2.jpg","text":"TemporaryFile(/tmp/multipartBody1595702572387230299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745323473,"filename":"image_04112025_15_01_43_5726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/124e13e10d23b8979dc018d113b300d4.jpg","text":"TemporaryFile(/tmp/multipartBody6596945142191053349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745323473,"filename":"image_04112025_15_01_34_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36c9d9506637492e971fce19d5c8b7a4.jpg","text":"TemporaryFile(/tmp/multipartBody767414189010345626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745323473,"filename":"image_04112025_15_01_30_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382879","file1":"1399382878","file0":"1399382870","file4":"1399382881","file5":"1399382882","file3":"1399382880"},"map_files_photo_id_array":[{"photo_id":"1399382882","filename":"file5"},{"photo_id":"1399382879","filename":"file2"},{"photo_id":"1399382881","filename":"file4"},{"photo_id":"1399382878","filename":"file1"},{"photo_id":"1399382870","filename":"file0"},{"photo_id":"1399382880","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382881":["hashtag1","hashtag2"]},{"1399382878":["hashtag1","hashtag2"]},{"1399382880":["hashtag1","hashtag2"]},{"1399382882":["hashtag1","hashtag2"]},{"1399382879":["hashtag1","hashtag2"]},{"1399382870":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382881, 1399382878, 1399382880, 1399382882, 1399382879, 1399382870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.539071798324585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:48:21.963726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/16/image_14122025_21_16_15_10550.jpg', '/home/pi/Desktop/images/14122025/21/16/image_14122025_21_16_25_9716.jpg', '/home/pi/Desktop/images/14122025/21/16/image_14122025_21_16_35_9850.jpg', '/home/pi/Desktop/images/14122025/21/16/image_14122025_21_16_44_9681.jpg', '/home/pi/Desktop/images/14122025/21/16/image_14122025_21_16_55_10835.jpg', '/home/pi/Desktop/images/14122025/21/16/image_14122025_21_17_05_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/16/image_14122025_21_16_15_10550.jpg
/home/pi/Desktop/images/14122025/21/16/image_14122025_21_16_25_9716.jpg
/home/pi/Desktop/images/14122025/21/16/image_14122025_21_16_35_9850.jpg
/home/pi/Desktop/images/14122025/21/16/image_14122025_21_16_44_9681.jpg
/home/pi/Desktop/images/14122025/21/16/image_14122025_21_16_55_10835.jpg
/home/pi/Desktop/images/14122025/21/16/image_14122025_21_17_05_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382893","1399382887","1399382889","1399382883","1399382891","1399382885"],"photo_ids_order":["1399382883","1399382885","1399382887","1399382889","1399382891","1399382893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b4a5a160bc2aa00b4db42889acaac87d.jpg","text":"TemporaryFile(/tmp/multipartBody2056014222252411356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745362588,"filename":"image_14122025_21_17_05_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3e96cc09239d2fe215eca9ff0ce54a11.jpg","text":"TemporaryFile(/tmp/multipartBody2396470462623980653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745362588,"filename":"image_14122025_21_16_35_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/59c5d41ccdfa7d17c7e660b7a11aa4e6.jpg","text":"TemporaryFile(/tmp/multipartBody5168365543166582637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745362588,"filename":"image_14122025_21_16_44_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/353fe813a3c14bb7391973821ac27a7e.jpg","text":"TemporaryFile(/tmp/multipartBody7118688262302133811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745362588,"filename":"image_14122025_21_16_15_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b6cf09c15ad634f74fb148f76db1a67.jpg","text":"TemporaryFile(/tmp/multipartBody6953708697533326954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745362588,"filename":"image_14122025_21_16_55_10835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/27696df2fd9b9077e760439dc1146e92.jpg","text":"TemporaryFile(/tmp/multipartBody6628425392007401768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745362588,"filename":"image_14122025_21_16_25_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382887","file1":"1399382885","file0":"1399382883","file4":"1399382891","file5":"1399382893","file3":"1399382889"},"map_files_photo_id_array":[{"photo_id":"1399382893","filename":"file5"},{"photo_id":"1399382887","filename":"file2"},{"photo_id":"1399382891","filename":"file4"},{"photo_id":"1399382885","filename":"file1"},{"photo_id":"1399382883","filename":"file0"},{"photo_id":"1399382889","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382893":["hashtag1","hashtag2"]},{"1399382887":["hashtag1","hashtag2"]},{"1399382889":["hashtag1","hashtag2"]},{"1399382883":["hashtag1","hashtag2"]},{"1399382891":["hashtag1","hashtag2"]},{"1399382885":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382893, 1399382887, 1399382889, 1399382883, 1399382891, 1399382885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23203992843628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 21:49:03.286110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/17/image_14122025_21_17_15_9598.jpg', '/home/pi/Desktop/images/14122025/21/17/image_14122025_21_17_25_10640.jpg', '/home/pi/Desktop/images/14122025/21/17/image_14122025_21_17_35_9914.jpg', '/home/pi/Desktop/images/14122025/21/17/image_14122025_21_17_55_9675.jpg', '/home/pi/Desktop/images/14122025/21/17/image_14122025_21_18_05_10743.jpg', '/home/pi/Desktop/images/14122025/21/18/image_14122025_21_18_15_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/17/image_14122025_21_17_15_9598.jpg
/home/pi/Desktop/images/14122025/21/17/image_14122025_21_17_25_10640.jpg
/home/pi/Desktop/images/14122025/21/17/image_14122025_21_17_35_9914.jpg
/home/pi/Desktop/images/14122025/21/17/image_14122025_21_17_55_9675.jpg
/home/pi/Desktop/images/14122025/21/17/image_14122025_21_18_05_10743.jpg
/home/pi/Desktop/images/14122025/21/18/image_14122025_21_18_15_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382894","1399382900","1399382896","1399382898","1399382895","1399382897"],"photo_ids_order":["1399382894","1399382895","1399382896","1399382897","1399382898","1399382900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5255f7e78ac9ed27c8bf7e0c299bc54f.jpg","text":"TemporaryFile(/tmp/multipartBody7134128740069009875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745404055,"filename":"image_14122025_21_17_15_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63afc91d1b9401cf1b6b18c36619d766.jpg","text":"TemporaryFile(/tmp/multipartBody6057070059525077967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745404055,"filename":"image_14122025_21_18_15_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef5157db565f886b9f072275bcd3a0be.jpg","text":"TemporaryFile(/tmp/multipartBody8482828037560303633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745404055,"filename":"image_14122025_21_17_35_9914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ea640dc9ab514c00fa73c5a6f34d45f1.jpg","text":"TemporaryFile(/tmp/multipartBody5238279244625297962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745404055,"filename":"image_14122025_21_18_05_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ccdfad92e1882ec1953399947cb1e8c8.jpg","text":"TemporaryFile(/tmp/multipartBody3881987765078350348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745404055,"filename":"image_14122025_21_17_25_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/db2ee2c0fd1e4befa783e6f309fa66a2.jpg","text":"TemporaryFile(/tmp/multipartBody3241536397034527386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745404055,"filename":"image_14122025_21_17_55_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382896","file1":"1399382895","file0":"1399382894","file4":"1399382898","file5":"1399382900","file3":"1399382897"},"map_files_photo_id_array":[{"photo_id":"1399382900","filename":"file5"},{"photo_id":"1399382896","filename":"file2"},{"photo_id":"1399382898","filename":"file4"},{"photo_id":"1399382895","filename":"file1"},{"photo_id":"1399382894","filename":"file0"},{"photo_id":"1399382897","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382894":["hashtag1","hashtag2"]},{"1399382900":["hashtag1","hashtag2"]},{"1399382896":["hashtag1","hashtag2"]},{"1399382898":["hashtag1","hashtag2"]},{"1399382895":["hashtag1","hashtag2"]},{"1399382897":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382894, 1399382900, 1399382896, 1399382898, 1399382895, 1399382897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28050255775452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:49:42.221856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_44_1539.jpg', '/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_46_1694.jpg', '/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_48_1675.jpg', '/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_51_3564.jpg', '/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_54_2664.jpg', '/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_57_3136.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_44_1539.jpg
/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_46_1694.jpg
/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_48_1675.jpg
/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_51_3564.jpg
/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_54_2664.jpg
/home/pi/Desktop/images/04112025/15/01/image_04112025_15_01_57_3136.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382909","1399382911","1399382908","1399382905","1399382910","1399382907"],"photo_ids_order":["1399382905","1399382907","1399382908","1399382909","1399382910","1399382911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/71a5799c9d53e591d14bdedde9174040.jpg","text":"TemporaryFile(/tmp/multipartBody6925581986454200227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745442965,"filename":"image_04112025_15_01_51_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/760de7fed5192e925e526ade82cd6c5e.jpg","text":"TemporaryFile(/tmp/multipartBody3661208476837868092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745442965,"filename":"image_04112025_15_01_57_3136.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b4e3fa1d2425ee211ee80ae098608b0.jpg","text":"TemporaryFile(/tmp/multipartBody5874555733732407019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745442965,"filename":"image_04112025_15_01_48_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d6ef20433566365b8f5bd5b7e5f40c14.jpg","text":"TemporaryFile(/tmp/multipartBody5255419101228295895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745442965,"filename":"image_04112025_15_01_44_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8644915ebe2f27b402721487a89cbcc4.jpg","text":"TemporaryFile(/tmp/multipartBody5646377920347843184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745442965,"filename":"image_04112025_15_01_54_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d3b21626fc4e31ef13e01563ddd2ff0.jpg","text":"TemporaryFile(/tmp/multipartBody4139539784100890412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745442965,"filename":"image_04112025_15_01_46_1694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382908","file1":"1399382907","file0":"1399382905","file4":"1399382910","file5":"1399382911","file3":"1399382909"},"map_files_photo_id_array":[{"photo_id":"1399382911","filename":"file5"},{"photo_id":"1399382908","filename":"file2"},{"photo_id":"1399382910","filename":"file4"},{"photo_id":"1399382907","filename":"file1"},{"photo_id":"1399382905","filename":"file0"},{"photo_id":"1399382909","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382909":["hashtag1","hashtag2"]},{"1399382911":["hashtag1","hashtag2"]},{"1399382908":["hashtag1","hashtag2"]},{"1399382905":["hashtag1","hashtag2"]},{"1399382910":["hashtag1","hashtag2"]},{"1399382907":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382909, 1399382911, 1399382908, 1399382905, 1399382910, 1399382907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.582082748413086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:50:22.571867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/18/image_14122025_21_18_25_9871.jpg', '/home/pi/Desktop/images/14122025/21/18/image_14122025_21_18_45_10571.jpg', '/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_15_10707.jpg', '/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_35_9678.jpg', '/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_45_9930.jpg', '/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_54_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/18/image_14122025_21_18_25_9871.jpg
/home/pi/Desktop/images/14122025/21/18/image_14122025_21_18_45_10571.jpg
/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_15_10707.jpg
/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_35_9678.jpg
/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_45_9930.jpg
/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_54_9771.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5733838081359863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:50:32.647166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:50:42.454021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/01/image_04112025_15_02_00_2579.jpg', '/home/pi/Desktop/images/04112025/15/02/image_04112025_15_02_18_18710.jpg', '/home/pi/Desktop/images/04112025/15/02/image_04112025_15_02_20_1565.jpg', '/home/pi/Desktop/images/04112025/15/02/image_04112025_15_02_53_33079.jpg', '/home/pi/Desktop/images/04112025/15/02/image_04112025_15_02_55_1676.jpg', '/home/pi/Desktop/images/04112025/15/02/image_04112025_15_02_58_1697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/01/image_04112025_15_02_00_2579.jpg
/home/pi/Desktop/images/04112025/15/02/image_04112025_15_02_18_18710.jpg
/home/pi/Desktop/images/04112025/15/02/image_04112025_15_02_20_1565.jpg
/home/pi/Desktop/images/04112025/15/02/image_04112025_15_02_53_33079.jpg
/home/pi/Desktop/images/04112025/15/02/image_04112025_15_02_55_1676.jpg
/home/pi/Desktop/images/04112025/15/02/image_04112025_15_02_58_1697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382933","1399382924","1399382932","1399382935","1399382922","1399382931"],"photo_ids_order":["1399382922","1399382924","1399382931","1399382932","1399382933","1399382935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d28c2f02839ccad3052076d7f993ede5.jpg","text":"TemporaryFile(/tmp/multipartBody6301595295267433632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745503202,"filename":"image_04112025_15_02_55_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0c6d7ce2aa1d73f8c45baaf92790b413.jpg","text":"TemporaryFile(/tmp/multipartBody8896415837977463655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745503202,"filename":"image_04112025_15_02_18_18710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/16341651077b8dab194f64172ff29d1f.jpg","text":"TemporaryFile(/tmp/multipartBody3354270868009161973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745503202,"filename":"image_04112025_15_02_53_33079.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a332f3a35a790157399f88cca904687c.jpg","text":"TemporaryFile(/tmp/multipartBody3173807824131052477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745503202,"filename":"image_04112025_15_02_58_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae479a8c09408157c5e2ea0e58561f2d.jpg","text":"TemporaryFile(/tmp/multipartBody368764741633304875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745503202,"filename":"image_04112025_15_02_00_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/32b312e3e7525ef27f451c7d7206b186.jpg","text":"TemporaryFile(/tmp/multipartBody2350245579826128813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745503202,"filename":"image_04112025_15_02_20_1565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382931","file1":"1399382924","file0":"1399382922","file4":"1399382933","file5":"1399382935","file3":"1399382932"},"map_files_photo_id_array":[{"photo_id":"1399382935","filename":"file5"},{"photo_id":"1399382931","filename":"file2"},{"photo_id":"1399382933","filename":"file4"},{"photo_id":"1399382924","filename":"file1"},{"photo_id":"1399382922","filename":"file0"},{"photo_id":"1399382932","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382933":["hashtag1","hashtag2"]},{"1399382924":["hashtag1","hashtag2"]},{"1399382932":["hashtag1","hashtag2"]},{"1399382935":["hashtag1","hashtag2"]},{"1399382922":["hashtag1","hashtag2"]},{"1399382931":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382933, 1399382924, 1399382932, 1399382935, 1399382922, 1399382931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93130540847778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:51:22.747789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/18/image_14122025_21_18_25_9871.jpg', '/home/pi/Desktop/images/14122025/21/18/image_14122025_21_18_45_10571.jpg', '/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_15_10707.jpg', '/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_35_9678.jpg', '/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_45_9930.jpg', '/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_54_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/18/image_14122025_21_18_25_9871.jpg
/home/pi/Desktop/images/14122025/21/18/image_14122025_21_18_45_10571.jpg
/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_15_10707.jpg
/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_35_9678.jpg
/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_45_9930.jpg
/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_54_9771.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5503461360931396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:51:32.761464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:51:42.821020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/02/image_04112025_15_03_00_1623.jpg', '/home/pi/Desktop/images/04112025/15/03/image_04112025_15_03_01_1741.jpg', '/home/pi/Desktop/images/04112025/15/06/image_04112025_15_06_06_3020.jpg', '/home/pi/Desktop/images/04112025/15/06/image_04112025_15_06_09_3042.jpg', '/home/pi/Desktop/images/04112025/15/06/image_04112025_15_06_13_3734.jpg', '/home/pi/Desktop/images/04112025/15/06/image_04112025_15_06_49_35641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/02/image_04112025_15_03_00_1623.jpg
/home/pi/Desktop/images/04112025/15/03/image_04112025_15_03_01_1741.jpg
/home/pi/Desktop/images/04112025/15/06/image_04112025_15_06_06_3020.jpg
/home/pi/Desktop/images/04112025/15/06/image_04112025_15_06_09_3042.jpg
/home/pi/Desktop/images/04112025/15/06/image_04112025_15_06_13_3734.jpg
/home/pi/Desktop/images/04112025/15/06/image_04112025_15_06_49_35641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382951","1399382950","1399382953","1399382947","1399382952","1399382949"],"photo_ids_order":["1399382947","1399382949","1399382950","1399382951","1399382952","1399382953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e924f575015e43364f11cefe1dd5f82.jpg","text":"TemporaryFile(/tmp/multipartBody7104122814804232893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745563478,"filename":"image_04112025_15_06_09_3042.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e41f94b10c2ed15c0543f051b76e0b5b.jpg","text":"TemporaryFile(/tmp/multipartBody1900952514468392290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745563478,"filename":"image_04112025_15_06_06_3020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5422a29879f8807e76ab35d71b28f330.jpg","text":"TemporaryFile(/tmp/multipartBody8137066277798507728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745563478,"filename":"image_04112025_15_06_49_35641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb63981ca26778b450838662e9874bc2.jpg","text":"TemporaryFile(/tmp/multipartBody2144237416200318933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745563478,"filename":"image_04112025_15_03_00_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1a2ab0b4c08904ee308e9c30430df454.jpg","text":"TemporaryFile(/tmp/multipartBody3790677097041798711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745563478,"filename":"image_04112025_15_06_13_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c914a5060b7a91eabda718b7cf14112e.jpg","text":"TemporaryFile(/tmp/multipartBody1990358627858994407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745563478,"filename":"image_04112025_15_03_01_1741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382950","file1":"1399382949","file0":"1399382947","file4":"1399382952","file5":"1399382953","file3":"1399382951"},"map_files_photo_id_array":[{"photo_id":"1399382953","filename":"file5"},{"photo_id":"1399382950","filename":"file2"},{"photo_id":"1399382952","filename":"file4"},{"photo_id":"1399382949","filename":"file1"},{"photo_id":"1399382947","filename":"file0"},{"photo_id":"1399382951","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382951":["hashtag1","hashtag2"]},{"1399382950":["hashtag1","hashtag2"]},{"1399382953":["hashtag1","hashtag2"]},{"1399382947":["hashtag1","hashtag2"]},{"1399382952":["hashtag1","hashtag2"]},{"1399382949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382951, 1399382950, 1399382953, 1399382947, 1399382952, 1399382949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8049156665802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:52:22.098155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/18/image_14122025_21_18_25_9871.jpg', '/home/pi/Desktop/images/14122025/21/18/image_14122025_21_18_45_10571.jpg', '/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_15_10707.jpg', '/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_35_9678.jpg', '/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_45_9930.jpg', '/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_54_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/18/image_14122025_21_18_25_9871.jpg
/home/pi/Desktop/images/14122025/21/18/image_14122025_21_18_45_10571.jpg
/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_15_10707.jpg
/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_35_9678.jpg
/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_45_9930.jpg
/home/pi/Desktop/images/14122025/21/19/image_14122025_21_19_54_9771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382954","1399382957","1399382962","1399382961","1399382964","1399382958"],"photo_ids_order":["1399382954","1399382957","1399382958","1399382961","1399382962","1399382964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e17414179340dc84b54b1d060dda1a4.jpg","text":"TemporaryFile(/tmp/multipartBody1756167770490424535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745602711,"filename":"image_14122025_21_18_25_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd7c3abe179983fda7045c1886bc3270.jpg","text":"TemporaryFile(/tmp/multipartBody1979356211295512305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745602711,"filename":"image_14122025_21_18_45_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fcbad8ccd1d377f6e0baa36326c3c97c.jpg","text":"TemporaryFile(/tmp/multipartBody2978942284731532965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745602711,"filename":"image_14122025_21_19_45_9930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/52a03630a34dfa033e5a2bd46407ecfd.jpg","text":"TemporaryFile(/tmp/multipartBody3781754415788253008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745602711,"filename":"image_14122025_21_19_35_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f146af291fd0ad14c9e40b11582771c2.jpg","text":"TemporaryFile(/tmp/multipartBody5236156548397868789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745602711,"filename":"image_14122025_21_19_54_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/41a751c35f11954a0e69614b6427b925.jpg","text":"TemporaryFile(/tmp/multipartBody4418810638261248746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745602711,"filename":"image_14122025_21_19_15_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382958","file1":"1399382957","file0":"1399382954","file4":"1399382962","file5":"1399382964","file3":"1399382961"},"map_files_photo_id_array":[{"photo_id":"1399382964","filename":"file5"},{"photo_id":"1399382958","filename":"file2"},{"photo_id":"1399382962","filename":"file4"},{"photo_id":"1399382957","filename":"file1"},{"photo_id":"1399382954","filename":"file0"},{"photo_id":"1399382961","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382954":["hashtag1","hashtag2"]},{"1399382957":["hashtag1","hashtag2"]},{"1399382962":["hashtag1","hashtag2"]},{"1399382961":["hashtag1","hashtag2"]},{"1399382964":["hashtag1","hashtag2"]},{"1399382958":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382954, 1399382957, 1399382962, 1399382961, 1399382964, 1399382958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90367341041565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 21:53:03.137247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/19/image_14122025_21_20_05_10743.jpg', '/home/pi/Desktop/images/14122025/21/20/image_14122025_21_20_25_9741.jpg', '/home/pi/Desktop/images/14122025/21/20/image_14122025_21_20_45_10596.jpg', '/home/pi/Desktop/images/14122025/21/20/image_14122025_21_20_55_9665.jpg', '/home/pi/Desktop/images/14122025/21/21/image_14122025_21_21_25_9709.jpg', '/home/pi/Desktop/images/14122025/21/21/image_14122025_21_21_35_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/19/image_14122025_21_20_05_10743.jpg
/home/pi/Desktop/images/14122025/21/20/image_14122025_21_20_25_9741.jpg
/home/pi/Desktop/images/14122025/21/20/image_14122025_21_20_45_10596.jpg
/home/pi/Desktop/images/14122025/21/20/image_14122025_21_20_55_9665.jpg
/home/pi/Desktop/images/14122025/21/21/image_14122025_21_21_25_9709.jpg
/home/pi/Desktop/images/14122025/21/21/image_14122025_21_21_35_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":["1399382966","1399382969","1399382968","1399382971","1399382965","1399382967"],"photo_ids_order":["1399382965","1399382966","1399382967","1399382968","1399382969","1399382971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dfe79bb51052c6f9723c21fedaaa708f.jpg","text":"TemporaryFile(/tmp/multipartBody2960109961013944200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745643784,"filename":"image_14122025_21_20_25_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7bbbbbbec1286894834d852c53645810.jpg","text":"TemporaryFile(/tmp/multipartBody5354583737085866734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745643784,"filename":"image_14122025_21_21_25_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b24c24e4734673b061883deba980912a.jpg","text":"TemporaryFile(/tmp/multipartBody6632980840475318525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745643784,"filename":"image_14122025_21_20_55_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/caceac5001f1d5ac17b874dc1f9a8c4e.jpg","text":"TemporaryFile(/tmp/multipartBody8062129371855124207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745643784,"filename":"image_14122025_21_21_35_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b20019e4ec62c641ac0eee1ddca1baf2.jpg","text":"TemporaryFile(/tmp/multipartBody7364275071222019806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745643784,"filename":"image_14122025_21_20_05_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/701c3afcd781b7f30baa3cf6c5427647.jpg","text":"TemporaryFile(/tmp/multipartBody2755926403142104745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745643784,"filename":"image_14122025_21_20_45_10596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382967","file1":"1399382966","file0":"1399382965","file4":"1399382969","file5":"1399382971","file3":"1399382968"},"map_files_photo_id_array":[{"photo_id":"1399382971","filename":"file5"},{"photo_id":"1399382967","filename":"file2"},{"photo_id":"1399382969","filename":"file4"},{"photo_id":"1399382966","filename":"file1"},{"photo_id":"1399382965","filename":"file0"},{"photo_id":"1399382968","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399382966":["hashtag1","hashtag2"]},{"1399382969":["hashtag1","hashtag2"]},{"1399382968":["hashtag1","hashtag2"]},{"1399382971":["hashtag1","hashtag2"]},{"1399382965":["hashtag1","hashtag2"]},{"1399382967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399382966, 1399382969, 1399382968, 1399382971, 1399382965, 1399382967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66892910003662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:53:42.451637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/06/image_04112025_15_06_50_1695.jpg', '/home/pi/Desktop/images/04112025/15/06/image_04112025_15_06_52_1722.jpg', '/home/pi/Desktop/images/04112025/15/06/image_04112025_15_06_54_1546.jpg', '/home/pi/Desktop/images/04112025/15/06/image_04112025_15_06_55_1666.jpg', '/home/pi/Desktop/images/04112025/15/06/image_04112025_15_06_57_1636.jpg', '/home/pi/Desktop/images/04112025/15/06/image_04112025_15_06_59_1545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/06/image_04112025_15_06_50_1695.jpg
/home/pi/Desktop/images/04112025/15/06/image_04112025_15_06_52_1722.jpg
/home/pi/Desktop/images/04112025/15/06/image_04112025_15_06_54_1546.jpg
/home/pi/Desktop/images/04112025/15/06/image_04112025_15_06_55_1666.jpg
/home/pi/Desktop/images/04112025/15/06/image_04112025_15_06_57_1636.jpg
/home/pi/Desktop/images/04112025/15/06/image_04112025_15_06_59_1545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399382987","1399382986","1399382989","1399382979","1399382988","1399382976"],"photo_ids_order":["1399382976","1399382979","1399382986","1399382987","1399382988","1399382989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fbccb9da530e9afe6019d0f8fcf0ea2c.jpg","text":"TemporaryFile(/tmp/multipartBody1831132605061782792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745683053,"filename":"image_04112025_15_06_55_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a68cd98adf5a5649a9fac8127ec041b.jpg","text":"TemporaryFile(/tmp/multipartBody2414267748598911603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745683053,"filename":"image_04112025_15_06_54_1546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0272add47a20a0244d7e3053f9d479ec.jpg","text":"TemporaryFile(/tmp/multipartBody860531954035384501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745683053,"filename":"image_04112025_15_06_59_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae0135bada831e7fbbd83e78e065e75d.jpg","text":"TemporaryFile(/tmp/multipartBody6894016452157641726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745683053,"filename":"image_04112025_15_06_52_1722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/072bb3333f24a7cc4feceacf46fc98d3.jpg","text":"TemporaryFile(/tmp/multipartBody4880744308562459112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745683053,"filename":"image_04112025_15_06_57_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/53bbc03574a73f58c9afd61696cb36c4.jpg","text":"TemporaryFile(/tmp/multipartBody3111462297645072316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745683053,"filename":"image_04112025_15_06_50_1695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399382986","file1":"1399382979","file0":"1399382976","file4":"1399382988","file5":"1399382989","file3":"1399382987"},"map_files_photo_id_array":[{"photo_id":"1399382989","filename":"file5"},{"photo_id":"1399382986","filename":"file2"},{"photo_id":"1399382988","filename":"file4"},{"photo_id":"1399382979","filename":"file1"},{"photo_id":"1399382976","filename":"file0"},{"photo_id":"1399382987","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399382987":["hashtag1","hashtag2"]},{"1399382986":["hashtag1","hashtag2"]},{"1399382989":["hashtag1","hashtag2"]},{"1399382979":["hashtag1","hashtag2"]},{"1399382988":["hashtag1","hashtag2"]},{"1399382976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399382987, 1399382986, 1399382989, 1399382979, 1399382988, 1399382976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.278138399124146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:54:22.888963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/21/image_14122025_21_21_44_9670.jpg', '/home/pi/Desktop/images/14122025/21/21/image_14122025_21_21_55_10682.jpg', '/home/pi/Desktop/images/14122025/21/21/image_14122025_21_22_05_9711.jpg', '/home/pi/Desktop/images/14122025/21/22/image_14122025_21_22_15_9866.jpg', '/home/pi/Desktop/images/14122025/21/22/image_14122025_21_22_24_9693.jpg', '/home/pi/Desktop/images/14122025/21/22/image_14122025_21_22_35_10912.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/21/image_14122025_21_21_44_9670.jpg
/home/pi/Desktop/images/14122025/21/21/image_14122025_21_21_55_10682.jpg
/home/pi/Desktop/images/14122025/21/21/image_14122025_21_22_05_9711.jpg
/home/pi/Desktop/images/14122025/21/22/image_14122025_21_22_15_9866.jpg
/home/pi/Desktop/images/14122025/21/22/image_14122025_21_22_24_9693.jpg
/home/pi/Desktop/images/14122025/21/22/image_14122025_21_22_35_10912.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5130243301391602 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 21:54:32.698259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:54:42.750480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/06/image_04112025_15_07_00_1612.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_02_1670.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_04_1801.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_05_1537.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_07_1652.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_21_14465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/06/image_04112025_15_07_00_1612.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_02_1670.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_04_1801.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_05_1537.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_07_1652.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_21_14465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399383002","1399383005","1399383001","1399383004","1399383003","1399383006"],"photo_ids_order":["1399383001","1399383002","1399383003","1399383004","1399383005","1399383006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf2ad61b6c463383c99cacc33ac5e7ff.jpg","text":"TemporaryFile(/tmp/multipartBody5747173076039515462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745743423,"filename":"image_04112025_15_07_02_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9fd5f5a0d5494e3538fefc6bdeadbbb3.jpg","text":"TemporaryFile(/tmp/multipartBody7383385631666779376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745743423,"filename":"image_04112025_15_07_07_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/efa651cade1337fc63236aa185700207.jpg","text":"TemporaryFile(/tmp/multipartBody4289893176237005902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745743423,"filename":"image_04112025_15_07_00_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e7f569bae008c8f8c3d5067355ec0f4.jpg","text":"TemporaryFile(/tmp/multipartBody2564707199478924007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745743423,"filename":"image_04112025_15_07_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/12/14/d078f4c431c6a5a44aa0177a8cf9fa56.jpg","text":"TemporaryFile(/tmp/multipartBody1399226723756975522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745743423,"filename":"image_04112025_15_07_04_1801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63084aa7841ebe03a212476e16e58086.jpg","text":"TemporaryFile(/tmp/multipartBody2427467343324956534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745743423,"filename":"image_04112025_15_07_21_14465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399383003","file1":"1399383002","file0":"1399383001","file4":"1399383005","file5":"1399383006","file3":"1399383004"},"map_files_photo_id_array":[{"photo_id":"1399383006","filename":"file5"},{"photo_id":"1399383003","filename":"file2"},{"photo_id":"1399383005","filename":"file4"},{"photo_id":"1399383002","filename":"file1"},{"photo_id":"1399383001","filename":"file0"},{"photo_id":"1399383004","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399383002":["hashtag1","hashtag2"]},{"1399383005":["hashtag1","hashtag2"]},{"1399383001":["hashtag1","hashtag2"]},{"1399383004":["hashtag1","hashtag2"]},{"1399383003":["hashtag1","hashtag2"]},{"1399383006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399383002, 1399383005, 1399383001, 1399383004, 1399383003, 1399383006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.001412868499756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:55:21.983320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/21/image_14122025_21_21_44_9670.jpg', '/home/pi/Desktop/images/14122025/21/21/image_14122025_21_21_55_10682.jpg', '/home/pi/Desktop/images/14122025/21/21/image_14122025_21_22_05_9711.jpg', '/home/pi/Desktop/images/14122025/21/22/image_14122025_21_22_15_9866.jpg', '/home/pi/Desktop/images/14122025/21/22/image_14122025_21_22_24_9693.jpg', '/home/pi/Desktop/images/14122025/21/22/image_14122025_21_22_35_10912.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/21/image_14122025_21_21_44_9670.jpg
/home/pi/Desktop/images/14122025/21/21/image_14122025_21_21_55_10682.jpg
/home/pi/Desktop/images/14122025/21/21/image_14122025_21_22_05_9711.jpg
/home/pi/Desktop/images/14122025/21/22/image_14122025_21_22_15_9866.jpg
/home/pi/Desktop/images/14122025/21/22/image_14122025_21_22_24_9693.jpg
/home/pi/Desktop/images/14122025/21/22/image_14122025_21_22_35_10912.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399383014","1399383007","1399383016","1399383018","1399383012","1399383009"],"photo_ids_order":["1399383007","1399383009","1399383012","1399383014","1399383016","1399383018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d83eba80752e914629ba1247731256ce.jpg","text":"TemporaryFile(/tmp/multipartBody2597580368608242943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745782642,"filename":"image_14122025_21_22_15_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d0a7eb92d7a60b95557dff55dea45670.jpg","text":"TemporaryFile(/tmp/multipartBody4058230456938501613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745782642,"filename":"image_14122025_21_21_44_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/22725e906074fa8c9b5e6fe4d0166583.jpg","text":"TemporaryFile(/tmp/multipartBody1595502453256129178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745782642,"filename":"image_14122025_21_22_24_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/20ae5e960858eefc7c6d5e631fe7c093.jpg","text":"TemporaryFile(/tmp/multipartBody670759901244730712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745782642,"filename":"image_14122025_21_22_35_10912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/309f55756d3b921705a8cc9156ab217d.jpg","text":"TemporaryFile(/tmp/multipartBody4217013377043939189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745782642,"filename":"image_14122025_21_22_05_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7875247401e490371b353e8c1030347b.jpg","text":"TemporaryFile(/tmp/multipartBody6590597502501182946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745782642,"filename":"image_14122025_21_21_55_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399383012","file1":"1399383009","file0":"1399383007","file4":"1399383016","file5":"1399383018","file3":"1399383014"},"map_files_photo_id_array":[{"photo_id":"1399383018","filename":"file5"},{"photo_id":"1399383012","filename":"file2"},{"photo_id":"1399383016","filename":"file4"},{"photo_id":"1399383009","filename":"file1"},{"photo_id":"1399383007","filename":"file0"},{"photo_id":"1399383014","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399383014":["hashtag1","hashtag2"]},{"1399383007":["hashtag1","hashtag2"]},{"1399383016":["hashtag1","hashtag2"]},{"1399383018":["hashtag1","hashtag2"]},{"1399383012":["hashtag1","hashtag2"]},{"1399383009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399383014, 1399383007, 1399383016, 1399383018, 1399383012, 1399383009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.019169092178345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 21:56:02.793240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/22/image_14122025_21_22_45_9836.jpg', '/home/pi/Desktop/images/14122025/21/22/image_14122025_21_22_55_9775.jpg', '/home/pi/Desktop/images/14122025/21/22/image_14122025_21_23_05_9689.jpg', '/home/pi/Desktop/images/14122025/21/23/image_14122025_21_23_15_10657.jpg', '/home/pi/Desktop/images/14122025/21/23/image_14122025_21_23_25_9746.jpg', '/home/pi/Desktop/images/14122025/21/23/image_14122025_21_23_45_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/22/image_14122025_21_22_45_9836.jpg
/home/pi/Desktop/images/14122025/21/22/image_14122025_21_22_55_9775.jpg
/home/pi/Desktop/images/14122025/21/22/image_14122025_21_23_05_9689.jpg
/home/pi/Desktop/images/14122025/21/23/image_14122025_21_23_15_10657.jpg
/home/pi/Desktop/images/14122025/21/23/image_14122025_21_23_25_9746.jpg
/home/pi/Desktop/images/14122025/21/23/image_14122025_21_23_45_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":["1399383020","1399383023","1399383022","1399383021","1399383024","1399383026"],"photo_ids_order":["1399383020","1399383021","1399383022","1399383023","1399383024","1399383026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/05ccfdac84cf7a2d28501f6e16240903.jpg","text":"TemporaryFile(/tmp/multipartBody1300951162604470586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745823434,"filename":"image_14122025_21_22_45_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e67568ee6b506b5d5d4b890fcadf624e.jpg","text":"TemporaryFile(/tmp/multipartBody3182131461490885902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745823434,"filename":"image_14122025_21_23_15_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5bd7e41da51c7167b4f30830b6607801.jpg","text":"TemporaryFile(/tmp/multipartBody4996350136553126547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745823434,"filename":"image_14122025_21_23_05_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/277eb0979213e2fefd4a209f2e3d9251.jpg","text":"TemporaryFile(/tmp/multipartBody652759580937008259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745823434,"filename":"image_14122025_21_22_55_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3349c7820212cad18ae57caf780dd7f.jpg","text":"TemporaryFile(/tmp/multipartBody3117324635347208158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745823434,"filename":"image_14122025_21_23_25_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/47096a96745654a1a94b8a92d01f4947.jpg","text":"TemporaryFile(/tmp/multipartBody3550425587708450059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745823434,"filename":"image_14122025_21_23_45_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399383022","file1":"1399383021","file0":"1399383020","file4":"1399383024","file5":"1399383026","file3":"1399383023"},"map_files_photo_id_array":[{"photo_id":"1399383026","filename":"file5"},{"photo_id":"1399383022","filename":"file2"},{"photo_id":"1399383024","filename":"file4"},{"photo_id":"1399383021","filename":"file1"},{"photo_id":"1399383020","filename":"file0"},{"photo_id":"1399383023","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399383020":["hashtag1","hashtag2"]},{"1399383023":["hashtag1","hashtag2"]},{"1399383022":["hashtag1","hashtag2"]},{"1399383021":["hashtag1","hashtag2"]},{"1399383024":["hashtag1","hashtag2"]},{"1399383026":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399383020, 1399383023, 1399383022, 1399383021, 1399383024, 1399383026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.397420167922974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:56:42.278745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_33_11641.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_35_1678.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_36_1593.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_38_1753.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_39_1447.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_41_1650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_33_11641.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_35_1678.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_36_1593.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_38_1753.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_39_1447.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_41_1650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399383043","1399383031","1399383034","1399383042","1399383045","1399383044"],"photo_ids_order":["1399383031","1399383034","1399383042","1399383043","1399383044","1399383045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/625303ebcbc44f3f3ea455fbfed6e1d7.jpg","text":"TemporaryFile(/tmp/multipartBody3393243343239196650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745862847,"filename":"image_04112025_15_07_38_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/35e019155c643b11efa94146b24dfd44.jpg","text":"TemporaryFile(/tmp/multipartBody1693369291617598119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745862847,"filename":"image_04112025_15_07_33_11641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c13937c323d9f01db90e2479e52ace38.jpg","text":"TemporaryFile(/tmp/multipartBody3368856270951075220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745862847,"filename":"image_04112025_15_07_35_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ebd2abb0e690d2e1b2de5d39537ff918.jpg","text":"TemporaryFile(/tmp/multipartBody6603760511197301199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745862847,"filename":"image_04112025_15_07_36_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/11f5c1fef114bc906c308aab2d2e14bc.jpg","text":"TemporaryFile(/tmp/multipartBody6639915395657911262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745862847,"filename":"image_04112025_15_07_41_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9c196f54808e3c48f0dffb0a935acda.jpg","text":"TemporaryFile(/tmp/multipartBody3322318991798186728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745862847,"filename":"image_04112025_15_07_39_1447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399383042","file1":"1399383034","file0":"1399383031","file4":"1399383044","file5":"1399383045","file3":"1399383043"},"map_files_photo_id_array":[{"photo_id":"1399383045","filename":"file5"},{"photo_id":"1399383042","filename":"file2"},{"photo_id":"1399383044","filename":"file4"},{"photo_id":"1399383034","filename":"file1"},{"photo_id":"1399383031","filename":"file0"},{"photo_id":"1399383043","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399383043":["hashtag1","hashtag2"]},{"1399383031":["hashtag1","hashtag2"]},{"1399383034":["hashtag1","hashtag2"]},{"1399383042":["hashtag1","hashtag2"]},{"1399383045":["hashtag1","hashtag2"]},{"1399383044":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399383043, 1399383031, 1399383034, 1399383042, 1399383045, 1399383044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49568295478821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 21:57:22.584600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/23/image_14122025_21_23_55_10839.jpg', '/home/pi/Desktop/images/14122025/21/23/image_14122025_21_24_05_9640.jpg', '/home/pi/Desktop/images/14122025/21/24/image_14122025_21_24_15_9779.jpg', '/home/pi/Desktop/images/14122025/21/24/image_14122025_21_24_25_9745.jpg', '/home/pi/Desktop/images/14122025/21/24/image_14122025_21_24_35_10657.jpg', '/home/pi/Desktop/images/14122025/21/24/image_14122025_21_25_05_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/23/image_14122025_21_23_55_10839.jpg
/home/pi/Desktop/images/14122025/21/23/image_14122025_21_24_05_9640.jpg
/home/pi/Desktop/images/14122025/21/24/image_14122025_21_24_15_9779.jpg
/home/pi/Desktop/images/14122025/21/24/image_14122025_21_24_25_9745.jpg
/home/pi/Desktop/images/14122025/21/24/image_14122025_21_24_35_10657.jpg
/home/pi/Desktop/images/14122025/21/24/image_14122025_21_25_05_10677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399383107","1399383067","1399383202","1399383201","1399383182","1399383146"],"photo_ids_order":["1399383067","1399383107","1399383146","1399383182","1399383201","1399383202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a61ce4e88fb1282fedb23106ef6d20a6.jpg","text":"TemporaryFile(/tmp/multipartBody942232262167769709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745903207,"filename":"image_14122025_21_24_05_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f550308b7da7b35e06179c7742a9ad79.jpg","text":"TemporaryFile(/tmp/multipartBody6257488957819566988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745903207,"filename":"image_14122025_21_23_55_10839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2998e0cc462c2184474e32a40b541bea.jpg","text":"TemporaryFile(/tmp/multipartBody4685718575096773079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745903207,"filename":"image_14122025_21_25_05_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/77a2532176c3aefc3555d0519706fefe.jpg","text":"TemporaryFile(/tmp/multipartBody5221576330268344273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745903207,"filename":"image_14122025_21_24_35_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/75c9af1cb83bf24f00de7fdac9dd2e44.jpg","text":"TemporaryFile(/tmp/multipartBody1287934418952330614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745903207,"filename":"image_14122025_21_24_25_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c867e04dafe069a8613f4b791f70e922.jpg","text":"TemporaryFile(/tmp/multipartBody3962533822120903520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765745903207,"filename":"image_14122025_21_24_15_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399383146","file1":"1399383107","file0":"1399383067","file4":"1399383201","file5":"1399383202","file3":"1399383182"},"map_files_photo_id_array":[{"photo_id":"1399383202","filename":"file5"},{"photo_id":"1399383146","filename":"file2"},{"photo_id":"1399383201","filename":"file4"},{"photo_id":"1399383107","filename":"file1"},{"photo_id":"1399383067","filename":"file0"},{"photo_id":"1399383182","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399383107":["hashtag1","hashtag2"]},{"1399383067":["hashtag1","hashtag2"]},{"1399383202":["hashtag1","hashtag2"]},{"1399383201":["hashtag1","hashtag2"]},{"1399383182":["hashtag1","hashtag2"]},{"1399383146":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399383107, 1399383067, 1399383202, 1399383201, 1399383182, 1399383146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61451864242554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 21:59:02.710135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/25/image_14122025_21_25_15_9579.jpg', '/home/pi/Desktop/images/14122025/21/25/image_14122025_21_25_35_10707.jpg', '/home/pi/Desktop/images/14122025/21/25/image_14122025_21_25_45_9598.jpg', '/home/pi/Desktop/images/14122025/21/25/image_14122025_21_25_54_9685.jpg', '/home/pi/Desktop/images/14122025/21/25/image_14122025_21_26_05_10688.jpg', '/home/pi/Desktop/images/14122025/21/26/image_14122025_21_26_15_9871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/25/image_14122025_21_25_15_9579.jpg
/home/pi/Desktop/images/14122025/21/25/image_14122025_21_25_35_10707.jpg
/home/pi/Desktop/images/14122025/21/25/image_14122025_21_25_45_9598.jpg
/home/pi/Desktop/images/14122025/21/25/image_14122025_21_25_54_9685.jpg
/home/pi/Desktop/images/14122025/21/25/image_14122025_21_26_05_10688.jpg
/home/pi/Desktop/images/14122025/21/26/image_14122025_21_26_15_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":["1399383425","1399383544","1399383502","1399383387","1399383467","1399383581"],"photo_ids_order":["1399383387","1399383425","1399383467","1399383502","1399383544","1399383581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ccee903c3181e860261b2a05f9c9f37a.jpg","text":"TemporaryFile(/tmp/multipartBody3411930720181677615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746003379,"filename":"image_14122025_21_25_35_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3788b04d2e5d9dea8e776e7c44fa3008.jpg","text":"TemporaryFile(/tmp/multipartBody2528019446289656134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746003379,"filename":"image_14122025_21_26_05_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ebab59b16200be265344e5792d74933.jpg","text":"TemporaryFile(/tmp/multipartBody996394890820896123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746003379,"filename":"image_14122025_21_25_54_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bbcca7a27880268ed887a960c7e4349d.jpg","text":"TemporaryFile(/tmp/multipartBody9102788304489730398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746003379,"filename":"image_14122025_21_25_15_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54ff1944a720e9d0bee4064586cbb4d8.jpg","text":"TemporaryFile(/tmp/multipartBody6092924666623592060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746003379,"filename":"image_14122025_21_25_45_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/438214adab654b91cc13ed76abb05ddd.jpg","text":"TemporaryFile(/tmp/multipartBody2780945055365650368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746003379,"filename":"image_14122025_21_26_15_9871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399383467","file1":"1399383425","file0":"1399383387","file4":"1399383544","file5":"1399383581","file3":"1399383502"},"map_files_photo_id_array":[{"photo_id":"1399383581","filename":"file5"},{"photo_id":"1399383467","filename":"file2"},{"photo_id":"1399383544","filename":"file4"},{"photo_id":"1399383425","filename":"file1"},{"photo_id":"1399383387","filename":"file0"},{"photo_id":"1399383502","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399383425":["hashtag1","hashtag2"]},{"1399383544":["hashtag1","hashtag2"]},{"1399383502":["hashtag1","hashtag2"]},{"1399383387":["hashtag1","hashtag2"]},{"1399383467":["hashtag1","hashtag2"]},{"1399383581":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399383425, 1399383544, 1399383502, 1399383387, 1399383467, 1399383581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28764843940735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 21:59:41.996694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_43_1548.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_44_1621.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_46_1566.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_47_1593.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_49_1639.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_51_1573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_43_1548.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_44_1621.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_46_1566.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_47_1593.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_49_1639.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_51_1573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399383823","1399383751","1399383708","1399383899","1399383863","1399383788"],"photo_ids_order":["1399383708","1399383751","1399383788","1399383823","1399383863","1399383899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1aded7b324eb84461c4cd4eda6b7e144.jpg","text":"TemporaryFile(/tmp/multipartBody1477416220744076611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746042554,"filename":"image_04112025_15_07_47_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1eda60d9db51b7b222e60441d7834e1c.jpg","text":"TemporaryFile(/tmp/multipartBody2835296506500653792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746042554,"filename":"image_04112025_15_07_44_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e1c48d92b318554c9f072c989e09dab9.jpg","text":"TemporaryFile(/tmp/multipartBody5182376402386542232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746042554,"filename":"image_04112025_15_07_43_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/37760a5c60c631dd56a9398231a37e11.jpg","text":"TemporaryFile(/tmp/multipartBody8524755455858071612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746042554,"filename":"image_04112025_15_07_51_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cbb6c6146bba81c535e530d6adb872d9.jpg","text":"TemporaryFile(/tmp/multipartBody4747607528524690692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746042554,"filename":"image_04112025_15_07_49_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f0656baf939f86dd3bec6bf0baad458.jpg","text":"TemporaryFile(/tmp/multipartBody2068068574334821230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746042554,"filename":"image_04112025_15_07_46_1566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399383788","file1":"1399383751","file0":"1399383708","file4":"1399383863","file5":"1399383899","file3":"1399383823"},"map_files_photo_id_array":[{"photo_id":"1399383899","filename":"file5"},{"photo_id":"1399383788","filename":"file2"},{"photo_id":"1399383863","filename":"file4"},{"photo_id":"1399383751","filename":"file1"},{"photo_id":"1399383708","filename":"file0"},{"photo_id":"1399383823","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399383823":["hashtag1","hashtag2"]},{"1399383751":["hashtag1","hashtag2"]},{"1399383708":["hashtag1","hashtag2"]},{"1399383899":["hashtag1","hashtag2"]},{"1399383863":["hashtag1","hashtag2"]},{"1399383788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399383823, 1399383751, 1399383708, 1399383899, 1399383863, 1399383788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76976132392883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:00:22.209901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/26/image_14122025_21_26_25_10030.jpg', '/home/pi/Desktop/images/14122025/21/26/image_14122025_21_26_35_9679.jpg', '/home/pi/Desktop/images/14122025/21/26/image_14122025_21_26_45_10606.jpg', '/home/pi/Desktop/images/14122025/21/26/image_14122025_21_26_55_10007.jpg', '/home/pi/Desktop/images/14122025/21/26/image_14122025_21_27_05_9696.jpg', '/home/pi/Desktop/images/14122025/21/27/image_14122025_21_27_25_9567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/26/image_14122025_21_26_25_10030.jpg
/home/pi/Desktop/images/14122025/21/26/image_14122025_21_26_35_9679.jpg
/home/pi/Desktop/images/14122025/21/26/image_14122025_21_26_45_10606.jpg
/home/pi/Desktop/images/14122025/21/26/image_14122025_21_26_55_10007.jpg
/home/pi/Desktop/images/14122025/21/26/image_14122025_21_27_05_9696.jpg
/home/pi/Desktop/images/14122025/21/27/image_14122025_21_27_25_9567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399383997","1399383999","1399383993","1399384002","1399383992","1399383995"],"photo_ids_order":["1399383992","1399383993","1399383995","1399383997","1399383999","1399384002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/58c764ced86d9db3e9c86b96286a7782.jpg","text":"TemporaryFile(/tmp/multipartBody836709182121802986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746082798,"filename":"image_14122025_21_26_55_10007.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0129d020b7754312b2c26fd987106c59.jpg","text":"TemporaryFile(/tmp/multipartBody6892710594279244561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746082798,"filename":"image_14122025_21_27_05_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92536e4b2e7ad61d887ac57fa5539405.jpg","text":"TemporaryFile(/tmp/multipartBody8228206175506011395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746082798,"filename":"image_14122025_21_26_35_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/143fb37f33d666bc26cafd79b67e7b26.jpg","text":"TemporaryFile(/tmp/multipartBody2349134458410222692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746082798,"filename":"image_14122025_21_27_25_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3286f8377af7b50c909ca9df9b4e2dd6.jpg","text":"TemporaryFile(/tmp/multipartBody8974574330603095016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746082798,"filename":"image_14122025_21_26_25_10030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba3233ec19c0989a6ca197acb843c8c0.jpg","text":"TemporaryFile(/tmp/multipartBody4492326016636713649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746082798,"filename":"image_14122025_21_26_45_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399383995","file1":"1399383993","file0":"1399383992","file4":"1399383999","file5":"1399384002","file3":"1399383997"},"map_files_photo_id_array":[{"photo_id":"1399384002","filename":"file5"},{"photo_id":"1399383995","filename":"file2"},{"photo_id":"1399383999","filename":"file4"},{"photo_id":"1399383993","filename":"file1"},{"photo_id":"1399383992","filename":"file0"},{"photo_id":"1399383997","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399383997":["hashtag1","hashtag2"]},{"1399383999":["hashtag1","hashtag2"]},{"1399383993":["hashtag1","hashtag2"]},{"1399384002":["hashtag1","hashtag2"]},{"1399383992":["hashtag1","hashtag2"]},{"1399383995":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399383997, 1399383999, 1399383993, 1399384002, 1399383992, 1399383995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58005166053772 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:01:03.191717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/27/image_14122025_21_27_35_10707.jpg', '/home/pi/Desktop/images/14122025/21/27/image_14122025_21_27_45_9646.jpg', '/home/pi/Desktop/images/14122025/21/27/image_14122025_21_27_55_9739.jpg', '/home/pi/Desktop/images/14122025/21/27/image_14122025_21_28_04_9804.jpg', '/home/pi/Desktop/images/14122025/21/28/image_14122025_21_28_15_10708.jpg', '/home/pi/Desktop/images/14122025/21/28/image_14122025_21_28_25_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/27/image_14122025_21_27_35_10707.jpg
/home/pi/Desktop/images/14122025/21/27/image_14122025_21_27_45_9646.jpg
/home/pi/Desktop/images/14122025/21/27/image_14122025_21_27_55_9739.jpg
/home/pi/Desktop/images/14122025/21/27/image_14122025_21_28_04_9804.jpg
/home/pi/Desktop/images/14122025/21/28/image_14122025_21_28_15_10708.jpg
/home/pi/Desktop/images/14122025/21/28/image_14122025_21_28_25_9796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399384159","1399384185","1399384184","1399384160","1399384136","1399384208"],"photo_ids_order":["1399384136","1399384159","1399384160","1399384184","1399384185","1399384208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/70b199902e9652b85a076a851fc3b619.jpg","text":"TemporaryFile(/tmp/multipartBody7745895730897897893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746123843,"filename":"image_14122025_21_27_45_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eab9913399992392c6f93d249b9fd68e.jpg","text":"TemporaryFile(/tmp/multipartBody9218437560922632162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746123843,"filename":"image_14122025_21_28_15_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f3894b05ad6d06566af1e0ab73ddf0b3.jpg","text":"TemporaryFile(/tmp/multipartBody5897474759120699229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746123843,"filename":"image_14122025_21_28_04_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8a23891d662cf22e968eabc8a05084ad.jpg","text":"TemporaryFile(/tmp/multipartBody5712473431363791594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746123843,"filename":"image_14122025_21_27_55_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bc32fe907542f797fd3faf9df5a07294.jpg","text":"TemporaryFile(/tmp/multipartBody2024260618457349782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746123843,"filename":"image_14122025_21_27_35_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/71e5a3027c1f2c947d901e5bb5aa5c17.jpg","text":"TemporaryFile(/tmp/multipartBody4907843609420208766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746123843,"filename":"image_14122025_21_28_25_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399384160","file1":"1399384159","file0":"1399384136","file4":"1399384185","file5":"1399384208","file3":"1399384184"},"map_files_photo_id_array":[{"photo_id":"1399384208","filename":"file5"},{"photo_id":"1399384160","filename":"file2"},{"photo_id":"1399384185","filename":"file4"},{"photo_id":"1399384159","filename":"file1"},{"photo_id":"1399384136","filename":"file0"},{"photo_id":"1399384184","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399384159":["hashtag1","hashtag2"]},{"1399384185":["hashtag1","hashtag2"]},{"1399384184":["hashtag1","hashtag2"]},{"1399384160":["hashtag1","hashtag2"]},{"1399384136":["hashtag1","hashtag2"]},{"1399384208":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399384159, 1399384185, 1399384184, 1399384160, 1399384136, 1399384208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.407697677612305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:01:42.499407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_52_1648.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_54_1540.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_55_1573.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_57_1775.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_59_1651.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_08_00_1660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_52_1648.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_54_1540.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_55_1573.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_57_1775.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_59_1651.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_08_00_1660.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4347679615020752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:02:03.102869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/28/image_14122025_21_28_35_9656.jpg', '/home/pi/Desktop/images/14122025/21/28/image_14122025_21_28_45_10682.jpg', '/home/pi/Desktop/images/14122025/21/28/image_14122025_21_28_55_9664.jpg', '/home/pi/Desktop/images/14122025/21/28/image_14122025_21_29_05_9689.jpg', '/home/pi/Desktop/images/14122025/21/29/image_14122025_21_29_25_10808.jpg', '/home/pi/Desktop/images/14122025/21/29/image_14122025_21_29_35_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/28/image_14122025_21_28_35_9656.jpg
/home/pi/Desktop/images/14122025/21/28/image_14122025_21_28_45_10682.jpg
/home/pi/Desktop/images/14122025/21/28/image_14122025_21_28_55_9664.jpg
/home/pi/Desktop/images/14122025/21/28/image_14122025_21_29_05_9689.jpg
/home/pi/Desktop/images/14122025/21/29/image_14122025_21_29_25_10808.jpg
/home/pi/Desktop/images/14122025/21/29/image_14122025_21_29_35_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399384333","1399384485","1399384524","1399384446","1399384373","1399384409"],"photo_ids_order":["1399384333","1399384373","1399384409","1399384446","1399384485","1399384524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e093c77408ca4390329b2ba945ccb350.jpg","text":"TemporaryFile(/tmp/multipartBody2966908114945845878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746183741,"filename":"image_14122025_21_28_35_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4eeae03d8b5efc034616ef99a0a92c8a.jpg","text":"TemporaryFile(/tmp/multipartBody1060109962898465786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746183741,"filename":"image_14122025_21_29_25_10808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/040ba99483d42398a2691bd7943f9bde.jpg","text":"TemporaryFile(/tmp/multipartBody2611394965203838021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746183741,"filename":"image_14122025_21_29_35_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b896d85173f821f2066ef91964fdb14a.jpg","text":"TemporaryFile(/tmp/multipartBody5043861615768072253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746183741,"filename":"image_14122025_21_29_05_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be9f43f56be9caba0dde5b6dc48d6878.jpg","text":"TemporaryFile(/tmp/multipartBody4323141320235339934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746183741,"filename":"image_14122025_21_28_45_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5706d0aa04da7616f55ea07d27f68762.jpg","text":"TemporaryFile(/tmp/multipartBody6595682744169734737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746183741,"filename":"image_14122025_21_28_55_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399384409","file1":"1399384373","file0":"1399384333","file4":"1399384485","file5":"1399384524","file3":"1399384446"},"map_files_photo_id_array":[{"photo_id":"1399384524","filename":"file5"},{"photo_id":"1399384409","filename":"file2"},{"photo_id":"1399384485","filename":"file4"},{"photo_id":"1399384373","filename":"file1"},{"photo_id":"1399384333","filename":"file0"},{"photo_id":"1399384446","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399384333":["hashtag1","hashtag2"]},{"1399384485":["hashtag1","hashtag2"]},{"1399384524":["hashtag1","hashtag2"]},{"1399384446":["hashtag1","hashtag2"]},{"1399384373":["hashtag1","hashtag2"]},{"1399384409":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399384333, 1399384485, 1399384524, 1399384446, 1399384373, 1399384409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.443480491638184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:02:42.689224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_52_1648.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_54_1540.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_55_1573.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_57_1775.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_59_1651.jpg', '/home/pi/Desktop/images/04112025/15/07/image_04112025_15_08_00_1660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_52_1648.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_54_1540.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_55_1573.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_57_1775.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_07_59_1651.jpg
/home/pi/Desktop/images/04112025/15/07/image_04112025_15_08_00_1660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399385283","1399385082","1399385316","1399385216","1399384949","1399385353"],"photo_ids_order":["1399384949","1399385082","1399385216","1399385283","1399385316","1399385353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/432a079aaf79453870d7965b91b211ca.jpg","text":"TemporaryFile(/tmp/multipartBody5427980487329144218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746223220,"filename":"image_04112025_15_07_57_1775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b56695fa2b5806ca6d3b86d753cdcd2a.jpg","text":"TemporaryFile(/tmp/multipartBody5565952380591103856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746223220,"filename":"image_04112025_15_07_54_1540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ebe18f4adeb5ac963587e46b16af0729.jpg","text":"TemporaryFile(/tmp/multipartBody7433516850168085148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746223220,"filename":"image_04112025_15_07_59_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36a41e54e14fd51f9bf2213330769cfd.jpg","text":"TemporaryFile(/tmp/multipartBody8427722319983319589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746223220,"filename":"image_04112025_15_07_55_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6173aaba399a2ffdbe16ee4de6015e6.jpg","text":"TemporaryFile(/tmp/multipartBody6787852263544486841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746223220,"filename":"image_04112025_15_07_52_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dcf1b4035f0ed449cb1b4b1606cc9097.jpg","text":"TemporaryFile(/tmp/multipartBody3805614515634484171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746223220,"filename":"image_04112025_15_08_00_1660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399385216","file1":"1399385082","file0":"1399384949","file4":"1399385316","file5":"1399385353","file3":"1399385283"},"map_files_photo_id_array":[{"photo_id":"1399385353","filename":"file5"},{"photo_id":"1399385216","filename":"file2"},{"photo_id":"1399385316","filename":"file4"},{"photo_id":"1399385082","filename":"file1"},{"photo_id":"1399384949","filename":"file0"},{"photo_id":"1399385283","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399385283":["hashtag1","hashtag2"]},{"1399385082":["hashtag1","hashtag2"]},{"1399385316":["hashtag1","hashtag2"]},{"1399385216":["hashtag1","hashtag2"]},{"1399384949":["hashtag1","hashtag2"]},{"1399385353":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399385283, 1399385082, 1399385316, 1399385216, 1399384949, 1399385353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.931358098983765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:03:22.038220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/29/image_14122025_21_29_45_9737.jpg', '/home/pi/Desktop/images/14122025/21/29/image_14122025_21_29_55_10658.jpg', '/home/pi/Desktop/images/14122025/21/30/image_14122025_21_30_14_10056.jpg', '/home/pi/Desktop/images/14122025/21/30/image_14122025_21_30_25_10630.jpg', '/home/pi/Desktop/images/14122025/21/30/image_14122025_21_30_34_9580.jpg', '/home/pi/Desktop/images/14122025/21/30/image_14122025_21_30_45_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/29/image_14122025_21_29_45_9737.jpg
/home/pi/Desktop/images/14122025/21/29/image_14122025_21_29_55_10658.jpg
/home/pi/Desktop/images/14122025/21/30/image_14122025_21_30_14_10056.jpg
/home/pi/Desktop/images/14122025/21/30/image_14122025_21_30_25_10630.jpg
/home/pi/Desktop/images/14122025/21/30/image_14122025_21_30_34_9580.jpg
/home/pi/Desktop/images/14122025/21/30/image_14122025_21_30_45_10636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399385769","1399385637","1399385684","1399385921","1399385584","1399385845"],"photo_ids_order":["1399385584","1399385637","1399385684","1399385769","1399385845","1399385921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fb82e8313fbb030442214b0ac08968fe.jpg","text":"TemporaryFile(/tmp/multipartBody966464984529339735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746262703,"filename":"image_14122025_21_30_25_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d36818f1a50d4c88453ea6b99bd14df2.jpg","text":"TemporaryFile(/tmp/multipartBody2948623380757814294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746262703,"filename":"image_14122025_21_29_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/732048574640946f1336e11353642219.jpg","text":"TemporaryFile(/tmp/multipartBody6121045748900614422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746262703,"filename":"image_14122025_21_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/12/14/6034efeb01144658712b5a4d8d18d159.jpg","text":"TemporaryFile(/tmp/multipartBody624199831209680536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746262703,"filename":"image_14122025_21_30_45_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/79cf3f1fecaabb2e479f9e10dd48a758.jpg","text":"TemporaryFile(/tmp/multipartBody2340306425161001520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746262703,"filename":"image_14122025_21_29_45_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f3aed5b9fa2b3a02d72699cb792bfdf.jpg","text":"TemporaryFile(/tmp/multipartBody6112592918612771537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746262703,"filename":"image_14122025_21_30_34_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399385684","file1":"1399385637","file0":"1399385584","file4":"1399385845","file5":"1399385921","file3":"1399385769"},"map_files_photo_id_array":[{"photo_id":"1399385921","filename":"file5"},{"photo_id":"1399385684","filename":"file2"},{"photo_id":"1399385845","filename":"file4"},{"photo_id":"1399385637","filename":"file1"},{"photo_id":"1399385584","filename":"file0"},{"photo_id":"1399385769","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399385769":["hashtag1","hashtag2"]},{"1399385637":["hashtag1","hashtag2"]},{"1399385684":["hashtag1","hashtag2"]},{"1399385921":["hashtag1","hashtag2"]},{"1399385584":["hashtag1","hashtag2"]},{"1399385845":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399385769, 1399385637, 1399385684, 1399385921, 1399385584, 1399385845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.232598066329956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:04:02.804589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/30/image_14122025_21_30_55_9688.jpg', '/home/pi/Desktop/images/14122025/21/30/image_14122025_21_31_04_9681.jpg', '/home/pi/Desktop/images/14122025/21/31/image_14122025_21_31_15_10643.jpg', '/home/pi/Desktop/images/14122025/21/31/image_14122025_21_31_25_9606.jpg', '/home/pi/Desktop/images/14122025/21/31/image_14122025_21_31_35_9861.jpg', '/home/pi/Desktop/images/14122025/21/31/image_14122025_21_31_44_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/30/image_14122025_21_30_55_9688.jpg
/home/pi/Desktop/images/14122025/21/30/image_14122025_21_31_04_9681.jpg
/home/pi/Desktop/images/14122025/21/31/image_14122025_21_31_15_10643.jpg
/home/pi/Desktop/images/14122025/21/31/image_14122025_21_31_25_9606.jpg
/home/pi/Desktop/images/14122025/21/31/image_14122025_21_31_35_9861.jpg
/home/pi/Desktop/images/14122025/21/31/image_14122025_21_31_44_9725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399386345","1399386485","1399386206","1399386134","1399386413","1399386277"],"photo_ids_order":["1399386134","1399386206","1399386277","1399386345","1399386413","1399386485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ae00cfb16bcd99af85a102401ad78a2.jpg","text":"TemporaryFile(/tmp/multipartBody6944864028414307895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746303428,"filename":"image_14122025_21_31_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/95927f088c02226f8d713804310c5bea.jpg","text":"TemporaryFile(/tmp/multipartBody7332199313455022936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746303428,"filename":"image_14122025_21_31_44_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a73f60618152d7ac36ba146c8b307bcb.jpg","text":"TemporaryFile(/tmp/multipartBody4497932619471980167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746303428,"filename":"image_14122025_21_31_04_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/59d2c999fb59778d32424741e29ebf7c.jpg","text":"TemporaryFile(/tmp/multipartBody4576102537881487634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746303428,"filename":"image_14122025_21_30_55_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/40dcbbdde61a8ba3247ec8cd54a7e45d.jpg","text":"TemporaryFile(/tmp/multipartBody5782795950654963159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746303428,"filename":"image_14122025_21_31_35_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd7c75328199f1bf5162e8cda41c4944.jpg","text":"TemporaryFile(/tmp/multipartBody1769992855512863495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746303428,"filename":"image_14122025_21_31_15_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399386277","file1":"1399386206","file0":"1399386134","file4":"1399386413","file5":"1399386485","file3":"1399386345"},"map_files_photo_id_array":[{"photo_id":"1399386485","filename":"file5"},{"photo_id":"1399386277","filename":"file2"},{"photo_id":"1399386413","filename":"file4"},{"photo_id":"1399386206","filename":"file1"},{"photo_id":"1399386134","filename":"file0"},{"photo_id":"1399386345","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399386345":["hashtag1","hashtag2"]},{"1399386485":["hashtag1","hashtag2"]},{"1399386206":["hashtag1","hashtag2"]},{"1399386134":["hashtag1","hashtag2"]},{"1399386413":["hashtag1","hashtag2"]},{"1399386277":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399386345, 1399386485, 1399386206, 1399386134, 1399386413, 1399386277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95547270774841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:04:42.283461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_02_1585.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_04_1611.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_05_1765.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_07_1800.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_09_1624.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_18_9496.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_02_1585.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_04_1611.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_05_1765.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_07_1800.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_09_1624.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_18_9496.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399386861","1399387157","1399387601","1399387447","1399387015","1399387299"],"photo_ids_order":["1399386861","1399387015","1399387157","1399387299","1399387447","1399387601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a0df0efaaaaec466b8685adc083c36ae.jpg","text":"TemporaryFile(/tmp/multipartBody8425641279079791678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746342889,"filename":"image_04112025_15_08_02_1585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/950489c6a4b4a7564f8c43815b04dfa0.jpg","text":"TemporaryFile(/tmp/multipartBody4051133316781410372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746342889,"filename":"image_04112025_15_08_05_1765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/290d9922782e6c00da4e64afbbee706c.jpg","text":"TemporaryFile(/tmp/multipartBody3504132908524842653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746342889,"filename":"image_04112025_15_08_18_9496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2a9a63c44aa51de346f6df4ccf0bae84.jpg","text":"TemporaryFile(/tmp/multipartBody8302359360870052257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746342889,"filename":"image_04112025_15_08_09_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf88ef6e4a1b652c8c1657a1ec1df282.jpg","text":"TemporaryFile(/tmp/multipartBody8591378495930765469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746342889,"filename":"image_04112025_15_08_04_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/714d36744417bf69253aa8dc69307080.jpg","text":"TemporaryFile(/tmp/multipartBody3994876163205745276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746342889,"filename":"image_04112025_15_08_07_1800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399387157","file1":"1399387015","file0":"1399386861","file4":"1399387447","file5":"1399387601","file3":"1399387299"},"map_files_photo_id_array":[{"photo_id":"1399387601","filename":"file5"},{"photo_id":"1399387157","filename":"file2"},{"photo_id":"1399387447","filename":"file4"},{"photo_id":"1399387015","filename":"file1"},{"photo_id":"1399386861","filename":"file0"},{"photo_id":"1399387299","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399386861":["hashtag1","hashtag2"]},{"1399387157":["hashtag1","hashtag2"]},{"1399387601":["hashtag1","hashtag2"]},{"1399387447":["hashtag1","hashtag2"]},{"1399387015":["hashtag1","hashtag2"]},{"1399387299":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399386861, 1399387157, 1399387601, 1399387447, 1399387015, 1399387299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.840944051742554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:05:22.502454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/32/image_14122025_21_32_14_9639.jpg', '/home/pi/Desktop/images/14122025/21/32/image_14122025_21_32_25_10697.jpg', '/home/pi/Desktop/images/14122025/21/32/image_14122025_21_32_35_9607.jpg', '/home/pi/Desktop/images/14122025/21/32/image_14122025_21_32_44_9760.jpg', '/home/pi/Desktop/images/14122025/21/32/image_14122025_21_32_55_10784.jpg', '/home/pi/Desktop/images/14122025/21/32/image_14122025_21_33_05_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/32/image_14122025_21_32_14_9639.jpg
/home/pi/Desktop/images/14122025/21/32/image_14122025_21_32_25_10697.jpg
/home/pi/Desktop/images/14122025/21/32/image_14122025_21_32_35_9607.jpg
/home/pi/Desktop/images/14122025/21/32/image_14122025_21_32_44_9760.jpg
/home/pi/Desktop/images/14122025/21/32/image_14122025_21_32_55_10784.jpg
/home/pi/Desktop/images/14122025/21/32/image_14122025_21_33_05_9739.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47744202613830566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 22:05:32.523954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:05:42.529274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_20_1630.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_22_1640.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_23_1609.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_25_1547.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_26_1635.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_29_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_20_1630.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_22_1640.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_23_1609.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_25_1547.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_26_1635.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_29_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":["1399388936","1399388773","1399388661","1399388829","1399388526","1399388870"],"photo_ids_order":["1399388526","1399388661","1399388773","1399388829","1399388870","1399388936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad6f67dc13e63bf92916b868c318f4ae.jpg","text":"TemporaryFile(/tmp/multipartBody514132533696505908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746403096,"filename":"image_04112025_15_08_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/12/14/d5a9fc3184d5189fac3740178b49680a.jpg","text":"TemporaryFile(/tmp/multipartBody5222141684517699873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746403096,"filename":"image_04112025_15_08_23_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/162242114ee158267605a78d3f594898.jpg","text":"TemporaryFile(/tmp/multipartBody3614919579426652094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746403096,"filename":"image_04112025_15_08_22_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5097239364a8c64aaa94c1c0dbfe7f20.jpg","text":"TemporaryFile(/tmp/multipartBody2651743192082960518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746403096,"filename":"image_04112025_15_08_25_1547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f1b92b2357f9c231c984646e945241c.jpg","text":"TemporaryFile(/tmp/multipartBody8743171914393621994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746403096,"filename":"image_04112025_15_08_20_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13a527c0998bf048569609eef57ceeeb.jpg","text":"TemporaryFile(/tmp/multipartBody1930454124853203548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746403096,"filename":"image_04112025_15_08_26_1635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399388773","file1":"1399388661","file0":"1399388526","file4":"1399388870","file5":"1399388936","file3":"1399388829"},"map_files_photo_id_array":[{"photo_id":"1399388936","filename":"file5"},{"photo_id":"1399388773","filename":"file2"},{"photo_id":"1399388870","filename":"file4"},{"photo_id":"1399388661","filename":"file1"},{"photo_id":"1399388526","filename":"file0"},{"photo_id":"1399388829","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399388936":["hashtag1","hashtag2"]},{"1399388773":["hashtag1","hashtag2"]},{"1399388661":["hashtag1","hashtag2"]},{"1399388829":["hashtag1","hashtag2"]},{"1399388526":["hashtag1","hashtag2"]},{"1399388870":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399388936, 1399388773, 1399388661, 1399388829, 1399388526, 1399388870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.74112510681152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 22:06:32.793381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:06:42.707154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_31_1521.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_32_1576.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_35_2844.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_37_1737.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_38_1612.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_46_8004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_31_1521.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_32_1576.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_35_2844.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_37_1737.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_38_1612.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_46_8004.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5061192512512207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:07:02.637456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/32/image_14122025_21_32_14_9639.jpg', '/home/pi/Desktop/images/14122025/21/32/image_14122025_21_32_25_10697.jpg', '/home/pi/Desktop/images/14122025/21/32/image_14122025_21_32_35_9607.jpg', '/home/pi/Desktop/images/14122025/21/32/image_14122025_21_32_44_9760.jpg', '/home/pi/Desktop/images/14122025/21/32/image_14122025_21_32_55_10784.jpg', '/home/pi/Desktop/images/14122025/21/32/image_14122025_21_33_05_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/32/image_14122025_21_32_14_9639.jpg
/home/pi/Desktop/images/14122025/21/32/image_14122025_21_32_25_10697.jpg
/home/pi/Desktop/images/14122025/21/32/image_14122025_21_32_35_9607.jpg
/home/pi/Desktop/images/14122025/21/32/image_14122025_21_32_44_9760.jpg
/home/pi/Desktop/images/14122025/21/32/image_14122025_21_32_55_10784.jpg
/home/pi/Desktop/images/14122025/21/32/image_14122025_21_33_05_9739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399390486","1399390759","1399390621","1399390857","1399390263","1399390379"],"photo_ids_order":["1399390263","1399390379","1399390486","1399390621","1399390759","1399390857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3e409bed8b8b4ed2822e00611561eda0.jpg","text":"TemporaryFile(/tmp/multipartBody1244471563962020700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746484513,"filename":"image_14122025_21_32_35_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f85e72302b44c8168bb63846a16fb611.jpg","text":"TemporaryFile(/tmp/multipartBody6997502949943580850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746484513,"filename":"image_14122025_21_32_55_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e8206c116e8c4b815d460e358b40f0d.jpg","text":"TemporaryFile(/tmp/multipartBody4973626936830472757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746484513,"filename":"image_14122025_21_32_44_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/168820144ff827e14d3f88b76d7aab7f.jpg","text":"TemporaryFile(/tmp/multipartBody3027867268316187683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746484513,"filename":"image_14122025_21_33_05_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8fe0e7ad355c20992c0028c8fdaf5ad5.jpg","text":"TemporaryFile(/tmp/multipartBody3304071990261178938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746484513,"filename":"image_14122025_21_32_14_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24203279776ce64d588dc06e59d32a39.jpg","text":"TemporaryFile(/tmp/multipartBody1738886517631747515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746484513,"filename":"image_14122025_21_32_25_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399390486","file1":"1399390379","file0":"1399390263","file4":"1399390759","file5":"1399390857","file3":"1399390621"},"map_files_photo_id_array":[{"photo_id":"1399390857","filename":"file5"},{"photo_id":"1399390486","filename":"file2"},{"photo_id":"1399390759","filename":"file4"},{"photo_id":"1399390379","filename":"file1"},{"photo_id":"1399390263","filename":"file0"},{"photo_id":"1399390621","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399390486":["hashtag1","hashtag2"]},{"1399390759":["hashtag1","hashtag2"]},{"1399390621":["hashtag1","hashtag2"]},{"1399390857":["hashtag1","hashtag2"]},{"1399390263":["hashtag1","hashtag2"]},{"1399390379":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399390486, 1399390759, 1399390621, 1399390857, 1399390263, 1399390379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17164349555969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:07:41.921542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_31_1521.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_32_1576.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_35_2844.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_37_1737.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_38_1612.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_46_8004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_31_1521.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_32_1576.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_35_2844.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_37_1737.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_38_1612.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_46_8004.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399391242","1399391431","1399391697","1399391888","1399391537","1399391339"],"photo_ids_order":["1399391242","1399391339","1399391431","1399391537","1399391697","1399391888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d3cf115c2868d36522c77aa0fa2aae4b.jpg","text":"TemporaryFile(/tmp/multipartBody4853907879150280528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746522413,"filename":"image_04112025_15_08_31_1521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1922474eee6eed2a512fe87b7ade584a.jpg","text":"TemporaryFile(/tmp/multipartBody5301409748495214675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746522413,"filename":"image_04112025_15_08_35_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e129aa88d39973423e5eb0d32d15f01.jpg","text":"TemporaryFile(/tmp/multipartBody3781786171933828691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746522413,"filename":"image_04112025_15_08_38_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7815815b9985d91101ac2dfb80a681fc.jpg","text":"TemporaryFile(/tmp/multipartBody9073690557315427183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746522413,"filename":"image_04112025_15_08_46_8004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/397e8b799e36bc84751c1b52e9338e5c.jpg","text":"TemporaryFile(/tmp/multipartBody3519862671136400861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746522413,"filename":"image_04112025_15_08_37_1737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/16ff9ca95f5ca27d4c085293f8515342.jpg","text":"TemporaryFile(/tmp/multipartBody3877095132359337656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746522413,"filename":"image_04112025_15_08_32_1576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399391431","file1":"1399391339","file0":"1399391242","file4":"1399391697","file5":"1399391888","file3":"1399391537"},"map_files_photo_id_array":[{"photo_id":"1399391888","filename":"file5"},{"photo_id":"1399391431","filename":"file2"},{"photo_id":"1399391697","filename":"file4"},{"photo_id":"1399391339","filename":"file1"},{"photo_id":"1399391242","filename":"file0"},{"photo_id":"1399391537","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399391242":["hashtag1","hashtag2"]},{"1399391431":["hashtag1","hashtag2"]},{"1399391697":["hashtag1","hashtag2"]},{"1399391888":["hashtag1","hashtag2"]},{"1399391537":["hashtag1","hashtag2"]},{"1399391339":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399391242, 1399391431, 1399391697, 1399391888, 1399391537, 1399391339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.175626039505005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 22:08:32.226143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:08:42.110267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_49_2974.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_51_1593.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_53_1749.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_57_4605.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_59_1695.jpg', '/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_03_4025.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_49_2974.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_51_1593.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_53_1749.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_57_4605.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_59_1695.jpg
/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_03_4025.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6585795879364014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:09:03.148472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/33/image_14122025_21_33_15_9661.jpg', '/home/pi/Desktop/images/14122025/21/33/image_14122025_21_33_24_9669.jpg', '/home/pi/Desktop/images/14122025/21/33/image_14122025_21_34_05_10693.jpg', '/home/pi/Desktop/images/14122025/21/34/image_14122025_21_34_15_9582.jpg', '/home/pi/Desktop/images/14122025/21/34/image_14122025_21_34_24_9710.jpg', '/home/pi/Desktop/images/14122025/21/34/image_14122025_21_34_35_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/33/image_14122025_21_33_15_9661.jpg
/home/pi/Desktop/images/14122025/21/33/image_14122025_21_33_24_9669.jpg
/home/pi/Desktop/images/14122025/21/33/image_14122025_21_34_05_10693.jpg
/home/pi/Desktop/images/14122025/21/34/image_14122025_21_34_15_9582.jpg
/home/pi/Desktop/images/14122025/21/34/image_14122025_21_34_24_9710.jpg
/home/pi/Desktop/images/14122025/21/34/image_14122025_21_34_35_10698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399394061","1399393916","1399394380","1399393789","1399394215","1399394490"],"photo_ids_order":["1399393789","1399393916","1399394061","1399394215","1399394380","1399394490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7249755e1b8a5e6e778e6ff288e53aff.jpg","text":"TemporaryFile(/tmp/multipartBody8075712099437950215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746603912,"filename":"image_14122025_21_34_05_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/74ee0696c68fca457ecb451887cbfff3.jpg","text":"TemporaryFile(/tmp/multipartBody4621459172197889912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746603912,"filename":"image_14122025_21_33_24_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ea77bc68b6577365d6e3081bf2a51e1.jpg","text":"TemporaryFile(/tmp/multipartBody2682532018864469412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746603912,"filename":"image_14122025_21_34_24_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6bce0eab146bc47f2148e55dc552d766.jpg","text":"TemporaryFile(/tmp/multipartBody1537732937639839648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746603912,"filename":"image_14122025_21_33_15_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/70b016a4a80bdf2534190af9ae945c8a.jpg","text":"TemporaryFile(/tmp/multipartBody2579645975067142911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746603912,"filename":"image_14122025_21_34_15_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d5d8d7c2599104bcabfeb4df0a0b80a1.jpg","text":"TemporaryFile(/tmp/multipartBody8106987933171669707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746603912,"filename":"image_14122025_21_34_35_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399394061","file1":"1399393916","file0":"1399393789","file4":"1399394380","file5":"1399394490","file3":"1399394215"},"map_files_photo_id_array":[{"photo_id":"1399394490","filename":"file5"},{"photo_id":"1399394061","filename":"file2"},{"photo_id":"1399394380","filename":"file4"},{"photo_id":"1399393916","filename":"file1"},{"photo_id":"1399393789","filename":"file0"},{"photo_id":"1399394215","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399394061":["hashtag1","hashtag2"]},{"1399393916":["hashtag1","hashtag2"]},{"1399394380":["hashtag1","hashtag2"]},{"1399393789":["hashtag1","hashtag2"]},{"1399394215":["hashtag1","hashtag2"]},{"1399394490":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399394061, 1399393916, 1399394380, 1399393789, 1399394215, 1399394490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35724639892578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:09:42.494292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_49_2974.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_51_1593.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_53_1749.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_57_4605.jpg', '/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_59_1695.jpg', '/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_03_4025.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_49_2974.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_51_1593.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_53_1749.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_57_4605.jpg
/home/pi/Desktop/images/04112025/15/08/image_04112025_15_08_59_1695.jpg
/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_03_4025.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399395513","1399394987","1399395101","1399394866","1399395354","1399395207"],"photo_ids_order":["1399394866","1399394987","1399395101","1399395207","1399395354","1399395513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/96d902973461e12ab07077d2a35db62e.jpg","text":"TemporaryFile(/tmp/multipartBody1123437042014758219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746643036,"filename":"image_04112025_15_09_03_4025.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f4d7bcc4f47bea0956ba963526639c5.jpg","text":"TemporaryFile(/tmp/multipartBody4605581202160971393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746643036,"filename":"image_04112025_15_08_51_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/043891df98c9a9a28201ef1034ca1752.jpg","text":"TemporaryFile(/tmp/multipartBody3307048656444542318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746643036,"filename":"image_04112025_15_08_53_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/46f1bf20b1975f62721e59aa8fd8e3e2.jpg","text":"TemporaryFile(/tmp/multipartBody7039888718362569058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746643036,"filename":"image_04112025_15_08_49_2974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aed7fc504ceed4db276b622d50e7dbd1.jpg","text":"TemporaryFile(/tmp/multipartBody428237984515429386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746643036,"filename":"image_04112025_15_08_59_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dbe6b8673227927f4d057b88cbaea209.jpg","text":"TemporaryFile(/tmp/multipartBody1432550018206660087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746643036,"filename":"image_04112025_15_08_57_4605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399395101","file1":"1399394987","file0":"1399394866","file4":"1399395354","file5":"1399395513","file3":"1399395207"},"map_files_photo_id_array":[{"photo_id":"1399395513","filename":"file5"},{"photo_id":"1399395101","filename":"file2"},{"photo_id":"1399395354","filename":"file4"},{"photo_id":"1399394987","filename":"file1"},{"photo_id":"1399394866","filename":"file0"},{"photo_id":"1399395207","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399395513":["hashtag1","hashtag2"]},{"1399394987":["hashtag1","hashtag2"]},{"1399395101":["hashtag1","hashtag2"]},{"1399394866":["hashtag1","hashtag2"]},{"1399395354":["hashtag1","hashtag2"]},{"1399395207":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399395513, 1399394987, 1399395101, 1399394866, 1399395354, 1399395207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26802086830139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:10:22.785877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/34/image_14122025_21_34_45_9793.jpg', '/home/pi/Desktop/images/14122025/21/34/image_14122025_21_34_55_9752.jpg', '/home/pi/Desktop/images/14122025/21/34/image_14122025_21_35_04_9775.jpg', '/home/pi/Desktop/images/14122025/21/35/image_14122025_21_35_15_10712.jpg', '/home/pi/Desktop/images/14122025/21/35/image_14122025_21_35_25_9683.jpg', '/home/pi/Desktop/images/14122025/21/35/image_14122025_21_35_34_9542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/34/image_14122025_21_34_45_9793.jpg
/home/pi/Desktop/images/14122025/21/34/image_14122025_21_34_55_9752.jpg
/home/pi/Desktop/images/14122025/21/34/image_14122025_21_35_04_9775.jpg
/home/pi/Desktop/images/14122025/21/35/image_14122025_21_35_15_10712.jpg
/home/pi/Desktop/images/14122025/21/35/image_14122025_21_35_25_9683.jpg
/home/pi/Desktop/images/14122025/21/35/image_14122025_21_35_34_9542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399395980","1399396198","1399396867","1399397094","1399396420","1399396635"],"photo_ids_order":["1399395980","1399396198","1399396420","1399396635","1399396867","1399397094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8ffd9eac4940d8a703ab36ce9fb06f7d.jpg","text":"TemporaryFile(/tmp/multipartBody5594729019912428658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746683412,"filename":"image_14122025_21_34_45_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88ac4acb0d5a88a3a12b22006d30f2cb.jpg","text":"TemporaryFile(/tmp/multipartBody2710719427788528881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746683412,"filename":"image_14122025_21_34_55_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a0c97f56157bb769c7ed55f537772a7.jpg","text":"TemporaryFile(/tmp/multipartBody7488223990371426097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746683412,"filename":"image_14122025_21_35_25_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d84b0bdf367c33ea0996d9d5b625968.jpg","text":"TemporaryFile(/tmp/multipartBody6290291369618560836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746683412,"filename":"image_14122025_21_35_34_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/738c63d3082c5879c24165d22a1a85e6.jpg","text":"TemporaryFile(/tmp/multipartBody188799399634276058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746683412,"filename":"image_14122025_21_35_04_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ea1fbe2df2c4a58b57f896717f92312.jpg","text":"TemporaryFile(/tmp/multipartBody506111517251047018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746683412,"filename":"image_14122025_21_35_15_10712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399396420","file1":"1399396198","file0":"1399395980","file4":"1399396867","file5":"1399397094","file3":"1399396635"},"map_files_photo_id_array":[{"photo_id":"1399397094","filename":"file5"},{"photo_id":"1399396420","filename":"file2"},{"photo_id":"1399396867","filename":"file4"},{"photo_id":"1399396198","filename":"file1"},{"photo_id":"1399395980","filename":"file0"},{"photo_id":"1399396635","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399395980":["hashtag1","hashtag2"]},{"1399396198":["hashtag1","hashtag2"]},{"1399396867":["hashtag1","hashtag2"]},{"1399397094":["hashtag1","hashtag2"]},{"1399396420":["hashtag1","hashtag2"]},{"1399396635":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399395980, 1399396198, 1399396867, 1399397094, 1399396420, 1399396635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.744354248046875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:11:02.772708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/35/image_14122025_21_35_45_10667.jpg', '/home/pi/Desktop/images/14122025/21/35/image_14122025_21_35_54_9547.jpg', '/home/pi/Desktop/images/14122025/21/35/image_14122025_21_36_04_9689.jpg', '/home/pi/Desktop/images/14122025/21/36/image_14122025_21_36_15_10695.jpg', '/home/pi/Desktop/images/14122025/21/36/image_14122025_21_36_24_9643.jpg', '/home/pi/Desktop/images/14122025/21/36/image_14122025_21_36_34_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/35/image_14122025_21_35_45_10667.jpg
/home/pi/Desktop/images/14122025/21/35/image_14122025_21_35_54_9547.jpg
/home/pi/Desktop/images/14122025/21/35/image_14122025_21_36_04_9689.jpg
/home/pi/Desktop/images/14122025/21/36/image_14122025_21_36_15_10695.jpg
/home/pi/Desktop/images/14122025/21/36/image_14122025_21_36_24_9643.jpg
/home/pi/Desktop/images/14122025/21/36/image_14122025_21_36_34_9770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399398517","1399397989","1399398954","1399398252","1399399130","1399398748"],"photo_ids_order":["1399397989","1399398252","1399398517","1399398748","1399398954","1399399130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e07d555395e02fa60306c845db456ef.jpg","text":"TemporaryFile(/tmp/multipartBody8988420565411992969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746723499,"filename":"image_14122025_21_36_04_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5021e6d1ce495dd6da108d6c1a4000b2.jpg","text":"TemporaryFile(/tmp/multipartBody2987356782605604463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746723499,"filename":"image_14122025_21_35_45_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d66336d4f966f7c7b77896cc323e68ba.jpg","text":"TemporaryFile(/tmp/multipartBody4108743841833512857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746723499,"filename":"image_14122025_21_36_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/26375b0f9b5b4d1806f3c4370cf395c2.jpg","text":"TemporaryFile(/tmp/multipartBody7614974805678819502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746723499,"filename":"image_14122025_21_35_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/12/14/fc38269c6b55c6b3df30d3a2975a9f5b.jpg","text":"TemporaryFile(/tmp/multipartBody1335748028665209203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746723499,"filename":"image_14122025_21_36_34_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e9ede280a64449511ef37ee0c89af71b.jpg","text":"TemporaryFile(/tmp/multipartBody2535304713847735273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746723499,"filename":"image_14122025_21_36_15_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399398517","file1":"1399398252","file0":"1399397989","file4":"1399398954","file5":"1399399130","file3":"1399398748"},"map_files_photo_id_array":[{"photo_id":"1399399130","filename":"file5"},{"photo_id":"1399398517","filename":"file2"},{"photo_id":"1399398954","filename":"file4"},{"photo_id":"1399398252","filename":"file1"},{"photo_id":"1399397989","filename":"file0"},{"photo_id":"1399398748","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399398517":["hashtag1","hashtag2"]},{"1399397989":["hashtag1","hashtag2"]},{"1399398954":["hashtag1","hashtag2"]},{"1399398252":["hashtag1","hashtag2"]},{"1399399130":["hashtag1","hashtag2"]},{"1399398748":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399398517, 1399397989, 1399398954, 1399398252, 1399399130, 1399398748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.167224407196045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:11:42.106443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_05_1695.jpg', '/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_06_1723.jpg', '/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_08_1673.jpg', '/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_14_5536.jpg', '/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_16_2825.jpg', '/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_18_1783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_05_1695.jpg
/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_06_1723.jpg
/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_08_1673.jpg
/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_14_5536.jpg
/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_16_2825.jpg
/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_18_1783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399400001","1399400189","1399399962","1399400063","1399399833","1399399675"],"photo_ids_order":["1399399675","1399399833","1399399962","1399400001","1399400063","1399400189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f127e2107f827bb778ce1fdf1f8d315.jpg","text":"TemporaryFile(/tmp/multipartBody4040154408605448449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746762828,"filename":"image_04112025_15_09_14_5536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d965ccec91655a349f39b49dfb4eb304.jpg","text":"TemporaryFile(/tmp/multipartBody97435478238928573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746762828,"filename":"image_04112025_15_09_18_1783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/99a66fcacb290780744ecae79b2a1b3b.jpg","text":"TemporaryFile(/tmp/multipartBody4684984082897550236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746762828,"filename":"image_04112025_15_09_08_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bec1190d307000d99819237fbd36d025.jpg","text":"TemporaryFile(/tmp/multipartBody539192039769932825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746762828,"filename":"image_04112025_15_09_16_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2235764ad078b0c90062ce62952a5dae.jpg","text":"TemporaryFile(/tmp/multipartBody6231367886669158407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746762828,"filename":"image_04112025_15_09_06_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3718985d7fb9c376745f1a710bce72fd.jpg","text":"TemporaryFile(/tmp/multipartBody8565124399066116662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746762828,"filename":"image_04112025_15_09_05_1695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399399962","file1":"1399399833","file0":"1399399675","file4":"1399400063","file5":"1399400189","file3":"1399400001"},"map_files_photo_id_array":[{"photo_id":"1399400189","filename":"file5"},{"photo_id":"1399399962","filename":"file2"},{"photo_id":"1399400063","filename":"file4"},{"photo_id":"1399399833","filename":"file1"},{"photo_id":"1399399675","filename":"file0"},{"photo_id":"1399400001","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399400001":["hashtag1","hashtag2"]},{"1399400189":["hashtag1","hashtag2"]},{"1399399962":["hashtag1","hashtag2"]},{"1399400063":["hashtag1","hashtag2"]},{"1399399833":["hashtag1","hashtag2"]},{"1399399675":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399400001, 1399400189, 1399399962, 1399400063, 1399399833, 1399399675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.465702533721924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:12:22.348936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/36/image_14122025_21_36_45_10695.jpg', '/home/pi/Desktop/images/14122025/21/36/image_14122025_21_36_55_9694.jpg', '/home/pi/Desktop/images/14122025/21/36/image_14122025_21_37_04_9655.jpg', '/home/pi/Desktop/images/14122025/21/37/image_14122025_21_37_15_10682.jpg', '/home/pi/Desktop/images/14122025/21/37/image_14122025_21_37_25_9693.jpg', '/home/pi/Desktop/images/14122025/21/37/image_14122025_21_37_35_9999.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/36/image_14122025_21_36_45_10695.jpg
/home/pi/Desktop/images/14122025/21/36/image_14122025_21_36_55_9694.jpg
/home/pi/Desktop/images/14122025/21/36/image_14122025_21_37_04_9655.jpg
/home/pi/Desktop/images/14122025/21/37/image_14122025_21_37_15_10682.jpg
/home/pi/Desktop/images/14122025/21/37/image_14122025_21_37_25_9693.jpg
/home/pi/Desktop/images/14122025/21/37/image_14122025_21_37_35_9999.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5527529716491699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 22:12:32.381322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:12:42.352492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_21_3150.jpg', '/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_23_1766.jpg', '/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_25_1920.jpg', '/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_35_10077.jpg', '/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_37_1646.jpg', '/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_46_9293.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_21_3150.jpg
/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_23_1766.jpg
/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_25_1920.jpg
/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_35_10077.jpg
/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_37_1646.jpg
/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_46_9293.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399401825","1399402019","1399401900","1399401746","1399401596","1399401440"],"photo_ids_order":["1399401440","1399401596","1399401746","1399401825","1399401900","1399402019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ea25dce47f474bdd8e329fae7d9d8820.jpg","text":"TemporaryFile(/tmp/multipartBody1086354519117742708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746823065,"filename":"image_04112025_15_09_35_10077.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e4cf7631ba0274acd9b4eab8211ffea8.jpg","text":"TemporaryFile(/tmp/multipartBody1147236288158069969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746823065,"filename":"image_04112025_15_09_46_9293.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ab69df19af081912956cf482c895ae4.jpg","text":"TemporaryFile(/tmp/multipartBody7458153387433755264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746823065,"filename":"image_04112025_15_09_37_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e8cd311b89dc6b72609957250d17b40.jpg","text":"TemporaryFile(/tmp/multipartBody7985886278495226525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746823065,"filename":"image_04112025_15_09_25_1920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/78005e5f8e3da18f0a787dfd6b870a70.jpg","text":"TemporaryFile(/tmp/multipartBody2431240033477538911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746823065,"filename":"image_04112025_15_09_23_1766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a20f1c8aa38283cafcf53e62a18eebfe.jpg","text":"TemporaryFile(/tmp/multipartBody7132115129013940483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746823065,"filename":"image_04112025_15_09_21_3150.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399401746","file1":"1399401596","file0":"1399401440","file4":"1399401900","file5":"1399402019","file3":"1399401825"},"map_files_photo_id_array":[{"photo_id":"1399402019","filename":"file5"},{"photo_id":"1399401746","filename":"file2"},{"photo_id":"1399401900","filename":"file4"},{"photo_id":"1399401596","filename":"file1"},{"photo_id":"1399401440","filename":"file0"},{"photo_id":"1399401825","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399401825":["hashtag1","hashtag2"]},{"1399402019":["hashtag1","hashtag2"]},{"1399401900":["hashtag1","hashtag2"]},{"1399401746":["hashtag1","hashtag2"]},{"1399401596":["hashtag1","hashtag2"]},{"1399401440":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399401825, 1399402019, 1399401900, 1399401746, 1399401596, 1399401440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.624183654785156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:13:22.636162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/36/image_14122025_21_36_45_10695.jpg', '/home/pi/Desktop/images/14122025/21/36/image_14122025_21_36_55_9694.jpg', '/home/pi/Desktop/images/14122025/21/36/image_14122025_21_37_04_9655.jpg', '/home/pi/Desktop/images/14122025/21/37/image_14122025_21_37_15_10682.jpg', '/home/pi/Desktop/images/14122025/21/37/image_14122025_21_37_25_9693.jpg', '/home/pi/Desktop/images/14122025/21/37/image_14122025_21_37_35_9999.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/36/image_14122025_21_36_45_10695.jpg
/home/pi/Desktop/images/14122025/21/36/image_14122025_21_36_55_9694.jpg
/home/pi/Desktop/images/14122025/21/36/image_14122025_21_37_04_9655.jpg
/home/pi/Desktop/images/14122025/21/37/image_14122025_21_37_15_10682.jpg
/home/pi/Desktop/images/14122025/21/37/image_14122025_21_37_25_9693.jpg
/home/pi/Desktop/images/14122025/21/37/image_14122025_21_37_35_9999.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399402555","1399402473","1399402851","1399402746","1399402638","1399402370"],"photo_ids_order":["1399402370","1399402473","1399402555","1399402638","1399402746","1399402851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d09465ff40046a6caf1ebb7139100cea.jpg","text":"TemporaryFile(/tmp/multipartBody7796108874539578530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746863298,"filename":"image_14122025_21_37_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b87662c313c0c3d0beb68232530cf9d5.jpg","text":"TemporaryFile(/tmp/multipartBody4639771236370629981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746863298,"filename":"image_14122025_21_36_55_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/320c85816ca41e2434e22caf46de7fe9.jpg","text":"TemporaryFile(/tmp/multipartBody5343583542909350520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746863298,"filename":"image_14122025_21_37_35_9999.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a0aaf651abdd694c4f74b7874b4be808.jpg","text":"TemporaryFile(/tmp/multipartBody8809742474356985083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746863298,"filename":"image_14122025_21_37_25_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3c61d4e3caaae3b0921f26788f1088c.jpg","text":"TemporaryFile(/tmp/multipartBody1444693477576048694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746863298,"filename":"image_14122025_21_37_15_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/32575da2b143f35a094046036dcd71e1.jpg","text":"TemporaryFile(/tmp/multipartBody2058018808241144844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746863298,"filename":"image_14122025_21_36_45_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399402555","file1":"1399402473","file0":"1399402370","file4":"1399402746","file5":"1399402851","file3":"1399402638"},"map_files_photo_id_array":[{"photo_id":"1399402851","filename":"file5"},{"photo_id":"1399402555","filename":"file2"},{"photo_id":"1399402746","filename":"file4"},{"photo_id":"1399402473","filename":"file1"},{"photo_id":"1399402370","filename":"file0"},{"photo_id":"1399402638","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399402555":["hashtag1","hashtag2"]},{"1399402473":["hashtag1","hashtag2"]},{"1399402851":["hashtag1","hashtag2"]},{"1399402746":["hashtag1","hashtag2"]},{"1399402638":["hashtag1","hashtag2"]},{"1399402370":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399402555, 1399402473, 1399402851, 1399402746, 1399402638, 1399402370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.544862508773804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:14:02.662652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/37/image_14122025_21_37_44_9745.jpg', '/home/pi/Desktop/images/14122025/21/37/image_14122025_21_37_54_9712.jpg', '/home/pi/Desktop/images/14122025/21/37/image_14122025_21_38_05_10676.jpg', '/home/pi/Desktop/images/14122025/21/38/image_14122025_21_38_14_9681.jpg', '/home/pi/Desktop/images/14122025/21/38/image_14122025_21_38_35_10676.jpg', '/home/pi/Desktop/images/14122025/21/38/image_14122025_21_38_45_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/37/image_14122025_21_37_44_9745.jpg
/home/pi/Desktop/images/14122025/21/37/image_14122025_21_37_54_9712.jpg
/home/pi/Desktop/images/14122025/21/37/image_14122025_21_38_05_10676.jpg
/home/pi/Desktop/images/14122025/21/38/image_14122025_21_38_14_9681.jpg
/home/pi/Desktop/images/14122025/21/38/image_14122025_21_38_35_10676.jpg
/home/pi/Desktop/images/14122025/21/38/image_14122025_21_38_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":["1399403574","1399403133","1399403214","1399403459","1399403273","1399403362"],"photo_ids_order":["1399403133","1399403214","1399403273","1399403362","1399403459","1399403574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d50b28461f78d67462457a627c9c1ce.jpg","text":"TemporaryFile(/tmp/multipartBody552510769082128637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746903302,"filename":"image_14122025_21_38_45_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/857bab8200ba7a62e71ebcc2480c52de.jpg","text":"TemporaryFile(/tmp/multipartBody4364578543061319524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746903302,"filename":"image_14122025_21_37_44_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c74aeec7eb67081fe5e6d0533aa5ec0e.jpg","text":"TemporaryFile(/tmp/multipartBody3354576821127803574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746903302,"filename":"image_14122025_21_37_54_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c341b04378a779b81d290d917df3995.jpg","text":"TemporaryFile(/tmp/multipartBody5610804778278673592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746903302,"filename":"image_14122025_21_38_35_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7519be5d731d62fa02990bf95356964.jpg","text":"TemporaryFile(/tmp/multipartBody2726917588842409383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746903302,"filename":"image_14122025_21_38_05_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1fde825dc935f6d3807242175c938e0.jpg","text":"TemporaryFile(/tmp/multipartBody3402892975279840908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746903302,"filename":"image_14122025_21_38_14_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399403273","file1":"1399403214","file0":"1399403133","file4":"1399403459","file5":"1399403574","file3":"1399403362"},"map_files_photo_id_array":[{"photo_id":"1399403574","filename":"file5"},{"photo_id":"1399403273","filename":"file2"},{"photo_id":"1399403459","filename":"file4"},{"photo_id":"1399403214","filename":"file1"},{"photo_id":"1399403133","filename":"file0"},{"photo_id":"1399403362","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399403574":["hashtag1","hashtag2"]},{"1399403133":["hashtag1","hashtag2"]},{"1399403214":["hashtag1","hashtag2"]},{"1399403459":["hashtag1","hashtag2"]},{"1399403273":["hashtag1","hashtag2"]},{"1399403362":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399403574, 1399403133, 1399403214, 1399403459, 1399403273, 1399403362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.807088136672974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:14:42.035409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_48_1593.jpg', '/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_52_4262.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_01_8620.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_04_3164.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_06_1893.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_07_1590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_48_1593.jpg
/home/pi/Desktop/images/04112025/15/09/image_04112025_15_09_52_4262.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_01_8620.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_04_3164.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_06_1893.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_07_1590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399404534","1399404336","1399404128","1399405246","1399404691","1399405062"],"photo_ids_order":["1399404128","1399404336","1399404534","1399404691","1399405062","1399405246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e049a45c7488f937be6ca3ee6896ca4.jpg","text":"TemporaryFile(/tmp/multipartBody7192541285105020325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746942703,"filename":"image_04112025_15_10_01_8620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f8857f18a70c8c2cdfee65a4b5c16ba.jpg","text":"TemporaryFile(/tmp/multipartBody2584432345320516203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746942703,"filename":"image_04112025_15_09_52_4262.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/599f93f60c86d8524a7ccb061861bda4.jpg","text":"TemporaryFile(/tmp/multipartBody8474901674847979209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746942703,"filename":"image_04112025_15_09_48_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ee431c56de89c961a19c92211f9f3dd.jpg","text":"TemporaryFile(/tmp/multipartBody7465060683423603667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746942703,"filename":"image_04112025_15_10_07_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5434e52238cda6433c084477d27f13ed.jpg","text":"TemporaryFile(/tmp/multipartBody2609511222754762455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746942703,"filename":"image_04112025_15_10_04_3164.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d74382a728a090e1e5dae9d6f46bd377.jpg","text":"TemporaryFile(/tmp/multipartBody5230611934885689724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765746942703,"filename":"image_04112025_15_10_06_1893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399404534","file1":"1399404336","file0":"1399404128","file4":"1399405062","file5":"1399405246","file3":"1399404691"},"map_files_photo_id_array":[{"photo_id":"1399405246","filename":"file5"},{"photo_id":"1399404534","filename":"file2"},{"photo_id":"1399405062","filename":"file4"},{"photo_id":"1399404336","filename":"file1"},{"photo_id":"1399404128","filename":"file0"},{"photo_id":"1399404691","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399404534":["hashtag1","hashtag2"]},{"1399404336":["hashtag1","hashtag2"]},{"1399404128":["hashtag1","hashtag2"]},{"1399405246":["hashtag1","hashtag2"]},{"1399404691":["hashtag1","hashtag2"]},{"1399405062":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399404534, 1399404336, 1399404128, 1399405246, 1399404691, 1399405062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.80197334289551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 22:15:32.403139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:15:42.287865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_09_1682.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_11_2446.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_23_11627.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_38_14557.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_39_1590.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_41_1631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_09_1682.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_11_2446.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_23_11627.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_38_14557.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_39_1590.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_41_1631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399406930","1399406528","1399406298","1399407173","1399406409","1399406715"],"photo_ids_order":["1399406298","1399406409","1399406528","1399406715","1399406930","1399407173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/33bf3904ef0b8f51a1624e3fcba786b7.jpg","text":"TemporaryFile(/tmp/multipartBody5839816172888501866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747002957,"filename":"image_04112025_15_10_39_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/485976108e1ae3f367637458f286db20.jpg","text":"TemporaryFile(/tmp/multipartBody4702198251298376340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747002957,"filename":"image_04112025_15_10_23_11627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/20758c0fb198e14a9e2984bb07fdeaa4.jpg","text":"TemporaryFile(/tmp/multipartBody1106135902617159526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747002957,"filename":"image_04112025_15_10_09_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cfc71d70a4ddfdf3338e2ae50659aa31.jpg","text":"TemporaryFile(/tmp/multipartBody7840161868841639764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747002957,"filename":"image_04112025_15_10_41_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/223c11d023f35e354b62c0b20e96a0ef.jpg","text":"TemporaryFile(/tmp/multipartBody4782112517309228714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747002957,"filename":"image_04112025_15_10_11_2446.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3661ad062def05cc8339be5d4cede492.jpg","text":"TemporaryFile(/tmp/multipartBody8621773598713006795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747002957,"filename":"image_04112025_15_10_38_14557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399406528","file1":"1399406409","file0":"1399406298","file4":"1399406930","file5":"1399407173","file3":"1399406715"},"map_files_photo_id_array":[{"photo_id":"1399407173","filename":"file5"},{"photo_id":"1399406528","filename":"file2"},{"photo_id":"1399406930","filename":"file4"},{"photo_id":"1399406409","filename":"file1"},{"photo_id":"1399406298","filename":"file0"},{"photo_id":"1399406715","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399406930":["hashtag1","hashtag2"]},{"1399406528":["hashtag1","hashtag2"]},{"1399406298":["hashtag1","hashtag2"]},{"1399407173":["hashtag1","hashtag2"]},{"1399406409":["hashtag1","hashtag2"]},{"1399406715":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399406930, 1399406528, 1399406298, 1399407173, 1399406409, 1399406715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.771650552749634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:16:22.612917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/38/image_14122025_21_39_04_9724.jpg', '/home/pi/Desktop/images/14122025/21/39/image_14122025_21_39_15_10703.jpg', '/home/pi/Desktop/images/14122025/21/39/image_14122025_21_39_25_9817.jpg', '/home/pi/Desktop/images/14122025/21/39/image_14122025_21_39_34_9664.jpg', '/home/pi/Desktop/images/14122025/21/39/image_14122025_21_39_44_9800.jpg', '/home/pi/Desktop/images/14122025/21/39/image_14122025_21_39_55_10790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/38/image_14122025_21_39_04_9724.jpg
/home/pi/Desktop/images/14122025/21/39/image_14122025_21_39_15_10703.jpg
/home/pi/Desktop/images/14122025/21/39/image_14122025_21_39_25_9817.jpg
/home/pi/Desktop/images/14122025/21/39/image_14122025_21_39_34_9664.jpg
/home/pi/Desktop/images/14122025/21/39/image_14122025_21_39_44_9800.jpg
/home/pi/Desktop/images/14122025/21/39/image_14122025_21_39_55_10790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399408114","1399408336","1399408006","1399407811","1399408298","1399408217"],"photo_ids_order":["1399407811","1399408006","1399408114","1399408217","1399408298","1399408336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7e26acacf47440fc99004ab0e5b6df47.jpg","text":"TemporaryFile(/tmp/multipartBody8751140897893256273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747043231,"filename":"image_14122025_21_39_25_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b9a06807ef3e8b974c106bbfb5ad665.jpg","text":"TemporaryFile(/tmp/multipartBody5901047972315060965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747043231,"filename":"image_14122025_21_39_55_10790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da92d50c3f8f16565a5d78339c885897.jpg","text":"TemporaryFile(/tmp/multipartBody3837292997616175219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747043231,"filename":"image_14122025_21_39_15_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4366b2429b1eabf59bf97c7b8a18f293.jpg","text":"TemporaryFile(/tmp/multipartBody6830220902306913386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747043231,"filename":"image_14122025_21_39_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/12/14/7fb49e6f296890c527c3674c4daf3462.jpg","text":"TemporaryFile(/tmp/multipartBody7576186186506294915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747043231,"filename":"image_14122025_21_39_44_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7894fc1061649778b03204c0aca30ccb.jpg","text":"TemporaryFile(/tmp/multipartBody6598113288667452151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747043231,"filename":"image_14122025_21_39_34_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399408114","file1":"1399408006","file0":"1399407811","file4":"1399408298","file5":"1399408336","file3":"1399408217"},"map_files_photo_id_array":[{"photo_id":"1399408336","filename":"file5"},{"photo_id":"1399408114","filename":"file2"},{"photo_id":"1399408298","filename":"file4"},{"photo_id":"1399408006","filename":"file1"},{"photo_id":"1399407811","filename":"file0"},{"photo_id":"1399408217","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399408114":["hashtag1","hashtag2"]},{"1399408336":["hashtag1","hashtag2"]},{"1399408006":["hashtag1","hashtag2"]},{"1399407811":["hashtag1","hashtag2"]},{"1399408298":["hashtag1","hashtag2"]},{"1399408217":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399408114, 1399408336, 1399408006, 1399407811, 1399408298, 1399408217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35878658294678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:17:03.228369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/39/image_14122025_21_40_05_9619.jpg', '/home/pi/Desktop/images/14122025/21/40/image_14122025_21_40_14_9779.jpg', '/home/pi/Desktop/images/14122025/21/40/image_14122025_21_40_35_9571.jpg', '/home/pi/Desktop/images/14122025/21/40/image_14122025_21_40_44_9727.jpg', '/home/pi/Desktop/images/14122025/21/40/image_14122025_21_40_55_10655.jpg', '/home/pi/Desktop/images/14122025/21/40/image_14122025_21_41_05_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/39/image_14122025_21_40_05_9619.jpg
/home/pi/Desktop/images/14122025/21/40/image_14122025_21_40_14_9779.jpg
/home/pi/Desktop/images/14122025/21/40/image_14122025_21_40_35_9571.jpg
/home/pi/Desktop/images/14122025/21/40/image_14122025_21_40_44_9727.jpg
/home/pi/Desktop/images/14122025/21/40/image_14122025_21_40_55_10655.jpg
/home/pi/Desktop/images/14122025/21/40/image_14122025_21_41_05_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":["1399409088","1399408773","1399408701","1399408818","1399408598","1399408943"],"photo_ids_order":["1399408598","1399408701","1399408773","1399408818","1399408943","1399409088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3d94c99c780b91ca403ea7aff83ebf35.jpg","text":"TemporaryFile(/tmp/multipartBody3893457913742359781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747084153,"filename":"image_14122025_21_41_05_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f84502a06612e74e20cb5734ee6f2354.jpg","text":"TemporaryFile(/tmp/multipartBody6546393713951930449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747084153,"filename":"image_14122025_21_40_35_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36e63faf28f4c5d10deb66ba427417df.jpg","text":"TemporaryFile(/tmp/multipartBody5676056217981588373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747084153,"filename":"image_14122025_21_40_14_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/77ead4c489cf23da99a310d5b5e28f83.jpg","text":"TemporaryFile(/tmp/multipartBody7700857021856297589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747084153,"filename":"image_14122025_21_40_44_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/71f4f0cbd9dbc998dceb6a3d62a1426f.jpg","text":"TemporaryFile(/tmp/multipartBody3029518783068402931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747084153,"filename":"image_14122025_21_40_05_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b96437670eab7cada1bd6f15336a219d.jpg","text":"TemporaryFile(/tmp/multipartBody4900975207806742893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747084153,"filename":"image_14122025_21_40_55_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399408773","file1":"1399408701","file0":"1399408598","file4":"1399408943","file5":"1399409088","file3":"1399408818"},"map_files_photo_id_array":[{"photo_id":"1399409088","filename":"file5"},{"photo_id":"1399408773","filename":"file2"},{"photo_id":"1399408943","filename":"file4"},{"photo_id":"1399408701","filename":"file1"},{"photo_id":"1399408598","filename":"file0"},{"photo_id":"1399408818","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399409088":["hashtag1","hashtag2"]},{"1399408773":["hashtag1","hashtag2"]},{"1399408701":["hashtag1","hashtag2"]},{"1399408818":["hashtag1","hashtag2"]},{"1399408598":["hashtag1","hashtag2"]},{"1399408943":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399409088, 1399408773, 1399408701, 1399408818, 1399408598, 1399408943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23947095870972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:17:42.783665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_42_1548.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_44_1608.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_48_4382.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_50_1605.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_52_1690.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_53_1529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_42_1548.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_44_1608.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_48_4382.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_50_1605.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_52_1690.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_53_1529.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5452871322631836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:18:02.474546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/41/image_14122025_21_41_14_9685.jpg', '/home/pi/Desktop/images/14122025/21/41/image_14122025_21_41_35_9733.jpg', '/home/pi/Desktop/images/14122025/21/41/image_14122025_21_41_44_9757.jpg', '/home/pi/Desktop/images/14122025/21/41/image_14122025_21_41_54_9668.jpg', '/home/pi/Desktop/images/14122025/21/41/image_14122025_21_42_05_10650.jpg', '/home/pi/Desktop/images/14122025/21/42/image_14122025_21_42_15_9881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/41/image_14122025_21_41_14_9685.jpg
/home/pi/Desktop/images/14122025/21/41/image_14122025_21_41_35_9733.jpg
/home/pi/Desktop/images/14122025/21/41/image_14122025_21_41_44_9757.jpg
/home/pi/Desktop/images/14122025/21/41/image_14122025_21_41_54_9668.jpg
/home/pi/Desktop/images/14122025/21/41/image_14122025_21_42_05_10650.jpg
/home/pi/Desktop/images/14122025/21/42/image_14122025_21_42_15_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":["1399409926","1399410022","1399410052","1399409831","1399409998","1399409770"],"photo_ids_order":["1399409770","1399409831","1399409926","1399409998","1399410022","1399410052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3217bc18656b466b742bd13336327e53.jpg","text":"TemporaryFile(/tmp/multipartBody2245825095705240013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747143152,"filename":"image_14122025_21_41_44_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0980505e341cce84f6b5debcfab16446.jpg","text":"TemporaryFile(/tmp/multipartBody4181951833170375021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747143152,"filename":"image_14122025_21_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/12/14/074b55899571a2007ae7914373d99eb8.jpg","text":"TemporaryFile(/tmp/multipartBody6635053841538963580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747143152,"filename":"image_14122025_21_42_15_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4269d311b8429b468e45e48a72f6bb38.jpg","text":"TemporaryFile(/tmp/multipartBody8424394159993076650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747143152,"filename":"image_14122025_21_41_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/12/14/c3af7120d6cc02cb76cc1f74ab696d28.jpg","text":"TemporaryFile(/tmp/multipartBody5377885073579219247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747143152,"filename":"image_14122025_21_41_54_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94fde1ef2aad59c95cd9dce089cdbdeb.jpg","text":"TemporaryFile(/tmp/multipartBody1662176741985828977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747143152,"filename":"image_14122025_21_41_14_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399409926","file1":"1399409831","file0":"1399409770","file4":"1399410022","file5":"1399410052","file3":"1399409998"},"map_files_photo_id_array":[{"photo_id":"1399410052","filename":"file5"},{"photo_id":"1399409926","filename":"file2"},{"photo_id":"1399410022","filename":"file4"},{"photo_id":"1399409831","filename":"file1"},{"photo_id":"1399409770","filename":"file0"},{"photo_id":"1399409998","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399409926":["hashtag1","hashtag2"]},{"1399410022":["hashtag1","hashtag2"]},{"1399410052":["hashtag1","hashtag2"]},{"1399409831":["hashtag1","hashtag2"]},{"1399409998":["hashtag1","hashtag2"]},{"1399409770":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399409926, 1399410022, 1399410052, 1399409831, 1399409998, 1399409770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40349626541138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:18:42.062982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_42_1548.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_44_1608.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_48_4382.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_50_1605.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_52_1690.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_53_1529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_42_1548.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_44_1608.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_48_4382.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_50_1605.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_52_1690.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_53_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":["1399410124","1399410127","1399410123","1399410126","1399410125","1399410122"],"photo_ids_order":["1399410122","1399410123","1399410124","1399410125","1399410126","1399410127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b74c12ae377ebbe861ec968033399c76.jpg","text":"TemporaryFile(/tmp/multipartBody8585181792148292896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747182618,"filename":"image_04112025_15_10_48_4382.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/02bc94363ec5bab9c3bbc9141ff3af0f.jpg","text":"TemporaryFile(/tmp/multipartBody2459220982905422024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747182618,"filename":"image_04112025_15_10_53_1529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e6ce136565d6ad23e3a3c393d35dd0fd.jpg","text":"TemporaryFile(/tmp/multipartBody5927117114886566609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747182618,"filename":"image_04112025_15_10_44_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c668106bdd8d211b789a4c68674ae0cb.jpg","text":"TemporaryFile(/tmp/multipartBody3269627849028887634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747182618,"filename":"image_04112025_15_10_52_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2325b0fcc7d39aef9483168569b9b5e8.jpg","text":"TemporaryFile(/tmp/multipartBody5545051665937357251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747182618,"filename":"image_04112025_15_10_50_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5dc4ac4416087231525273746acbb758.jpg","text":"TemporaryFile(/tmp/multipartBody1481380587682228705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747182618,"filename":"image_04112025_15_10_42_1548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399410124","file1":"1399410123","file0":"1399410122","file4":"1399410126","file5":"1399410127","file3":"1399410125"},"map_files_photo_id_array":[{"photo_id":"1399410127","filename":"file5"},{"photo_id":"1399410124","filename":"file2"},{"photo_id":"1399410126","filename":"file4"},{"photo_id":"1399410123","filename":"file1"},{"photo_id":"1399410122","filename":"file0"},{"photo_id":"1399410125","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399410124":["hashtag1","hashtag2"]},{"1399410127":["hashtag1","hashtag2"]},{"1399410123":["hashtag1","hashtag2"]},{"1399410126":["hashtag1","hashtag2"]},{"1399410125":["hashtag1","hashtag2"]},{"1399410122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399410124, 1399410127, 1399410123, 1399410126, 1399410125, 1399410122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.406140089035034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:19:22.369151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/42/image_14122025_21_42_24_9698.jpg', '/home/pi/Desktop/images/14122025/21/42/image_14122025_21_42_35_10733.jpg', '/home/pi/Desktop/images/14122025/21/42/image_14122025_21_42_45_9602.jpg', '/home/pi/Desktop/images/14122025/21/42/image_14122025_21_42_54_9633.jpg', '/home/pi/Desktop/images/14122025/21/42/image_14122025_21_43_05_10673.jpg', '/home/pi/Desktop/images/14122025/21/43/image_14122025_21_43_15_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/42/image_14122025_21_42_24_9698.jpg
/home/pi/Desktop/images/14122025/21/42/image_14122025_21_42_35_10733.jpg
/home/pi/Desktop/images/14122025/21/42/image_14122025_21_42_45_9602.jpg
/home/pi/Desktop/images/14122025/21/42/image_14122025_21_42_54_9633.jpg
/home/pi/Desktop/images/14122025/21/42/image_14122025_21_43_05_10673.jpg
/home/pi/Desktop/images/14122025/21/43/image_14122025_21_43_15_9819.jpg
 val : 1 : upload photos 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":["1399411181","1399411526","1399410878","1399410452","1399410128","1399410329"],"photo_ids_order":["1399410128","1399410329","1399410452","1399410878","1399411181","1399411526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2de8bb1c067383fde8ad69319307e795.jpg","text":"TemporaryFile(/tmp/multipartBody1426649969617791001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747222993,"filename":"image_14122025_21_43_05_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/04fb277ef7f273e3493805e9a73558a0.jpg","text":"TemporaryFile(/tmp/multipartBody8899893401877477984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747222993,"filename":"image_14122025_21_43_15_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1181bb912bf61fc7b2c5f45d343664b1.jpg","text":"TemporaryFile(/tmp/multipartBody8825633675149917087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747222993,"filename":"image_14122025_21_42_54_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3917c240a00020854739d9a0f7ce0bc8.jpg","text":"TemporaryFile(/tmp/multipartBody5128788894252451083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747222993,"filename":"image_14122025_21_42_45_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3baca86f0ad06a078d5ce242d77d884b.jpg","text":"TemporaryFile(/tmp/multipartBody3383842362080266830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747222993,"filename":"image_14122025_21_42_24_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2fd88dc67c5af8eeb82921488cd32968.jpg","text":"TemporaryFile(/tmp/multipartBody3826935775119336474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747222993,"filename":"image_14122025_21_42_35_10733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399410452","file1":"1399410329","file0":"1399410128","file4":"1399411181","file5":"1399411526","file3":"1399410878"},"map_files_photo_id_array":[{"photo_id":"1399411526","filename":"file5"},{"photo_id":"1399410452","filename":"file2"},{"photo_id":"1399411181","filename":"file4"},{"photo_id":"1399410329","filename":"file1"},{"photo_id":"1399410128","filename":"file0"},{"photo_id":"1399410878","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399411181":["hashtag1","hashtag2"]},{"1399411526":["hashtag1","hashtag2"]},{"1399410878":["hashtag1","hashtag2"]},{"1399410452":["hashtag1","hashtag2"]},{"1399410128":["hashtag1","hashtag2"]},{"1399410329":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399411181, 1399411526, 1399410878, 1399410452, 1399410128, 1399410329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.64164972305298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 22:20:32.549154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:20:42.637473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_55_1607.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_56_1600.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_58_1629.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_11_00_1785.jpg', '/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_02_1850.jpg', '/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_03_1607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_55_1607.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_56_1600.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_58_1629.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_11_00_1785.jpg
/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_02_1850.jpg
/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_03_1607.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5543124675750732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:21:02.419887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/43/image_14122025_21_43_25_9687.jpg', '/home/pi/Desktop/images/14122025/21/43/image_14122025_21_43_35_10608.jpg', '/home/pi/Desktop/images/14122025/21/43/image_14122025_21_43_45_9754.jpg', '/home/pi/Desktop/images/14122025/21/43/image_14122025_21_43_55_9652.jpg', '/home/pi/Desktop/images/14122025/21/43/image_14122025_21_44_04_9650.jpg', '/home/pi/Desktop/images/14122025/21/44/image_14122025_21_44_15_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/43/image_14122025_21_43_25_9687.jpg
/home/pi/Desktop/images/14122025/21/43/image_14122025_21_43_35_10608.jpg
/home/pi/Desktop/images/14122025/21/43/image_14122025_21_43_45_9754.jpg
/home/pi/Desktop/images/14122025/21/43/image_14122025_21_43_55_9652.jpg
/home/pi/Desktop/images/14122025/21/43/image_14122025_21_44_04_9650.jpg
/home/pi/Desktop/images/14122025/21/44/image_14122025_21_44_15_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399412217","1399412075","1399411970","1399412420","1399412467","1399412382"],"photo_ids_order":["1399411970","1399412075","1399412217","1399412382","1399412420","1399412467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b2ab1b9da3d0928d62b960748213891.jpg","text":"TemporaryFile(/tmp/multipartBody5703414583797325752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747323075,"filename":"image_14122025_21_43_45_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6346a79081cbad15f5a85a1b94d964c0.jpg","text":"TemporaryFile(/tmp/multipartBody8221027725820490771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747323075,"filename":"image_14122025_21_43_35_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3804c1d79e697d18d41f3e81bd86773b.jpg","text":"TemporaryFile(/tmp/multipartBody1993265557252376806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747323075,"filename":"image_14122025_21_43_25_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54400e36f48a29f40a41893ae2268dea.jpg","text":"TemporaryFile(/tmp/multipartBody7386322323362749887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747323075,"filename":"image_14122025_21_44_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b9c0d6d489d4fe6feef24c79ac1d57e1.jpg","text":"TemporaryFile(/tmp/multipartBody8751741108884951019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747323075,"filename":"image_14122025_21_44_15_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad10b9104bb2f319a294ee90228ca4a7.jpg","text":"TemporaryFile(/tmp/multipartBody8227882156845417609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747323075,"filename":"image_14122025_21_43_55_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399412217","file1":"1399412075","file0":"1399411970","file4":"1399412420","file5":"1399412467","file3":"1399412382"},"map_files_photo_id_array":[{"photo_id":"1399412467","filename":"file5"},{"photo_id":"1399412217","filename":"file2"},{"photo_id":"1399412420","filename":"file4"},{"photo_id":"1399412075","filename":"file1"},{"photo_id":"1399411970","filename":"file0"},{"photo_id":"1399412382","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399412217":["hashtag1","hashtag2"]},{"1399412075":["hashtag1","hashtag2"]},{"1399411970":["hashtag1","hashtag2"]},{"1399412420":["hashtag1","hashtag2"]},{"1399412467":["hashtag1","hashtag2"]},{"1399412382":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399412217, 1399412075, 1399411970, 1399412420, 1399412467, 1399412382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.66946053504944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:22:02.611364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/44/image_14122025_21_44_24_9655.jpg', '/home/pi/Desktop/images/14122025/21/44/image_14122025_21_44_34_9687.jpg', '/home/pi/Desktop/images/14122025/21/44/image_14122025_21_44_45_10788.jpg', '/home/pi/Desktop/images/14122025/21/44/image_14122025_21_44_55_9665.jpg', '/home/pi/Desktop/images/14122025/21/45/image_14122025_21_45_15_10641.jpg', '/home/pi/Desktop/images/14122025/21/45/image_14122025_21_45_34_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/44/image_14122025_21_44_24_9655.jpg
/home/pi/Desktop/images/14122025/21/44/image_14122025_21_44_34_9687.jpg
/home/pi/Desktop/images/14122025/21/44/image_14122025_21_44_45_10788.jpg
/home/pi/Desktop/images/14122025/21/44/image_14122025_21_44_55_9665.jpg
/home/pi/Desktop/images/14122025/21/45/image_14122025_21_45_15_10641.jpg
/home/pi/Desktop/images/14122025/21/45/image_14122025_21_45_34_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399412676","1399412664","1399412675","1399412648","1399412674","1399412673"],"photo_ids_order":["1399412648","1399412664","1399412673","1399412674","1399412675","1399412676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0859570f78105b313a1b04414996f3f3.jpg","text":"TemporaryFile(/tmp/multipartBody5284806439657760858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747383229,"filename":"image_14122025_21_45_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/15a212c2d193becf7c6234689571897f.jpg","text":"TemporaryFile(/tmp/multipartBody2244768053492071432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747383229,"filename":"image_14122025_21_44_34_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/53d3ed352c055a0d894ff04104322609.jpg","text":"TemporaryFile(/tmp/multipartBody1772007923224007222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747383229,"filename":"image_14122025_21_45_15_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e826431d9705e22c45ee58a013ea0899.jpg","text":"TemporaryFile(/tmp/multipartBody8495673659334042504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747383229,"filename":"image_14122025_21_44_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1fee9894e6d29fd12a7a8c2cba31bba3.jpg","text":"TemporaryFile(/tmp/multipartBody369451592028994917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747383229,"filename":"image_14122025_21_44_55_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4fa1aca41e5a19c29f6ef7dfd145ad20.jpg","text":"TemporaryFile(/tmp/multipartBody1617532725867375431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747383229,"filename":"image_14122025_21_44_45_10788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399412673","file1":"1399412664","file0":"1399412648","file4":"1399412675","file5":"1399412676","file3":"1399412674"},"map_files_photo_id_array":[{"photo_id":"1399412676","filename":"file5"},{"photo_id":"1399412673","filename":"file2"},{"photo_id":"1399412675","filename":"file4"},{"photo_id":"1399412664","filename":"file1"},{"photo_id":"1399412648","filename":"file0"},{"photo_id":"1399412674","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399412676":["hashtag1","hashtag2"]},{"1399412664":["hashtag1","hashtag2"]},{"1399412675":["hashtag1","hashtag2"]},{"1399412648":["hashtag1","hashtag2"]},{"1399412674":["hashtag1","hashtag2"]},{"1399412673":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399412676, 1399412664, 1399412675, 1399412648, 1399412674, 1399412673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35965824127197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:22:42.092338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_55_1607.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_56_1600.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_58_1629.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_11_00_1785.jpg', '/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_02_1850.jpg', '/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_03_1607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_55_1607.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_56_1600.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_58_1629.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_11_00_1785.jpg
/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_02_1850.jpg
/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_03_1607.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.44893527030944824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:23:02.999083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/45/image_14122025_21_45_45_10768.jpg', '/home/pi/Desktop/images/14122025/21/45/image_14122025_21_45_55_9714.jpg', '/home/pi/Desktop/images/14122025/21/45/image_14122025_21_46_04_9633.jpg', '/home/pi/Desktop/images/14122025/21/46/image_14122025_21_46_15_10563.jpg', '/home/pi/Desktop/images/14122025/21/46/image_14122025_21_46_25_9680.jpg', '/home/pi/Desktop/images/14122025/21/46/image_14122025_21_46_34_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/45/image_14122025_21_45_45_10768.jpg
/home/pi/Desktop/images/14122025/21/45/image_14122025_21_45_55_9714.jpg
/home/pi/Desktop/images/14122025/21/45/image_14122025_21_46_04_9633.jpg
/home/pi/Desktop/images/14122025/21/46/image_14122025_21_46_15_10563.jpg
/home/pi/Desktop/images/14122025/21/46/image_14122025_21_46_25_9680.jpg
/home/pi/Desktop/images/14122025/21/46/image_14122025_21_46_34_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399412682","1399412684","1399412687","1399412683","1399412686","1399412685"],"photo_ids_order":["1399412682","1399412683","1399412684","1399412685","1399412686","1399412687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/85e66df653648361784bae2a34ca1e60.jpg","text":"TemporaryFile(/tmp/multipartBody8742000105717901527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747443638,"filename":"image_14122025_21_45_45_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b2304cad440ef1c6bda4e91df641c5f7.jpg","text":"TemporaryFile(/tmp/multipartBody5213080625458138048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747443638,"filename":"image_14122025_21_46_04_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bedd2a1e6a16a207dee4df31e3b75a85.jpg","text":"TemporaryFile(/tmp/multipartBody5786586671953534399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747443638,"filename":"image_14122025_21_46_34_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f0e38d3e843a3c67f6e6a6b288dc571.jpg","text":"TemporaryFile(/tmp/multipartBody3544170212484401658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747443638,"filename":"image_14122025_21_45_55_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8f92ef45ad0cdea3e82bd1341661dcff.jpg","text":"TemporaryFile(/tmp/multipartBody5663119149359302639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747443638,"filename":"image_14122025_21_46_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/12/14/fd8f9b9a9455338496682bb0b7667077.jpg","text":"TemporaryFile(/tmp/multipartBody6999594660914647653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747443638,"filename":"image_14122025_21_46_15_10563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399412684","file1":"1399412683","file0":"1399412682","file4":"1399412686","file5":"1399412687","file3":"1399412685"},"map_files_photo_id_array":[{"photo_id":"1399412687","filename":"file5"},{"photo_id":"1399412684","filename":"file2"},{"photo_id":"1399412686","filename":"file4"},{"photo_id":"1399412683","filename":"file1"},{"photo_id":"1399412682","filename":"file0"},{"photo_id":"1399412685","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399412682":["hashtag1","hashtag2"]},{"1399412684":["hashtag1","hashtag2"]},{"1399412687":["hashtag1","hashtag2"]},{"1399412683":["hashtag1","hashtag2"]},{"1399412686":["hashtag1","hashtag2"]},{"1399412685":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399412682, 1399412684, 1399412687, 1399412683, 1399412686, 1399412685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.498836040496826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:24:03.170625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/46/image_14122025_21_46_45_10828.jpg', '/home/pi/Desktop/images/14122025/21/46/image_14122025_21_46_55_9696.jpg', '/home/pi/Desktop/images/14122025/21/46/image_14122025_21_47_04_9682.jpg', '/home/pi/Desktop/images/14122025/21/47/image_14122025_21_47_15_10659.jpg', '/home/pi/Desktop/images/14122025/21/47/image_14122025_21_47_25_9615.jpg', '/home/pi/Desktop/images/14122025/21/47/image_14122025_21_47_34_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/46/image_14122025_21_46_45_10828.jpg
/home/pi/Desktop/images/14122025/21/46/image_14122025_21_46_55_9696.jpg
/home/pi/Desktop/images/14122025/21/46/image_14122025_21_47_04_9682.jpg
/home/pi/Desktop/images/14122025/21/47/image_14122025_21_47_15_10659.jpg
/home/pi/Desktop/images/14122025/21/47/image_14122025_21_47_25_9615.jpg
/home/pi/Desktop/images/14122025/21/47/image_14122025_21_47_34_9821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399412690","1399412693","1399412695","1399412692","1399412691","1399412694"],"photo_ids_order":["1399412690","1399412691","1399412692","1399412693","1399412694","1399412695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/09e25726aab72561d82ab0f05a2ec981.jpg","text":"TemporaryFile(/tmp/multipartBody3029209249423833126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747503811,"filename":"image_14122025_21_46_45_10828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3ee56330f9491731f1d4735d516cde9a.jpg","text":"TemporaryFile(/tmp/multipartBody1756132297366550371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747503811,"filename":"image_14122025_21_47_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/12/14/f575a809ee2a7ee4ff39f3941dfb6d64.jpg","text":"TemporaryFile(/tmp/multipartBody4214256503777106829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747503811,"filename":"image_14122025_21_47_34_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/64805b05164b095ef4f775d1819b5437.jpg","text":"TemporaryFile(/tmp/multipartBody3078414197872265843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747503811,"filename":"image_14122025_21_47_04_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ac369ec86c673d07935b15156c5d358.jpg","text":"TemporaryFile(/tmp/multipartBody4839870145938017326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747503811,"filename":"image_14122025_21_46_55_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21ce7e8872eb36d3d99bce8ca1d49ad7.jpg","text":"TemporaryFile(/tmp/multipartBody6393594183900878683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747503811,"filename":"image_14122025_21_47_25_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399412692","file1":"1399412691","file0":"1399412690","file4":"1399412694","file5":"1399412695","file3":"1399412693"},"map_files_photo_id_array":[{"photo_id":"1399412695","filename":"file5"},{"photo_id":"1399412692","filename":"file2"},{"photo_id":"1399412694","filename":"file4"},{"photo_id":"1399412691","filename":"file1"},{"photo_id":"1399412690","filename":"file0"},{"photo_id":"1399412693","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399412690":["hashtag1","hashtag2"]},{"1399412693":["hashtag1","hashtag2"]},{"1399412695":["hashtag1","hashtag2"]},{"1399412692":["hashtag1","hashtag2"]},{"1399412691":["hashtag1","hashtag2"]},{"1399412694":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399412690, 1399412693, 1399412695, 1399412692, 1399412691, 1399412694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.90991973876953 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:25:03.417529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/47/image_14122025_21_47_44_9684.jpg', '/home/pi/Desktop/images/14122025/21/47/image_14122025_21_47_55_10616.jpg', '/home/pi/Desktop/images/14122025/21/47/image_14122025_21_48_05_9768.jpg', '/home/pi/Desktop/images/14122025/21/48/image_14122025_21_48_25_10667.jpg', '/home/pi/Desktop/images/14122025/21/48/image_14122025_21_48_34_9536.jpg', '/home/pi/Desktop/images/14122025/21/48/image_14122025_21_48_44_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/47/image_14122025_21_47_44_9684.jpg
/home/pi/Desktop/images/14122025/21/47/image_14122025_21_47_55_10616.jpg
/home/pi/Desktop/images/14122025/21/47/image_14122025_21_48_05_9768.jpg
/home/pi/Desktop/images/14122025/21/48/image_14122025_21_48_25_10667.jpg
/home/pi/Desktop/images/14122025/21/48/image_14122025_21_48_34_9536.jpg
/home/pi/Desktop/images/14122025/21/48/image_14122025_21_48_44_9729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399412697","1399412696","1399412700","1399412699","1399412698","1399412701"],"photo_ids_order":["1399412696","1399412697","1399412698","1399412699","1399412700","1399412701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6820d201a110382a54fe41fe4628dd58.jpg","text":"TemporaryFile(/tmp/multipartBody5151512075044160615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747564080,"filename":"image_14122025_21_47_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56fd0f92defc52393b7a64c7e8acb863.jpg","text":"TemporaryFile(/tmp/multipartBody3169764745403614057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747564080,"filename":"image_14122025_21_47_44_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/138a3daa0072d997d033eb1e7977d22b.jpg","text":"TemporaryFile(/tmp/multipartBody7092174967782395798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747564080,"filename":"image_14122025_21_48_34_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/49cf6a57bca5aacbe96cd3f5dd411107.jpg","text":"TemporaryFile(/tmp/multipartBody161035233509395963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747564080,"filename":"image_14122025_21_48_25_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aac20c65ad5e25601c915f42d50a6b91.jpg","text":"TemporaryFile(/tmp/multipartBody5502053961056675229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747564080,"filename":"image_14122025_21_48_05_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76dcb8122bf24299ca860792c6b1f871.jpg","text":"TemporaryFile(/tmp/multipartBody2038777898766524482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747564080,"filename":"image_14122025_21_48_44_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399412698","file1":"1399412697","file0":"1399412696","file4":"1399412700","file5":"1399412701","file3":"1399412699"},"map_files_photo_id_array":[{"photo_id":"1399412701","filename":"file5"},{"photo_id":"1399412698","filename":"file2"},{"photo_id":"1399412700","filename":"file4"},{"photo_id":"1399412697","filename":"file1"},{"photo_id":"1399412696","filename":"file0"},{"photo_id":"1399412699","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399412697":["hashtag1","hashtag2"]},{"1399412696":["hashtag1","hashtag2"]},{"1399412700":["hashtag1","hashtag2"]},{"1399412699":["hashtag1","hashtag2"]},{"1399412698":["hashtag1","hashtag2"]},{"1399412701":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399412697, 1399412696, 1399412700, 1399412699, 1399412698, 1399412701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77334117889404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:25:42.734369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_55_1607.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_56_1600.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_58_1629.jpg', '/home/pi/Desktop/images/04112025/15/10/image_04112025_15_11_00_1785.jpg', '/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_02_1850.jpg', '/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_03_1607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_55_1607.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_56_1600.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_10_58_1629.jpg
/home/pi/Desktop/images/04112025/15/10/image_04112025_15_11_00_1785.jpg
/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_02_1850.jpg
/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_03_1607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399412706","1399412703","1399412822","1399412705","1399412725","1399412707"],"photo_ids_order":["1399412703","1399412705","1399412706","1399412707","1399412725","1399412822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/42a506d49995ecb8aed1509860dcd1b2.jpg","text":"TemporaryFile(/tmp/multipartBody6226861417541897006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747603287,"filename":"image_04112025_15_10_58_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d6823e21be96b2dc0b12814af8020c8.jpg","text":"TemporaryFile(/tmp/multipartBody8818256695613322214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747603287,"filename":"image_04112025_15_10_55_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f4c30f21143a75fe3c399834230c0cb.jpg","text":"TemporaryFile(/tmp/multipartBody3875944103322698721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747603287,"filename":"image_04112025_15_11_03_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4dc573f11f3a34a967848d77e03ffa18.jpg","text":"TemporaryFile(/tmp/multipartBody5563366593855329460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747603287,"filename":"image_04112025_15_10_56_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c7d34e65e02dfdb84389240963dadcab.jpg","text":"TemporaryFile(/tmp/multipartBody316481917921076726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747603287,"filename":"image_04112025_15_11_02_1850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d80fa43c7ff2e5fb5cccf2fff5f51221.jpg","text":"TemporaryFile(/tmp/multipartBody8119417011233767104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747603287,"filename":"image_04112025_15_11_00_1785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399412706","file1":"1399412705","file0":"1399412703","file4":"1399412725","file5":"1399412822","file3":"1399412707"},"map_files_photo_id_array":[{"photo_id":"1399412822","filename":"file5"},{"photo_id":"1399412706","filename":"file2"},{"photo_id":"1399412725","filename":"file4"},{"photo_id":"1399412705","filename":"file1"},{"photo_id":"1399412703","filename":"file0"},{"photo_id":"1399412707","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399412706":["hashtag1","hashtag2"]},{"1399412703":["hashtag1","hashtag2"]},{"1399412822":["hashtag1","hashtag2"]},{"1399412705":["hashtag1","hashtag2"]},{"1399412725":["hashtag1","hashtag2"]},{"1399412707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399412706, 1399412703, 1399412822, 1399412705, 1399412725, 1399412707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31135272979736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:26:21.968497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/48/image_14122025_21_48_55_10667.jpg', '/home/pi/Desktop/images/14122025/21/48/image_14122025_21_49_05_9706.jpg', '/home/pi/Desktop/images/14122025/21/49/image_14122025_21_49_14_9817.jpg', '/home/pi/Desktop/images/14122025/21/49/image_14122025_21_49_25_10714.jpg', '/home/pi/Desktop/images/14122025/21/49/image_14122025_21_49_34_9139.jpg', '/home/pi/Desktop/images/14122025/21/49/image_14122025_21_49_45_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/48/image_14122025_21_48_55_10667.jpg
/home/pi/Desktop/images/14122025/21/48/image_14122025_21_49_05_9706.jpg
/home/pi/Desktop/images/14122025/21/49/image_14122025_21_49_14_9817.jpg
/home/pi/Desktop/images/14122025/21/49/image_14122025_21_49_25_10714.jpg
/home/pi/Desktop/images/14122025/21/49/image_14122025_21_49_34_9139.jpg
/home/pi/Desktop/images/14122025/21/49/image_14122025_21_49_45_10613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399413015","1399412988","1399413018","1399413014","1399412965","1399413016"],"photo_ids_order":["1399412965","1399412988","1399413014","1399413015","1399413016","1399413018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8d686af2f5bacc5a7505948eeb642cf2.jpg","text":"TemporaryFile(/tmp/multipartBody8225857861565398105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747642591,"filename":"image_14122025_21_49_25_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/43f19885cd4a2c7220ac7b3b46ce3901.jpg","text":"TemporaryFile(/tmp/multipartBody950472727130185667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747642591,"filename":"image_14122025_21_49_05_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/638cd8972bad5c05f2ebdaa5a2b01476.jpg","text":"TemporaryFile(/tmp/multipartBody4460570973775016534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747642591,"filename":"image_14122025_21_49_45_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1589fca73c71848975ef1e7c9455ae8c.jpg","text":"TemporaryFile(/tmp/multipartBody6633643391657730298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747642591,"filename":"image_14122025_21_49_14_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f691474681e4dacd4de2f9931af1305b.jpg","text":"TemporaryFile(/tmp/multipartBody1376885414591149534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747642591,"filename":"image_14122025_21_48_55_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d03adf8ae82149711c540dfee864de48.jpg","text":"TemporaryFile(/tmp/multipartBody8521991551393864167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747642591,"filename":"image_14122025_21_49_34_9139.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413014","file1":"1399412988","file0":"1399412965","file4":"1399413016","file5":"1399413018","file3":"1399413015"},"map_files_photo_id_array":[{"photo_id":"1399413018","filename":"file5"},{"photo_id":"1399413014","filename":"file2"},{"photo_id":"1399413016","filename":"file4"},{"photo_id":"1399412988","filename":"file1"},{"photo_id":"1399412965","filename":"file0"},{"photo_id":"1399413015","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399413015":["hashtag1","hashtag2"]},{"1399412988":["hashtag1","hashtag2"]},{"1399413018":["hashtag1","hashtag2"]},{"1399413014":["hashtag1","hashtag2"]},{"1399412965":["hashtag1","hashtag2"]},{"1399413016":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399413015, 1399412988, 1399413018, 1399413014, 1399412965, 1399413016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.968618631362915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 22:27:12.248258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:27:22.290994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/49/image_14122025_21_50_05_10639.jpg', '/home/pi/Desktop/images/14122025/21/50/image_14122025_21_50_15_9604.jpg', '/home/pi/Desktop/images/14122025/21/50/image_14122025_21_50_24_9718.jpg', '/home/pi/Desktop/images/14122025/21/50/image_14122025_21_50_35_10661.jpg', '/home/pi/Desktop/images/14122025/21/50/image_14122025_21_50_45_9773.jpg', '/home/pi/Desktop/images/14122025/21/50/image_14122025_21_50_55_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/49/image_14122025_21_50_05_10639.jpg
/home/pi/Desktop/images/14122025/21/50/image_14122025_21_50_15_9604.jpg
/home/pi/Desktop/images/14122025/21/50/image_14122025_21_50_24_9718.jpg
/home/pi/Desktop/images/14122025/21/50/image_14122025_21_50_35_10661.jpg
/home/pi/Desktop/images/14122025/21/50/image_14122025_21_50_45_9773.jpg
/home/pi/Desktop/images/14122025/21/50/image_14122025_21_50_55_9845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399413021","1399413024","1399413026","1399413020","1399413023","1399413022"],"photo_ids_order":["1399413020","1399413021","1399413022","1399413023","1399413024","1399413026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4c0544b518afab33a6d1bf6825076653.jpg","text":"TemporaryFile(/tmp/multipartBody7363886618624859384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747702950,"filename":"image_14122025_21_50_15_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/39493141d471d8e1632eb60ad620198b.jpg","text":"TemporaryFile(/tmp/multipartBody9094104627970443123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747702950,"filename":"image_14122025_21_50_45_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd4fc920553e8a4d42e11a0e17ea18cf.jpg","text":"TemporaryFile(/tmp/multipartBody2511659436589190329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747702950,"filename":"image_14122025_21_50_55_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/feeec4cc4c68ea423b8ecea4e7a87c40.jpg","text":"TemporaryFile(/tmp/multipartBody1563687680039599477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747702950,"filename":"image_14122025_21_50_05_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/207748179dba702be168a83939529619.jpg","text":"TemporaryFile(/tmp/multipartBody6523726244970532359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747702950,"filename":"image_14122025_21_50_35_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/07691de7728299b3e450e75119bf2474.jpg","text":"TemporaryFile(/tmp/multipartBody2688272052197247844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747702950,"filename":"image_14122025_21_50_24_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413022","file1":"1399413021","file0":"1399413020","file4":"1399413024","file5":"1399413026","file3":"1399413023"},"map_files_photo_id_array":[{"photo_id":"1399413026","filename":"file5"},{"photo_id":"1399413022","filename":"file2"},{"photo_id":"1399413024","filename":"file4"},{"photo_id":"1399413021","filename":"file1"},{"photo_id":"1399413020","filename":"file0"},{"photo_id":"1399413023","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399413021":["hashtag1","hashtag2"]},{"1399413024":["hashtag1","hashtag2"]},{"1399413026":["hashtag1","hashtag2"]},{"1399413020":["hashtag1","hashtag2"]},{"1399413023":["hashtag1","hashtag2"]},{"1399413022":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399413021, 1399413024, 1399413026, 1399413020, 1399413023, 1399413022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88263773918152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:28:02.838188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/50/image_14122025_21_51_04_9659.jpg', '/home/pi/Desktop/images/14122025/21/51/image_14122025_21_51_14_9867.jpg', '/home/pi/Desktop/images/14122025/21/51/image_14122025_21_51_45_10050.jpg', '/home/pi/Desktop/images/14122025/21/51/image_14122025_21_51_54_9594.jpg', '/home/pi/Desktop/images/14122025/21/51/image_14122025_21_52_05_10696.jpg', '/home/pi/Desktop/images/14122025/21/52/image_14122025_21_52_15_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/50/image_14122025_21_51_04_9659.jpg
/home/pi/Desktop/images/14122025/21/51/image_14122025_21_51_14_9867.jpg
/home/pi/Desktop/images/14122025/21/51/image_14122025_21_51_45_10050.jpg
/home/pi/Desktop/images/14122025/21/51/image_14122025_21_51_54_9594.jpg
/home/pi/Desktop/images/14122025/21/51/image_14122025_21_52_05_10696.jpg
/home/pi/Desktop/images/14122025/21/52/image_14122025_21_52_15_9636.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.500577449798584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 22:28:12.361542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:28:22.406745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/50/image_14122025_21_51_04_9659.jpg', '/home/pi/Desktop/images/14122025/21/51/image_14122025_21_51_14_9867.jpg', '/home/pi/Desktop/images/14122025/21/51/image_14122025_21_51_45_10050.jpg', '/home/pi/Desktop/images/14122025/21/51/image_14122025_21_51_54_9594.jpg', '/home/pi/Desktop/images/14122025/21/51/image_14122025_21_52_05_10696.jpg', '/home/pi/Desktop/images/14122025/21/52/image_14122025_21_52_15_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/50/image_14122025_21_51_04_9659.jpg
/home/pi/Desktop/images/14122025/21/51/image_14122025_21_51_14_9867.jpg
/home/pi/Desktop/images/14122025/21/51/image_14122025_21_51_45_10050.jpg
/home/pi/Desktop/images/14122025/21/51/image_14122025_21_51_54_9594.jpg
/home/pi/Desktop/images/14122025/21/51/image_14122025_21_52_05_10696.jpg
/home/pi/Desktop/images/14122025/21/52/image_14122025_21_52_15_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399413254","1399413077","1399413217","1399413325","1399413288","1399413180"],"photo_ids_order":["1399413077","1399413180","1399413217","1399413254","1399413288","1399413325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f3ac8e671504bdfbfe039a07d4233d9.jpg","text":"TemporaryFile(/tmp/multipartBody3630883789507837730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747762997,"filename":"image_14122025_21_51_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/12/14/36e2659eb3ea5bbab353cd370b299aa7.jpg","text":"TemporaryFile(/tmp/multipartBody5670088161171479675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747762997,"filename":"image_14122025_21_51_04_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ac3e0edc4b459cb4c6d4eea74cb14dd.jpg","text":"TemporaryFile(/tmp/multipartBody8709018889423069448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747762997,"filename":"image_14122025_21_51_45_10050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/98decffdd93db1544094f49a7bef175e.jpg","text":"TemporaryFile(/tmp/multipartBody7661053487950302351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747762997,"filename":"image_14122025_21_52_15_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3cd27aabbc20896fe6ad023002277777.jpg","text":"TemporaryFile(/tmp/multipartBody4332608389820694523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747762997,"filename":"image_14122025_21_52_05_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/74a01039244513d0b5301155a3b157c6.jpg","text":"TemporaryFile(/tmp/multipartBody4628653297780861323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747762997,"filename":"image_14122025_21_51_14_9867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413217","file1":"1399413180","file0":"1399413077","file4":"1399413288","file5":"1399413325","file3":"1399413254"},"map_files_photo_id_array":[{"photo_id":"1399413325","filename":"file5"},{"photo_id":"1399413217","filename":"file2"},{"photo_id":"1399413288","filename":"file4"},{"photo_id":"1399413180","filename":"file1"},{"photo_id":"1399413077","filename":"file0"},{"photo_id":"1399413254","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399413254":["hashtag1","hashtag2"]},{"1399413077":["hashtag1","hashtag2"]},{"1399413217":["hashtag1","hashtag2"]},{"1399413325":["hashtag1","hashtag2"]},{"1399413288":["hashtag1","hashtag2"]},{"1399413180":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399413254, 1399413077, 1399413217, 1399413325, 1399413288, 1399413180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.34916090965271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 22:29:12.635638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:29:24.702833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/52/image_14122025_21_52_25_9834.jpg', '/home/pi/Desktop/images/14122025/21/52/image_14122025_21_52_34_9772.jpg', '/home/pi/Desktop/images/14122025/21/52/image_14122025_21_52_44_9905.jpg', '/home/pi/Desktop/images/14122025/21/52/image_14122025_21_52_55_10622.jpg', '/home/pi/Desktop/images/14122025/21/52/image_14122025_21_53_05_9673.jpg', '/home/pi/Desktop/images/14122025/21/53/image_14122025_21_53_14_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/52/image_14122025_21_52_25_9834.jpg
/home/pi/Desktop/images/14122025/21/52/image_14122025_21_52_34_9772.jpg
/home/pi/Desktop/images/14122025/21/52/image_14122025_21_52_44_9905.jpg
/home/pi/Desktop/images/14122025/21/52/image_14122025_21_52_55_10622.jpg
/home/pi/Desktop/images/14122025/21/52/image_14122025_21_53_05_9673.jpg
/home/pi/Desktop/images/14122025/21/53/image_14122025_21_53_14_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":["1399413566","1399413653","1399413602","1399413637","1399413652","1399413654"],"photo_ids_order":["1399413566","1399413602","1399413637","1399413652","1399413653","1399413654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/400b5ee85f83a84e23d16d4df9340c32.jpg","text":"TemporaryFile(/tmp/multipartBody3416678275569954159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747825361,"filename":"image_14122025_21_52_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/12/14/2aa41279a2ac66a3f400131ee4934f4c.jpg","text":"TemporaryFile(/tmp/multipartBody1342718641753914608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747825361,"filename":"image_14122025_21_53_05_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/691670689110265f7e7d2f77be0f09b0.jpg","text":"TemporaryFile(/tmp/multipartBody2345014638701470233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747825361,"filename":"image_14122025_21_52_34_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f7bb1e86be4f08ba9b0a13b50b310ef.jpg","text":"TemporaryFile(/tmp/multipartBody7400830584321277492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747825361,"filename":"image_14122025_21_52_44_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/abcc682ae994abee2972663beacf2187.jpg","text":"TemporaryFile(/tmp/multipartBody731332396876480258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747825361,"filename":"image_14122025_21_52_55_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cfd3872b450f4aaf16fcd11d735896b2.jpg","text":"TemporaryFile(/tmp/multipartBody4413471071506787262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747825361,"filename":"image_14122025_21_53_14_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413637","file1":"1399413602","file0":"1399413566","file4":"1399413653","file5":"1399413654","file3":"1399413652"},"map_files_photo_id_array":[{"photo_id":"1399413654","filename":"file5"},{"photo_id":"1399413637","filename":"file2"},{"photo_id":"1399413653","filename":"file4"},{"photo_id":"1399413602","filename":"file1"},{"photo_id":"1399413566","filename":"file0"},{"photo_id":"1399413652","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399413566":["hashtag1","hashtag2"]},{"1399413653":["hashtag1","hashtag2"]},{"1399413602":["hashtag1","hashtag2"]},{"1399413637":["hashtag1","hashtag2"]},{"1399413652":["hashtag1","hashtag2"]},{"1399413654":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399413566, 1399413653, 1399413602, 1399413637, 1399413652, 1399413654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.159991979599 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 22:30:11.810559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:30:21.871837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/53/image_14122025_21_53_25_10858.jpg', '/home/pi/Desktop/images/14122025/21/53/image_14122025_21_53_34_9020.jpg', '/home/pi/Desktop/images/14122025/21/53/image_14122025_21_53_45_10735.jpg', '/home/pi/Desktop/images/14122025/21/53/image_14122025_21_53_55_9718.jpg', '/home/pi/Desktop/images/14122025/21/53/image_14122025_21_54_04_9694.jpg', '/home/pi/Desktop/images/14122025/21/54/image_14122025_21_54_15_10737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/53/image_14122025_21_53_25_10858.jpg
/home/pi/Desktop/images/14122025/21/53/image_14122025_21_53_34_9020.jpg
/home/pi/Desktop/images/14122025/21/53/image_14122025_21_53_45_10735.jpg
/home/pi/Desktop/images/14122025/21/53/image_14122025_21_53_55_9718.jpg
/home/pi/Desktop/images/14122025/21/53/image_14122025_21_54_04_9694.jpg
/home/pi/Desktop/images/14122025/21/54/image_14122025_21_54_15_10737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399413819","1399413818","1399413812","1399413787","1399413772","1399413817"],"photo_ids_order":["1399413772","1399413787","1399413812","1399413817","1399413818","1399413819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6fec1aef0a8c614701c731e5fff25887.jpg","text":"TemporaryFile(/tmp/multipartBody3008240757910868796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747882493,"filename":"image_14122025_21_54_15_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/af433e7dc5d89d7b54073685236bd1c8.jpg","text":"TemporaryFile(/tmp/multipartBody7913600247984477686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747882493,"filename":"image_14122025_21_54_04_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9947f899fc4c994cf85dd6d2741f8ba3.jpg","text":"TemporaryFile(/tmp/multipartBody4880048118042608148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747882493,"filename":"image_14122025_21_53_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/12/14/bcbc941fef4425c148fcdf1c28860897.jpg","text":"TemporaryFile(/tmp/multipartBody4217311935911245386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747882493,"filename":"image_14122025_21_53_34_9020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b3830f98d0d6867c00513e913aa25d0e.jpg","text":"TemporaryFile(/tmp/multipartBody2518720317334988011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747882493,"filename":"image_14122025_21_53_25_10858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5290fac0eeec057a10cc3c8221a1339b.jpg","text":"TemporaryFile(/tmp/multipartBody6815581587103095440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747882493,"filename":"image_14122025_21_53_55_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413812","file1":"1399413787","file0":"1399413772","file4":"1399413818","file5":"1399413819","file3":"1399413817"},"map_files_photo_id_array":[{"photo_id":"1399413819","filename":"file5"},{"photo_id":"1399413812","filename":"file2"},{"photo_id":"1399413818","filename":"file4"},{"photo_id":"1399413787","filename":"file1"},{"photo_id":"1399413772","filename":"file0"},{"photo_id":"1399413817","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399413819":["hashtag1","hashtag2"]},{"1399413818":["hashtag1","hashtag2"]},{"1399413812":["hashtag1","hashtag2"]},{"1399413787":["hashtag1","hashtag2"]},{"1399413772":["hashtag1","hashtag2"]},{"1399413817":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399413819, 1399413818, 1399413812, 1399413787, 1399413772, 1399413817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.63508439064026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 22:31:12.134336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:31:22.186543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/54/image_14122025_21_54_25_9721.jpg', '/home/pi/Desktop/images/14122025/21/54/image_14122025_21_54_34_9690.jpg', '/home/pi/Desktop/images/14122025/21/54/image_14122025_21_54_44_9730.jpg', '/home/pi/Desktop/images/14122025/21/54/image_14122025_21_54_55_10748.jpg', '/home/pi/Desktop/images/14122025/21/54/image_14122025_21_55_05_9642.jpg', '/home/pi/Desktop/images/14122025/21/55/image_14122025_21_55_14_9869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/54/image_14122025_21_54_25_9721.jpg
/home/pi/Desktop/images/14122025/21/54/image_14122025_21_54_34_9690.jpg
/home/pi/Desktop/images/14122025/21/54/image_14122025_21_54_44_9730.jpg
/home/pi/Desktop/images/14122025/21/54/image_14122025_21_54_55_10748.jpg
/home/pi/Desktop/images/14122025/21/54/image_14122025_21_55_05_9642.jpg
/home/pi/Desktop/images/14122025/21/55/image_14122025_21_55_14_9869.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399413822","1399413824","1399413821","1399413820","1399413823","1399413826"],"photo_ids_order":["1399413820","1399413821","1399413822","1399413823","1399413824","1399413826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fd0324c724517b0fb6cf6b82481f90cf.jpg","text":"TemporaryFile(/tmp/multipartBody3056314894464103426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747942811,"filename":"image_14122025_21_54_44_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/85832f1b99ac14e55decd5c2966a0720.jpg","text":"TemporaryFile(/tmp/multipartBody3276112093685653712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747942811,"filename":"image_14122025_21_55_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/491da770fd35fbce660d0fe52b009e2a.jpg","text":"TemporaryFile(/tmp/multipartBody9154562844909748501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747942811,"filename":"image_14122025_21_54_34_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a69cbdc1059e616818e8c36aebf088f0.jpg","text":"TemporaryFile(/tmp/multipartBody2160200475396673752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747942811,"filename":"image_14122025_21_54_25_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a26ef02607b18144e23fe6c57c6896c1.jpg","text":"TemporaryFile(/tmp/multipartBody7156233898338216090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747942811,"filename":"image_14122025_21_54_55_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/142b805e90014b0a75380d1f6d14ec80.jpg","text":"TemporaryFile(/tmp/multipartBody6536878391038190743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765747942811,"filename":"image_14122025_21_55_14_9869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413822","file1":"1399413821","file0":"1399413820","file4":"1399413824","file5":"1399413826","file3":"1399413823"},"map_files_photo_id_array":[{"photo_id":"1399413826","filename":"file5"},{"photo_id":"1399413822","filename":"file2"},{"photo_id":"1399413824","filename":"file4"},{"photo_id":"1399413821","filename":"file1"},{"photo_id":"1399413820","filename":"file0"},{"photo_id":"1399413823","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399413822":["hashtag1","hashtag2"]},{"1399413824":["hashtag1","hashtag2"]},{"1399413821":["hashtag1","hashtag2"]},{"1399413820":["hashtag1","hashtag2"]},{"1399413823":["hashtag1","hashtag2"]},{"1399413826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399413822, 1399413824, 1399413821, 1399413820, 1399413823, 1399413826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86320161819458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:32:02.846351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/55/image_14122025_21_55_25_10709.jpg', '/home/pi/Desktop/images/14122025/21/55/image_14122025_21_55_35_9910.jpg', '/home/pi/Desktop/images/14122025/21/55/image_14122025_21_55_45_9748.jpg', '/home/pi/Desktop/images/14122025/21/55/image_14122025_21_55_54_9567.jpg', '/home/pi/Desktop/images/14122025/21/55/image_14122025_21_56_05_10727.jpg', '/home/pi/Desktop/images/14122025/21/56/image_14122025_21_56_15_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/55/image_14122025_21_55_25_10709.jpg
/home/pi/Desktop/images/14122025/21/55/image_14122025_21_55_35_9910.jpg
/home/pi/Desktop/images/14122025/21/55/image_14122025_21_55_45_9748.jpg
/home/pi/Desktop/images/14122025/21/55/image_14122025_21_55_54_9567.jpg
/home/pi/Desktop/images/14122025/21/55/image_14122025_21_56_05_10727.jpg
/home/pi/Desktop/images/14122025/21/56/image_14122025_21_56_15_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.5797090530395508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 22:32:12.422371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:32:25.326951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/55/image_14122025_21_55_25_10709.jpg', '/home/pi/Desktop/images/14122025/21/55/image_14122025_21_55_35_9910.jpg', '/home/pi/Desktop/images/14122025/21/55/image_14122025_21_55_45_9748.jpg', '/home/pi/Desktop/images/14122025/21/55/image_14122025_21_55_54_9567.jpg', '/home/pi/Desktop/images/14122025/21/55/image_14122025_21_56_05_10727.jpg', '/home/pi/Desktop/images/14122025/21/56/image_14122025_21_56_15_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/55/image_14122025_21_55_25_10709.jpg
/home/pi/Desktop/images/14122025/21/55/image_14122025_21_55_35_9910.jpg
/home/pi/Desktop/images/14122025/21/55/image_14122025_21_55_45_9748.jpg
/home/pi/Desktop/images/14122025/21/55/image_14122025_21_55_54_9567.jpg
/home/pi/Desktop/images/14122025/21/55/image_14122025_21_56_05_10727.jpg
/home/pi/Desktop/images/14122025/21/56/image_14122025_21_56_15_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399413839","1399413833","1399413835","1399413832","1399413840","1399413834"],"photo_ids_order":["1399413832","1399413833","1399413834","1399413835","1399413839","1399413840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/48f73999490cec3868741eafa6e31a0d.jpg","text":"TemporaryFile(/tmp/multipartBody3085653238361571353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748005945,"filename":"image_14122025_21_56_05_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/162b93e27fe112319f91e7e4359adfd1.jpg","text":"TemporaryFile(/tmp/multipartBody2919940424360760055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748005945,"filename":"image_14122025_21_55_35_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56b84398dc427ac439442cfa870cd0ad.jpg","text":"TemporaryFile(/tmp/multipartBody808068509001428275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748005945,"filename":"image_14122025_21_55_54_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e57f7bca67a7db2dcabd50f3dff61b53.jpg","text":"TemporaryFile(/tmp/multipartBody5613981682988078788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748005945,"filename":"image_14122025_21_55_25_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2fbdad781b3f0fb017897d43bfc39b9e.jpg","text":"TemporaryFile(/tmp/multipartBody3470802974628095879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748005945,"filename":"image_14122025_21_56_15_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b84a18d75385991201671b56b9842a8e.jpg","text":"TemporaryFile(/tmp/multipartBody9038666930403101325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748005945,"filename":"image_14122025_21_55_45_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413834","file1":"1399413833","file0":"1399413832","file4":"1399413839","file5":"1399413840","file3":"1399413835"},"map_files_photo_id_array":[{"photo_id":"1399413840","filename":"file5"},{"photo_id":"1399413834","filename":"file2"},{"photo_id":"1399413839","filename":"file4"},{"photo_id":"1399413833","filename":"file1"},{"photo_id":"1399413832","filename":"file0"},{"photo_id":"1399413835","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399413839":["hashtag1","hashtag2"]},{"1399413833":["hashtag1","hashtag2"]},{"1399413835":["hashtag1","hashtag2"]},{"1399413832":["hashtag1","hashtag2"]},{"1399413840":["hashtag1","hashtag2"]},{"1399413834":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399413839, 1399413833, 1399413835, 1399413832, 1399413840, 1399413834)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.23437714576721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:33:23.509341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/56/image_14122025_21_56_24_9711.jpg', '/home/pi/Desktop/images/14122025/21/56/image_14122025_21_56_35_10614.jpg', '/home/pi/Desktop/images/14122025/21/56/image_14122025_21_56_45_9804.jpg', '/home/pi/Desktop/images/14122025/21/56/image_14122025_21_56_54_9611.jpg', '/home/pi/Desktop/images/14122025/21/56/image_14122025_21_57_04_9694.jpg', '/home/pi/Desktop/images/14122025/21/57/image_14122025_21_57_15_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/56/image_14122025_21_56_24_9711.jpg
/home/pi/Desktop/images/14122025/21/56/image_14122025_21_56_35_10614.jpg
/home/pi/Desktop/images/14122025/21/56/image_14122025_21_56_45_9804.jpg
/home/pi/Desktop/images/14122025/21/56/image_14122025_21_56_54_9611.jpg
/home/pi/Desktop/images/14122025/21/56/image_14122025_21_57_04_9694.jpg
/home/pi/Desktop/images/14122025/21/57/image_14122025_21_57_15_10632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399413843","1399413842","1399413848","1399413841","1399413844","1399413846"],"photo_ids_order":["1399413841","1399413842","1399413843","1399413844","1399413846","1399413848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f35327d8ff1bd25dd374db7aa1e79d6.jpg","text":"TemporaryFile(/tmp/multipartBody3516814414113770474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748066687,"filename":"image_14122025_21_56_45_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc98f971781c982d34323fd799835488.jpg","text":"TemporaryFile(/tmp/multipartBody2307583965846107895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748066687,"filename":"image_14122025_21_56_35_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/61da01b2fda15fd86dd83679c09ef7e9.jpg","text":"TemporaryFile(/tmp/multipartBody1774321941468589782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748066687,"filename":"image_14122025_21_57_15_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/12801d607c0a999a775221395c78fb8c.jpg","text":"TemporaryFile(/tmp/multipartBody5371663798178922782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748066687,"filename":"image_14122025_21_56_24_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88af299c56226698ec87da2f98b06e7d.jpg","text":"TemporaryFile(/tmp/multipartBody1534860239923431471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748066687,"filename":"image_14122025_21_56_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/12/14/57ec0355d30f0669337edfeafa637f1b.jpg","text":"TemporaryFile(/tmp/multipartBody2649733997555507458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748066687,"filename":"image_14122025_21_57_04_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413843","file1":"1399413842","file0":"1399413841","file4":"1399413846","file5":"1399413848","file3":"1399413844"},"map_files_photo_id_array":[{"photo_id":"1399413848","filename":"file5"},{"photo_id":"1399413843","filename":"file2"},{"photo_id":"1399413846","filename":"file4"},{"photo_id":"1399413842","filename":"file1"},{"photo_id":"1399413841","filename":"file0"},{"photo_id":"1399413844","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399413843":["hashtag1","hashtag2"]},{"1399413842":["hashtag1","hashtag2"]},{"1399413848":["hashtag1","hashtag2"]},{"1399413841":["hashtag1","hashtag2"]},{"1399413844":["hashtag1","hashtag2"]},{"1399413846":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399413843, 1399413842, 1399413848, 1399413841, 1399413844, 1399413846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52945876121521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 22:34:11.979687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:34:21.915203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/57/image_14122025_21_57_24_9672.jpg', '/home/pi/Desktop/images/14122025/21/57/image_14122025_21_57_34_9703.jpg', '/home/pi/Desktop/images/14122025/21/57/image_14122025_21_57_45_10709.jpg', '/home/pi/Desktop/images/14122025/21/57/image_14122025_21_57_55_9802.jpg', '/home/pi/Desktop/images/14122025/21/57/image_14122025_21_58_04_9774.jpg', '/home/pi/Desktop/images/14122025/21/58/image_14122025_21_58_14_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/57/image_14122025_21_57_24_9672.jpg
/home/pi/Desktop/images/14122025/21/57/image_14122025_21_57_34_9703.jpg
/home/pi/Desktop/images/14122025/21/57/image_14122025_21_57_45_10709.jpg
/home/pi/Desktop/images/14122025/21/57/image_14122025_21_57_55_9802.jpg
/home/pi/Desktop/images/14122025/21/57/image_14122025_21_58_04_9774.jpg
/home/pi/Desktop/images/14122025/21/58/image_14122025_21_58_14_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399413854","1399413851","1399413853","1399413850","1399413852","1399413849"],"photo_ids_order":["1399413849","1399413850","1399413851","1399413852","1399413853","1399413854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ecd883e6c1c0eac34b2bbdd7881ef5ce.jpg","text":"TemporaryFile(/tmp/multipartBody2406778290535005404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748122517,"filename":"image_14122025_21_58_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/020b400b24d9738cdff0c89c2fe6e245.jpg","text":"TemporaryFile(/tmp/multipartBody8802590920210138697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748122517,"filename":"image_14122025_21_57_45_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24ff2d8a3ebfb33564790781ae6afb25.jpg","text":"TemporaryFile(/tmp/multipartBody5608300382106338328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748122517,"filename":"image_14122025_21_58_04_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/77198a14cbce4645789ac85e8ff28d8a.jpg","text":"TemporaryFile(/tmp/multipartBody6617211791222497322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748122517,"filename":"image_14122025_21_57_34_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/386e338f9d31be93d4a620a4033edf1e.jpg","text":"TemporaryFile(/tmp/multipartBody4603625007332080604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748122517,"filename":"image_14122025_21_57_55_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81a23e5aeebab975490846b94c62a5ae.jpg","text":"TemporaryFile(/tmp/multipartBody2789929247731022393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748122517,"filename":"image_14122025_21_57_24_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413851","file1":"1399413850","file0":"1399413849","file4":"1399413853","file5":"1399413854","file3":"1399413852"},"map_files_photo_id_array":[{"photo_id":"1399413854","filename":"file5"},{"photo_id":"1399413851","filename":"file2"},{"photo_id":"1399413853","filename":"file4"},{"photo_id":"1399413850","filename":"file1"},{"photo_id":"1399413849","filename":"file0"},{"photo_id":"1399413852","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399413854":["hashtag1","hashtag2"]},{"1399413851":["hashtag1","hashtag2"]},{"1399413853":["hashtag1","hashtag2"]},{"1399413850":["hashtag1","hashtag2"]},{"1399413852":["hashtag1","hashtag2"]},{"1399413849":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399413854, 1399413851, 1399413853, 1399413850, 1399413852, 1399413849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.144941568374634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:35:02.861527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/58/image_14122025_21_58_25_10845.jpg', '/home/pi/Desktop/images/14122025/21/58/image_14122025_21_58_35_9688.jpg', '/home/pi/Desktop/images/14122025/21/58/image_14122025_21_58_44_9592.jpg', '/home/pi/Desktop/images/14122025/21/58/image_14122025_21_58_55_10633.jpg', '/home/pi/Desktop/images/14122025/21/58/image_14122025_21_59_05_9824.jpg', '/home/pi/Desktop/images/14122025/21/59/image_14122025_21_59_14_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/58/image_14122025_21_58_25_10845.jpg
/home/pi/Desktop/images/14122025/21/58/image_14122025_21_58_35_9688.jpg
/home/pi/Desktop/images/14122025/21/58/image_14122025_21_58_44_9592.jpg
/home/pi/Desktop/images/14122025/21/58/image_14122025_21_58_55_10633.jpg
/home/pi/Desktop/images/14122025/21/58/image_14122025_21_59_05_9824.jpg
/home/pi/Desktop/images/14122025/21/59/image_14122025_21_59_14_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399413860","1399413857","1399413859","1399413858","1399413861","1399413855"],"photo_ids_order":["1399413855","1399413857","1399413858","1399413859","1399413860","1399413861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/98865fd7a9ce80a7e0195ecd1ecdd8c4.jpg","text":"TemporaryFile(/tmp/multipartBody1528651105191699323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748163564,"filename":"image_14122025_21_59_05_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/091ff994e79ddfd5d092a197c35432d8.jpg","text":"TemporaryFile(/tmp/multipartBody4948288089503697258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748163564,"filename":"image_14122025_21_58_35_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1de3fa2a1d9ab140140297ed52494fdd.jpg","text":"TemporaryFile(/tmp/multipartBody4986189637364649856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748163564,"filename":"image_14122025_21_58_55_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54dd5854e4579fc9310f31c00b0b7547.jpg","text":"TemporaryFile(/tmp/multipartBody640763779296338769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748163564,"filename":"image_14122025_21_58_44_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e7929f90314051e2fac78fe6a54f2ff8.jpg","text":"TemporaryFile(/tmp/multipartBody7065347177711117490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748163564,"filename":"image_14122025_21_59_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/81f132a403962a1329552ff3a9c437df.jpg","text":"TemporaryFile(/tmp/multipartBody5566823930050271505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748163564,"filename":"image_14122025_21_58_25_10845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413858","file1":"1399413857","file0":"1399413855","file4":"1399413860","file5":"1399413861","file3":"1399413859"},"map_files_photo_id_array":[{"photo_id":"1399413861","filename":"file5"},{"photo_id":"1399413858","filename":"file2"},{"photo_id":"1399413860","filename":"file4"},{"photo_id":"1399413857","filename":"file1"},{"photo_id":"1399413855","filename":"file0"},{"photo_id":"1399413859","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399413860":["hashtag1","hashtag2"]},{"1399413857":["hashtag1","hashtag2"]},{"1399413859":["hashtag1","hashtag2"]},{"1399413858":["hashtag1","hashtag2"]},{"1399413861":["hashtag1","hashtag2"]},{"1399413855":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399413860, 1399413857, 1399413859, 1399413858, 1399413861, 1399413855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90204167366028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:35:42.172896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_05_1813.jpg', '/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_07_1560.jpg', '/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_08_1642.jpg', '/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_10_1657.jpg', '/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_12_1643.jpg', '/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_13_1593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_05_1813.jpg
/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_07_1560.jpg
/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_08_1642.jpg
/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_10_1657.jpg
/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_12_1643.jpg
/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_13_1593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399413869","1399413865","1399413868","1399413862","1399413870","1399413867"],"photo_ids_order":["1399413862","1399413865","1399413867","1399413868","1399413869","1399413870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/829f671d77043a2062f0a654670407cf.jpg","text":"TemporaryFile(/tmp/multipartBody2458880494783108953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748202863,"filename":"image_04112025_15_11_12_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a194194bafad402c23b7b902544e3439.jpg","text":"TemporaryFile(/tmp/multipartBody7491581845115433409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748202863,"filename":"image_04112025_15_11_07_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a0b56797c3c211e82dd3d9312d79eed9.jpg","text":"TemporaryFile(/tmp/multipartBody2055481662271303059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748202863,"filename":"image_04112025_15_11_10_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a676267d99cc3a9f8b9cfb2509bd655b.jpg","text":"TemporaryFile(/tmp/multipartBody6576963597326946250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748202863,"filename":"image_04112025_15_11_05_1813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7cc49ae8cac6517a982714e3be59379a.jpg","text":"TemporaryFile(/tmp/multipartBody7215529948287878140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748202863,"filename":"image_04112025_15_11_13_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7964ee35be2b25909c4d37108358dbb4.jpg","text":"TemporaryFile(/tmp/multipartBody8272676282209831622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748202863,"filename":"image_04112025_15_11_08_1642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413867","file1":"1399413865","file0":"1399413862","file4":"1399413869","file5":"1399413870","file3":"1399413868"},"map_files_photo_id_array":[{"photo_id":"1399413870","filename":"file5"},{"photo_id":"1399413867","filename":"file2"},{"photo_id":"1399413869","filename":"file4"},{"photo_id":"1399413865","filename":"file1"},{"photo_id":"1399413862","filename":"file0"},{"photo_id":"1399413868","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399413869":["hashtag1","hashtag2"]},{"1399413865":["hashtag1","hashtag2"]},{"1399413868":["hashtag1","hashtag2"]},{"1399413862":["hashtag1","hashtag2"]},{"1399413870":["hashtag1","hashtag2"]},{"1399413867":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399413869, 1399413865, 1399413868, 1399413862, 1399413870, 1399413867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97047781944275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:36:22.450740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/59/image_14122025_21_59_35_10615.jpg', '/home/pi/Desktop/images/14122025/21/59/image_14122025_21_59_45_9739.jpg', '/home/pi/Desktop/images/14122025/21/59/image_14122025_21_59_55_10063.jpg', '/home/pi/Desktop/images/14122025/22/01/image_14122025_22_01_24_10875.jpg', '/home/pi/Desktop/images/14122025/22/01/image_14122025_22_01_34_9797.jpg', '/home/pi/Desktop/images/14122025/22/01/image_14122025_22_01_44_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/59/image_14122025_21_59_35_10615.jpg
/home/pi/Desktop/images/14122025/21/59/image_14122025_21_59_45_9739.jpg
/home/pi/Desktop/images/14122025/21/59/image_14122025_21_59_55_10063.jpg
/home/pi/Desktop/images/14122025/22/01/image_14122025_22_01_24_10875.jpg
/home/pi/Desktop/images/14122025/22/01/image_14122025_22_01_34_9797.jpg
/home/pi/Desktop/images/14122025/22/01/image_14122025_22_01_44_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.5164189338684082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 22:36:32.445444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:36:42.456728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_15_1675.jpg', '/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_16_1576.jpg', '/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_18_1726.jpg', '/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_22_4152.jpg', '/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_42_20087.jpg', '/home/pi/Desktop/images/04112025/15/11/image_04112025_15_12_00_17357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_15_1675.jpg
/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_16_1576.jpg
/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_18_1726.jpg
/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_22_4152.jpg
/home/pi/Desktop/images/04112025/15/11/image_04112025_15_11_42_20087.jpg
/home/pi/Desktop/images/04112025/15/11/image_04112025_15_12_00_17357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399413878","1399413880","1399413877","1399413882","1399413876","1399413879"],"photo_ids_order":["1399413876","1399413877","1399413878","1399413879","1399413880","1399413882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e1d76ee0c0933013bd2b2cd04383d208.jpg","text":"TemporaryFile(/tmp/multipartBody9096703081280504852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748263153,"filename":"image_04112025_15_11_18_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f1811b6daf600438e80a3a38d7993bfb.jpg","text":"TemporaryFile(/tmp/multipartBody9156550319499017484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748263153,"filename":"image_04112025_15_11_42_20087.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6e2f51192cfca9bbffd5dc2beb972df.jpg","text":"TemporaryFile(/tmp/multipartBody1911712136693095923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748263153,"filename":"image_04112025_15_11_16_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c8b590f0ecd92c2129b2235f9939ff80.jpg","text":"TemporaryFile(/tmp/multipartBody1068387462993451339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748263153,"filename":"image_04112025_15_12_00_17357.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fdaba5cc0a96028b4e6bb371a96e65f1.jpg","text":"TemporaryFile(/tmp/multipartBody8175799301669281809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748263153,"filename":"image_04112025_15_11_15_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1c9615f3c30c6499cb142862de5ff97.jpg","text":"TemporaryFile(/tmp/multipartBody4926209123739060429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748263153,"filename":"image_04112025_15_11_22_4152.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413878","file1":"1399413877","file0":"1399413876","file4":"1399413880","file5":"1399413882","file3":"1399413879"},"map_files_photo_id_array":[{"photo_id":"1399413882","filename":"file5"},{"photo_id":"1399413878","filename":"file2"},{"photo_id":"1399413880","filename":"file4"},{"photo_id":"1399413877","filename":"file1"},{"photo_id":"1399413876","filename":"file0"},{"photo_id":"1399413879","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399413878":["hashtag1","hashtag2"]},{"1399413880":["hashtag1","hashtag2"]},{"1399413877":["hashtag1","hashtag2"]},{"1399413882":["hashtag1","hashtag2"]},{"1399413876":["hashtag1","hashtag2"]},{"1399413879":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399413878, 1399413880, 1399413877, 1399413882, 1399413876, 1399413879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00034546852112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:37:22.736443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/21/59/image_14122025_21_59_35_10615.jpg', '/home/pi/Desktop/images/14122025/21/59/image_14122025_21_59_45_9739.jpg', '/home/pi/Desktop/images/14122025/21/59/image_14122025_21_59_55_10063.jpg', '/home/pi/Desktop/images/14122025/22/01/image_14122025_22_01_24_10875.jpg', '/home/pi/Desktop/images/14122025/22/01/image_14122025_22_01_34_9797.jpg', '/home/pi/Desktop/images/14122025/22/01/image_14122025_22_01_44_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/21/59/image_14122025_21_59_35_10615.jpg
/home/pi/Desktop/images/14122025/21/59/image_14122025_21_59_45_9739.jpg
/home/pi/Desktop/images/14122025/21/59/image_14122025_21_59_55_10063.jpg
/home/pi/Desktop/images/14122025/22/01/image_14122025_22_01_24_10875.jpg
/home/pi/Desktop/images/14122025/22/01/image_14122025_22_01_34_9797.jpg
/home/pi/Desktop/images/14122025/22/01/image_14122025_22_01_44_9706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399413887","1399413884","1399413883","1399413886","1399413888","1399413885"],"photo_ids_order":["1399413883","1399413884","1399413885","1399413886","1399413887","1399413888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/682feffc99d85c34faa35207f93bbd8b.jpg","text":"TemporaryFile(/tmp/multipartBody8037203259371703168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748303348,"filename":"image_14122025_22_01_34_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a37499241cd10c4dd718c5acdd199fe9.jpg","text":"TemporaryFile(/tmp/multipartBody3107045028399052094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748303348,"filename":"image_14122025_21_59_45_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ea1625ecaebc79c2d42b0961a9461aa3.jpg","text":"TemporaryFile(/tmp/multipartBody1947957909119032940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748303348,"filename":"image_14122025_21_59_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d23a5810672809c61a4bd26728da5c0.jpg","text":"TemporaryFile(/tmp/multipartBody3822705716656576843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748303348,"filename":"image_14122025_22_01_24_10875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/598c72cb6484a1a2f8f01ce33db32c44.jpg","text":"TemporaryFile(/tmp/multipartBody7357031414076753034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748303348,"filename":"image_14122025_22_01_44_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56125f8b5282a156e3294872c35d40f5.jpg","text":"TemporaryFile(/tmp/multipartBody8887049424789968263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748303348,"filename":"image_14122025_21_59_55_10063.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413885","file1":"1399413884","file0":"1399413883","file4":"1399413887","file5":"1399413888","file3":"1399413886"},"map_files_photo_id_array":[{"photo_id":"1399413888","filename":"file5"},{"photo_id":"1399413885","filename":"file2"},{"photo_id":"1399413887","filename":"file4"},{"photo_id":"1399413884","filename":"file1"},{"photo_id":"1399413883","filename":"file0"},{"photo_id":"1399413886","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399413887":["hashtag1","hashtag2"]},{"1399413884":["hashtag1","hashtag2"]},{"1399413883":["hashtag1","hashtag2"]},{"1399413886":["hashtag1","hashtag2"]},{"1399413888":["hashtag1","hashtag2"]},{"1399413885":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399413887, 1399413884, 1399413883, 1399413886, 1399413888, 1399413885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01764440536499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:38:02.451449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/01/image_14122025_22_01_54_9704.jpg', '/home/pi/Desktop/images/14122025/22/01/image_14122025_22_02_04_10636.jpg', '/home/pi/Desktop/images/14122025/22/02/image_14122025_22_02_14_9755.jpg', '/home/pi/Desktop/images/14122025/22/02/image_14122025_22_02_24_9809.jpg', '/home/pi/Desktop/images/14122025/22/02/image_14122025_22_02_33_9705.jpg', '/home/pi/Desktop/images/14122025/22/02/image_14122025_22_02_44_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/01/image_14122025_22_01_54_9704.jpg
/home/pi/Desktop/images/14122025/22/01/image_14122025_22_02_04_10636.jpg
/home/pi/Desktop/images/14122025/22/02/image_14122025_22_02_14_9755.jpg
/home/pi/Desktop/images/14122025/22/02/image_14122025_22_02_24_9809.jpg
/home/pi/Desktop/images/14122025/22/02/image_14122025_22_02_33_9705.jpg
/home/pi/Desktop/images/14122025/22/02/image_14122025_22_02_44_10699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399413890","1399413893","1399413892","1399413889","1399413894","1399413891"],"photo_ids_order":["1399413889","1399413890","1399413891","1399413892","1399413893","1399413894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fc5bd14384f8b703cfdc127a823fbd57.jpg","text":"TemporaryFile(/tmp/multipartBody5401470708619826389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748343078,"filename":"image_14122025_22_02_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/12/14/33ced529af553c08b5d5950e22c107be.jpg","text":"TemporaryFile(/tmp/multipartBody399547500881779260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748343078,"filename":"image_14122025_22_02_33_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/26461a625881472d12fa0d235e90c54e.jpg","text":"TemporaryFile(/tmp/multipartBody7098551889583488610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748343078,"filename":"image_14122025_22_02_24_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5dbcd04e1d5c00f8612a7c4ea7bace47.jpg","text":"TemporaryFile(/tmp/multipartBody4935067291474961245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748343078,"filename":"image_14122025_22_01_54_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/855fb2039df8d81550bb5970c955323b.jpg","text":"TemporaryFile(/tmp/multipartBody2277073278746581224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748343078,"filename":"image_14122025_22_02_44_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3a004ddf6fa05c70d1e456ec180f2277.jpg","text":"TemporaryFile(/tmp/multipartBody2511421701963679242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748343078,"filename":"image_14122025_22_02_14_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413891","file1":"1399413890","file0":"1399413889","file4":"1399413893","file5":"1399413894","file3":"1399413892"},"map_files_photo_id_array":[{"photo_id":"1399413894","filename":"file5"},{"photo_id":"1399413891","filename":"file2"},{"photo_id":"1399413893","filename":"file4"},{"photo_id":"1399413890","filename":"file1"},{"photo_id":"1399413889","filename":"file0"},{"photo_id":"1399413892","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399413890":["hashtag1","hashtag2"]},{"1399413893":["hashtag1","hashtag2"]},{"1399413892":["hashtag1","hashtag2"]},{"1399413889":["hashtag1","hashtag2"]},{"1399413894":["hashtag1","hashtag2"]},{"1399413891":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399413890, 1399413893, 1399413892, 1399413889, 1399413894, 1399413891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24982714653015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:38:41.917805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_01_1626.jpg', '/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_09_7369.jpg', '/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_12_1694.jpg', '/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_14_1617.jpg', '/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_29_15466.jpg', '/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_31_1626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_01_1626.jpg
/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_09_7369.jpg
/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_12_1694.jpg
/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_14_1617.jpg
/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_29_15466.jpg
/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_31_1626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399413900","1399413899","1399413898","1399413902","1399413895","1399413897"],"photo_ids_order":["1399413895","1399413897","1399413898","1399413899","1399413900","1399413902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d67e59a3fc80254f448656580d52974.jpg","text":"TemporaryFile(/tmp/multipartBody7572844889219578733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748382589,"filename":"image_04112025_15_12_29_15466.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a0ea1c11fa3644de3c016b575d71dc63.jpg","text":"TemporaryFile(/tmp/multipartBody7848862473086763570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748382589,"filename":"image_04112025_15_12_14_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/18bbf8d8fd38815350c4813cb6b06be0.jpg","text":"TemporaryFile(/tmp/multipartBody2506592656050687540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748382589,"filename":"image_04112025_15_12_12_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/892e4d1136dfb5a3efe5daa420a87bf6.jpg","text":"TemporaryFile(/tmp/multipartBody53632330410570351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748382589,"filename":"image_04112025_15_12_31_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d1933f807ee1ed50b223114f7ce80a75.jpg","text":"TemporaryFile(/tmp/multipartBody8765738530860942343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748382589,"filename":"image_04112025_15_12_01_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3cdaccd5fb7aa88442990d4b26c5668b.jpg","text":"TemporaryFile(/tmp/multipartBody1854835946053631143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748382589,"filename":"image_04112025_15_12_09_7369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413898","file1":"1399413897","file0":"1399413895","file4":"1399413900","file5":"1399413902","file3":"1399413899"},"map_files_photo_id_array":[{"photo_id":"1399413902","filename":"file5"},{"photo_id":"1399413898","filename":"file2"},{"photo_id":"1399413900","filename":"file4"},{"photo_id":"1399413897","filename":"file1"},{"photo_id":"1399413895","filename":"file0"},{"photo_id":"1399413899","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399413900":["hashtag1","hashtag2"]},{"1399413899":["hashtag1","hashtag2"]},{"1399413898":["hashtag1","hashtag2"]},{"1399413902":["hashtag1","hashtag2"]},{"1399413895":["hashtag1","hashtag2"]},{"1399413897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399413900, 1399413899, 1399413898, 1399413902, 1399413895, 1399413897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.471405267715454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:39:22.185224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/02/image_14122025_22_02_54_9749.jpg', '/home/pi/Desktop/images/14122025/22/02/image_14122025_22_03_04_9598.jpg', '/home/pi/Desktop/images/14122025/22/03/image_14122025_22_03_14_10870.jpg', '/home/pi/Desktop/images/14122025/22/03/image_14122025_22_03_24_9642.jpg', '/home/pi/Desktop/images/14122025/22/03/image_14122025_22_03_34_9728.jpg', '/home/pi/Desktop/images/14122025/22/03/image_14122025_22_03_43_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/02/image_14122025_22_02_54_9749.jpg
/home/pi/Desktop/images/14122025/22/02/image_14122025_22_03_04_9598.jpg
/home/pi/Desktop/images/14122025/22/03/image_14122025_22_03_14_10870.jpg
/home/pi/Desktop/images/14122025/22/03/image_14122025_22_03_24_9642.jpg
/home/pi/Desktop/images/14122025/22/03/image_14122025_22_03_34_9728.jpg
/home/pi/Desktop/images/14122025/22/03/image_14122025_22_03_43_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":["1399413909","1399413903","1399413906","1399413905","1399413904","1399413907"],"photo_ids_order":["1399413903","1399413904","1399413905","1399413906","1399413907","1399413909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8ddb782b3176361569432adc8b5a41a2.jpg","text":"TemporaryFile(/tmp/multipartBody4174533370319651139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748422806,"filename":"image_14122025_22_03_43_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7570e8a80b285e35babe6cb5c00d4aa6.jpg","text":"TemporaryFile(/tmp/multipartBody2254576314929945451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748422806,"filename":"image_14122025_22_02_54_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ac22114613758d390d2f0f7ea4578d1.jpg","text":"TemporaryFile(/tmp/multipartBody3157040582691880478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748422806,"filename":"image_14122025_22_03_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ded56c57e05a52a2ef1beb931d02bf6e.jpg","text":"TemporaryFile(/tmp/multipartBody918772254777607834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748422806,"filename":"image_14122025_22_03_14_10870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a76c955cd48f8eb75b9cc383252121ca.jpg","text":"TemporaryFile(/tmp/multipartBody8428896469559916284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748422806,"filename":"image_14122025_22_03_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/12/14/a51f991e5d3ac6d22f2e5c4921520c11.jpg","text":"TemporaryFile(/tmp/multipartBody4711388531423743076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748422806,"filename":"image_14122025_22_03_34_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413905","file1":"1399413904","file0":"1399413903","file4":"1399413907","file5":"1399413909","file3":"1399413906"},"map_files_photo_id_array":[{"photo_id":"1399413909","filename":"file5"},{"photo_id":"1399413905","filename":"file2"},{"photo_id":"1399413907","filename":"file4"},{"photo_id":"1399413904","filename":"file1"},{"photo_id":"1399413903","filename":"file0"},{"photo_id":"1399413906","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399413909":["hashtag1","hashtag2"]},{"1399413903":["hashtag1","hashtag2"]},{"1399413906":["hashtag1","hashtag2"]},{"1399413905":["hashtag1","hashtag2"]},{"1399413904":["hashtag1","hashtag2"]},{"1399413907":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399413909, 1399413903, 1399413906, 1399413905, 1399413904, 1399413907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.457746267318726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:40:02.873489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/03/image_14122025_22_03_54_10861.jpg', '/home/pi/Desktop/images/14122025/22/03/image_14122025_22_04_04_9648.jpg', '/home/pi/Desktop/images/14122025/22/04/image_14122025_22_04_14_9732.jpg', '/home/pi/Desktop/images/14122025/22/04/image_14122025_22_04_24_10685.jpg', '/home/pi/Desktop/images/14122025/22/04/image_14122025_22_04_34_9614.jpg', '/home/pi/Desktop/images/14122025/22/04/image_14122025_22_04_44_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/03/image_14122025_22_03_54_10861.jpg
/home/pi/Desktop/images/14122025/22/03/image_14122025_22_04_04_9648.jpg
/home/pi/Desktop/images/14122025/22/04/image_14122025_22_04_14_9732.jpg
/home/pi/Desktop/images/14122025/22/04/image_14122025_22_04_24_10685.jpg
/home/pi/Desktop/images/14122025/22/04/image_14122025_22_04_34_9614.jpg
/home/pi/Desktop/images/14122025/22/04/image_14122025_22_04_44_9747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399413915","1399413911","1399413914","1399413916","1399413913","1399413912"],"photo_ids_order":["1399413911","1399413912","1399413913","1399413914","1399413915","1399413916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be0b7da9fae1542628a8915721b122c0.jpg","text":"TemporaryFile(/tmp/multipartBody8688738889439515665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748463522,"filename":"image_14122025_22_04_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1bf90a69acb75b936bce7c331a20374a.jpg","text":"TemporaryFile(/tmp/multipartBody191702820865121754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748463522,"filename":"image_14122025_22_03_54_10861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/04dfd8aca9c836a45e74aa3b38f7d7aa.jpg","text":"TemporaryFile(/tmp/multipartBody8555062496548546186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748463522,"filename":"image_14122025_22_04_24_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/721d7e3695a267f3812ff65472e5f888.jpg","text":"TemporaryFile(/tmp/multipartBody9143106601777969040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748463522,"filename":"image_14122025_22_04_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/12/14/2f4c1b8a2aa024745b7b487bc0cbc80b.jpg","text":"TemporaryFile(/tmp/multipartBody4015803457054586418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748463522,"filename":"image_14122025_22_04_14_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/55134180e0dfa636ff7e6072290bada4.jpg","text":"TemporaryFile(/tmp/multipartBody1865920082981988649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748463522,"filename":"image_14122025_22_04_04_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413913","file1":"1399413912","file0":"1399413911","file4":"1399413915","file5":"1399413916","file3":"1399413914"},"map_files_photo_id_array":[{"photo_id":"1399413916","filename":"file5"},{"photo_id":"1399413913","filename":"file2"},{"photo_id":"1399413915","filename":"file4"},{"photo_id":"1399413912","filename":"file1"},{"photo_id":"1399413911","filename":"file0"},{"photo_id":"1399413914","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399413915":["hashtag1","hashtag2"]},{"1399413911":["hashtag1","hashtag2"]},{"1399413914":["hashtag1","hashtag2"]},{"1399413916":["hashtag1","hashtag2"]},{"1399413913":["hashtag1","hashtag2"]},{"1399413912":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399413915, 1399413911, 1399413914, 1399413916, 1399413913, 1399413912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.104493618011475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:40:42.385509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_32_1664.jpg', '/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_34_1580.jpg', '/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_46_11780.jpg', '/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_47_1582.jpg', '/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_49_1638.jpg', '/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_51_1542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_32_1664.jpg
/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_34_1580.jpg
/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_46_11780.jpg
/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_47_1582.jpg
/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_49_1638.jpg
/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_51_1542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399413921","1399413918","1399413923","1399413920","1399413922","1399413919"],"photo_ids_order":["1399413918","1399413919","1399413920","1399413921","1399413922","1399413923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/de3f9b5438e5ea4887399a10550ef4a3.jpg","text":"TemporaryFile(/tmp/multipartBody7261816344917281220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748503078,"filename":"image_04112025_15_12_47_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/43fd83d37bcf59fa693cf15dc1867c6e.jpg","text":"TemporaryFile(/tmp/multipartBody7592929086055409375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748503078,"filename":"image_04112025_15_12_32_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6d962ed091a266a6441d8fb5e8bb8dec.jpg","text":"TemporaryFile(/tmp/multipartBody6573289330156462792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748503078,"filename":"image_04112025_15_12_51_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/801a16afd88cc5e6fed181def94d2a20.jpg","text":"TemporaryFile(/tmp/multipartBody4756695560774743468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748503078,"filename":"image_04112025_15_12_46_11780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf6627a0a351bf0aa7d8d08b6d565172.jpg","text":"TemporaryFile(/tmp/multipartBody233230705510841228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748503078,"filename":"image_04112025_15_12_49_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/33ec5424720dee418f4c46dd796cd713.jpg","text":"TemporaryFile(/tmp/multipartBody1724258696231260048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748503078,"filename":"image_04112025_15_12_34_1580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413920","file1":"1399413919","file0":"1399413918","file4":"1399413922","file5":"1399413923","file3":"1399413921"},"map_files_photo_id_array":[{"photo_id":"1399413923","filename":"file5"},{"photo_id":"1399413920","filename":"file2"},{"photo_id":"1399413922","filename":"file4"},{"photo_id":"1399413919","filename":"file1"},{"photo_id":"1399413918","filename":"file0"},{"photo_id":"1399413921","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399413921":["hashtag1","hashtag2"]},{"1399413918":["hashtag1","hashtag2"]},{"1399413923":["hashtag1","hashtag2"]},{"1399413920":["hashtag1","hashtag2"]},{"1399413922":["hashtag1","hashtag2"]},{"1399413919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399413921, 1399413918, 1399413923, 1399413920, 1399413922, 1399413919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28574323654175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:41:22.668838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/04/image_14122025_22_04_53_9674.jpg', '/home/pi/Desktop/images/14122025/22/06/image_14122025_22_06_14_10037.jpg', '/home/pi/Desktop/images/14122025/22/06/image_14122025_22_06_25_10606.jpg', '/home/pi/Desktop/images/14122025/22/06/image_14122025_22_06_44_9798.jpg', '/home/pi/Desktop/images/14122025/22/06/image_14122025_22_06_55_10791.jpg', '/home/pi/Desktop/images/14122025/22/06/image_14122025_22_07_05_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/04/image_14122025_22_04_53_9674.jpg
/home/pi/Desktop/images/14122025/22/06/image_14122025_22_06_14_10037.jpg
/home/pi/Desktop/images/14122025/22/06/image_14122025_22_06_25_10606.jpg
/home/pi/Desktop/images/14122025/22/06/image_14122025_22_06_44_9798.jpg
/home/pi/Desktop/images/14122025/22/06/image_14122025_22_06_55_10791.jpg
/home/pi/Desktop/images/14122025/22/06/image_14122025_22_07_05_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":["1399413924","1399413926","1399413928","1399413925","1399413933","1399413927"],"photo_ids_order":["1399413924","1399413925","1399413926","1399413927","1399413928","1399413933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d69227cea48ce1cbdba4f397ec4e56dd.jpg","text":"TemporaryFile(/tmp/multipartBody2091788086997717736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748543290,"filename":"image_14122025_22_04_53_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/86b589800d2de64457aeb58391d5c6b4.jpg","text":"TemporaryFile(/tmp/multipartBody7727248000500463053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748543290,"filename":"image_14122025_22_06_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/12/14/0b7c39878713221f328a05ee8853fe16.jpg","text":"TemporaryFile(/tmp/multipartBody6201278843173018163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748543290,"filename":"image_14122025_22_06_55_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f891aa5575d642e19bdeb7faf960ef7.jpg","text":"TemporaryFile(/tmp/multipartBody2635300983947565983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748543290,"filename":"image_14122025_22_06_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c27862651d63e52dc6c557932fa918a9.jpg","text":"TemporaryFile(/tmp/multipartBody1124536046638645650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748543290,"filename":"image_14122025_22_07_05_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/64dd8e93d4d3f9fadad2c563271466a1.jpg","text":"TemporaryFile(/tmp/multipartBody6357060734015087712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748543290,"filename":"image_14122025_22_06_44_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413926","file1":"1399413925","file0":"1399413924","file4":"1399413928","file5":"1399413933","file3":"1399413927"},"map_files_photo_id_array":[{"photo_id":"1399413933","filename":"file5"},{"photo_id":"1399413926","filename":"file2"},{"photo_id":"1399413928","filename":"file4"},{"photo_id":"1399413925","filename":"file1"},{"photo_id":"1399413924","filename":"file0"},{"photo_id":"1399413927","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399413924":["hashtag1","hashtag2"]},{"1399413926":["hashtag1","hashtag2"]},{"1399413928":["hashtag1","hashtag2"]},{"1399413925":["hashtag1","hashtag2"]},{"1399413933":["hashtag1","hashtag2"]},{"1399413927":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399413924, 1399413926, 1399413928, 1399413925, 1399413933, 1399413927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03787636756897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:42:02.370131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/07/image_14122025_22_07_14_9710.jpg', '/home/pi/Desktop/images/14122025/22/07/image_14122025_22_07_25_10653.jpg', '/home/pi/Desktop/images/14122025/22/07/image_14122025_22_07_35_9858.jpg', '/home/pi/Desktop/images/14122025/22/07/image_14122025_22_07_45_9661.jpg', '/home/pi/Desktop/images/14122025/22/07/image_14122025_22_07_54_9776.jpg', '/home/pi/Desktop/images/14122025/22/07/image_14122025_22_08_04_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/07/image_14122025_22_07_14_9710.jpg
/home/pi/Desktop/images/14122025/22/07/image_14122025_22_07_25_10653.jpg
/home/pi/Desktop/images/14122025/22/07/image_14122025_22_07_35_9858.jpg
/home/pi/Desktop/images/14122025/22/07/image_14122025_22_07_45_9661.jpg
/home/pi/Desktop/images/14122025/22/07/image_14122025_22_07_54_9776.jpg
/home/pi/Desktop/images/14122025/22/07/image_14122025_22_08_04_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":["1399413936","1399413935","1399413938","1399413940","1399413937","1399413939"],"photo_ids_order":["1399413935","1399413936","1399413937","1399413938","1399413939","1399413940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1c72cb06346ffe9400d9107c3f93820.jpg","text":"TemporaryFile(/tmp/multipartBody233434984232132843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748583052,"filename":"image_14122025_22_07_25_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/413e1c7911d47393c797b886ef7c5d70.jpg","text":"TemporaryFile(/tmp/multipartBody7251481814773011187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748583052,"filename":"image_14122025_22_07_14_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69fde4805b6e75a0b9a040c278161d07.jpg","text":"TemporaryFile(/tmp/multipartBody7482976496390740599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748583052,"filename":"image_14122025_22_07_45_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3cfec5433493bbbfc2702ccf5d4010b5.jpg","text":"TemporaryFile(/tmp/multipartBody7253818485162160090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748583052,"filename":"image_14122025_22_08_04_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4eeb63a25aeee2fa1a78a753f2b0501c.jpg","text":"TemporaryFile(/tmp/multipartBody6990267884487206635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748583052,"filename":"image_14122025_22_07_35_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/73703581c194f85c9eccf71ae21f3e9e.jpg","text":"TemporaryFile(/tmp/multipartBody9000798474721410805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748583052,"filename":"image_14122025_22_07_54_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413937","file1":"1399413936","file0":"1399413935","file4":"1399413939","file5":"1399413940","file3":"1399413938"},"map_files_photo_id_array":[{"photo_id":"1399413940","filename":"file5"},{"photo_id":"1399413937","filename":"file2"},{"photo_id":"1399413939","filename":"file4"},{"photo_id":"1399413936","filename":"file1"},{"photo_id":"1399413935","filename":"file0"},{"photo_id":"1399413938","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399413936":["hashtag1","hashtag2"]},{"1399413935":["hashtag1","hashtag2"]},{"1399413938":["hashtag1","hashtag2"]},{"1399413940":["hashtag1","hashtag2"]},{"1399413937":["hashtag1","hashtag2"]},{"1399413939":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399413936, 1399413935, 1399413938, 1399413940, 1399413937, 1399413939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75692892074585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:42:41.944220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_52_1580.jpg', '/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_54_1532.jpg', '/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_55_1610.jpg', '/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_57_1702.jpg', '/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_59_1681.jpg', '/home/pi/Desktop/images/04112025/15/12/image_04112025_15_13_00_1557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_52_1580.jpg
/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_54_1532.jpg
/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_55_1610.jpg
/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_57_1702.jpg
/home/pi/Desktop/images/04112025/15/12/image_04112025_15_12_59_1681.jpg
/home/pi/Desktop/images/04112025/15/12/image_04112025_15_13_00_1557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399413942","1399413941","1399413944","1399413947","1399413943","1399413945"],"photo_ids_order":["1399413941","1399413942","1399413943","1399413944","1399413945","1399413947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/42a555c47908220b73d2b74cd4c883e4.jpg","text":"TemporaryFile(/tmp/multipartBody3168307727516874372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748622635,"filename":"image_04112025_15_12_54_1532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/87002e522aedd349427903f2b757409c.jpg","text":"TemporaryFile(/tmp/multipartBody3006555137347506257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748622635,"filename":"image_04112025_15_12_52_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e4c891d0c99f43da803fe45f6b7ea201.jpg","text":"TemporaryFile(/tmp/multipartBody5013584258626646594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748622635,"filename":"image_04112025_15_12_57_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a96a76d62ee4c641b7629a3f23a952c2.jpg","text":"TemporaryFile(/tmp/multipartBody5693148705120615031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748622635,"filename":"image_04112025_15_13_00_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4d33c821ba205a28c4b7a1c420660026.jpg","text":"TemporaryFile(/tmp/multipartBody9151081882896634407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748622635,"filename":"image_04112025_15_12_55_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c495f493ef76d7779596d1bd7cae2aa4.jpg","text":"TemporaryFile(/tmp/multipartBody6337937243021685931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748622635,"filename":"image_04112025_15_12_59_1681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413943","file1":"1399413942","file0":"1399413941","file4":"1399413945","file5":"1399413947","file3":"1399413944"},"map_files_photo_id_array":[{"photo_id":"1399413947","filename":"file5"},{"photo_id":"1399413943","filename":"file2"},{"photo_id":"1399413945","filename":"file4"},{"photo_id":"1399413942","filename":"file1"},{"photo_id":"1399413941","filename":"file0"},{"photo_id":"1399413944","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399413942":["hashtag1","hashtag2"]},{"1399413941":["hashtag1","hashtag2"]},{"1399413944":["hashtag1","hashtag2"]},{"1399413947":["hashtag1","hashtag2"]},{"1399413943":["hashtag1","hashtag2"]},{"1399413945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399413942, 1399413941, 1399413944, 1399413947, 1399413943, 1399413945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55179047584534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:43:22.220885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/08/image_14122025_22_08_15_10704.jpg', '/home/pi/Desktop/images/14122025/22/08/image_14122025_22_08_25_9777.jpg', '/home/pi/Desktop/images/14122025/22/08/image_14122025_22_08_34_9774.jpg', '/home/pi/Desktop/images/14122025/22/08/image_14122025_22_08_44_9947.jpg', '/home/pi/Desktop/images/14122025/22/08/image_14122025_22_08_55_10745.jpg', '/home/pi/Desktop/images/14122025/22/08/image_14122025_22_09_05_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/08/image_14122025_22_08_15_10704.jpg
/home/pi/Desktop/images/14122025/22/08/image_14122025_22_08_25_9777.jpg
/home/pi/Desktop/images/14122025/22/08/image_14122025_22_08_34_9774.jpg
/home/pi/Desktop/images/14122025/22/08/image_14122025_22_08_44_9947.jpg
/home/pi/Desktop/images/14122025/22/08/image_14122025_22_08_55_10745.jpg
/home/pi/Desktop/images/14122025/22/08/image_14122025_22_09_05_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":["1399413950","1399413952","1399413949","1399413951","1399413954","1399413948"],"photo_ids_order":["1399413948","1399413949","1399413950","1399413951","1399413952","1399413954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/74ec7ca0fa02bd106ccc8067b84c9f72.jpg","text":"TemporaryFile(/tmp/multipartBody8824327994960207893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748662840,"filename":"image_14122025_22_08_34_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a9714b6bc34c91a3f123a0f44015b4d.jpg","text":"TemporaryFile(/tmp/multipartBody4174687236380103654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748662840,"filename":"image_14122025_22_08_55_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/15a6ce0ed77c02520c1b5bf94ee92572.jpg","text":"TemporaryFile(/tmp/multipartBody6557225408600299674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748662840,"filename":"image_14122025_22_08_25_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7eb18f37ceea0a688cd83ba040309989.jpg","text":"TemporaryFile(/tmp/multipartBody642016520526935982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748662840,"filename":"image_14122025_22_08_44_9947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7cf82c45d7cd70b8bd3800f178f5c0ad.jpg","text":"TemporaryFile(/tmp/multipartBody4666685318909652276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748662840,"filename":"image_14122025_22_09_05_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a628b949bc3e1e00c4bbd12d1895a9d5.jpg","text":"TemporaryFile(/tmp/multipartBody4807732472543881075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748662840,"filename":"image_14122025_22_08_15_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413950","file1":"1399413949","file0":"1399413948","file4":"1399413952","file5":"1399413954","file3":"1399413951"},"map_files_photo_id_array":[{"photo_id":"1399413954","filename":"file5"},{"photo_id":"1399413950","filename":"file2"},{"photo_id":"1399413952","filename":"file4"},{"photo_id":"1399413949","filename":"file1"},{"photo_id":"1399413948","filename":"file0"},{"photo_id":"1399413951","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399413950":["hashtag1","hashtag2"]},{"1399413952":["hashtag1","hashtag2"]},{"1399413949":["hashtag1","hashtag2"]},{"1399413951":["hashtag1","hashtag2"]},{"1399413954":["hashtag1","hashtag2"]},{"1399413948":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399413950, 1399413952, 1399413949, 1399413951, 1399413954, 1399413948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26205921173096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:44:03.201160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/09/image_14122025_22_09_14_9829.jpg', '/home/pi/Desktop/images/14122025/22/10/image_14122025_22_10_24_9941.jpg', '/home/pi/Desktop/images/14122025/22/10/image_14122025_22_10_35_10635.jpg', '/home/pi/Desktop/images/14122025/22/10/image_14122025_22_10_45_9677.jpg', '/home/pi/Desktop/images/14122025/22/10/image_14122025_22_10_55_9881.jpg', '/home/pi/Desktop/images/14122025/22/10/image_14122025_22_11_04_9896.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/09/image_14122025_22_09_14_9829.jpg
/home/pi/Desktop/images/14122025/22/10/image_14122025_22_10_24_9941.jpg
/home/pi/Desktop/images/14122025/22/10/image_14122025_22_10_35_10635.jpg
/home/pi/Desktop/images/14122025/22/10/image_14122025_22_10_45_9677.jpg
/home/pi/Desktop/images/14122025/22/10/image_14122025_22_10_55_9881.jpg
/home/pi/Desktop/images/14122025/22/10/image_14122025_22_11_04_9896.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.58681321144104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 22:44:12.531113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:44:22.573468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/09/image_14122025_22_09_14_9829.jpg', '/home/pi/Desktop/images/14122025/22/10/image_14122025_22_10_24_9941.jpg', '/home/pi/Desktop/images/14122025/22/10/image_14122025_22_10_35_10635.jpg', '/home/pi/Desktop/images/14122025/22/10/image_14122025_22_10_45_9677.jpg', '/home/pi/Desktop/images/14122025/22/10/image_14122025_22_10_55_9881.jpg', '/home/pi/Desktop/images/14122025/22/10/image_14122025_22_11_04_9896.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/09/image_14122025_22_09_14_9829.jpg
/home/pi/Desktop/images/14122025/22/10/image_14122025_22_10_24_9941.jpg
/home/pi/Desktop/images/14122025/22/10/image_14122025_22_10_35_10635.jpg
/home/pi/Desktop/images/14122025/22/10/image_14122025_22_10_45_9677.jpg
/home/pi/Desktop/images/14122025/22/10/image_14122025_22_10_55_9881.jpg
/home/pi/Desktop/images/14122025/22/10/image_14122025_22_11_04_9896.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399413971","1399413962","1399413965","1399413964","1399413967","1399413966"],"photo_ids_order":["1399413962","1399413964","1399413965","1399413966","1399413967","1399413971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94232f945936f0590569f1568eb52346.jpg","text":"TemporaryFile(/tmp/multipartBody6302578568246712718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748723226,"filename":"image_14122025_22_11_04_9896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/20b5f1b520e1e61930a0bc0f7ad02d4d.jpg","text":"TemporaryFile(/tmp/multipartBody132609253541912436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748723226,"filename":"image_14122025_22_09_14_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bea6bf8cde4b8cee236fcfe0978754fe.jpg","text":"TemporaryFile(/tmp/multipartBody7646619414606947849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748723226,"filename":"image_14122025_22_10_35_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f1c6ef85e6eb9a71a20a69817ea336b.jpg","text":"TemporaryFile(/tmp/multipartBody1042894215321760027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748723226,"filename":"image_14122025_22_10_24_9941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/93de2686c36b39c17cd79a961f4df637.jpg","text":"TemporaryFile(/tmp/multipartBody2856720740919063646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748723226,"filename":"image_14122025_22_10_55_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c470ac8e0b69739a50211f89b37e68a6.jpg","text":"TemporaryFile(/tmp/multipartBody7958908006915795356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748723226,"filename":"image_14122025_22_10_45_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413965","file1":"1399413964","file0":"1399413962","file4":"1399413967","file5":"1399413971","file3":"1399413966"},"map_files_photo_id_array":[{"photo_id":"1399413971","filename":"file5"},{"photo_id":"1399413965","filename":"file2"},{"photo_id":"1399413967","filename":"file4"},{"photo_id":"1399413964","filename":"file1"},{"photo_id":"1399413962","filename":"file0"},{"photo_id":"1399413966","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399413971":["hashtag1","hashtag2"]},{"1399413962":["hashtag1","hashtag2"]},{"1399413965":["hashtag1","hashtag2"]},{"1399413964":["hashtag1","hashtag2"]},{"1399413967":["hashtag1","hashtag2"]},{"1399413966":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399413971, 1399413962, 1399413965, 1399413964, 1399413967, 1399413966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.825846433639526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:45:03.430076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/11/image_14122025_22_11_15_10619.jpg', '/home/pi/Desktop/images/14122025/22/11/image_14122025_22_11_25_9746.jpg', '/home/pi/Desktop/images/14122025/22/11/image_14122025_22_11_34_9558.jpg', '/home/pi/Desktop/images/14122025/22/11/image_14122025_22_11_45_10824.jpg', '/home/pi/Desktop/images/14122025/22/11/image_14122025_22_11_55_9645.jpg', '/home/pi/Desktop/images/14122025/22/11/image_14122025_22_12_04_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/11/image_14122025_22_11_15_10619.jpg
/home/pi/Desktop/images/14122025/22/11/image_14122025_22_11_25_9746.jpg
/home/pi/Desktop/images/14122025/22/11/image_14122025_22_11_34_9558.jpg
/home/pi/Desktop/images/14122025/22/11/image_14122025_22_11_45_10824.jpg
/home/pi/Desktop/images/14122025/22/11/image_14122025_22_11_55_9645.jpg
/home/pi/Desktop/images/14122025/22/11/image_14122025_22_12_04_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.5619473457336426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 22:45:12.850463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:45:22.786298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/11/image_14122025_22_11_15_10619.jpg', '/home/pi/Desktop/images/14122025/22/11/image_14122025_22_11_25_9746.jpg', '/home/pi/Desktop/images/14122025/22/11/image_14122025_22_11_34_9558.jpg', '/home/pi/Desktop/images/14122025/22/11/image_14122025_22_11_45_10824.jpg', '/home/pi/Desktop/images/14122025/22/11/image_14122025_22_11_55_9645.jpg', '/home/pi/Desktop/images/14122025/22/11/image_14122025_22_12_04_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/11/image_14122025_22_11_15_10619.jpg
/home/pi/Desktop/images/14122025/22/11/image_14122025_22_11_25_9746.jpg
/home/pi/Desktop/images/14122025/22/11/image_14122025_22_11_34_9558.jpg
/home/pi/Desktop/images/14122025/22/11/image_14122025_22_11_45_10824.jpg
/home/pi/Desktop/images/14122025/22/11/image_14122025_22_11_55_9645.jpg
/home/pi/Desktop/images/14122025/22/11/image_14122025_22_12_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":["1399413980","1399413983","1399413977","1399413979","1399413981","1399413978"],"photo_ids_order":["1399413977","1399413978","1399413979","1399413980","1399413981","1399413983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c3b865526d17b6e158695e8b9aef22c4.jpg","text":"TemporaryFile(/tmp/multipartBody5600517626958700858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748783408,"filename":"image_14122025_22_11_45_10824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/93be2519de02b8c8be22362e62c3c8ca.jpg","text":"TemporaryFile(/tmp/multipartBody4640734619387770511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748783408,"filename":"image_14122025_22_12_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/12/14/117da272f1eb2779d4ae6610834c3474.jpg","text":"TemporaryFile(/tmp/multipartBody6193849150637685608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748783408,"filename":"image_14122025_22_11_15_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b8c57d39928361c677f58c25d14680ea.jpg","text":"TemporaryFile(/tmp/multipartBody5742109970277785500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748783408,"filename":"image_14122025_22_11_34_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a2f455894624b9faffda69bb38d9b93c.jpg","text":"TemporaryFile(/tmp/multipartBody4010272712018536313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748783408,"filename":"image_14122025_22_11_55_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8688dcfa9f0151293b52162eb9197479.jpg","text":"TemporaryFile(/tmp/multipartBody2309189800553796376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748783408,"filename":"image_14122025_22_11_25_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413979","file1":"1399413978","file0":"1399413977","file4":"1399413981","file5":"1399413983","file3":"1399413980"},"map_files_photo_id_array":[{"photo_id":"1399413983","filename":"file5"},{"photo_id":"1399413979","filename":"file2"},{"photo_id":"1399413981","filename":"file4"},{"photo_id":"1399413978","filename":"file1"},{"photo_id":"1399413977","filename":"file0"},{"photo_id":"1399413980","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399413980":["hashtag1","hashtag2"]},{"1399413983":["hashtag1","hashtag2"]},{"1399413977":["hashtag1","hashtag2"]},{"1399413979":["hashtag1","hashtag2"]},{"1399413981":["hashtag1","hashtag2"]},{"1399413978":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399413980, 1399413983, 1399413977, 1399413979, 1399413981, 1399413978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95622944831848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:46:02.411637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/12/image_14122025_22_12_15_10619.jpg', '/home/pi/Desktop/images/14122025/22/12/image_14122025_22_12_25_9547.jpg', '/home/pi/Desktop/images/14122025/22/12/image_14122025_22_12_55_9662.jpg', '/home/pi/Desktop/images/14122025/22/12/image_14122025_22_13_05_9719.jpg', '/home/pi/Desktop/images/14122025/22/13/image_14122025_22_13_15_10794.jpg', '/home/pi/Desktop/images/14122025/22/13/image_14122025_22_13_25_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/12/image_14122025_22_12_15_10619.jpg
/home/pi/Desktop/images/14122025/22/12/image_14122025_22_12_25_9547.jpg
/home/pi/Desktop/images/14122025/22/12/image_14122025_22_12_55_9662.jpg
/home/pi/Desktop/images/14122025/22/12/image_14122025_22_13_05_9719.jpg
/home/pi/Desktop/images/14122025/22/13/image_14122025_22_13_15_10794.jpg
/home/pi/Desktop/images/14122025/22/13/image_14122025_22_13_25_9792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399413986","1399413989","1399413985","1399413988","1399413987","1399413990"],"photo_ids_order":["1399413985","1399413986","1399413987","1399413988","1399413989","1399413990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c36283eb772301c257096d7e67d6ab6b.jpg","text":"TemporaryFile(/tmp/multipartBody3428627316570003444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748823047,"filename":"image_14122025_22_12_25_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a5eb74a04480ff65ad621704950eaab0.jpg","text":"TemporaryFile(/tmp/multipartBody4321538353296454719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748823047,"filename":"image_14122025_22_13_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/12/14/6236f5efcde81900f5de247e8b7692a4.jpg","text":"TemporaryFile(/tmp/multipartBody3116717314839481585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748823047,"filename":"image_14122025_22_12_15_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/694c32113e8eb94a6d15afb9662c9968.jpg","text":"TemporaryFile(/tmp/multipartBody3230198177195041619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748823047,"filename":"image_14122025_22_13_05_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d9b4fea55b470ae5bfdc6ab89b78a410.jpg","text":"TemporaryFile(/tmp/multipartBody332618487497504928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748823047,"filename":"image_14122025_22_12_55_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b9c7f1184c69602a687d6ff957321bd.jpg","text":"TemporaryFile(/tmp/multipartBody8228492645826235828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748823047,"filename":"image_14122025_22_13_25_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413987","file1":"1399413986","file0":"1399413985","file4":"1399413989","file5":"1399413990","file3":"1399413988"},"map_files_photo_id_array":[{"photo_id":"1399413990","filename":"file5"},{"photo_id":"1399413987","filename":"file2"},{"photo_id":"1399413989","filename":"file4"},{"photo_id":"1399413986","filename":"file1"},{"photo_id":"1399413985","filename":"file0"},{"photo_id":"1399413988","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399413986":["hashtag1","hashtag2"]},{"1399413989":["hashtag1","hashtag2"]},{"1399413985":["hashtag1","hashtag2"]},{"1399413988":["hashtag1","hashtag2"]},{"1399413987":["hashtag1","hashtag2"]},{"1399413990":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399413986, 1399413989, 1399413985, 1399413988, 1399413987, 1399413990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.506826400756836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:46:41.987252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_02_1872.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_04_1705.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_06_1797.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_07_1693.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_09_1774.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_11_1543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_02_1872.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_04_1705.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_06_1797.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_07_1693.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_09_1774.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_11_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":["1399413992","1399413995","1399413991","1399413994","1399413993","1399413996"],"photo_ids_order":["1399413991","1399413992","1399413993","1399413994","1399413995","1399413996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b5156b8ea9d3f3b3dc2f23d8433f677f.jpg","text":"TemporaryFile(/tmp/multipartBody5105006098901031597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748862682,"filename":"image_04112025_15_13_04_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8ad30f1ad82a3284de27c9995af073e7.jpg","text":"TemporaryFile(/tmp/multipartBody2278114585694164857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748862682,"filename":"image_04112025_15_13_09_1774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/951202c43b8528536b92dfc133f71e9d.jpg","text":"TemporaryFile(/tmp/multipartBody12297049061536296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748862682,"filename":"image_04112025_15_13_02_1872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/745dc8b0ec481536dffee153c7cde123.jpg","text":"TemporaryFile(/tmp/multipartBody3967568868913004443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748862682,"filename":"image_04112025_15_13_07_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d485aae4d0cd61e02483cf2c10ae5d93.jpg","text":"TemporaryFile(/tmp/multipartBody4263103365421609963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748862682,"filename":"image_04112025_15_13_06_1797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0372cc74051966efc0ab5c729e66097d.jpg","text":"TemporaryFile(/tmp/multipartBody2938333882947809347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748862682,"filename":"image_04112025_15_13_11_1543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399413993","file1":"1399413992","file0":"1399413991","file4":"1399413995","file5":"1399413996","file3":"1399413994"},"map_files_photo_id_array":[{"photo_id":"1399413996","filename":"file5"},{"photo_id":"1399413993","filename":"file2"},{"photo_id":"1399413995","filename":"file4"},{"photo_id":"1399413992","filename":"file1"},{"photo_id":"1399413991","filename":"file0"},{"photo_id":"1399413994","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399413992":["hashtag1","hashtag2"]},{"1399413995":["hashtag1","hashtag2"]},{"1399413991":["hashtag1","hashtag2"]},{"1399413994":["hashtag1","hashtag2"]},{"1399413993":["hashtag1","hashtag2"]},{"1399413996":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399413992, 1399413995, 1399413991, 1399413994, 1399413993, 1399413996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.550140380859375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:47:22.256272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/13/image_14122025_22_13_35_9679.jpg', '/home/pi/Desktop/images/14122025/22/13/image_14122025_22_13_44_9632.jpg', '/home/pi/Desktop/images/14122025/22/13/image_14122025_22_13_55_10720.jpg', '/home/pi/Desktop/images/14122025/22/13/image_14122025_22_14_05_9803.jpg', '/home/pi/Desktop/images/14122025/22/14/image_14122025_22_14_15_9651.jpg', '/home/pi/Desktop/images/14122025/22/14/image_14122025_22_14_25_10580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/13/image_14122025_22_13_35_9679.jpg
/home/pi/Desktop/images/14122025/22/13/image_14122025_22_13_44_9632.jpg
/home/pi/Desktop/images/14122025/22/13/image_14122025_22_13_55_10720.jpg
/home/pi/Desktop/images/14122025/22/13/image_14122025_22_14_05_9803.jpg
/home/pi/Desktop/images/14122025/22/14/image_14122025_22_14_15_9651.jpg
/home/pi/Desktop/images/14122025/22/14/image_14122025_22_14_25_10580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399413998","1399414001","1399414000","1399414006","1399413999","1399414002"],"photo_ids_order":["1399413998","1399413999","1399414000","1399414001","1399414002","1399414006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/67e3a95190fa256f7aa7df3dc896f488.jpg","text":"TemporaryFile(/tmp/multipartBody2793917518113080189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748902920,"filename":"image_14122025_22_13_35_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/048bfcc04fd1f56525cff5aeda3e4ee7.jpg","text":"TemporaryFile(/tmp/multipartBody8950767339799865723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748902920,"filename":"image_14122025_22_14_05_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f97a31e5db01fd9dbc7e5d63a2c28f44.jpg","text":"TemporaryFile(/tmp/multipartBody5058021904648368057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748902920,"filename":"image_14122025_22_13_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/12/14/f5565c8dadbcba2c10511530df247e1c.jpg","text":"TemporaryFile(/tmp/multipartBody2454643507918200139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748902920,"filename":"image_14122025_22_14_25_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63e7cdca71b2f30cf3579bb182da701f.jpg","text":"TemporaryFile(/tmp/multipartBody1159430974038214960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748902920,"filename":"image_14122025_22_13_44_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fd29647a4db2a1de31ce02e9f9c636af.jpg","text":"TemporaryFile(/tmp/multipartBody250826714450422525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748902920,"filename":"image_14122025_22_14_15_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399414000","file1":"1399413999","file0":"1399413998","file4":"1399414002","file5":"1399414006","file3":"1399414001"},"map_files_photo_id_array":[{"photo_id":"1399414006","filename":"file5"},{"photo_id":"1399414000","filename":"file2"},{"photo_id":"1399414002","filename":"file4"},{"photo_id":"1399413999","filename":"file1"},{"photo_id":"1399413998","filename":"file0"},{"photo_id":"1399414001","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399413998":["hashtag1","hashtag2"]},{"1399414001":["hashtag1","hashtag2"]},{"1399414000":["hashtag1","hashtag2"]},{"1399414006":["hashtag1","hashtag2"]},{"1399413999":["hashtag1","hashtag2"]},{"1399414002":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399413998, 1399414001, 1399414000, 1399414006, 1399413999, 1399414002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68411350250244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:48:02.858328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/14/image_14122025_22_14_35_9656.jpg', '/home/pi/Desktop/images/14122025/22/14/image_14122025_22_14_45_9665.jpg', '/home/pi/Desktop/images/14122025/22/14/image_14122025_22_14_55_10662.jpg', '/home/pi/Desktop/images/14122025/22/15/image_14122025_22_15_14_10057.jpg', '/home/pi/Desktop/images/14122025/22/15/image_14122025_22_15_34_9809.jpg', '/home/pi/Desktop/images/14122025/22/15/image_14122025_22_15_44_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/14/image_14122025_22_14_35_9656.jpg
/home/pi/Desktop/images/14122025/22/14/image_14122025_22_14_45_9665.jpg
/home/pi/Desktop/images/14122025/22/14/image_14122025_22_14_55_10662.jpg
/home/pi/Desktop/images/14122025/22/15/image_14122025_22_15_14_10057.jpg
/home/pi/Desktop/images/14122025/22/15/image_14122025_22_15_34_9809.jpg
/home/pi/Desktop/images/14122025/22/15/image_14122025_22_15_44_9801.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5718793869018555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 22:48:12.457646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:48:22.498766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/14/image_14122025_22_14_35_9656.jpg', '/home/pi/Desktop/images/14122025/22/14/image_14122025_22_14_45_9665.jpg', '/home/pi/Desktop/images/14122025/22/14/image_14122025_22_14_55_10662.jpg', '/home/pi/Desktop/images/14122025/22/15/image_14122025_22_15_14_10057.jpg', '/home/pi/Desktop/images/14122025/22/15/image_14122025_22_15_34_9809.jpg', '/home/pi/Desktop/images/14122025/22/15/image_14122025_22_15_44_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/14/image_14122025_22_14_35_9656.jpg
/home/pi/Desktop/images/14122025/22/14/image_14122025_22_14_45_9665.jpg
/home/pi/Desktop/images/14122025/22/14/image_14122025_22_14_55_10662.jpg
/home/pi/Desktop/images/14122025/22/15/image_14122025_22_15_14_10057.jpg
/home/pi/Desktop/images/14122025/22/15/image_14122025_22_15_34_9809.jpg
/home/pi/Desktop/images/14122025/22/15/image_14122025_22_15_44_9801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399414016","1399414019","1399414013","1399414015","1399414014","1399414017"],"photo_ids_order":["1399414013","1399414014","1399414015","1399414016","1399414017","1399414019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/efc6ba105c66327db622fc1dfda0f434.jpg","text":"TemporaryFile(/tmp/multipartBody3471149177981419011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748963121,"filename":"image_14122025_22_15_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/184ef3b1f66fc4616398ab7e4b8cf905.jpg","text":"TemporaryFile(/tmp/multipartBody3488402573004875318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748963121,"filename":"image_14122025_22_15_44_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d9b1b88b18ce95b977201fedacbc1c3e.jpg","text":"TemporaryFile(/tmp/multipartBody3648982456627861408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748963121,"filename":"image_14122025_22_14_35_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e75fe63b58d98625dc2ea902cf93d61b.jpg","text":"TemporaryFile(/tmp/multipartBody1218664320426352944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748963121,"filename":"image_14122025_22_14_55_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e75c9acea00e8f4ba8db14d0224f4b2e.jpg","text":"TemporaryFile(/tmp/multipartBody3947378330680517148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748963121,"filename":"image_14122025_22_14_45_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ca1f78637d1a32adef1c959cc080d81e.jpg","text":"TemporaryFile(/tmp/multipartBody5912999233579671113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765748963121,"filename":"image_14122025_22_15_34_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399414015","file1":"1399414014","file0":"1399414013","file4":"1399414017","file5":"1399414019","file3":"1399414016"},"map_files_photo_id_array":[{"photo_id":"1399414019","filename":"file5"},{"photo_id":"1399414015","filename":"file2"},{"photo_id":"1399414017","filename":"file4"},{"photo_id":"1399414014","filename":"file1"},{"photo_id":"1399414013","filename":"file0"},{"photo_id":"1399414016","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399414016":["hashtag1","hashtag2"]},{"1399414019":["hashtag1","hashtag2"]},{"1399414013":["hashtag1","hashtag2"]},{"1399414015":["hashtag1","hashtag2"]},{"1399414014":["hashtag1","hashtag2"]},{"1399414017":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399414016, 1399414019, 1399414013, 1399414015, 1399414014, 1399414017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42838668823242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:49:03.369195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/15/image_14122025_22_15_54_9656.jpg', '/home/pi/Desktop/images/14122025/22/15/image_14122025_22_16_04_10724.jpg', '/home/pi/Desktop/images/14122025/22/16/image_14122025_22_16_14_9729.jpg', '/home/pi/Desktop/images/14122025/22/16/image_14122025_22_16_24_9669.jpg', '/home/pi/Desktop/images/14122025/22/16/image_14122025_22_16_34_10687.jpg', '/home/pi/Desktop/images/14122025/22/16/image_14122025_22_16_44_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/15/image_14122025_22_15_54_9656.jpg
/home/pi/Desktop/images/14122025/22/15/image_14122025_22_16_04_10724.jpg
/home/pi/Desktop/images/14122025/22/16/image_14122025_22_16_14_9729.jpg
/home/pi/Desktop/images/14122025/22/16/image_14122025_22_16_24_9669.jpg
/home/pi/Desktop/images/14122025/22/16/image_14122025_22_16_34_10687.jpg
/home/pi/Desktop/images/14122025/22/16/image_14122025_22_16_44_9593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399414022","1399414025","1399414021","1399414024","1399414020","1399414023"],"photo_ids_order":["1399414020","1399414021","1399414022","1399414023","1399414024","1399414025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dd2dba1f1392339c19fad08e3fb8d9d2.jpg","text":"TemporaryFile(/tmp/multipartBody1254620331111308938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749004019,"filename":"image_14122025_22_16_14_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c3f4296f62346644c89df3684a45b461.jpg","text":"TemporaryFile(/tmp/multipartBody8377090615149047044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749004019,"filename":"image_14122025_22_16_44_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b75004e0d8ee545198146b607ecca7e3.jpg","text":"TemporaryFile(/tmp/multipartBody886773772474535294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749004019,"filename":"image_14122025_22_16_04_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ee0871577140e5e7430c4c3af23e78f5.jpg","text":"TemporaryFile(/tmp/multipartBody137968531126810619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749004019,"filename":"image_14122025_22_16_34_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5923d14a8a35fa401208295f1340327e.jpg","text":"TemporaryFile(/tmp/multipartBody7336442925421638054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749004019,"filename":"image_14122025_22_15_54_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c9c52929826e1f69962c3c9d936bc8ca.jpg","text":"TemporaryFile(/tmp/multipartBody4139265326205895647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749004019,"filename":"image_14122025_22_16_24_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399414022","file1":"1399414021","file0":"1399414020","file4":"1399414024","file5":"1399414025","file3":"1399414023"},"map_files_photo_id_array":[{"photo_id":"1399414025","filename":"file5"},{"photo_id":"1399414022","filename":"file2"},{"photo_id":"1399414024","filename":"file4"},{"photo_id":"1399414021","filename":"file1"},{"photo_id":"1399414020","filename":"file0"},{"photo_id":"1399414023","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399414022":["hashtag1","hashtag2"]},{"1399414025":["hashtag1","hashtag2"]},{"1399414021":["hashtag1","hashtag2"]},{"1399414024":["hashtag1","hashtag2"]},{"1399414020":["hashtag1","hashtag2"]},{"1399414023":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399414022, 1399414025, 1399414021, 1399414024, 1399414020, 1399414023)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.37172842025757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:50:02.206864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 22:50:11.933360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:50:21.909546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/16/image_14122025_22_17_04_10628.jpg', '/home/pi/Desktop/images/14122025/22/17/image_14122025_22_17_24_9797.jpg', '/home/pi/Desktop/images/14122025/22/17/image_14122025_22_17_34_9721.jpg', '/home/pi/Desktop/images/14122025/22/17/image_14122025_22_18_04_9575.jpg', '/home/pi/Desktop/images/14122025/22/18/image_14122025_22_18_14_10720.jpg', '/home/pi/Desktop/images/14122025/22/18/image_14122025_22_18_24_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/16/image_14122025_22_17_04_10628.jpg
/home/pi/Desktop/images/14122025/22/17/image_14122025_22_17_24_9797.jpg
/home/pi/Desktop/images/14122025/22/17/image_14122025_22_17_34_9721.jpg
/home/pi/Desktop/images/14122025/22/17/image_14122025_22_18_04_9575.jpg
/home/pi/Desktop/images/14122025/22/18/image_14122025_22_18_14_10720.jpg
/home/pi/Desktop/images/14122025/22/18/image_14122025_22_18_24_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":["1399414031","1399414028","1399414030","1399414032","1399414035","1399414029"],"photo_ids_order":["1399414028","1399414029","1399414030","1399414031","1399414032","1399414035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aff33c5f69760bfa51bdb62f1199511f.jpg","text":"TemporaryFile(/tmp/multipartBody4363882064877241195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749082519,"filename":"image_14122025_22_18_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/12/14/e21d4defdde1782a22394f874f341627.jpg","text":"TemporaryFile(/tmp/multipartBody8571223933166821052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749082519,"filename":"image_14122025_22_17_04_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/007ef622245dabc9891b68cea8faa287.jpg","text":"TemporaryFile(/tmp/multipartBody7157015982018795514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749082519,"filename":"image_14122025_22_17_34_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7bcae53d1828dc9633cf27509556d2c4.jpg","text":"TemporaryFile(/tmp/multipartBody1927967915109699377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749082519,"filename":"image_14122025_22_18_14_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0168481c7a684203d1fc3c59eb70efc6.jpg","text":"TemporaryFile(/tmp/multipartBody3242198005694742405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749082519,"filename":"image_14122025_22_18_24_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f6578273d1ea73df1e00c79d7f22a032.jpg","text":"TemporaryFile(/tmp/multipartBody379838068714881770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749082519,"filename":"image_14122025_22_17_24_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399414030","file1":"1399414029","file0":"1399414028","file4":"1399414032","file5":"1399414035","file3":"1399414031"},"map_files_photo_id_array":[{"photo_id":"1399414035","filename":"file5"},{"photo_id":"1399414030","filename":"file2"},{"photo_id":"1399414032","filename":"file4"},{"photo_id":"1399414029","filename":"file1"},{"photo_id":"1399414028","filename":"file0"},{"photo_id":"1399414031","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399414031":["hashtag1","hashtag2"]},{"1399414028":["hashtag1","hashtag2"]},{"1399414030":["hashtag1","hashtag2"]},{"1399414032":["hashtag1","hashtag2"]},{"1399414035":["hashtag1","hashtag2"]},{"1399414029":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399414031, 1399414028, 1399414030, 1399414032, 1399414035, 1399414029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24648380279541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:51:02.738503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/18/image_14122025_22_18_34_9787.jpg', '/home/pi/Desktop/images/14122025/22/18/image_14122025_22_18_44_9718.jpg', '/home/pi/Desktop/images/14122025/22/18/image_14122025_22_18_54_10676.jpg', '/home/pi/Desktop/images/14122025/22/18/image_14122025_22_19_04_10035.jpg', '/home/pi/Desktop/images/14122025/22/19/image_14122025_22_19_14_9604.jpg', '/home/pi/Desktop/images/14122025/22/19/image_14122025_22_19_24_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/18/image_14122025_22_18_34_9787.jpg
/home/pi/Desktop/images/14122025/22/18/image_14122025_22_18_44_9718.jpg
/home/pi/Desktop/images/14122025/22/18/image_14122025_22_18_54_10676.jpg
/home/pi/Desktop/images/14122025/22/18/image_14122025_22_19_04_10035.jpg
/home/pi/Desktop/images/14122025/22/19/image_14122025_22_19_14_9604.jpg
/home/pi/Desktop/images/14122025/22/19/image_14122025_22_19_24_9798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399414040","1399414037","1399414036","1399414039","1399414038","1399414041"],"photo_ids_order":["1399414036","1399414037","1399414038","1399414039","1399414040","1399414041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/16f8192d2b3e247f48f3a8b9d8135223.jpg","text":"TemporaryFile(/tmp/multipartBody6023443791768668259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749123393,"filename":"image_14122025_22_19_14_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d88b85971a804d5b9c92e13845d89288.jpg","text":"TemporaryFile(/tmp/multipartBody8579013482133607600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749123393,"filename":"image_14122025_22_18_44_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/30a343faa435841076a20c086d5fa65f.jpg","text":"TemporaryFile(/tmp/multipartBody9121027241331188441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749123393,"filename":"image_14122025_22_18_34_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/38f3cc1d74977136a7fba5f1d6d10619.jpg","text":"TemporaryFile(/tmp/multipartBody2184913678252568913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749123393,"filename":"image_14122025_22_19_04_10035.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f38a44876594f7518dd48ac288b1e991.jpg","text":"TemporaryFile(/tmp/multipartBody8821290553661516467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749123393,"filename":"image_14122025_22_18_54_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eb7ae4e63f27d2683f85849e399923ce.jpg","text":"TemporaryFile(/tmp/multipartBody7995283886175588795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749123393,"filename":"image_14122025_22_19_24_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399414038","file1":"1399414037","file0":"1399414036","file4":"1399414040","file5":"1399414041","file3":"1399414039"},"map_files_photo_id_array":[{"photo_id":"1399414041","filename":"file5"},{"photo_id":"1399414038","filename":"file2"},{"photo_id":"1399414040","filename":"file4"},{"photo_id":"1399414037","filename":"file1"},{"photo_id":"1399414036","filename":"file0"},{"photo_id":"1399414039","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399414040":["hashtag1","hashtag2"]},{"1399414037":["hashtag1","hashtag2"]},{"1399414036":["hashtag1","hashtag2"]},{"1399414039":["hashtag1","hashtag2"]},{"1399414038":["hashtag1","hashtag2"]},{"1399414041":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399414040, 1399414037, 1399414036, 1399414039, 1399414038, 1399414041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88157105445862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:51:42.175786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_12_1633.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_14_1599.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_16_1795.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_17_1678.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_19_1630.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_20_1551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_12_1633.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_14_1599.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_16_1795.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_17_1678.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_19_1630.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_20_1551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399414049","1399414046","1399414048","1399414042","1399414044","1399414047"],"photo_ids_order":["1399414042","1399414044","1399414046","1399414047","1399414048","1399414049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a537e9da813995ce1cba4bcbdc54fd54.jpg","text":"TemporaryFile(/tmp/multipartBody2573928440197752118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749162873,"filename":"image_04112025_15_13_20_1551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d0085b937f98226eeccb6ea4827e7094.jpg","text":"TemporaryFile(/tmp/multipartBody595471760593360078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749162873,"filename":"image_04112025_15_13_16_1795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a5b317b6ae3100b5f98e0d477547b965.jpg","text":"TemporaryFile(/tmp/multipartBody7025184364944025349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749162873,"filename":"image_04112025_15_13_19_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/569c4e6f1f56ee8ba39f73f9d0bd3fdc.jpg","text":"TemporaryFile(/tmp/multipartBody850607475650755244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749162873,"filename":"image_04112025_15_13_12_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d7a912b7e04b42548e7583a60ccbc288.jpg","text":"TemporaryFile(/tmp/multipartBody2537506752012877793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749162873,"filename":"image_04112025_15_13_14_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/da9be2a936dd87949783ad67f32d1e86.jpg","text":"TemporaryFile(/tmp/multipartBody7754666032708673593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749162873,"filename":"image_04112025_15_13_17_1678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399414046","file1":"1399414044","file0":"1399414042","file4":"1399414048","file5":"1399414049","file3":"1399414047"},"map_files_photo_id_array":[{"photo_id":"1399414049","filename":"file5"},{"photo_id":"1399414046","filename":"file2"},{"photo_id":"1399414048","filename":"file4"},{"photo_id":"1399414044","filename":"file1"},{"photo_id":"1399414042","filename":"file0"},{"photo_id":"1399414047","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399414049":["hashtag1","hashtag2"]},{"1399414046":["hashtag1","hashtag2"]},{"1399414048":["hashtag1","hashtag2"]},{"1399414042":["hashtag1","hashtag2"]},{"1399414044":["hashtag1","hashtag2"]},{"1399414047":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399414049, 1399414046, 1399414048, 1399414042, 1399414044, 1399414047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58274602890015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:52:22.515948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/19/image_14122025_22_19_34_10615.jpg', '/home/pi/Desktop/images/14122025/22/19/image_14122025_22_19_44_9779.jpg', '/home/pi/Desktop/images/14122025/22/20/image_14122025_22_20_14_10056.jpg', '/home/pi/Desktop/images/14122025/22/20/image_14122025_22_20_25_10578.jpg', '/home/pi/Desktop/images/14122025/22/20/image_14122025_22_20_34_9645.jpg', '/home/pi/Desktop/images/14122025/22/20/image_14122025_22_20_45_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/19/image_14122025_22_19_34_10615.jpg
/home/pi/Desktop/images/14122025/22/19/image_14122025_22_19_44_9779.jpg
/home/pi/Desktop/images/14122025/22/20/image_14122025_22_20_14_10056.jpg
/home/pi/Desktop/images/14122025/22/20/image_14122025_22_20_25_10578.jpg
/home/pi/Desktop/images/14122025/22/20/image_14122025_22_20_34_9645.jpg
/home/pi/Desktop/images/14122025/22/20/image_14122025_22_20_45_10640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399414052","1399414055","1399414051","1399414054","1399414050","1399414053"],"photo_ids_order":["1399414050","1399414051","1399414052","1399414053","1399414054","1399414055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d733da5993a6a35089ed8eee64b6b93.jpg","text":"TemporaryFile(/tmp/multipartBody1790260376339381248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749203145,"filename":"image_14122025_22_20_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3a265bbba88adfacd29324fdda0ff581.jpg","text":"TemporaryFile(/tmp/multipartBody8954180276343286327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749203145,"filename":"image_14122025_22_20_45_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8b7260da0b4f8677de446f575060310c.jpg","text":"TemporaryFile(/tmp/multipartBody4994061822474390546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749203145,"filename":"image_14122025_22_19_44_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f2c8b93538f6b4f942d50596fa8f695.jpg","text":"TemporaryFile(/tmp/multipartBody4028963933069239335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749203145,"filename":"image_14122025_22_20_34_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ef1a1deae79cdf87e8288c2860726fb.jpg","text":"TemporaryFile(/tmp/multipartBody4915824077204264824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749203145,"filename":"image_14122025_22_19_34_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3a7ced1bfa81c39af176c339e5b57d71.jpg","text":"TemporaryFile(/tmp/multipartBody4229598979039233515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749203145,"filename":"image_14122025_22_20_25_10578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399414052","file1":"1399414051","file0":"1399414050","file4":"1399414054","file5":"1399414055","file3":"1399414053"},"map_files_photo_id_array":[{"photo_id":"1399414055","filename":"file5"},{"photo_id":"1399414052","filename":"file2"},{"photo_id":"1399414054","filename":"file4"},{"photo_id":"1399414051","filename":"file1"},{"photo_id":"1399414050","filename":"file0"},{"photo_id":"1399414053","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399414052":["hashtag1","hashtag2"]},{"1399414055":["hashtag1","hashtag2"]},{"1399414051":["hashtag1","hashtag2"]},{"1399414054":["hashtag1","hashtag2"]},{"1399414050":["hashtag1","hashtag2"]},{"1399414053":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399414052, 1399414055, 1399414051, 1399414054, 1399414050, 1399414053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61428666114807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:53:03.343026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/20/image_14122025_22_20_55_9842.jpg', '/home/pi/Desktop/images/14122025/22/20/image_14122025_22_21_05_9744.jpg', '/home/pi/Desktop/images/14122025/22/21/image_14122025_22_21_14_9688.jpg', '/home/pi/Desktop/images/14122025/22/21/image_14122025_22_21_25_10609.jpg', '/home/pi/Desktop/images/14122025/22/21/image_14122025_22_21_35_9765.jpg', '/home/pi/Desktop/images/14122025/22/21/image_14122025_22_21_44_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/20/image_14122025_22_20_55_9842.jpg
/home/pi/Desktop/images/14122025/22/20/image_14122025_22_21_05_9744.jpg
/home/pi/Desktop/images/14122025/22/21/image_14122025_22_21_14_9688.jpg
/home/pi/Desktop/images/14122025/22/21/image_14122025_22_21_25_10609.jpg
/home/pi/Desktop/images/14122025/22/21/image_14122025_22_21_35_9765.jpg
/home/pi/Desktop/images/14122025/22/21/image_14122025_22_21_44_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399414061","1399414058","1399414060","1399414062","1399414056","1399414059"],"photo_ids_order":["1399414056","1399414058","1399414059","1399414060","1399414061","1399414062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/25de068446b18a34ad4dd5fb5a3da6ac.jpg","text":"TemporaryFile(/tmp/multipartBody6320583757320116927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749243982,"filename":"image_14122025_22_21_35_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/30159799a6e661af03e937aab5eb2240.jpg","text":"TemporaryFile(/tmp/multipartBody8649548461449559934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749243982,"filename":"image_14122025_22_21_05_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/651bb92a1ac2e5c496c68dc5e6e4c0b0.jpg","text":"TemporaryFile(/tmp/multipartBody6533774079352334821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749243982,"filename":"image_14122025_22_21_25_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29c70db0ec3d45271d094204788786ba.jpg","text":"TemporaryFile(/tmp/multipartBody5697345752705994857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749243982,"filename":"image_14122025_22_21_44_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/02e5af0d32d1a42fd0841339ba149aca.jpg","text":"TemporaryFile(/tmp/multipartBody628602696009721326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749243982,"filename":"image_14122025_22_20_55_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9dd3391391b92f6996454bc6abc260a7.jpg","text":"TemporaryFile(/tmp/multipartBody8043971570335230704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749243982,"filename":"image_14122025_22_21_14_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399414059","file1":"1399414058","file0":"1399414056","file4":"1399414061","file5":"1399414062","file3":"1399414060"},"map_files_photo_id_array":[{"photo_id":"1399414062","filename":"file5"},{"photo_id":"1399414059","filename":"file2"},{"photo_id":"1399414061","filename":"file4"},{"photo_id":"1399414058","filename":"file1"},{"photo_id":"1399414056","filename":"file0"},{"photo_id":"1399414060","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399414061":["hashtag1","hashtag2"]},{"1399414058":["hashtag1","hashtag2"]},{"1399414060":["hashtag1","hashtag2"]},{"1399414062":["hashtag1","hashtag2"]},{"1399414056":["hashtag1","hashtag2"]},{"1399414059":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399414061, 1399414058, 1399414060, 1399414062, 1399414056, 1399414059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04490566253662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:53:42.699821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_22_1593.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_24_1550.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_25_1577.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_27_1509.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_28_1684.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_30_1725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_22_1593.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_24_1550.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_25_1577.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_27_1509.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_28_1684.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_30_1725.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5802035331726074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:54:02.688631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/21/image_14122025_22_21_54_9770.jpg', '/home/pi/Desktop/images/14122025/22/21/image_14122025_22_22_05_10631.jpg', '/home/pi/Desktop/images/14122025/22/22/image_14122025_22_22_15_9759.jpg', '/home/pi/Desktop/images/14122025/22/22/image_14122025_22_22_24_9722.jpg', '/home/pi/Desktop/images/14122025/22/22/image_14122025_22_22_35_10609.jpg', '/home/pi/Desktop/images/14122025/22/22/image_14122025_22_22_45_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/21/image_14122025_22_21_54_9770.jpg
/home/pi/Desktop/images/14122025/22/21/image_14122025_22_22_05_10631.jpg
/home/pi/Desktop/images/14122025/22/22/image_14122025_22_22_15_9759.jpg
/home/pi/Desktop/images/14122025/22/22/image_14122025_22_22_24_9722.jpg
/home/pi/Desktop/images/14122025/22/22/image_14122025_22_22_35_10609.jpg
/home/pi/Desktop/images/14122025/22/22/image_14122025_22_22_45_9792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399414073","1399414076","1399414072","1399414075","1399414074","1399414071"],"photo_ids_order":["1399414071","1399414072","1399414073","1399414074","1399414075","1399414076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/817a113e6ac4beb5dfeaef37fc6df7dd.jpg","text":"TemporaryFile(/tmp/multipartBody5065591422311441360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749303327,"filename":"image_14122025_22_22_15_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5c0d47bd1e84fca4371e8fa64950d77d.jpg","text":"TemporaryFile(/tmp/multipartBody4156775755652933144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749303327,"filename":"image_14122025_22_22_45_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/de11beccd975933806e9cd5054232f3e.jpg","text":"TemporaryFile(/tmp/multipartBody895410785235694462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749303327,"filename":"image_14122025_22_22_05_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3eea49f4835c26b4464825297003db25.jpg","text":"TemporaryFile(/tmp/multipartBody6989086460266609222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749303327,"filename":"image_14122025_22_22_35_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ec71235b0f14ace15bdf94e107ffed17.jpg","text":"TemporaryFile(/tmp/multipartBody8881158682831938113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749303327,"filename":"image_14122025_22_22_24_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/20149afd8b30e4b441728401b08a367e.jpg","text":"TemporaryFile(/tmp/multipartBody4920636044765456227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749303327,"filename":"image_14122025_22_21_54_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399414073","file1":"1399414072","file0":"1399414071","file4":"1399414075","file5":"1399414076","file3":"1399414074"},"map_files_photo_id_array":[{"photo_id":"1399414076","filename":"file5"},{"photo_id":"1399414073","filename":"file2"},{"photo_id":"1399414075","filename":"file4"},{"photo_id":"1399414072","filename":"file1"},{"photo_id":"1399414071","filename":"file0"},{"photo_id":"1399414074","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399414073":["hashtag1","hashtag2"]},{"1399414076":["hashtag1","hashtag2"]},{"1399414072":["hashtag1","hashtag2"]},{"1399414075":["hashtag1","hashtag2"]},{"1399414074":["hashtag1","hashtag2"]},{"1399414071":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399414073, 1399414076, 1399414072, 1399414075, 1399414074, 1399414071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.126020669937134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:54:41.972077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_22_1593.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_24_1550.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_25_1577.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_27_1509.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_28_1684.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_30_1725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_22_1593.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_24_1550.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_25_1577.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_27_1509.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_28_1684.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_30_1725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399414082","1399414081","1399414080","1399414083","1399414077","1399414079"],"photo_ids_order":["1399414077","1399414079","1399414080","1399414081","1399414082","1399414083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1283b84d4e12d991665497662e690c61.jpg","text":"TemporaryFile(/tmp/multipartBody462765312089616419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749342561,"filename":"image_04112025_15_13_28_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/807ded53c81f0189d402803d9a3a6e1b.jpg","text":"TemporaryFile(/tmp/multipartBody4031358058251625734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749342561,"filename":"image_04112025_15_13_27_1509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e10808e994253bf2f7810c94d235982e.jpg","text":"TemporaryFile(/tmp/multipartBody7147458493514447073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749342561,"filename":"image_04112025_15_13_25_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a5805d377bb2b3d69b44a41bf1a934e0.jpg","text":"TemporaryFile(/tmp/multipartBody5057085235440404018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749342561,"filename":"image_04112025_15_13_30_1725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/62e7698d83103a8d2e58bee733c0ab6c.jpg","text":"TemporaryFile(/tmp/multipartBody1684923135482291760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749342561,"filename":"image_04112025_15_13_22_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6394b7ca3aef2faaa43b3b7816e157d8.jpg","text":"TemporaryFile(/tmp/multipartBody6623780438293931277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749342561,"filename":"image_04112025_15_13_24_1550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399414080","file1":"1399414079","file0":"1399414077","file4":"1399414082","file5":"1399414083","file3":"1399414081"},"map_files_photo_id_array":[{"photo_id":"1399414083","filename":"file5"},{"photo_id":"1399414080","filename":"file2"},{"photo_id":"1399414082","filename":"file4"},{"photo_id":"1399414079","filename":"file1"},{"photo_id":"1399414077","filename":"file0"},{"photo_id":"1399414081","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399414082":["hashtag1","hashtag2"]},{"1399414081":["hashtag1","hashtag2"]},{"1399414080":["hashtag1","hashtag2"]},{"1399414083":["hashtag1","hashtag2"]},{"1399414077":["hashtag1","hashtag2"]},{"1399414079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399414082, 1399414081, 1399414080, 1399414083, 1399414077, 1399414079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.30844974517822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 22:55:42.428931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_32_1533.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_33_1632.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_35_1625.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_39_4144.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_41_1577.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_53_12838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_32_1533.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_33_1632.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_35_1625.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_39_4144.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_41_1577.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_53_12838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399414088","1399414090","1399414084","1399414087","1399414089","1399414091"],"photo_ids_order":["1399414084","1399414087","1399414088","1399414089","1399414090","1399414091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ba596815df9ec1c8bf2bdea8b6f35d7b.jpg","text":"TemporaryFile(/tmp/multipartBody2495100390581959986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749403124,"filename":"image_04112025_15_13_35_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8eab51dd36ebca8f8f82abf6437b707c.jpg","text":"TemporaryFile(/tmp/multipartBody2286519225203662274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749403124,"filename":"image_04112025_15_13_41_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c2e67330e69ec4db9bcb94e444731e4.jpg","text":"TemporaryFile(/tmp/multipartBody3597048711336239463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749403124,"filename":"image_04112025_15_13_32_1533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bfe1e431cfddeeb4d321673719ea7c4a.jpg","text":"TemporaryFile(/tmp/multipartBody8546637245957150458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749403124,"filename":"image_04112025_15_13_33_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2be467006fa64839226437c5116dc3aa.jpg","text":"TemporaryFile(/tmp/multipartBody2186946232671951429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749403124,"filename":"image_04112025_15_13_39_4144.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ca2272f0ad5e493b3e8ab76f48047d2.jpg","text":"TemporaryFile(/tmp/multipartBody6650437374524045979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749403124,"filename":"image_04112025_15_13_53_12838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399414088","file1":"1399414087","file0":"1399414084","file4":"1399414090","file5":"1399414091","file3":"1399414089"},"map_files_photo_id_array":[{"photo_id":"1399414091","filename":"file5"},{"photo_id":"1399414088","filename":"file2"},{"photo_id":"1399414090","filename":"file4"},{"photo_id":"1399414087","filename":"file1"},{"photo_id":"1399414084","filename":"file0"},{"photo_id":"1399414089","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399414088":["hashtag1","hashtag2"]},{"1399414090":["hashtag1","hashtag2"]},{"1399414084":["hashtag1","hashtag2"]},{"1399414087":["hashtag1","hashtag2"]},{"1399414089":["hashtag1","hashtag2"]},{"1399414091":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399414088, 1399414090, 1399414084, 1399414087, 1399414089, 1399414091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30614233016968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:56:22.691662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/22/image_14122025_22_22_54_9664.jpg', '/home/pi/Desktop/images/14122025/22/22/image_14122025_22_23_04_9789.jpg', '/home/pi/Desktop/images/14122025/22/23/image_14122025_22_23_24_9653.jpg', '/home/pi/Desktop/images/14122025/22/23/image_14122025_22_23_35_10652.jpg', '/home/pi/Desktop/images/14122025/22/23/image_14122025_22_23_45_9637.jpg', '/home/pi/Desktop/images/14122025/22/23/image_14122025_22_24_04_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/22/image_14122025_22_22_54_9664.jpg
/home/pi/Desktop/images/14122025/22/22/image_14122025_22_23_04_9789.jpg
/home/pi/Desktop/images/14122025/22/23/image_14122025_22_23_24_9653.jpg
/home/pi/Desktop/images/14122025/22/23/image_14122025_22_23_35_10652.jpg
/home/pi/Desktop/images/14122025/22/23/image_14122025_22_23_45_9637.jpg
/home/pi/Desktop/images/14122025/22/23/image_14122025_22_24_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":["1399414094","1399414096","1399414093","1399414092","1399414095","1399414098"],"photo_ids_order":["1399414092","1399414093","1399414094","1399414095","1399414096","1399414098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/406941c7cb5ea8888d46fceff6eddcdc.jpg","text":"TemporaryFile(/tmp/multipartBody8011710606381437830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749443318,"filename":"image_14122025_22_23_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/12/14/f4429ae156d02e2ce0fd238316681bde.jpg","text":"TemporaryFile(/tmp/multipartBody7544953643257106579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749443318,"filename":"image_14122025_22_23_45_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ef38d539ecac4910d2e86851a014827.jpg","text":"TemporaryFile(/tmp/multipartBody5245546141652922251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749443318,"filename":"image_14122025_22_23_04_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6fd27fefd44bb7a03b55751f9183b52e.jpg","text":"TemporaryFile(/tmp/multipartBody4508533835122176371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749443318,"filename":"image_14122025_22_22_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bc21b6dbc55cdff833e69b14ce421b8a.jpg","text":"TemporaryFile(/tmp/multipartBody3267857364836538801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749443318,"filename":"image_14122025_22_23_35_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c17f2e7f61a3dbaff13c773e639e2632.jpg","text":"TemporaryFile(/tmp/multipartBody4990254683959272836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749443318,"filename":"image_14122025_22_24_04_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399414094","file1":"1399414093","file0":"1399414092","file4":"1399414096","file5":"1399414098","file3":"1399414095"},"map_files_photo_id_array":[{"photo_id":"1399414098","filename":"file5"},{"photo_id":"1399414094","filename":"file2"},{"photo_id":"1399414096","filename":"file4"},{"photo_id":"1399414093","filename":"file1"},{"photo_id":"1399414092","filename":"file0"},{"photo_id":"1399414095","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399414094":["hashtag1","hashtag2"]},{"1399414096":["hashtag1","hashtag2"]},{"1399414093":["hashtag1","hashtag2"]},{"1399414092":["hashtag1","hashtag2"]},{"1399414095":["hashtag1","hashtag2"]},{"1399414098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399414094, 1399414096, 1399414093, 1399414092, 1399414095, 1399414098)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.7754487991333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 22:57:11.938343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 22:57:21.919442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/24/image_14122025_22_24_14_9988.jpg', '/home/pi/Desktop/images/14122025/22/24/image_14122025_22_24_25_10637.jpg', '/home/pi/Desktop/images/14122025/22/24/image_14122025_22_24_35_9794.jpg', '/home/pi/Desktop/images/14122025/22/24/image_14122025_22_24_45_9980.jpg', '/home/pi/Desktop/images/14122025/22/24/image_14122025_22_24_54_9607.jpg', '/home/pi/Desktop/images/14122025/22/25/image_14122025_22_25_14_10059.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/24/image_14122025_22_24_14_9988.jpg
/home/pi/Desktop/images/14122025/22/24/image_14122025_22_24_25_10637.jpg
/home/pi/Desktop/images/14122025/22/24/image_14122025_22_24_35_9794.jpg
/home/pi/Desktop/images/14122025/22/24/image_14122025_22_24_45_9980.jpg
/home/pi/Desktop/images/14122025/22/24/image_14122025_22_24_54_9607.jpg
/home/pi/Desktop/images/14122025/22/25/image_14122025_22_25_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":["1399414104","1399414103","1399414106","1399414102","1399414105","1399414107"],"photo_ids_order":["1399414102","1399414103","1399414104","1399414105","1399414106","1399414107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cb5a91fc10acfd79f2a12547b16dd0b4.jpg","text":"TemporaryFile(/tmp/multipartBody2319541529626174372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749502571,"filename":"image_14122025_22_24_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/12/14/0a4e4d0e862a823f0d065fe259e6028a.jpg","text":"TemporaryFile(/tmp/multipartBody2048274182083623713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749502571,"filename":"image_14122025_22_24_25_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9260ed2c9af5730d7908d0520f0ad0b7.jpg","text":"TemporaryFile(/tmp/multipartBody8036871844981210039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749502571,"filename":"image_14122025_22_24_54_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/34b1b0a02252679006765ea92636a23d.jpg","text":"TemporaryFile(/tmp/multipartBody6519902122271607396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749502571,"filename":"image_14122025_22_24_14_9988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a2397cd5890b2e521491b7b2e519507e.jpg","text":"TemporaryFile(/tmp/multipartBody3397151224342513767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749502571,"filename":"image_14122025_22_24_45_9980.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cf3bc41085539ba972e953ae0079d7ec.jpg","text":"TemporaryFile(/tmp/multipartBody6987534428782209620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749502571,"filename":"image_14122025_22_25_14_10059.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399414104","file1":"1399414103","file0":"1399414102","file4":"1399414106","file5":"1399414107","file3":"1399414105"},"map_files_photo_id_array":[{"photo_id":"1399414107","filename":"file5"},{"photo_id":"1399414104","filename":"file2"},{"photo_id":"1399414106","filename":"file4"},{"photo_id":"1399414103","filename":"file1"},{"photo_id":"1399414102","filename":"file0"},{"photo_id":"1399414105","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399414104":["hashtag1","hashtag2"]},{"1399414103":["hashtag1","hashtag2"]},{"1399414106":["hashtag1","hashtag2"]},{"1399414102":["hashtag1","hashtag2"]},{"1399414105":["hashtag1","hashtag2"]},{"1399414107":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399414104, 1399414103, 1399414106, 1399414102, 1399414105, 1399414107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.604021310806274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 22:59:03.302674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/25/image_14122025_22_25_25_10698.jpg', '/home/pi/Desktop/images/14122025/22/25/image_14122025_22_25_35_9872.jpg', '/home/pi/Desktop/images/14122025/22/25/image_14122025_22_25_45_9797.jpg', '/home/pi/Desktop/images/14122025/22/25/image_14122025_22_26_05_10700.jpg', '/home/pi/Desktop/images/14122025/22/26/image_14122025_22_26_15_9614.jpg', '/home/pi/Desktop/images/14122025/22/26/image_14122025_22_26_35_10771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/25/image_14122025_22_25_25_10698.jpg
/home/pi/Desktop/images/14122025/22/25/image_14122025_22_25_35_9872.jpg
/home/pi/Desktop/images/14122025/22/25/image_14122025_22_25_45_9797.jpg
/home/pi/Desktop/images/14122025/22/25/image_14122025_22_26_05_10700.jpg
/home/pi/Desktop/images/14122025/22/26/image_14122025_22_26_15_9614.jpg
/home/pi/Desktop/images/14122025/22/26/image_14122025_22_26_35_10771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399414565","1399414604","1399414846","1399414698","1399414650","1399414767"],"photo_ids_order":["1399414565","1399414604","1399414650","1399414698","1399414767","1399414846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd2938ee7b70b6ad303d23dc8c5b6562.jpg","text":"TemporaryFile(/tmp/multipartBody4519233350388626350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749604162,"filename":"image_14122025_22_25_25_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fda77e9de34b53fbd1c698af6ad54e9c.jpg","text":"TemporaryFile(/tmp/multipartBody9203360929494328447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749604162,"filename":"image_14122025_22_25_35_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3f041ad237798c1ebb8248f9150637f6.jpg","text":"TemporaryFile(/tmp/multipartBody4646929922457140382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749604162,"filename":"image_14122025_22_26_35_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d4ad430e986e07bb20a0d8e23ee13a8d.jpg","text":"TemporaryFile(/tmp/multipartBody8561761822919549485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749604162,"filename":"image_14122025_22_26_05_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3bda09dbbc96099bd7cc45a6c46d2678.jpg","text":"TemporaryFile(/tmp/multipartBody6512607427511670281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749604162,"filename":"image_14122025_22_25_45_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d6402e99a44cbdf6e8b5eda2ed29596f.jpg","text":"TemporaryFile(/tmp/multipartBody5520156179367163445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749604162,"filename":"image_14122025_22_26_15_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399414650","file1":"1399414604","file0":"1399414565","file4":"1399414767","file5":"1399414846","file3":"1399414698"},"map_files_photo_id_array":[{"photo_id":"1399414846","filename":"file5"},{"photo_id":"1399414650","filename":"file2"},{"photo_id":"1399414767","filename":"file4"},{"photo_id":"1399414604","filename":"file1"},{"photo_id":"1399414565","filename":"file0"},{"photo_id":"1399414698","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399414565":["hashtag1","hashtag2"]},{"1399414604":["hashtag1","hashtag2"]},{"1399414846":["hashtag1","hashtag2"]},{"1399414698":["hashtag1","hashtag2"]},{"1399414650":["hashtag1","hashtag2"]},{"1399414767":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399414565, 1399414604, 1399414846, 1399414698, 1399414650, 1399414767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.27317833900452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:00:02.987090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/26/image_14122025_22_26_45_9747.jpg', '/home/pi/Desktop/images/14122025/22/26/image_14122025_22_26_55_9786.jpg', '/home/pi/Desktop/images/14122025/22/26/image_14122025_22_27_04_9631.jpg', '/home/pi/Desktop/images/14122025/22/27/image_14122025_22_27_15_10835.jpg', '/home/pi/Desktop/images/14122025/22/27/image_14122025_22_27_25_9667.jpg', '/home/pi/Desktop/images/14122025/22/27/image_14122025_22_27_35_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/26/image_14122025_22_26_45_9747.jpg
/home/pi/Desktop/images/14122025/22/26/image_14122025_22_26_55_9786.jpg
/home/pi/Desktop/images/14122025/22/26/image_14122025_22_27_04_9631.jpg
/home/pi/Desktop/images/14122025/22/27/image_14122025_22_27_15_10835.jpg
/home/pi/Desktop/images/14122025/22/27/image_14122025_22_27_25_9667.jpg
/home/pi/Desktop/images/14122025/22/27/image_14122025_22_27_35_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":["1399415299","1399415218","1399415259","1399415421","1399415381","1399415339"],"photo_ids_order":["1399415218","1399415259","1399415299","1399415339","1399415381","1399415421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88a860615c922cd38aaa154f3d4a9ee3.jpg","text":"TemporaryFile(/tmp/multipartBody9050050862704401668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749663605,"filename":"image_14122025_22_27_04_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bec2696730043f6a29447ed393a7b39f.jpg","text":"TemporaryFile(/tmp/multipartBody7018587957238283227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749663605,"filename":"image_14122025_22_26_45_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b0159387e8a39a460706ae04899bce2.jpg","text":"TemporaryFile(/tmp/multipartBody2412597422149624515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749663605,"filename":"image_14122025_22_26_55_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/737fdb8b9e6847e474a8c5a13dc16b77.jpg","text":"TemporaryFile(/tmp/multipartBody3775116734519030925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749663605,"filename":"image_14122025_22_27_35_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ff8b678f09b5dd96848e5e8b682d238d.jpg","text":"TemporaryFile(/tmp/multipartBody2101516773002637833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749663605,"filename":"image_14122025_22_27_25_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ac6f6c019050f4afc102049243f94f0.jpg","text":"TemporaryFile(/tmp/multipartBody899243841758927875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749663605,"filename":"image_14122025_22_27_15_10835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399415299","file1":"1399415259","file0":"1399415218","file4":"1399415381","file5":"1399415421","file3":"1399415339"},"map_files_photo_id_array":[{"photo_id":"1399415421","filename":"file5"},{"photo_id":"1399415299","filename":"file2"},{"photo_id":"1399415381","filename":"file4"},{"photo_id":"1399415259","filename":"file1"},{"photo_id":"1399415218","filename":"file0"},{"photo_id":"1399415339","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399415299":["hashtag1","hashtag2"]},{"1399415218":["hashtag1","hashtag2"]},{"1399415259":["hashtag1","hashtag2"]},{"1399415421":["hashtag1","hashtag2"]},{"1399415381":["hashtag1","hashtag2"]},{"1399415339":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399415299, 1399415218, 1399415259, 1399415421, 1399415381, 1399415339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97323560714722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:00:42.609265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_55_1576.jpg', '/home/pi/Desktop/images/04112025/15/13/image_04112025_15_14_00_4752.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_03_3088.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_05_1675.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_06_1676.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_08_1773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_13_55_1576.jpg
/home/pi/Desktop/images/04112025/15/13/image_04112025_15_14_00_4752.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_03_3088.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_05_1675.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_06_1676.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_08_1773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399415670","1399415550","1399415591","1399415672","1399415669","1399415633"],"photo_ids_order":["1399415550","1399415591","1399415633","1399415669","1399415670","1399415672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a7d1c998caed25a5a09024ae8f42b7a.jpg","text":"TemporaryFile(/tmp/multipartBody6312022662352584795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749703308,"filename":"image_04112025_15_14_06_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/748392b44970abcd8345e2fec34ca919.jpg","text":"TemporaryFile(/tmp/multipartBody936283028898021455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749703308,"filename":"image_04112025_15_13_55_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/45304ea6ed2fbe6371edeb0cb0939ab7.jpg","text":"TemporaryFile(/tmp/multipartBody5600206945740966175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749703308,"filename":"image_04112025_15_14_00_4752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2b36239c84bd7b75d42bfad5a8d57ad9.jpg","text":"TemporaryFile(/tmp/multipartBody4974601610249226847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749703308,"filename":"image_04112025_15_14_08_1773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a7a4721a0f9aba5862c0ff6e25fa91fe.jpg","text":"TemporaryFile(/tmp/multipartBody6811051915629401892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749703308,"filename":"image_04112025_15_14_05_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c8118015cb8a23eeef1a8535fefccaeb.jpg","text":"TemporaryFile(/tmp/multipartBody3882466718770695118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749703308,"filename":"image_04112025_15_14_03_3088.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399415633","file1":"1399415591","file0":"1399415550","file4":"1399415670","file5":"1399415672","file3":"1399415669"},"map_files_photo_id_array":[{"photo_id":"1399415672","filename":"file5"},{"photo_id":"1399415633","filename":"file2"},{"photo_id":"1399415670","filename":"file4"},{"photo_id":"1399415591","filename":"file1"},{"photo_id":"1399415550","filename":"file0"},{"photo_id":"1399415669","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399415670":["hashtag1","hashtag2"]},{"1399415550":["hashtag1","hashtag2"]},{"1399415591":["hashtag1","hashtag2"]},{"1399415672":["hashtag1","hashtag2"]},{"1399415669":["hashtag1","hashtag2"]},{"1399415633":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399415670, 1399415550, 1399415591, 1399415672, 1399415669, 1399415633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.880263805389404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:01:21.890382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/27/image_14122025_22_27_55_9744.jpg', '/home/pi/Desktop/images/14122025/22/27/image_14122025_22_28_05_9746.jpg', '/home/pi/Desktop/images/14122025/22/28/image_14122025_22_28_15_9762.jpg', '/home/pi/Desktop/images/14122025/22/28/image_14122025_22_28_25_10553.jpg', '/home/pi/Desktop/images/14122025/22/28/image_14122025_22_28_35_9653.jpg', '/home/pi/Desktop/images/14122025/22/28/image_14122025_22_28_44_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/27/image_14122025_22_27_55_9744.jpg
/home/pi/Desktop/images/14122025/22/27/image_14122025_22_28_05_9746.jpg
/home/pi/Desktop/images/14122025/22/28/image_14122025_22_28_15_9762.jpg
/home/pi/Desktop/images/14122025/22/28/image_14122025_22_28_25_10553.jpg
/home/pi/Desktop/images/14122025/22/28/image_14122025_22_28_35_9653.jpg
/home/pi/Desktop/images/14122025/22/28/image_14122025_22_28_44_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":["1399415674","1399415677","1399415673","1399415676","1399415709","1399415675"],"photo_ids_order":["1399415673","1399415674","1399415675","1399415676","1399415677","1399415709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eef44eddffe1cbda3050e9bbcec88b7d.jpg","text":"TemporaryFile(/tmp/multipartBody7449790363011820507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749742515,"filename":"image_14122025_22_28_05_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8dba3ff88fd730bad14f5b8f67aed044.jpg","text":"TemporaryFile(/tmp/multipartBody4973201578465777996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749742515,"filename":"image_14122025_22_28_35_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6145794ec5e2e55a4200e498916e93ea.jpg","text":"TemporaryFile(/tmp/multipartBody8017290454339496349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749742515,"filename":"image_14122025_22_27_55_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/94e572a41cc2368968eaf70846943fb0.jpg","text":"TemporaryFile(/tmp/multipartBody466383517972474463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749742515,"filename":"image_14122025_22_28_25_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cd09de09a7f0c1f895ea2c2f8170bf1f.jpg","text":"TemporaryFile(/tmp/multipartBody3735449394974468181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749742515,"filename":"image_14122025_22_28_44_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1a970a2d1f77fe423c1486d2b2dd62bd.jpg","text":"TemporaryFile(/tmp/multipartBody8633441559950918480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749742515,"filename":"image_14122025_22_28_15_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399415675","file1":"1399415674","file0":"1399415673","file4":"1399415677","file5":"1399415709","file3":"1399415676"},"map_files_photo_id_array":[{"photo_id":"1399415709","filename":"file5"},{"photo_id":"1399415675","filename":"file2"},{"photo_id":"1399415677","filename":"file4"},{"photo_id":"1399415674","filename":"file1"},{"photo_id":"1399415673","filename":"file0"},{"photo_id":"1399415676","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399415674":["hashtag1","hashtag2"]},{"1399415677":["hashtag1","hashtag2"]},{"1399415673":["hashtag1","hashtag2"]},{"1399415676":["hashtag1","hashtag2"]},{"1399415709":["hashtag1","hashtag2"]},{"1399415675":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399415674, 1399415677, 1399415673, 1399415676, 1399415709, 1399415675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09832429885864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:02:02.562270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/28/image_14122025_22_28_55_10750.jpg', '/home/pi/Desktop/images/14122025/22/28/image_14122025_22_29_05_9731.jpg', '/home/pi/Desktop/images/14122025/22/29/image_14122025_22_29_15_9886.jpg', '/home/pi/Desktop/images/14122025/22/29/image_14122025_22_29_25_9735.jpg', '/home/pi/Desktop/images/14122025/22/29/image_14122025_22_29_35_10732.jpg', '/home/pi/Desktop/images/14122025/22/29/image_14122025_22_29_45_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/28/image_14122025_22_28_55_10750.jpg
/home/pi/Desktop/images/14122025/22/28/image_14122025_22_29_05_9731.jpg
/home/pi/Desktop/images/14122025/22/29/image_14122025_22_29_15_9886.jpg
/home/pi/Desktop/images/14122025/22/29/image_14122025_22_29_25_9735.jpg
/home/pi/Desktop/images/14122025/22/29/image_14122025_22_29_35_10732.jpg
/home/pi/Desktop/images/14122025/22/29/image_14122025_22_29_45_9711.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5782883167266846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 23:02:12.272867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:02:22.187288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/28/image_14122025_22_28_55_10750.jpg', '/home/pi/Desktop/images/14122025/22/28/image_14122025_22_29_05_9731.jpg', '/home/pi/Desktop/images/14122025/22/29/image_14122025_22_29_15_9886.jpg', '/home/pi/Desktop/images/14122025/22/29/image_14122025_22_29_25_9735.jpg', '/home/pi/Desktop/images/14122025/22/29/image_14122025_22_29_35_10732.jpg', '/home/pi/Desktop/images/14122025/22/29/image_14122025_22_29_45_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/28/image_14122025_22_28_55_10750.jpg
/home/pi/Desktop/images/14122025/22/28/image_14122025_22_29_05_9731.jpg
/home/pi/Desktop/images/14122025/22/29/image_14122025_22_29_15_9886.jpg
/home/pi/Desktop/images/14122025/22/29/image_14122025_22_29_25_9735.jpg
/home/pi/Desktop/images/14122025/22/29/image_14122025_22_29_35_10732.jpg
/home/pi/Desktop/images/14122025/22/29/image_14122025_22_29_45_9711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399415900","1399415968","1399416004","1399415911","1399415969","1399415951"],"photo_ids_order":["1399415900","1399415911","1399415951","1399415968","1399415969","1399416004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/03b71275dbc367e0c86edcd5b07822c5.jpg","text":"TemporaryFile(/tmp/multipartBody2124049803190954542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749802809,"filename":"image_14122025_22_28_55_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb7541d4c3a074a00651b3e6e1c2c1fb.jpg","text":"TemporaryFile(/tmp/multipartBody3433514272396940830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749802809,"filename":"image_14122025_22_29_25_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/75cab1a6ff2441fed2aa4bcc5b909494.jpg","text":"TemporaryFile(/tmp/multipartBody4968692728905471422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749802809,"filename":"image_14122025_22_29_45_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d7383f5e323056860749a2f16f25c99d.jpg","text":"TemporaryFile(/tmp/multipartBody957839538661781981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749802809,"filename":"image_14122025_22_29_05_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ae865d48585f2540fcc392052835fc1.jpg","text":"TemporaryFile(/tmp/multipartBody5206316596224076153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749802809,"filename":"image_14122025_22_29_35_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a784f6f75e465c744b1c486e11b0f80c.jpg","text":"TemporaryFile(/tmp/multipartBody1570828945512043069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749802809,"filename":"image_14122025_22_29_15_9886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399415951","file1":"1399415911","file0":"1399415900","file4":"1399415969","file5":"1399416004","file3":"1399415968"},"map_files_photo_id_array":[{"photo_id":"1399416004","filename":"file5"},{"photo_id":"1399415951","filename":"file2"},{"photo_id":"1399415969","filename":"file4"},{"photo_id":"1399415911","filename":"file1"},{"photo_id":"1399415900","filename":"file0"},{"photo_id":"1399415968","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399415900":["hashtag1","hashtag2"]},{"1399415968":["hashtag1","hashtag2"]},{"1399416004":["hashtag1","hashtag2"]},{"1399415911":["hashtag1","hashtag2"]},{"1399415969":["hashtag1","hashtag2"]},{"1399415951":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399415900, 1399415968, 1399416004, 1399415911, 1399415969, 1399415951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05551815032959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:03:03.268246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/30/image_14122025_22_30_26_10782.jpg', '/home/pi/Desktop/images/14122025/22/30/image_14122025_22_30_35_9846.jpg', '/home/pi/Desktop/images/14122025/22/30/image_14122025_22_30_45_9678.jpg', '/home/pi/Desktop/images/14122025/22/30/image_14122025_22_30_55_9867.jpg', '/home/pi/Desktop/images/14122025/22/30/image_14122025_22_31_05_9833.jpg', '/home/pi/Desktop/images/14122025/22/31/image_14122025_22_31_15_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/30/image_14122025_22_30_26_10782.jpg
/home/pi/Desktop/images/14122025/22/30/image_14122025_22_30_35_9846.jpg
/home/pi/Desktop/images/14122025/22/30/image_14122025_22_30_45_9678.jpg
/home/pi/Desktop/images/14122025/22/30/image_14122025_22_30_55_9867.jpg
/home/pi/Desktop/images/14122025/22/30/image_14122025_22_31_05_9833.jpg
/home/pi/Desktop/images/14122025/22/31/image_14122025_22_31_15_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":["1399416016","1399416019","1399416021","1399416018","1399416020","1399416017"],"photo_ids_order":["1399416016","1399416017","1399416018","1399416019","1399416020","1399416021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a79645e042b847c05965d6a0610d9ed7.jpg","text":"TemporaryFile(/tmp/multipartBody1610383475429602261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749843940,"filename":"image_14122025_22_30_26_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9e861fd7be8068f947d4ee8d26b4086c.jpg","text":"TemporaryFile(/tmp/multipartBody8794255739790814502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749843940,"filename":"image_14122025_22_30_55_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef40c0324699c63acf5d623722b47619.jpg","text":"TemporaryFile(/tmp/multipartBody4095319960163316384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749843940,"filename":"image_14122025_22_31_15_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2fec1440c2f4ca1d6aba946c41e450fe.jpg","text":"TemporaryFile(/tmp/multipartBody3018658938095157062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749843940,"filename":"image_14122025_22_30_45_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e1c04359ccca6f7978984a65461aa683.jpg","text":"TemporaryFile(/tmp/multipartBody6368839734112744104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749843940,"filename":"image_14122025_22_31_05_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8c97acc6d7921eca4aec64a0482d1887.jpg","text":"TemporaryFile(/tmp/multipartBody4149122085805564553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749843940,"filename":"image_14122025_22_30_35_9846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416018","file1":"1399416017","file0":"1399416016","file4":"1399416020","file5":"1399416021","file3":"1399416019"},"map_files_photo_id_array":[{"photo_id":"1399416021","filename":"file5"},{"photo_id":"1399416018","filename":"file2"},{"photo_id":"1399416020","filename":"file4"},{"photo_id":"1399416017","filename":"file1"},{"photo_id":"1399416016","filename":"file0"},{"photo_id":"1399416019","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416016":["hashtag1","hashtag2"]},{"1399416019":["hashtag1","hashtag2"]},{"1399416021":["hashtag1","hashtag2"]},{"1399416018":["hashtag1","hashtag2"]},{"1399416020":["hashtag1","hashtag2"]},{"1399416017":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416016, 1399416019, 1399416021, 1399416018, 1399416020, 1399416017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40184831619263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:03:42.413543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_10_1676.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_11_1662.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_13_1582.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_15_1720.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_16_1523.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_18_1596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_10_1676.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_11_1662.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_13_1582.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_15_1720.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_16_1523.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_18_1596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416022","1399416025","1399416028","1399416027","1399416024","1399416026"],"photo_ids_order":["1399416022","1399416024","1399416025","1399416026","1399416027","1399416028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/10929e04a555bb0ba2bc899bb5cebe55.jpg","text":"TemporaryFile(/tmp/multipartBody7853496956589115948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749883099,"filename":"image_04112025_15_14_10_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b4ac3992b316dfd002ee8d656e0933d.jpg","text":"TemporaryFile(/tmp/multipartBody6826432968192347347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749883099,"filename":"image_04112025_15_14_13_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/61924d6fc6c66468e592d7ac913b2c69.jpg","text":"TemporaryFile(/tmp/multipartBody5421937757337835945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749883099,"filename":"image_04112025_15_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/12/14/9e37cf6122322fb104933f5ead8bd0c6.jpg","text":"TemporaryFile(/tmp/multipartBody6606096433370637201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749883099,"filename":"image_04112025_15_14_16_1523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f1d30fe1fd960fa2ed9ae2c324108cc.jpg","text":"TemporaryFile(/tmp/multipartBody8505803672613825446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749883099,"filename":"image_04112025_15_14_11_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ae7881894f4a03080a516c1b31fa7ad.jpg","text":"TemporaryFile(/tmp/multipartBody7588410658420708772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749883099,"filename":"image_04112025_15_14_15_1720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416025","file1":"1399416024","file0":"1399416022","file4":"1399416027","file5":"1399416028","file3":"1399416026"},"map_files_photo_id_array":[{"photo_id":"1399416028","filename":"file5"},{"photo_id":"1399416025","filename":"file2"},{"photo_id":"1399416027","filename":"file4"},{"photo_id":"1399416024","filename":"file1"},{"photo_id":"1399416022","filename":"file0"},{"photo_id":"1399416026","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416022":["hashtag1","hashtag2"]},{"1399416025":["hashtag1","hashtag2"]},{"1399416028":["hashtag1","hashtag2"]},{"1399416027":["hashtag1","hashtag2"]},{"1399416024":["hashtag1","hashtag2"]},{"1399416026":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416022, 1399416025, 1399416028, 1399416027, 1399416024, 1399416026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.011603116989136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:04:22.735414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/31/image_14122025_22_31_25_9721.jpg', '/home/pi/Desktop/images/14122025/22/31/image_14122025_22_31_35_9753.jpg', '/home/pi/Desktop/images/14122025/22/31/image_14122025_22_31_55_9676.jpg', '/home/pi/Desktop/images/14122025/22/31/image_14122025_22_32_05_9635.jpg', '/home/pi/Desktop/images/14122025/22/32/image_14122025_22_32_26_10846.jpg', '/home/pi/Desktop/images/14122025/22/32/image_14122025_22_32_35_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/31/image_14122025_22_31_25_9721.jpg
/home/pi/Desktop/images/14122025/22/31/image_14122025_22_31_35_9753.jpg
/home/pi/Desktop/images/14122025/22/31/image_14122025_22_31_55_9676.jpg
/home/pi/Desktop/images/14122025/22/31/image_14122025_22_32_05_9635.jpg
/home/pi/Desktop/images/14122025/22/32/image_14122025_22_32_26_10846.jpg
/home/pi/Desktop/images/14122025/22/32/image_14122025_22_32_35_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416034","1399416031","1399416033","1399416030","1399416032","1399416029"],"photo_ids_order":["1399416029","1399416030","1399416031","1399416032","1399416033","1399416034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/69cc596ca23dde460b721f5c1864f1ec.jpg","text":"TemporaryFile(/tmp/multipartBody5742621187900943530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749923362,"filename":"image_14122025_22_32_35_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fad35a2b0f7913c9cd4a6e96b7a1fe4e.jpg","text":"TemporaryFile(/tmp/multipartBody3753749841813947558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749923362,"filename":"image_14122025_22_31_55_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d983d1c171dc0ecfe76e2cc7b848c157.jpg","text":"TemporaryFile(/tmp/multipartBody7535927391536119518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749923362,"filename":"image_14122025_22_32_26_10846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eadeed0ae84b466701f04ac80eb6ada3.jpg","text":"TemporaryFile(/tmp/multipartBody4288413553181982148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749923362,"filename":"image_14122025_22_31_35_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3593ed9c46a2b50054ba6a69ab27fa1.jpg","text":"TemporaryFile(/tmp/multipartBody6607005120095623644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749923362,"filename":"image_14122025_22_32_05_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f62dc5038818f3544ed2d895c786eb7.jpg","text":"TemporaryFile(/tmp/multipartBody6302228941411501932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749923362,"filename":"image_14122025_22_31_25_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416031","file1":"1399416030","file0":"1399416029","file4":"1399416033","file5":"1399416034","file3":"1399416032"},"map_files_photo_id_array":[{"photo_id":"1399416034","filename":"file5"},{"photo_id":"1399416031","filename":"file2"},{"photo_id":"1399416033","filename":"file4"},{"photo_id":"1399416030","filename":"file1"},{"photo_id":"1399416029","filename":"file0"},{"photo_id":"1399416032","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416034":["hashtag1","hashtag2"]},{"1399416031":["hashtag1","hashtag2"]},{"1399416033":["hashtag1","hashtag2"]},{"1399416030":["hashtag1","hashtag2"]},{"1399416032":["hashtag1","hashtag2"]},{"1399416029":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416034, 1399416031, 1399416033, 1399416030, 1399416032, 1399416029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09147381782532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:05:02.374409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/32/image_14122025_22_32_45_9611.jpg', '/home/pi/Desktop/images/14122025/22/32/image_14122025_22_32_56_10711.jpg', '/home/pi/Desktop/images/14122025/22/33/image_14122025_22_33_15_9680.jpg', '/home/pi/Desktop/images/14122025/22/33/image_14122025_22_33_25_9666.jpg', '/home/pi/Desktop/images/14122025/22/33/image_14122025_22_33_35_10555.jpg', '/home/pi/Desktop/images/14122025/22/33/image_14122025_22_33_45_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/32/image_14122025_22_32_45_9611.jpg
/home/pi/Desktop/images/14122025/22/32/image_14122025_22_32_56_10711.jpg
/home/pi/Desktop/images/14122025/22/33/image_14122025_22_33_15_9680.jpg
/home/pi/Desktop/images/14122025/22/33/image_14122025_22_33_25_9666.jpg
/home/pi/Desktop/images/14122025/22/33/image_14122025_22_33_35_10555.jpg
/home/pi/Desktop/images/14122025/22/33/image_14122025_22_33_45_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":["1399416040","1399416043","1399416042","1399416036","1399416041","1399416038"],"photo_ids_order":["1399416036","1399416038","1399416040","1399416041","1399416042","1399416043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/733b4252542239672dfb51cf3930d292.jpg","text":"TemporaryFile(/tmp/multipartBody4914651004989989961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749963064,"filename":"image_14122025_22_33_15_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c774a5411125748b32377eae298dab51.jpg","text":"TemporaryFile(/tmp/multipartBody4732677989553556084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749963064,"filename":"image_14122025_22_33_45_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2566b677d3fc99274f18bd16be133a0f.jpg","text":"TemporaryFile(/tmp/multipartBody7289329465751880719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749963064,"filename":"image_14122025_22_33_35_10555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6a1851193d0a464dbde7f1e37e33c5a3.jpg","text":"TemporaryFile(/tmp/multipartBody3304587208925542056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749963064,"filename":"image_14122025_22_32_45_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/48b2a091144b3ba07f4aa8197f9ab7c6.jpg","text":"TemporaryFile(/tmp/multipartBody1552728245580649460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749963064,"filename":"image_14122025_22_33_25_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2c079ea18da8cf13dd2344d9c31bcaa1.jpg","text":"TemporaryFile(/tmp/multipartBody5595545258869916253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765749963064,"filename":"image_14122025_22_32_56_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416040","file1":"1399416038","file0":"1399416036","file4":"1399416042","file5":"1399416043","file3":"1399416041"},"map_files_photo_id_array":[{"photo_id":"1399416043","filename":"file5"},{"photo_id":"1399416040","filename":"file2"},{"photo_id":"1399416042","filename":"file4"},{"photo_id":"1399416038","filename":"file1"},{"photo_id":"1399416036","filename":"file0"},{"photo_id":"1399416041","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416040":["hashtag1","hashtag2"]},{"1399416043":["hashtag1","hashtag2"]},{"1399416042":["hashtag1","hashtag2"]},{"1399416036":["hashtag1","hashtag2"]},{"1399416041":["hashtag1","hashtag2"]},{"1399416038":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416040, 1399416043, 1399416042, 1399416036, 1399416041, 1399416038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6884126663208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:05:41.940848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_19_1644.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_21_1837.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_23_1653.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_25_1667.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_26_1637.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_28_1687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_19_1644.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_21_1837.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_23_1653.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_25_1667.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_26_1637.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_28_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":["1399416049","1399416046","1399416048","1399416050","1399416044","1399416047"],"photo_ids_order":["1399416044","1399416046","1399416047","1399416048","1399416049","1399416050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/439c2f62f7d6e9f6a69ae443a5ecb366.jpg","text":"TemporaryFile(/tmp/multipartBody6386498634455894128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750002639,"filename":"image_04112025_15_14_26_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dcd87c94c96770f983e77f8cb7837e0c.jpg","text":"TemporaryFile(/tmp/multipartBody6628264762849324351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750002639,"filename":"image_04112025_15_14_21_1837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9b9b700f13da7ac269ef4aded7328fb6.jpg","text":"TemporaryFile(/tmp/multipartBody1343792448766715159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750002639,"filename":"image_04112025_15_14_25_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5165c6b9f217853e627974adcef52c5c.jpg","text":"TemporaryFile(/tmp/multipartBody1101255919717050256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750002639,"filename":"image_04112025_15_14_28_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f59fa350ffedf7f5e2366ec95107c802.jpg","text":"TemporaryFile(/tmp/multipartBody7026918261638521120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750002639,"filename":"image_04112025_15_14_19_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1a13dd0030e56216d2058533416fe170.jpg","text":"TemporaryFile(/tmp/multipartBody4309752945098229038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750002639,"filename":"image_04112025_15_14_23_1653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416047","file1":"1399416046","file0":"1399416044","file4":"1399416049","file5":"1399416050","file3":"1399416048"},"map_files_photo_id_array":[{"photo_id":"1399416050","filename":"file5"},{"photo_id":"1399416047","filename":"file2"},{"photo_id":"1399416049","filename":"file4"},{"photo_id":"1399416046","filename":"file1"},{"photo_id":"1399416044","filename":"file0"},{"photo_id":"1399416048","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416049":["hashtag1","hashtag2"]},{"1399416046":["hashtag1","hashtag2"]},{"1399416048":["hashtag1","hashtag2"]},{"1399416050":["hashtag1","hashtag2"]},{"1399416044":["hashtag1","hashtag2"]},{"1399416047":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416049, 1399416046, 1399416048, 1399416050, 1399416044, 1399416047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55874037742615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:06:22.208074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/33/image_14122025_22_33_55_9945.jpg', '/home/pi/Desktop/images/14122025/22/33/image_14122025_22_34_05_9744.jpg', '/home/pi/Desktop/images/14122025/22/34/image_14122025_22_34_15_10635.jpg', '/home/pi/Desktop/images/14122025/22/34/image_14122025_22_34_25_9686.jpg', '/home/pi/Desktop/images/14122025/22/34/image_14122025_22_34_35_9803.jpg', '/home/pi/Desktop/images/14122025/22/34/image_14122025_22_34_46_10817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/33/image_14122025_22_33_55_9945.jpg
/home/pi/Desktop/images/14122025/22/33/image_14122025_22_34_05_9744.jpg
/home/pi/Desktop/images/14122025/22/34/image_14122025_22_34_15_10635.jpg
/home/pi/Desktop/images/14122025/22/34/image_14122025_22_34_25_9686.jpg
/home/pi/Desktop/images/14122025/22/34/image_14122025_22_34_35_9803.jpg
/home/pi/Desktop/images/14122025/22/34/image_14122025_22_34_46_10817.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5091485977172852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 23:06:32.286272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:06:42.241448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_30_1678.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_31_1600.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_33_1525.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_36_3700.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_39_2564.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_42_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_30_1678.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_31_1600.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_33_1525.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_36_3700.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_39_2564.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_42_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":["1399416061","1399416063","1399416060","1399416062","1399416056","1399416059"],"photo_ids_order":["1399416056","1399416059","1399416060","1399416061","1399416062","1399416063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1e82b2855fa7bb88b70ea770ff29bcc7.jpg","text":"TemporaryFile(/tmp/multipartBody8097084670937106329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750062974,"filename":"image_04112025_15_14_36_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/79146ae046db822bab6e413f994e126c.jpg","text":"TemporaryFile(/tmp/multipartBody671468608434604903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750062974,"filename":"image_04112025_15_14_42_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3374ed2e429df96996168ce71f883b1b.jpg","text":"TemporaryFile(/tmp/multipartBody8701105335952570049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750062974,"filename":"image_04112025_15_14_33_1525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0d79d73cfb50ce3ce8e840620799a1b7.jpg","text":"TemporaryFile(/tmp/multipartBody943832943866730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750062974,"filename":"image_04112025_15_14_39_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/128321997a72b5aebc10fd170df43783.jpg","text":"TemporaryFile(/tmp/multipartBody1160388552771050626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750062974,"filename":"image_04112025_15_14_30_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/96bb2721a0bba5abae12132d8ee7189f.jpg","text":"TemporaryFile(/tmp/multipartBody7083748719979578510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750062974,"filename":"image_04112025_15_14_31_1600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416060","file1":"1399416059","file0":"1399416056","file4":"1399416062","file5":"1399416063","file3":"1399416061"},"map_files_photo_id_array":[{"photo_id":"1399416063","filename":"file5"},{"photo_id":"1399416060","filename":"file2"},{"photo_id":"1399416062","filename":"file4"},{"photo_id":"1399416059","filename":"file1"},{"photo_id":"1399416056","filename":"file0"},{"photo_id":"1399416061","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416061":["hashtag1","hashtag2"]},{"1399416063":["hashtag1","hashtag2"]},{"1399416060":["hashtag1","hashtag2"]},{"1399416062":["hashtag1","hashtag2"]},{"1399416056":["hashtag1","hashtag2"]},{"1399416059":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416061, 1399416063, 1399416060, 1399416062, 1399416056, 1399416059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.880738496780396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:07:22.504245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/33/image_14122025_22_33_55_9945.jpg', '/home/pi/Desktop/images/14122025/22/33/image_14122025_22_34_05_9744.jpg', '/home/pi/Desktop/images/14122025/22/34/image_14122025_22_34_15_10635.jpg', '/home/pi/Desktop/images/14122025/22/34/image_14122025_22_34_25_9686.jpg', '/home/pi/Desktop/images/14122025/22/34/image_14122025_22_34_35_9803.jpg', '/home/pi/Desktop/images/14122025/22/34/image_14122025_22_34_46_10817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/33/image_14122025_22_33_55_9945.jpg
/home/pi/Desktop/images/14122025/22/33/image_14122025_22_34_05_9744.jpg
/home/pi/Desktop/images/14122025/22/34/image_14122025_22_34_15_10635.jpg
/home/pi/Desktop/images/14122025/22/34/image_14122025_22_34_25_9686.jpg
/home/pi/Desktop/images/14122025/22/34/image_14122025_22_34_35_9803.jpg
/home/pi/Desktop/images/14122025/22/34/image_14122025_22_34_46_10817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416067","1399416064","1399416066","1399416069","1399416068","1399416065"],"photo_ids_order":["1399416064","1399416065","1399416066","1399416067","1399416068","1399416069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e4960b5a37a37e5f45c1c897323ac8b4.jpg","text":"TemporaryFile(/tmp/multipartBody5140322536204393641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750103128,"filename":"image_14122025_22_34_25_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/492dd76403926d8c4e1c4d171f8e8707.jpg","text":"TemporaryFile(/tmp/multipartBody3229636183749775775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750103128,"filename":"image_14122025_22_33_55_9945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ec9d2e7c40bddf5bce0dfff5cf8f23d.jpg","text":"TemporaryFile(/tmp/multipartBody1568669706404719637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750103128,"filename":"image_14122025_22_34_15_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b2a65e88b0ce914f8d60b450dbc3f782.jpg","text":"TemporaryFile(/tmp/multipartBody6034723002367075801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750103128,"filename":"image_14122025_22_34_46_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f4ab372ddbd35e7f89d4a4ca2c8c6a23.jpg","text":"TemporaryFile(/tmp/multipartBody7012103336482471810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750103128,"filename":"image_14122025_22_34_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/12/14/f759bf34e649867414c53fcb6a1eeb0a.jpg","text":"TemporaryFile(/tmp/multipartBody8742548034859639124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750103128,"filename":"image_14122025_22_34_05_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416066","file1":"1399416065","file0":"1399416064","file4":"1399416068","file5":"1399416069","file3":"1399416067"},"map_files_photo_id_array":[{"photo_id":"1399416069","filename":"file5"},{"photo_id":"1399416066","filename":"file2"},{"photo_id":"1399416068","filename":"file4"},{"photo_id":"1399416065","filename":"file1"},{"photo_id":"1399416064","filename":"file0"},{"photo_id":"1399416067","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416067":["hashtag1","hashtag2"]},{"1399416064":["hashtag1","hashtag2"]},{"1399416066":["hashtag1","hashtag2"]},{"1399416069":["hashtag1","hashtag2"]},{"1399416068":["hashtag1","hashtag2"]},{"1399416065":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416067, 1399416064, 1399416066, 1399416069, 1399416068, 1399416065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48121523857117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:08:03.125790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/34/image_14122025_22_34_55_9686.jpg', '/home/pi/Desktop/images/14122025/22/35/image_14122025_22_35_13_10052.jpg', '/home/pi/Desktop/images/14122025/22/35/image_14122025_22_35_24_10668.jpg', '/home/pi/Desktop/images/14122025/22/35/image_14122025_22_35_34_9813.jpg', '/home/pi/Desktop/images/14122025/22/35/image_14122025_22_35_44_9707.jpg', '/home/pi/Desktop/images/14122025/22/35/image_14122025_22_35_53_9856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/34/image_14122025_22_34_55_9686.jpg
/home/pi/Desktop/images/14122025/22/35/image_14122025_22_35_13_10052.jpg
/home/pi/Desktop/images/14122025/22/35/image_14122025_22_35_24_10668.jpg
/home/pi/Desktop/images/14122025/22/35/image_14122025_22_35_34_9813.jpg
/home/pi/Desktop/images/14122025/22/35/image_14122025_22_35_44_9707.jpg
/home/pi/Desktop/images/14122025/22/35/image_14122025_22_35_53_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":["1399416073","1399416076","1399416075","1399416072","1399416074","1399416071"],"photo_ids_order":["1399416071","1399416072","1399416073","1399416074","1399416075","1399416076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c2d0c230479f7d1cc01bbfdb7597c49f.jpg","text":"TemporaryFile(/tmp/multipartBody4702814861732396721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750143764,"filename":"image_14122025_22_35_24_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0ed39ff231a8b6364d55de46b1cee5c9.jpg","text":"TemporaryFile(/tmp/multipartBody96602256975436767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750143764,"filename":"image_14122025_22_35_53_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e9a442ea8857733a3e3abc4c1d402066.jpg","text":"TemporaryFile(/tmp/multipartBody6655280804507390597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750143764,"filename":"image_14122025_22_35_44_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf3aa385030dce2a55f4794e330cee68.jpg","text":"TemporaryFile(/tmp/multipartBody4221650245675044091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750143764,"filename":"image_14122025_22_35_13_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e9a7d9ce07ad2e4592eb124a01f935a2.jpg","text":"TemporaryFile(/tmp/multipartBody252426023437823819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750143764,"filename":"image_14122025_22_35_34_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3232b164988ecd6419d65523529c6cc1.jpg","text":"TemporaryFile(/tmp/multipartBody8597910002998015450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750143764,"filename":"image_14122025_22_34_55_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416073","file1":"1399416072","file0":"1399416071","file4":"1399416075","file5":"1399416076","file3":"1399416074"},"map_files_photo_id_array":[{"photo_id":"1399416076","filename":"file5"},{"photo_id":"1399416073","filename":"file2"},{"photo_id":"1399416075","filename":"file4"},{"photo_id":"1399416072","filename":"file1"},{"photo_id":"1399416071","filename":"file0"},{"photo_id":"1399416074","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416073":["hashtag1","hashtag2"]},{"1399416076":["hashtag1","hashtag2"]},{"1399416075":["hashtag1","hashtag2"]},{"1399416072":["hashtag1","hashtag2"]},{"1399416074":["hashtag1","hashtag2"]},{"1399416071":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416073, 1399416076, 1399416075, 1399416072, 1399416074, 1399416071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.175026416778564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:08:42.679947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_45_3721.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_48_3075.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_51_2669.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_54_3073.jpg', '/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_57_2640.jpg', '/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_01_4247.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_45_3721.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_48_3075.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_51_2669.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_54_3073.jpg
/home/pi/Desktop/images/04112025/15/14/image_04112025_15_14_57_2640.jpg
/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_01_4247.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416082","1399416081","1399416078","1399416080","1399416083","1399416085"],"photo_ids_order":["1399416078","1399416080","1399416081","1399416082","1399416083","1399416085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cbc8e5a3c51f0d159f4c5201a2f7df04.jpg","text":"TemporaryFile(/tmp/multipartBody3270766525486829108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750183385,"filename":"image_04112025_15_14_54_3073.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bea5834ad98e4e8f2d47c98001dba563.jpg","text":"TemporaryFile(/tmp/multipartBody9038893217818816650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750183385,"filename":"image_04112025_15_14_51_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eccbfefef17f7d0406c438ebe9e3efcf.jpg","text":"TemporaryFile(/tmp/multipartBody3031874215714439775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750183385,"filename":"image_04112025_15_14_45_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e377775d73afca06c867b31353f43f7e.jpg","text":"TemporaryFile(/tmp/multipartBody4324896677368875777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750183385,"filename":"image_04112025_15_14_48_3075.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f27da54ed10b0de24286210bc6428ca.jpg","text":"TemporaryFile(/tmp/multipartBody7855414760920639741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750183385,"filename":"image_04112025_15_14_57_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/66a9b79a2e710d5910d5a789e8a46465.jpg","text":"TemporaryFile(/tmp/multipartBody7258524197153231275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750183385,"filename":"image_04112025_15_15_01_4247.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416081","file1":"1399416080","file0":"1399416078","file4":"1399416083","file5":"1399416085","file3":"1399416082"},"map_files_photo_id_array":[{"photo_id":"1399416085","filename":"file5"},{"photo_id":"1399416081","filename":"file2"},{"photo_id":"1399416083","filename":"file4"},{"photo_id":"1399416080","filename":"file1"},{"photo_id":"1399416078","filename":"file0"},{"photo_id":"1399416082","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416082":["hashtag1","hashtag2"]},{"1399416081":["hashtag1","hashtag2"]},{"1399416078":["hashtag1","hashtag2"]},{"1399416080":["hashtag1","hashtag2"]},{"1399416083":["hashtag1","hashtag2"]},{"1399416085":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416082, 1399416081, 1399416078, 1399416080, 1399416083, 1399416085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23303437232971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:09:21.951618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/35/image_14122025_22_36_04_10878.jpg', '/home/pi/Desktop/images/14122025/22/36/image_14122025_22_36_14_9608.jpg', '/home/pi/Desktop/images/14122025/22/36/image_14122025_22_36_24_9722.jpg', '/home/pi/Desktop/images/14122025/22/36/image_14122025_22_36_54_9742.jpg', '/home/pi/Desktop/images/14122025/22/36/image_14122025_22_37_04_9877.jpg', '/home/pi/Desktop/images/14122025/22/37/image_14122025_22_37_14_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/35/image_14122025_22_36_04_10878.jpg
/home/pi/Desktop/images/14122025/22/36/image_14122025_22_36_14_9608.jpg
/home/pi/Desktop/images/14122025/22/36/image_14122025_22_36_24_9722.jpg
/home/pi/Desktop/images/14122025/22/36/image_14122025_22_36_54_9742.jpg
/home/pi/Desktop/images/14122025/22/36/image_14122025_22_37_04_9877.jpg
/home/pi/Desktop/images/14122025/22/37/image_14122025_22_37_14_9734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416088","1399416090","1399416087","1399416086","1399416089","1399416091"],"photo_ids_order":["1399416086","1399416087","1399416088","1399416089","1399416090","1399416091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5f8f8cfdbafaadfc3752f6aab99b6a7a.jpg","text":"TemporaryFile(/tmp/multipartBody6483427937344994348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750222572,"filename":"image_14122025_22_36_24_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/894e831fcf853a422ff69022a50c48ae.jpg","text":"TemporaryFile(/tmp/multipartBody8965043686792782883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750222572,"filename":"image_14122025_22_37_04_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/277a9039dd359cfa6a2fe6514b928ed2.jpg","text":"TemporaryFile(/tmp/multipartBody7808571947168532997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750222572,"filename":"image_14122025_22_36_14_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/152b37eccf4db03ff6572585704b5132.jpg","text":"TemporaryFile(/tmp/multipartBody4497947880037695244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750222572,"filename":"image_14122025_22_36_04_10878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e6d13aec3333202e4ec081d2be99687e.jpg","text":"TemporaryFile(/tmp/multipartBody8734211482282025050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750222572,"filename":"image_14122025_22_36_54_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9772be92852a599941822290d0c883d3.jpg","text":"TemporaryFile(/tmp/multipartBody4087066949202196339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750222572,"filename":"image_14122025_22_37_14_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416088","file1":"1399416087","file0":"1399416086","file4":"1399416090","file5":"1399416091","file3":"1399416089"},"map_files_photo_id_array":[{"photo_id":"1399416091","filename":"file5"},{"photo_id":"1399416088","filename":"file2"},{"photo_id":"1399416090","filename":"file4"},{"photo_id":"1399416087","filename":"file1"},{"photo_id":"1399416086","filename":"file0"},{"photo_id":"1399416089","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416088":["hashtag1","hashtag2"]},{"1399416090":["hashtag1","hashtag2"]},{"1399416087":["hashtag1","hashtag2"]},{"1399416086":["hashtag1","hashtag2"]},{"1399416089":["hashtag1","hashtag2"]},{"1399416091":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416088, 1399416090, 1399416087, 1399416086, 1399416089, 1399416091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.820066690444946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:10:02.557889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/37/image_14122025_22_37_24_10632.jpg', '/home/pi/Desktop/images/14122025/22/37/image_14122025_22_37_34_9668.jpg', '/home/pi/Desktop/images/14122025/22/37/image_14122025_22_37_44_9685.jpg', '/home/pi/Desktop/images/14122025/22/37/image_14122025_22_37_53_9814.jpg', '/home/pi/Desktop/images/14122025/22/37/image_14122025_22_38_04_10737.jpg', '/home/pi/Desktop/images/14122025/22/38/image_14122025_22_38_14_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/37/image_14122025_22_37_24_10632.jpg
/home/pi/Desktop/images/14122025/22/37/image_14122025_22_37_34_9668.jpg
/home/pi/Desktop/images/14122025/22/37/image_14122025_22_37_44_9685.jpg
/home/pi/Desktop/images/14122025/22/37/image_14122025_22_37_53_9814.jpg
/home/pi/Desktop/images/14122025/22/37/image_14122025_22_38_04_10737.jpg
/home/pi/Desktop/images/14122025/22/38/image_14122025_22_38_14_9598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416094","1399416093","1399416096","1399416092","1399416095","1399416097"],"photo_ids_order":["1399416092","1399416093","1399416094","1399416095","1399416096","1399416097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/55922f66888c7152746859eee9d044f5.jpg","text":"TemporaryFile(/tmp/multipartBody993257689467683827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750263188,"filename":"image_14122025_22_37_44_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/24b682dc7cc39d16f1dac01e2564e886.jpg","text":"TemporaryFile(/tmp/multipartBody7639357072018696395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750263188,"filename":"image_14122025_22_37_34_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2e090bfae09bb9b7497cfa5e400a2505.jpg","text":"TemporaryFile(/tmp/multipartBody634948975107392992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750263188,"filename":"image_14122025_22_38_04_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c5a717e600dddc9ba50a531f19b02805.jpg","text":"TemporaryFile(/tmp/multipartBody7209430495235271983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750263188,"filename":"image_14122025_22_37_24_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ffadbaac2e370c1e8d39eb141b09926.jpg","text":"TemporaryFile(/tmp/multipartBody3707526022690562604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750263188,"filename":"image_14122025_22_37_53_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8881fd66533b515ebf49887bb47a3de3.jpg","text":"TemporaryFile(/tmp/multipartBody3733857742049826713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750263188,"filename":"image_14122025_22_38_14_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416094","file1":"1399416093","file0":"1399416092","file4":"1399416096","file5":"1399416097","file3":"1399416095"},"map_files_photo_id_array":[{"photo_id":"1399416097","filename":"file5"},{"photo_id":"1399416094","filename":"file2"},{"photo_id":"1399416096","filename":"file4"},{"photo_id":"1399416093","filename":"file1"},{"photo_id":"1399416092","filename":"file0"},{"photo_id":"1399416095","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416094":["hashtag1","hashtag2"]},{"1399416093":["hashtag1","hashtag2"]},{"1399416096":["hashtag1","hashtag2"]},{"1399416092":["hashtag1","hashtag2"]},{"1399416095":["hashtag1","hashtag2"]},{"1399416097":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416094, 1399416093, 1399416096, 1399416092, 1399416095, 1399416097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04801034927368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:10:42.139291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_03_1720.jpg', '/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_06_3108.jpg', '/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_09_3525.jpg', '/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_17_7886.jpg', '/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_19_1637.jpg', '/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_21_1671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_03_1720.jpg
/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_06_3108.jpg
/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_09_3525.jpg
/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_17_7886.jpg
/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_19_1637.jpg
/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_21_1671.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5864717960357666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:11:03.128268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/38/image_14122025_22_38_24_9843.jpg', '/home/pi/Desktop/images/14122025/22/38/image_14122025_22_38_33_9789.jpg', '/home/pi/Desktop/images/14122025/22/38/image_14122025_22_38_44_10605.jpg', '/home/pi/Desktop/images/14122025/22/38/image_14122025_22_38_54_9717.jpg', '/home/pi/Desktop/images/14122025/22/38/image_14122025_22_39_04_10622.jpg', '/home/pi/Desktop/images/14122025/22/39/image_14122025_22_39_14_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/38/image_14122025_22_38_24_9843.jpg
/home/pi/Desktop/images/14122025/22/38/image_14122025_22_38_33_9789.jpg
/home/pi/Desktop/images/14122025/22/38/image_14122025_22_38_44_10605.jpg
/home/pi/Desktop/images/14122025/22/38/image_14122025_22_38_54_9717.jpg
/home/pi/Desktop/images/14122025/22/38/image_14122025_22_39_04_10622.jpg
/home/pi/Desktop/images/14122025/22/39/image_14122025_22_39_14_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":["1399416106","1399416109","1399416108","1399416105","1399416110","1399416107"],"photo_ids_order":["1399416105","1399416106","1399416107","1399416108","1399416109","1399416110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0db94dfe83cff85889df5d8440acd95d.jpg","text":"TemporaryFile(/tmp/multipartBody658429622800706705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750323790,"filename":"image_14122025_22_38_33_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/eef192bba328ed390899f67cf30697cf.jpg","text":"TemporaryFile(/tmp/multipartBody7987824457818315828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750323790,"filename":"image_14122025_22_39_04_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/028d2a8ced94d2e4f3c9e0592f3a504e.jpg","text":"TemporaryFile(/tmp/multipartBody181458759555085475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750323790,"filename":"image_14122025_22_38_54_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4eacaa20f0aec4cb47de05c8d65726fe.jpg","text":"TemporaryFile(/tmp/multipartBody2591008481591833088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750323790,"filename":"image_14122025_22_38_24_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a92fdd3a1d121b2b2035b47af9040d21.jpg","text":"TemporaryFile(/tmp/multipartBody2497039657048679919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750323790,"filename":"image_14122025_22_39_14_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/42461bee74d65450e5d00f8e580209ec.jpg","text":"TemporaryFile(/tmp/multipartBody6462880490202387989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750323790,"filename":"image_14122025_22_38_44_10605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416107","file1":"1399416106","file0":"1399416105","file4":"1399416109","file5":"1399416110","file3":"1399416108"},"map_files_photo_id_array":[{"photo_id":"1399416110","filename":"file5"},{"photo_id":"1399416107","filename":"file2"},{"photo_id":"1399416109","filename":"file4"},{"photo_id":"1399416106","filename":"file1"},{"photo_id":"1399416105","filename":"file0"},{"photo_id":"1399416108","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416106":["hashtag1","hashtag2"]},{"1399416109":["hashtag1","hashtag2"]},{"1399416108":["hashtag1","hashtag2"]},{"1399416105":["hashtag1","hashtag2"]},{"1399416110":["hashtag1","hashtag2"]},{"1399416107":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416106, 1399416109, 1399416108, 1399416105, 1399416110, 1399416107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77356219291687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:11:42.372888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_03_1720.jpg', '/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_06_3108.jpg', '/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_09_3525.jpg', '/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_17_7886.jpg', '/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_19_1637.jpg', '/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_21_1671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_03_1720.jpg
/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_06_3108.jpg
/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_09_3525.jpg
/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_17_7886.jpg
/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_19_1637.jpg
/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_21_1671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416115","1399416112","1399416111","1399416114","1399416117","1399416113"],"photo_ids_order":["1399416111","1399416112","1399416113","1399416114","1399416115","1399416117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92684dde4ecc550e2ba137e05341e728.jpg","text":"TemporaryFile(/tmp/multipartBody6765913135592327679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750362954,"filename":"image_04112025_15_15_19_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6b2899c7bec186cc90576392dde8534f.jpg","text":"TemporaryFile(/tmp/multipartBody1938020706110683870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750362954,"filename":"image_04112025_15_15_06_3108.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/53bd24abb290d1f71c35e42fb1d12888.jpg","text":"TemporaryFile(/tmp/multipartBody8630646169892416197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750362954,"filename":"image_04112025_15_15_03_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f42247a750bad8b732d732bbbda54253.jpg","text":"TemporaryFile(/tmp/multipartBody9061884951640922263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750362954,"filename":"image_04112025_15_15_17_7886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8fa1765212cd262e8bb97a56cc81951f.jpg","text":"TemporaryFile(/tmp/multipartBody3313498060828705363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750362954,"filename":"image_04112025_15_15_21_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cb0dd69a1edd6cebeae4c895c08d4edd.jpg","text":"TemporaryFile(/tmp/multipartBody267655528585853857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750362954,"filename":"image_04112025_15_15_09_3525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416113","file1":"1399416112","file0":"1399416111","file4":"1399416115","file5":"1399416117","file3":"1399416114"},"map_files_photo_id_array":[{"photo_id":"1399416117","filename":"file5"},{"photo_id":"1399416113","filename":"file2"},{"photo_id":"1399416115","filename":"file4"},{"photo_id":"1399416112","filename":"file1"},{"photo_id":"1399416111","filename":"file0"},{"photo_id":"1399416114","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416115":["hashtag1","hashtag2"]},{"1399416112":["hashtag1","hashtag2"]},{"1399416111":["hashtag1","hashtag2"]},{"1399416114":["hashtag1","hashtag2"]},{"1399416117":["hashtag1","hashtag2"]},{"1399416113":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416115, 1399416112, 1399416111, 1399416114, 1399416117, 1399416113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17773151397705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:12:22.658328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/39/image_14122025_22_39_24_9747.jpg', '/home/pi/Desktop/images/14122025/22/39/image_14122025_22_39_34_10603.jpg', '/home/pi/Desktop/images/14122025/22/39/image_14122025_22_39_44_9667.jpg', '/home/pi/Desktop/images/14122025/22/39/image_14122025_22_39_54_9684.jpg', '/home/pi/Desktop/images/14122025/22/40/image_14122025_22_40_14_10057.jpg', '/home/pi/Desktop/images/14122025/22/40/image_14122025_22_40_25_10803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/39/image_14122025_22_39_24_9747.jpg
/home/pi/Desktop/images/14122025/22/39/image_14122025_22_39_34_10603.jpg
/home/pi/Desktop/images/14122025/22/39/image_14122025_22_39_44_9667.jpg
/home/pi/Desktop/images/14122025/22/39/image_14122025_22_39_54_9684.jpg
/home/pi/Desktop/images/14122025/22/40/image_14122025_22_40_14_10057.jpg
/home/pi/Desktop/images/14122025/22/40/image_14122025_22_40_25_10803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416121","1399416124","1399416120","1399416123","1399416122","1399416125"],"photo_ids_order":["1399416120","1399416121","1399416122","1399416123","1399416124","1399416125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0bb628d786c251f592d1b6a99d3e97a1.jpg","text":"TemporaryFile(/tmp/multipartBody5380894338662749500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750403332,"filename":"image_14122025_22_39_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/12/14/e34f1316853787ed000d04e825f40d26.jpg","text":"TemporaryFile(/tmp/multipartBody7414637181586975315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750403332,"filename":"image_14122025_22_40_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b2e9a1d13bd0e3690b8b310a202d058.jpg","text":"TemporaryFile(/tmp/multipartBody7024081752707498127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750403332,"filename":"image_14122025_22_39_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/12/14/fb2349372f798ec748352431f8db6b15.jpg","text":"TemporaryFile(/tmp/multipartBody59605076394109738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750403332,"filename":"image_14122025_22_39_54_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2e17bc62c4f69b4396d837f58e1b90bb.jpg","text":"TemporaryFile(/tmp/multipartBody5649952412268520903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750403332,"filename":"image_14122025_22_39_44_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b7b60e2af98941015e50c09fe5b3b7b5.jpg","text":"TemporaryFile(/tmp/multipartBody7346364018436975209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750403332,"filename":"image_14122025_22_40_25_10803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416122","file1":"1399416121","file0":"1399416120","file4":"1399416124","file5":"1399416125","file3":"1399416123"},"map_files_photo_id_array":[{"photo_id":"1399416125","filename":"file5"},{"photo_id":"1399416122","filename":"file2"},{"photo_id":"1399416124","filename":"file4"},{"photo_id":"1399416121","filename":"file1"},{"photo_id":"1399416120","filename":"file0"},{"photo_id":"1399416123","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416121":["hashtag1","hashtag2"]},{"1399416124":["hashtag1","hashtag2"]},{"1399416120":["hashtag1","hashtag2"]},{"1399416123":["hashtag1","hashtag2"]},{"1399416122":["hashtag1","hashtag2"]},{"1399416125":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416121, 1399416124, 1399416120, 1399416123, 1399416122, 1399416125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48364567756653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:13:02.499307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/40/image_14122025_22_40_34_9648.jpg', '/home/pi/Desktop/images/14122025/22/40/image_14122025_22_40_44_9848.jpg', '/home/pi/Desktop/images/14122025/22/40/image_14122025_22_40_54_9645.jpg', '/home/pi/Desktop/images/14122025/22/41/image_14122025_22_41_14_9803.jpg', '/home/pi/Desktop/images/14122025/22/41/image_14122025_22_41_24_9626.jpg', '/home/pi/Desktop/images/14122025/22/41/image_14122025_22_41_35_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/40/image_14122025_22_40_34_9648.jpg
/home/pi/Desktop/images/14122025/22/40/image_14122025_22_40_44_9848.jpg
/home/pi/Desktop/images/14122025/22/40/image_14122025_22_40_54_9645.jpg
/home/pi/Desktop/images/14122025/22/41/image_14122025_22_41_14_9803.jpg
/home/pi/Desktop/images/14122025/22/41/image_14122025_22_41_24_9626.jpg
/home/pi/Desktop/images/14122025/22/41/image_14122025_22_41_35_10624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416130","1399416127","1399416126","1399416129","1399416131","1399416128"],"photo_ids_order":["1399416126","1399416127","1399416128","1399416129","1399416130","1399416131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0888eeef6da429721a078585f66dce92.jpg","text":"TemporaryFile(/tmp/multipartBody1117629672174357146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750443151,"filename":"image_14122025_22_41_24_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ff42c40ada986f27a82af221976ca52.jpg","text":"TemporaryFile(/tmp/multipartBody8096958154187355566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750443151,"filename":"image_14122025_22_40_44_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/36b779d5b05070491543798c268d0da4.jpg","text":"TemporaryFile(/tmp/multipartBody2988613316493240104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750443151,"filename":"image_14122025_22_40_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e41c14fb64cf4a5b418884e1f4b8146a.jpg","text":"TemporaryFile(/tmp/multipartBody8057629992463753835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750443151,"filename":"image_14122025_22_41_14_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/500e9bf7f27f250ae42dd040cc87acbd.jpg","text":"TemporaryFile(/tmp/multipartBody2820998922160973737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750443151,"filename":"image_14122025_22_41_35_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/09b7fe3dfd45df0952d54106c1cafa44.jpg","text":"TemporaryFile(/tmp/multipartBody1882829102614471572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750443151,"filename":"image_14122025_22_40_54_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416128","file1":"1399416127","file0":"1399416126","file4":"1399416130","file5":"1399416131","file3":"1399416129"},"map_files_photo_id_array":[{"photo_id":"1399416131","filename":"file5"},{"photo_id":"1399416128","filename":"file2"},{"photo_id":"1399416130","filename":"file4"},{"photo_id":"1399416127","filename":"file1"},{"photo_id":"1399416126","filename":"file0"},{"photo_id":"1399416129","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416130":["hashtag1","hashtag2"]},{"1399416127":["hashtag1","hashtag2"]},{"1399416126":["hashtag1","hashtag2"]},{"1399416129":["hashtag1","hashtag2"]},{"1399416131":["hashtag1","hashtag2"]},{"1399416128":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416130, 1399416127, 1399416126, 1399416129, 1399416131, 1399416128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91301918029785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:13:41.862456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_22_1610.jpg', '/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_24_1593.jpg', '/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_26_2668.jpg', '/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_43_16764.jpg', '/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_45_1773.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_07_21525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_22_1610.jpg
/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_24_1593.jpg
/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_26_2668.jpg
/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_43_16764.jpg
/home/pi/Desktop/images/04112025/15/15/image_04112025_15_15_45_1773.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_07_21525.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416136","1399416138","1399416132","1399416135","1399416137","1399416134"],"photo_ids_order":["1399416132","1399416134","1399416135","1399416136","1399416137","1399416138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/910d373392ad7cbb80ce339b4b68a015.jpg","text":"TemporaryFile(/tmp/multipartBody7626623664212958655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750482560,"filename":"image_04112025_15_15_43_16764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/65204765780c9c55cff735bd89ba5ce4.jpg","text":"TemporaryFile(/tmp/multipartBody9141084042066454880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750482560,"filename":"image_04112025_15_16_07_21525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c16b2a03a8d96dc6acd7b6c0a52c2be6.jpg","text":"TemporaryFile(/tmp/multipartBody8970821675800785282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750482560,"filename":"image_04112025_15_15_22_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a36ebe4da5dc065441ad30a0475f92e8.jpg","text":"TemporaryFile(/tmp/multipartBody2681582860399916113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750482560,"filename":"image_04112025_15_15_26_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f2d09d8c6068b2f4ba4ad253c66d64d6.jpg","text":"TemporaryFile(/tmp/multipartBody8865765114597836359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750482560,"filename":"image_04112025_15_15_45_1773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/16513d6d2ad8a299df0734f315a814c2.jpg","text":"TemporaryFile(/tmp/multipartBody6491862497334778999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750482560,"filename":"image_04112025_15_15_24_1593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416135","file1":"1399416134","file0":"1399416132","file4":"1399416137","file5":"1399416138","file3":"1399416136"},"map_files_photo_id_array":[{"photo_id":"1399416138","filename":"file5"},{"photo_id":"1399416135","filename":"file2"},{"photo_id":"1399416137","filename":"file4"},{"photo_id":"1399416134","filename":"file1"},{"photo_id":"1399416132","filename":"file0"},{"photo_id":"1399416136","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416136":["hashtag1","hashtag2"]},{"1399416138":["hashtag1","hashtag2"]},{"1399416132":["hashtag1","hashtag2"]},{"1399416135":["hashtag1","hashtag2"]},{"1399416137":["hashtag1","hashtag2"]},{"1399416134":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416136, 1399416138, 1399416132, 1399416135, 1399416137, 1399416134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89825630187988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:14:22.215353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/41/image_14122025_22_41_44_9615.jpg', '/home/pi/Desktop/images/14122025/22/41/image_14122025_22_41_55_10752.jpg', '/home/pi/Desktop/images/14122025/22/42/image_14122025_22_42_24_9658.jpg', '/home/pi/Desktop/images/14122025/22/42/image_14122025_22_42_35_10859.jpg', '/home/pi/Desktop/images/14122025/22/42/image_14122025_22_42_45_9720.jpg', '/home/pi/Desktop/images/14122025/22/42/image_14122025_22_42_54_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/41/image_14122025_22_41_44_9615.jpg
/home/pi/Desktop/images/14122025/22/41/image_14122025_22_41_55_10752.jpg
/home/pi/Desktop/images/14122025/22/42/image_14122025_22_42_24_9658.jpg
/home/pi/Desktop/images/14122025/22/42/image_14122025_22_42_35_10859.jpg
/home/pi/Desktop/images/14122025/22/42/image_14122025_22_42_45_9720.jpg
/home/pi/Desktop/images/14122025/22/42/image_14122025_22_42_54_9580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416145","1399416144","1399416141","1399416140","1399416143","1399416146"],"photo_ids_order":["1399416140","1399416141","1399416143","1399416144","1399416145","1399416146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb684f1d0a7e21b5cfa46d4dfa2792e4.jpg","text":"TemporaryFile(/tmp/multipartBody5005514396238551425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750522832,"filename":"image_14122025_22_42_45_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1567c829fc0b2103f1212ce0e4cbf5ab.jpg","text":"TemporaryFile(/tmp/multipartBody370767314440905550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750522832,"filename":"image_14122025_22_42_35_10859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d79f4858125e8c9c38b48a861df1c49f.jpg","text":"TemporaryFile(/tmp/multipartBody3759603647464972596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750522832,"filename":"image_14122025_22_41_55_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/185bdca32f61abcbc5aee88610463070.jpg","text":"TemporaryFile(/tmp/multipartBody2396396529625664507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750522832,"filename":"image_14122025_22_41_44_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/528af9fe0e6e28992ca838e01de01c55.jpg","text":"TemporaryFile(/tmp/multipartBody7700706540511966901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750522832,"filename":"image_14122025_22_42_24_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/306cabd52f8a1e1049ab042939db2c96.jpg","text":"TemporaryFile(/tmp/multipartBody7541363684134379308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750522832,"filename":"image_14122025_22_42_54_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416143","file1":"1399416141","file0":"1399416140","file4":"1399416145","file5":"1399416146","file3":"1399416144"},"map_files_photo_id_array":[{"photo_id":"1399416146","filename":"file5"},{"photo_id":"1399416143","filename":"file2"},{"photo_id":"1399416145","filename":"file4"},{"photo_id":"1399416141","filename":"file1"},{"photo_id":"1399416140","filename":"file0"},{"photo_id":"1399416144","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416145":["hashtag1","hashtag2"]},{"1399416144":["hashtag1","hashtag2"]},{"1399416141":["hashtag1","hashtag2"]},{"1399416140":["hashtag1","hashtag2"]},{"1399416143":["hashtag1","hashtag2"]},{"1399416146":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416145, 1399416144, 1399416141, 1399416140, 1399416143, 1399416146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.333757162094116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:15:03.005985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/42/image_14122025_22_43_04_9925.jpg', '/home/pi/Desktop/images/14122025/22/43/image_14122025_22_43_15_10653.jpg', '/home/pi/Desktop/images/14122025/22/43/image_14122025_22_43_34_9681.jpg', '/home/pi/Desktop/images/14122025/22/43/image_14122025_22_43_45_10615.jpg', '/home/pi/Desktop/images/14122025/22/43/image_14122025_22_43_54_9613.jpg', '/home/pi/Desktop/images/14122025/22/44/image_14122025_22_44_15_9908.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/42/image_14122025_22_43_04_9925.jpg
/home/pi/Desktop/images/14122025/22/43/image_14122025_22_43_15_10653.jpg
/home/pi/Desktop/images/14122025/22/43/image_14122025_22_43_34_9681.jpg
/home/pi/Desktop/images/14122025/22/43/image_14122025_22_43_45_10615.jpg
/home/pi/Desktop/images/14122025/22/43/image_14122025_22_43_54_9613.jpg
/home/pi/Desktop/images/14122025/22/44/image_14122025_22_44_15_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":["1399416154","1399416148","1399416150","1399416153","1399416155","1399416152"],"photo_ids_order":["1399416148","1399416150","1399416152","1399416153","1399416154","1399416155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a2d2b8434f617134de957b2db1878a83.jpg","text":"TemporaryFile(/tmp/multipartBody6169189755229947589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750563644,"filename":"image_14122025_22_43_54_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1d5319f5f756958d8b11f14432324f75.jpg","text":"TemporaryFile(/tmp/multipartBody9177617528121784279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750563644,"filename":"image_14122025_22_43_04_9925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/71708b57c2d57ee83b01c5aba74ed988.jpg","text":"TemporaryFile(/tmp/multipartBody1290628862914885653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750563644,"filename":"image_14122025_22_43_15_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c8fa743aba1a771a90ec969545febb33.jpg","text":"TemporaryFile(/tmp/multipartBody7160837482149594764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750563644,"filename":"image_14122025_22_43_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/12/14/820d022def8e1728733ce706d5e887f3.jpg","text":"TemporaryFile(/tmp/multipartBody1415071490734162895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750563644,"filename":"image_14122025_22_44_15_9908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b79a835041dd2982bb5c632dfc2a7c24.jpg","text":"TemporaryFile(/tmp/multipartBody2198135667300070162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750563644,"filename":"image_14122025_22_43_34_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416152","file1":"1399416150","file0":"1399416148","file4":"1399416154","file5":"1399416155","file3":"1399416153"},"map_files_photo_id_array":[{"photo_id":"1399416155","filename":"file5"},{"photo_id":"1399416152","filename":"file2"},{"photo_id":"1399416154","filename":"file4"},{"photo_id":"1399416150","filename":"file1"},{"photo_id":"1399416148","filename":"file0"},{"photo_id":"1399416153","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416154":["hashtag1","hashtag2"]},{"1399416148":["hashtag1","hashtag2"]},{"1399416150":["hashtag1","hashtag2"]},{"1399416153":["hashtag1","hashtag2"]},{"1399416155":["hashtag1","hashtag2"]},{"1399416152":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416154, 1399416148, 1399416150, 1399416153, 1399416155, 1399416152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.344443798065186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:15:42.327372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_08_1581.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_10_1517.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_11_1589.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_13_1654.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_15_1644.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_16_1603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_08_1581.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_10_1517.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_11_1589.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_13_1654.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_15_1644.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_16_1603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416160","1399416162","1399416156","1399416159","1399416161","1399416158"],"photo_ids_order":["1399416156","1399416158","1399416159","1399416160","1399416161","1399416162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1332687a66b37ea23a588b806d007719.jpg","text":"TemporaryFile(/tmp/multipartBody9182480470144443266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750603029,"filename":"image_04112025_15_16_13_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/52a9c7a6c8538daba3488bf8cdcdc953.jpg","text":"TemporaryFile(/tmp/multipartBody8180828646313210900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750603029,"filename":"image_04112025_15_16_16_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/74ee7f0c26b79f7dd98342bfebaa549d.jpg","text":"TemporaryFile(/tmp/multipartBody5786901081295805235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750603029,"filename":"image_04112025_15_16_08_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7a4be88e6480507422380b46d417d2ff.jpg","text":"TemporaryFile(/tmp/multipartBody3687427482183207333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750603029,"filename":"image_04112025_15_16_11_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3e9b8e051bee13425616ac733454a707.jpg","text":"TemporaryFile(/tmp/multipartBody3482496575151068320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750603029,"filename":"image_04112025_15_16_15_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e5113b095929a78e65d00696025e0ff0.jpg","text":"TemporaryFile(/tmp/multipartBody2663355035383649431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750603029,"filename":"image_04112025_15_16_10_1517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416159","file1":"1399416158","file0":"1399416156","file4":"1399416161","file5":"1399416162","file3":"1399416160"},"map_files_photo_id_array":[{"photo_id":"1399416162","filename":"file5"},{"photo_id":"1399416159","filename":"file2"},{"photo_id":"1399416161","filename":"file4"},{"photo_id":"1399416158","filename":"file1"},{"photo_id":"1399416156","filename":"file0"},{"photo_id":"1399416160","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416160":["hashtag1","hashtag2"]},{"1399416162":["hashtag1","hashtag2"]},{"1399416156":["hashtag1","hashtag2"]},{"1399416159":["hashtag1","hashtag2"]},{"1399416161":["hashtag1","hashtag2"]},{"1399416158":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416160, 1399416162, 1399416156, 1399416159, 1399416161, 1399416158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.753188371658325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:16:22.536289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/44/image_14122025_22_44_34_9720.jpg', '/home/pi/Desktop/images/14122025/22/44/image_14122025_22_44_44_9762.jpg', '/home/pi/Desktop/images/14122025/22/44/image_14122025_22_44_54_9955.jpg', '/home/pi/Desktop/images/14122025/22/45/image_14122025_22_45_14_10052.jpg', '/home/pi/Desktop/images/14122025/22/45/image_14122025_22_45_25_10696.jpg', '/home/pi/Desktop/images/14122025/22/45/image_14122025_22_45_35_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/44/image_14122025_22_44_34_9720.jpg
/home/pi/Desktop/images/14122025/22/44/image_14122025_22_44_44_9762.jpg
/home/pi/Desktop/images/14122025/22/44/image_14122025_22_44_54_9955.jpg
/home/pi/Desktop/images/14122025/22/45/image_14122025_22_45_14_10052.jpg
/home/pi/Desktop/images/14122025/22/45/image_14122025_22_45_25_10696.jpg
/home/pi/Desktop/images/14122025/22/45/image_14122025_22_45_35_9759.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.885723114013672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 23:16:32.625443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:16:42.576078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_18_1607.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_27_9374.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_29_1542.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_30_1788.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_32_1681.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_34_1629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_18_1607.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_27_9374.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_29_1542.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_30_1788.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_32_1681.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_34_1629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416172","1399416175","1399416174","1399416171","1399416168","1399416173"],"photo_ids_order":["1399416168","1399416171","1399416172","1399416173","1399416174","1399416175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/399a5f47794ef5785c67db0551085f08.jpg","text":"TemporaryFile(/tmp/multipartBody6152999214694875496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750663301,"filename":"image_04112025_15_16_29_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6613b58b09fa4407a5d1f97dd0135327.jpg","text":"TemporaryFile(/tmp/multipartBody7392356789634008433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750663301,"filename":"image_04112025_15_16_34_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90f38f148ae5a86c29742900765a9f48.jpg","text":"TemporaryFile(/tmp/multipartBody4302693762768876980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750663301,"filename":"image_04112025_15_16_32_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d3dd57c22ccc783ce861cc0e584bac5.jpg","text":"TemporaryFile(/tmp/multipartBody3156528763527101507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750663301,"filename":"image_04112025_15_16_27_9374.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/23714c28c2e10aa2ce2133b7d1fd93d1.jpg","text":"TemporaryFile(/tmp/multipartBody6898579959237153313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750663301,"filename":"image_04112025_15_16_18_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/34ccc2931a5ee3d0ae18edcaf67fdc36.jpg","text":"TemporaryFile(/tmp/multipartBody5782577709060296441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750663301,"filename":"image_04112025_15_16_30_1788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416172","file1":"1399416171","file0":"1399416168","file4":"1399416174","file5":"1399416175","file3":"1399416173"},"map_files_photo_id_array":[{"photo_id":"1399416175","filename":"file5"},{"photo_id":"1399416172","filename":"file2"},{"photo_id":"1399416174","filename":"file4"},{"photo_id":"1399416171","filename":"file1"},{"photo_id":"1399416168","filename":"file0"},{"photo_id":"1399416173","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416172":["hashtag1","hashtag2"]},{"1399416175":["hashtag1","hashtag2"]},{"1399416174":["hashtag1","hashtag2"]},{"1399416171":["hashtag1","hashtag2"]},{"1399416168":["hashtag1","hashtag2"]},{"1399416173":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416172, 1399416175, 1399416174, 1399416171, 1399416168, 1399416173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69153165817261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:17:22.700697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/44/image_14122025_22_44_34_9720.jpg', '/home/pi/Desktop/images/14122025/22/44/image_14122025_22_44_44_9762.jpg', '/home/pi/Desktop/images/14122025/22/44/image_14122025_22_44_54_9955.jpg', '/home/pi/Desktop/images/14122025/22/45/image_14122025_22_45_14_10052.jpg', '/home/pi/Desktop/images/14122025/22/45/image_14122025_22_45_25_10696.jpg', '/home/pi/Desktop/images/14122025/22/45/image_14122025_22_45_35_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/44/image_14122025_22_44_34_9720.jpg
/home/pi/Desktop/images/14122025/22/44/image_14122025_22_44_44_9762.jpg
/home/pi/Desktop/images/14122025/22/44/image_14122025_22_44_54_9955.jpg
/home/pi/Desktop/images/14122025/22/45/image_14122025_22_45_14_10052.jpg
/home/pi/Desktop/images/14122025/22/45/image_14122025_22_45_25_10696.jpg
/home/pi/Desktop/images/14122025/22/45/image_14122025_22_45_35_9759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416180","1399416177","1399416182","1399416176","1399416179","1399416178"],"photo_ids_order":["1399416176","1399416177","1399416178","1399416179","1399416180","1399416182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a7fea67157f79223a4311cfe75322809.jpg","text":"TemporaryFile(/tmp/multipartBody6512093617397136028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750703280,"filename":"image_14122025_22_45_25_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88b1d653b4134ebc4c9cf833bc66d771.jpg","text":"TemporaryFile(/tmp/multipartBody4245992267845129023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750703280,"filename":"image_14122025_22_44_44_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bc36b8c40bd2ec224fed4a59a8d7fe65.jpg","text":"TemporaryFile(/tmp/multipartBody213727978069521493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750703280,"filename":"image_14122025_22_45_35_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/281dcb25c26fffd22f1eff646795783d.jpg","text":"TemporaryFile(/tmp/multipartBody8970162084004942720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750703280,"filename":"image_14122025_22_44_34_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5bc88050d92ef594cb5430b596ecfd8d.jpg","text":"TemporaryFile(/tmp/multipartBody6104864983916491599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750703280,"filename":"image_14122025_22_45_14_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d065ba98a4c27f42f41bbeb0ee306e28.jpg","text":"TemporaryFile(/tmp/multipartBody460988626534767609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750703280,"filename":"image_14122025_22_44_54_9955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416178","file1":"1399416177","file0":"1399416176","file4":"1399416180","file5":"1399416182","file3":"1399416179"},"map_files_photo_id_array":[{"photo_id":"1399416182","filename":"file5"},{"photo_id":"1399416178","filename":"file2"},{"photo_id":"1399416180","filename":"file4"},{"photo_id":"1399416177","filename":"file1"},{"photo_id":"1399416176","filename":"file0"},{"photo_id":"1399416179","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416180":["hashtag1","hashtag2"]},{"1399416177":["hashtag1","hashtag2"]},{"1399416182":["hashtag1","hashtag2"]},{"1399416176":["hashtag1","hashtag2"]},{"1399416179":["hashtag1","hashtag2"]},{"1399416178":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416180, 1399416177, 1399416182, 1399416176, 1399416179, 1399416178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.308297634124756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:18:02.369449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 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-12-14 23:18:17.755201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 23:18:31.873781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:18:41.954767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_36_1782.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_37_1533.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_39_1674.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_40_1730.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_42_1613.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_44_1710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_36_1782.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_37_1533.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_39_1674.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_40_1730.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_42_1613.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_44_1710.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6180384159088135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:19:03.045981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 23:19:12.134512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:19:22.060310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/45/image_14122025_22_45_44_9678.jpg', '/home/pi/Desktop/images/14122025/22/45/image_14122025_22_45_55_10779.jpg', '/home/pi/Desktop/images/14122025/22/45/image_14122025_22_46_05_9598.jpg', '/home/pi/Desktop/images/14122025/22/46/image_14122025_22_46_14_9720.jpg', '/home/pi/Desktop/images/14122025/22/46/image_14122025_22_46_24_9834.jpg', '/home/pi/Desktop/images/14122025/22/46/image_14122025_22_46_35_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/45/image_14122025_22_45_44_9678.jpg
/home/pi/Desktop/images/14122025/22/45/image_14122025_22_45_55_10779.jpg
/home/pi/Desktop/images/14122025/22/45/image_14122025_22_46_05_9598.jpg
/home/pi/Desktop/images/14122025/22/46/image_14122025_22_46_14_9720.jpg
/home/pi/Desktop/images/14122025/22/46/image_14122025_22_46_24_9834.jpg
/home/pi/Desktop/images/14122025/22/46/image_14122025_22_46_35_10664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416193","1399416192","1399416191","1399416194","1399416196","1399416190"],"photo_ids_order":["1399416190","1399416191","1399416192","1399416193","1399416194","1399416196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d1d1c874615bb5519b69a0a262dfb484.jpg","text":"TemporaryFile(/tmp/multipartBody6561422563623232969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750822614,"filename":"image_14122025_22_46_14_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e77f7603b3bd685ccc588366ef3c933d.jpg","text":"TemporaryFile(/tmp/multipartBody2940181421548465412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750822614,"filename":"image_14122025_22_46_05_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bef2bd3cf0e90cb33123b6d156ce2519.jpg","text":"TemporaryFile(/tmp/multipartBody6343689534687800234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750822614,"filename":"image_14122025_22_45_55_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/66489a28d1ddf21fdca7978faae6606f.jpg","text":"TemporaryFile(/tmp/multipartBody1880150002310689033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750822614,"filename":"image_14122025_22_46_24_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dad5c00e56d503d2a63aae81aac708d3.jpg","text":"TemporaryFile(/tmp/multipartBody643691886149336664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750822614,"filename":"image_14122025_22_46_35_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0fd580851f4ce3b300321191292c34a6.jpg","text":"TemporaryFile(/tmp/multipartBody5679898045243148758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750822614,"filename":"image_14122025_22_45_44_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416192","file1":"1399416191","file0":"1399416190","file4":"1399416194","file5":"1399416196","file3":"1399416193"},"map_files_photo_id_array":[{"photo_id":"1399416196","filename":"file5"},{"photo_id":"1399416192","filename":"file2"},{"photo_id":"1399416194","filename":"file4"},{"photo_id":"1399416191","filename":"file1"},{"photo_id":"1399416190","filename":"file0"},{"photo_id":"1399416193","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416193":["hashtag1","hashtag2"]},{"1399416192":["hashtag1","hashtag2"]},{"1399416191":["hashtag1","hashtag2"]},{"1399416194":["hashtag1","hashtag2"]},{"1399416196":["hashtag1","hashtag2"]},{"1399416190":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416193, 1399416192, 1399416191, 1399416194, 1399416196, 1399416190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67979097366333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:20:02.729251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/46/image_14122025_22_46_45_9760.jpg', '/home/pi/Desktop/images/14122025/22/46/image_14122025_22_46_54_9776.jpg', '/home/pi/Desktop/images/14122025/22/46/image_14122025_22_47_04_9712.jpg', '/home/pi/Desktop/images/14122025/22/47/image_14122025_22_47_25_9559.jpg', '/home/pi/Desktop/images/14122025/22/47/image_14122025_22_47_35_10612.jpg', '/home/pi/Desktop/images/14122025/22/47/image_14122025_22_47_45_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/46/image_14122025_22_46_45_9760.jpg
/home/pi/Desktop/images/14122025/22/46/image_14122025_22_46_54_9776.jpg
/home/pi/Desktop/images/14122025/22/46/image_14122025_22_47_04_9712.jpg
/home/pi/Desktop/images/14122025/22/47/image_14122025_22_47_25_9559.jpg
/home/pi/Desktop/images/14122025/22/47/image_14122025_22_47_35_10612.jpg
/home/pi/Desktop/images/14122025/22/47/image_14122025_22_47_45_9587.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4977385997772217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 23:20:12.348110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:20:22.353907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/46/image_14122025_22_46_45_9760.jpg', '/home/pi/Desktop/images/14122025/22/46/image_14122025_22_46_54_9776.jpg', '/home/pi/Desktop/images/14122025/22/46/image_14122025_22_47_04_9712.jpg', '/home/pi/Desktop/images/14122025/22/47/image_14122025_22_47_25_9559.jpg', '/home/pi/Desktop/images/14122025/22/47/image_14122025_22_47_35_10612.jpg', '/home/pi/Desktop/images/14122025/22/47/image_14122025_22_47_45_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/46/image_14122025_22_46_45_9760.jpg
/home/pi/Desktop/images/14122025/22/46/image_14122025_22_46_54_9776.jpg
/home/pi/Desktop/images/14122025/22/46/image_14122025_22_47_04_9712.jpg
/home/pi/Desktop/images/14122025/22/47/image_14122025_22_47_25_9559.jpg
/home/pi/Desktop/images/14122025/22/47/image_14122025_22_47_35_10612.jpg
/home/pi/Desktop/images/14122025/22/47/image_14122025_22_47_45_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":["1399416208","1399416202","1399416205","1399416204","1399416203","1399416206"],"photo_ids_order":["1399416202","1399416203","1399416204","1399416205","1399416206","1399416208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8dd5ff2c9f97452cab92d429a879dfb2.jpg","text":"TemporaryFile(/tmp/multipartBody3597705628273959463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750882971,"filename":"image_14122025_22_47_45_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cc1acac4fbde2051d65415e86d9aa060.jpg","text":"TemporaryFile(/tmp/multipartBody821374354098656556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750882971,"filename":"image_14122025_22_46_45_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b45113a5824d45c568a419edb3c92ef3.jpg","text":"TemporaryFile(/tmp/multipartBody3727881496009051353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750882971,"filename":"image_14122025_22_47_25_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7d893be8196a1e0b354215e7ba984348.jpg","text":"TemporaryFile(/tmp/multipartBody4988034649533723492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750882971,"filename":"image_14122025_22_47_04_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/30e690fa266c6410835062aa39715efa.jpg","text":"TemporaryFile(/tmp/multipartBody4004865800879880613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750882971,"filename":"image_14122025_22_46_54_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f3e20430f36868ec2f6bd17bbe9ceea.jpg","text":"TemporaryFile(/tmp/multipartBody8996890264505249255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750882971,"filename":"image_14122025_22_47_35_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416204","file1":"1399416203","file0":"1399416202","file4":"1399416206","file5":"1399416208","file3":"1399416205"},"map_files_photo_id_array":[{"photo_id":"1399416208","filename":"file5"},{"photo_id":"1399416204","filename":"file2"},{"photo_id":"1399416206","filename":"file4"},{"photo_id":"1399416203","filename":"file1"},{"photo_id":"1399416202","filename":"file0"},{"photo_id":"1399416205","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416208":["hashtag1","hashtag2"]},{"1399416202":["hashtag1","hashtag2"]},{"1399416205":["hashtag1","hashtag2"]},{"1399416204":["hashtag1","hashtag2"]},{"1399416203":["hashtag1","hashtag2"]},{"1399416206":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416208, 1399416202, 1399416205, 1399416204, 1399416203, 1399416206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77116131782532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:21:03.197621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/47/image_14122025_22_47_55_9822.jpg', '/home/pi/Desktop/images/14122025/22/47/image_14122025_22_48_04_9709.jpg', '/home/pi/Desktop/images/14122025/22/48/image_14122025_22_48_15_10877.jpg', '/home/pi/Desktop/images/14122025/22/48/image_14122025_22_48_25_9804.jpg', '/home/pi/Desktop/images/14122025/22/48/image_14122025_22_48_44_9773.jpg', '/home/pi/Desktop/images/14122025/22/48/image_14122025_22_48_55_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/47/image_14122025_22_47_55_9822.jpg
/home/pi/Desktop/images/14122025/22/47/image_14122025_22_48_04_9709.jpg
/home/pi/Desktop/images/14122025/22/48/image_14122025_22_48_15_10877.jpg
/home/pi/Desktop/images/14122025/22/48/image_14122025_22_48_25_9804.jpg
/home/pi/Desktop/images/14122025/22/48/image_14122025_22_48_44_9773.jpg
/home/pi/Desktop/images/14122025/22/48/image_14122025_22_48_55_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":["1399416214","1399416211","1399416210","1399416213","1399416212","1399416215"],"photo_ids_order":["1399416210","1399416211","1399416212","1399416213","1399416214","1399416215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f8bb8171218cac08a99ee4b3667d0842.jpg","text":"TemporaryFile(/tmp/multipartBody3908830603550034349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750923836,"filename":"image_14122025_22_48_44_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a153866d19fe6a750b903cd3a7a3a149.jpg","text":"TemporaryFile(/tmp/multipartBody5053838522029557451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750923836,"filename":"image_14122025_22_48_04_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6039e089b27a1b938c99a468591ce146.jpg","text":"TemporaryFile(/tmp/multipartBody439219042248076343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750923836,"filename":"image_14122025_22_47_55_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ed2463fca56485851dd1dacd48eab003.jpg","text":"TemporaryFile(/tmp/multipartBody5201663042305045331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750923836,"filename":"image_14122025_22_48_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/12/14/81a6b7a0621442308ee41d662aef3d12.jpg","text":"TemporaryFile(/tmp/multipartBody3648783089069062295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750923836,"filename":"image_14122025_22_48_15_10877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1452f3c718f8c80606fde35c5afce96b.jpg","text":"TemporaryFile(/tmp/multipartBody1002748721897643763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750923836,"filename":"image_14122025_22_48_55_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416212","file1":"1399416211","file0":"1399416210","file4":"1399416214","file5":"1399416215","file3":"1399416213"},"map_files_photo_id_array":[{"photo_id":"1399416215","filename":"file5"},{"photo_id":"1399416212","filename":"file2"},{"photo_id":"1399416214","filename":"file4"},{"photo_id":"1399416211","filename":"file1"},{"photo_id":"1399416210","filename":"file0"},{"photo_id":"1399416213","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416214":["hashtag1","hashtag2"]},{"1399416211":["hashtag1","hashtag2"]},{"1399416210":["hashtag1","hashtag2"]},{"1399416213":["hashtag1","hashtag2"]},{"1399416212":["hashtag1","hashtag2"]},{"1399416215":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416214, 1399416211, 1399416210, 1399416213, 1399416212, 1399416215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4342577457428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:21:42.479939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_36_1782.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_37_1533.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_39_1674.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_40_1730.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_42_1613.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_44_1710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_36_1782.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_37_1533.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_39_1674.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_40_1730.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_42_1613.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_44_1710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416220","1399416217","1399416219","1399416222","1399416221","1399416218"],"photo_ids_order":["1399416217","1399416218","1399416219","1399416220","1399416221","1399416222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f42eb73e11574403df2a0b4de66588e8.jpg","text":"TemporaryFile(/tmp/multipartBody3638598255889464470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750963064,"filename":"image_04112025_15_16_40_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/72c056f2e5e2a6f36983733d30e08898.jpg","text":"TemporaryFile(/tmp/multipartBody6158903733482276017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750963064,"filename":"image_04112025_15_16_36_1782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/894a2bf47e21c3a2db01118cfae0b5d4.jpg","text":"TemporaryFile(/tmp/multipartBody4432437754979745158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750963064,"filename":"image_04112025_15_16_39_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb2e410f7883e6c38c7f1d289f4db547.jpg","text":"TemporaryFile(/tmp/multipartBody2380412725064903932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750963064,"filename":"image_04112025_15_16_44_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a22ff0477aaec0c2820ab7c7ee009cf0.jpg","text":"TemporaryFile(/tmp/multipartBody7143857663109343114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750963064,"filename":"image_04112025_15_16_42_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dbb32b8fc40c3bb6a15e8d7cca804f96.jpg","text":"TemporaryFile(/tmp/multipartBody5947623038090353580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765750963064,"filename":"image_04112025_15_16_37_1533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416219","file1":"1399416218","file0":"1399416217","file4":"1399416221","file5":"1399416222","file3":"1399416220"},"map_files_photo_id_array":[{"photo_id":"1399416222","filename":"file5"},{"photo_id":"1399416219","filename":"file2"},{"photo_id":"1399416221","filename":"file4"},{"photo_id":"1399416218","filename":"file1"},{"photo_id":"1399416217","filename":"file0"},{"photo_id":"1399416220","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416220":["hashtag1","hashtag2"]},{"1399416217":["hashtag1","hashtag2"]},{"1399416219":["hashtag1","hashtag2"]},{"1399416222":["hashtag1","hashtag2"]},{"1399416221":["hashtag1","hashtag2"]},{"1399416218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416220, 1399416217, 1399416219, 1399416222, 1399416221, 1399416218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66971468925476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:22:22.834344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/48/image_14122025_22_49_05_9730.jpg', '/home/pi/Desktop/images/14122025/22/49/image_14122025_22_49_14_9640.jpg', '/home/pi/Desktop/images/14122025/22/49/image_14122025_22_49_35_9854.jpg', '/home/pi/Desktop/images/14122025/22/49/image_14122025_22_49_45_9680.jpg', '/home/pi/Desktop/images/14122025/22/49/image_14122025_22_49_54_9847.jpg', '/home/pi/Desktop/images/14122025/22/51/image_14122025_22_51_13_10045.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/48/image_14122025_22_49_05_9730.jpg
/home/pi/Desktop/images/14122025/22/49/image_14122025_22_49_14_9640.jpg
/home/pi/Desktop/images/14122025/22/49/image_14122025_22_49_35_9854.jpg
/home/pi/Desktop/images/14122025/22/49/image_14122025_22_49_45_9680.jpg
/home/pi/Desktop/images/14122025/22/49/image_14122025_22_49_54_9847.jpg
/home/pi/Desktop/images/14122025/22/51/image_14122025_22_51_13_10045.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416226","1399416223","1399416225","1399416228","1399416224","1399416227"],"photo_ids_order":["1399416223","1399416224","1399416225","1399416226","1399416227","1399416228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3c24fd0222520555f95d7778676cf35b.jpg","text":"TemporaryFile(/tmp/multipartBody4304862636006388179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751003452,"filename":"image_14122025_22_49_45_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/87daadbf437b000871e93559b1c4eda4.jpg","text":"TemporaryFile(/tmp/multipartBody2546650190073982630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751003452,"filename":"image_14122025_22_49_05_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ffa0e13a80e5c3d0f068ca688a53f3c7.jpg","text":"TemporaryFile(/tmp/multipartBody9060200663328508113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751003452,"filename":"image_14122025_22_49_35_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2308f6f0c2504542757b0656df6606f6.jpg","text":"TemporaryFile(/tmp/multipartBody1392374357299618925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751003452,"filename":"image_14122025_22_51_13_10045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fabed70452bc049630aa5a66affca9fb.jpg","text":"TemporaryFile(/tmp/multipartBody7241258459212418602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751003452,"filename":"image_14122025_22_49_14_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/173831222e0601e74af1f6c3623b6eb1.jpg","text":"TemporaryFile(/tmp/multipartBody1442787064746060629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751003452,"filename":"image_14122025_22_49_54_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416225","file1":"1399416224","file0":"1399416223","file4":"1399416227","file5":"1399416228","file3":"1399416226"},"map_files_photo_id_array":[{"photo_id":"1399416228","filename":"file5"},{"photo_id":"1399416225","filename":"file2"},{"photo_id":"1399416227","filename":"file4"},{"photo_id":"1399416224","filename":"file1"},{"photo_id":"1399416223","filename":"file0"},{"photo_id":"1399416226","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416226":["hashtag1","hashtag2"]},{"1399416223":["hashtag1","hashtag2"]},{"1399416225":["hashtag1","hashtag2"]},{"1399416228":["hashtag1","hashtag2"]},{"1399416224":["hashtag1","hashtag2"]},{"1399416227":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416226, 1399416223, 1399416225, 1399416228, 1399416224, 1399416227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.047324419021606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:23:02.702628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/51/image_14122025_22_51_34_9732.jpg', '/home/pi/Desktop/images/14122025/22/51/image_14122025_22_52_04_9745.jpg', '/home/pi/Desktop/images/14122025/22/52/image_14122025_22_52_23_9701.jpg', '/home/pi/Desktop/images/14122025/22/52/image_14122025_22_52_33_10205.jpg', '/home/pi/Desktop/images/14122025/22/52/image_14122025_22_53_04_9674.jpg', '/home/pi/Desktop/images/14122025/22/53/image_14122025_22_53_13_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/51/image_14122025_22_51_34_9732.jpg
/home/pi/Desktop/images/14122025/22/51/image_14122025_22_52_04_9745.jpg
/home/pi/Desktop/images/14122025/22/52/image_14122025_22_52_23_9701.jpg
/home/pi/Desktop/images/14122025/22/52/image_14122025_22_52_33_10205.jpg
/home/pi/Desktop/images/14122025/22/52/image_14122025_22_53_04_9674.jpg
/home/pi/Desktop/images/14122025/22/53/image_14122025_22_53_13_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":["1399416232","1399416235","1399416237","1399416234","1399416236","1399416230"],"photo_ids_order":["1399416230","1399416232","1399416234","1399416235","1399416236","1399416237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/29d0dbc1a8c8c9ba8d497e79f5a8a997.jpg","text":"TemporaryFile(/tmp/multipartBody8950257457497282174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751043367,"filename":"image_14122025_22_52_04_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/641b8fad254c0b76cba4cc77c9b47959.jpg","text":"TemporaryFile(/tmp/multipartBody8949915555230022268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751043367,"filename":"image_14122025_22_52_33_10205.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/91df62b787de8348b892c2f77cf287f1.jpg","text":"TemporaryFile(/tmp/multipartBody4391159773754312282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751043367,"filename":"image_14122025_22_53_13_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7f85d7ed3e53adc7a5ad6601f696e26b.jpg","text":"TemporaryFile(/tmp/multipartBody5164953862979166061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751043367,"filename":"image_14122025_22_52_23_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/389cd5670a3588754c0409645687c95a.jpg","text":"TemporaryFile(/tmp/multipartBody3932193937111986251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751043367,"filename":"image_14122025_22_53_04_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a0b962d883c5f640ac126cb21f752b76.jpg","text":"TemporaryFile(/tmp/multipartBody7267102759703203794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751043367,"filename":"image_14122025_22_51_34_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416234","file1":"1399416232","file0":"1399416230","file4":"1399416236","file5":"1399416237","file3":"1399416235"},"map_files_photo_id_array":[{"photo_id":"1399416237","filename":"file5"},{"photo_id":"1399416234","filename":"file2"},{"photo_id":"1399416236","filename":"file4"},{"photo_id":"1399416232","filename":"file1"},{"photo_id":"1399416230","filename":"file0"},{"photo_id":"1399416235","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416232":["hashtag1","hashtag2"]},{"1399416235":["hashtag1","hashtag2"]},{"1399416237":["hashtag1","hashtag2"]},{"1399416234":["hashtag1","hashtag2"]},{"1399416236":["hashtag1","hashtag2"]},{"1399416230":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416232, 1399416235, 1399416237, 1399416234, 1399416236, 1399416230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32403087615967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:23:41.942443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_45_1603.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_47_1608.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_50_2800.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_52_1794.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_53_1673.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_55_1610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_45_1603.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_47_1608.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_50_2800.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_52_1794.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_53_1673.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_55_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":["1399416244","1399416241","1399416238","1399416243","1399416240","1399416242"],"photo_ids_order":["1399416238","1399416240","1399416241","1399416242","1399416243","1399416244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad82b654ffcb8eb561a6920427fef54c.jpg","text":"TemporaryFile(/tmp/multipartBody5277589474205801589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751082638,"filename":"image_04112025_15_16_55_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88e066d051344f0196f77814e24e59a0.jpg","text":"TemporaryFile(/tmp/multipartBody6376517234304811776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751082638,"filename":"image_04112025_15_16_50_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b6aaa52654394d8e1a319c2e3b94d090.jpg","text":"TemporaryFile(/tmp/multipartBody7372682439619325174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751082638,"filename":"image_04112025_15_16_45_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc930f541db0afc76eb84d10dbd28fa8.jpg","text":"TemporaryFile(/tmp/multipartBody3939592331440655995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751082638,"filename":"image_04112025_15_16_53_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ebed232d915cb59fabeced2ef30d5aa6.jpg","text":"TemporaryFile(/tmp/multipartBody2889247477963622750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751082638,"filename":"image_04112025_15_16_47_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d84bbd7b59bd5fa91ce5c3b8fd3f0909.jpg","text":"TemporaryFile(/tmp/multipartBody3471903500837269592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751082638,"filename":"image_04112025_15_16_52_1794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416241","file1":"1399416240","file0":"1399416238","file4":"1399416243","file5":"1399416244","file3":"1399416242"},"map_files_photo_id_array":[{"photo_id":"1399416244","filename":"file5"},{"photo_id":"1399416241","filename":"file2"},{"photo_id":"1399416243","filename":"file4"},{"photo_id":"1399416240","filename":"file1"},{"photo_id":"1399416238","filename":"file0"},{"photo_id":"1399416242","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416244":["hashtag1","hashtag2"]},{"1399416241":["hashtag1","hashtag2"]},{"1399416238":["hashtag1","hashtag2"]},{"1399416243":["hashtag1","hashtag2"]},{"1399416240":["hashtag1","hashtag2"]},{"1399416242":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416244, 1399416241, 1399416238, 1399416243, 1399416240, 1399416242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39121222496033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:24:22.194885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/53/image_14122025_22_53_23_9799.jpg', '/home/pi/Desktop/images/14122025/22/53/image_14122025_22_53_34_10684.jpg', '/home/pi/Desktop/images/14122025/22/53/image_14122025_22_53_44_9842.jpg', '/home/pi/Desktop/images/14122025/22/53/image_14122025_22_53_53_9703.jpg', '/home/pi/Desktop/images/14122025/22/53/image_14122025_22_54_03_9732.jpg', '/home/pi/Desktop/images/14122025/22/54/image_14122025_22_54_14_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/53/image_14122025_22_53_23_9799.jpg
/home/pi/Desktop/images/14122025/22/53/image_14122025_22_53_34_10684.jpg
/home/pi/Desktop/images/14122025/22/53/image_14122025_22_53_44_9842.jpg
/home/pi/Desktop/images/14122025/22/53/image_14122025_22_53_53_9703.jpg
/home/pi/Desktop/images/14122025/22/53/image_14122025_22_54_03_9732.jpg
/home/pi/Desktop/images/14122025/22/54/image_14122025_22_54_14_10698.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5461719036102295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 23:24:32.251808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:24:42.237420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_57_1676.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_58_1733.jpg', '/home/pi/Desktop/images/04112025/15/16/image_04112025_15_17_00_1641.jpg', '/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_02_1757.jpg', '/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_03_1613.jpg', '/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_06_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_57_1676.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_16_58_1733.jpg
/home/pi/Desktop/images/04112025/15/16/image_04112025_15_17_00_1641.jpg
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_02_1757.jpg
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_03_1613.jpg
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_06_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":["1399416250","1399416256","1399416255","1399416252","1399416254","1399416257"],"photo_ids_order":["1399416250","1399416252","1399416254","1399416255","1399416256","1399416257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e9209e1592df137e3d63ebcbd100cd13.jpg","text":"TemporaryFile(/tmp/multipartBody9159568248401002389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751142932,"filename":"image_04112025_15_16_57_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b577cb2680e87a23828b9f0429d9ede.jpg","text":"TemporaryFile(/tmp/multipartBody1089000671000351214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751142932,"filename":"image_04112025_15_17_03_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6e4a4637f8d602fa050094d07ac85f24.jpg","text":"TemporaryFile(/tmp/multipartBody6369762055220236511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751142932,"filename":"image_04112025_15_17_02_1757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/88a27d9862f0663bb5379e2c1f5758c1.jpg","text":"TemporaryFile(/tmp/multipartBody7876123457226751631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751142932,"filename":"image_04112025_15_16_58_1733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f48cca65bf1fd5627afa5e0602f177d.jpg","text":"TemporaryFile(/tmp/multipartBody7489885771539592128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751142932,"filename":"image_04112025_15_17_00_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/90fe4f358cc0ec44b442843aea78e68c.jpg","text":"TemporaryFile(/tmp/multipartBody4963424659707860045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751142932,"filename":"image_04112025_15_17_06_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416254","file1":"1399416252","file0":"1399416250","file4":"1399416256","file5":"1399416257","file3":"1399416255"},"map_files_photo_id_array":[{"photo_id":"1399416257","filename":"file5"},{"photo_id":"1399416254","filename":"file2"},{"photo_id":"1399416256","filename":"file4"},{"photo_id":"1399416252","filename":"file1"},{"photo_id":"1399416250","filename":"file0"},{"photo_id":"1399416255","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416250":["hashtag1","hashtag2"]},{"1399416256":["hashtag1","hashtag2"]},{"1399416255":["hashtag1","hashtag2"]},{"1399416252":["hashtag1","hashtag2"]},{"1399416254":["hashtag1","hashtag2"]},{"1399416257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416250, 1399416256, 1399416255, 1399416252, 1399416254, 1399416257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.932451009750366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:25:22.567575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/53/image_14122025_22_53_23_9799.jpg', '/home/pi/Desktop/images/14122025/22/53/image_14122025_22_53_34_10684.jpg', '/home/pi/Desktop/images/14122025/22/53/image_14122025_22_53_44_9842.jpg', '/home/pi/Desktop/images/14122025/22/53/image_14122025_22_53_53_9703.jpg', '/home/pi/Desktop/images/14122025/22/53/image_14122025_22_54_03_9732.jpg', '/home/pi/Desktop/images/14122025/22/54/image_14122025_22_54_14_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/53/image_14122025_22_53_23_9799.jpg
/home/pi/Desktop/images/14122025/22/53/image_14122025_22_53_34_10684.jpg
/home/pi/Desktop/images/14122025/22/53/image_14122025_22_53_44_9842.jpg
/home/pi/Desktop/images/14122025/22/53/image_14122025_22_53_53_9703.jpg
/home/pi/Desktop/images/14122025/22/53/image_14122025_22_54_03_9732.jpg
/home/pi/Desktop/images/14122025/22/54/image_14122025_22_54_14_10698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416259","1399416261","1399416258","1399416260","1399416263","1399416262"],"photo_ids_order":["1399416258","1399416259","1399416260","1399416261","1399416262","1399416263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/760c4a0054def7cb90d5dcc80355d926.jpg","text":"TemporaryFile(/tmp/multipartBody271237361189114089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751183183,"filename":"image_14122025_22_53_34_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/43b240ff93d9324985a02f7a5bc174e1.jpg","text":"TemporaryFile(/tmp/multipartBody4401087306702098114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751183183,"filename":"image_14122025_22_53_53_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0f65490182c6c46952e6721f80fa7665.jpg","text":"TemporaryFile(/tmp/multipartBody4396919710339083561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751183183,"filename":"image_14122025_22_53_23_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f4e8fe4aed1075b77be4ee5348860007.jpg","text":"TemporaryFile(/tmp/multipartBody8044581052256927545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751183183,"filename":"image_14122025_22_53_44_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3e9f8ff92c6fd25c4a19bdbe9a2e97a1.jpg","text":"TemporaryFile(/tmp/multipartBody8503780144815333168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751183183,"filename":"image_14122025_22_54_14_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4403a6bcd5f7a7416253bbcbc05dc6d9.jpg","text":"TemporaryFile(/tmp/multipartBody3894898703943708470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751183183,"filename":"image_14122025_22_54_03_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416260","file1":"1399416259","file0":"1399416258","file4":"1399416262","file5":"1399416263","file3":"1399416261"},"map_files_photo_id_array":[{"photo_id":"1399416263","filename":"file5"},{"photo_id":"1399416260","filename":"file2"},{"photo_id":"1399416262","filename":"file4"},{"photo_id":"1399416259","filename":"file1"},{"photo_id":"1399416258","filename":"file0"},{"photo_id":"1399416261","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416259":["hashtag1","hashtag2"]},{"1399416261":["hashtag1","hashtag2"]},{"1399416258":["hashtag1","hashtag2"]},{"1399416260":["hashtag1","hashtag2"]},{"1399416263":["hashtag1","hashtag2"]},{"1399416262":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416259, 1399416261, 1399416258, 1399416260, 1399416263, 1399416262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27942752838135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:26:03.116292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/54/image_14122025_22_54_23_9750.jpg', '/home/pi/Desktop/images/14122025/22/54/image_14122025_22_54_33_9718.jpg', '/home/pi/Desktop/images/14122025/22/54/image_14122025_22_54_43_9848.jpg', '/home/pi/Desktop/images/14122025/22/54/image_14122025_22_54_54_10640.jpg', '/home/pi/Desktop/images/14122025/22/55/image_14122025_22_55_24_9953.jpg', '/home/pi/Desktop/images/14122025/22/55/image_14122025_22_55_34_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/54/image_14122025_22_54_23_9750.jpg
/home/pi/Desktop/images/14122025/22/54/image_14122025_22_54_33_9718.jpg
/home/pi/Desktop/images/14122025/22/54/image_14122025_22_54_43_9848.jpg
/home/pi/Desktop/images/14122025/22/54/image_14122025_22_54_54_10640.jpg
/home/pi/Desktop/images/14122025/22/55/image_14122025_22_55_24_9953.jpg
/home/pi/Desktop/images/14122025/22/55/image_14122025_22_55_34_10638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416268","1399416270","1399416264","1399416267","1399416266","1399416269"],"photo_ids_order":["1399416264","1399416266","1399416267","1399416268","1399416269","1399416270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5cb9b6489ed1d9da95e889b842ffb5ec.jpg","text":"TemporaryFile(/tmp/multipartBody273431965888931001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751223747,"filename":"image_14122025_22_54_54_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b2144b46784c08d7292431ce938e41fd.jpg","text":"TemporaryFile(/tmp/multipartBody2572313354122757888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751223747,"filename":"image_14122025_22_55_34_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e0fec35c893ca4e096030a93b29989ab.jpg","text":"TemporaryFile(/tmp/multipartBody1987026231577321292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751223747,"filename":"image_14122025_22_54_23_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d501a9cf573b2ef16198edde6ea3d37f.jpg","text":"TemporaryFile(/tmp/multipartBody5889214352219506149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751223747,"filename":"image_14122025_22_54_43_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f501a83f345d52a5a83ebd1d50524dee.jpg","text":"TemporaryFile(/tmp/multipartBody5673489666513451594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751223747,"filename":"image_14122025_22_54_33_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef1c063dcfc7fa391df11e88bcac9f34.jpg","text":"TemporaryFile(/tmp/multipartBody8034734922568206349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751223747,"filename":"image_14122025_22_55_24_9953.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416267","file1":"1399416266","file0":"1399416264","file4":"1399416269","file5":"1399416270","file3":"1399416268"},"map_files_photo_id_array":[{"photo_id":"1399416270","filename":"file5"},{"photo_id":"1399416267","filename":"file2"},{"photo_id":"1399416269","filename":"file4"},{"photo_id":"1399416266","filename":"file1"},{"photo_id":"1399416264","filename":"file0"},{"photo_id":"1399416268","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416268":["hashtag1","hashtag2"]},{"1399416270":["hashtag1","hashtag2"]},{"1399416264":["hashtag1","hashtag2"]},{"1399416267":["hashtag1","hashtag2"]},{"1399416266":["hashtag1","hashtag2"]},{"1399416269":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416268, 1399416270, 1399416264, 1399416267, 1399416266, 1399416269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.196321964263916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:26:42.691445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_09_2738.jpg', '/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_11_2532.jpg', '/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_15_3904.jpg', '/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_18_2531.jpg', '/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_20_2804.jpg', '/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_29_8844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_09_2738.jpg
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_11_2532.jpg
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_15_3904.jpg
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_18_2531.jpg
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_20_2804.jpg
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_29_8844.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5866611003875732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:27:02.570065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/55/image_14122025_22_55_44_9720.jpg', '/home/pi/Desktop/images/14122025/22/55/image_14122025_22_55_54_10097.jpg', '/home/pi/Desktop/images/14122025/22/56/image_14122025_22_56_15_10693.jpg', '/home/pi/Desktop/images/14122025/22/56/image_14122025_22_56_24_9889.jpg', '/home/pi/Desktop/images/14122025/22/56/image_14122025_22_56_34_9714.jpg', '/home/pi/Desktop/images/14122025/22/56/image_14122025_22_56_44_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/55/image_14122025_22_55_44_9720.jpg
/home/pi/Desktop/images/14122025/22/55/image_14122025_22_55_54_10097.jpg
/home/pi/Desktop/images/14122025/22/56/image_14122025_22_56_15_10693.jpg
/home/pi/Desktop/images/14122025/22/56/image_14122025_22_56_24_9889.jpg
/home/pi/Desktop/images/14122025/22/56/image_14122025_22_56_34_9714.jpg
/home/pi/Desktop/images/14122025/22/56/image_14122025_22_56_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":["1399416282","1399416279","1399416278","1399416281","1399416280","1399416283"],"photo_ids_order":["1399416278","1399416279","1399416280","1399416281","1399416282","1399416283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bee7f6d7430b4ab48591dbdef1bc9fd0.jpg","text":"TemporaryFile(/tmp/multipartBody7194846468136898314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751283323,"filename":"image_14122025_22_56_34_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb2dab3113597cee598b6f3149122e7f.jpg","text":"TemporaryFile(/tmp/multipartBody1558481086976494608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751283323,"filename":"image_14122025_22_55_54_10097.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21080ee124834eacd7c891ebad078993.jpg","text":"TemporaryFile(/tmp/multipartBody7757635164725080167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751283323,"filename":"image_14122025_22_55_44_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1a2529fdf74286c1d5babae4b6802b5c.jpg","text":"TemporaryFile(/tmp/multipartBody8210631930656343847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751283323,"filename":"image_14122025_22_56_24_9889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6da21ca58deb9d8d9cc90d3f3331ee75.jpg","text":"TemporaryFile(/tmp/multipartBody5015097583987590307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751283323,"filename":"image_14122025_22_56_15_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae0bea0571622be012c33eabfe992066.jpg","text":"TemporaryFile(/tmp/multipartBody1122534655538015975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751283323,"filename":"image_14122025_22_56_44_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416280","file1":"1399416279","file0":"1399416278","file4":"1399416282","file5":"1399416283","file3":"1399416281"},"map_files_photo_id_array":[{"photo_id":"1399416283","filename":"file5"},{"photo_id":"1399416280","filename":"file2"},{"photo_id":"1399416282","filename":"file4"},{"photo_id":"1399416279","filename":"file1"},{"photo_id":"1399416278","filename":"file0"},{"photo_id":"1399416281","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416282":["hashtag1","hashtag2"]},{"1399416279":["hashtag1","hashtag2"]},{"1399416278":["hashtag1","hashtag2"]},{"1399416281":["hashtag1","hashtag2"]},{"1399416280":["hashtag1","hashtag2"]},{"1399416283":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416282, 1399416279, 1399416278, 1399416281, 1399416280, 1399416283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94005799293518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:27:41.874744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_09_2738.jpg', '/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_11_2532.jpg', '/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_15_3904.jpg', '/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_18_2531.jpg', '/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_20_2804.jpg', '/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_29_8844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_09_2738.jpg
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_11_2532.jpg
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_15_3904.jpg
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_18_2531.jpg
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_20_2804.jpg
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_29_8844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416286","1399416288","1399416285","1399416284","1399416287","1399416289"],"photo_ids_order":["1399416284","1399416285","1399416286","1399416287","1399416288","1399416289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/115d57937c3c555ea55b41a635730962.jpg","text":"TemporaryFile(/tmp/multipartBody5145174767213125414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751322455,"filename":"image_04112025_15_17_15_3904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f65dc04349bffe871436731d3cf73f18.jpg","text":"TemporaryFile(/tmp/multipartBody4264478465235716882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751322455,"filename":"image_04112025_15_17_20_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c765070f508189f11061bcbd79906d2f.jpg","text":"TemporaryFile(/tmp/multipartBody7743709200803925039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751322455,"filename":"image_04112025_15_17_11_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e382c0ae68d407a23ffd77086c86e8cf.jpg","text":"TemporaryFile(/tmp/multipartBody1659413920229107440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751322455,"filename":"image_04112025_15_17_09_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4544c33921fd88d18f2f76837518d185.jpg","text":"TemporaryFile(/tmp/multipartBody6492372570414662511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751322455,"filename":"image_04112025_15_17_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/12/14/6615c1b7093b4891b769f167e8d0b2e4.jpg","text":"TemporaryFile(/tmp/multipartBody391857826452700941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751322455,"filename":"image_04112025_15_17_29_8844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416286","file1":"1399416285","file0":"1399416284","file4":"1399416288","file5":"1399416289","file3":"1399416287"},"map_files_photo_id_array":[{"photo_id":"1399416289","filename":"file5"},{"photo_id":"1399416286","filename":"file2"},{"photo_id":"1399416288","filename":"file4"},{"photo_id":"1399416285","filename":"file1"},{"photo_id":"1399416284","filename":"file0"},{"photo_id":"1399416287","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416286":["hashtag1","hashtag2"]},{"1399416288":["hashtag1","hashtag2"]},{"1399416285":["hashtag1","hashtag2"]},{"1399416284":["hashtag1","hashtag2"]},{"1399416287":["hashtag1","hashtag2"]},{"1399416289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416286, 1399416288, 1399416285, 1399416284, 1399416287, 1399416289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11963963508606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:28:22.159674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/56/image_14122025_22_56_55_10833.jpg', '/home/pi/Desktop/images/14122025/22/56/image_14122025_22_57_04_9797.jpg', '/home/pi/Desktop/images/14122025/22/57/image_14122025_22_57_14_9609.jpg', '/home/pi/Desktop/images/14122025/22/57/image_14122025_22_57_24_9881.jpg', '/home/pi/Desktop/images/14122025/22/57/image_14122025_22_57_35_10683.jpg', '/home/pi/Desktop/images/14122025/22/57/image_14122025_22_57_44_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/56/image_14122025_22_56_55_10833.jpg
/home/pi/Desktop/images/14122025/22/56/image_14122025_22_57_04_9797.jpg
/home/pi/Desktop/images/14122025/22/57/image_14122025_22_57_14_9609.jpg
/home/pi/Desktop/images/14122025/22/57/image_14122025_22_57_24_9881.jpg
/home/pi/Desktop/images/14122025/22/57/image_14122025_22_57_35_10683.jpg
/home/pi/Desktop/images/14122025/22/57/image_14122025_22_57_44_9699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416292","1399416291","1399416294","1399416290","1399416293","1399416295"],"photo_ids_order":["1399416290","1399416291","1399416292","1399416293","1399416294","1399416295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9f755ed25fa245be2abfaf0025d83943.jpg","text":"TemporaryFile(/tmp/multipartBody4362615667607353267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751362785,"filename":"image_14122025_22_57_14_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/06b634ed5d6d16112981a41acef81e1e.jpg","text":"TemporaryFile(/tmp/multipartBody4420782032422681905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751362785,"filename":"image_14122025_22_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/12/14/61474f3d6e4beff0a381f92b08c050c5.jpg","text":"TemporaryFile(/tmp/multipartBody6808780281271932964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751362785,"filename":"image_14122025_22_57_35_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/87b32a0ce7c3ca5dd6c10db021ccf3ad.jpg","text":"TemporaryFile(/tmp/multipartBody5982576020958058137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751362785,"filename":"image_14122025_22_56_55_10833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f63de86059b602da5cb15de0e16c16cb.jpg","text":"TemporaryFile(/tmp/multipartBody261109666754203010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751362785,"filename":"image_14122025_22_57_24_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2102e0b7cb90cf420bf3bcb1ad6f9a1d.jpg","text":"TemporaryFile(/tmp/multipartBody4406809576343229676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751362785,"filename":"image_14122025_22_57_44_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416292","file1":"1399416291","file0":"1399416290","file4":"1399416294","file5":"1399416295","file3":"1399416293"},"map_files_photo_id_array":[{"photo_id":"1399416295","filename":"file5"},{"photo_id":"1399416292","filename":"file2"},{"photo_id":"1399416294","filename":"file4"},{"photo_id":"1399416291","filename":"file1"},{"photo_id":"1399416290","filename":"file0"},{"photo_id":"1399416293","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416292":["hashtag1","hashtag2"]},{"1399416291":["hashtag1","hashtag2"]},{"1399416294":["hashtag1","hashtag2"]},{"1399416290":["hashtag1","hashtag2"]},{"1399416293":["hashtag1","hashtag2"]},{"1399416295":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416292, 1399416291, 1399416294, 1399416290, 1399416293, 1399416295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.550471782684326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:29:03.266055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/57/image_14122025_22_57_54_9814.jpg', '/home/pi/Desktop/images/14122025/22/57/image_14122025_22_58_04_9753.jpg', '/home/pi/Desktop/images/14122025/22/58/image_14122025_22_58_14_9824.jpg', '/home/pi/Desktop/images/14122025/22/58/image_14122025_22_58_24_10708.jpg', '/home/pi/Desktop/images/14122025/22/58/image_14122025_22_58_34_9730.jpg', '/home/pi/Desktop/images/14122025/22/58/image_14122025_22_58_44_9854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/57/image_14122025_22_57_54_9814.jpg
/home/pi/Desktop/images/14122025/22/57/image_14122025_22_58_04_9753.jpg
/home/pi/Desktop/images/14122025/22/58/image_14122025_22_58_14_9824.jpg
/home/pi/Desktop/images/14122025/22/58/image_14122025_22_58_24_10708.jpg
/home/pi/Desktop/images/14122025/22/58/image_14122025_22_58_34_9730.jpg
/home/pi/Desktop/images/14122025/22/58/image_14122025_22_58_44_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":["1399416304","1399416297","1399416300","1399416303","1399416302","1399416305"],"photo_ids_order":["1399416297","1399416300","1399416302","1399416303","1399416304","1399416305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ab69cb41a5473d114145945581e717b1.jpg","text":"TemporaryFile(/tmp/multipartBody4070495739005480511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751404138,"filename":"image_14122025_22_58_34_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/21eb5cb1d40182cd2cba6c84a4b6e760.jpg","text":"TemporaryFile(/tmp/multipartBody2639154509533968187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751404138,"filename":"image_14122025_22_57_54_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f5fd1a086f9c5d365f317bd4b42d9db.jpg","text":"TemporaryFile(/tmp/multipartBody4969360503863566594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751404138,"filename":"image_14122025_22_58_04_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b50ad53f38001eec38a657f78f450655.jpg","text":"TemporaryFile(/tmp/multipartBody8816447785647123129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751404138,"filename":"image_14122025_22_58_24_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a3fc032b16b7df5e9351628492f9b39e.jpg","text":"TemporaryFile(/tmp/multipartBody6609747156315505820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751404138,"filename":"image_14122025_22_58_14_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/55d19ef75acfaa38779a14ff617b93a6.jpg","text":"TemporaryFile(/tmp/multipartBody6819222542544967873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751404138,"filename":"image_14122025_22_58_44_9854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416302","file1":"1399416300","file0":"1399416297","file4":"1399416304","file5":"1399416305","file3":"1399416303"},"map_files_photo_id_array":[{"photo_id":"1399416305","filename":"file5"},{"photo_id":"1399416302","filename":"file2"},{"photo_id":"1399416304","filename":"file4"},{"photo_id":"1399416300","filename":"file1"},{"photo_id":"1399416297","filename":"file0"},{"photo_id":"1399416303","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416304":["hashtag1","hashtag2"]},{"1399416297":["hashtag1","hashtag2"]},{"1399416300":["hashtag1","hashtag2"]},{"1399416303":["hashtag1","hashtag2"]},{"1399416302":["hashtag1","hashtag2"]},{"1399416305":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416304, 1399416297, 1399416300, 1399416303, 1399416302, 1399416305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.807655811309814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:29:42.414694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_38_8870.jpg', '/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_40_1696.jpg', '/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_42_1669.jpg', '/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_47_5439.jpg', '/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_50_3028.jpg', '/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_52_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_38_8870.jpg
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_40_1696.jpg
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_42_1669.jpg
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_47_5439.jpg
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_50_3028.jpg
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_52_1646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416313","1399416307","1399416310","1399416309","1399416311","1399416308"],"photo_ids_order":["1399416307","1399416308","1399416309","1399416310","1399416311","1399416313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/34c91f6eaa9821092933402346036d7f.jpg","text":"TemporaryFile(/tmp/multipartBody6544253256789094729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751443115,"filename":"image_04112025_15_17_52_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b5876c42fe06941a77cefd45f3cf680a.jpg","text":"TemporaryFile(/tmp/multipartBody8002807187305534827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751443115,"filename":"image_04112025_15_17_38_8870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8e4a51ccbc8c2f4f527fdce76adf6130.jpg","text":"TemporaryFile(/tmp/multipartBody1579936129645240252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751443115,"filename":"image_04112025_15_17_47_5439.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2781c305d56507cdc650716940e637fe.jpg","text":"TemporaryFile(/tmp/multipartBody3009442381830653553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751443115,"filename":"image_04112025_15_17_42_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/08f227e6e0996ff2af49fc1aabfd7dbb.jpg","text":"TemporaryFile(/tmp/multipartBody3157534022457330195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751443115,"filename":"image_04112025_15_17_50_3028.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9e19e3fb0968900cde3fa0cb80442138.jpg","text":"TemporaryFile(/tmp/multipartBody6874914276322590485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751443115,"filename":"image_04112025_15_17_40_1696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416309","file1":"1399416308","file0":"1399416307","file4":"1399416311","file5":"1399416313","file3":"1399416310"},"map_files_photo_id_array":[{"photo_id":"1399416313","filename":"file5"},{"photo_id":"1399416309","filename":"file2"},{"photo_id":"1399416311","filename":"file4"},{"photo_id":"1399416308","filename":"file1"},{"photo_id":"1399416307","filename":"file0"},{"photo_id":"1399416310","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416313":["hashtag1","hashtag2"]},{"1399416307":["hashtag1","hashtag2"]},{"1399416310":["hashtag1","hashtag2"]},{"1399416309":["hashtag1","hashtag2"]},{"1399416311":["hashtag1","hashtag2"]},{"1399416308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416313, 1399416307, 1399416310, 1399416309, 1399416311, 1399416308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68130612373352 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:30:22.645547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/58/image_14122025_22_58_54_9738.jpg', '/home/pi/Desktop/images/14122025/22/58/image_14122025_22_59_04_10631.jpg', '/home/pi/Desktop/images/14122025/22/59/image_14122025_22_59_14_9650.jpg', '/home/pi/Desktop/images/14122025/22/59/image_14122025_22_59_24_9831.jpg', '/home/pi/Desktop/images/14122025/22/59/image_14122025_22_59_34_9857.jpg', '/home/pi/Desktop/images/14122025/22/59/image_14122025_22_59_44_10111.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/58/image_14122025_22_58_54_9738.jpg
/home/pi/Desktop/images/14122025/22/58/image_14122025_22_59_04_10631.jpg
/home/pi/Desktop/images/14122025/22/59/image_14122025_22_59_14_9650.jpg
/home/pi/Desktop/images/14122025/22/59/image_14122025_22_59_24_9831.jpg
/home/pi/Desktop/images/14122025/22/59/image_14122025_22_59_34_9857.jpg
/home/pi/Desktop/images/14122025/22/59/image_14122025_22_59_44_10111.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416316","1399416318","1399416315","1399416320","1399416317","1399416314"],"photo_ids_order":["1399416314","1399416315","1399416316","1399416317","1399416318","1399416320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0dc98c3ef18814685e9e2dd8df5968b0.jpg","text":"TemporaryFile(/tmp/multipartBody4204660970801701534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751483310,"filename":"image_14122025_22_59_14_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dfcc408d21e3e1e28bb4c58d4182098e.jpg","text":"TemporaryFile(/tmp/multipartBody378767887247973353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751483310,"filename":"image_14122025_22_59_34_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a9dd8074a5a63f6ce7471a5148e00c1a.jpg","text":"TemporaryFile(/tmp/multipartBody366687321335536850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751483310,"filename":"image_14122025_22_59_04_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1dcc2da1c20dc34c5e0ab1f779eb7a2.jpg","text":"TemporaryFile(/tmp/multipartBody8707304070688038720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751483310,"filename":"image_14122025_22_59_44_10111.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/86a33b03d3707d24ef768ed40685bc70.jpg","text":"TemporaryFile(/tmp/multipartBody5369809905684651925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751483310,"filename":"image_14122025_22_59_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/12/14/3254fb44a1e1664259005faaef9fd44b.jpg","text":"TemporaryFile(/tmp/multipartBody4344933999296602906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751483310,"filename":"image_14122025_22_58_54_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416316","file1":"1399416315","file0":"1399416314","file4":"1399416318","file5":"1399416320","file3":"1399416317"},"map_files_photo_id_array":[{"photo_id":"1399416320","filename":"file5"},{"photo_id":"1399416316","filename":"file2"},{"photo_id":"1399416318","filename":"file4"},{"photo_id":"1399416315","filename":"file1"},{"photo_id":"1399416314","filename":"file0"},{"photo_id":"1399416317","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416316":["hashtag1","hashtag2"]},{"1399416318":["hashtag1","hashtag2"]},{"1399416315":["hashtag1","hashtag2"]},{"1399416320":["hashtag1","hashtag2"]},{"1399416317":["hashtag1","hashtag2"]},{"1399416314":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416316, 1399416318, 1399416315, 1399416320, 1399416317, 1399416314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.473283767700195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:31:02.562365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/22/59/image_14122025_22_59_55_10780.jpg', '/home/pi/Desktop/images/14122025/23/00/image_14122025_23_00_14_9649.jpg', '/home/pi/Desktop/images/14122025/23/00/image_14122025_23_00_24_9907.jpg', '/home/pi/Desktop/images/14122025/23/00/image_14122025_23_00_44_9902.jpg', '/home/pi/Desktop/images/14122025/23/00/image_14122025_23_00_54_9725.jpg', '/home/pi/Desktop/images/14122025/23/00/image_14122025_23_01_04_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/22/59/image_14122025_22_59_55_10780.jpg
/home/pi/Desktop/images/14122025/23/00/image_14122025_23_00_14_9649.jpg
/home/pi/Desktop/images/14122025/23/00/image_14122025_23_00_24_9907.jpg
/home/pi/Desktop/images/14122025/23/00/image_14122025_23_00_44_9902.jpg
/home/pi/Desktop/images/14122025/23/00/image_14122025_23_00_54_9725.jpg
/home/pi/Desktop/images/14122025/23/00/image_14122025_23_01_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":["1399416325","1399416322","1399416324","1399416327","1399416323","1399416326"],"photo_ids_order":["1399416322","1399416323","1399416324","1399416325","1399416326","1399416327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c0ca079b28ec4987b9f163e499c42cce.jpg","text":"TemporaryFile(/tmp/multipartBody5640690711688661253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751523268,"filename":"image_14122025_23_00_44_9902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dcea8c3f8d2670d66645f0abaa4a5744.jpg","text":"TemporaryFile(/tmp/multipartBody4189832062336867847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751523268,"filename":"image_14122025_22_59_55_10780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b50657415c8aa28b6726ea81b56df319.jpg","text":"TemporaryFile(/tmp/multipartBody5739017971634063455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751523268,"filename":"image_14122025_23_00_24_9907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3574a66a0ba7a9bca507c596f77cc854.jpg","text":"TemporaryFile(/tmp/multipartBody1683568468204270879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751523268,"filename":"image_14122025_23_01_04_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/778eb8fd93fa83668f058b3fa8569ccc.jpg","text":"TemporaryFile(/tmp/multipartBody5470583998993074236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751523268,"filename":"image_14122025_23_00_14_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/211b6c7c05e7d1f1dd6a13de869efec7.jpg","text":"TemporaryFile(/tmp/multipartBody6313556443809442239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751523268,"filename":"image_14122025_23_00_54_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416324","file1":"1399416323","file0":"1399416322","file4":"1399416326","file5":"1399416327","file3":"1399416325"},"map_files_photo_id_array":[{"photo_id":"1399416327","filename":"file5"},{"photo_id":"1399416324","filename":"file2"},{"photo_id":"1399416326","filename":"file4"},{"photo_id":"1399416323","filename":"file1"},{"photo_id":"1399416322","filename":"file0"},{"photo_id":"1399416325","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416325":["hashtag1","hashtag2"]},{"1399416322":["hashtag1","hashtag2"]},{"1399416324":["hashtag1","hashtag2"]},{"1399416327":["hashtag1","hashtag2"]},{"1399416323":["hashtag1","hashtag2"]},{"1399416326":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416325, 1399416322, 1399416324, 1399416327, 1399416323, 1399416326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15481686592102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:31:41.865722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_53_1669.jpg', '/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_55_1793.jpg', '/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_57_1495.jpg', '/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_58_1651.jpg', '/home/pi/Desktop/images/04112025/15/17/image_04112025_15_18_00_1631.jpg', '/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_02_1647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_53_1669.jpg
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_55_1793.jpg
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_57_1495.jpg
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_17_58_1651.jpg
/home/pi/Desktop/images/04112025/15/17/image_04112025_15_18_00_1631.jpg
/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_02_1647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416331","1399416334","1399416328","1399416330","1399416333","1399416332"],"photo_ids_order":["1399416328","1399416330","1399416331","1399416332","1399416333","1399416334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9b37b9d612b6da43c69bcb9f53ce4c9d.jpg","text":"TemporaryFile(/tmp/multipartBody1169272626717839801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751562585,"filename":"image_04112025_15_17_57_1495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/270313069f03b3faaff3c67bcd3dbe48.jpg","text":"TemporaryFile(/tmp/multipartBody1748511308194213110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751562585,"filename":"image_04112025_15_18_02_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9a1610ff541bf34af418e6b076e95b9a.jpg","text":"TemporaryFile(/tmp/multipartBody5565229895106120208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751562585,"filename":"image_04112025_15_17_53_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2031cd57261a0c6383c7d2862da70935.jpg","text":"TemporaryFile(/tmp/multipartBody8629891424667632523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751562585,"filename":"image_04112025_15_17_55_1793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8800cf22dd339eaa04379bac8266faa8.jpg","text":"TemporaryFile(/tmp/multipartBody1833355014756335947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751562585,"filename":"image_04112025_15_18_00_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c845109247e0a920883a2c75c460d737.jpg","text":"TemporaryFile(/tmp/multipartBody5270743394311907851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751562585,"filename":"image_04112025_15_17_58_1651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416331","file1":"1399416330","file0":"1399416328","file4":"1399416333","file5":"1399416334","file3":"1399416332"},"map_files_photo_id_array":[{"photo_id":"1399416334","filename":"file5"},{"photo_id":"1399416331","filename":"file2"},{"photo_id":"1399416333","filename":"file4"},{"photo_id":"1399416330","filename":"file1"},{"photo_id":"1399416328","filename":"file0"},{"photo_id":"1399416332","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416331":["hashtag1","hashtag2"]},{"1399416334":["hashtag1","hashtag2"]},{"1399416328":["hashtag1","hashtag2"]},{"1399416330":["hashtag1","hashtag2"]},{"1399416333":["hashtag1","hashtag2"]},{"1399416332":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416331, 1399416334, 1399416328, 1399416330, 1399416333, 1399416332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53013467788696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:32:22.162295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/01/image_14122025_23_01_24_9641.jpg', '/home/pi/Desktop/images/14122025/23/01/image_14122025_23_01_34_9618.jpg', '/home/pi/Desktop/images/14122025/23/01/image_14122025_23_01_44_10700.jpg', '/home/pi/Desktop/images/14122025/23/01/image_14122025_23_01_54_9611.jpg', '/home/pi/Desktop/images/14122025/23/01/image_14122025_23_02_04_9717.jpg', '/home/pi/Desktop/images/14122025/23/02/image_14122025_23_02_24_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/01/image_14122025_23_01_24_9641.jpg
/home/pi/Desktop/images/14122025/23/01/image_14122025_23_01_34_9618.jpg
/home/pi/Desktop/images/14122025/23/01/image_14122025_23_01_44_10700.jpg
/home/pi/Desktop/images/14122025/23/01/image_14122025_23_01_54_9611.jpg
/home/pi/Desktop/images/14122025/23/01/image_14122025_23_02_04_9717.jpg
/home/pi/Desktop/images/14122025/23/02/image_14122025_23_02_24_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416337","1399416336","1399416339","1399416341","1399416335","1399416338"],"photo_ids_order":["1399416335","1399416336","1399416337","1399416338","1399416339","1399416341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/13c9ffa08ce5a8aea56e95ffad77ac55.jpg","text":"TemporaryFile(/tmp/multipartBody3642130649053143466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751602780,"filename":"image_14122025_23_01_44_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1d450f11c4d5c1aa84c8fa1842c00f22.jpg","text":"TemporaryFile(/tmp/multipartBody1986339861469524115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751602780,"filename":"image_14122025_23_01_34_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/42e3d28a67a8bebec852e479fb074806.jpg","text":"TemporaryFile(/tmp/multipartBody2943309383123904249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751602780,"filename":"image_14122025_23_02_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/12/14/4200fbc8f47ed95dac4f443b0253f220.jpg","text":"TemporaryFile(/tmp/multipartBody4923471618302693536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751602780,"filename":"image_14122025_23_02_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/caf0788890981677c459df88aacd1fe8.jpg","text":"TemporaryFile(/tmp/multipartBody6766815529544479173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751602780,"filename":"image_14122025_23_01_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0509e2125cac6b47f672ee4adfcafbc0.jpg","text":"TemporaryFile(/tmp/multipartBody1102116924785199619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751602780,"filename":"image_14122025_23_01_54_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416337","file1":"1399416336","file0":"1399416335","file4":"1399416339","file5":"1399416341","file3":"1399416338"},"map_files_photo_id_array":[{"photo_id":"1399416341","filename":"file5"},{"photo_id":"1399416337","filename":"file2"},{"photo_id":"1399416339","filename":"file4"},{"photo_id":"1399416336","filename":"file1"},{"photo_id":"1399416335","filename":"file0"},{"photo_id":"1399416338","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416337":["hashtag1","hashtag2"]},{"1399416336":["hashtag1","hashtag2"]},{"1399416339":["hashtag1","hashtag2"]},{"1399416341":["hashtag1","hashtag2"]},{"1399416335":["hashtag1","hashtag2"]},{"1399416338":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416337, 1399416336, 1399416339, 1399416341, 1399416335, 1399416338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91744422912598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:33:03.057441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/02/image_14122025_23_02_34_9637.jpg', '/home/pi/Desktop/images/14122025/23/02/image_14122025_23_02_45_10803.jpg', '/home/pi/Desktop/images/14122025/23/02/image_14122025_23_02_54_9754.jpg', '/home/pi/Desktop/images/14122025/23/02/image_14122025_23_03_04_9743.jpg', '/home/pi/Desktop/images/14122025/23/03/image_14122025_23_03_14_9664.jpg', '/home/pi/Desktop/images/14122025/23/03/image_14122025_23_03_35_9825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/02/image_14122025_23_02_34_9637.jpg
/home/pi/Desktop/images/14122025/23/02/image_14122025_23_02_45_10803.jpg
/home/pi/Desktop/images/14122025/23/02/image_14122025_23_02_54_9754.jpg
/home/pi/Desktop/images/14122025/23/02/image_14122025_23_03_04_9743.jpg
/home/pi/Desktop/images/14122025/23/03/image_14122025_23_03_14_9664.jpg
/home/pi/Desktop/images/14122025/23/03/image_14122025_23_03_35_9825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416343","1399416346","1399416345","1399416348","1399416347","1399416344"],"photo_ids_order":["1399416343","1399416344","1399416345","1399416346","1399416347","1399416348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6edff000ba2b8e251a015a9401d83a2f.jpg","text":"TemporaryFile(/tmp/multipartBody5337975821367805088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751643810,"filename":"image_14122025_23_02_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/235d3e8ddd53ca02685c42ee771033ae.jpg","text":"TemporaryFile(/tmp/multipartBody3064785778134461961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751643810,"filename":"image_14122025_23_03_04_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e47c3f1142719b1f33483cffcd0d499b.jpg","text":"TemporaryFile(/tmp/multipartBody3986428938155295536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751643810,"filename":"image_14122025_23_02_54_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ab34ecf9381a5dc463dfba487431d6ca.jpg","text":"TemporaryFile(/tmp/multipartBody3082261280640708722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751643810,"filename":"image_14122025_23_03_35_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d4b974a40cc369cb135fdd309d085c6d.jpg","text":"TemporaryFile(/tmp/multipartBody6649850546285774783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751643810,"filename":"image_14122025_23_03_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b2efa167b035e396b8f43e6d33e4221a.jpg","text":"TemporaryFile(/tmp/multipartBody4465475627142879624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751643810,"filename":"image_14122025_23_02_45_10803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416345","file1":"1399416344","file0":"1399416343","file4":"1399416347","file5":"1399416348","file3":"1399416346"},"map_files_photo_id_array":[{"photo_id":"1399416348","filename":"file5"},{"photo_id":"1399416345","filename":"file2"},{"photo_id":"1399416347","filename":"file4"},{"photo_id":"1399416344","filename":"file1"},{"photo_id":"1399416343","filename":"file0"},{"photo_id":"1399416346","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416343":["hashtag1","hashtag2"]},{"1399416346":["hashtag1","hashtag2"]},{"1399416345":["hashtag1","hashtag2"]},{"1399416348":["hashtag1","hashtag2"]},{"1399416347":["hashtag1","hashtag2"]},{"1399416344":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416343, 1399416346, 1399416345, 1399416348, 1399416347, 1399416344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.575907707214355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:33:42.306112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_03_1848.jpg', '/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_05_1750.jpg', '/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_09_3544.jpg', '/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_11_2585.jpg', '/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_15_3589.jpg', '/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_18_2789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_03_1848.jpg
/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_05_1750.jpg
/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_09_3544.jpg
/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_11_2585.jpg
/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_15_3589.jpg
/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_18_2789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416352","1399416355","1399416354","1399416351","1399416353","1399416350"],"photo_ids_order":["1399416350","1399416351","1399416352","1399416353","1399416354","1399416355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/98841ea355feac2d7754e40e3020ae2e.jpg","text":"TemporaryFile(/tmp/multipartBody4274132508020145639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751683005,"filename":"image_04112025_15_18_09_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76804bdddc42f7c60441b1926dafc8ef.jpg","text":"TemporaryFile(/tmp/multipartBody86878493750323261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751683005,"filename":"image_04112025_15_18_18_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ec0cef7b16ed2c38bda17a3c68010387.jpg","text":"TemporaryFile(/tmp/multipartBody3689434653653379855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751683005,"filename":"image_04112025_15_18_15_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d0ce6b1ce61c47238d0217df526a5327.jpg","text":"TemporaryFile(/tmp/multipartBody2331203408125310676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751683005,"filename":"image_04112025_15_18_05_1750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1231f0c2f9829c153706e5276320260a.jpg","text":"TemporaryFile(/tmp/multipartBody6952723773130186678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751683005,"filename":"image_04112025_15_18_11_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3a104af94d741499082b4ff40dff93a4.jpg","text":"TemporaryFile(/tmp/multipartBody7247217718921590867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751683005,"filename":"image_04112025_15_18_03_1848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416352","file1":"1399416351","file0":"1399416350","file4":"1399416354","file5":"1399416355","file3":"1399416353"},"map_files_photo_id_array":[{"photo_id":"1399416355","filename":"file5"},{"photo_id":"1399416352","filename":"file2"},{"photo_id":"1399416354","filename":"file4"},{"photo_id":"1399416351","filename":"file1"},{"photo_id":"1399416350","filename":"file0"},{"photo_id":"1399416353","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416352":["hashtag1","hashtag2"]},{"1399416355":["hashtag1","hashtag2"]},{"1399416354":["hashtag1","hashtag2"]},{"1399416351":["hashtag1","hashtag2"]},{"1399416353":["hashtag1","hashtag2"]},{"1399416350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416352, 1399416355, 1399416354, 1399416351, 1399416353, 1399416350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38221788406372 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:34:22.623832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/03/image_14122025_23_03_44_9911.jpg', '/home/pi/Desktop/images/14122025/23/03/image_14122025_23_03_54_9862.jpg', '/home/pi/Desktop/images/14122025/23/03/image_14122025_23_04_04_9674.jpg', '/home/pi/Desktop/images/14122025/23/04/image_14122025_23_04_15_10634.jpg', '/home/pi/Desktop/images/14122025/23/04/image_14122025_23_04_24_9727.jpg', '/home/pi/Desktop/images/14122025/23/04/image_14122025_23_04_34_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/03/image_14122025_23_03_44_9911.jpg
/home/pi/Desktop/images/14122025/23/03/image_14122025_23_03_54_9862.jpg
/home/pi/Desktop/images/14122025/23/03/image_14122025_23_04_04_9674.jpg
/home/pi/Desktop/images/14122025/23/04/image_14122025_23_04_15_10634.jpg
/home/pi/Desktop/images/14122025/23/04/image_14122025_23_04_24_9727.jpg
/home/pi/Desktop/images/14122025/23/04/image_14122025_23_04_34_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":["1399416358","1399416360","1399416357","1399416359","1399416356","1399416361"],"photo_ids_order":["1399416356","1399416357","1399416358","1399416359","1399416360","1399416361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/47e401e709be92e5cf872204b5578453.jpg","text":"TemporaryFile(/tmp/multipartBody2097297682080689129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751723239,"filename":"image_14122025_23_04_04_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7e8ca82ed43c48416439788db05bf1e3.jpg","text":"TemporaryFile(/tmp/multipartBody6617718934452575792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751723239,"filename":"image_14122025_23_04_24_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3212142ff0cd98455b97a06b57378932.jpg","text":"TemporaryFile(/tmp/multipartBody1431877120504257915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751723239,"filename":"image_14122025_23_03_54_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a9a00dae269a5863582faeeb88dcedbd.jpg","text":"TemporaryFile(/tmp/multipartBody7789748843372634406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751723239,"filename":"image_14122025_23_04_15_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ddc2e2c6bb26459e5f9bd461b9182a6f.jpg","text":"TemporaryFile(/tmp/multipartBody7115665429420701477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751723239,"filename":"image_14122025_23_03_44_9911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/63adf2d19b25484182c5a1407990ef26.jpg","text":"TemporaryFile(/tmp/multipartBody275782230924954391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751723239,"filename":"image_14122025_23_04_34_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416358","file1":"1399416357","file0":"1399416356","file4":"1399416360","file5":"1399416361","file3":"1399416359"},"map_files_photo_id_array":[{"photo_id":"1399416361","filename":"file5"},{"photo_id":"1399416358","filename":"file2"},{"photo_id":"1399416360","filename":"file4"},{"photo_id":"1399416357","filename":"file1"},{"photo_id":"1399416356","filename":"file0"},{"photo_id":"1399416359","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416358":["hashtag1","hashtag2"]},{"1399416360":["hashtag1","hashtag2"]},{"1399416357":["hashtag1","hashtag2"]},{"1399416359":["hashtag1","hashtag2"]},{"1399416356":["hashtag1","hashtag2"]},{"1399416361":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416358, 1399416360, 1399416357, 1399416359, 1399416356, 1399416361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43561506271362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:35:03.493292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/04/image_14122025_23_04_45_10670.jpg', '/home/pi/Desktop/images/14122025/23/04/image_14122025_23_05_04_9848.jpg', '/home/pi/Desktop/images/14122025/23/05/image_14122025_23_05_14_9722.jpg', '/home/pi/Desktop/images/14122025/23/05/image_14122025_23_05_24_9853.jpg', '/home/pi/Desktop/images/14122025/23/05/image_14122025_23_05_34_10612.jpg', '/home/pi/Desktop/images/14122025/23/05/image_14122025_23_05_44_9812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/04/image_14122025_23_04_45_10670.jpg
/home/pi/Desktop/images/14122025/23/04/image_14122025_23_05_04_9848.jpg
/home/pi/Desktop/images/14122025/23/05/image_14122025_23_05_14_9722.jpg
/home/pi/Desktop/images/14122025/23/05/image_14122025_23_05_24_9853.jpg
/home/pi/Desktop/images/14122025/23/05/image_14122025_23_05_34_10612.jpg
/home/pi/Desktop/images/14122025/23/05/image_14122025_23_05_44_9812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416364","1399416367","1399416366","1399416365","1399416368","1399416362"],"photo_ids_order":["1399416362","1399416364","1399416365","1399416366","1399416367","1399416368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a55c21fd7a0b262e484846c11e84a2d2.jpg","text":"TemporaryFile(/tmp/multipartBody6339812873648727213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751764166,"filename":"image_14122025_23_05_04_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/38b45824e18aa7d92e00d47987ae7f86.jpg","text":"TemporaryFile(/tmp/multipartBody5273693601593512708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751764166,"filename":"image_14122025_23_05_34_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9742fb01d16c0807f2afe6a12e82f1ee.jpg","text":"TemporaryFile(/tmp/multipartBody8135005896230379058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751764166,"filename":"image_14122025_23_05_24_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5601a1a31e882c7aa6b7dea2b1a6a64d.jpg","text":"TemporaryFile(/tmp/multipartBody2827116516612695478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751764166,"filename":"image_14122025_23_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/12/14/e8b6fed4f79516e3d2a5a8ca125519f1.jpg","text":"TemporaryFile(/tmp/multipartBody1034442649951452143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751764166,"filename":"image_14122025_23_05_44_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/97bd9ebcdfd1db65823a6a7a57e3a364.jpg","text":"TemporaryFile(/tmp/multipartBody743127552975414300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751764166,"filename":"image_14122025_23_04_45_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416365","file1":"1399416364","file0":"1399416362","file4":"1399416367","file5":"1399416368","file3":"1399416366"},"map_files_photo_id_array":[{"photo_id":"1399416368","filename":"file5"},{"photo_id":"1399416365","filename":"file2"},{"photo_id":"1399416367","filename":"file4"},{"photo_id":"1399416364","filename":"file1"},{"photo_id":"1399416362","filename":"file0"},{"photo_id":"1399416366","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416364":["hashtag1","hashtag2"]},{"1399416367":["hashtag1","hashtag2"]},{"1399416366":["hashtag1","hashtag2"]},{"1399416365":["hashtag1","hashtag2"]},{"1399416368":["hashtag1","hashtag2"]},{"1399416362":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416364, 1399416367, 1399416366, 1399416365, 1399416368, 1399416362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.212775230407715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:35:42.691254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_21_2946.jpg', '/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_23_2700.jpg', '/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_27_3664.jpg', '/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_30_2699.jpg', '/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_32_2761.jpg', '/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_36_3544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_21_2946.jpg
/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_23_2700.jpg
/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_27_3664.jpg
/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_30_2699.jpg
/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_32_2761.jpg
/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_36_3544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416370","1399416373","1399416372","1399416375","1399416369","1399416371"],"photo_ids_order":["1399416369","1399416370","1399416371","1399416372","1399416373","1399416375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1f4832721ca5f461f7da88c59491b86b.jpg","text":"TemporaryFile(/tmp/multipartBody8579854562473038671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751803402,"filename":"image_04112025_15_18_23_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/58cdde54cd5fa9b4e135183d86248b2e.jpg","text":"TemporaryFile(/tmp/multipartBody7186649257774962066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751803402,"filename":"image_04112025_15_18_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/12/14/d39be62d0527555807b2c203823a13ef.jpg","text":"TemporaryFile(/tmp/multipartBody87326580879748262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751803402,"filename":"image_04112025_15_18_30_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c6dd28ec08b44ce91b130600f6fcc732.jpg","text":"TemporaryFile(/tmp/multipartBody1218499094580550547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751803402,"filename":"image_04112025_15_18_36_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/aae40e1c274d9d0c5d69dc4142eeb540.jpg","text":"TemporaryFile(/tmp/multipartBody6188848213023931681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751803402,"filename":"image_04112025_15_18_21_2946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e0c62b3464932fed3ecabeba4ce83c2f.jpg","text":"TemporaryFile(/tmp/multipartBody2886205126513499801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751803402,"filename":"image_04112025_15_18_27_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416371","file1":"1399416370","file0":"1399416369","file4":"1399416373","file5":"1399416375","file3":"1399416372"},"map_files_photo_id_array":[{"photo_id":"1399416375","filename":"file5"},{"photo_id":"1399416371","filename":"file2"},{"photo_id":"1399416373","filename":"file4"},{"photo_id":"1399416370","filename":"file1"},{"photo_id":"1399416369","filename":"file0"},{"photo_id":"1399416372","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416370":["hashtag1","hashtag2"]},{"1399416373":["hashtag1","hashtag2"]},{"1399416372":["hashtag1","hashtag2"]},{"1399416375":["hashtag1","hashtag2"]},{"1399416369":["hashtag1","hashtag2"]},{"1399416371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416370, 1399416373, 1399416372, 1399416375, 1399416369, 1399416371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.551345348358154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:36:22.019713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/05/image_14122025_23_05_54_9619.jpg', '/home/pi/Desktop/images/14122025/23/05/image_14122025_23_06_05_10797.jpg', '/home/pi/Desktop/images/14122025/23/06/image_14122025_23_06_14_9727.jpg', '/home/pi/Desktop/images/14122025/23/06/image_14122025_23_06_24_9673.jpg', '/home/pi/Desktop/images/14122025/23/06/image_14122025_23_06_34_9716.jpg', '/home/pi/Desktop/images/14122025/23/06/image_14122025_23_06_44_10697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/05/image_14122025_23_05_54_9619.jpg
/home/pi/Desktop/images/14122025/23/05/image_14122025_23_06_05_10797.jpg
/home/pi/Desktop/images/14122025/23/06/image_14122025_23_06_14_9727.jpg
/home/pi/Desktop/images/14122025/23/06/image_14122025_23_06_24_9673.jpg
/home/pi/Desktop/images/14122025/23/06/image_14122025_23_06_34_9716.jpg
/home/pi/Desktop/images/14122025/23/06/image_14122025_23_06_44_10697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416379","1399416378","1399416377","1399416380","1399416382","1399416376"],"photo_ids_order":["1399416376","1399416377","1399416378","1399416379","1399416380","1399416382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8d9d56632e02bf95de26d900e70478f3.jpg","text":"TemporaryFile(/tmp/multipartBody4287738245456232193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751842668,"filename":"image_14122025_23_06_24_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2f6adfb959cf479c6cc2a85a2d2c049b.jpg","text":"TemporaryFile(/tmp/multipartBody2153807099486881166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751842668,"filename":"image_14122025_23_06_14_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9182a2ec13955fe98da2785b487b3d05.jpg","text":"TemporaryFile(/tmp/multipartBody1573458261800841060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751842668,"filename":"image_14122025_23_06_05_10797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f9222ad98bb0c89e3172f7c80346b9cc.jpg","text":"TemporaryFile(/tmp/multipartBody15058819933083059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751842668,"filename":"image_14122025_23_06_34_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1d29a96bc5c27f05665b089ec5cc89c8.jpg","text":"TemporaryFile(/tmp/multipartBody85466120718827927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751842668,"filename":"image_14122025_23_06_44_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3019005a60f1b24be162b142a3838475.jpg","text":"TemporaryFile(/tmp/multipartBody6211058436329554640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751842668,"filename":"image_14122025_23_05_54_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416378","file1":"1399416377","file0":"1399416376","file4":"1399416380","file5":"1399416382","file3":"1399416379"},"map_files_photo_id_array":[{"photo_id":"1399416382","filename":"file5"},{"photo_id":"1399416378","filename":"file2"},{"photo_id":"1399416380","filename":"file4"},{"photo_id":"1399416377","filename":"file1"},{"photo_id":"1399416376","filename":"file0"},{"photo_id":"1399416379","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416379":["hashtag1","hashtag2"]},{"1399416378":["hashtag1","hashtag2"]},{"1399416377":["hashtag1","hashtag2"]},{"1399416380":["hashtag1","hashtag2"]},{"1399416382":["hashtag1","hashtag2"]},{"1399416376":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416379, 1399416378, 1399416377, 1399416380, 1399416382, 1399416376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.622047424316406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:37:02.905958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/06/image_14122025_23_06_54_9655.jpg', '/home/pi/Desktop/images/14122025/23/06/image_14122025_23_07_04_9628.jpg', '/home/pi/Desktop/images/14122025/23/07/image_14122025_23_07_15_10757.jpg', '/home/pi/Desktop/images/14122025/23/07/image_14122025_23_07_35_10567.jpg', '/home/pi/Desktop/images/14122025/23/07/image_14122025_23_07_44_9581.jpg', '/home/pi/Desktop/images/14122025/23/07/image_14122025_23_07_54_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/06/image_14122025_23_06_54_9655.jpg
/home/pi/Desktop/images/14122025/23/06/image_14122025_23_07_04_9628.jpg
/home/pi/Desktop/images/14122025/23/07/image_14122025_23_07_15_10757.jpg
/home/pi/Desktop/images/14122025/23/07/image_14122025_23_07_35_10567.jpg
/home/pi/Desktop/images/14122025/23/07/image_14122025_23_07_44_9581.jpg
/home/pi/Desktop/images/14122025/23/07/image_14122025_23_07_54_9770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416385","1399416387","1399416384","1399416386","1399416389","1399416388"],"photo_ids_order":["1399416384","1399416385","1399416386","1399416387","1399416388","1399416389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b996f8393b3017604ec43610981257c2.jpg","text":"TemporaryFile(/tmp/multipartBody7942017219097280847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751883621,"filename":"image_14122025_23_07_04_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cbc207d6c787461799864ce9a37ccef6.jpg","text":"TemporaryFile(/tmp/multipartBody1825863087284174196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751883621,"filename":"image_14122025_23_07_35_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8ecfbc9265374d138ce0c35ef8a46d7a.jpg","text":"TemporaryFile(/tmp/multipartBody1787455197168976811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751883621,"filename":"image_14122025_23_06_54_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9ce61badb5c255faf53f1db75dc337b6.jpg","text":"TemporaryFile(/tmp/multipartBody5294465608040083112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751883621,"filename":"image_14122025_23_07_15_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/402b980edc51a944bc797587d65573ee.jpg","text":"TemporaryFile(/tmp/multipartBody3436559586894271736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751883621,"filename":"image_14122025_23_07_54_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7e4f369953923e2c9a3d41158a2b3bd6.jpg","text":"TemporaryFile(/tmp/multipartBody1944600726535715914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751883621,"filename":"image_14122025_23_07_44_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416386","file1":"1399416385","file0":"1399416384","file4":"1399416388","file5":"1399416389","file3":"1399416387"},"map_files_photo_id_array":[{"photo_id":"1399416389","filename":"file5"},{"photo_id":"1399416386","filename":"file2"},{"photo_id":"1399416388","filename":"file4"},{"photo_id":"1399416385","filename":"file1"},{"photo_id":"1399416384","filename":"file0"},{"photo_id":"1399416387","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416385":["hashtag1","hashtag2"]},{"1399416387":["hashtag1","hashtag2"]},{"1399416384":["hashtag1","hashtag2"]},{"1399416386":["hashtag1","hashtag2"]},{"1399416389":["hashtag1","hashtag2"]},{"1399416388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416385, 1399416387, 1399416384, 1399416386, 1399416389, 1399416388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.475029706954956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:37:42.167016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_41_5395.jpg', '/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_43_1716.jpg', '/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_45_1619.jpg', '/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_47_2632.jpg', '/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_51_3639.jpg', '/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_53_2540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_41_5395.jpg
/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_43_1716.jpg
/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_45_1619.jpg
/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_47_2632.jpg
/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_51_3639.jpg
/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_53_2540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416391","1399416393","1399416396","1399416395","1399416392","1399416394"],"photo_ids_order":["1399416391","1399416392","1399416393","1399416394","1399416395","1399416396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a9091ea0274084273f19a3d93b3d787a.jpg","text":"TemporaryFile(/tmp/multipartBody5753884013808224150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751922873,"filename":"image_04112025_15_18_41_5395.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e1722410b302567e23d0c62a725920b1.jpg","text":"TemporaryFile(/tmp/multipartBody1029548919795913317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751922873,"filename":"image_04112025_15_18_45_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d4110161990a7153b472e4497816712e.jpg","text":"TemporaryFile(/tmp/multipartBody5892679196654970504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751922873,"filename":"image_04112025_15_18_53_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/cda275f1f01085b9cedb08b214a977cc.jpg","text":"TemporaryFile(/tmp/multipartBody1396583836962356953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751922873,"filename":"image_04112025_15_18_51_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/209b645933fe32ba9259c24f5206489a.jpg","text":"TemporaryFile(/tmp/multipartBody1801696526752183722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751922873,"filename":"image_04112025_15_18_43_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4f3838f8a38f15ada24d57238e0f5bd9.jpg","text":"TemporaryFile(/tmp/multipartBody3438830106613706075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751922873,"filename":"image_04112025_15_18_47_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416393","file1":"1399416392","file0":"1399416391","file4":"1399416395","file5":"1399416396","file3":"1399416394"},"map_files_photo_id_array":[{"photo_id":"1399416396","filename":"file5"},{"photo_id":"1399416393","filename":"file2"},{"photo_id":"1399416395","filename":"file4"},{"photo_id":"1399416392","filename":"file1"},{"photo_id":"1399416391","filename":"file0"},{"photo_id":"1399416394","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416391":["hashtag1","hashtag2"]},{"1399416393":["hashtag1","hashtag2"]},{"1399416396":["hashtag1","hashtag2"]},{"1399416395":["hashtag1","hashtag2"]},{"1399416392":["hashtag1","hashtag2"]},{"1399416394":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416391, 1399416393, 1399416396, 1399416395, 1399416392, 1399416394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09996318817139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:38:22.442341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/07/image_14122025_23_08_05_10574.jpg', '/home/pi/Desktop/images/14122025/23/08/image_14122025_23_08_24_9794.jpg', '/home/pi/Desktop/images/14122025/23/08/image_14122025_23_08_35_10642.jpg', '/home/pi/Desktop/images/14122025/23/08/image_14122025_23_08_44_9781.jpg', '/home/pi/Desktop/images/14122025/23/08/image_14122025_23_08_54_9862.jpg', '/home/pi/Desktop/images/14122025/23/08/image_14122025_23_09_04_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/07/image_14122025_23_08_05_10574.jpg
/home/pi/Desktop/images/14122025/23/08/image_14122025_23_08_24_9794.jpg
/home/pi/Desktop/images/14122025/23/08/image_14122025_23_08_35_10642.jpg
/home/pi/Desktop/images/14122025/23/08/image_14122025_23_08_44_9781.jpg
/home/pi/Desktop/images/14122025/23/08/image_14122025_23_08_54_9862.jpg
/home/pi/Desktop/images/14122025/23/08/image_14122025_23_09_04_9776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416400","1399416399","1399416398","1399416402","1399416401","1399416397"],"photo_ids_order":["1399416397","1399416398","1399416399","1399416400","1399416401","1399416402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a25bcb23ee935f925108bb4a8d7244b0.jpg","text":"TemporaryFile(/tmp/multipartBody3651629722404983365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751963052,"filename":"image_14122025_23_08_44_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6f9496f65c799d2c5fe07b6121a657ac.jpg","text":"TemporaryFile(/tmp/multipartBody7279797433495808872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751963052,"filename":"image_14122025_23_08_35_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5e3d60e47e15444997b35c28cefe5a74.jpg","text":"TemporaryFile(/tmp/multipartBody1561973757992501957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751963052,"filename":"image_14122025_23_08_24_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ac119be041b336f6ed758ea36d373ab5.jpg","text":"TemporaryFile(/tmp/multipartBody7052611646573317864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751963052,"filename":"image_14122025_23_09_04_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/03845f04940b678300ca53d55874ef0f.jpg","text":"TemporaryFile(/tmp/multipartBody6697236287414043937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751963052,"filename":"image_14122025_23_08_54_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e86b4314f57037749350050156327f97.jpg","text":"TemporaryFile(/tmp/multipartBody7822409471687834935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765751963052,"filename":"image_14122025_23_08_05_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416399","file1":"1399416398","file0":"1399416397","file4":"1399416401","file5":"1399416402","file3":"1399416400"},"map_files_photo_id_array":[{"photo_id":"1399416402","filename":"file5"},{"photo_id":"1399416399","filename":"file2"},{"photo_id":"1399416401","filename":"file4"},{"photo_id":"1399416398","filename":"file1"},{"photo_id":"1399416397","filename":"file0"},{"photo_id":"1399416400","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416400":["hashtag1","hashtag2"]},{"1399416399":["hashtag1","hashtag2"]},{"1399416398":["hashtag1","hashtag2"]},{"1399416402":["hashtag1","hashtag2"]},{"1399416401":["hashtag1","hashtag2"]},{"1399416397":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416400, 1399416399, 1399416398, 1399416402, 1399416401, 1399416397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05084466934204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:39:03.570430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/09/image_14122025_23_09_14_9786.jpg', '/home/pi/Desktop/images/14122025/23/09/image_14122025_23_09_24_9817.jpg', '/home/pi/Desktop/images/14122025/23/09/image_14122025_23_09_35_10798.jpg', '/home/pi/Desktop/images/14122025/23/09/image_14122025_23_09_54_9950.jpg', '/home/pi/Desktop/images/14122025/23/09/image_14122025_23_10_04_9734.jpg', '/home/pi/Desktop/images/14122025/23/10/image_14122025_23_10_15_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/09/image_14122025_23_09_14_9786.jpg
/home/pi/Desktop/images/14122025/23/09/image_14122025_23_09_24_9817.jpg
/home/pi/Desktop/images/14122025/23/09/image_14122025_23_09_35_10798.jpg
/home/pi/Desktop/images/14122025/23/09/image_14122025_23_09_54_9950.jpg
/home/pi/Desktop/images/14122025/23/09/image_14122025_23_10_04_9734.jpg
/home/pi/Desktop/images/14122025/23/10/image_14122025_23_10_15_10606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416406","1399416409","1399416411","1399416408","1399416410","1399416404"],"photo_ids_order":["1399416404","1399416406","1399416408","1399416409","1399416410","1399416411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b0e30d74bc5e6241a69c161c2903accc.jpg","text":"TemporaryFile(/tmp/multipartBody9201337035168579441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752004388,"filename":"image_14122025_23_09_24_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7338fbb22e65cc02619028f6c0d2b12a.jpg","text":"TemporaryFile(/tmp/multipartBody1249215817679029709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752004388,"filename":"image_14122025_23_09_54_9950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e8d892af7d19c7252a4aabbe0c03ca74.jpg","text":"TemporaryFile(/tmp/multipartBody2607511987662112845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752004388,"filename":"image_14122025_23_10_15_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2ca6c20f8435d6aa3619a0cb32bd0053.jpg","text":"TemporaryFile(/tmp/multipartBody2174157274457938445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752004388,"filename":"image_14122025_23_09_35_10798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/84439b1dad820ec637b784d881e6f60b.jpg","text":"TemporaryFile(/tmp/multipartBody2858433897622042954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752004388,"filename":"image_14122025_23_10_04_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/06d0779895e3b79f9c5744ac3bbb7197.jpg","text":"TemporaryFile(/tmp/multipartBody8359613316649014718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752004388,"filename":"image_14122025_23_09_14_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416408","file1":"1399416406","file0":"1399416404","file4":"1399416410","file5":"1399416411","file3":"1399416409"},"map_files_photo_id_array":[{"photo_id":"1399416411","filename":"file5"},{"photo_id":"1399416408","filename":"file2"},{"photo_id":"1399416410","filename":"file4"},{"photo_id":"1399416406","filename":"file1"},{"photo_id":"1399416404","filename":"file0"},{"photo_id":"1399416409","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416406":["hashtag1","hashtag2"]},{"1399416409":["hashtag1","hashtag2"]},{"1399416411":["hashtag1","hashtag2"]},{"1399416408":["hashtag1","hashtag2"]},{"1399416410":["hashtag1","hashtag2"]},{"1399416404":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416406, 1399416409, 1399416411, 1399416408, 1399416410, 1399416404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15416860580444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:39:42.616527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_56_2665.jpg', '/home/pi/Desktop/images/04112025/15/18/image_04112025_15_19_00_3678.jpg', '/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_02_2527.jpg', '/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_06_3629.jpg', '/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_09_2550.jpg', '/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_11_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/18/image_04112025_15_18_56_2665.jpg
/home/pi/Desktop/images/04112025/15/18/image_04112025_15_19_00_3678.jpg
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_02_2527.jpg
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_06_3629.jpg
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_09_2550.jpg
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_11_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":["1399416412","1399416415","1399416418","1399416414","1399416416","1399416413"],"photo_ids_order":["1399416412","1399416413","1399416414","1399416415","1399416416","1399416418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3295d533aca0b9d91771d0e1c6814854.jpg","text":"TemporaryFile(/tmp/multipartBody6185233087710167214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752043511,"filename":"image_04112025_15_18_56_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f202f64fa732da776c8589be9fb03d4d.jpg","text":"TemporaryFile(/tmp/multipartBody1755149962983558357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752043511,"filename":"image_04112025_15_19_06_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/92a0905eba3da96ea2fbcc812435318a.jpg","text":"TemporaryFile(/tmp/multipartBody4267782871050278720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752043511,"filename":"image_04112025_15_19_11_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a80e92473efbf2279b6ebde58a20c89f.jpg","text":"TemporaryFile(/tmp/multipartBody1956790761685997393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752043511,"filename":"image_04112025_15_19_02_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/53a25f882e2aa4c9693c6eb8773d4ad7.jpg","text":"TemporaryFile(/tmp/multipartBody7012467528683035775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752043511,"filename":"image_04112025_15_19_09_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/049776edc8c3dbacdafdc551ed97d3c5.jpg","text":"TemporaryFile(/tmp/multipartBody6976890566644534705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752043511,"filename":"image_04112025_15_19_00_3678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416414","file1":"1399416413","file0":"1399416412","file4":"1399416416","file5":"1399416418","file3":"1399416415"},"map_files_photo_id_array":[{"photo_id":"1399416418","filename":"file5"},{"photo_id":"1399416414","filename":"file2"},{"photo_id":"1399416416","filename":"file4"},{"photo_id":"1399416413","filename":"file1"},{"photo_id":"1399416412","filename":"file0"},{"photo_id":"1399416415","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416412":["hashtag1","hashtag2"]},{"1399416415":["hashtag1","hashtag2"]},{"1399416418":["hashtag1","hashtag2"]},{"1399416414":["hashtag1","hashtag2"]},{"1399416416":["hashtag1","hashtag2"]},{"1399416413":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416412, 1399416415, 1399416418, 1399416414, 1399416416, 1399416413)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.56857180595398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 23:40:32.604948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:40:42.613074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_15_3714.jpg', '/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_18_2646.jpg', '/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_20_2667.jpg', '/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_23_2754.jpg', '/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_27_3795.jpg', '/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_30_2987.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_15_3714.jpg
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_18_2646.jpg
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_20_2667.jpg
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_23_2754.jpg
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_27_3795.jpg
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_30_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":["1399416424","1399416423","1399416426","1399416420","1399416422","1399416425"],"photo_ids_order":["1399416420","1399416422","1399416423","1399416424","1399416425","1399416426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c2faf18583e34d5a3ce2caf79f5ace3f.jpg","text":"TemporaryFile(/tmp/multipartBody618797041872510374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752103349,"filename":"image_04112025_15_19_23_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c31795259246de6223745bd632a30425.jpg","text":"TemporaryFile(/tmp/multipartBody9027368433043996707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752103349,"filename":"image_04112025_15_19_20_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/daab237e0e85715cfe70f774f542a91e.jpg","text":"TemporaryFile(/tmp/multipartBody3829311117079417125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752103349,"filename":"image_04112025_15_19_30_2987.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c7b5fda506d84db784eb58d7abeff81e.jpg","text":"TemporaryFile(/tmp/multipartBody4752206424672418701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752103349,"filename":"image_04112025_15_19_15_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7ed4938ca872019dfc3979b522a4c686.jpg","text":"TemporaryFile(/tmp/multipartBody7381238730898077583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752103349,"filename":"image_04112025_15_19_18_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/249c00646d22beefb3dff99a0cd75079.jpg","text":"TemporaryFile(/tmp/multipartBody5935285244757056207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752103349,"filename":"image_04112025_15_19_27_3795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416423","file1":"1399416422","file0":"1399416420","file4":"1399416425","file5":"1399416426","file3":"1399416424"},"map_files_photo_id_array":[{"photo_id":"1399416426","filename":"file5"},{"photo_id":"1399416423","filename":"file2"},{"photo_id":"1399416425","filename":"file4"},{"photo_id":"1399416422","filename":"file1"},{"photo_id":"1399416420","filename":"file0"},{"photo_id":"1399416424","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416424":["hashtag1","hashtag2"]},{"1399416423":["hashtag1","hashtag2"]},{"1399416426":["hashtag1","hashtag2"]},{"1399416420":["hashtag1","hashtag2"]},{"1399416422":["hashtag1","hashtag2"]},{"1399416425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416424, 1399416423, 1399416426, 1399416420, 1399416422, 1399416425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.590354919433594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:41:22.819867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/10/image_14122025_23_10_24_9841.jpg', '/home/pi/Desktop/images/14122025/23/10/image_14122025_23_10_34_9779.jpg', '/home/pi/Desktop/images/14122025/23/10/image_14122025_23_10_54_9715.jpg', '/home/pi/Desktop/images/14122025/23/10/image_14122025_23_11_04_10562.jpg', '/home/pi/Desktop/images/14122025/23/11/image_14122025_23_11_14_9861.jpg', '/home/pi/Desktop/images/14122025/23/11/image_14122025_23_11_24_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/10/image_14122025_23_10_24_9841.jpg
/home/pi/Desktop/images/14122025/23/10/image_14122025_23_10_34_9779.jpg
/home/pi/Desktop/images/14122025/23/10/image_14122025_23_10_54_9715.jpg
/home/pi/Desktop/images/14122025/23/10/image_14122025_23_11_04_10562.jpg
/home/pi/Desktop/images/14122025/23/11/image_14122025_23_11_14_9861.jpg
/home/pi/Desktop/images/14122025/23/11/image_14122025_23_11_24_9768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416430","1399416433","1399416427","1399416429","1399416431","1399416428"],"photo_ids_order":["1399416427","1399416428","1399416429","1399416430","1399416431","1399416433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e9eeadf6d1d187dd7f750ae9b4bfbd70.jpg","text":"TemporaryFile(/tmp/multipartBody2354025419953664515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752143426,"filename":"image_14122025_23_11_04_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8d3922b8ae743ca4077aed668b9d20bb.jpg","text":"TemporaryFile(/tmp/multipartBody2667189709433864696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752143426,"filename":"image_14122025_23_11_24_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/418628fd4dd1438f9b2840f7906735fc.jpg","text":"TemporaryFile(/tmp/multipartBody3963178890765294035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752143426,"filename":"image_14122025_23_10_24_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b95ab2bea85d1e2b693bf15bec0cd28.jpg","text":"TemporaryFile(/tmp/multipartBody787178962386633746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752143426,"filename":"image_14122025_23_10_54_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8de21a58cb906ef2825e90b25b9ce498.jpg","text":"TemporaryFile(/tmp/multipartBody6737143350033055045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752143426,"filename":"image_14122025_23_11_14_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7547c8659b0540bc6e354d9beb898dc7.jpg","text":"TemporaryFile(/tmp/multipartBody830537582779097257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752143426,"filename":"image_14122025_23_10_34_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416429","file1":"1399416428","file0":"1399416427","file4":"1399416431","file5":"1399416433","file3":"1399416430"},"map_files_photo_id_array":[{"photo_id":"1399416433","filename":"file5"},{"photo_id":"1399416429","filename":"file2"},{"photo_id":"1399416431","filename":"file4"},{"photo_id":"1399416428","filename":"file1"},{"photo_id":"1399416427","filename":"file0"},{"photo_id":"1399416430","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416430":["hashtag1","hashtag2"]},{"1399416433":["hashtag1","hashtag2"]},{"1399416427":["hashtag1","hashtag2"]},{"1399416429":["hashtag1","hashtag2"]},{"1399416431":["hashtag1","hashtag2"]},{"1399416428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416430, 1399416433, 1399416427, 1399416429, 1399416431, 1399416428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6228244304657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:42:02.481235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/11/image_14122025_23_12_04_9675.jpg', '/home/pi/Desktop/images/14122025/23/12/image_14122025_23_12_25_10831.jpg', '/home/pi/Desktop/images/14122025/23/12/image_14122025_23_12_34_9631.jpg', '/home/pi/Desktop/images/14122025/23/12/image_14122025_23_12_44_9745.jpg', '/home/pi/Desktop/images/14122025/23/12/image_14122025_23_13_05_10690.jpg', '/home/pi/Desktop/images/14122025/23/13/image_14122025_23_13_14_9865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/11/image_14122025_23_12_04_9675.jpg
/home/pi/Desktop/images/14122025/23/12/image_14122025_23_12_25_10831.jpg
/home/pi/Desktop/images/14122025/23/12/image_14122025_23_12_34_9631.jpg
/home/pi/Desktop/images/14122025/23/12/image_14122025_23_12_44_9745.jpg
/home/pi/Desktop/images/14122025/23/12/image_14122025_23_13_05_10690.jpg
/home/pi/Desktop/images/14122025/23/13/image_14122025_23_13_14_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":["1399416439","1399416436","1399416435","1399416438","1399416434","1399416437"],"photo_ids_order":["1399416434","1399416435","1399416436","1399416437","1399416438","1399416439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8e78b603055aa209343885aaf378855e.jpg","text":"TemporaryFile(/tmp/multipartBody941460647067354970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752183095,"filename":"image_14122025_23_13_14_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3df09915ea178bee1fc95e841ce24e9c.jpg","text":"TemporaryFile(/tmp/multipartBody5987621443858603451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752183095,"filename":"image_14122025_23_12_34_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/037052d67c88cd77ac50405b17bc6b6f.jpg","text":"TemporaryFile(/tmp/multipartBody1149575351884494514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752183095,"filename":"image_14122025_23_12_25_10831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/beb1785c6bcfdeee52af28590174d91b.jpg","text":"TemporaryFile(/tmp/multipartBody3152202971640564475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752183095,"filename":"image_14122025_23_13_05_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8437b47f0c3a9c490f3df36053b3b050.jpg","text":"TemporaryFile(/tmp/multipartBody3965974096227039763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752183095,"filename":"image_14122025_23_12_04_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b510a76cdddc1e59b09146123ec7204e.jpg","text":"TemporaryFile(/tmp/multipartBody7689791279035098583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752183095,"filename":"image_14122025_23_12_44_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416436","file1":"1399416435","file0":"1399416434","file4":"1399416438","file5":"1399416439","file3":"1399416437"},"map_files_photo_id_array":[{"photo_id":"1399416439","filename":"file5"},{"photo_id":"1399416436","filename":"file2"},{"photo_id":"1399416438","filename":"file4"},{"photo_id":"1399416435","filename":"file1"},{"photo_id":"1399416434","filename":"file0"},{"photo_id":"1399416437","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416439":["hashtag1","hashtag2"]},{"1399416436":["hashtag1","hashtag2"]},{"1399416435":["hashtag1","hashtag2"]},{"1399416438":["hashtag1","hashtag2"]},{"1399416434":["hashtag1","hashtag2"]},{"1399416437":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416439, 1399416436, 1399416435, 1399416438, 1399416434, 1399416437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01463460922241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:42:42.028781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_32_2685.jpg', '/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_35_2772.jpg', '/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_38_2765.jpg', '/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_42_3613.jpg', '/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_45_3444.jpg', '/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_48_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_32_2685.jpg
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_35_2772.jpg
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_38_2765.jpg
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_42_3613.jpg
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_45_3444.jpg
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_48_2662.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5999758243560791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:43:02.942807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/13/image_14122025_23_13_24_9891.jpg', '/home/pi/Desktop/images/14122025/23/13/image_14122025_23_13_34_9745.jpg', '/home/pi/Desktop/images/14122025/23/13/image_14122025_23_13_44_9694.jpg', '/home/pi/Desktop/images/14122025/23/13/image_14122025_23_13_55_10786.jpg', '/home/pi/Desktop/images/14122025/23/13/image_14122025_23_14_04_9695.jpg', '/home/pi/Desktop/images/14122025/23/14/image_14122025_23_14_14_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/13/image_14122025_23_13_24_9891.jpg
/home/pi/Desktop/images/14122025/23/13/image_14122025_23_13_34_9745.jpg
/home/pi/Desktop/images/14122025/23/13/image_14122025_23_13_44_9694.jpg
/home/pi/Desktop/images/14122025/23/13/image_14122025_23_13_55_10786.jpg
/home/pi/Desktop/images/14122025/23/13/image_14122025_23_14_04_9695.jpg
/home/pi/Desktop/images/14122025/23/14/image_14122025_23_14_14_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416451","1399416448","1399416450","1399416447","1399416452","1399416449"],"photo_ids_order":["1399416447","1399416448","1399416449","1399416450","1399416451","1399416452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b131c79654cbebd73bcaa41d22cd1e6c.jpg","text":"TemporaryFile(/tmp/multipartBody1897425191924233876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752243662,"filename":"image_14122025_23_14_04_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e919d29965d16b562ee5b40f5fec1cd7.jpg","text":"TemporaryFile(/tmp/multipartBody3083715439393390929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752243662,"filename":"image_14122025_23_13_34_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3dd8581f79c4a64683042b8cfcaa79c3.jpg","text":"TemporaryFile(/tmp/multipartBody9213054704577534208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752243662,"filename":"image_14122025_23_13_55_10786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/15c4ad426eb02ee394139acab3b671e9.jpg","text":"TemporaryFile(/tmp/multipartBody5442084452136113310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752243662,"filename":"image_14122025_23_13_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/12/14/08bdf4f9ae63cbe763558d7272e57bb4.jpg","text":"TemporaryFile(/tmp/multipartBody1757394539419676954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752243662,"filename":"image_14122025_23_14_14_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/504ffa509ec668aee5abd0786bbea632.jpg","text":"TemporaryFile(/tmp/multipartBody2777565920408120400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752243662,"filename":"image_14122025_23_13_44_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416449","file1":"1399416448","file0":"1399416447","file4":"1399416451","file5":"1399416452","file3":"1399416450"},"map_files_photo_id_array":[{"photo_id":"1399416452","filename":"file5"},{"photo_id":"1399416449","filename":"file2"},{"photo_id":"1399416451","filename":"file4"},{"photo_id":"1399416448","filename":"file1"},{"photo_id":"1399416447","filename":"file0"},{"photo_id":"1399416450","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416451":["hashtag1","hashtag2"]},{"1399416448":["hashtag1","hashtag2"]},{"1399416450":["hashtag1","hashtag2"]},{"1399416447":["hashtag1","hashtag2"]},{"1399416452":["hashtag1","hashtag2"]},{"1399416449":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416451, 1399416448, 1399416450, 1399416447, 1399416452, 1399416449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92155838012695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:43:42.245507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_32_2685.jpg', '/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_35_2772.jpg', '/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_38_2765.jpg', '/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_42_3613.jpg', '/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_45_3444.jpg', '/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_48_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_32_2685.jpg
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_35_2772.jpg
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_38_2765.jpg
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_42_3613.jpg
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_45_3444.jpg
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_48_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":["1399416457","1399416454","1399416453","1399416456","1399416459","1399416455"],"photo_ids_order":["1399416453","1399416454","1399416455","1399416456","1399416457","1399416459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ad992b9ee2c9bc0baabf73345ad96e80.jpg","text":"TemporaryFile(/tmp/multipartBody7527767055861681650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752282833,"filename":"image_04112025_15_19_45_3444.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d4f25b2b3a03fcf6496c95d5f5a1cf72.jpg","text":"TemporaryFile(/tmp/multipartBody6200809633112143604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752282833,"filename":"image_04112025_15_19_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/12/14/dcbcc5f3f981afa2e494ec7928d24f38.jpg","text":"TemporaryFile(/tmp/multipartBody8350956746799945523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752282833,"filename":"image_04112025_15_19_32_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/99e35814be57e45474709e7980b10c89.jpg","text":"TemporaryFile(/tmp/multipartBody5923898552713698745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752282833,"filename":"image_04112025_15_19_42_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/55b8abc0a1cf1c5ab47e38fc8d493dab.jpg","text":"TemporaryFile(/tmp/multipartBody1183098526880176794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752282833,"filename":"image_04112025_15_19_48_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6c5c6ae6c95b6bd22ffc8f67ad21fea9.jpg","text":"TemporaryFile(/tmp/multipartBody8686215691390433859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752282833,"filename":"image_04112025_15_19_38_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416455","file1":"1399416454","file0":"1399416453","file4":"1399416457","file5":"1399416459","file3":"1399416456"},"map_files_photo_id_array":[{"photo_id":"1399416459","filename":"file5"},{"photo_id":"1399416455","filename":"file2"},{"photo_id":"1399416457","filename":"file4"},{"photo_id":"1399416454","filename":"file1"},{"photo_id":"1399416453","filename":"file0"},{"photo_id":"1399416456","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416457":["hashtag1","hashtag2"]},{"1399416454":["hashtag1","hashtag2"]},{"1399416453":["hashtag1","hashtag2"]},{"1399416456":["hashtag1","hashtag2"]},{"1399416459":["hashtag1","hashtag2"]},{"1399416455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416457, 1399416454, 1399416453, 1399416456, 1399416459, 1399416455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28149175643921 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:44:22.532625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/14/image_14122025_23_14_24_9731.jpg', '/home/pi/Desktop/images/14122025/23/14/image_14122025_23_14_35_10920.jpg', '/home/pi/Desktop/images/14122025/23/14/image_14122025_23_14_44_9653.jpg', '/home/pi/Desktop/images/14122025/23/14/image_14122025_23_14_54_9618.jpg', '/home/pi/Desktop/images/14122025/23/14/image_14122025_23_15_04_9842.jpg', '/home/pi/Desktop/images/14122025/23/15/image_14122025_23_15_34_9825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/14/image_14122025_23_14_24_9731.jpg
/home/pi/Desktop/images/14122025/23/14/image_14122025_23_14_35_10920.jpg
/home/pi/Desktop/images/14122025/23/14/image_14122025_23_14_44_9653.jpg
/home/pi/Desktop/images/14122025/23/14/image_14122025_23_14_54_9618.jpg
/home/pi/Desktop/images/14122025/23/14/image_14122025_23_15_04_9842.jpg
/home/pi/Desktop/images/14122025/23/15/image_14122025_23_15_34_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":["1399416463","1399416462","1399416465","1399416464","1399416467","1399416461"],"photo_ids_order":["1399416461","1399416462","1399416463","1399416464","1399416465","1399416467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/49cddd18ae2392f77958c4cb8606fadf.jpg","text":"TemporaryFile(/tmp/multipartBody2687048618312924965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752323144,"filename":"image_14122025_23_14_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4ef3b5af8d7512906a6bcc2c3eb0b00d.jpg","text":"TemporaryFile(/tmp/multipartBody1947071378286883314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752323144,"filename":"image_14122025_23_14_35_10920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fc414a00980f1b82a0187073284af831.jpg","text":"TemporaryFile(/tmp/multipartBody1155257386708048916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752323144,"filename":"image_14122025_23_15_04_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0736b15988345032ecbb092bccf3563f.jpg","text":"TemporaryFile(/tmp/multipartBody4579776531805602483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752323144,"filename":"image_14122025_23_14_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c6db381777770e4f29ce5ac2a8f9b508.jpg","text":"TemporaryFile(/tmp/multipartBody7641562094763077700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752323144,"filename":"image_14122025_23_15_34_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28fd0d37bd6ea5e59aed3f439ca8dcca.jpg","text":"TemporaryFile(/tmp/multipartBody4751988252696245356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752323144,"filename":"image_14122025_23_14_24_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416463","file1":"1399416462","file0":"1399416461","file4":"1399416465","file5":"1399416467","file3":"1399416464"},"map_files_photo_id_array":[{"photo_id":"1399416467","filename":"file5"},{"photo_id":"1399416463","filename":"file2"},{"photo_id":"1399416465","filename":"file4"},{"photo_id":"1399416462","filename":"file1"},{"photo_id":"1399416461","filename":"file0"},{"photo_id":"1399416464","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416463":["hashtag1","hashtag2"]},{"1399416462":["hashtag1","hashtag2"]},{"1399416465":["hashtag1","hashtag2"]},{"1399416464":["hashtag1","hashtag2"]},{"1399416467":["hashtag1","hashtag2"]},{"1399416461":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416463, 1399416462, 1399416465, 1399416464, 1399416467, 1399416461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60298752784729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:45:03.288610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/15/image_14122025_23_15_54_9633.jpg', '/home/pi/Desktop/images/14122025/23/16/image_14122025_23_16_14_9634.jpg', '/home/pi/Desktop/images/14122025/23/16/image_14122025_23_16_24_9679.jpg', '/home/pi/Desktop/images/14122025/23/16/image_14122025_23_16_35_10667.jpg', '/home/pi/Desktop/images/14122025/23/16/image_14122025_23_16_44_9648.jpg', '/home/pi/Desktop/images/14122025/23/16/image_14122025_23_16_54_9853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/15/image_14122025_23_15_54_9633.jpg
/home/pi/Desktop/images/14122025/23/16/image_14122025_23_16_14_9634.jpg
/home/pi/Desktop/images/14122025/23/16/image_14122025_23_16_24_9679.jpg
/home/pi/Desktop/images/14122025/23/16/image_14122025_23_16_35_10667.jpg
/home/pi/Desktop/images/14122025/23/16/image_14122025_23_16_44_9648.jpg
/home/pi/Desktop/images/14122025/23/16/image_14122025_23_16_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":["1399416472","1399416471","1399416474","1399416470","1399416473","1399416469"],"photo_ids_order":["1399416469","1399416470","1399416471","1399416472","1399416473","1399416474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5d85c5bcd3e8839f76752bcd535d0443.jpg","text":"TemporaryFile(/tmp/multipartBody8136541361641747827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752363971,"filename":"image_14122025_23_16_35_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d55ecdd97fd9f5b79e0c67053266ba9b.jpg","text":"TemporaryFile(/tmp/multipartBody3082457918263978958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752363971,"filename":"image_14122025_23_16_24_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/54ff899f29f7cc010f0e1147db866534.jpg","text":"TemporaryFile(/tmp/multipartBody5170031372813787544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752363971,"filename":"image_14122025_23_16_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/12/14/7a5f6179293476cd890ef2b072b26762.jpg","text":"TemporaryFile(/tmp/multipartBody5961723581484198639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752363971,"filename":"image_14122025_23_16_14_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef35e372581d71b7f5551e0e0354ad94.jpg","text":"TemporaryFile(/tmp/multipartBody4311962681640147794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752363971,"filename":"image_14122025_23_16_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/351976674b854ec0d05916c39fdf30a4.jpg","text":"TemporaryFile(/tmp/multipartBody5004963952557991245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752363971,"filename":"image_14122025_23_15_54_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416471","file1":"1399416470","file0":"1399416469","file4":"1399416473","file5":"1399416474","file3":"1399416472"},"map_files_photo_id_array":[{"photo_id":"1399416474","filename":"file5"},{"photo_id":"1399416471","filename":"file2"},{"photo_id":"1399416473","filename":"file4"},{"photo_id":"1399416470","filename":"file1"},{"photo_id":"1399416469","filename":"file0"},{"photo_id":"1399416472","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416472":["hashtag1","hashtag2"]},{"1399416471":["hashtag1","hashtag2"]},{"1399416474":["hashtag1","hashtag2"]},{"1399416470":["hashtag1","hashtag2"]},{"1399416473":["hashtag1","hashtag2"]},{"1399416469":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416472, 1399416471, 1399416474, 1399416470, 1399416473, 1399416469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61952209472656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:45:42.699500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_51_2787.jpg', '/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_53_2917.jpg', '/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_56_2643.jpg', '/home/pi/Desktop/images/04112025/15/19/image_04112025_15_20_00_3705.jpg', '/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_02_2669.jpg', '/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_05_2842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_51_2787.jpg
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_53_2917.jpg
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_19_56_2643.jpg
/home/pi/Desktop/images/04112025/15/19/image_04112025_15_20_00_3705.jpg
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_02_2669.jpg
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_05_2842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416478","1399416480","1399416477","1399416476","1399416479","1399416481"],"photo_ids_order":["1399416476","1399416477","1399416478","1399416479","1399416480","1399416481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/76538b7feadf8846048e2e98ec1b16f4.jpg","text":"TemporaryFile(/tmp/multipartBody3405443388816073762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752403407,"filename":"image_04112025_15_19_56_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d2fd028ffffda99739fde13d5cdb889d.jpg","text":"TemporaryFile(/tmp/multipartBody5835966339953793304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752403407,"filename":"image_04112025_15_20_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/12/14/6c9f6954bc6924af2472038d7b939908.jpg","text":"TemporaryFile(/tmp/multipartBody7424145339088700028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752403407,"filename":"image_04112025_15_19_53_2917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4a480fc3bd96c92661bfdd88fa5c7646.jpg","text":"TemporaryFile(/tmp/multipartBody5893228511160945403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752403407,"filename":"image_04112025_15_19_51_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/95b40789924b2a60bd850ff844b89e0e.jpg","text":"TemporaryFile(/tmp/multipartBody3994339301468911954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752403407,"filename":"image_04112025_15_20_00_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/18f0328a682fbcbcd675c0cc25bc82ad.jpg","text":"TemporaryFile(/tmp/multipartBody8999926590302708008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752403407,"filename":"image_04112025_15_20_05_2842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416478","file1":"1399416477","file0":"1399416476","file4":"1399416480","file5":"1399416481","file3":"1399416479"},"map_files_photo_id_array":[{"photo_id":"1399416481","filename":"file5"},{"photo_id":"1399416478","filename":"file2"},{"photo_id":"1399416480","filename":"file4"},{"photo_id":"1399416477","filename":"file1"},{"photo_id":"1399416476","filename":"file0"},{"photo_id":"1399416479","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416478":["hashtag1","hashtag2"]},{"1399416480":["hashtag1","hashtag2"]},{"1399416477":["hashtag1","hashtag2"]},{"1399416476":["hashtag1","hashtag2"]},{"1399416479":["hashtag1","hashtag2"]},{"1399416481":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416478, 1399416480, 1399416477, 1399416476, 1399416479, 1399416481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82910752296448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:46:22.032694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/16/image_14122025_23_17_04_9803.jpg', '/home/pi/Desktop/images/14122025/23/17/image_14122025_23_17_15_10737.jpg', '/home/pi/Desktop/images/14122025/23/17/image_14122025_23_17_34_9592.jpg', '/home/pi/Desktop/images/14122025/23/17/image_14122025_23_17_44_9697.jpg', '/home/pi/Desktop/images/14122025/23/17/image_14122025_23_17_54_10532.jpg', '/home/pi/Desktop/images/14122025/23/18/image_14122025_23_18_14_10033.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/16/image_14122025_23_17_04_9803.jpg
/home/pi/Desktop/images/14122025/23/17/image_14122025_23_17_15_10737.jpg
/home/pi/Desktop/images/14122025/23/17/image_14122025_23_17_34_9592.jpg
/home/pi/Desktop/images/14122025/23/17/image_14122025_23_17_44_9697.jpg
/home/pi/Desktop/images/14122025/23/17/image_14122025_23_17_54_10532.jpg
/home/pi/Desktop/images/14122025/23/18/image_14122025_23_18_14_10033.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416484","1399416486","1399416483","1399416482","1399416485","1399416487"],"photo_ids_order":["1399416482","1399416483","1399416484","1399416485","1399416486","1399416487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9d2ae62364e13e8a4c4af7485a680989.jpg","text":"TemporaryFile(/tmp/multipartBody4932215514999198111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752442695,"filename":"image_14122025_23_17_34_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8ac8f2b7b6d288ebb90fe4ec7f001b9b.jpg","text":"TemporaryFile(/tmp/multipartBody8993960178438367968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752442695,"filename":"image_14122025_23_17_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/12/14/a2af1d0f1f988e1adfd444b92c4a7281.jpg","text":"TemporaryFile(/tmp/multipartBody7486749903552778388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752442695,"filename":"image_14122025_23_17_15_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0e8664306ccb0a394ff9b3e1444a198e.jpg","text":"TemporaryFile(/tmp/multipartBody6670664714614447883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752442695,"filename":"image_14122025_23_17_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/12/14/1204e500473c91951350f90f0fee94ff.jpg","text":"TemporaryFile(/tmp/multipartBody2465883891773648102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752442695,"filename":"image_14122025_23_17_44_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/14220cc640a2e893eeb48b17c2ca0ce3.jpg","text":"TemporaryFile(/tmp/multipartBody7616193577543454137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752442695,"filename":"image_14122025_23_18_14_10033.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416484","file1":"1399416483","file0":"1399416482","file4":"1399416486","file5":"1399416487","file3":"1399416485"},"map_files_photo_id_array":[{"photo_id":"1399416487","filename":"file5"},{"photo_id":"1399416484","filename":"file2"},{"photo_id":"1399416486","filename":"file4"},{"photo_id":"1399416483","filename":"file1"},{"photo_id":"1399416482","filename":"file0"},{"photo_id":"1399416485","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416484":["hashtag1","hashtag2"]},{"1399416486":["hashtag1","hashtag2"]},{"1399416483":["hashtag1","hashtag2"]},{"1399416482":["hashtag1","hashtag2"]},{"1399416485":["hashtag1","hashtag2"]},{"1399416487":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416484, 1399416486, 1399416483, 1399416482, 1399416485, 1399416487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12190389633179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:47:02.751662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/18/image_14122025_23_18_44_9779.jpg', '/home/pi/Desktop/images/14122025/23/18/image_14122025_23_18_54_9632.jpg', '/home/pi/Desktop/images/14122025/23/18/image_14122025_23_19_04_9656.jpg', '/home/pi/Desktop/images/14122025/23/19/image_14122025_23_19_24_9813.jpg', '/home/pi/Desktop/images/14122025/23/19/image_14122025_23_19_34_9736.jpg', '/home/pi/Desktop/images/14122025/23/19/image_14122025_23_19_44_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/18/image_14122025_23_18_44_9779.jpg
/home/pi/Desktop/images/14122025/23/18/image_14122025_23_18_54_9632.jpg
/home/pi/Desktop/images/14122025/23/18/image_14122025_23_19_04_9656.jpg
/home/pi/Desktop/images/14122025/23/19/image_14122025_23_19_24_9813.jpg
/home/pi/Desktop/images/14122025/23/19/image_14122025_23_19_34_9736.jpg
/home/pi/Desktop/images/14122025/23/19/image_14122025_23_19_44_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416495","1399416489","1399416494","1399416491","1399416493","1399416496"],"photo_ids_order":["1399416489","1399416491","1399416493","1399416494","1399416495","1399416496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d6556615c1f11a6a32812a3ea9fa592.jpg","text":"TemporaryFile(/tmp/multipartBody925622381884043342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752483401,"filename":"image_14122025_23_19_34_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a5188ee984629916bb166ec84466d5a7.jpg","text":"TemporaryFile(/tmp/multipartBody1627402632176177773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752483401,"filename":"image_14122025_23_18_44_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ad5127b522fb105731045bdddcbfe00.jpg","text":"TemporaryFile(/tmp/multipartBody1742668937158874345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752483401,"filename":"image_14122025_23_19_24_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3b985ab74313e879fef0d386fef1561c.jpg","text":"TemporaryFile(/tmp/multipartBody5902179298421284651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752483401,"filename":"image_14122025_23_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/12/14/28c9b98b821b66c1e9b2f16097296ea6.jpg","text":"TemporaryFile(/tmp/multipartBody9052356996085808771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752483401,"filename":"image_14122025_23_19_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b3231f012bc3ec161db4c4537c720346.jpg","text":"TemporaryFile(/tmp/multipartBody1066127158107448066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752483401,"filename":"image_14122025_23_19_44_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416493","file1":"1399416491","file0":"1399416489","file4":"1399416495","file5":"1399416496","file3":"1399416494"},"map_files_photo_id_array":[{"photo_id":"1399416496","filename":"file5"},{"photo_id":"1399416493","filename":"file2"},{"photo_id":"1399416495","filename":"file4"},{"photo_id":"1399416491","filename":"file1"},{"photo_id":"1399416489","filename":"file0"},{"photo_id":"1399416494","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416495":["hashtag1","hashtag2"]},{"1399416489":["hashtag1","hashtag2"]},{"1399416494":["hashtag1","hashtag2"]},{"1399416491":["hashtag1","hashtag2"]},{"1399416493":["hashtag1","hashtag2"]},{"1399416496":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416495, 1399416489, 1399416494, 1399416491, 1399416493, 1399416496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23896074295044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:47:42.089661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_08_2714.jpg', '/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_12_3576.jpg', '/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_14_2837.jpg', '/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_17_2552.jpg', '/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_21_3654.jpg', '/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_23_2514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_08_2714.jpg
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_12_3576.jpg
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_14_2837.jpg
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_17_2552.jpg
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_21_3654.jpg
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_23_2514.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416499","1399416502","1399416497","1399416501","1399416500","1399416503"],"photo_ids_order":["1399416497","1399416499","1399416500","1399416501","1399416502","1399416503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ef49119ccced335c64ad27ce23cd5a22.jpg","text":"TemporaryFile(/tmp/multipartBody760451759248506403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752522795,"filename":"image_04112025_15_20_12_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/56b67f661407d12c4adeeddd0f00d993.jpg","text":"TemporaryFile(/tmp/multipartBody7950217299491646597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752522795,"filename":"image_04112025_15_20_21_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fd7a7c9e446b7edb5df1ceaccd64a713.jpg","text":"TemporaryFile(/tmp/multipartBody7589309412524899311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752522795,"filename":"image_04112025_15_20_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/12/14/0e2c9f015a0452d8d1f16a6781c312fb.jpg","text":"TemporaryFile(/tmp/multipartBody478104087701993156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752522795,"filename":"image_04112025_15_20_17_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/8d4fe730b6f0043558cf2c4da3f8b376.jpg","text":"TemporaryFile(/tmp/multipartBody6437165440354053950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752522795,"filename":"image_04112025_15_20_14_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1a2d09cf5e44abc93243d8b1c15e5a89.jpg","text":"TemporaryFile(/tmp/multipartBody6233403903050174648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752522795,"filename":"image_04112025_15_20_23_2514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416500","file1":"1399416499","file0":"1399416497","file4":"1399416502","file5":"1399416503","file3":"1399416501"},"map_files_photo_id_array":[{"photo_id":"1399416503","filename":"file5"},{"photo_id":"1399416500","filename":"file2"},{"photo_id":"1399416502","filename":"file4"},{"photo_id":"1399416499","filename":"file1"},{"photo_id":"1399416497","filename":"file0"},{"photo_id":"1399416501","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416499":["hashtag1","hashtag2"]},{"1399416502":["hashtag1","hashtag2"]},{"1399416497":["hashtag1","hashtag2"]},{"1399416501":["hashtag1","hashtag2"]},{"1399416500":["hashtag1","hashtag2"]},{"1399416503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416499, 1399416502, 1399416497, 1399416501, 1399416500, 1399416503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01650309562683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:48:22.341385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/19/image_14122025_23_19_55_10784.jpg', '/home/pi/Desktop/images/14122025/23/19/image_14122025_23_20_04_9665.jpg', '/home/pi/Desktop/images/14122025/23/20/image_14122025_23_20_14_9835.jpg', '/home/pi/Desktop/images/14122025/23/20/image_14122025_23_20_24_9668.jpg', '/home/pi/Desktop/images/14122025/23/20/image_14122025_23_20_34_10680.jpg', '/home/pi/Desktop/images/14122025/23/20/image_14122025_23_20_54_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/19/image_14122025_23_19_55_10784.jpg
/home/pi/Desktop/images/14122025/23/19/image_14122025_23_20_04_9665.jpg
/home/pi/Desktop/images/14122025/23/20/image_14122025_23_20_14_9835.jpg
/home/pi/Desktop/images/14122025/23/20/image_14122025_23_20_24_9668.jpg
/home/pi/Desktop/images/14122025/23/20/image_14122025_23_20_34_10680.jpg
/home/pi/Desktop/images/14122025/23/20/image_14122025_23_20_54_9771.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5083820819854736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 23:48:32.353323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:48:42.330403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_27_3592.jpg', '/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_29_2595.jpg', '/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_32_2703.jpg', '/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_36_3681.jpg', '/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_38_2551.jpg', '/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_41_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_27_3592.jpg
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_29_2595.jpg
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_32_2703.jpg
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_36_3681.jpg
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_38_2551.jpg
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_41_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":["1399416514","1399416516","1399416510","1399416513","1399416512","1399416515"],"photo_ids_order":["1399416510","1399416512","1399416513","1399416514","1399416515","1399416516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/28fe877b22f33111586e16965fdcadaa.jpg","text":"TemporaryFile(/tmp/multipartBody2093516330381387318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752583035,"filename":"image_04112025_15_20_36_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c6ef5c56a5516a2d9fc166074f41618d.jpg","text":"TemporaryFile(/tmp/multipartBody1243869029141732289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752583035,"filename":"image_04112025_15_20_41_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/2d9dd3b72ec2bcec0429eedf63db8c97.jpg","text":"TemporaryFile(/tmp/multipartBody4938373617924666112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752583035,"filename":"image_04112025_15_20_27_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4508a3b60b559a0aa537dbc86cc6d947.jpg","text":"TemporaryFile(/tmp/multipartBody2100871964198441102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752583035,"filename":"image_04112025_15_20_32_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/551eb4d050b1833b7fc7e69b59fcad5c.jpg","text":"TemporaryFile(/tmp/multipartBody6946194953147663364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752583035,"filename":"image_04112025_15_20_29_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae1e5fc6d65f58b88df2696673a1339d.jpg","text":"TemporaryFile(/tmp/multipartBody7260924736123547362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752583035,"filename":"image_04112025_15_20_38_2551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416513","file1":"1399416512","file0":"1399416510","file4":"1399416515","file5":"1399416516","file3":"1399416514"},"map_files_photo_id_array":[{"photo_id":"1399416516","filename":"file5"},{"photo_id":"1399416513","filename":"file2"},{"photo_id":"1399416515","filename":"file4"},{"photo_id":"1399416512","filename":"file1"},{"photo_id":"1399416510","filename":"file0"},{"photo_id":"1399416514","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416514":["hashtag1","hashtag2"]},{"1399416516":["hashtag1","hashtag2"]},{"1399416510":["hashtag1","hashtag2"]},{"1399416513":["hashtag1","hashtag2"]},{"1399416512":["hashtag1","hashtag2"]},{"1399416515":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416514, 1399416516, 1399416510, 1399416513, 1399416512, 1399416515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51660704612732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:49:22.614574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/19/image_14122025_23_19_55_10784.jpg', '/home/pi/Desktop/images/14122025/23/19/image_14122025_23_20_04_9665.jpg', '/home/pi/Desktop/images/14122025/23/20/image_14122025_23_20_14_9835.jpg', '/home/pi/Desktop/images/14122025/23/20/image_14122025_23_20_24_9668.jpg', '/home/pi/Desktop/images/14122025/23/20/image_14122025_23_20_34_10680.jpg', '/home/pi/Desktop/images/14122025/23/20/image_14122025_23_20_54_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/19/image_14122025_23_19_55_10784.jpg
/home/pi/Desktop/images/14122025/23/19/image_14122025_23_20_04_9665.jpg
/home/pi/Desktop/images/14122025/23/20/image_14122025_23_20_14_9835.jpg
/home/pi/Desktop/images/14122025/23/20/image_14122025_23_20_24_9668.jpg
/home/pi/Desktop/images/14122025/23/20/image_14122025_23_20_34_10680.jpg
/home/pi/Desktop/images/14122025/23/20/image_14122025_23_20_54_9771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416520","1399416517","1399416522","1399416519","1399416521","1399416518"],"photo_ids_order":["1399416517","1399416518","1399416519","1399416520","1399416521","1399416522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e2827a87714a2ad12e0e1ff20e77acdd.jpg","text":"TemporaryFile(/tmp/multipartBody1377930000905201412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752623230,"filename":"image_14122025_23_20_24_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5c840adea5962ab26a97c6053c6c01f1.jpg","text":"TemporaryFile(/tmp/multipartBody8485558936289692280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752623230,"filename":"image_14122025_23_19_55_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/4b91efcdba1361c6fbced93be5b29e81.jpg","text":"TemporaryFile(/tmp/multipartBody2694054993780555322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752623230,"filename":"image_14122025_23_20_54_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/83069e3f660f64d9d5eb09578c677461.jpg","text":"TemporaryFile(/tmp/multipartBody4971038186054281120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752623230,"filename":"image_14122025_23_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/12/14/fe61f75b49c0bc0ec4b7b16f6b9be487.jpg","text":"TemporaryFile(/tmp/multipartBody8696225827872477559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752623230,"filename":"image_14122025_23_20_34_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fba0a02f692955908e96c4ba93aa6bda.jpg","text":"TemporaryFile(/tmp/multipartBody4699746571732454792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752623230,"filename":"image_14122025_23_20_04_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416519","file1":"1399416518","file0":"1399416517","file4":"1399416521","file5":"1399416522","file3":"1399416520"},"map_files_photo_id_array":[{"photo_id":"1399416522","filename":"file5"},{"photo_id":"1399416519","filename":"file2"},{"photo_id":"1399416521","filename":"file4"},{"photo_id":"1399416518","filename":"file1"},{"photo_id":"1399416517","filename":"file0"},{"photo_id":"1399416520","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416520":["hashtag1","hashtag2"]},{"1399416517":["hashtag1","hashtag2"]},{"1399416522":["hashtag1","hashtag2"]},{"1399416519":["hashtag1","hashtag2"]},{"1399416521":["hashtag1","hashtag2"]},{"1399416518":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416520, 1399416517, 1399416522, 1399416519, 1399416521, 1399416518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45256447792053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:50:03.228638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/20/image_14122025_23_21_05_10618.jpg', '/home/pi/Desktop/images/14122025/23/21/image_14122025_23_21_14_9695.jpg', '/home/pi/Desktop/images/14122025/23/21/image_14122025_23_21_24_9655.jpg', '/home/pi/Desktop/images/14122025/23/21/image_14122025_23_21_35_10727.jpg', '/home/pi/Desktop/images/14122025/23/21/image_14122025_23_21_44_9737.jpg', '/home/pi/Desktop/images/14122025/23/21/image_14122025_23_21_54_9816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/20/image_14122025_23_21_05_10618.jpg
/home/pi/Desktop/images/14122025/23/21/image_14122025_23_21_14_9695.jpg
/home/pi/Desktop/images/14122025/23/21/image_14122025_23_21_24_9655.jpg
/home/pi/Desktop/images/14122025/23/21/image_14122025_23_21_35_10727.jpg
/home/pi/Desktop/images/14122025/23/21/image_14122025_23_21_44_9737.jpg
/home/pi/Desktop/images/14122025/23/21/image_14122025_23_21_54_9816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416526","1399416529","1399416528","1399416525","1399416527","1399416524"],"photo_ids_order":["1399416524","1399416525","1399416526","1399416527","1399416528","1399416529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5ac37f7c408799798e058d3ce487aa20.jpg","text":"TemporaryFile(/tmp/multipartBody5196130038646414280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752663883,"filename":"image_14122025_23_21_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1c371ee5f8042518b19541aff1120f93.jpg","text":"TemporaryFile(/tmp/multipartBody7244276744153083687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752663883,"filename":"image_14122025_23_21_54_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/750035c438055b13e331cdb202e02ffc.jpg","text":"TemporaryFile(/tmp/multipartBody1008698352009872105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752663883,"filename":"image_14122025_23_21_44_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f606ddbb754e7c68b79d7351f0201ca8.jpg","text":"TemporaryFile(/tmp/multipartBody9129682352731245417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752663883,"filename":"image_14122025_23_21_14_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dae40ff0e47e71869ba9b04712d7d83b.jpg","text":"TemporaryFile(/tmp/multipartBody3953567861794224259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752663883,"filename":"image_14122025_23_21_35_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bb334d6563398507b054a45f28db551f.jpg","text":"TemporaryFile(/tmp/multipartBody7331897798354518762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752663883,"filename":"image_14122025_23_21_05_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416526","file1":"1399416525","file0":"1399416524","file4":"1399416528","file5":"1399416529","file3":"1399416527"},"map_files_photo_id_array":[{"photo_id":"1399416529","filename":"file5"},{"photo_id":"1399416526","filename":"file2"},{"photo_id":"1399416528","filename":"file4"},{"photo_id":"1399416525","filename":"file1"},{"photo_id":"1399416524","filename":"file0"},{"photo_id":"1399416527","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416526":["hashtag1","hashtag2"]},{"1399416529":["hashtag1","hashtag2"]},{"1399416528":["hashtag1","hashtag2"]},{"1399416525":["hashtag1","hashtag2"]},{"1399416527":["hashtag1","hashtag2"]},{"1399416524":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416526, 1399416529, 1399416528, 1399416525, 1399416527, 1399416524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.184566497802734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:50:42.810650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_45_3562.jpg', '/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_47_2631.jpg', '/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_51_3596.jpg', '/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_53_2505.jpg', '/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_56_2597.jpg', '/home/pi/Desktop/images/04112025/15/20/image_04112025_15_21_00_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_45_3562.jpg
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_47_2631.jpg
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_51_3596.jpg
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_53_2505.jpg
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_56_2597.jpg
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_21_00_3721.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6079213619232178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:51:02.630089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/21/image_14122025_23_22_04_9922.jpg', '/home/pi/Desktop/images/14122025/23/22/image_14122025_23_22_15_10600.jpg', '/home/pi/Desktop/images/14122025/23/22/image_14122025_23_22_24_9713.jpg', '/home/pi/Desktop/images/14122025/23/22/image_14122025_23_22_34_9643.jpg', '/home/pi/Desktop/images/14122025/23/22/image_14122025_23_22_55_9834.jpg', '/home/pi/Desktop/images/14122025/23/22/image_14122025_23_23_04_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/21/image_14122025_23_22_04_9922.jpg
/home/pi/Desktop/images/14122025/23/22/image_14122025_23_22_15_10600.jpg
/home/pi/Desktop/images/14122025/23/22/image_14122025_23_22_24_9713.jpg
/home/pi/Desktop/images/14122025/23/22/image_14122025_23_22_34_9643.jpg
/home/pi/Desktop/images/14122025/23/22/image_14122025_23_22_55_9834.jpg
/home/pi/Desktop/images/14122025/23/22/image_14122025_23_23_04_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416541","1399416538","1399416540","1399416537","1399416539","1399416542"],"photo_ids_order":["1399416537","1399416538","1399416539","1399416540","1399416541","1399416542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3e8a0bc44e1d48c9b90a7a7bef560677.jpg","text":"TemporaryFile(/tmp/multipartBody7740791173691688284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752723306,"filename":"image_14122025_23_22_55_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/bf2f7deb5ea439ef58b4473c1842ba17.jpg","text":"TemporaryFile(/tmp/multipartBody6807209846603693377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752723306,"filename":"image_14122025_23_22_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/12/14/afb825284f9a0710b03137b9483f6cf3.jpg","text":"TemporaryFile(/tmp/multipartBody5196044880494627387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752723306,"filename":"image_14122025_23_22_34_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/68f9c7e7b50a274efdcd6e095331da59.jpg","text":"TemporaryFile(/tmp/multipartBody8321834738546937306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752723306,"filename":"image_14122025_23_22_04_9922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/d0bfb2527bc6dcfeaf20c03a8d8894c4.jpg","text":"TemporaryFile(/tmp/multipartBody743834136666293130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752723306,"filename":"image_14122025_23_22_24_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/32bfe84af732e218ab47ca52a62b2112.jpg","text":"TemporaryFile(/tmp/multipartBody3034407741615999831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752723306,"filename":"image_14122025_23_23_04_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416539","file1":"1399416538","file0":"1399416537","file4":"1399416541","file5":"1399416542","file3":"1399416540"},"map_files_photo_id_array":[{"photo_id":"1399416542","filename":"file5"},{"photo_id":"1399416539","filename":"file2"},{"photo_id":"1399416541","filename":"file4"},{"photo_id":"1399416538","filename":"file1"},{"photo_id":"1399416537","filename":"file0"},{"photo_id":"1399416540","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416541":["hashtag1","hashtag2"]},{"1399416538":["hashtag1","hashtag2"]},{"1399416540":["hashtag1","hashtag2"]},{"1399416537":["hashtag1","hashtag2"]},{"1399416539":["hashtag1","hashtag2"]},{"1399416542":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416541, 1399416538, 1399416540, 1399416537, 1399416539, 1399416542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27871870994568 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:51:42.018957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_45_3562.jpg', '/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_47_2631.jpg', '/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_51_3596.jpg', '/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_53_2505.jpg', '/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_56_2597.jpg', '/home/pi/Desktop/images/04112025/15/20/image_04112025_15_21_00_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_45_3562.jpg
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_47_2631.jpg
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_51_3596.jpg
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_53_2505.jpg
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_20_56_2597.jpg
/home/pi/Desktop/images/04112025/15/20/image_04112025_15_21_00_3721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416547","1399416546","1399416549","1399416543","1399416545","1399416548"],"photo_ids_order":["1399416543","1399416545","1399416546","1399416547","1399416548","1399416549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/461a6b4034e3e3371200a8c7d5394640.jpg","text":"TemporaryFile(/tmp/multipartBody5373168302469983203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752762605,"filename":"image_04112025_15_20_53_2505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/957e04ea6bfcf2874dc2113605553692.jpg","text":"TemporaryFile(/tmp/multipartBody4172641958235052581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752762605,"filename":"image_04112025_15_20_51_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/421116bb81f570ccc18161b970bce9fc.jpg","text":"TemporaryFile(/tmp/multipartBody3404783623416228073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752762605,"filename":"image_04112025_15_21_00_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/89a405c3f277f29b05cbe441f2dbc50e.jpg","text":"TemporaryFile(/tmp/multipartBody247577053461889303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752762605,"filename":"image_04112025_15_20_45_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e1bd6ba5e0e604c2cac89215d1d196fa.jpg","text":"TemporaryFile(/tmp/multipartBody7290021175812838503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752762605,"filename":"image_04112025_15_20_47_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9e8197b88663e451ee860b6f323d6a2e.jpg","text":"TemporaryFile(/tmp/multipartBody9038806056920209550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752762605,"filename":"image_04112025_15_20_56_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416546","file1":"1399416545","file0":"1399416543","file4":"1399416548","file5":"1399416549","file3":"1399416547"},"map_files_photo_id_array":[{"photo_id":"1399416549","filename":"file5"},{"photo_id":"1399416546","filename":"file2"},{"photo_id":"1399416548","filename":"file4"},{"photo_id":"1399416545","filename":"file1"},{"photo_id":"1399416543","filename":"file0"},{"photo_id":"1399416547","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416547":["hashtag1","hashtag2"]},{"1399416546":["hashtag1","hashtag2"]},{"1399416549":["hashtag1","hashtag2"]},{"1399416543":["hashtag1","hashtag2"]},{"1399416545":["hashtag1","hashtag2"]},{"1399416548":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416547, 1399416546, 1399416549, 1399416543, 1399416545, 1399416548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66498112678528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:52:22.302081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/23/image_14122025_23_23_14_9804.jpg', '/home/pi/Desktop/images/14122025/23/23/image_14122025_23_23_24_9679.jpg', '/home/pi/Desktop/images/14122025/23/23/image_14122025_23_23_35_10830.jpg', '/home/pi/Desktop/images/14122025/23/23/image_14122025_23_23_44_9708.jpg', '/home/pi/Desktop/images/14122025/23/23/image_14122025_23_23_54_9605.jpg', '/home/pi/Desktop/images/14122025/23/23/image_14122025_23_24_04_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/23/image_14122025_23_23_14_9804.jpg
/home/pi/Desktop/images/14122025/23/23/image_14122025_23_23_24_9679.jpg
/home/pi/Desktop/images/14122025/23/23/image_14122025_23_23_35_10830.jpg
/home/pi/Desktop/images/14122025/23/23/image_14122025_23_23_44_9708.jpg
/home/pi/Desktop/images/14122025/23/23/image_14122025_23_23_54_9605.jpg
/home/pi/Desktop/images/14122025/23/23/image_14122025_23_24_04_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":["1399416556","1399416550","1399416553","1399416552","1399416551","1399416554"],"photo_ids_order":["1399416550","1399416551","1399416552","1399416553","1399416554","1399416556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ab0978c45d78d84e7e7a05fe9eafe3d3.jpg","text":"TemporaryFile(/tmp/multipartBody5528682315604360839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752802923,"filename":"image_14122025_23_24_04_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/48bfaf79c64091bb7ef8a3114bb39e68.jpg","text":"TemporaryFile(/tmp/multipartBody4859598503173586540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752802923,"filename":"image_14122025_23_23_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/12/14/0453b04e5e9ac1d07c2790923698105f.jpg","text":"TemporaryFile(/tmp/multipartBody4036809412722934963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752802923,"filename":"image_14122025_23_23_44_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/9021d826e1b461cb06046a9c0fb71a89.jpg","text":"TemporaryFile(/tmp/multipartBody9021594375883309942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752802923,"filename":"image_14122025_23_23_35_10830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3845b01e8c998655c726e6abc2f70b91.jpg","text":"TemporaryFile(/tmp/multipartBody6417399980772103911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752802923,"filename":"image_14122025_23_23_24_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e14d84ce5a8941c7022bbc431b3fb8e8.jpg","text":"TemporaryFile(/tmp/multipartBody598197878287066572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752802923,"filename":"image_14122025_23_23_54_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416552","file1":"1399416551","file0":"1399416550","file4":"1399416554","file5":"1399416556","file3":"1399416553"},"map_files_photo_id_array":[{"photo_id":"1399416556","filename":"file5"},{"photo_id":"1399416552","filename":"file2"},{"photo_id":"1399416554","filename":"file4"},{"photo_id":"1399416551","filename":"file1"},{"photo_id":"1399416550","filename":"file0"},{"photo_id":"1399416553","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416556":["hashtag1","hashtag2"]},{"1399416550":["hashtag1","hashtag2"]},{"1399416553":["hashtag1","hashtag2"]},{"1399416552":["hashtag1","hashtag2"]},{"1399416551":["hashtag1","hashtag2"]},{"1399416554":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416556, 1399416550, 1399416553, 1399416552, 1399416551, 1399416554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75535297393799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:53:03.253818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/24/image_14122025_23_24_14_9590.jpg', '/home/pi/Desktop/images/14122025/23/24/image_14122025_23_24_25_10650.jpg', '/home/pi/Desktop/images/14122025/23/24/image_14122025_23_24_34_9689.jpg', '/home/pi/Desktop/images/14122025/23/24/image_14122025_23_24_44_9734.jpg', '/home/pi/Desktop/images/14122025/23/24/image_14122025_23_24_54_9685.jpg', '/home/pi/Desktop/images/14122025/23/24/image_14122025_23_25_04_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/24/image_14122025_23_24_14_9590.jpg
/home/pi/Desktop/images/14122025/23/24/image_14122025_23_24_25_10650.jpg
/home/pi/Desktop/images/14122025/23/24/image_14122025_23_24_34_9689.jpg
/home/pi/Desktop/images/14122025/23/24/image_14122025_23_24_44_9734.jpg
/home/pi/Desktop/images/14122025/23/24/image_14122025_23_24_54_9685.jpg
/home/pi/Desktop/images/14122025/23/24/image_14122025_23_25_04_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":["1399416562","1399416559","1399416561","1399416558","1399416563","1399416560"],"photo_ids_order":["1399416558","1399416559","1399416560","1399416561","1399416562","1399416563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3080ec90747111a0d14e0eb15fb92823.jpg","text":"TemporaryFile(/tmp/multipartBody2974396863164204602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752843902,"filename":"image_14122025_23_24_54_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ab8cafb608fe50aa3a08768f46c5c657.jpg","text":"TemporaryFile(/tmp/multipartBody3955827751608322569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752843902,"filename":"image_14122025_23_24_25_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f81a6828e54dfdcbd51d7ff85851744e.jpg","text":"TemporaryFile(/tmp/multipartBody3152646056422017930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752843902,"filename":"image_14122025_23_24_44_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b8e41645ee85772bb25d8f1f47227ba2.jpg","text":"TemporaryFile(/tmp/multipartBody8608506610581077237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752843902,"filename":"image_14122025_23_24_14_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/fe0a0957f8f28e23cdde533e716797bf.jpg","text":"TemporaryFile(/tmp/multipartBody2049218265361721062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752843902,"filename":"image_14122025_23_25_04_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/234aaa9e16c69fdd171986a7a1924c2e.jpg","text":"TemporaryFile(/tmp/multipartBody6095968870952092897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752843902,"filename":"image_14122025_23_24_34_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416560","file1":"1399416559","file0":"1399416558","file4":"1399416562","file5":"1399416563","file3":"1399416561"},"map_files_photo_id_array":[{"photo_id":"1399416563","filename":"file5"},{"photo_id":"1399416560","filename":"file2"},{"photo_id":"1399416562","filename":"file4"},{"photo_id":"1399416559","filename":"file1"},{"photo_id":"1399416558","filename":"file0"},{"photo_id":"1399416561","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416562":["hashtag1","hashtag2"]},{"1399416559":["hashtag1","hashtag2"]},{"1399416561":["hashtag1","hashtag2"]},{"1399416558":["hashtag1","hashtag2"]},{"1399416563":["hashtag1","hashtag2"]},{"1399416560":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416562, 1399416559, 1399416561, 1399416558, 1399416563, 1399416560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24670767784119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:53:42.668188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_02_2707.jpg', '/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_05_2491.jpg', '/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_09_3656.jpg', '/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_11_2548.jpg', '/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_14_2788.jpg', '/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_17_3606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_02_2707.jpg
/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_05_2491.jpg
/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_09_3656.jpg
/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_11_2548.jpg
/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_14_2788.jpg
/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_17_3606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416565","1399416570","1399416567","1399416566","1399416569","1399416568"],"photo_ids_order":["1399416565","1399416566","1399416567","1399416568","1399416569","1399416570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6afc14aa381df159db4c82e6ba82dba0.jpg","text":"TemporaryFile(/tmp/multipartBody9104531499989434041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752883398,"filename":"image_04112025_15_21_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/12/14/4917c36a46babae236a99484a7e2483c.jpg","text":"TemporaryFile(/tmp/multipartBody6636967957314249159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752883398,"filename":"image_04112025_15_21_17_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/e0401e83c6f98c7477e402f64bf4bdf3.jpg","text":"TemporaryFile(/tmp/multipartBody646034735920784462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752883398,"filename":"image_04112025_15_21_09_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/f12c28209b8e1e0310a911ffb4f43c7d.jpg","text":"TemporaryFile(/tmp/multipartBody8227732501690840340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752883398,"filename":"image_04112025_15_21_05_2491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1ad029fd43852ae6982d45141f56de86.jpg","text":"TemporaryFile(/tmp/multipartBody5316121160166531988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752883398,"filename":"image_04112025_15_21_14_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/5a74d0426256374a6f326c987bf3a42f.jpg","text":"TemporaryFile(/tmp/multipartBody2045863690840327997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752883398,"filename":"image_04112025_15_21_11_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416567","file1":"1399416566","file0":"1399416565","file4":"1399416569","file5":"1399416570","file3":"1399416568"},"map_files_photo_id_array":[{"photo_id":"1399416570","filename":"file5"},{"photo_id":"1399416567","filename":"file2"},{"photo_id":"1399416569","filename":"file4"},{"photo_id":"1399416566","filename":"file1"},{"photo_id":"1399416565","filename":"file0"},{"photo_id":"1399416568","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416565":["hashtag1","hashtag2"]},{"1399416570":["hashtag1","hashtag2"]},{"1399416567":["hashtag1","hashtag2"]},{"1399416566":["hashtag1","hashtag2"]},{"1399416569":["hashtag1","hashtag2"]},{"1399416568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416565, 1399416570, 1399416567, 1399416566, 1399416569, 1399416568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.489349365234375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:54:21.886374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/25/image_14122025_23_25_14_9695.jpg', '/home/pi/Desktop/images/14122025/23/25/image_14122025_23_25_24_9727.jpg', '/home/pi/Desktop/images/14122025/23/25/image_14122025_23_25_35_10720.jpg', '/home/pi/Desktop/images/14122025/23/25/image_14122025_23_25_44_9670.jpg', '/home/pi/Desktop/images/14122025/23/25/image_14122025_23_25_54_9621.jpg', '/home/pi/Desktop/images/14122025/23/25/image_14122025_23_26_04_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/25/image_14122025_23_25_14_9695.jpg
/home/pi/Desktop/images/14122025/23/25/image_14122025_23_25_24_9727.jpg
/home/pi/Desktop/images/14122025/23/25/image_14122025_23_25_35_10720.jpg
/home/pi/Desktop/images/14122025/23/25/image_14122025_23_25_44_9670.jpg
/home/pi/Desktop/images/14122025/23/25/image_14122025_23_25_54_9621.jpg
/home/pi/Desktop/images/14122025/23/25/image_14122025_23_26_04_10612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416571","1399416573","1399416575","1399416578","1399416572","1399416574"],"photo_ids_order":["1399416571","1399416572","1399416573","1399416574","1399416575","1399416578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/1b5da6513f8f6ea586c3c12499d5933a.jpg","text":"TemporaryFile(/tmp/multipartBody6550123486393048679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752922552,"filename":"image_14122025_23_25_14_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c6f0bc2f452e3c6ed4e74602c737df53.jpg","text":"TemporaryFile(/tmp/multipartBody2682677020773478791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752922552,"filename":"image_14122025_23_25_35_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/017316dcbcddd5e7e49f9f871ac7a031.jpg","text":"TemporaryFile(/tmp/multipartBody6628033499937642912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752922552,"filename":"image_14122025_23_25_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/12/14/99a984be431bc1cec625f50b21a46620.jpg","text":"TemporaryFile(/tmp/multipartBody5423859162635160828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752922552,"filename":"image_14122025_23_26_04_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/82852741862be60f76daf81413e7eceb.jpg","text":"TemporaryFile(/tmp/multipartBody2144773998218605115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752922552,"filename":"image_14122025_23_25_24_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/0b411db8f19a149c9dce94b85e4a4636.jpg","text":"TemporaryFile(/tmp/multipartBody8745096008027122628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752922552,"filename":"image_14122025_23_25_44_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416573","file1":"1399416572","file0":"1399416571","file4":"1399416575","file5":"1399416578","file3":"1399416574"},"map_files_photo_id_array":[{"photo_id":"1399416578","filename":"file5"},{"photo_id":"1399416573","filename":"file2"},{"photo_id":"1399416575","filename":"file4"},{"photo_id":"1399416572","filename":"file1"},{"photo_id":"1399416571","filename":"file0"},{"photo_id":"1399416574","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416571":["hashtag1","hashtag2"]},{"1399416573":["hashtag1","hashtag2"]},{"1399416575":["hashtag1","hashtag2"]},{"1399416578":["hashtag1","hashtag2"]},{"1399416572":["hashtag1","hashtag2"]},{"1399416574":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416571, 1399416573, 1399416575, 1399416578, 1399416572, 1399416574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.106101512908936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:55:03.446175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/26/image_14122025_23_26_14_9584.jpg', '/home/pi/Desktop/images/14122025/23/26/image_14122025_23_26_24_9789.jpg', '/home/pi/Desktop/images/14122025/23/26/image_14122025_23_26_35_10748.jpg', '/home/pi/Desktop/images/14122025/23/26/image_14122025_23_26_44_9719.jpg', '/home/pi/Desktop/images/14122025/23/26/image_14122025_23_26_54_9738.jpg', '/home/pi/Desktop/images/14122025/23/26/image_14122025_23_27_04_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/26/image_14122025_23_26_14_9584.jpg
/home/pi/Desktop/images/14122025/23/26/image_14122025_23_26_24_9789.jpg
/home/pi/Desktop/images/14122025/23/26/image_14122025_23_26_35_10748.jpg
/home/pi/Desktop/images/14122025/23/26/image_14122025_23_26_44_9719.jpg
/home/pi/Desktop/images/14122025/23/26/image_14122025_23_26_54_9738.jpg
/home/pi/Desktop/images/14122025/23/26/image_14122025_23_27_04_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":["1399416583","1399416582","1399416579","1399416581","1399416584","1399416580"],"photo_ids_order":["1399416579","1399416580","1399416581","1399416582","1399416583","1399416584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c622e2d5e810dc5c7d5a4fbe64f1fcf8.jpg","text":"TemporaryFile(/tmp/multipartBody5217429246136633237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752964083,"filename":"image_14122025_23_26_54_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/02c336fa8a9d40e283889fd6be5bd986.jpg","text":"TemporaryFile(/tmp/multipartBody8963702190686776588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752964083,"filename":"image_14122025_23_26_44_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/6892f7a83ee404c41b96aa498b1118d9.jpg","text":"TemporaryFile(/tmp/multipartBody4719643879657765929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752964083,"filename":"image_14122025_23_26_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/12/14/00bb55d2d449a2a2767b140e44eaec12.jpg","text":"TemporaryFile(/tmp/multipartBody2689261778941531671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752964083,"filename":"image_14122025_23_26_35_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/559f2a4a35c0edca5d5c8e06c77ff366.jpg","text":"TemporaryFile(/tmp/multipartBody6643446135980620316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752964083,"filename":"image_14122025_23_27_04_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b187e1a61f5d301e4e99ee8f8a320079.jpg","text":"TemporaryFile(/tmp/multipartBody8571151800233916636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765752964083,"filename":"image_14122025_23_26_24_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416581","file1":"1399416580","file0":"1399416579","file4":"1399416583","file5":"1399416584","file3":"1399416582"},"map_files_photo_id_array":[{"photo_id":"1399416584","filename":"file5"},{"photo_id":"1399416581","filename":"file2"},{"photo_id":"1399416583","filename":"file4"},{"photo_id":"1399416580","filename":"file1"},{"photo_id":"1399416579","filename":"file0"},{"photo_id":"1399416582","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416583":["hashtag1","hashtag2"]},{"1399416582":["hashtag1","hashtag2"]},{"1399416579":["hashtag1","hashtag2"]},{"1399416581":["hashtag1","hashtag2"]},{"1399416584":["hashtag1","hashtag2"]},{"1399416580":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416583, 1399416582, 1399416579, 1399416581, 1399416584, 1399416580)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.57733345031738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:56:02.426150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/27/image_14122025_23_27_15_10750.jpg', '/home/pi/Desktop/images/14122025/23/27/image_14122025_23_27_24_9758.jpg', '/home/pi/Desktop/images/14122025/23/27/image_14122025_23_27_34_9627.jpg', '/home/pi/Desktop/images/14122025/23/27/image_14122025_23_27_45_10663.jpg', '/home/pi/Desktop/images/14122025/23/27/image_14122025_23_27_54_9786.jpg', '/home/pi/Desktop/images/14122025/23/27/image_14122025_23_28_04_9857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/27/image_14122025_23_27_15_10750.jpg
/home/pi/Desktop/images/14122025/23/27/image_14122025_23_27_24_9758.jpg
/home/pi/Desktop/images/14122025/23/27/image_14122025_23_27_34_9627.jpg
/home/pi/Desktop/images/14122025/23/27/image_14122025_23_27_45_10663.jpg
/home/pi/Desktop/images/14122025/23/27/image_14122025_23_27_54_9786.jpg
/home/pi/Desktop/images/14122025/23/27/image_14122025_23_28_04_9857.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.506364107131958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-14 23:56:11.868416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251204 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-14 23:56:22.039357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/27/image_14122025_23_27_15_10750.jpg', '/home/pi/Desktop/images/14122025/23/27/image_14122025_23_27_24_9758.jpg', '/home/pi/Desktop/images/14122025/23/27/image_14122025_23_27_34_9627.jpg', '/home/pi/Desktop/images/14122025/23/27/image_14122025_23_27_45_10663.jpg', '/home/pi/Desktop/images/14122025/23/27/image_14122025_23_27_54_9786.jpg', '/home/pi/Desktop/images/14122025/23/27/image_14122025_23_28_04_9857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/27/image_14122025_23_27_15_10750.jpg
/home/pi/Desktop/images/14122025/23/27/image_14122025_23_27_24_9758.jpg
/home/pi/Desktop/images/14122025/23/27/image_14122025_23_27_34_9627.jpg
/home/pi/Desktop/images/14122025/23/27/image_14122025_23_27_45_10663.jpg
/home/pi/Desktop/images/14122025/23/27/image_14122025_23_27_54_9786.jpg
/home/pi/Desktop/images/14122025/23/27/image_14122025_23_28_04_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":["1399416597","1399416591","1399416594","1399416593","1399416592","1399416595"],"photo_ids_order":["1399416591","1399416592","1399416593","1399416594","1399416595","1399416597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c46b2eded493341829b278ded06a6e10.jpg","text":"TemporaryFile(/tmp/multipartBody6524993419170521955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753042655,"filename":"image_14122025_23_28_04_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/ae79ee09086f639789759190f7f0381d.jpg","text":"TemporaryFile(/tmp/multipartBody6271962629868368566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753042655,"filename":"image_14122025_23_27_15_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c614773f95d7960009f57bc6fa3191ff.jpg","text":"TemporaryFile(/tmp/multipartBody7676268156315048908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753042655,"filename":"image_14122025_23_27_45_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3c8079f6a65cc4d6e3ac71750761142a.jpg","text":"TemporaryFile(/tmp/multipartBody942826087733045392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753042655,"filename":"image_14122025_23_27_34_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/7160c10c2e1842f72ffaf22b31b866ef.jpg","text":"TemporaryFile(/tmp/multipartBody7623026511795829856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753042655,"filename":"image_14122025_23_27_24_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/87373fb90f0933ceb7888dcf1d849100.jpg","text":"TemporaryFile(/tmp/multipartBody3875124081358730672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753042655,"filename":"image_14122025_23_27_54_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416593","file1":"1399416592","file0":"1399416591","file4":"1399416595","file5":"1399416597","file3":"1399416594"},"map_files_photo_id_array":[{"photo_id":"1399416597","filename":"file5"},{"photo_id":"1399416593","filename":"file2"},{"photo_id":"1399416595","filename":"file4"},{"photo_id":"1399416592","filename":"file1"},{"photo_id":"1399416591","filename":"file0"},{"photo_id":"1399416594","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416597":["hashtag1","hashtag2"]},{"1399416591":["hashtag1","hashtag2"]},{"1399416594":["hashtag1","hashtag2"]},{"1399416593":["hashtag1","hashtag2"]},{"1399416592":["hashtag1","hashtag2"]},{"1399416595":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416597, 1399416591, 1399416594, 1399416593, 1399416592, 1399416595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02631998062134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-14 23:57:02.867299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_from_sqlite, uploading in 29410858
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14122025/23/28/image_14122025_23_28_14_9680.jpg', '/home/pi/Desktop/images/14122025/23/28/image_14122025_23_28_24_9735.jpg', '/home/pi/Desktop/images/14122025/23/28/image_14122025_23_28_34_10737.jpg', '/home/pi/Desktop/images/14122025/23/28/image_14122025_23_28_44_9566.jpg', '/home/pi/Desktop/images/14122025/23/28/image_14122025_23_28_54_9859.jpg', '/home/pi/Desktop/images/14122025/23/28/image_14122025_23_29_05_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4220795&datou=0
/home/pi/Desktop/images/14122025/23/28/image_14122025_23_28_14_9680.jpg
/home/pi/Desktop/images/14122025/23/28/image_14122025_23_28_24_9735.jpg
/home/pi/Desktop/images/14122025/23/28/image_14122025_23_28_34_10737.jpg
/home/pi/Desktop/images/14122025/23/28/image_14122025_23_28_44_9566.jpg
/home/pi/Desktop/images/14122025/23/28/image_14122025_23_28_54_9859.jpg
/home/pi/Desktop/images/14122025/23/28/image_14122025_23_29_05_10669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416604","1399416601","1399416603","1399416600","1399416599","1399416602"],"photo_ids_order":["1399416599","1399416600","1399416601","1399416602","1399416603","1399416604"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/b742766f6e12a3307af072fbac9fc3e9.jpg","text":"TemporaryFile(/tmp/multipartBody7554817281295318507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753083515,"filename":"image_14122025_23_29_05_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/3c286194223da86df82c314d7b744631.jpg","text":"TemporaryFile(/tmp/multipartBody8380491666403575677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753083515,"filename":"image_14122025_23_28_34_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/86bcb69f2d0e755f140674179e046e45.jpg","text":"TemporaryFile(/tmp/multipartBody884334750986296632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753083515,"filename":"image_14122025_23_28_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/12/14/94059536ac13c487bc867eede82c5741.jpg","text":"TemporaryFile(/tmp/multipartBody8131254102912325556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753083515,"filename":"image_14122025_23_28_24_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/a1605e7a2d19718d835a74e94fe52125.jpg","text":"TemporaryFile(/tmp/multipartBody5490275979266710538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753083515,"filename":"image_14122025_23_28_14_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/c4224d647eded146726f479c1d5130c1.jpg","text":"TemporaryFile(/tmp/multipartBody1662542878308315035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753083515,"filename":"image_14122025_23_28_44_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416601","file1":"1399416600","file0":"1399416599","file4":"1399416603","file5":"1399416604","file3":"1399416602"},"map_files_photo_id_array":[{"photo_id":"1399416604","filename":"file5"},{"photo_id":"1399416601","filename":"file2"},{"photo_id":"1399416603","filename":"file4"},{"photo_id":"1399416600","filename":"file1"},{"photo_id":"1399416599","filename":"file0"},{"photo_id":"1399416602","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416604":["hashtag1","hashtag2"]},{"1399416601":["hashtag1","hashtag2"]},{"1399416603":["hashtag1","hashtag2"]},{"1399416600":["hashtag1","hashtag2"]},{"1399416599":["hashtag1","hashtag2"]},{"1399416602":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416604, 1399416601, 1399416603, 1399416600, 1399416599, 1399416602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54856872558594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-14 23:57:42.279997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_20_2770.jpg', '/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_23_2649.jpg', '/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_26_3589.jpg', '/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_31_4570.jpg', '/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_33_1605.jpg', '/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_35_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_20_2770.jpg
/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_23_2649.jpg
/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_26_3589.jpg
/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_31_4570.jpg
/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_33_1605.jpg
/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_35_2660.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416610","1399416607","1399416609","1399416606","1399416611","1399416608"],"photo_ids_order":["1399416606","1399416607","1399416608","1399416609","1399416610","1399416611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/103f8a991298fbffd2a95be433f28bdc.jpg","text":"TemporaryFile(/tmp/multipartBody4032046834162773613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753123021,"filename":"image_04112025_15_21_33_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/be0d1b90bc4d23e2fca0e11d5cdaa998.jpg","text":"TemporaryFile(/tmp/multipartBody1179286244912704458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753123021,"filename":"image_04112025_15_21_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/12/14/c8f89400945c67b75545fa0621d62f34.jpg","text":"TemporaryFile(/tmp/multipartBody1542507207105410377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753123021,"filename":"image_04112025_15_21_31_4570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/68a909a7e607e40fbd1c16a99fcecba3.jpg","text":"TemporaryFile(/tmp/multipartBody1844497470528098976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753123021,"filename":"image_04112025_15_21_20_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/315ae25a188882fab4faf68bf65f413b.jpg","text":"TemporaryFile(/tmp/multipartBody1001974309047748807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753123021,"filename":"image_04112025_15_21_35_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/14/dc9831fd1a2fa63af49184c938a3b0ae.jpg","text":"TemporaryFile(/tmp/multipartBody3946219630189575065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753123021,"filename":"image_04112025_15_21_26_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399416608","file1":"1399416607","file0":"1399416606","file4":"1399416610","file5":"1399416611","file3":"1399416609"},"map_files_photo_id_array":[{"photo_id":"1399416611","filename":"file5"},{"photo_id":"1399416608","filename":"file2"},{"photo_id":"1399416610","filename":"file4"},{"photo_id":"1399416607","filename":"file1"},{"photo_id":"1399416606","filename":"file0"},{"photo_id":"1399416609","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1399416610":["hashtag1","hashtag2"]},{"1399416607":["hashtag1","hashtag2"]},{"1399416609":["hashtag1","hashtag2"]},{"1399416606":["hashtag1","hashtag2"]},{"1399416611":["hashtag1","hashtag2"]},{"1399416608":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1399416610, 1399416607, 1399416609, 1399416606, 1399416611, 1399416608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.427573442459106 secondes ---
